You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still not sure whether to run that on every application start or not.
In this demo, yes, we run the create table statement every time on application startup. As I said in another discussion, once we have migration (#335) in place. You could migrate the database once by hand via the migrator CLI. But I would say running the migration automatically on application startup would be better, this ensure you application is running against a database with up-to-date schema.
I want to create a new Model and have that create database tables as well.
I saw this: https://docs.rs/sea-query/0.20.0/sea_query/table/struct.TableCreateStatement.html
But where does it go? Will that automatically create a Model
The text was updated successfully, but these errors were encountered: