Skip to content


Subversion checkout URL

You can clone with
Download ZIP


spazm edited this page · 4 revisions
Clone this wiki locally

Tutorial Links

Here is an overview and TOC for the tutorial. For now the internal links are going to be broken (pointing to CPAN modules that don't yet exist, so you will have to navigate via the browser 'back' button to move between sections. Thanks for any review / corrections!

STEP 1: Set up Project Files

DBIx::Class::Migration::Tutorial::Setup shows you how to bootstrap a very basic DBIx::Class driven application.

STEP 2: First Migration, using dbic-migration and fixtures.

DBIx::Class::Migration::Tutorial::FirstMigration takes the basic application and prepare some migrations.

STEP 3: Creating upgrades and modify the database

DBIx::Class::Migration::Tutorial::SecondMigration Shows you how to start handling database change by creating a version 2 of the schema. We also create more complex fixtures and customize the migration.

STEP 4: Testing

DBIx::Class::Migration::Tutorial::Testing shows you how to write some simple test cases for your database.

STEP 5: Third Migration

DBIx::Class::Migration::Tutorial::ThirdMigration explores a more complicated migration and also reviews what to do if you need to run through a few iterations of a migration before you are ready to set it in stone.

STEP 6: Migrations for Additional Databases

DBIx::Class::Migration::Tutorial::AddMySQL So far we've been building migrations for just one database: SQLite. Let's build migrations for MySQL

STEP 7: Using migrations with Catalyst

DBIx::Class::Migration::Tutorial::Catalyst shows you how to use and customize DBIx::Class::Migration with Catalyst for development and testing.

STEP 8: Conclusion

DBIx::Class::Migration::Tutorial::Conclusion reviews some key concepts.

Something went wrong with that request. Please try again.