Skip to content

liaan/codeigniter_migration_base_generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

#Create a Base Migration File from current DB

When all goes well it will create a file under migrations called 001_create_base.php under your migrations folder

#To use:

1: Enable migrations and set version to 1;

2: Enable to write migration folder;

3: Copy VpxMigration.php to your library folder (/application/library);

4: In controller:

function make_base(){

    $this->load->library('VpxMigration');

    // All Tables:

    $this->vpxmigration->generate();

    //Single Table:

    $this->vpxmigration->generate('table');

}

About

Create a Base Migration File from current DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages