Revision 6932
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/Makefile | ||
---|---|---|
48 | 48 |
<$< $(sed) 's/( )public([,; ])/\1$(@D)\2/g'|$(psqlNoSearchPath) |
49 | 49 |
|
50 | 50 |
# Replaces the current public schema with the given version |
51 |
public%/publish: _always
|
|
51 |
%/publish: _always |
|
52 | 52 |
@$(call confirmRmPublicSchema,public,To save it: make schemas/rotate) |
53 | 53 |
echo $(call rmSchemaCmd,public)\ |
54 | 54 |
'ALTER SCHEMA $(@D) RENAME TO public;'|$(psqlNoSearchPath) --single-transaction |
Also available in: Unified diff
schemas/Makefile: Installation: public: Generalized public%/publish to %/publish so that public schema versions don't have to start with public_