Migration_2026_05_08_TimeStampType
extends Migration
in package
Permanent test fixture: exercises the framework's custom TimeStamp DBAL type (src/Database/Migration/Type/TimeStamp.php). Doctrine resolves `'timestamp'` to that type when generating CREATE TABLE SQL, so this migration's apply path runs both `getSQLDeclaration()` and `getName()`.
Table of Contents
- $environment : string
- $fromSchema : mixed
- $manual : bool
- $skip : bool
- $actions : mixed
- __construct() : mixed
- execute() : void
- getActions() : array<string|int, mixed>
- run() : mixed
- setEnvironment() : void
- setManual() : void
- skip() : void
- tableAlter() : Table
- tableCreate() : Table
- tableDrop() : mixed
- tableRename() : mixed
Properties
$environment
public
string
$environment
= "default"
$fromSchema
public
mixed
$fromSchema
$manual
public
bool
$manual
= false
$skip
public
bool
$skip
= false
$actions
protected
mixed
$actions
= []
Methods
__construct()
public
__construct(Schema $fromSchema) : mixed
Parameters
- $fromSchema : Schema
Return values
mixed —execute()
public
execute() : void
Return values
void —getActions()
public
getActions() : array<string|int, mixed>
Return values
array<string|int, mixed> —run()
public
run(string $sql) : mixed
Parameters
- $sql : string
Return values
mixed —setEnvironment()
public
setEnvironment(string $env) : void
Parameters
- $env : string
Return values
void —setManual()
public
setManual(bool $manual) : void
Parameters
- $manual : bool
Return values
void —skip()
public
skip() : void
Return values
void —tableAlter()
public
tableAlter(string $name) : Table
Parameters
- $name : string
Return values
Table —tableCreate()
public
tableCreate(string $name) : Table
Parameters
- $name : string
Return values
Table —tableDrop()
public
tableDrop(string $name) : mixed
Parameters
- $name : string
Return values
mixed —tableRename()
public
tableRename(string $oldName, string $newName) : mixed
Parameters
- $oldName : string
- $newName : string