Is there an equivalent to rails db:create
?
#102
-
I guess that's pretty much it. I read through the quick tour and searched within the longer guide but couldn't find any mention of a command to create the database via loco rather than starting up a container specifically for that app's db. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Good question, it seems that -- how funny it sounds -- this is almost unique to Rails and a few other framework (maybe also Phoenix?). I actually am positive for providing a If you like you can open a feature request, and we'll take a look. Also if you're into it - we can guide you to submit a PR to implement this youself. |
Beta Was this translation helpful? Give feedback.
Good question, it seems that -- how funny it sounds -- this is almost unique to Rails and a few other framework (maybe also Phoenix?).
For some reason unknown to me, outside of the Rails world there is an unwritten rule that databases should be created manually or through the database tools (e.g.
createdb
in postgres).I actually am positive for providing a
loco db create
, it seems that per database we need to shell out / figure out how to create the database.If you like you can open a feature request, and we'll take a look. Also if you're into it - we can guide you to submit a PR to implement this youself.