Migrations are located at app/installers/fixzip_installer.php
And your installer should look something like this.
<?php
class FixzipInstaller extends AkInstaller{
function up_1(){
$this->createTable('posts', 'id,title,body text,created_at');
}
function down_1(){
$this->dropTable('posts');
}
}
?>
Then you can run it using
./script/migrate fixzip install
or
./script/migrate fixzip up 1
Migrations are not implemented in the same way in Akelos and Rails, we use method based versioning instead of file name based versions.
Regards,
Bermi
1 to 2 of 2