mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-19 19:14:51 +00:00
9 lines
No EOL
321 B
Bash
Executable file
9 lines
No EOL
321 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Developer script to create EntityFramework database migrations
|
|
#
|
|
# $1: Name of the migration, e.g. SwitchToPermissionLevels
|
|
# Invoked manually
|
|
|
|
export LIGHTHOUSE_DB_CONNECTION_STRING='server=127.0.0.1;uid=root;pwd=lighthouse;database=lighthouse'
|
|
dotnet ef migrations add "$1" --project ../ProjectLighthouse |