Skip to content

A CI library that takes an existing database and creates Migrations for use in Codeigniter

License

Notifications You must be signed in to change notification settings

AlunR/Codeigniter-Migration-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Database Migrations for Codeigniter v3

This CI library provides a simple way to bring datastructures into Codeigniter v3 to get you started migrating a legacy project.

Usage

In your Codeigniter app simply setup your database connection then:

$this->load->libary('BootstrapMigrations');
$version = '001';
$this->BootstrapMigrations->create_migration($version);

And the library will output a file to the /application/migrations folder named "001_BootstrapMigrations.php" ready for use with the built-in Codeigniter migrations class (https://www.codeigniter.com/user_guide/libraries/migration.html).

Contributing

If you find a bug or have a feature request open up an issue and I'll see if I can help.

About

A CI library that takes an existing database and creates Migrations for use in Codeigniter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages