1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #4165 from turbo124/v2

Fixes for migration
This commit is contained in:
David Bomba 2020-10-15 08:05:06 +11:00 committed by GitHub
commit f69a624b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class CreateUsersTable extends Migration
$table->string('site_url', 200)->nullable();
$table->boolean('is_offsite')->default(false);
$table->boolean('is_secure')->default(false);
$table->longText('fields')->nullable();
$table->mediumText('fields')->nullable();
$table->unsignedInteger('default_gateway_type_id')->default(1);
$table->timestamps(6);
});

View File

@ -17,6 +17,10 @@ class ProjectIdsToEntities extends Migration
$table->unsignedInteger('project_id')->nullable();
});
Schema::table('gateways', function (Blueprint $table) {
$table->longText('fields')->change();
});
}
/**