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
ed9b896d22
[ticket/15396] Fix revert_schema() steps not executed in correct order
...
PHPBB3-15396
2017-10-13 14:46:32 +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
981d3005f3
[ticket/13126] Fix tests
...
PHPBB3-13126
2014-10-20 20:46:11 +02:00
faf4b03c43
[ticket/13126] Change messages verbosity levels
...
PHPBB3-13126
2014-10-20 19:42:54 +02:00
56d7c2c6ed
[ticket/13126] Improve the feedback when running the migrations
...
PHPBB3-13126
2014-10-14 17:58:29 +02:00
7729ae4ad0
[ticket/13064] Revert "[ticket/13064] Validate the migrations provided to ..."
...
This reverts commit 46a9fe93d7
.
PHPBB3-13064
2014-09-17 21:24:33 +02:00
46a9fe93d7
[ticket/13064] Validate the migrations provided to migrator::set_migrations()
...
PHPBB3-13064
2014-09-14 00:56:41 +02:00
bcc1b7aec9
[ticket/11909] Remove unused function load_migrations
...
Remove unused function load_migrations from \phpbb\db\migrator
PHPBB3-11909
2014-08-26 02:56:47 +03:00
ae350bda42
[ticket/12870] Add doc block
...
PHPBB3-12870
2014-07-28 15:17:19 +02:00
a8e81b6e9f
[ticket/12870] Create the migrations table with a method in the migrator
...
PHPBB3-12870
2014-07-27 11:08:13 +02:00
ff6e026a40
[ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
...
PHPBB3-12446
2014-06-26 21:09:19 +02:00
3039d000c6
[ticket/12715] Cleanup comments in \phpbb\db\*
...
PHPBB3-12715
2014-06-15 19:14:35 +02:00
183492b019
[ticket/12508] Move \phpbb\extension\finder to \phpbb\finder
...
PHPBB3-12508
2014-06-10 11:47:40 +02:00