Fix more enum fuckery

This commit is contained in:
snipe 2017-09-14 14:06:53 -07:00
parent 81e358a01d
commit 6232a077b5

View file

@ -13,6 +13,9 @@ class AddSoftDeletedToLog extends Migration {
public function up() public function up()
{ {
$platform = Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform();
$platform->registerDoctrineTypeMapping('enum', 'string');
Schema::table('asset_logs', function ($table) { Schema::table('asset_logs', function ($table) {
$table->string('asset_type',100)->nullable()->change(); $table->string('asset_type',100)->nullable()->change();
}); });