Fixes for migration

This commit is contained in:
David Bomba 2020-10-15 08:04:42 +11:00
parent 3dca6ff171
commit 6835c9d3b6
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->string('site_url', 200)->nullable();
$table->boolean('is_offsite')->default(false); $table->boolean('is_offsite')->default(false);
$table->boolean('is_secure')->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->unsignedInteger('default_gateway_type_id')->default(1);
$table->timestamps(6); $table->timestamps(6);
}); });

View File

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