├── classes
├── Migration.php
├── Flexiblemigrations.php
├── Model
│ └── Migration.php
├── Task
│ ├── Db
│ │ ├── Rollback.php
│ │ └── Migrate.php
│ └── Generate
│ │ └── Migration.php
├── Controller
│ └── Flexiblemigrations.php
├── Drivers
│ ├── Driver.php
│ └── Mysql.php
└── Kohana
│ └── Flexiblemigrations.php
├── migrations.sql
├── views
├── flexiblemigrations
│ ├── rollback.php
│ ├── migrate.php
│ ├── new.php
│ └── index.php
├── migrations.php
└── migration_template.php
├── config
└── flexiblemigrations.php
├── MIT-LICENSE
├── init.php
└── README.markdown
/classes/Migration.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ferpetrelli/kohana-flexible-migrations/HEAD/classes/Migration.php
--------------------------------------------------------------------------------
/classes/Flexiblemigrations.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ERROR
7 |
8 |
9 |
10 | uri() , "
Back"); ?>
11 |
--------------------------------------------------------------------------------
/config/flexiblemigrations.php:
--------------------------------------------------------------------------------
1 | TRUE,
7 |
8 | //Route path to web frontend
9 | 'web_frontend_route' => 'migrations',
10 |
11 | //Path where migration files are going to be generated
12 | 'path' => APPPATH . 'migrations/'
13 |
14 | );
15 |
--------------------------------------------------------------------------------
/views/migrations.php:
--------------------------------------------------------------------------------
1 |
2 |