Files
hole-backend-rust/migrations/postgres/2022-10-15-161115_post_reaction/up.sql
2022-10-16 02:23:37 +08:00

5 lines
137 B
SQL

-- Your SQL goes here
ALTER TABLE posts
ADD COLUMN up_votes INTEGER NOT NULL DEFAULT 0,
ADD COLUMN down_votes INTEGER NOT NULL DEFAULT 0