mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
Contacts last_login column should be nullable
This commit is contained in:
parent
92d1d6562d
commit
0148407a40
@ -279,7 +279,7 @@ class ConfideSetupUsersTable extends Migration {
|
|||||||
$t->string('last_name')->nullable();
|
$t->string('last_name')->nullable();
|
||||||
$t->string('email')->nullable();
|
$t->string('email')->nullable();
|
||||||
$t->string('phone')->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('client_id')->references('id')->on('clients')->onDelete('cascade');
|
||||||
$t->foreign('user_id')->references('id')->on('users')->onDelete('cascade');;
|
$t->foreign('user_id')->references('id')->on('users')->onDelete('cascade');;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user