laravel-convert-migrations icon indicating copy to clipboard operation
laravel-convert-migrations copied to clipboard

This is a custom command to convert your current SQL database schema into a Laravel 4 Migration file.

Results 11 laravel-convert-migrations issues
Sort by recently updated
recently updated
newest added

I tried to use it but the next message appears "[Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Foundation\Application::share() "

Hello, would it be possible to adapt the code in order to create a laravel migration file from a liquibase changelog XML file ?

Title says it all, package consumers shouldn't have to rely on an ever-changing branch, would be better with tags

It just doesn't, example: $table->foreign('user_id')->references('id')->on('users'); should be $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');

I tried this with a DB that has a blob column in one table, the result was: $table->('post_text')->nullable(); should be: $table->binary('post_text')->nullable();

it'll be nice to support plain sql also

Any columns that are set as not null with the literal zero '0' as default do not get a "->default('0')" applied to the column creation. This creates some problems if...

Primary key are always converted in auto_increment, but some primary keys of my database are not A_I.

Running `composer update` returns: ``` PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0 Loading composer repositories with package information...