Skip to content

Commit b9d876c

Browse files
committed
db: Sync with master, remove rules that are for 4.2
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent d5a474a commit b9d876c

1 file changed

Lines changed: 0 additions & 40 deletions

File tree

‎setup/db/db/schema-40to410.sql‎

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use cloud;
2323
SET foreign_key_checks = 0;
2424

25-
alter table vm_template add image_data_store_id bigint unsigned;
2625
alter table vm_template add size bigint unsigned;
2726
alter table vm_template add state varchar(255);
2827
alter table vm_template add update_count bigint unsigned;
@@ -59,45 +58,6 @@ alter table cluster add column owner varchar(255);
5958
alter table cluster add column created datetime COMMENT 'date created';
6059
alter table cluster add column lastUpdated datetime COMMENT 'last updated';
6160
alter table cluster add column engine_state varchar(32) NOT NULL DEFAULT 'Disabled' COMMENT 'the engine state of the zone';
62-
CREATE TABLE `cloud`.`object_datastore_ref` (
63-
`id` bigint unsigned NOT NULL auto_increment,
64-
`datastore_id` bigint unsigned NOT NULL,
65-
`datastore_role` varchar(255) NOT NULL,
66-
`object_id` bigint unsigned NOT NULL,
67-
`object_type` varchar(255) NOT NULL,
68-
`created` DATETIME NOT NULL,
69-
`last_updated` DATETIME,
70-
`job_id` varchar(255),
71-
`download_pct` int(10) unsigned,
72-
`download_state` varchar(255),
73-
`error_str` varchar(255),
74-
`local_path` varchar(255),
75-
`install_path` varchar(255),
76-
`size` bigint unsigned COMMENT 'the size of the template on the pool',
77-
`state` varchar(255) NOT NULL,
78-
`update_count` bigint unsigned NOT NULL,
79-
`updated` DATETIME,
80-
PRIMARY KEY (`id`)
81-
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
82-
83-
CREATE TABLE `cloud`.`data_store_provider` (
84-
`id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
85-
`name` varchar(255) NOT NULL COMMENT 'name of primary data store provider',
86-
`uuid` varchar(255) NOT NULL COMMENT 'uuid of primary data store provider',
87-
PRIMARY KEY(`id`)
88-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
89-
90-
CREATE TABLE `cloud`.`image_data_store` (
91-
`id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
92-
`name` varchar(255) NOT NULL COMMENT 'name of data store',
93-
`image_provider_id` bigint unsigned NOT NULL COMMENT 'id of image_data_store_provider',
94-
`protocol` varchar(255) NOT NULL COMMENT 'protocol of data store',
95-
`data_center_id` bigint unsigned COMMENT 'datacenter id of data store',
96-
`scope` varchar(255) COMMENT 'scope of data store',
97-
`uuid` varchar(255) COMMENT 'uuid of data store',
98-
PRIMARY KEY(`id`),
99-
CONSTRAINT `fk_tags__image_data_store_provider_id` FOREIGN KEY(`image_provider_id`) REFERENCES `data_store_provider`(`id`)
100-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
10161

10262
CREATE TABLE `cloud`.`vm_compute_tags` (
10363
`id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',

0 commit comments

Comments
 (0)