16 lines
457 B
SQL
16 lines
457 B
SQL
CREATE TABLE IF NOT EXISTS logs_avg_individual (
|
|
string VARCHAR(100) NOT NULL,
|
|
salt VARCHAR(100) NOT NULL,
|
|
time INTEGER NOT NULL,
|
|
difficulty INTEGER NOT NULL,
|
|
ID SERIAL PRIMARY KEY NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS logs_avg (
|
|
difficulty INTEGER NOT NULL UNIQUE,
|
|
mean_time INTEGER NOT NULL,
|
|
variation_time INTEGER NOT NULL,
|
|
minimum_time INTEGER NOT NULL,
|
|
maximum_time INTEGER NOT NULL,
|
|
ID SERIAL PRIMARY KEY NOT NULL
|
|
);
|