fedimovies/fedimovies-models/migrations/V0012__post__add_visibility.sql

3 lines
123 B
MySQL
Raw Normal View History

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