class TableDefinition (View source)

The TableDefinition class is responsible for defining the schema of the table used to track the execution state of each migration version.

Constants

MIGRATION_COLUMN_TYPE

MIGRATION_EXECUTED_AT_COLUMN_TYPE

Methods

__construct(AbstractSchemaManager $schemaManager, string $name, string $columnName, int $columnLength, string $executedAtColumnName)

No description

getName()

No description

getColumnName()

No description

getColumnLength()

No description

getExecutedAtColumnName()

No description

getMigrationsColumn()

No description

getExecutedAtColumn()

No description

string[]
getColumnNames()

No description

getDBALTable()

No description

getNewDBALTable()

No description

createDBALTable(array $columns)

No description

Details

__construct(AbstractSchemaManager $schemaManager, string $name, string $columnName, int $columnLength, string $executedAtColumnName)

Parameters

AbstractSchemaManager $schemaManager
string $name
string $columnName
int $columnLength
string $executedAtColumnName

getName()

getColumnName()

getColumnLength()

getExecutedAtColumnName()

getMigrationsColumn()

getExecutedAtColumn()

string[] getColumnNames()

Return Value

string[]

getDBALTable()

getNewDBALTable()

createDBALTable(array $columns)

Parameters

array $columns