In rocket + diesel.
When I hit diesel setup
command, only the database is created but the tables in the database are not created.
What can be the issue or what command I need to execute so that my tables are also created.
In rocket + diesel.
When I hit diesel setup
command, only the database is created but the tables in the database are not created.
What can be the issue or what command I need to execute so that my tables are also created.
See Getting Started
It says that diesel setup
will create our database (if it didn’t already exist), and create an empty migrations directory that we can use to manage our schema (more on that later).
Following the guide from there, assuming you already have your migration files in the migrations directory, you just need to run diesel migration run