774c609c4a
[ticket/16345] Small improvements
...
PHPBB3-16346
2020-08-14 08:29:06 +00:00
84d82dab53
Merge branch '3.3.x'
2020-06-06 17:17:47 +02:00
f72e847c17
Merge branch '3.2.x' into 3.3.x
2020-06-06 17:17:28 +02:00
65d825b62c
[ticket/16510] Added migration that adds missing config entries
...
PHPBB3-16510
2020-06-03 20:09:38 +02:00
a72810465f
[ticket/16284] Provide tables as array in migrations
...
PHPBB3-16284
2020-01-01 12:08:11 +01:00
5c001df380
[ticket/15274] Allow "custom" migrations to use parameters
...
Add the possibility to have custom migrations with parameters,
allowing the use of a single function for several uses.
PHPBB3-15274
2019-05-08 22:06:34 +02:00
8033209e03
Merge branch '3.2.x'
...
* 3.2.x:
[ticket/15696] Add tests
[ticket/15696] Add support of other tools to 'if'
2018-07-08 18:36:10 +02:00
1afc0673dd
[ticket/15696] Add support of other tools to 'if'
...
PHPBB3-15696
2018-06-19 07:49:21 +02:00
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2018-01-01 13:56:04 +01:00
5338b7a361
Merge branch '3.2.x'
2017-10-17 19:54:24 +02:00
ed9b896d22
[ticket/15396] Fix revert_schema() steps not executed in correct order
...
PHPBB3-15396
2017-10-13 14:46:32 +02:00
6cdf94197f
Merge pull request #4871 from javiexin/ticket/15274
...
[ticket/15274] Allow "custom" migrations to use parameters
* github.com:phpbb/phpbb:
[ticket/15274] Allow "custom" migrations to use parameters
[ticket/15274] Allow "custom" migrations to use parameters
2017-08-06 12:04:07 +02:00
797234e416
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2017-07-17 16:57:00 +07:00
563a6680eb
[ticket/15274] Allow "custom" migrations to use parameters
...
Add the possibility to have custom migrations with parameters,
allowing the use of a single function for several uses.
PHPBB3-15274
2017-07-15 18:49:13 +02:00
edaa36205f
Merge branch '3.1.x' into 3.2.x
...
* 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
2016-11-14 21:22:14 +01:00
ffc6623dd4
[ticket/14831] Rename migration and replace preg_replace() with simpler methods
...
PHPBB3-14831
2016-10-25 20:25:57 +02:00
c891277996
[ticket/14831] Add migration for deduplicating entries and fix typo
...
PHPBB3-14831
2016-10-23 22:00:02 +02:00
9f2867b115
[ticket/14831] Add method for getting valid migration name
...
PHPBB3-14831
2016-10-23 11:37:10 +02:00
2059d57c04
[ticket/14831] Fall back to possible migration names instead of adding prefix
...
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
2016-10-23 10:28:22 +02:00
8b8f693d00
[ticket/14831] Make sure migrations always start with backslash
...
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
2016-10-22 19:19:36 +02:00
88384a1e63
Merge branch 'ticket/14742' into ticket/14742-32x
...
Conflicts:
phpBB/phpbb/db/migrator.php
2016-08-20 22:38:45 +02:00
773f6d08a5
[ticket/14742] Reset migration_data_state before reverting
...
PHPBB3-14742
2016-08-20 22:31:08 +02:00
7c99fcf782
[ticket/14742] Pause after each update_data step too
...
Rewriting process_data_step() to remove the now
useless foreach() loop.
PHPBB3-14742
2016-08-20 22:20:21 +02:00
775d1c855a
[ticket/14742] Improve readability of the code
...
PHPBB3-14742
2016-08-20 22:20:20 +02:00
e050cf5c11
[ticket/14742] Fix comments in migrator
...
PHPBB3-14742
2016-08-20 03:35:38 +02:00
0d1b7b3935
Merge branch 'ticket/14742' into ticket/14742-32x
2016-08-12 02:38:55 +02:00
263fbe54fc
[ticket/14742] Enhance measured time for migrations
...
PHPBB3-14742
2016-08-12 02:03:52 +02:00
4a92a8efb5
[ticket/14742] Improve verbosity of migrator output
...
PHPBB3-14742
2016-08-12 02:01:01 +02:00
03be89ebd7
[ticket/14742] Fix progress bar in database updater
...
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
2016-08-11 23:28:54 +02:00
210310b584
Merge branch 'ticket/14742' into ticket/14742-32x
2016-08-11 18:30:35 +02:00
52afa74f4e
[ticket/14742] Avoid loop while reverting schema
...
PHPBB3-14742
2016-08-11 18:00:10 +02:00
b00a39b9ad
[ticket/14742] Make $last_run_migration protected
...
PHPBB3-14742
2016-08-11 17:59:51 +02:00
6078bae7f8
[ticket/14742] Fix schema update
...
First make it work, then avoid a loop
PHPBB3-14742
2016-08-11 13:31:23 +02:00
3346609126
[ticket/14742] Display message if reverting schema is in progress
...
PHPBB3-14742
2016-08-11 01:25:45 +02:00
4938887e5d
Merge branch 'ticket/14742' into ticket/14742-32x
2016-08-11 01:20:59 +02:00
a277f9cf07
[ticket/14742] Small fixes to migrator
...
PHPBB3-14742
2016-08-11 01:09:11 +02:00
8e1461ca61
[ticket/14742] Avoid loop while reverting data
...
This combines reverted updata_data and revert_data into a single array.
PHPBB3-14742
2016-08-11 01:09:11 +02:00
9fb649793d
[ticket/14742] Pause after each schema change
...
It is certainly better than running them all at once
PHPBB3-14742
2016-08-11 01:03:23 +02:00
27027deb9c
[ticket/14434] Refactored to check migrations when setting them
...
PHPBB3-14434
2016-01-28 12:17:35 -08:00
996441a1da
[ticket/14434] Remove redundant conditional
...
PHPBB3-14434
2016-01-27 12:24:18 -08:00
3bd8a2ba19
[ticket/14434] Remove recursion to simplify is_migration method
...
PHPBB3-14434
2016-01-27 11:46:04 -08:00
47d8aeebde
[ticket/14434] Extract migration check to a reusable method
...
PHPBB3-14434
2016-01-27 10:50:22 -08:00
266576c6a4
[ticket/13454] Remove unused variables
...
Part 4
PHPBB3-13454
2016-01-06 13:52:11 +01:00
8f5a0ad6f7
[ticket/14039] Revamp updater
...
PHPBB3-14039
2015-10-17 23:05:57 +02:00
2596fba487
[ticket/14162] Add CLI command db:revert
...
This command allow to revert a migration from the CLI
PHPBB3-14162
2015-09-20 12:26:46 +02:00
b566686b51
Merge branch 'develop-ascraeus' into develop
...
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
2015-01-20 23:32:36 +01:00
c99ed64473
[ticket/13489] Disable the event dispatcher in the migrator
...
PHPBB3-13489
2015-01-14 11:09:44 +01:00
ec90f2b380
[ticket/13421] Move tools to subdirectory
...
PHPBB3-13421
2014-12-06 17:10:07 +01:00
d78bb2865b
[ticket/13421] Always require the interface when possible
...
PHPBB3-13421
2014-12-06 16:17:04 +01:00
95140bb724
[ticket/13303] Speed up migration dependency calculation.
...
PHPBB3-13303
2014-11-07 02:30:44 -08:00