Skip to content

Commit 0fffb24

Browse files
RodrigoDevRodrigoDev
authored andcommitted
adjusts
1 parent ed044ca commit 0fffb24

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

Infra/Migrations/MigrationsExecutor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static void Execute(InfraContext context)
3030

3131
// Apply the default SQL (always)
3232
var initialSql = sqls
33-
.Where(x => Path.GetFileName(x) == "default.sql")
33+
.Where(x => Path.GetFileName(x) == "0_default.sql")
3434
.FirstOrDefault();
3535

3636
using (var transaction = context.Database.BeginTransaction())
@@ -40,7 +40,7 @@ public static void Execute(InfraContext context)
4040
}
4141

4242
// Apply migrations if not already applied
43-
foreach (var sql in sqls.Where(x => Path.GetFileName(x) != "default.sql"))
43+
foreach (var sql in sqls.Where(x => Path.GetFileName(x) != "0_default.sql"))
4444
{
4545
var filename = Path.GetFileName(sql);
4646
var content = File.ReadAllText(sql);
File renamed without changes.

IoC/Register/AutoMapperRegister.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private void MapEntities()
7272
.LinkReference();
7373

7474
CreateMap<DbVerificationCode, VerificationCode>()
75-
.BypassConstructor();
75+
.BypassConstructor();
7676

7777
CreateMap<VerificationCode, DbVerificationCode>()
7878
.LinkReference();

0 commit comments

Comments
 (0)