From a108846731a693ce01be8c4c89053840a32ed50c Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Fri, 20 May 2022 14:19:58 -0400 Subject: [PATCH] Creating migrations shouldn't use file with conflicting name --- Source/DataLayer/appsettings.json | 6 ------ Source/DataLayer/migrate.json | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 Source/DataLayer/appsettings.json create mode 100644 Source/DataLayer/migrate.json diff --git a/Source/DataLayer/appsettings.json b/Source/DataLayer/appsettings.json deleted file mode 100644 index c5fe32d4..00000000 --- a/Source/DataLayer/appsettings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ConnectionStrings": { - "// this connection string is ONLY used for DataLayer's Migrations. this appsettings.json file is NOT used at all by application; it is overwritten": "", - "LibationContext": "Data Source=LibationContext.db;Foreign Keys=False;" - } -} \ No newline at end of file diff --git a/Source/DataLayer/migrate.json b/Source/DataLayer/migrate.json new file mode 100644 index 00000000..154f0fe8 --- /dev/null +++ b/Source/DataLayer/migrate.json @@ -0,0 +1,5 @@ +{ + "ConnectionStrings": { + "LibationContext": "Data Source=LibationContext.db;Foreign Keys=False;" + } +} \ No newline at end of file