diff --git a/src/DBALEventStore.php b/src/DBALEventStore.php index 5de3e89..3ab99f2 100644 --- a/src/DBALEventStore.php +++ b/src/DBALEventStore.php @@ -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']);