fedimovies/fedimovies-models/migrations/V0054__post__add_is_sensitive.sql

3 lines
130 B
MySQL
Raw Normal View History

2023-04-15 23:43:19 +00:00
ALTER TABLE post ADD COLUMN is_sensitive BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE post ALTER COLUMN is_sensitive DROP DEFAULT;