If you already have a database with tables and data, you can skip this section.
If you are starting from a fresh database, it's actually better to version control your database schema with a migration tool.
We are still developing SeaORM's schema management utility, so for now you can use SQLx's
$ cargo install sqlx-cli
DATABASE_URL in your environment, or create a
.env file in your project root. Specify your database connection.
Create a new
$ sqlx migrate add <name>
$ sqlx migrate run