Additional changes for Postgres: - Set empty string as default for qci_type - Set PG-equivalent of the given MySql/Sqlite timestamp as default timestamp for qci_timestamp - Make qci_type non nullable - Make qci_timestamp non nullable - Drop UNIQUE constraint on qci_type Bug: T230428 Bug: T164898 Depends-On: If344395615087c360597a5b3d66ea03e930b7d9b Change-Id: I741d2d079696d4b4eba09945341054d2a145bddc
3 lines
104 B
SQL
3 lines
104 B
SQL
ALTER TABLE querycache_info
|
|
DROP CONSTRAINT querycache_info_qci_type_key,
|
|
ADD PRIMARY KEY (qci_type);
|