008_RegionStore.sql 247 B

123456789
  1. BEGIN;
  2. ALTER TABLE primshapes change UUID UUIDold varchar(255);
  3. ALTER TABLE primshapes add UUID char(36);
  4. UPDATE primshapes set UUID = UUIDold;
  5. ALTER TABLE primshapes drop UUIDold;
  6. ALTER TABLE primshapes add constraint primary key(UUID);
  7. COMMIT;