Skip to content

Commit

Permalink
Update 2016_05_02_193213_create_gateway_transactions_table.php
Browse files Browse the repository at this point in the history
default value for created_at and updated_at should be null or in its special format. By default it uses 0 as default value and it causes an error :)
  • Loading branch information
Ram-yar authored Oct 1, 2016
1 parent d8b3e59 commit 8c3ca46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function up()
])->default(Enum::TRANSACTION_INIT);
$table->string('ip', 20)->nullable();
$table->timestamp('payment_date')->nullable();
$table->timestamps();
$table->nullableTimestamps();
$table->softDeletes();
});
}
Expand Down

0 comments on commit 8c3ca46

Please sign in to comment.