Revize a35cb648
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Contexts/DatabaseContext.cs | ||
---|---|---|
35 | 35 |
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) |
36 | 36 |
{ |
37 | 37 |
optionsBuilder.UseNpgsql(_configuration["ConnectionString"], b => b.MigrationsAssembly("RestAPI")); |
38 |
//optionsBuilder.UseNpgsql("Host=localhost:5432;Database=dbo;Username=myuser;Password=password"); |
|
39 |
} |
|
40 |
|
|
41 |
protected override void OnModelCreating(ModelBuilder modelBuilder) |
|
42 |
{ |
|
43 | 38 |
} |
44 | 39 |
} |
45 | 40 |
} |
Také k dispozici: Unified diff
Added comments to backend