Skip to content

Migration DB

Lê Chí Dũng edited this page Dec 3, 2017 · 1 revision

👻👻👻 Hello some one read me! Let's go step by step below 👽👽👽 If you don't know migration, you shout research it in https://docs.phalconphp.com/bg/3.2/db-migrations
Next, remember for use migration you must install Phalcon dev tool in https://docs.phalconphp.com/bg/3.2/devtools-usage
Next, you'll know about migration in Lcd CMS? Migration in Lcd CMS help you generate or run migration to revert data to point generated migration.

  1. ⌨ Generate migration point:
phalcon migration generate --config=app/config/system/system_migration.php --migrations=app/migrations --data=always
  1. ⌨ Running migration point:
phalcon migration run --config=app/config/system/system_migration.php --migrations=app/migrations --data=always

First time install Lcd CMS you must run migration point to make DB and sample data

Final, thanks to view my document! 🙇🙇🙇🙇

Clone this wiki locally