Project

General

Profile

« Previous | Next » 

Revision 6527

inputs/newWorld/geoscrub.schema.~.changes.sql: Changed isoCode type to text. Added unique constraint on isoCode.

View differences:

inputs/newWorld/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