 |
|
Innovation award
 Nominee: 1x |
This class can be used to update a MySQL database from SQL files.
It can scan a given directory for files with numbered .sql name extension.
The class reads the number of the currently installed database version.
It reads the SQL statements from the SQL files the higher number than the last installed version and executes the statements as queries to a MySQL database.
 May 2010
Number 5
Prize: One book of choice by Apress |
During the lifetime of a database application, the database schema has to be changed to support the evolution of the application. Multiple sets of changes may need to be applied upgrade the application database schema.
This class provides an interesting solution to upgrade a MySQL database, either in development or production environments, by applying one or more sets of schema changes that were created since the last time the schema was upgraded.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| Link |
Description |
| Official Website |
A blog post about the class and how to use it. |
| |
Files |
|
|
| File |
Role |
Description |
AutoDbUp.php |
Class |
The one and single file. |
example.php |
Example |
This code must be included into all the pages of your application. |