Contacts last_login column should be nullable
This commit is contained in:
parent
92d1d6562d
commit
0148407a40
1 changed files with 1 additions and 1 deletions
|
|
@ -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');;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue