codeigniter-migration | Migrations controller for the CodeIgniter | Data Migration library
kandi X-RAY | codeigniter-migration Summary
kandi X-RAY | codeigniter-migration Summary
This is a [CodeIgniter] controller & view which acts as a drop-in controller for the built-in [Migration] class. It provides a basic interface for migrating to specific file versions, and allows you to step through migration versions one at a time.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Migrate to a specific version .
- Show error message .
- Get migration version .
- Show the version of the database
- Get the version number .
- Define the current page .
codeigniter-migration Key Features
codeigniter-migration Examples and Code Snippets
Community Discussions
Trending Discussions on codeigniter-migration
QUESTION
As seen on "How do I run CodeIgniter migrations?" I created the following migration controller:
...ANSWER
Answered 2017-Apr-03 at 20:22Just do the following:
REMOVE the $config['migration_enabled']=true;
from application/config.php
and chance it from application/migration.php
Also change the $config['migration_type']
from timestamp
to sequential
, set the $config['migration_version']
into '001'
, also change the $config['migration_auto_latest']
from application/migration.php
too.
NOTE:
When using enviromental/fastcgi parameters use the env
UNIX command in order to execute the php via cli.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install codeigniter-migration
application/controllers/migrate.php
application/views/migrate/migrate.php
application/config/migration.php
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page