jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.65k stars 95 forks source link

prettify/simplify psql statements for `Using non-default schema` scenario #414

Closed jf closed 2 months ago

jf commented 2 months ago

(For the record, I did confirm with the pg docs (15 onwards) that this way of specifying CREATE SCHEMA works where you do not need to separately specify the schema name if the authorization is the same value (search for Create a schema for user joe; the schema will also be named joe:))

jeremyevans commented 2 months ago

Looks good, thanks for the patch!