psql variable for :migschema
authorJason Etheridge <jason@esilibrary.com>
Sat, 9 Sep 2017 02:51:38 +0000 (22:51 -0400)
committerJason Etheridge <jason@esilibrary.com>
Sat, 9 Sep 2017 02:51:38 +0000 (22:51 -0400)
commit6bce095b60d0abfd401ebf8f69a78146864645b7
tree37768d61188e2133158cabe29853c814376cba2d
parenta91bdc4938c693ab51063360d1f42f14daeb5081
psql variable for :migschema

mig-sql already puts the migration schema in the search path, but
this can be useful for things like

    creator = (SELECT id FROM actor_usr WHERE usrname = :'migschema' || '_admin')

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
mig-bin/mig-sql