xujif / laravel-pgsql-extends
extends pgsql supports of laravel
1.1.3
2017-01-04 02:44 UTC
Requires
- php: >=5.5.0
- illuminate/database: 5.*
- illuminate/support: 5.*
README
#Laravel Postgresql schama extends
####usage:
Schema::create('table', function (Blueprint $table) {
$table->increments('id');
$table->jsonb('fields');
$table->circle('fields');
$table->textArray('fieldsOfArray'); //type of text[]
$table->integerArray('integerArray'); //type of text[]
});
##supprts types
'json', 'hstore', 'uuid', 'jsonb', 'ipAddress', 'netmask', 'macAddress', 'point', 'line', 'lineSegment', 'path', 'box', 'polygon', 'circle', 'money', 'int4range', 'int8range', 'numrange', 'tsrange', 'tstzrange', 'daterange', 'tsvector',