add landowner db migration

This commit is contained in:
Ed Chalstrey 2022-07-22 16:21:14 +01:00
parent 4c0e036e94
commit 90769513fc
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE buildings DROP COLUMN IF EXISTS landowner;
ALTER TABLE buildings DROP COLUMN IF EXISTS landowner_source_link;

View File

@ -0,0 +1,2 @@
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS landowner text[];
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS landowner_source_link text[];