aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migrator.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15274] Allow "custom" migrations to use parametersjaviexin2019-05-081-1/+1
| | | | | | | Add the possibility to have custom migrations with parameters, allowing the use of a single function for several uses. PHPBB3-15274
* [ticket/15696] Add support of other tools to 'if'Jakub Senko2018-06-191-1/+1
| | | | PHPBB3-15696
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-2/+2
| | | | PHPBB3-14972
* [ticket/15396] Fix revert_schema() steps not executed in correct orderkasimi2017-10-131-2/+5
| | | | PHPBB3-15396
* Merge branch '3.1.x' into 3.2.xTristan Darricau2016-11-141-0/+36
|\ | | | | | | | | | | | | | | | | | | * 3.1.x: [ticket/14831] Rename migration and replace preg_replace() with simpler methods [ticket/14831] Compare depends_on for migrations and remove prefixless names [ticket/14831] Add migration for deduplicating entries and fix typo [ticket/14831] Add method for getting valid migration name [ticket/14831] Fall back to possible migration names instead of adding prefix [ticket/14831] Make sure migrations always start with backslash
| * [ticket/14831] Rename migration and replace preg_replace() with simpler methodsMarc Alexander2016-10-251-2/+2
| | | | | | | | PHPBB3-14831
| * [ticket/14831] Add migration for deduplicating entries and fix typoMarc Alexander2016-10-231-3/+3
| | | | | | | | PHPBB3-14831
| * [ticket/14831] Add method for getting valid migration nameMarc Alexander2016-10-231-26/+34
| | | | | | | | PHPBB3-14831
| * [ticket/14831] Fall back to possible migration names instead of adding prefixMarc Alexander2016-10-231-3/+28
| | | | | | | | | | | | | | | | | | | | Instead of just adding the backslash as prefix if needed, this will take care of falling back to any possible migration with or without backslash no matter how the mgiration was saved in the database or called in the migrations file. This will result in a more robust migrator in regards to naming the migrations and previously run migrations. PHPBB3-14831
| * [ticket/14831] Make sure migrations always start with backslashMarc Alexander2016-10-221-0/+3
| | | | | | | | | | | | | | | | The migration system expects every migration to start with a backslash. If depends on definitions do not supply that leading backslash, we should make sure it's added manually before calling the depends on migration. PHPBB3-14831
* | Merge branch 'ticket/14742' into ticket/14742-32xOliver Schramm2016-08-201-50/+46
|\ \ | |/ | | | | | | Conflicts: phpBB/phpbb/db/migrator.php
| * [ticket/14742] Reset migration_data_state before revertingOliver Schramm2016-08-201-1/+4
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Pause after each update_data step tooOliver Schramm2016-08-201-50/+34
| | | | | | | | | | | | | | Rewriting process_data_step() to remove the now useless foreach() loop. PHPBB3-14742
| * [ticket/14742] Improve readability of the codeOliver Schramm2016-08-201-0/+4
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Fix comments in migratorOliver Schramm2016-08-201-1/+2
| | | | | | | | PHPBB3-14742
* | Merge branch 'ticket/14742' into ticket/14742-32xOliver Schramm2016-08-121-15/+58
|\ \ | |/
| * [ticket/14742] Enhance measured time for migrationsOliver Schramm2016-08-121-5/+24
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Improve verbosity of migrator outputOliver Schramm2016-08-121-2/+6
| | | | | | | | PHPBB3-14742
* | [ticket/14742] Fix progress bar in database updaterOliver Schramm2016-08-111-0/+22
| | | | | | | | | | | | | | Because of the new way, schema update steps are handled, the already misleading progress bar was even more misleading. This should fix it. PHPBB3-14742
* | Merge branch 'ticket/14742' into ticket/14742-32xOliver Schramm2016-08-111-2/+28
|\ \ | |/
| * [ticket/14742] Avoid loop while reverting schemaOliver Schramm2016-08-111-2/+7
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Make $last_run_migration protectedOliver Schramm2016-08-111-1/+14
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Fix schema updateOliver Schramm2016-08-111-1/+11
| | | | | | | | | | | | First make it work, then avoid a loop PHPBB3-14742
* | [ticket/14742] Display message if reverting schema is in progressOliver Schramm2016-08-111-4/+8
| | | | | | | | PHPBB3-14742
* | Merge branch 'ticket/14742' into ticket/14742-32xOliver Schramm2016-08-111-18/+24
|\ \ | |/
| * [ticket/14742] Small fixes to migratorOliver Schramm2016-08-111-4/+2
| | | | | | | | PHPBB3-14742
| * [ticket/14742] Avoid loop while reverting dataOliver Schramm2016-08-111-12/+11
| | | | | | | | | | | | This combines reverted updata_data and revert_data into a single array. PHPBB3-14742
| * [ticket/14742] Pause after each schema changeOliver Schramm2016-08-111-2/+11
| | | | | | | | | | | | It is certainly better than running them all at once PHPBB3-14742
* | [ticket/14434] Refactored to check migrations when setting themMatt Friedman2016-01-281-3/+21
| | | | | | | | PHPBB3-14434
* | [ticket/14434] Remove redundant conditionalMatt Friedman2016-01-271-3/+3
| | | | | | | | PHPBB3-14434
* | [ticket/14434] Remove recursion to simplify is_migration methodMatt Friedman2016-01-271-21/+6
| | | | | | | | PHPBB3-14434
* | [ticket/14434] Extract migration check to a reusable methodMatt Friedman2016-01-271-3/+41
| | | | | | | | PHPBB3-14434
* | [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-1/+1
| | | | | | | | | | | | Part 4 PHPBB3-13454
* | [ticket/14039] Revamp updaterMate Bartus2015-10-171-1/+3
| | | | | | | | PHPBB3-14039
* | [ticket/14162] Add CLI command db:revertZoddo2015-09-201-0/+19
| | | | | | | | | | | | This command allow to revert a migration from the CLI PHPBB3-14162
* | Merge branch 'develop-ascraeus' into developJoas Schilling2015-01-201-6/+46
|\ \ | |/ | | | | | | | | | | Conflicts: phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php phpBB/phpbb/db/migration/profilefield_base_migration.php phpBB/phpbb/db/migrator.php
| * [ticket/13489] Disable the event dispatcher in the migratorTristan Darricau2015-01-141-6/+46
| | | | | | | | PHPBB3-13489
* | [ticket/13421] Move tools to subdirectoryJoas Schilling2014-12-061-2/+2
| | | | | | | | PHPBB3-13421
* | [ticket/13421] Always require the interface when possibleJoas Schilling2014-12-061-2/+2
|/ | | | PHPBB3-13421
* [ticket/13303] Speed up migration dependency calculation.Cesar G2014-11-071-1/+9
| | | | PHPBB3-13303
* [ticket/13126] Fix testsTristan Darricau2014-10-201-10/+10
| | | | PHPBB3-13126
* [ticket/13126] Change messages verbosity levelsTristan Darricau2014-10-201-5/+5
| | | | PHPBB3-13126
* [ticket/13126] Improve the feedback when running the migrationsTristan Darricau2014-10-141-0/+51
| | | | PHPBB3-13126
* [ticket/13064] Revert "[ticket/13064] Validate the migrations provided to ..."Joas Schilling2014-09-171-18/+1
| | | | | | This reverts commit 46a9fe93d797bf7d56fd9b1e204f3c0459270122. PHPBB3-13064
* [ticket/13064] Validate the migrations provided to migrator::set_migrations()Tristan Darricau2014-09-141-1/+18
| | | | PHPBB3-13064
* [ticket/11909] Remove unused function load_migrationsn-aleha2014-08-261-54/+0
| | | | | | Remove unused function load_migrations from \phpbb\db\migrator PHPBB3-11909
* [ticket/12870] Add doc blockTristan Darricau2014-07-281-0/+4
| | | | PHPBB3-12870
* [ticket/12870] Create the migrations table with a method in the migratorTristan Darricau2014-07-271-0/+20
| | | | PHPBB3-12870
* [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_extsTristan Darricau2014-06-261-1/+1
| | | | PHPBB3-12446
* [ticket/12715] Cleanup comments in \phpbb\db\*Tristan Darricau2014-06-151-2/+6
| | | | PHPBB3-12715