forked from davesloan/mysql-php-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGE_LOG
76 lines (56 loc) · 3.69 KB
/
CHANGE_LOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
= VERSION 2.1.4 =
* fixed: incorporated bug fix from denis-bykov: STDIN built-in constant can be undefined causing the init controller to enter an infinite loop
* fixed: removed test data from schema.php and test_data.php
* fixed: updated the neglected CHANGE_LOG ;)
= VERSION 2.1.3 =
* fixed: versioning error
= VERSION 2.1.2 =
* fixed: simplified header
= VERSION 2.1.1 =
* fixed: PHP 5.3 strict errors
= VERSION 2.1.0 =
* new: added option to build command to add test data to the database after the build is complete (build with_data)
* new: added ability to specify the name of the migrations table during initialization (issue 5)
* new: added ability to customize the header as well as the migration and schema files generated by the script (issue 11)
* fixed: added commands to disable foreign key restrictions on build command before deleting tables
* fixed: cleaned up change log
* fixed: modified migrate.php to be compatible with more *nix systems (issue 3)
* fixed: all files in the db directory were added as migrations even if they weren't (issue 10)
= VERSION 2.0.1 =
* Added "--force" argument to build command
= VERSION 2.0.0 =
* new: added support for mysqli; can now select during initialization whether to use PDO or mysqli for connecting to the database
* new: added build command; allows entire database structure to be erased and rebuilt from an initial schema and applying migrations
* new: "add" argument with build command creates a stub schema file if one doesn't currently exist
* new: added build option during initialization
* fixed: made init command smarter; if existing config exists, those values are now used as defaults
* fixed: added header/footer to init command
* fixed: cleaned up internal code documentation
* fixed: removed extra asterisk in the footer
* fixed: added blank line before footer in up and down controller
= VERSION 1.4.2 =
* fixed: use of unreliable PDO::rowCount() caused migrations to not be found in some cases (issue 1)
* fixed: re-use of PHP variables caused PDO query buffer errors (issue 1)
= VERSION 1.4.1 =
* fixed: updated version number from 1.3
= VERSION 1.4.0 =
* fixed: when using migration script on same database but different branches of a repository, migrations between rollups were being deleted; after rollup, file re-appeared but script thought it hadn't been run yet, tried to re-run it, and caused an error.
= VERSION 1.3.0 =
* new: added --force option to the up, down, and latest commands; this will force the script to continue execution despite any migration errors that occur
* new: added run command to allow the execution of a single migration
* new: added current version number to ASCII header
* fixed: when migration scripts are removed, the script will now remove the entry from the database tracking table; this should stop missing file exceptions when running the up, down, or latest commands
* fixed: when running init, an exception was thrown if the db_config.php was missing or PDO was unable to connect to the database
= VERSION 1.2.0 =
* new: added ability to remove all migrations by doing ./migrate.php down 0
* fixed: interleaving doesn't roll back before rolling back up
= VERSION 1.1.0 =
* new: now stores migration information in database table
* new: supports migration interleaving (insertion of migrations between migrations which have already been run)
= VERSION 1.0.0 (First Release) =
* new: able to initialize migrations via command line prompts
* new: integrated help system
* new: able to migrate to latest, up to a specific migration, or down to a specific migration
* new: able to list all migrations
* new: able to get status
* new: able to add new migrations