mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
10 lines
267 B
Bash
Executable File
10 lines
267 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -z "$1" ] ; then
|
|
echo "Must specify migration name"
|
|
exit 1
|
|
fi
|
|
|
|
dotnet ef migrations add --context SqliteServerDbContext -o Migrations/Sqlite "$1"
|
|
dotnet ef migrations add --context PostgresServerDbContext -o Migrations/Postgres "$1"
|