diff --git a/tests/Functional/Schema/PostgreSQL/SchemaTest.php b/tests/Functional/Schema/PostgreSQL/SchemaTest.php index 55a08fccd05..8d5e16b883e 100644 --- a/tests/Functional/Schema/PostgreSQL/SchemaTest.php +++ b/tests/Functional/Schema/PostgreSQL/SchemaTest.php @@ -20,6 +20,8 @@ public function testCreateTableWithSequenceInColumnDefinition(): void self::markTestSkipped('Test is for PostgreSQL.'); } + $this->dropTableIfExists('my_table'); + $options = ['default' => 'nextval(\'my_table_id_seq\'::regclass)']; $table = new Table('my_table', [new Column('id', new IntegerType(), $options)]); $sequence = new Sequence('my_table_id_seq');