fedimovies/mitra-models/migrations/V0004__post__add_reply_count.sql

1 line
93 B
SQL

ALTER TABLE post ADD COLUMN reply_count INTEGER NOT NULL CHECK (reply_count >= 0) DEFAULT 0;