fedimovies/fedimovies-models/migrations/V0054__post__add_is_sensitive.sql

2 lines
130 B
SQL

ALTER TABLE post ADD COLUMN is_sensitive BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE post ALTER COLUMN is_sensitive DROP DEFAULT;