Skip to content

mucahitnezir/codeigniter3x-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeigniter3x-migration

This project aims to facilitate migration system while developing applications with CodeIgniter 3.x

Installation

Only, you have to copy all folders to application folder.
Note: Don't modify any settings.

Usage

The usage of this project is very easy. This project has only 3 commands.

a. Create/Generate Migration File

If you want to create a migration file, you have to use followed command in terminal at root directory.

php index.php migration generate <fileName>

This command creates a migration file in application/migrations folder.

b. Migrate all migration files

If you want to migrate all migration files, you have to use followed command in terminal at root directory.

php index.php migration
or
php index.php migration latest

c. Migrate a migration via version

If you want to migrate one migration via version, you have to use followed command in terminal at root directory.

php index.php migration version <versionkey>

Note: versionKey is the timestamp at the file name.

About

This project aims to facilitate migration system while developing applications with CodeIgniter 3.x

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published