feat(church-profile): add AI provider/model/key columns + migration

This commit is contained in:
Chris Chen
2026-06-25 13:07:30 -07:00
parent bcaa3e2f25
commit 75905e7036
5 changed files with 2401 additions and 0 deletions
@@ -439,6 +439,13 @@ namespace ROLAC.API.Migrations
.HasMaxLength(500)
.HasColumnType("character varying(500)");
b.Property<string>("AiProvider")
.IsRequired()
.ValueGeneratedOnAdd()
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasDefaultValue("Claude");
b.Property<string>("BankAccountNumber")
.HasMaxLength(50)
.HasColumnType("character varying(50)");
@@ -455,6 +462,16 @@ namespace ROLAC.API.Migrations
.HasMaxLength(100)
.HasColumnType("character varying(100)");
b.Property<string>("ClaudeApiKey")
.HasMaxLength(500)
.HasColumnType("character varying(500)");
b.Property<string>("ClaudeModel")
.ValueGeneratedOnAdd()
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasDefaultValue("claude-haiku-4-5-20251001");
b.Property<DateTimeOffset>("CreatedAt")
.HasColumnType("timestamp with time zone");
@@ -467,6 +484,16 @@ namespace ROLAC.API.Migrations
.HasMaxLength(200)
.HasColumnType("character varying(200)");
b.Property<string>("GeminiApiKey")
.HasMaxLength(500)
.HasColumnType("character varying(500)");
b.Property<string>("GeminiModel")
.ValueGeneratedOnAdd()
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasDefaultValue("gemini-2.5-flash-lite");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(200)