création_projet

This commit is contained in:
Logshiro
2025-10-10 09:02:47 +02:00
commit ef0b0bda5d
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
);