shwstppr commented on PR #8893: URL: https://github.com/apache/cloudstack/pull/8893#issuecomment-2144355604
Verified presence of DB changes from 4.19.0 to 4.19.1 and 4.19.1 to 4.20.0 upgrade paths in an env with PR packages, From 4.19.1 upgrade path: https://github.com/apache/cloudstack/blob/dc593c543a6bb118d4db5572a1b36e96cf0e34db/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql#L35 ``` MariaDB [cloud]> describe cloud_usage.usage_networks; +---------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------------+---------------------+------+-----+---------+----------------+ | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment | | network_offering_id | bigint(20) unsigned | NO | | NULL | | | zone_id | bigint(20) unsigned | NO | | NULL | | | network_id | bigint(20) unsigned | NO | | NULL | | | account_id | bigint(20) unsigned | NO | | NULL | | | domain_id | bigint(20) unsigned | NO | | NULL | | | state | varchar(100) | YES | | NULL | | | removed | datetime | YES | | NULL | | | created | datetime | NO | | NULL | | +---------------------+---------------------+------+-----+---------+----------------+ 9 rows in set (0.00 sec) ``` `cloud_usage.usage_networks` Table exist https://github.com/apache/cloudstack/blob/dc593c543a6bb118d4db5572a1b36e96cf0e34db/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql#L67 ``` MariaDB [cloud]> describe cloud.user_data; +------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------+---------------------+------+-----+---------+----------------+ | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment | | uuid | varchar(40) | NO | UNI | NULL | | | name | varchar(256) | NO | | NULL | | | account_id | bigint(20) unsigned | NO | MUL | NULL | | | domain_id | bigint(20) unsigned | NO | MUL | NULL | | | user_data | mediumtext | YES | | NULL | | | params | mediumtext | YES | | NULL | | | removed | datetime | YES | | NULL | | +------------+---------------------+------+-----+---------+----------------+ 8 rows in set (0.00 sec) ``` `removed` column present From 4.20 upgrade path, https://github.com/apache/cloudstack/blob/dc593c543a6bb118d4db5572a1b36e96cf0e34db/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql#L23 ``` MariaDB [cloud]> describe cloud.resource_limit; +------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------+---------------------+------+-----+---------+----------------+ | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment | | domain_id | bigint(20) unsigned | YES | MUL | NULL | | | account_id | bigint(20) unsigned | YES | MUL | NULL | | | type | varchar(255) | YES | | NULL | | | max | bigint(20) | NO | | -1 | | | tag | varchar(64) | YES | | NULL | | +------------+---------------------+------+-----+---------+----------------+ 6 rows in set (0.00 sec) ``` `tag` column present https://github.com/apache/cloudstack/blob/dc593c543a6bb118d4db5572a1b36e96cf0e34db/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql#L84 ``` MariaDB [cloud]> describe cloud.host_tags; +---------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------+---------------------+------+-----+---------+----------------+ | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment | | host_id | bigint(20) unsigned | NO | MUL | NULL | | | tag | text | NO | | NULL | | | is_tag_a_rule | int(1) unsigned | NO | | 0 | | | is_implicit | int(1) unsigned | NO | | 0 | | +---------------+---------------------+------+-----+---------+----------------+ 5 rows in set (0.00 sec) ``` `is_implicit` column present -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org