summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-11 22:40:03 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-11 22:40:03 -0400
commit812f1cafe3f8a68bf45b677fade7417c30d92eac (patch)
treee2633472a31bd86bf08bcc16ddb4296df89064b4 /migrations
parenta0abed5ea08b2fc5b9ac4abdade1199f62cd5da7 (diff)
Create APIs for inviting users.
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20241012012022_invite.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/migrations/20241012012022_invite.sql b/migrations/20241012012022_invite.sql
new file mode 100644
index 0000000..13004b5
--- /dev/null
+++ b/migrations/20241012012022_invite.sql
@@ -0,0 +1,10 @@
+create table invite (
+ id text
+ primary key
+ not null,
+ issuer text
+ not null
+ references login (id),
+ issued_at text
+ not null
+);