Skip to content

Commit

Permalink
remvoing locationMode from migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmelendez committed Feb 6, 2022
1 parent 867f628 commit 49480f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\IdentityCloudContext.cs" />
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\IdentityResources.Designer.cs" />
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\RoleStore.cs" />
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\TableConstants.cs" />
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\UserOnlyStore.cs" />
<Compile Remove="..\ElCamino.AspNetCore.Identity.AzureTable\UserStore.cs" />
<EmbeddedResource Include=".\help.txt" Exclude="bin\**;obj\**;**\*.xproj;packages\**;@(EmbeddedResource)" />
Expand Down
2 changes: 0 additions & 2 deletions src/ElCamino.Identity.AzureTable.DataUtility/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,13 @@ public static void Main(string[] args)
IdentityConfiguration sourceConfig = new IdentityConfiguration();
sourceConfig.TablePrefix = Configuration.GetSection("source:IdentityConfiguration:TablePrefix")?.Value;
sourceConfig.StorageConnectionString = Configuration.GetSection("source:IdentityConfiguration:StorageConnectionString")?.Value;
sourceConfig.LocationMode = Configuration.GetSection("source:IdentityConfiguration:LocationMode")?.Value ?? string.Empty;
sourceConfig.UserTableName = Configuration.GetSection("source:IdentityConfiguration:UserTableName")?.Value ?? string.Empty;
sourceConfig.IndexTableName = Configuration.GetSection("source:IdentityConfiguration:IndexTableName")?.Value ?? string.Empty;
sourceConfig.RoleTableName = Configuration.GetSection("source:IdentityConfiguration:RoleTableName")?.Value ?? string.Empty;

IdentityConfiguration targetConfig = new IdentityConfiguration();
targetConfig.TablePrefix = Configuration.GetSection("target:IdentityConfiguration:TablePrefix")?.Value;
targetConfig.StorageConnectionString = Configuration.GetSection("target:IdentityConfiguration:StorageConnectionString")?.Value;
targetConfig.LocationMode = Configuration.GetSection("target:IdentityConfiguration:LocationMode")?.Value ?? string.Empty;
targetConfig.UserTableName = Configuration.GetSection("target:IdentityConfiguration:UserTableName")?.Value ?? string.Empty;
targetConfig.IndexTableName = Configuration.GetSection("target:IdentityConfiguration:IndexTableName")?.Value ?? string.Empty;
targetConfig.RoleTableName = Configuration.GetSection("target:IdentityConfiguration:RoleTableName")?.Value ?? string.Empty;
Expand Down

0 comments on commit 49480f2

Please sign in to comment.