Skip to content

Commit

Permalink
Merge pull request #5 from othillo/varchar-type
Browse files Browse the repository at this point in the history
use string column type for type column (VARCHAR(255) in MySQL)
  • Loading branch information
asm89 authored Mar 6, 2017
2 parents dfa4ac2 + 256f3f6 commit b888a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DBALEventStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function configureTable()
$table->addColumn('payload', 'text');
$table->addColumn('metadata', 'text');
$table->addColumn('recorded_on', 'string', ['length' => 32]);
$table->addColumn('type', 'text');
$table->addColumn('type', 'string', ['length' => 255]);

$table->setPrimaryKey(['id']);
$table->addUniqueIndex(['uuid', 'playhead']);
Expand Down

0 comments on commit b888a3b

Please sign in to comment.