forked from MarseyWorld/MarseyWorld
dont include extensions in schema.sql to fix docker installation
parent
ed7289ef71
commit
1df0a1e291
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /e
|
||||
pg_dump -O -x --schema-only "$DATABASE_URL" > '/d/schema.sql'
|
||||
pg_dump -O -x --schema-only "$DATABASE_URL" | grep -v -E '^(CREATE\ EXTENSION|COMMENT\ ON)' > '/d/schema.sql'
|
||||
|
||||
pg_dump -O -x --data-only --inserts -t 'badge_defs' "$DATABASE_URL" >> "/d/seed-badges.sql"
|
||||
|
||||
|
|
Loading…
Reference in New Issue