fedimovies/migrations/V0012__post__add_visibility.sql
2021-11-18 21:55:22 +00:00

2 lines
123 B
SQL

ALTER TABLE post ADD COLUMN visibility SMALLINT NOT NULL DEFAULT 1;
ALTER TABLE post ALTER COLUMN visibility DROP DEFAULT;