This commit is contained in:
2025-08-31 09:40:56 +02:00
parent 0768cd026b
commit 41b613f451
5 changed files with 213 additions and 214 deletions

View File

@@ -1,3 +1,5 @@
create extension if not exists ltree;
create table adherent (
id int primary key,
nom text,
@@ -10,17 +12,17 @@ create table adherent (
create table famille (
code text primary key,
famille text,
code_parent text -- references famille(code)
code_parent text, -- references famille(code)
arborescence ltree
);
create table article (
code text primary key,
article text,
famille_code text, -- references famille(code)
factpoids int,
factpoids boolean,
unitevente int,
prix decimal,
unitepoids int,
suivistock int
);