Skip to content

Commit 264cb9b

Browse files
author
Tom Schlick
authored
Update migration.stub
1 parent 9a546d8 commit 264cb9b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stubs/migration.stub

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ class {CLASS_NAME} extends Migration
1818
$table->unsignedInteger('subject_id')->index();
1919
$table->unsignedInteger('user_id')->nullable()->index();
2020
$table->unsignedTinyInteger('event_type')->index();
21-
$table->string('field')->index();
22-
$table->string('value_from')->nullable()->index();
23-
$table->string('value_to')->nullable()->index();
21+
$table->string('field_name')->index();
22+
$table->string('field_value_old')->nullable()->index();
23+
$table->string('field_value_new')->nullable()->index();
24+
$table->timestamp('occurred_at')->index();
2425
$table->timestamps();
2526
{PROCESS_IDS_SETUP}
2627

0 commit comments

Comments
 (0)