13 lines
274 B
MySQL
13 lines
274 B
MySQL
|
-- 2023-09-06: Account->blog follows
|
||
|
|
||
|
-- +migrate Up
|
||
|
|
||
|
create table account_follows (
|
||
|
account_id text not null references accounts (id) on delete cascade,
|
||
|
blog_id text not null references blogs (id) on delete cascade
|
||
|
);
|
||
|
|
||
|
-- +migrate Down
|
||
|
|
||
|
drop table account_follows;
|