Suppression de données inutiles
This commit is contained in:
4548
data/article.csv
4548
data/article.csv
File diff suppressed because it is too large
Load Diff
203230
data/ticket.csv
203230
data/ticket.csv
File diff suppressed because it is too large
Load Diff
@@ -9,9 +9,6 @@ create table famille (
|
|||||||
|
|
||||||
create table article (
|
create table article (
|
||||||
code text primary key,
|
code text primary key,
|
||||||
edi text,
|
|
||||||
stat1 text,
|
|
||||||
stat2 text,
|
|
||||||
article text,
|
article text,
|
||||||
famille text, -- references famille(famille)
|
famille text, -- references famille(famille)
|
||||||
factpoids int,
|
factpoids int,
|
||||||
@@ -29,9 +26,7 @@ create table ticket (
|
|||||||
id int primary key,
|
id int primary key,
|
||||||
horodatage timestamp,
|
horodatage timestamp,
|
||||||
client text,
|
client text,
|
||||||
mode_rglt int,
|
mode_rglt int
|
||||||
etat int,
|
|
||||||
facture text
|
|
||||||
);
|
);
|
||||||
|
|
||||||
\COPY ticket FROM '/tmp/ticket.csv' (FORMAT CSV, header, ENCODING 'UTF8');
|
\COPY ticket FROM '/tmp/ticket.csv' (FORMAT CSV, header, ENCODING 'UTF8');
|
||||||
|
|||||||
Reference in New Issue
Block a user