7 lines
272 B
SQL
Executable File
7 lines
272 B
SQL
Executable File
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
|
|
) |