migrations-generator
migrations-generator copied to clipboard
Postgres UUID columns are generated as $table->guid
Postgres UUID columns are generated as $table->guid, resulting in
PHP Fatal error: Call to undefined method Illuminate\Database\Schema\Blueprint::guid()
The right method name is Blueprint::uuid(), so it's temporarily fixed by a replace. Used versions: Laravel 5.2.10, PostgreSQL 9.3
This should be easy to fix. Will take a look at it once I have time
Is this still an issue in the latest version?
Yes, it's still an issue on Laravel 5.5 with version 2.0.2