Project Update

This commit is contained in:
2026-03-05 04:52:15 +00:00
parent a99a477985
commit 2bbbbc746f
15 changed files with 551 additions and 93 deletions

View File

@@ -0,0 +1,17 @@
using Microsoft.EntityFrameworkCore;
using Seasoned.Backend.Models;
namespace Seasoned.Backend.Data;
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options) { }
public DbSet<Recipe> Recipes { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.HasPostgresExtension("vector");
}
}