Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apisub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stephane Crozat
apisub
Commits
ffd3c503
Commit
ffd3c503
authored
Dec 13, 2018
by
Stephane Crozat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add anonymous subscription lists
parent
4fc3e399
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tmp/export/README.md
tmp/export/README.md
+2
-2
No files found.
tmp/export/README.md
View file @
ffd3c503
...
...
@@ -15,10 +15,10 @@ Générer et récupérer le SQL
# Génération CSV depuis la base Postgres
\C
OPY (SELECT
*
FROM vapi) TO '/home/stc/api.csv' CSV HEADER DELIMITER ';' QUOTE '"'
\C
OPY (SELECT DISTINCT mail FROM vapi) TO '/home/stc/api_ml.txt'
\C
OPY (SELECT
*
FROM vsubscription) TO '/home/stc/api_sub.csv' CSV HEADER DELIMITER ';' QUOTE '"'
\C
OPY (SELECT
*
FROM vsubscription_anonymous) TO '/home/stc/api_sub_anonymous.csv' CSV HEADER DELIMITER ';' QUOTE '"'
\C
OPY (SELECT DISTINCT mail FROM vapi) TO '/home/stc/api_ml.txt'
scp stc@pic.crzt.fr:/home/stc/api
*.*
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment