tiny server.
This commit is contained in:
15
Server/Data/FlowerDatabase.cs
Normal file
15
Server/Data/FlowerDatabase.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Blahblah.FlowerStory.Server.Data.Model;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Blahblah.FlowerStory.Server.Data;
|
||||
|
||||
public class FlowerDatabase : DbContext
|
||||
{
|
||||
public FlowerDatabase(DbContextOptions<FlowerDatabase> options) : base(options) { }
|
||||
|
||||
public DbSet<UserItem> Users { get; set; }
|
||||
|
||||
public DbSet<FlowerItem> Flowers { get; set; }
|
||||
|
||||
public DbSet<RecordItem> Records { get; set; }
|
||||
}
|
Reference in New Issue
Block a user