# Starts a watch session and updates the site when changes are made to code
dotnet watch run
# Creates a new migration based on the models
dotnet ef migrations add [MigrationName]
# Updates the database based on the created migrations
dotnet ef database update
# Remove migrations before they have been saved to the DB
dotnet ef migrations remove
# Rollback database to a previous migration or to 0 (nothing)
dotnet ef database update 0 (or name of a previous migration)
# Generate an SQL script
dotnet ef migrations script
# Publish the files to production
dotnet publish -f netcoreapp2.1 -c Release
-
Notifications
You must be signed in to change notification settings - Fork 0
lcawkell/BEAST-API
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published