12 lines
No EOL
272 B
SQL
12 lines
No EOL
272 B
SQL
-- Migration: AddReactions
|
|
-- Created at: 26/05/2025 22:00:32
|
|
|
|
ALTER TABLE blog.post
|
|
ADD COLUMN possible_reactions TEXT;
|
|
|
|
CREATE TABLE blog.post_reaction
|
|
(
|
|
post_id uuid REFERENCES blog.post(id),
|
|
author_id uuid REFERENCES blog.author(id),
|
|
emoji text not null
|
|
); |