PHP Class Phpmig\Adapter\PDO\SqlOci

Author: omenrpg https://github.com/omenrpg
Inheritance: extends Phpmig\Adapter\PDO\Sql
Show file Open project: davedevelopment/phpmig

Public Methods

Method Description
__construct ( PDO $connection, string $tableName ) Constructor
createSchema ( ) : self Create Schema
down ( Phpmig\Migration\Migration $migration ) : self Down
fetchAll ( ) : array Fetch all
hasSchema ( ) : boolean Does migration table exist in db?
up ( Phpmig\Migration\Migration $migration ) : self Up

Method Details

__construct() public method

Constructor
public __construct ( PDO $connection, string $tableName )
$connection PDO
$tableName string

createSchema() public method

Create Schema
public createSchema ( ) : self
return self

down() public method

Down
public down ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
return self

fetchAll() public method

Fetch all
public fetchAll ( ) : array
return array

hasSchema() public method

Does migration table exist in db?
public hasSchema ( ) : boolean
return boolean

up() public method

Up
public up ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
return self