测试发送只投递到该地址,不打扰主送与抄送名单;未填时退回主送首位。
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user