mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-22 23:21:28 +00:00
Add bash helper script for creating migrations
I keep losing the commands so... deal with it!
This commit is contained in:
parent
45b6ba3f05
commit
e51d35df44
2 changed files with 5 additions and 0 deletions
4
create-migration.sh
Executable file
4
create-migration.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
export LIGHTHOUSE_DB_CONNECTION_STRING='server=127.0.0.1;uid=root;pwd=lighthouse;database=lighthouse'
|
||||
dotnet ef migrations add "$1" --project ProjectLighthouse
|
Loading…
Add table
Add a link
Reference in a new issue