Skip to content

Commit

Permalink
Merge pull request #218 from acdh-oeaw/217-remove-geojson-layer-from-…
Browse files Browse the repository at this point in the history
…stelle-serializer

217 remove geojson layer from stelle serializer
  • Loading branch information
csae8092 authored May 11, 2024
2 parents c3b82d3 + 61e4cce commit 3950a03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@ Untitled*.ipynb
dump.sql
hansi.json
hansi.csv
secret.env
1 change: 1 addition & 0 deletions archiv/api_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class Meta:
"legacy_pk",
"orig_data_csv",
"lemmata",
"use_case"
]
depth = 2

Expand Down
8 changes: 4 additions & 4 deletions dump_and_restore.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rm dump.sql
# pg_dump -d mmp -h 127.0.0.1 -p 5433 -U mmp -c -f dump.sql
# psql --username=postgres --dbname=mmp --port=5432
# \ir dump.sql
rm dump.sql
pg_dump -d mmp -h 127.0.0.1 -p 5433 -U mmp -c -f dump.sql
psql --username=postgres --dbname=mmp --port=5432
\ir dump.sql

0 comments on commit 3950a03

Please sign in to comment.