dart pub get && dart run build_runner build --delete-conflicting-outputs- For local dev, execute migrations on sqlite database using the command below
dart run yaroorm_cli migrate --connection=local
- For production database, you can run this.
dart run yaroorm_cli migrate
┌───────────────────────────────┬──────────────────────────────┐ │ Migration │ Status │ ├───────────────────────────────┼──────────────────────────────┤ │ initial_table_setup │ ✅ migrated │ └───────────────────────────────┴──────────────────────────────┘
dart run
dart testWe rely heavily on code-generation. Things like adding a new Entity, Middleware, Controller or Controller Method
require you to re-run the command below.
dart pub run build_runner build --delete-conflicting-outputs
