Skip to content

Commit eb56c4d

Browse files
committed
Add AUTO_INCREMENT in details dao
1 parent 7722796 commit eb56c4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎setup/db/db/schema-421to430.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ALTER TABLE `cloud`.`load_balancing_rules` ADD COLUMN `lb_protocol` VARCHAR(40);
4545

4646
DROP TABLE IF EXISTS `cloud`.`vm_snapshot_details`;
4747
CREATE TABLE `cloud`.`vm_snapshot_details` (
48-
`id` bigint unsigned UNIQUE NOT NULL,
48+
`id` bigint unsigned UNIQUE NOT NULL AUTO_INCREMENT,
4949
`vm_snapshot_id` bigint unsigned NOT NULL,
5050
`name` varchar(255) NOT NULL,
5151
`value` varchar(255) NOT NULL,
@@ -54,7 +54,7 @@ CREATE TABLE `cloud`.`vm_snapshot_details` (
5454

5555
DROP TABLE IF EXISTS `cloud`.`snapshot_details`;
5656
CREATE TABLE `cloud`.`snapshot_details` (
57-
`id` bigint unsigned UNIQUE NOT NULL,
57+
`id` bigint unsigned UNIQUE NOT NULL AUTO_INCREMENT,
5858
`snapshot_id` bigint unsigned NOT NULL,
5959
`name` varchar(255) NOT NULL,
6060
`value` varchar(255) NOT NULL,

0 commit comments

Comments
 (0)