PiwigoDirectorySync/PiwigoDirectorySync/dbAddMigration.ps1

5 lines
286 B
PowerShell

$comment=$args[0]
write-host "adding migration for Sqlite"
dotnet ef migrations add --project PiwigoDirectorySync.csproj --startup-project PiwigoDirectorySync.csproj --context PiwigoDirectorySync.Persistence.PersistenceContext "$comment" --output-dir Migrations -- --DbProvider Sqlite