7 lines
272 B
SQL
7 lines
272 B
SQL
CREATE TABLE user_follow(
|
|
id serial primary key not null,
|
|
follower_id integer references "users"("id") not null,
|
|
followee_id integer references "users"("id") not null,
|
|
created_at timestamp default (now()) not null,
|
|
updated_at timestamp default (now()) not null
|
|
) |