mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 16:47:46 +00:00
- Created 0009_snapshot.json with initial structure for comment_votes, comments, movies, and users tables. - Created 0010_snapshot.json with updated structure for comments, including new fields: pinned and spoiler. - Created 0011_snapshot.json with further updates to comments, adding anonymous field and refining existing structures.
4 lines
203 B
SQL
4 lines
203 B
SQL
-- Add pinned and spoiler columns to comments table
|
|
ALTER TABLE `comments` ADD COLUMN `pinned` boolean NOT NULL DEFAULT false;
|
|
ALTER TABLE `comments` ADD COLUMN `spoiler` boolean NOT NULL DEFAULT false;
|