These tables don't have drift between MySQL and Postgres but their primary keys don't have explicit "NOT NULL" statement making them nullable in sqlite. Fixing this drift. Also changing the PK fields of these two tables from smallint to int, given that PG would be complicated with smallint auto_increment PKs Bug: T230428 Bug: T258366 Change-Id: Icf6ce044eaf0f09b1a2bdd8a1f618cef1e0415bf
2 lines
79 B
SQL
2 lines
79 B
SQL
ALTER TABLE /*_*/content_models
|
|
MODIFY model_id INT AUTO_INCREMENT NOT NULL;
|