Skip to content

Commit

Permalink
Adapt the event store migration to the correct column types
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jan 28, 2015
1 parent f7c9d3f commit a856045
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/migrations/2015_01_20_181911_create_event_store_table.php
Expand Up @@ -22,12 +22,12 @@ public function up()
Schema::create($this->eventStoreTableName, function (Blueprint $table) {
$table->increments('id');

$table->string('uuid', 255);
$table->string('playhead', 255);
$table->string('metadata', 255);
$table->string('payload', 255);
$table->dateTime('recorded_on');
$table->string('type', 255);
$table->string('uuid', 36);
$table->integer('playhead')->unsigned();
$table->text('metadata');
$table->text('payload');
$table->string('recorded_on', 32);
$table->text('type');

$table->unique(['uuid', 'playhead']);
});
Expand Down

0 comments on commit a856045

Please sign in to comment.