Revision 6527
Added by Aaron Marcuse-Kubitza about 12 years ago
geoscrub.schema.~.changes.sql | ||
---|---|---|
1 | 1 |
ALTER TABLE "newWorldCountries" ADD UNIQUE ("countryNameStd"); |
2 |
ALTER TABLE "newWorldCountries" ADD UNIQUE ("isoCode"); |
|
2 | 3 |
|
3 | 4 |
ALTER TABLE "newWorldCountries" |
4 |
ALTER COLUMN "isNewWorld" DROP DEFAULT |
|
5 |
ALTER COLUMN "isoCode" TYPE text |
|
6 |
, ALTER COLUMN "isNewWorld" DROP DEFAULT |
|
5 | 7 |
, ALTER COLUMN "isNewWorld" TYPE boolean USING "isNewWorld"::boolean |
6 | 8 |
, ALTER COLUMN "countryNameStd" TYPE text |
7 | 9 |
; |
Also available in: Unified diff
inputs/newWorld/geoscrub.schema.~.changes.sql: Changed isoCode type to text. Added unique constraint on isoCode.