Student Reviews
( 5 Of 5 )
1 review
Video of Yii2 Migrations - Working with yii2 migrations yii2 tutorials in Yii2 course by The Codeholic channel, video No. 20 free certified online
In the following video I will setup the connection to the database and show you how to work with database migrations in yii2 framework.
In this video we will see:
- How to create database migrations
- What is the difference between up/safeUp and down/safeDown methods in migration class
- Create table using yii2 migration
- Add column using yii2 migration
- Create foreign key using migration
- Create index using migration
- Drop tables, columns using yii2 migrations
- How to generate database migration files using special naming (REALLY useful thing)
- How to change migration folder
- How to revert, apply or re-apply only several migrations
Source files about migrations:
https://github.com/thecodeholic/yii2-course/tree/migrations
Read more about Migrations:
https://www.yiiframework.com/doc/guide/2.0/en/db-migrations
Migration class API docs:
https://www.yiiframework.com/doc/api/2.0/yii-db-migration
----------------------------------------------------------------------------------
Check my other videos about yii2 framework
----------------------------------------------------------------------------------
Yii2 Crash course: https://youtu.be/sRJ6GYiCwkI
Building a REST API using yii2: https://youtu.be/XyHHMvRt6Cw
Integrate Landing page into yii2: https://youtu.be/eJBQeRocRac
Getting started with yii2 framework: https://youtu.be/JD5Y-lQNrPs
Controllers: https://youtu.be/cdVN62BxDZA
Views & Rendering content: https://youtu.be/gZ81sPL4MmM
Working with DAO: https://youtu.be/zOqUePK-01k
Check my Github:
https://github.com/thecodeholic
Follow me on social media:
https://www.facebook.com/thecodeholic
https://twitter.com/thecodeholic