Skip to content

Is there an equivalent to rails db:create? #102

Answered by jondot
mateusdeap asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mateusdeap
Comment options

Answer selected by mateusdeap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants