You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/bridge/symfony/postgresql-bundle/src/Flow/Bridge/Symfony/PostgreSqlBundle/FlowPostgreSqlBundle.php
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,10 @@ public function configure(DefinitionConfigurator $definition): void
357
357
->defaultTrue()
358
358
->info('Generate rollback files when creating migrations (default: true)')
359
359
->end()
360
+
->booleanNode('drop_if_exists')
361
+
->defaultFalse()
362
+
->info('Emit IF EXISTS on diff-generated DROP statements (default: false)')
363
+
->end()
360
364
->arrayNode('exclude')
361
365
->info('Schema objects excluded from migration diffing (e.g. tables created dynamically at runtime). Each entry defines exactly one matcher: schema, table, exact, starts_with, ends_with, pattern or policy_id.')
362
366
->arrayPrototype()
@@ -424,7 +428,7 @@ public function configure(DefinitionConfigurator $definition): void
Copy file name to clipboardExpand all lines: src/bridge/symfony/postgresql-bundle/tests/Flow/Bridge/Symfony/PostgreSqlBundle/Tests/Integration/Command/DiffCommandTest.php
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,4 +34,19 @@ public function test_generates_schema_migration(): void
Copy file name to clipboardExpand all lines: src/bridge/symfony/postgresql-bundle/tests/Flow/Bridge/Symfony/PostgreSqlBundle/Tests/Integration/FlowPostgreSqlExtensionTest.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1151,6 +1151,7 @@ public function test_migration_configuration_values_propagated(): void
Copy file name to clipboardExpand all lines: src/bridge/symfony/postgresql-bundle/tests/Flow/Bridge/Symfony/PostgreSqlBundle/Tests/Unit/DependencyInjection/ConfigurationTest.php
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -402,6 +402,22 @@ public function test_migrations_default_values(): void
0 commit comments