PHP Класс Pheasant\Migrate\Migrator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $pheasant = null )
create ( $table, $schema ) Creates the underlying tables for a schema, dropping any tables of the same names
destroy ( $schema, $table = null ) Destroy tables and sequences for a Schema
initialize ( $schema, $table = null ) Sets up an tables and sequences for a Schema

Приватные методы

Метод Описание
_connection ( $schema )
_mapper ( $schema )

Описание методов

__construct() публичный Метод

public __construct ( $pheasant = null )

create() публичный Метод

Creates the underlying tables for a schema, dropping any tables of the same names
Устаревший: use initialize
public create ( $table, $schema )

destroy() публичный Метод

Destroy tables and sequences for a Schema
public destroy ( $schema, $table = null )

initialize() публичный Метод

Sets up an tables and sequences for a Schema
public initialize ( $schema, $table = null )