Skip to content

Commit

Permalink
Merge 0c3d196 into c3be209
Browse files Browse the repository at this point in the history
  • Loading branch information
babastienne committed Dec 7, 2022
2 parents c3be209 + 0c3d196 commit 2377460
Show file tree
Hide file tree
Showing 19 changed files with 237 additions and 81 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ css:

%.pdf:
mkdir -p docs/data-model
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "$*_.*" --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "$*_.*" --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/$@
rm geotrekdb.dot

authent.pdf:
mkdir -p docs/data-model
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "auth(ent)?_.*" --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "auth(ent)?_.*" --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/authent.pdf
rm geotrekdb.dot

global.pdf:
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/global.pdf
rm geotrekdb.dot

Expand Down
Binary file modified docs/data-model/authent.pdf
Binary file not shown.
Binary file modified docs/data-model/cirkwi.pdf
Binary file not shown.
Binary file modified docs/data-model/core.pdf
Binary file not shown.
Binary file modified docs/data-model/diving.pdf
Binary file not shown.
Binary file modified docs/data-model/feedback.pdf
Binary file not shown.
Binary file modified docs/data-model/flatpages.pdf
Binary file not shown.
Binary file modified docs/data-model/global.pdf
Binary file not shown.
Binary file modified docs/data-model/infrastructure.pdf
Binary file not shown.
Binary file modified docs/data-model/land.pdf
Binary file not shown.
Binary file modified docs/data-model/maintenance.pdf
Binary file not shown.
Binary file modified docs/data-model/outdoor.pdf
Binary file not shown.
Binary file modified docs/data-model/sensitivity.pdf
Binary file not shown.
Binary file modified docs/data-model/signage.pdf
Binary file not shown.
Binary file modified docs/data-model/tourism.pdf
Binary file not shown.
Binary file modified docs/data-model/trekking.pdf
Binary file not shown.
Binary file modified docs/data-model/zoning.pdf
Binary file not shown.
300 changes: 225 additions & 75 deletions geotrek/outdoor/fixtures/basic.json

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions geotrek/sensitivity/fixtures/basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"fields": {
"name_en": "Land",
"name_fr": "Terrestre",
"name": "Terrestre"
"name": "Terrestre",
"date_update": "2014-02-12T11:21:48.961Z",
"date_insert": "2014-02-12T11:21:48.961Z"
},
"model": "sensitivity.sportpractice",
"pk": 1
Expand All @@ -12,7 +14,9 @@
"fields": {
"name_en": "Vertical",
"name_fr": "Vertical",
"name": "Vertical"
"name": "Vertical",
"date_update": "2014-02-12T11:21:48.961Z",
"date_insert": "2014-02-12T11:21:48.961Z"
},
"model": "sensitivity.sportpractice",
"pk": 2
Expand All @@ -21,7 +25,9 @@
"fields": {
"name_en": "Aerial",
"name_fr": "A\u00e9rien",
"name": "A\u00e9rien"
"name": "A\u00e9rien",
"date_update": "2014-02-12T11:21:48.961Z",
"date_insert": "2014-02-12T11:21:48.961Z"
},
"model": "sensitivity.sportpractice",
"pk": 3
Expand Down

0 comments on commit 2377460

Please sign in to comment.