Generate Script
Package Manager Console
Script-Migration -From 20231221063632_UniqueAuthenticatorKey -To 20231221063632_UniqueAuthenticatorKey
.net CLI
dotnet ef migrations script -i -o "C:\Path\To\Your\Script.sql" -s YourStartupProject -p YourDataProject -from 20231221063632_UniqueAuthenticatorKey -to 20231221063632_UniqueAuthenticatorKey
===============================
No migrations configuration type was found in the assembly 'CompleteDiscoverySource.Website'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration)
EntityFrameworkCore\Add-Migration "migrationName"
===============================
No comments:
Post a Comment