From 0148407a402a4072cc7caa2dfc0ba830674b6875 Mon Sep 17 00:00:00 2001 From: Patrick Samson Date: Mon, 3 Nov 2014 19:44:12 -0500 Subject: [PATCH] Contacts last_login column should be nullable --- .../migrations/2013_11_05_180133_confide_setup_users_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/database/migrations/2013_11_05_180133_confide_setup_users_table.php b/app/database/migrations/2013_11_05_180133_confide_setup_users_table.php index e295b176b1..d00a491ca5 100755 --- a/app/database/migrations/2013_11_05_180133_confide_setup_users_table.php +++ b/app/database/migrations/2013_11_05_180133_confide_setup_users_table.php @@ -279,7 +279,7 @@ class ConfideSetupUsersTable extends Migration { $t->string('last_name')->nullable(); $t->string('email')->nullable(); $t->string('phone')->nullable(); - $t->timestamp('last_login'); + $t->timestamp('last_login')->nullable(); $t->foreign('client_id')->references('id')->on('clients')->onDelete('cascade'); $t->foreign('user_id')->references('id')->on('users')->onDelete('cascade');;