nidus-sync/db/migrations/00087_site_parcel_nullable.sql

5 lines
137 B
MySQL
Raw Permalink Normal View History

-- +goose Up
ALTER TABLE site ALTER COLUMN parcel_id DROP NOT NULL;
-- +goose Down
ALTER TABLE site ALTER COLUMN parcel_id ADD NOT NULL;