mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fix more enum fuckery
This commit is contained in:
parent
81e358a01d
commit
6232a077b5
|
@ -13,6 +13,9 @@ class AddSoftDeletedToLog extends Migration {
|
|||
public function up()
|
||||
{
|
||||
|
||||
$platform = Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform();
|
||||
$platform->registerDoctrineTypeMapping('enum', 'string');
|
||||
|
||||
Schema::table('asset_logs', function ($table) {
|
||||
$table->string('asset_type',100)->nullable()->change();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue