Index: iknow-api/Data/AppDbContext.cs
===================================================================
--- iknow-api/Data/AppDbContext.cs	(revision 28592255f5866211ebd76ae2286b6373daa6b937)
+++ iknow-api/Data/AppDbContext.cs	(revision 41e4f9f182d0e57d4c515deb41ea1e59a02ca894)
@@ -1,10 +1,13 @@
 using Microsoft.EntityFrameworkCore;
-using iknow_api.Models;
+using iknow_api.Core.Models;
 
-public class AppDbContext : DbContext
+namespace iknow_api.Core.Data
 {
-    public AppDbContext(DbContextOptions<AppDbContext> options)
-        : base(options) { }
+    public class AppDbContext : DbContext
+    {
+        public AppDbContext(DbContextOptions<AppDbContext> options)
+            : base(options) { }
 
-    public DbSet<Users> Users { get; set; }
+        public DbSet<User> User { get; set; }
+    }
 }
Index: iknow-api/Data/AppDbContextFactory.cs
===================================================================
--- iknow-api/Data/AppDbContextFactory.cs	(revision 28592255f5866211ebd76ae2286b6373daa6b937)
+++ 	(revision )
@@ -1,21 +1,0 @@
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Design;
-
-namespace iknow_api.Data
-{
-    public class AppDbContextFactory : IDesignTimeDbContextFactory<AppDbContext>
-    {
-        public AppDbContext CreateDbContext(string[] args)
-        {
-            var configuration = new ConfigurationBuilder()
-                .SetBasePath(Directory.GetCurrentDirectory())
-                .AddJsonFile("appsettings.json")
-                .Build();
-
-            var optionsBuilder = new DbContextOptionsBuilder<AppDbContext>();
-            optionsBuilder.UseNpgsql(configuration.GetConnectionString("DefaultConnection"));
-
-            return new AppDbContext(optionsBuilder.Options);
-        }
-    }
-}
