diff --git a/stubs/migration.stub b/stubs/migration.stub index 05fbf3b..1b9b2c2 100644 --- a/stubs/migration.stub +++ b/stubs/migration.stub @@ -21,7 +21,7 @@ class {CLASS_NAME} extends Migration $table->string('field_name')->index(); $table->string('field_value_old')->nullable()->index(); $table->string('field_value_new')->nullable()->index(); - $table->timestamp('occurred_at')->index(); + $table->timestamp('occurred_at', {PRECISION})->index(); $table->timestamps(); {PROCESS_IDS_SETUP}