mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-15 23:59:04 +00:00
Added leaderboard page. Updated debug commands
This commit is contained in:
14
database.sql
14
database.sql
@@ -9,8 +9,8 @@ flush privileges;
|
||||
use mar;
|
||||
|
||||
-- create tables
|
||||
create table mar_user
|
||||
(
|
||||
create table mar_user (
|
||||
|
||||
username varchar(20) not null
|
||||
primary key,
|
||||
password tinytext not null,
|
||||
@@ -18,3 +18,13 @@ create table mar_user
|
||||
tokenTime datetime null,
|
||||
floppyData mediumblob null
|
||||
);
|
||||
|
||||
create table mar_vault_clear (
|
||||
id INTEGER AUTO_INCREMENT PRIMARY KEY,
|
||||
username VARCHAR(20) NOT NULL,
|
||||
clear_time INTEGER NOT NULL,
|
||||
vault_id VARCHAR(20),
|
||||
|
||||
FOREIGN KEY (username) REFERENCES mar_user(username),
|
||||
CONSTRAINT mar_vault_clear_uc_1 UNIQUE (username, vault_id)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user