mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-17 10:50:45 +02:00
10 lines
447 B
Bash
Executable File
10 lines
447 B
Bash
Executable File
#!/bin/sh
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "Usage: $0 <migrationname>"
|
|
exit 1
|
|
fi
|
|
cd API || exit
|
|
dotnet ef migrations add $1 --context MangaContext --output-dir Migrations/Manga
|
|
dotnet ef migrations add $1 --context LibraryContext --output-dir Migrations/Library
|
|
dotnet ef migrations add $1 --context NotificationsContext --output-dir Migrations/Notifications
|
|
dotnet ef migrations add $1 --context ActionsContext --output-dir Migrations/Actions |