Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
db/migrations/0009_suggest.up.sql · System Design in Go: Build a Social Network Backend | Codewise
System Design in Go: Build a Social Network Backend
murmur
/
db
/
migrations
/
0009_suggest.up.sql
main
0009_suggest.up.sql
3 lines, 181 B
Raw
1
-- Who to follow starts from the most followed accounts. Without this index
2
-- every ask reads all of users.
3
create
index
users_followers_count_idx
on
users (followers_count
desc
);