ANOTHER fix for enum fuckery
This commit is contained in:
@@ -13,6 +13,9 @@ class SetAssetArchivedToZeroDefault extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$platform = Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform();
|
||||
$platform->registerDoctrineTypeMapping('enum', 'string');
|
||||
|
||||
Schema::table('assets', function (Blueprint $table) {
|
||||
$table->boolean('archived')->default(0)->change();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user