diff options
author | Martin Ashby <martin@ashbysoft.com> | 2022-12-27 23:24:54 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2022-12-27 23:24:54 +0000 |
commit | 19da6ec39be9e3caa5b9e2766139684fd7bbe0a0 (patch) | |
tree | bb92494a161c661cd085621db309d7c7fa77a1e3 /comments/migrations/0_init.sql | |
parent | d8d7a2a5ff43f913322473a9714a63f1fd8d2303 (diff) | |
download | mfashby.net-19da6ec39be9e3caa5b9e2766139684fd7bbe0a0.tar.gz mfashby.net-19da6ec39be9e3caa5b9e2766139684fd7bbe0a0.tar.bz2 mfashby.net-19da6ec39be9e3caa5b9e2766139684fd7bbe0a0.tar.xz mfashby.net-19da6ec39be9e3caa5b9e2766139684fd7bbe0a0.zip |
Initial comments impl for my blog
Diffstat (limited to 'comments/migrations/0_init.sql')
-rw-r--r-- | comments/migrations/0_init.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/comments/migrations/0_init.sql b/comments/migrations/0_init.sql new file mode 100644 index 0000000..4280a12 --- /dev/null +++ b/comments/migrations/0_init.sql @@ -0,0 +1,2 @@ +create table if not exists comments (url text not null, author text not null, comment text not null, ts timestamptz not null default now()); +create index if not exists idx_comments_url on comments(url); |