2017 © Pedro Peláez
 

library postgresql-schema

Add inheritance in postgresql tables

image

thibaud-dauce/postgresql-schema

Add inheritance in postgresql tables

  • Friday, August 1, 2014
  • by ThibaudDauce
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PostgresqlSchema

Software License, (*1)

Add inheritance in postgresql tables, (*2)

Installation

PHP 5.4+ and Laravel 4.2+ are required., (*3)

To get the latest version of PostgreSQL Schema, simply require "thibaud-dauce/postgresql-schema": "1.*" in your composer.json file. You'll then need to run composer install or composer update to download it and have the autoloader updated., (*4)

Once PostgreSQL Schema is installed, you need to register the service provider. Open up app/config/app.php and add the following to the providers key., (*5)

  • 'ThibaudDauce\PostgresqlSchema\PostgresqlSchemaServiceProvider'

Usage

In migration file when using a postgresql database, you can use the new method addInheritedTable:, (*6)

<?php

Schema::create('test', function(Blueprint $table) {

  $table->increments('id');
  $table->addInheritedTable('users');
});

The Versions

01/08 2014

dev-master

9999999-dev

Add inheritance in postgresql tables

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel migrations postgres inheritance postresql

31/07 2014

v1.0

1.0.0.0

Add inheritance in postgresql tables

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel migrations postgres inheritance postresql