Skip to content

Commit

Permalink
Merge pull request #306 from rapkis/fix/event-version-column-type
Browse files Browse the repository at this point in the history
Change event_version column type from int to unsigned tinyint
  • Loading branch information
brendt authored Jan 17, 2022
2 parents 74919e3 + e95e4df commit b5971fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_stored_events_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CreateStoredEventsTable extends Migration
$table->bigIncrements('id');
$table->uuid('aggregate_uuid')->nullable();
$table->unsignedBigInteger('aggregate_version')->nullable();
$table->integer('event_version')->default(1);
$table->unsignedTinyInteger('event_version')->default(1);
$table->string('event_class');
$table->jsonb('event_properties');
$table->jsonb('meta_data');
Expand Down

0 comments on commit b5971fd

Please sign in to comment.