feat(qa): 周报邮件新增测试/审核邮箱
build / build (push) Successful in 1m13s

测试发送只投递到该地址,不打扰主送与抄送名单;未填时退回主送首位。
This commit is contained in:
hermes
2026-10-26 16:06:17 +08:00
parent 1a9d1fff83
commit 23b19350cc
9 changed files with 49 additions and 10 deletions
@@ -0,0 +1 @@
alter table qa_weekly_email_settings drop column if exists review_address;
@@ -0,0 +1,2 @@
-- 审核副本:测试发送只投递到这个地址,不打扰主送与抄送名单。
alter table qa_weekly_email_settings add column if not exists review_address text not null default '';
@@ -11,8 +11,8 @@ func TestEmbeddedMigrationsAreVersionSorted(t *testing.T) {
if err != nil {
t.Fatalf("loadMigrations() error = %v", err)
}
if len(migrations) != 62 {
t.Fatalf("migration count = %d, want 62", len(migrations))
if len(migrations) != 63 {
t.Fatalf("migration count = %d, want 63", len(migrations))
}
if migrations[0].Version != 1 || !strings.Contains(migrations[0].UpSQL, "CREATE TABLE IF NOT EXISTS jobs") {
t.Fatalf("migration 1 = %#v", migrations[0])