Database created but Tables didn't

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 with Diesel

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

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.