first commit
This commit is contained in:
28
dockers/quotas/initdb.d/quotas.sql
Normal file
28
dockers/quotas/initdb.d/quotas.sql
Normal file
@ -0,0 +1,28 @@
|
||||
CREATE DATABASE IF NOT EXISTS quotas;
|
||||
USE quotas;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Global (
|
||||
date TIMESTAMP PRIMARY KEY,
|
||||
total BIGINT,
|
||||
agora BIGINT,
|
||||
postfix BIGINT,
|
||||
nextcloud BIGINT
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Utilisateur (
|
||||
date TIMESTAMP,
|
||||
utilisateur VARCHAR(50) ,
|
||||
limite INT,
|
||||
total BIGINT,
|
||||
postfix BIGINT,
|
||||
nextcloud BIGINT
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Associations (
|
||||
date TIMESTAMP PRIMARY KEY,
|
||||
associations VARCHAR(50),
|
||||
total BIGINT,
|
||||
agora BIGINT,
|
||||
postfix BIGINT,
|
||||
nextcloud BIGINT
|
||||
);
|
Reference in New Issue
Block a user