Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd `diesel drop` to the CLI #146
Comments
This comment has been minimized.
|
Or maybe database should be a subcommand, and then have its own derivatives. So it might become diesel database drop
diesel database setup
diesel database foo |
This comment has been minimized.
|
Is there any use case for just |
This comment has been minimized.
|
You know, I can't immediately come up with a use case for |
This comment has been minimized.
|
Just to clarify, my reasoning here is that we definitely want |
sgrif
added this to the
0.6 milestone
Jan 30, 2016
This comment has been minimized.
|
Resolved by #161 |
mcasper commentedJan 30, 2016
We should have some way of dropping the user's database in the CLI, for whenever the user wants to reset their data or their schema. This command could be
diesel drop,diesel drop_db,diesel drop_database... This would allow the workflow ofdiesel drop; diesel setupto reset your database.My thought of what it should do:
If we like this, I'll go ahead and implement it this afternoon.