Rename column

This commit is contained in:
James Cole
2020-11-15 06:09:23 +01:00
parent f266c14f9c
commit c749e69abc

View File

@@ -50,7 +50,7 @@ class ChangesForV550 extends Migration
'budget_limits', 'budget_limits',
static function (Blueprint $table) { static function (Blueprint $table) {
$table->dropColumn('repeat_freq'); $table->dropColumn('repeat_freq');
$table->dropColumn('auto_budget'); $table->dropColumn('generated');
} }
); );
} }
@@ -80,7 +80,7 @@ class ChangesForV550 extends Migration
// create new failed_jobs table. // create new failed_jobs table.
Schema::create( Schema::create(
'failed_jobs', function (Blueprint $table) { 'failed_jobs', function (Blueprint $table) {
$table->id(); $table->bigIncrements('id');
$table->string('uuid')->unique(); $table->string('uuid')->unique();
$table->text('connection'); $table->text('connection');
$table->text('queue'); $table->text('queue');
@@ -106,7 +106,7 @@ class ChangesForV550 extends Migration
'budget_limits', 'budget_limits',
static function (Blueprint $table) { static function (Blueprint $table) {
$table->string('repeat_freq', 12)->nullable(); $table->string('repeat_freq', 12)->nullable();
$table->boolean('auto_budget')->default(false); $table->boolean('generated')->default(false);
} }
); );
} }