diff options
author | Miroslav Prasil <[email protected]> | 2018-09-10 14:51:40 +0100 |
---|---|---|
committer | Miroslav Prasil <[email protected]> | 2018-09-11 13:09:59 +0100 |
commit | ec05f14f5a6bfb598252744a27332dea3fae5944 (patch) | |
tree | 17debe767ed90e0e78b24cef3660f85536f62bf7 /migrations/2018-09-10-111213_add_invites | |
parent | 8df6f79f19b550545c7cabd8a9b1fd892dd69e48 (diff) | |
download | vaultwarden-ec05f14f5a6bfb598252744a27332dea3fae5944.tar.gz vaultwarden-ec05f14f5a6bfb598252744a27332dea3fae5944.zip |
Implement poor man's invitation via Organization invitation
Diffstat (limited to 'migrations/2018-09-10-111213_add_invites')
-rw-r--r-- | migrations/2018-09-10-111213_add_invites/down.sql | 1 | ||||
-rw-r--r-- | migrations/2018-09-10-111213_add_invites/up.sql | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/migrations/2018-09-10-111213_add_invites/down.sql b/migrations/2018-09-10-111213_add_invites/down.sql new file mode 100644 index 00000000..af3776cf --- /dev/null +++ b/migrations/2018-09-10-111213_add_invites/down.sql @@ -0,0 +1 @@ +DROP TABLE invitations;
\ No newline at end of file diff --git a/migrations/2018-09-10-111213_add_invites/up.sql b/migrations/2018-09-10-111213_add_invites/up.sql new file mode 100644 index 00000000..b42e9a2a --- /dev/null +++ b/migrations/2018-09-10-111213_add_invites/up.sql @@ -0,0 +1,3 @@ +CREATE TABLE invitations ( + email TEXT NOT NULL PRIMARY KEY +);
\ No newline at end of file |