aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migration
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12594] Fix file headers of new filesJoas Schilling2014-05-307-21/+49
| | | | PHPBB3-12594
* Merge pull request #2474 from PayBas/ticket/12561Joas Schilling2014-05-287-0/+159
|\ | | | | | | | | | | | | | | | | | | | | [ticket/12561] Add "after" check to schema_generator for columns_add * PayBas/ticket/12561: [ticket/12561] Reworked tests by nickvergessen [ticket/12561] Added tests for "after last", "after missing" and "empty" [ticket/12561] Add check to see if "after" column actually exists [ticket/12561] Added test for "after" [ticket/12561] Add "after" check to schema_generator for columns_add
| * [ticket/12561] Reworked tests by nickvergessenPayBas2014-05-277-50/+133
| | | | | | | | PHPBB3-12561
| * [ticket/12561] Added tests for "after last", "after missing" and "empty"PayBas2014-05-261-2/+47
| | | | | | | | | | | | Also removed tabs PHPBB3-12561
| * [ticket/12561] Added test for "after"PayBas2014-05-241-0/+31
| | | | | | | | PHPBB3-12561
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-279-27/+63
|/ | | | PHPBB3-12594
* [ticket/12432] Adding unit testNicofuma2014-04-261-0/+8
| | | | PHPBB3-12432
* [ticket/12349] Update license header in several new filesJoas Schilling2014-04-039-9/+9
| | | | PHPBB3-12349
* [ticket/12170] Assign schema keys in migration helper with data_depth 1Marc Alexander2014-02-071-0/+11
| | | | | | | | | The migration helper currently drops any keys with schema changes that have the data_depth 1. This change will correctly assign the keys to the steps array without dropping the keys that might contain important info like the actual table that should be created. PHPBB3-12170
* [ticket/11880] Break up schema changes in the migratorNathan Guse2014-02-031-0/+33
| | | | PHPBB3-11880
* [ticket/11700] Fix dbal tests after config namespace mishapNils Adermann2013-09-162-3/+3
| | | | PHPBB3-11700
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-168-11/+11
| | | | PHPBB3-11700
* [feature/migrations] Function effectively_installed() in migrationsNathan Guse2013-01-131-0/+30
| | | | | | | | | | | | 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 the test depends_on methods staticNathan Guse2013-01-107-23/+3
| | | | PHPBB3-11318
* [feature/migrations] Store depends on in the database (serialized)Nathan Guse2013-01-101-0/+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] Basic reverting testNathan Guse2013-01-102-0/+61
| | | | PHPBB3-9737
* [feature/migrations] Test for calling a step multiple timesNathan Guse2013-01-101-0/+43
| | | | | | | | | This is used when a long-running process is needed during an update. For example, iterating over all posts and applying some transformation. This allows the process to be broken apart into multiple shorter steps to prevent hitting the time limit. PHPBB3-9737
* [feature/migrations] Fix if method (and create a test for it)Nathan Guse2013-01-092-13/+50
| | | | PHPBB3-9737
* [feature/migrations] Process migration steps and move to PHP5 codeNils Adermann2013-01-091-1/+8
|
* [feature/migrations] Return schema changes in database update style arrayNils Adermann2013-01-091-1/+7
| | | | | | | 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] Basic migrations with schema and data changesNils Adermann2013-01-092-0/+52
The migrator takes care of applying migrations as necessary. RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41337 PHPBB3-9737