style: format H5 migration test
This commit is contained in:
parent
a212d8132d
commit
d02d9ada63
@ -16,10 +16,10 @@ func TestH5AppScopeMigrationKeepsAppAgnosticLegacyBaseline(t *testing.T) {
|
||||
}
|
||||
sqlText := string(body)
|
||||
for _, snippet := range []string{
|
||||
"app_code VARCHAR(32) NOT NULL DEFAULT ''",
|
||||
"is_deleted BOOLEAN NOT NULL DEFAULT FALSE",
|
||||
"DROP INDEX uk_admin_app_configs_group_key",
|
||||
"uk_admin_app_config_app_group_key (app_code, `group`, `key`)",
|
||||
"app_code VARCHAR(32) NOT NULL DEFAULT ''",
|
||||
"is_deleted BOOLEAN NOT NULL DEFAULT FALSE",
|
||||
"DROP INDEX uk_admin_app_configs_group_key",
|
||||
"uk_admin_app_config_app_group_key (app_code, `group`, `key`)",
|
||||
} {
|
||||
if !strings.Contains(sqlText, snippet) {
|
||||
t.Fatalf("h5 app scope migration missing %q", snippet)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user