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