7 lines
272 B
MySQL
7 lines
272 B
MySQL
|
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
|
||
|
)
|