aboutsummaryrefslogtreecommitdiffstats
path: root/migrations/20260202155215_like.sql
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2026-02-02 18:21:48 +0200
committerrtkay123 <dev@kanjala.com>2026-02-02 18:21:48 +0200
commitcdcf6a4caa66095c07ef9d6d3ebc7c795a046e1e (patch)
treedaae5af9a68d610ad6fd7c2cc0f7e97a714be6a0 /migrations/20260202155215_like.sql
parent1f76530bc5001d9a9088f269db6c03cf287b67e6 (diff)
downloadsellershut-cdcf6a4caa66095c07ef9d6d3ebc7c795a046e1e.tar.bz2
sellershut-cdcf6a4caa66095c07ef9d6d3ebc7c795a046e1e.zip
chore: initial migrations
Diffstat (limited to 'migrations/20260202155215_like.sql')
-rw-r--r--migrations/20260202155215_like.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/20260202155215_like.sql b/migrations/20260202155215_like.sql
new file mode 100644
index 0000000..07c4866
--- /dev/null
+++ b/migrations/20260202155215_like.sql
@@ -0,0 +1,6 @@
+create table liked (
+ user_ap_id text not null references profile(ap_id) on delete cascade,
+ object_id text not null,
+ liked_at timestamptz not null default now(),
+ primary key (user_ap_id, object_id)
+)