wiki.techinc.nl/maintenance/archives/patch-uploadstash-us_timestamp.sql
Amir Sarabadani 5f374fa3f8 Migrate uploadstash to abstract schema
For MySQL:
 - Migrating us_timestamp from varbinary(14) to binary(14) to
   standardize timestamp fields

For postgres:
 - Fixing datatype of 8 fields of the table
 - Set "NOT NULL" for 7 fields
 - Rename indexes to drop _idx suffix

Bug: T230428
Bug: T164898
Bug: T42626
Change-Id: I5391416ae463856cf5e9b05f542dec9b389b2f7c
2020-12-13 19:12:36 +01:00

2 lines
72 B
SQL

ALTER TABLE /*_*/uploadstash
MODIFY us_timestamp BINARY(14) NOT NULL;