From 30927637f2ae8af9224eb6daeca25793a0675bca Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Thu, 29 Dec 2022 22:49:33 +0000 Subject: More work on comments --- comments/migrations/1_capcha.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 comments/migrations/1_capcha.sql (limited to 'comments/migrations/1_capcha.sql') diff --git a/comments/migrations/1_capcha.sql b/comments/migrations/1_capcha.sql new file mode 100644 index 0000000..c80a4bd --- /dev/null +++ b/comments/migrations/1_capcha.sql @@ -0,0 +1,6 @@ +create table if not exists capchas(question text not null, answer text not null, id uuid not null default gen_random_uuid()); +create unique index if not exists idx_capchas_id on capchas(id); +insert into capchas(question, answer) values ('What is 1 + 3?', '4'); +insert into capchas(question, answer) values ('If I have 3 apples and 4 pears, how many fruit do I have?', '7'); +insert into capchas(question, answer) values ('What is 3 squared?', '9'); +insert into capchas(question, answer) values ('What is the meaning of life, the universe, and everything?', '42'); -- cgit v1.2.3-ZIG