Also, fixing two data type drifts in Postgres: - lc_key was varchar (with no binary flag) in MySQL but TEXT in Postgres while PG supports varchar. Changing PG to varchar. - lc_value was BYTEA but the rest of varbinary fields are mapped to TEXT, changing it to TEXT data type. And fixing primary key of these tables in Postgres too as it was a unique index instead. Bug: T198811 Bug: T164898 Bug: T230428 Change-Id: I50305556bd870461d05f98c5272cf1d6a65deb15
3 lines
90 B
SQL
3 lines
90 B
SQL
DROP INDEX md_module_skin;
|
|
ALTER TABLE module_deps
|
|
ADD PRIMARY KEY (md_module, md_skin);
|