]> jfr.im git - uguu.git/commitdiff
Update postgres_schema.sql
authorGo Johansson (neku) <redacted>
Sat, 18 Feb 2023 16:03:44 +0000 (17:03 +0100)
committerGo Johansson (neku) <redacted>
Sat, 18 Feb 2023 16:03:44 +0000 (17:03 +0100)
src/static/dbSchemas/postgres_schema.sql

index 17482595edd7ad1f5315f0095a3bdd6e0cedd6ce..687c66676ce1d3adc5619fcaf51137057e1ff5d2 100644 (file)
@@ -24,4 +24,12 @@ CREATE TABLE ratelimit
     iphash text    NOT NULL,
     files  integer not null,
     time   integer not null
+);
+
+CREATE TABLE accounts
+(
+    id     serial PRIMARY KEY,
+    email text    NOT NULL,
+    pass  text not null,
+    level   integer not null
 );
\ No newline at end of file