☰
Debian Codegraph
@
0.8.3-2
/
/
tests
/
postgres
/
migrations
/
2_post.sql
☽
☼
tests/postgres/migrations/2_post.sql
code
plain
raw
MIT
or
Apache-2.0
2020-2023 LaunchBadge, LLC
debian/copyright
1
create table post (
2
post_id uuid primary key default uuid_generate_v1mc(),
3
user_id uuid not null references "user"(user_id),
4
content text not null,
5
created_at timestamptz default now()
6
);
7
8
create index on post(created_at desc);