1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

fixes for json (#3458)

This commit is contained in:
David Bomba 2020-03-09 21:00:34 +11:00 committed by GitHub
parent 9e39f42aa8
commit 9334379786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ class CreateUsersTable extends Migration
$table->string('site_url', 200)->nullable();
$table->boolean('is_offsite')->default(false);
$table->boolean('is_secure')->default(false);
$table->json('fields')->nullable();
$table->mediumText('fields')->nullable();
$table->unsignedInteger('default_gateway_type_id')->default(1);
$table->timestamps(6);
});
@ -173,8 +173,8 @@ class CreateUsersTable extends Migration
$table->string('portal_domain')->nullable();
$table->smallInteger('enable_modules')->default(0);
$table->json('custom_fields');
$table->json('settings');
$table->mediumText('custom_fields');
$table->mediumText('settings');
$table->string('slack_webhook_url');
$table->string('google_analytics_url');
@ -348,7 +348,7 @@ class CreateUsersTable extends Migration
$table->string('shipping_state')->nullable();
$table->string('shipping_postal_code')->nullable();
$table->unsignedInteger('shipping_country_id')->nullable();
$table->json('settings')->nullable();
$table->mediumText('settings')->nullable();
$table->boolean('is_deleted')->default(false);
$table->unsignedInteger('group_settings_id')->nullable();
@ -1158,7 +1158,7 @@ class CreateUsersTable extends Migration
$table->unsignedInteger('company_id');
$table->unsignedInteger('user_id')->nullable();
$table->string('name')->nullable();
$table->json('settings')->nullable();
$table->mediumText('settings')->nullable();
$table->softDeletes('deleted_at', 6);
$table->timestamps(6);
@ -1377,7 +1377,7 @@ class CreateUsersTable extends Migration
$table->string('name');
$table->boolean('is_custom')->default(true);
$table->boolean('is_active')->default(true);
$table->json('design')->nullable();
$table->mediumText('design')->nullable();
$table->boolean('is_deleted')->default(false);
$table->timestamps(6);
$table->softDeletes('deleted_at', 6);