For MySQL/Sqlite: - Change datatype of img_name from "varchar() binary" to varbinary. - Drop default of img_timestamp For Postgres: - Adding two missing indexes. - Renaming two indexes - Setting default value for five fields - Fix data type of four fields - Drop default of img_metadata - Make three fields not nullable Bug: T230428 Bug: T164898 Change-Id: I237af3558b0e1c1fecd874c3c90ba6780e50aaa4
1 line
75 B
SQL
1 line
75 B
SQL
ALTER TABLE /*_*/image MODIFY img_name VARBINARY(255) DEFAULT '' NOT NULL;
|