Fix for migration

This commit is contained in:
Hillel Coren 2018-04-23 12:20:33 +03:00
parent 61bf11e50c
commit b6d2273173

View File

@ -136,6 +136,7 @@ class AddMoreCustomFields extends Migration
$table->string('ip')->nullable(); $table->string('ip')->nullable();
}); });
DB::statement('UPDATE gateways SET provider = "Custom1" WHERE id = 62');
DB::statement('UPDATE gateway_types SET alias = "custom1", name = "Custom 1" WHERE id = 6'); DB::statement('UPDATE gateway_types SET alias = "custom1", name = "Custom 1" WHERE id = 6');
DB::statement('ALTER TABLE recurring_expenses MODIFY COLUMN last_sent_date DATE'); DB::statement('ALTER TABLE recurring_expenses MODIFY COLUMN last_sent_date DATE');
} }