feat(db): packagefk virtual column refs #3126
This commit is contained in:
parent
a5b6921592
commit
37209a223a
|
@ -1,2 +1,5 @@
|
|||
ALTER TABLE vn.buy CHANGE packageFk packagingFk varchar(10)
|
||||
CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT '--' NULL;
|
||||
ALTER TABLE `vn`.`buy` CHANGE `packageFk` `packagingFk` varchar(10)
|
||||
CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT '--' NULL;
|
||||
|
||||
ALTER TABLE `vn`.`buy`
|
||||
ADD COLUMN `packageFk` varchar(10) AS (`packagingFk`) VIRTUAL;
|
Loading…
Reference in New Issue