fedimovies/mitra-models/migrations/V0012__post__add_visibility.sql

2 lines
123 B
SQL

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