Skip to content

Commit

Permalink
cu
Browse files Browse the repository at this point in the history
  • Loading branch information
ipax77 committed Jan 23, 2024
1 parent 5420414 commit 3a8eb55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MysqlMigrations/ReplayContextFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public ReplayContext CreateDbContext(string[] args)
var json = JsonSerializer.Deserialize<JsonElement>(File.ReadAllText("/data/localserverconfig.json"));
var config = json.GetProperty("ServerConfig");
var connectionString = config.GetProperty("DsstatsConnectionString").GetString();
var serverVersion = new MySqlServerVersion(new System.Version(5, 7, 43));
// var connectionString = config.GetProperty("ProdConnectionString").GetString();
var serverVersion = new MySqlServerVersion(new System.Version(5, 7, 44));

var optionsBuilder = new DbContextOptionsBuilder<ReplayContext>();
optionsBuilder.UseMySql(connectionString, serverVersion, x =>
Expand Down

0 comments on commit 3a8eb55

Please sign in to comment.