Bug #42

Renaming column names in DB

Added by Tino Vázquez almost 13 years ago. Updated over 12 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Tino Vázquez% Done:

0%

Category:Core & System
Target version:Release 1.2
Resolution:fixed Pull request:
Affected Versions:

Description

In hostshares : hsid --> hid

In hostpool : host_name --> hostname

History

#1 Updated by Tino Vázquez almost 13 years ago

More changes:

vmpool

oid --> vid
template --> template_id

vm_template

id --> template_id

history

oid   --> vid
vmmad --> vm_mad
tmmad --> tm_mad

host_attributes

id --> hid

#2 Updated by Tino Vázquez almost 13 years ago

Also get rid of unneeded values:

vmpool --> get rid of aid,tid,uid,priority,reschedule, last_reschedule

hostpool --> managed

#3 Updated by Tino Vázquez almost 13 years ago

Table renaming:

vm_template     --> vm_attributes
vmpool --> vm_pool
hostpool --> host_pool
hostshares --> host_shares

NOTE: Please ensure tests are OK before closing the ticket.

#4 Updated by Ruben S. Montero over 12 years ago

  • Status changed from New to Assigned

#5 Updated by Tino Vázquez over 12 years ago

more changes:

history
hostname --> host_name

#6 Updated by Ruben S. Montero over 12 years ago

  • Resolution set to fixed

This has been done, the code is in the trunk

Also available in: Atom PDF