Project

General

Profile

« Previous | Next » 

Revision 6017

inputs/newWorld/: Added geoscrub.schema.~.changes.sql to add a unique constraint on countryNameStd and change isNewWorld's type to boolean

View differences:

inputs/newWorld/geoscrub.schema.~.changes.sql
1
ALTER TABLE "newWorldCountries" ADD UNIQUE ("countryNameStd");
2

  
3
ALTER TABLE "newWorldCountries"
4
ALTER COLUMN "isNewWorld" DROP DEFAULT
5
, ALTER COLUMN "isNewWorld" TYPE boolean
6
USING "isNewWorld"::boolean;

Also available in: Unified diff