???: did some docker stuff. The Project can run, but the db needs to be linked from outside, or it does not work.
This commit is contained in:
parent
db1d4822d4
commit
f0fbb11824
4 changed files with 13 additions and 4 deletions
|
@ -10,8 +10,10 @@ internal sealed class AppDBContext : DbContext
|
|||
public DbSet<CommentData> Comments { get; set; }
|
||||
public DbSet<ReportData> Reports { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
=> optionsBuilder.UseSqlite("Data Source=./Data/Nils.db");
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlite("Data Source=./Data/Nils.db");
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder mb)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue