Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
db/migrations/0007_like_deltas.up.sql · System Design in Go: Build a Social Network Backend | Codewise
System Design in Go: Build a Social Network Backend
murmur
/
db
/
migrations
/
0007_like_deltas.up.sql
main
0007_like_deltas.up.sql
6 lines, 209 B
Raw
1
-- Changes to a like count that nobody has added up yet.
2
create
table
like_deltas
(
3
id
bigint
generated
always
as
identity
primary key
,
4
post_id
bigint
not null
,
5
delta
smallint
not null
6
);