mercredi 2 août 2017

Laravel migration handling unsupported types

I already have database setup and I would like to create migration(s) from empty db to current state. How to handle unsupported types (like Point) by Laravel migration?

Only solution I could think of was using DB::statement and writing raw SQL. Is there any better way?

Also, is there any converter from existing DB to Laravel migration that handles properly these unsupported types?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire