Fix migrations

 - victim/killer[id] was not int(10)
parent 21fcb983
Pipeline #1311 passed with stages
in 2 minutes and 40 seconds
......@@ -26,6 +26,11 @@ class TweakFieldNamingInEventMatch extends Migration
$table->renameColumn('killer_weapon', 'killer_weapon_id');
});
Schema::table('halo5_match_events', function (Blueprint $table) {
$table->integer('victim_id', false, true)->change();
$table->integer('killer_id', false, true)->change();
});
Schema::table('halo5_match_events', function (Blueprint $table) {
$table->index('victim_weapon_id');
$table->index('killer_weapon_id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment