Updates for upstream IP handling

This commit is contained in:
3wc
2021-07-11 12:35:35 +02:00
parent b27d5b3c5b
commit 42edcd1c33
6 changed files with 11 additions and 13 deletions

View File

@ -0,0 +1,9 @@
CREATE TABLE api_tokens (
id SERIAL PRIMARY KEY,
email TEXT REFERENCES accounts(email) ON DELETE RESTRICT,
name TEXT NOT NULL,
created TIMESTAMP NOT NULL DEFAULT NOW(),
token TEXT NOT NULL
);
UPDATE schemaversion SET version = 19;