mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
9 lines
267 B
Bash
Executable file
9 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"
|