init project cleaned

This commit is contained in:
2023-01-05 11:21:32 +01:00
commit bc98268740
54 changed files with 3861 additions and 0 deletions

View File

@@ -0,0 +1 @@
DROP TABLE users;

View File

@@ -0,0 +1,13 @@
create table users(
id SERIAL PRIMARY KEY,
username VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL,
salt VARCHAR(255) NOT NULL,
image VARCHAR(255) NOT NULL DEFAULT '/static/img/default_user.svg',
email VARCHAR(255) NOT NULL DEFAULT '',
google VARCHAR(255) NOT NULL DEFAULT '',
email_valid VARCHAR(255) NOT NULL DEFAULT '',
email_valid VARCHAR(255) NOT NULL DEFAULT ''
);
insert into users(username, password, salt) values ('adminkey', '', '');