From ff092976a9fdeeba96a0de13d013b9d838640c40 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Fri, 4 Aug 2023 22:29:41 +0100 Subject: Convert comments to zig --- zig-comments/src/migrations/0_init.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 zig-comments/src/migrations/0_init.sql (limited to 'zig-comments/src/migrations/0_init.sql') diff --git a/zig-comments/src/migrations/0_init.sql b/zig-comments/src/migrations/0_init.sql new file mode 100644 index 0000000..a799784 --- /dev/null +++ b/zig-comments/src/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); \ No newline at end of file -- cgit v1.2.3-ZIG