Added Image deletion

Added buttons for image functions
Moved Image functions to their own file
Added PFP row in users table
Moved Groups back to the root templates folder
This commit is contained in:
Michał Gdula 2023-01-11 10:53:01 +00:00
parent 8c25779882
commit 978086f512
9 changed files with 262 additions and 43 deletions

View file

@ -1,6 +1,7 @@
CREATE TABLE IF NOT EXISTS users (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
username TEXT NOT NULL UNIQUE,
profile_picture TEXT NOT NULL DEFAULT 'default.png',
email TEXT NOT NULL,
password TEXT NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP