Skip to content
/ dbal Public
forked from doctrine/dbal

Doctrine Database Abstraction Layer For Laravel Migrations

License

Notifications You must be signed in to change notification settings

vortgo/dbal

 
 

Repository files navigation

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');

About

Doctrine Database Abstraction Layer For Laravel Migrations

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%