Ajustements base de données
This commit is contained in:
@@ -16,7 +16,7 @@ create table famille (
|
||||
create table article (
|
||||
code text primary key,
|
||||
article text,
|
||||
famille text, -- references famille(famille)
|
||||
famille_code text, -- references famille(famille)
|
||||
factpoids int,
|
||||
unitevente int,
|
||||
prix decimal,
|
||||
@@ -29,14 +29,14 @@ create table article (
|
||||
create table ticket (
|
||||
id int primary key,
|
||||
date_ticket timestamp,
|
||||
client_id int,
|
||||
adherent_id int,
|
||||
mode_rglt int
|
||||
);
|
||||
|
||||
create table ligne (
|
||||
id int primary key,
|
||||
ticket_id int, --references ticket (id),
|
||||
article text, -- references article (code)
|
||||
article_code text, -- references article (code)
|
||||
prix_unitaire decimal,
|
||||
quantite decimal
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user