You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a built-in rake task to implement schema suffixes.
For example: I have a system that doesn't use suffixes, but I want to be able to duplicate schemas and be sure that Storey does not accidentally rename a text in the SQL file that doesn't actually refer to the schema name. I can then set Storey.suffix = '_nakam' and run rake storey:rename_schemas. This will rename all schemas exceptpublic.
Also add ability to change suffix even if you already have set one. For example, if I have schemas with the suffix '_nakam' and I want to make them '_pucha', then I can:
Change the Storey.suffix = '_pucha'
Run rake storey_rename_schemas PREV_SUFFIX=_nakam
The text was updated successfully, but these errors were encountered:
It would be nice to have a built-in rake task to implement schema suffixes.
For example: I have a system that doesn't use suffixes, but I want to be able to duplicate schemas and be sure that Storey does not accidentally rename a text in the SQL file that doesn't actually refer to the schema name. I can then set
Storey.suffix = '_nakam'
and runrake storey:rename_schemas
. This will rename all schemas exceptpublic
.Also add ability to change suffix even if you already have set one. For example, if I have schemas with the suffix '_nakam' and I want to make them '_pucha', then I can:
Storey.suffix = '_pucha'
rake storey_rename_schemas PREV_SUFFIX=_nakam
The text was updated successfully, but these errors were encountered: