Skip to content

Commit b19cc7a

Browse files
committed
Update scripts and migrations
1 parent 38b3973 commit b19cc7a

8 files changed

+1867
-44
lines changed

Infrastructure/Data/Migrations/20210409184713_migrate-system.Designer.cs

Lines changed: 644 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Infrastructure/Data/Migrations/20210409184713_migrate-system.cs

Lines changed: 709 additions & 0 deletions
Large diffs are not rendered by default.

Infrastructure/Data/Migrations/DodoHackDbContextModelSnapshot.cs

Lines changed: 504 additions & 39 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cd ../
22
export CONN_STR='Host=localhost;Port=55432;Database=TitsSystem;Username=postgres;Password=root'
3-
echo y | dotnet ef database drop
3+
echo y | dotnet ef database drop
4+
read -p "Press enter to continue"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cd ../
22
export CONN_STR='Host=localhost;Port=5432;Database=TitsSystem;Username=postgres;Password=root'
3-
dotnet ef migrations add improve -o Data/Migrations
3+
dotnet ef migrations add migrate-system -o Data/Migrations
4+
read -p "Press enter to continue"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cd ../
22
export CONN_STR='Host=localhost;Port=5432;Database=TitsSystem;Username=postgres;Password=root'
3-
echo y | dotnet ef database drop
3+
echo y | dotnet ef database drop
4+
read -p "Press enter to continue"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cd ../
22
export CONN_STR='Host=localhost;Port=5432;Database=TitsSystem;Username=postgres;Password=root'
3-
dotnet ef database update
3+
dotnet ef database update
4+
read -p "Press enter to continue"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cd ../
22
export CONN_STR='Host=localhost;Port=55432;Database=TitsSystem;Username=postgres;Password=root'
3-
dotnet ef database update
3+
dotnet ef database update
4+
read -p "Press enter to continue"

0 commit comments

Comments
 (0)