Migration
abstract class Migration
Supports database migration operations.
Methods
__construct()
Creates instance of Migration class.
void
aclSetup(string $table)
Setup acl table's initial fields during first db migration.
static int
getNextBatch()
Get value for batch field for next set of migrations.
void
down()
Rollback the migration.
void
up()
Execute the migration.
Details
at line 37
__construct()
Creates instance of Migration class.
at line 48
void
aclSetup(string $table)
Setup acl table's initial fields during first db migration.
at line 60
static int
getNextBatch()
Get value for batch field for next set of migrations.
at line 69
abstract void
down()
Rollback the migration.
at line 88
abstract void
up()
Execute the migration.