For MySQL: - Drop default from fa_deleted_timestamp and fa_timestamp - Change fa_name and fa_storage_group from varchar() binary to varbinary() For Postgres: - Set default for three fields - Drop foreign key on fa_deleted_user - Change field type for five fields - Rename indexes to make it make in sync with MySQL/Postgres - Rebuild an index to make it in sync MySQL/Postgres Bug: T230428 Bug: T164898 Bug: T42626 Change-Id: Ia2be151c46c73f15592db03540834a6456460cac
3 lines
138 B
SQL
3 lines
138 B
SQL
ALTER TABLE /*_*/filearchive
|
|
MODIFY fa_name VARBINARY(255) DEFAULT '' NOT NULL,
|
|
MODIFY fa_archive_name VARBINARY(255) DEFAULT '';
|