Loading...

Zend Framework 3 tutorial 5: Database Migrations with Zend DB

2,826 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Sep 13, 2016

ERRATA: 1:35:00 should be static::MINIMUM_SCHEMA_VERSION. Otherwise, version number does get net overridden in unit test stub and all updates gets executed, isntead of overridden first 2.

Source code available at https://github.com/alextech/zendframe...

YouTube does not have 10 minute upload limit anymore. Yey! But can get long and hard to watch at once. So here are time stamps:

0:03:20 UML diagram of Zend DB, how relates to project.
0:18:20 MVC Event where DB version will be checked
0:25:45 Migrations classes with Zend DB Connection
0:39:30 Zend Metadata to check table existence
0:50:06 Manual SQL queries
1:07:07 SELECT statement with Zend SQL
1:13:25 CreateTable DDL
1:19:40 INSERT statement with Zend SQL
1:24:08 find and execute all migrations
1:37:35 UPDATE statement with Zend SQL
1:39:31 WHERE predicate
1:43:40 Dispatch MVC error event to automatically redirect to migrations utility when needed.

Loading...

Advertisement
When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...