BigIntMigration extends SimpleMigrationStep
Tags
Table of Contents
- changeSchema() : null|ISchemaWrapper
- description() : string
- Human readable description of the migration step
- name() : string
- Human readable name of the migration step
- postSchemaChange() : mixed
- preSchemaChange() : mixed
- getColumnsByTable() : array
Methods
changeSchema()
public
changeSchema(IOutput $output, Closure $schemaClosure, array $options) : null|ISchemaWrapper
Parameters
- $output : IOutput
- $schemaClosure : Closure
-
The
\Closure
returns aISchemaWrapper
- $options : array
Tags
Return values
null|ISchemaWrapper —description()
Human readable description of the migration step
public
description() : string
Tags
Return values
string —name()
Human readable name of the migration step
public
name() : string
Tags
Return values
string —postSchemaChange()
public
postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) : mixed
Parameters
- $output : IOutput
- $schemaClosure : Closure
-
The
\Closure
returns aISchemaWrapper
- $options : array
Tags
Return values
mixed —preSchemaChange()
public
preSchemaChange(IOutput $output, Closure $schemaClosure, array $options) : mixed
Parameters
- $output : IOutput
- $schemaClosure : Closure
-
The
\Closure
returns aISchemaWrapper
- $options : array
Tags
Return values
mixed —getColumnsByTable()
protected
abstract getColumnsByTable() : array
Tags
Return values
array —Returns an array with the following structure ['table1' => ['column1', 'column2'], ...]