Revision 12130
Added by Aaron Marcuse-Kubitza about 11 years ago
Makefile | ||
---|---|---|
58 | 58 |
# one for the most recently-created public schema. this allows validations |
59 | 59 |
# to continue to be run against a previous version of the DB while a new |
60 | 60 |
# version is being imported. |
61 |
<$< $(sed) -e 's/( )(validation)([,; ])/\1"$*_\2"\3/g'$(if\
|
|
61 |
<$< $(sed) -e 's/( )public(_validation)([,; ])/\1"$*\2"\3/g'$(if\
|
|
62 | 62 |
$(filter public,$*),, -e 's/( )public([,; ])/\1"$*"\2/g')|$(psqlNoSearchPath) |
63 | 63 |
|
64 | 64 |
%/uninstall: vegbien.sql _always |
... | ... | |
99 | 99 |
|
100 | 100 |
vegbien.sql: |
101 | 101 |
# include schemas that depend on `public` so they are restored along with it |
102 |
unset version dump_opts; $(call pg_dump,public --schema=validation) |
|
102 |
unset version dump_opts; $(call pg_dump,public --schema=public_validation)
|
|
103 | 103 |
|
104 | 104 |
py_util.sql: |
105 | 105 |
env owners=1 $(call pg_dump,py_util) |
Also available in: Unified diff
bugfix: schemas/Makefile,vegbien.sql: renamed validation to public_validation to match the suffixed name applied by `make schemas/public/install`