mercury/internal/database/migrations/1693961486_follows.sql

12 lines
274 B
SQL

-- 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;