add a couple post endpoints + /timelines/home
This commit is contained in:
parent
dd72a1f4c1
commit
9f052dc9ef
24 changed files with 462 additions and 32 deletions
12
internal/database/migrations/1693961486_follows.sql
Normal file
12
internal/database/migrations/1693961486_follows.sql
Normal file
|
@ -0,0 +1,12 @@
|
|||
-- 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;
|
Loading…
Add table
Add a link
Reference in a new issue