Revision 6926
Added by Aaron Marcuse-Kubitza almost 12 years ago
schemas/Makefile | ||
---|---|---|
46 | 46 |
# Installs a version of the public schema |
47 | 47 |
public%/install: vegbien.sql _always |
48 | 48 |
echo $(call mkSchemaCmd,$(@D))\ |
49 |
"COMMENT ON SCHEMA $(@D) IS 'Version: $(@D)';"|$(psqlNoSearchPath) |
|
49 |
"COMMENT ON SCHEMA $(@D) IS 'Version: $(@D) ($(date))';"|$(psqlNoSearchPath)
|
|
50 | 50 |
<$< $(sed) 's/( )public([,; ])/\1$(@D)\2/g'|$(psqlNoSearchPath) |
51 | 51 |
|
52 | 52 |
public/uninstall public%/uninstall: _always |
Also available in: Unified diff
schemas/Makefile: public%/install: schema comment: Include current date/time after version