Gestion de contributions : version basique

This commit is contained in:
JGnone
2025-10-05 18:47:18 +02:00
commit bd0f9430c1
19 changed files with 589 additions and 0 deletions

20
_base/structure.sql Normal file
View File

@@ -0,0 +1,20 @@
create table membre(
id varchar(20) primary key,
nom varchar(50) not null,
-- login => le champ id sera le login
password varchar(100) not null,
droit varchar(50) default 'dev'
);
create table projet(
id varchar(20) primary key,
nom varchar(50) not null
);
create table contribution(
id int auto_increment primary key,
membre_id varchar(20) not null references membre(id),
projet_id varchar(20) not null references projet(id),
duree int default 0
);