Skip to content

Commit 4c69c35

Browse files
committed
[BUG] Installation fails on the postgres DB
1 parent d560147 commit 4c69c35

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/B2bCode/Bundle/CmsFormBundle/Migrations/Schema/B2bCodeCmsFormBundleInstaller.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ protected function createB2BCodeCmsFormResponseTable(Schema $schema)
6363
$table->addColumn('created_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
6464
$table->addColumn('updated_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
6565
$table->addColumn('is_resolved', 'boolean', ['notnull' => false]);
66-
$table->addColumn('serialized_data', 'array', ['notnull' => false, 'comment' => '(DC2Type:array)']);
6766
$table->setPrimaryKey(['id']);
6867
$table->addIndex(['visitor_id'], 'idx_eab5a5270bee6d', []);
6968
$table->addIndex(['form_id'], 'idx_eab5a525ff69b7d', []);
@@ -81,7 +80,6 @@ protected function createB2BCodeCmsFieldResponseTable(Schema $schema)
8180
$table->addColumn('field_id', 'integer', []);
8281
$table->addColumn('form_response_id', 'integer', []);
8382
$table->addColumn('value', 'text', ['notnull' => false]);
84-
$table->addColumn('serialized_data', 'array', ['notnull' => false, 'comment' => '(DC2Type:array)']);
8583
$table->setPrimaryKey(['id']);
8684
$table->addIndex(['form_response_id'], 'idx_3679f827c98b851', []);
8785
$table->addIndex(['field_id'], 'idx_3679f827443707b0', []);
@@ -104,7 +102,6 @@ protected function createB2BCodeCmsFormFieldTable(Schema $schema)
104102
$table->addColumn('options', 'array', ['notnull' => false, 'comment' => '(DC2Type:array)']);
105103
$table->addColumn('created_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
106104
$table->addColumn('updated_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
107-
$table->addColumn('serialized_data', 'array', ['notnull' => false, 'comment' => '(DC2Type:array)']);
108105
$table->addIndex(['form_id'], 'idx_c32e75ca5ff69b7d', []);
109106
$table->setPrimaryKey(['id']);
110107
$table->addUniqueIndex(['form_id', 'name'], 'uidx_b2b_code_field_form_name');
@@ -140,7 +137,6 @@ protected function createB2BCodeCmsFormTable(Schema $schema)
140137
$table->addColumn('alias', 'string', ['length' => 255]);
141138
$table->addColumn('created_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
142139
$table->addColumn('updated_at', 'datetime', ['comment' => '(DC2Type:datetime)']);
143-
$table->addColumn('serialized_data', 'array', ['notnull' => false, 'comment' => '(DC2Type:array)']);
144140
$table->addColumn('uuid', 'string', ['length' => 255]);
145141
$table->addColumn('preview_enabled', 'boolean', ['notnull' => false]);
146142
$table->addColumn('notifications_enabled', 'boolean', ['notnull' => false]);

0 commit comments

Comments
 (0)