mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-17 16:42:48 +01:00
Fix constraint violations in SQLite
This commit is contained in:
parent
2717298e56
commit
c60831f7f4
@ -183,7 +183,7 @@ class ConfideSetupUsersTable extends Migration {
|
||||
$t->string('username')->unique();
|
||||
$t->string('email')->nullable();
|
||||
$t->string('password');
|
||||
$t->string('confirmation_code');
|
||||
$t->string('confirmation_code')->nullable();
|
||||
$t->boolean('registered')->default(false);
|
||||
$t->boolean('confirmed')->default(false);
|
||||
$t->integer('theme_id')->nullable();
|
||||
@ -355,8 +355,8 @@ class ConfideSetupUsersTable extends Migration {
|
||||
$t->softDeletes();
|
||||
|
||||
$t->string('transaction_reference')->nullable();
|
||||
$t->timestamp('sent_date');
|
||||
$t->timestamp('viewed_date');
|
||||
$t->timestamp('sent_date')->nullable();
|
||||
$t->timestamp('viewed_date')->nullable();
|
||||
|
||||
$t->foreign('user_id')->references('id')->on('users')->onDelete('cascade');;
|
||||
$t->foreign('contact_id')->references('id')->on('contacts')->onDelete('cascade');
|
||||
|
Loading…
Reference in New Issue
Block a user