[migration] element index

Package indexes

All elements
b c d f g h i k l m o p r s u v _
_
top
Method __call
Map unknown calls made on the migration directly to the database connection.
Method __construct
Create a new runner for a given directory and optional scope name.
Method __construct
Constructor
Method __construct
Constructor
Method __construct
Constructor
Method __construct
Constructor
b
top
Page Base.php
Base.php in Base.php
c
top
Variable $class_name
Variable $connection
Method class_name
Return the class name for this migration.
Method connection
Return the database connection
Method connection
Return the database connection
Method create_migration_table
Create the migration table
d
top
Variable $directory
Variable $directory
Method down
Undo this migration.
f
top
Variable $filename
Migration_InvalidMigrationError::$filename in InvalidMigrationError.php
g
top
Method getIterator
Return an iterator for the command list
h
top
Method has_migration_table
Test for the existence of the migration table
i
top
Method init_class
Method install
Invoked when the package is installed in a project
Method instantiate_migration
Instantiate the class for a migration
Page InvalidMigrationError.php
InvalidMigrationError.php in InvalidMigrationError.php
Page IrreversibleError.php
IrreversibleError.php in IrreversibleError.php
k
top
Method keys
Return the list of keys in this list
l
top
Method last_version
Return the highest version number (regardless of whether it's been performed)
Method load_migrations
Load migrations from the directory and tables
Method load_migration_files
Load the migration files from the directory
Method load_migration_records
Load the migration entries from the database
Page List.php
List.php in List.php
m
top
Variable $migrations
Variable $migrations
Variable $missing
Class Migration_Base
Migration_Base in Base.php
Parent class for classes representing individual migrations.
Class Migration_Hook_ProjectInstall
Migration_Hook_ProjectInstall in ProjectInstall.php
Custom install tasks for the migrations package
Class Migration_InvalidMigrationError
Migration_InvalidMigrationError in InvalidMigrationError.php
Class Migration_IrreversibleError
Migration_IrreversibleError in IrreversibleError.php
Class Migration_List
Migration_List in List.php
Migration_List keeps track of the migrations for a single directory
Class Migration_Record
Migration_Record in Record.php
Class Migration_Runner
Migration_Runner in Runner.php
Utility for running migrations
Method model
A convenience method that calls Support_Util::model()
o
top
Method offsetExists
Tests for existence of an array index
Method offsetGet
Retrieves the migration at an array index.
Method offsetSet
Sets the value at an array index
Method offsetUnset
Deletes an entry at an array index
p
top
Variable $performed
Page ProjectInstall.php
ProjectInstall.php in ProjectInstall.php
Method performed_version
Return the highest performed version number
Method perform_migration
Perform a migration
r
top
Page Record.php
Record.php in Record.php
Page Runner.php
Runner.php in Runner.php
Method reverse_migration
Undo a migration
Method run
Run migrations.
s
top
Variable $scope
Migration_IrreversibleError::$scope in IrreversibleError.php
Variable $scope
Method set_readonly
Migration_Records cannot be made readonly. Any attempt to change the readonly setting is silently ignored.
Method sort_by_name
Perform a natural sort by object name property
u
top
Method up
Perform this migration.
v
top
Method version
Return the current version number
Method version
Return the version number for this migration.
b c d f g h i k l m o p r s u v _