Project

General

Profile

« Previous | Next » 

Revision 6945

schemas/Makefile: %/publish: Added instruction to run `unset version` after the command, to clear the $version shell variable which will be set by import_all

View differences:

Makefile
54 54
	@$(call confirmRmPublicSchema,public,To save it: make schemas/rotate)
55 55
	echo $(call rmSchemaCmd,public)\
56 56
'ALTER SCHEMA $(@D) RENAME TO public;'|$(psqlNoSearchPath) --single-transaction
57
	@echo $(emph)'In your shell, run:'$(endEmph)'unset version'
57 58

  
58 59
rename/%: _always
59 60
	echo 'ALTER SCHEMA public RENAME TO "$*";'|$(psqlNoSearchPath)

Also available in: Unified diff