Table adhérent
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
create table adherent (
|
||||
id int primary key,
|
||||
nom text,
|
||||
prenom text,
|
||||
genre text,
|
||||
naissance date,
|
||||
pays text
|
||||
);
|
||||
|
||||
\COPY adherent FROM '/tmp/adherent.csv' (FORMAT CSV, header, ENCODING 'UTF8');
|
||||
|
||||
create table famille (
|
||||
famille text primary key,
|
||||
intitule text,
|
||||
@@ -24,8 +35,8 @@ create table article (
|
||||
|
||||
create table ticket (
|
||||
id int primary key,
|
||||
horodatage timestamp,
|
||||
client text,
|
||||
date_ticket timestamp,
|
||||
client_id int,
|
||||
mode_rglt int
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user