Skip to content

Commit

Permalink
Change event_version column type from int to unsigned tinyint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapolas committed Jan 10, 2022
1 parent 505a8e5 commit e95e4df
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 e95e4df

Please sign in to comment.