xujif / laravel-pgsql-extends
extends pgsql supports of laravel
Installs: 383
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/xujif/laravel-pgsql-extends
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',