aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/Peer/PeerDbContext.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-20 08:49:19 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-09-20 08:49:19 -0500
commitad8f173adf8902ef42e2a1f70c675373cbb06950 (patch)
treeebf7c142161d6f96bc093765f4a822d0bc9464d5 /src/slskd/Application/Peer/PeerDbContext.cs
parentd7d4b34c8aa560c847c9e4c4a14de65a8826b923 (diff)
downloadslskd-ad8f173adf8902ef42e2a1f70c675373cbb06950.tar.gz
rename Peer namespace to Users
Diffstat (limited to 'src/slskd/Application/Peer/PeerDbContext.cs')
-rw-r--r--src/slskd/Application/Peer/PeerDbContext.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/slskd/Application/Peer/PeerDbContext.cs b/src/slskd/Application/Peer/PeerDbContext.cs
deleted file mode 100644
index ee5dfd04..00000000
--- a/src/slskd/Application/Peer/PeerDbContext.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-// <copyright file="PeerDbContext.cs" company="slskd Team">
-// Copyright (c) slskd Team. All rights reserved.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published
-// by the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see https://www.gnu.org/licenses/.
-// </copyright>
-
-namespace slskd.Peer
-{
- using Microsoft.EntityFrameworkCore;
-
- public class PeerDbContext : DbContext
- {
- public PeerDbContext(DbContextOptions<PeerDbContext> options)
- : base(options)
- {
- Database.EnsureCreated();
- }
-
- public DbSet<Info> Info { get; set; }
- }
-}