xujif / laravel-postgres-extends by xujif

extends pgsql supports of laravel
382
0
2
Package Data
Maintainer Username: xujif
Maintainer Contact: i@xujif.com (xujif)
Package Create Date: 2016-05-31
Package Last Update: 2017-01-04
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:21:04
Package Statistics
Total Downloads: 382
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

#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',