mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Update alter statement to use correct suffix for column
This is brittle...
This commit is contained in:
parent
e5cb68cc5e
commit
39ab545cf5
|
@ -55,6 +55,6 @@ class MigrateMacAddress extends Migration
|
|||
Schema::table('models', function (Blueprint $table) {
|
||||
$table->renameColumn('deprecated_mac_address', 'show_mac_address');
|
||||
});
|
||||
DB::statement('ALTER TABLE assets CHANGE _snipeit_mac_address mac_address varchar(255)');
|
||||
DB::statement('ALTER TABLE assets CHANGE _snipeit_mac_address_1 mac_address varchar(255)');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue