Skip to content
This repository

This module is being deprecated in favor of Minion Migrations (see

branch: develop

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 classes
Octocat-spinner-32 config
Octocat-spinner-32 tests
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 init.php

Doctrine Migrations

Doctrine Migrations module for Kohana 3.x


This module allows for managing database migrations between multiple environments easily by utilizing the Doctrine migrations library.

Requirements & Installation

You should make sure to disable this module on your production environment!

The Doctrine Migrations module is tested with Doctrine v1.2.2. You should run git submodule update --init to load Doctrine into the vendor directory of this module. Additionally, you should create a directory for your migration classes that is located in your application directory (application/migrations/).

To run from the command line, execute this command from the directory that has your index.php file: php index.php --uri=migrate. This will run all database migrations up to the current version. You can optionally include the version that you want to migrate up/down to like so: php index.php --uri=migrate/14.

You can additionally execute: php index.php --uri=migrate/current to return the current migrations version.

Additional information about how to create migration classes can be found at

Something went wrong with that request. Please try again.