This commit is contained in:
2025-09-01 07:56:13 +02:00
parent 41b613f451
commit 68144c3918
10 changed files with 257 additions and 93 deletions

View File

@@ -0,0 +1,11 @@
truncate table adherent;
truncate table famille;
truncate table article;
truncate table ticket;
truncate table ligne;
\COPY adherent FROM '/tmp/adherent.csv' (FORMAT CSV, header, ENCODING 'UTF8');
\COPY famille FROM '/tmp/famille.csv' (FORMAT CSV, header, ENCODING 'UTF8');
\COPY article FROM '/tmp/article.csv' (FORMAT CSV, header, ENCODING 'UTF8');
\COPY ticket FROM '/tmp/ticket.csv' (FORMAT CSV, header, ENCODING 'UTF8');
\COPY ligne FROM '/tmp/ligne.csv' (FORMAT CSV, header, ENCODING 'UTF8');