aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migrator.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'remotes/Blitze/ticket/11383' into developNathaniel Guse2013-03-091-0/+6
|\ | | | | | | | | | | | | # By OpenShift guest # Via OpenShift guest * remotes/Blitze/ticket/11383: [ticket/11383] Correctly revert modules added/removed by migrator
| * [ticket/11383] Correctly revert modules added/removed by migratorOpenShift guest2013-03-031-0/+6
| | | | | | | | PHPBB3-11383
* | Merge remote-tracking branch 'EXreaction/ticket/11386-3' into developDavid King2013-03-041-105/+81
|\ \ | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11386-3: [ticket/11386] Fix missing ; [ticket/11386] Send list of migrations instead of using load_migrations
| * \ Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11386-3Nathaniel Guse2013-03-041-4/+4
| |\ \ | | | | | | | | | | | | | | | | Conflicts: phpBB/includes/db/migrator.php
| * | | [ticket/11386] Fix missing ;Nathaniel Guse2013-03-041-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11386
| * | | [ticket/11386] Send list of migrations instead of using load_migrationsNathaniel Guse2013-03-031-106/+82
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Remove dependency of extension manager for migrator. Keeping load_migrations function for others to use if they desire but requiring the finder be sent to it in order to use it. PHPBB3-11386
* | | Merge remote-tracking branch 'EXreaction/ticket/11393' into developDavid King2013-03-041-1/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11393: [ticket/11393] Give more information on database updater
| * | [ticket/11393] Give more information on database updaterNathaniel Guse2013-03-031-1/+8
| |/ | | | | | | PHPBB3-11393
* | [ticket/11396] Rename insert_migration to set_migration_stateNathaniel Guse2013-03-031-4/+4
|/ | | | PHPBB3-11396
* [ticket/11386] Fix circular reference error & serialize errorNathaniel Guse2013-03-021-2/+11
| | | | PHPBB3-11386
* [ticket/11386] Forgot to get the migration classesNathaniel Guse2013-03-021-5/+11
| | | | PHPBB3-11386
* [ticket/11386] Use finder to find migration filesNathaniel Guse2013-03-021-39/+14
| | | | PHPBB3-11386
* Merge remote-tracking branch 'EXreaction/ticket/11372' into developDavid King2013-02-281-13/+13
|\ | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11372: [ticket/11372] Migrator should only check if effectively installed if not
| * [ticket/11372] Migrator should only check if effectively installed if notNathaniel Guse2013-02-271-13/+13
| | | | | | | | | | | | installed at all PHPBB3-11372
* | Merge remote-tracking branch 'EXreaction/ticket/11370' into developDavid King2013-02-281-22/+17
|\ \ | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11370: [ticket/11370] Effectively installed migrations not inserted into table
| * | [ticket/11370] Effectively installed migrations not inserted into tableNathaniel Guse2013-02-261-22/+17
| |/ | | | | | | | | | | | | | | insert_migration() function now handles inserting/updating Move all insert/update code to insert_migration() function to prevent this from occurring again. PHPBB3-11370
* | [ticket/11369] Reverting migration throws errorNathaniel Guse2013-02-261-1/+1
|/ | | | | | String is attempted to be unserialized PHPBB3-11369
* [ticket/11367] Always freeresultNathan Guse2013-02-261-2/+2
| | | | PHPBB3-11367
* [ticket/11367] Migrator throws error if migrations table does not existNathaniel Guse2013-02-251-4/+12
| | | | | | Force load_migration_state to not throw errors if the table does not exist. PHPBB3-11367
* [feature/migrations] Fix unfulfillable functionNathaniel Guse2013-02-091-2/+2
| | | | | | Returned unfulfillable name in the wrong place previously PHPBB3-11351
* [feature/migrations] Add language strings for migrations errorsNathaniel Guse2013-02-091-7/+9
| | | | | | | Unfulfillable returns string of the missing dependency name now if the migration is unfulfillable (this is significantly more helpful). PHPBB3-11351
* [ticket/9737] Fix a few minor things in migrationsNathaniel Guse2013-01-221-3/+3
| | | | PHPBB3-9737
* [feature/migrations] Make sure migration data not done before running data stepNathan Guse2013-01-131-1/+1
| | | | PHPBB3-9737
* [feature/migrations] Function to populate the migrations table (for install)Nathan Guse2013-01-131-0/+36
| | | | PHPBB3-9737
* [feature/migrations] Function effectively_installed() in migrationsNathan Guse2013-01-131-3/+17
| | | | | | | | | | | | Allows you to check if the migration is effectively installed (entirely optionall) This function is intended to help moving to migrations from a previous database updater, where some migrations may have been installed already even though they are not yet listed in the migrations table. PHPBB3-9737
* [feature/migrations] Make load_migrations recursive (optionally)Nathan Guse2013-01-121-3/+14
| | | | PHPBB3-9737
* [feature/migrations] Store depends on in the database (serialized)Nathan Guse2013-01-101-33/+46
| | | | | | | | | | | | | | This is required so that when migrations are reverted we can check through all installed migrations and make sure that all dependencies are handled properly and so that we are only required to load the migrations files that could be dependent on the ones installed. I believe in normal proper use the old way might have worked, but in case something happens and an unrelated migration file is installed, but cannot be loaded, this makes sure we do not stop everything unless we absolutely must (one of those files is dependent on something we want to revert). PHPBB3-9737
* [feature/migrations] Revert method completedNathan Guse2013-01-101-33/+41
| | | | PHPBB3-9737
* [feature/migrations] Creating revert method to attempt reverting a migrationNathan Guse2013-01-091-0/+100
| | | | | | This code is in progress PHPBB3-9737
* [feature/migrations] Reverse data functionalityNathan Guse2013-01-091-11/+26
| | | | | | | | | If data step fails, attempt to roll back any previous calls from the migration that failed. Fix some failing tests PHPBB3-9737
* [feature/migrations] Make sure the path sent to load_migrations is a directoryNathan Guse2013-01-091-0/+5
| | | | | | Prevent a lot++ of errors PHPBB3-9737
* [feature/migrations] Fix if method (and create a test for it)Nathan Guse2013-01-091-5/+15
| | | | PHPBB3-9737
* [feature/migrations] CommentsNathan Guse2013-01-091-6/+22
| | | | PHPBB3-9737
* [feature/migrations] Store state properly and send past result to callableNathan Guse2013-01-091-14/+42
| | | | | | Fix return on module add PHPBB3-9737
* [feature/migrations] Fixing returns of callables and handling data stateNathan Guse2013-01-091-38/+120
| | | | | | Lots of comments and some other miscellaneous fixes. PHPBB3-9737
* [feature/migrations] Migrations now somewhat worksNathan Guse2013-01-091-33/+80
| | | | PHPBB3-9737
* [feature/migrations] Update phpbb_db_migrator class for PHP 5.3.3David King2013-01-091-1/+1
| | | | PHPBB3-9737
* [feature/migrations] Move migrator to service containerNathan Guse2013-01-091-16/+19
| | | | | | | | | | | | Version numbers 3.1 updates Restore database_update.php file to what it was in develop Get first forum to place global announcements in PHPBB3-9737
* [feature/migrations] Process migration steps and move to PHP5 codeNils Adermann2013-01-091-19/+107
|
* [feature/migrations] Remove references as it is now 3.1 codeNathan Guse2013-01-091-7/+7
| | | | PHPBB3-9737
* [feature/migrations] Change migration data processing to run step by stepNils Adermann2013-01-091-1/+23
|
* [feature/migrations] Standard vars for migrations and run sql with feedbackNils Adermann2013-01-091-3/+14
| | | | PHPBB3-9737
* [feature/migrations] Return schema changes in database update style arrayNils Adermann2013-01-091-1/+6
| | | | | | | Returning the set of schema changes allows potentially aggregating to generate the overall install schema automatically from a set of migrations PHPBB3-9737
* [feature/migrations] Store start and end time of migrationsNils Adermann2013-01-091-0/+21
| | | | PHPBB3-9737
* [feature/migrations] Basic migrations with schema and data changesNils Adermann2013-01-091-0/+227
The migrator takes care of applying migrations as necessary. RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41337 PHPBB3-9737