bosnadev / database

An extended PostgreSQL driver for Laravel 5 with support for some aditional PostgreSQL data types: hstore, uuid, jsonb.
https://bosnadev.com
MIT License
78 stars 68 forks source link

Don't repeat what Laravel already does for the default values #13

Closed EspadaV8 closed 9 years ago

EspadaV8 commented 9 years ago

There is an issue with a missing import in the Postgres schema grammar causing Expressions that are passed in to be treated as strings (there should be a use Illuminate\Database\Query\Expression;).

Instead of adding the import though it's probably better to just let Laravel do whatever it normally does if it's not a UUID that's being passed in (just in case they add anything else).

mirzap commented 9 years ago

Thanks!