vortgo/dbal-laravel-enum

DBAL package for laravel migrations. Added field type - enum
633 1
Install
composer require vortgo/dbal-laravel-enum
Latest Version:v2.5.6
PHP:^5.6 || ^7.0
License:MIT
Last Updated:Oct 21, 2016
Links: GitHub  ·  Packagist
Maintainer: vortgo

Doctrine DBAL for laravel migrations

Changed files from original package

dbal/lib/Doctrine/DBAL/Schema/Column.php

dbal/lib/Doctrine/DBAL/Types/EnumType.php

Usage

When you need changing field enum, just added in your migrations file

Doctrine\DBAL\Types\Type::addType('enum', 'Doctrine\DBAL\Types\EnumType');

Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
larapack/doctrine-support

Better Doctrine Support with Laravel (Support for `enum`)

2,410,608 175
marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

860,641 49

Version History

Version Released PHP License
v2.5.6 ^5.6 || ^7.0 MIT
v2.5.5 >=5.3.2 MIT
v2.5.4 >=5.3.2 MIT
v2.5.3 >=5.3.2 MIT
v2.5.2 >=5.3.2 MIT
Pre-releases (18)
Version Released PHP License
v2.5.0-RC2 >=5.3.2 MIT
v2.5.0-RC1 >=5.3.2 MIT
v2.5.0-BETA3 >=5.3.2 MIT
v2.5.0-BETA2 >=5.3.2 MIT
2.4.0-RC2 >=5.3.2 MIT