🔨 test
continuous-integration/drone/push Build is passing Details

pull/7/head
Noan07 2 years ago
parent 00a865780f
commit a3c14057c9

@ -24,6 +24,7 @@ namespace DataBase.Context
//optionsBuilder.UseNpgsql(@"host=localhost;database=postgres;user id=postgres;password=1234;"); //optionsBuilder.UseNpgsql(@"host=localhost;database=postgres;user id=postgres;password=1234;");
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "..\\..\\..\\..\\DataBase\\PongDB.db"); string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "..\\..\\..\\..\\DataBase\\PongDB.db");
optionsBuilder.UseSqlite($"Data Source={path}"); optionsBuilder.UseSqlite($"Data Source={path}");
} }
} }
protected override void OnModelCreating(ModelBuilder modelBuilder) protected override void OnModelCreating(ModelBuilder modelBuilder)

Loading…
Cancel
Save