8 lines
386 B
MySQL
8 lines
386 B
MySQL
|
ALTER TABLE IF EXISTS `vn2008`.`Split_lines` RENAME `vn`.`splitLine`;
|
||
|
|
||
|
ALTER TABLE IF EXISTS `vn`.`splitLine`
|
||
|
CHANGE COLUMN IF EXISTS `Id_Split_lines` `id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
CHANGE COLUMN IF EXISTS `Id_Split` `splitFk` int(11) NOT NULL,
|
||
|
CHANGE COLUMN IF EXISTS `Id_Article` `itemFk` int(11) DEFAULT NULL,
|
||
|
CHANGE COLUMN IF EXISTS `Id_Compra` `buyFk` int(11) DEFAULT NULL;
|