/** * implementation of after_migrate method that updates the migration log * * @param Model_Migration $migration the migration object that represents the data * migration task that has just run */ protected function after_migrate(Model_Migration $migration) { $migration_log = ORM::factory('migration_log'); $migration_log->add_entry( $migration->get_schema_version(), $migration->get_to_version(), $migration->get_status() ); }