diff options
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Search/SearchDbContext.cs (renamed from src/slskd/Core/DbContext.cs) | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/slskd/Core/DbContext.cs b/src/slskd/Core/Search/SearchDbContext.cs index ba4e50a6..4832bc17 100644 --- a/src/slskd/Core/DbContext.cs +++ b/src/slskd/Core/Search/SearchDbContext.cs @@ -1,4 +1,4 @@ -// <copyright file="DbContext.cs" company="slskd Team"> +// <copyright file="SearchDbContext.cs" company="slskd Team"> // Copyright (c) slskd Team. All rights reserved. // // This program is free software: you can redistribute it and/or modify @@ -15,18 +15,17 @@ // along with this program. If not, see https://www.gnu.org/licenses/. // </copyright> -namespace slskd +namespace slskd.Search { using Microsoft.EntityFrameworkCore; - using slskd.Search; - public class AppDbContext : DbContext + public class SearchDbContext : DbContext { - public AppDbContext(DbContextOptions<AppDbContext> options) + public SearchDbContext(DbContextOptions<SearchDbContext> options) : base(options) { } - public DbSet<Search.Search> Searches { get; set; } + public DbSet<Search> Searches { get; set; } } } |
