class Version20171110032423 extends AbstractMigration (View source)

Auto-generated Migration: Please modify to your needs!

Properties

protected $app from  AbstractMigration

Methods

__construct(Version $version)

No description

output($message)

No description

refreshEntities($entities = null)

No description

refreshDatabaseTables($tables)

No description

refreshBlockType($btHandle)

No description

nullifyInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)

Set to NULL the fields in a table that reference not existing values of another table.

deleteInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)

Delete the records in a table whose field references not existing values of another table.

addCalendarFunctionality()

No description

backupLegacyCalendar()

No description

uninstallLegacyCalendar(Package $pkg)

No description

updateAttributeKeys($pkg)

No description

up(Schema $schema)

No description

postUp(Schema $schema)

No description

down(Schema $schema)

No description

Details

__construct(Version $version)

No description

Parameters

Version $version

protected output($message)

No description

Parameters

$message

protected refreshEntities($entities = null)

No description

Parameters

$entities

protected refreshDatabaseTables($tables)

No description

Parameters

$tables

protected refreshBlockType($btHandle)

No description

Parameters

$btHandle

protected nullifyInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)

Set to NULL the fields in a table that reference not existing values of another table.

Parameters

string $table

The table containing the problematic field

string $field

The problematic field

string $linkedTable

The referenced table

string $linkedField

The referenced field

protected deleteInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)

Delete the records in a table whose field references not existing values of another table.

Parameters

string $table

The table containing the problematic field

string $field

The problematic field

string $linkedTable

The referenced table

string $linkedField

The referenced field

protected addEarlyCalendarFunctionality()

No description

protected addCalendarFunctionality()

No description

protected backupLegacyCalendar()

No description

protected uninstallLegacyCalendar(Package $pkg)

No description

Parameters

Package $pkg

protected updateAttributeKeys($pkg)

No description

Parameters

$pkg

up(Schema $schema)

No description

Parameters

Schema $schema

postUp(Schema $schema)

No description

Parameters

Schema $schema

down(Schema $schema)

No description

Parameters

Schema $schema