Skip to content

buituananhdev/railway-express-vn

Repository files navigation

Migrations command

  1. User Management Service dotnet ef migrations add AddTablePassenger --output-dir Persistence\Migrations --project .\src\Services\UserManagement\UserManagement.Infrastructure --startup-project .\src\Services\UserManagement\UserManagement.API dotnet ef migrations remove --project .\src\Services\UserManagement\UserManagement.Infrastructure --startup-project .\src\Services\UserManagement\UserManagement.API

  2. Admin Service dotnet ef migrations add AddAdminPassenger --output-dir --project Persistence\Migrations .\src\Services\Admin\Admin.Infrastructure --startup-project .\src\Services\Admin\Admin.API dotnet ef database update --project .\src\Services\Admin\Admin.Infrastructure --startup-project .\src\Services\Admin\Admin.API

  3. Booking service dotnet ef migrations add AddTicketTbl --output-dir --project Persistence\Migrations .\src\Services\Booking\Booking.Infrastructure --startup-project .\src\Services\Booking\Booking.API dotnet ef database update .\src\Services\Booking\Booking.Infrastructure --startup-project .\src\Services\Booking\Booking.API

  4. Payment service dotnet ef migrations add AddTicketTbl --output-dir --project Persistence\Migrations .\src\Services\Payment\Payment.Infrastructure --startup-project .\src\Services\Payment\Payment.API dotnet ef database update .\src\Services\Payment\Payment.Infrastructure --startup-project .\src\Services\Payment\Payment.API

Update database

dotnet ef database update --project .\src\Services\UserManagement\UserManagement.Infrastructure --startup-project .\src\Services\UserManagement\UserManagement.API dotnet ef database update --project .\src\Services\Admin\Admin.Infrastructure --startup-project .\src\Services\Admin\Admin.API dotnet ef database update --project .\src\Services\Booking\Booking.Infrastructure --startup-project .\src\Services\Booking\Booking.API dotnet ef database update --project .\src\Services\Payment\Payment.Infrastructure --startup-project .\src\Services\Payment\Payment.API

dotnet ef migrations add UpdateTrainCarTbl --output-dir Persistence\Migrations --project .\src\Services\Admin\Admin.Infrastructure --startup-project .\src\Services\Admin\Admin.API

dotnet ef migrations add UpdateStatusCodeToEnum --output-dir Persistence\Migrations --project .\src\Services\Payment\Payment.Infrastructure --startup-project .\src\Services\Payment\Payment.API dotnet ef migrations add AddTicketSeatIdInPassengerInfo --output-dir Persistence\Migrations --project .\src\Services\Booking\Booking.Infrastructure --startup-project .\src\Services\Booking\Booking.API

About

A website for Viet Nam high speed train system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •