(t *testing.T, fromSDL, toSDL string)
| 37 | const eventTriggerFunctionOnlySDL = eventTriggerFunctionSDL |
| 38 | |
| 39 | func diffPostgresSDL(t *testing.T, fromSDL, toSDL string) string { |
| 40 | t.Helper() |
| 41 | sql, err := schema.DiffSDLMigration(storepb.Engine_POSTGRES, strings.TrimSpace(fromSDL), strings.TrimSpace(toSDL)) |
| 42 | require.NoError(t, err) |
| 43 | return sql |
| 44 | } |
| 45 | |
| 46 | // omniSDLMigration is a test helper that runs the omni SDL migration pipeline: |
| 47 | // from = LoadSDL(fromSDL), to = LoadSDL(toSDL), Diff, GenerateMigration. |
no test coverage detected