├── .gitignore ├── CHANGE_LOG ├── INSTALL ├── LICENSE ├── README ├── config └── EMPTY ├── db ├── schema.php ├── templates │ └── EMPTY └── test_data.php ├── docs └── phpdoc.ini ├── lib ├── classes │ ├── command_line_writer.php │ ├── controller_factory.php │ ├── exceptional_mysqli.php │ ├── migration.php │ ├── mysqli_migration.php │ └── schema.php ├── controllers │ ├── add_controller.php │ ├── build_controller.php │ ├── controller.php │ ├── down_controller.php │ ├── help_controller.php │ ├── init_controller.php │ ├── latest_controller.php │ ├── list_controller.php │ ├── run_controller.php │ ├── status_controller.php │ └── up_controller.php ├── exceptions │ ├── class_undefined_exception.php │ ├── database_connection_exception.php │ └── malformed_query_exception.php ├── helpers │ ├── autoload_helper.php │ ├── db_helper.php │ ├── list_helper.php │ ├── migration_helper.php │ ├── string_helper.php │ └── template_helper.php ├── init.php └── templates │ ├── header.txt │ ├── mysqli_migration.txt │ ├── pdo_migration.txt │ ├── schema.txt │ └── test_data.txt └── migrate.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGE_LOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/CHANGE_LOG -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/INSTALL -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/LICENSE -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/README -------------------------------------------------------------------------------- /config/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/schema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/db/schema.php -------------------------------------------------------------------------------- /db/templates/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/test_data.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/db/test_data.php -------------------------------------------------------------------------------- /docs/phpdoc.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/docs/phpdoc.ini -------------------------------------------------------------------------------- /lib/classes/command_line_writer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/command_line_writer.php -------------------------------------------------------------------------------- /lib/classes/controller_factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/controller_factory.php -------------------------------------------------------------------------------- /lib/classes/exceptional_mysqli.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/exceptional_mysqli.php -------------------------------------------------------------------------------- /lib/classes/migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/migration.php -------------------------------------------------------------------------------- /lib/classes/mysqli_migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/mysqli_migration.php -------------------------------------------------------------------------------- /lib/classes/schema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/classes/schema.php -------------------------------------------------------------------------------- /lib/controllers/add_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/add_controller.php -------------------------------------------------------------------------------- /lib/controllers/build_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/build_controller.php -------------------------------------------------------------------------------- /lib/controllers/controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/controller.php -------------------------------------------------------------------------------- /lib/controllers/down_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/down_controller.php -------------------------------------------------------------------------------- /lib/controllers/help_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/help_controller.php -------------------------------------------------------------------------------- /lib/controllers/init_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/init_controller.php -------------------------------------------------------------------------------- /lib/controllers/latest_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/latest_controller.php -------------------------------------------------------------------------------- /lib/controllers/list_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/list_controller.php -------------------------------------------------------------------------------- /lib/controllers/run_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/run_controller.php -------------------------------------------------------------------------------- /lib/controllers/status_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/status_controller.php -------------------------------------------------------------------------------- /lib/controllers/up_controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/controllers/up_controller.php -------------------------------------------------------------------------------- /lib/exceptions/class_undefined_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/exceptions/class_undefined_exception.php -------------------------------------------------------------------------------- /lib/exceptions/database_connection_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/exceptions/database_connection_exception.php -------------------------------------------------------------------------------- /lib/exceptions/malformed_query_exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/exceptions/malformed_query_exception.php -------------------------------------------------------------------------------- /lib/helpers/autoload_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/autoload_helper.php -------------------------------------------------------------------------------- /lib/helpers/db_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/db_helper.php -------------------------------------------------------------------------------- /lib/helpers/list_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/list_helper.php -------------------------------------------------------------------------------- /lib/helpers/migration_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/migration_helper.php -------------------------------------------------------------------------------- /lib/helpers/string_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/string_helper.php -------------------------------------------------------------------------------- /lib/helpers/template_helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/helpers/template_helper.php -------------------------------------------------------------------------------- /lib/init.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/init.php -------------------------------------------------------------------------------- /lib/templates/header.txt: -------------------------------------------------------------------------------- 1 | 2 | MYSQL-PHP-MIGRATIONS -------------------------------------------------------------------------------- /lib/templates/mysqli_migration.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/templates/mysqli_migration.txt -------------------------------------------------------------------------------- /lib/templates/pdo_migration.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/templates/pdo_migration.txt -------------------------------------------------------------------------------- /lib/templates/schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/templates/schema.txt -------------------------------------------------------------------------------- /lib/templates/test_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/lib/templates/test_data.txt -------------------------------------------------------------------------------- /migrate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davesloan/mysql-php-migrations/HEAD/migrate.php --------------------------------------------------------------------------------