xujif/laravel-pgsql-extends

extends pgsql supports of laravel

1.1.3 2017-01-04 02:44 UTC

This package is auto-updated.

Last update: 2024-10-27 20:11:23 UTC


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