Add mysql_engine and mysql_charset options to shared_zones table

Shared_zones tables is the only table not defining the options
`mysql_engine` and `mysql_charset`, leading into an error if database
default charset is different from the one defined in the other tables.

Change-Id: I1d254553d40a50be264d67e1a8e81fa31f7a4c9f
This commit is contained in:
Guillaume Boutry 2023-08-31 11:33:46 +02:00
parent 360433b38b
commit 6824978a5d
No known key found for this signature in database
GPG Key ID: E95E3326872E55DE

View File

@ -196,6 +196,9 @@ shared_zones = Table(
UniqueConstraint('zone_id', 'project_id', 'target_project_id',
name='unique_shared_zone'),
ForeignKeyConstraint(('zone_id',), ['zones.id'], ondelete='CASCADE'),
mysql_engine='InnoDB',
mysql_charset='utf8'
)
recordsets = Table('recordsets', metadata,