mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-05 19:34:13 +02:00
make backend for my site
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using yaflay.ru.Database.Tables;
|
||||
using yaflay.ru.Models.Tables;
|
||||
using api.yawaflua.ru.Models.Tables;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using yawaflua.ru.Database.Tables;
|
||||
using yawaflua.ru.Models.Tables;
|
||||
|
||||
namespace yaflay.ru.Models
|
||||
namespace yawaflua.ru.Models
|
||||
{
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
@@ -15,6 +16,7 @@ namespace yaflay.ru.Models
|
||||
public DbSet<Comments> Comments { get; set; }
|
||||
public DbSet<Redirects> Redirects { get; set; }
|
||||
public DbSet<ApiKey> ApiKeys { get; set; }
|
||||
public DbSet<Projects> Projects { get; set; }
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
Reference in New Issue
Block a user