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
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
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
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
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
c99ed64473
[ticket/13489] Disable the event dispatcher in the migrator
...
PHPBB3-13489
2015-01-14 11:09:44 +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
a759704b39
[ticket/12594] Remove @package tags and update file headers
...
PHPBB3-12594
2014-05-27 20:51:13 +02:00
595f831589
[ticket/12432] Migrator should not revert custom functions
...
https://tracker.phpbb.com/browse/PHPBB3-12432
PHPBB3-12432
2014-04-26 12:15:19 +02:00
7a947b247d
Merge remote-tracking branch 'github-nickvergessen/ticket/12282' into develop-ascraeus
...
* github-nickvergessen/ticket/12282:
[ticket/12282] Update new references
[ticket/12282] Update container db mock
[ticket/12282] Add new line at EOF of the interface
[ticket/12282] Use interface for type hinting
[ticket/12282] Use {@inheritDoc} for inherited methods
[ticket/12282] Add Interface for DBAL drivers
2014-04-10 14:04:43 -07:00
0a586258a2
[ticket/12349] Update license header in several new files
...
PHPBB3-12349
2014-04-03 15:42:36 +02:00
11a9104b8a
[ticket/12282] Use interface for type hinting
...
PHPBB3-12282
2014-04-01 19:17:41 +02:00
38eb6b0e13
[ticket/11880] Move get_schema_steps function to a migrator helper class
...
PHPBB3-11880
2014-02-05 09:57:36 -06:00
2c878ead31
[ticket/11880] Break up schema changes in the migrator
...
PHPBB3-11880
2014-02-03 15:07:57 -06:00
1173adfe87
[ticket/12007] Default last_result to 0 instead of false
...
PostgreSQL does not map null/false to 0 and thus this variable causes
an error.
PHPBB3-12007
2013-11-08 23:34:49 +05:30
7aa8f6461f
[task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
...
PHPBB3-11980
2013-10-30 13:05:28 +01:00
e8c7f8134d
Merge remote-tracking branch 'EXreaction/ticket/11883' into develop
...
# By Nathan (1) and Nathan Guse (1)
# Via Nathan Guse
* EXreaction/ticket/11883:
[ticket/11883] Only output the migration time, not total
[ticket/11883] Report completed data step in migration as "Installing Data"
2013-10-04 20:40:30 +05:30
621e6c93ed
[ticket/11883] Report completed data step in migration as "Installing Data"
...
PHPBB3-11883
2013-10-02 14:27:46 -05:00
5bd7f1bd36
[ticket/11882] If dependency is incorrect/unfulfillable, throw an error
...
PHPBB3-11882
2013-10-02 14:21:50 -05:00
f8d6f0ef08
[ticket/11691] Change detection of effectively_installed()
...
When start is set for a migration, it is not yet effectively installed.
So we just continue doing it...
PHPBB3-11691
2013-09-26 01:14:29 +02:00
d626ebaf1e
[ticket/11700] Fix a few more comments
...
PHPBB3-11700
2013-09-16 04:45:58 +02:00
b95fdacdd3
[ticket/11700] Move all recent code to namespaces
...
PHPBB3-11700
2013-09-16 00:25:27 +02:00
7030578bbe
[ticket/11698] Moving all autoloadable files to phpbb/
...
PHPBB3-11698
2013-07-14 01:32:34 -04:00