diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-01-10 15:09:51 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-01-10 15:09:51 -0600 |
commit | d50500860fe44a78c8f29e0f2382b96da17c0b62 (patch) | |
tree | 77d9b2691d02fc77fd786ae28cae5cba4ef1084b /phpBB/install/schemas/firebird_schema.sql | |
parent | dbe71bb170dc684311174bb025696c81f1d50883 (diff) | |
download | forums-d50500860fe44a78c8f29e0f2382b96da17c0b62.tar forums-d50500860fe44a78c8f29e0f2382b96da17c0b62.tar.gz forums-d50500860fe44a78c8f29e0f2382b96da17c0b62.tar.bz2 forums-d50500860fe44a78c8f29e0f2382b96da17c0b62.tar.xz forums-d50500860fe44a78c8f29e0f2382b96da17c0b62.zip |
[feature/migrations] Store depends on in the database (serialized)
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
Diffstat (limited to 'phpBB/install/schemas/firebird_schema.sql')
-rw-r--r-- | phpBB/install/schemas/firebird_schema.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/install/schemas/firebird_schema.sql b/phpBB/install/schemas/firebird_schema.sql index 535cbb0df4..45024c4049 100644 --- a/phpBB/install/schemas/firebird_schema.sql +++ b/phpBB/install/schemas/firebird_schema.sql @@ -589,6 +589,7 @@ CREATE INDEX phpbb_moderator_cache_forum_id ON phpbb_moderator_cache(forum_id);; # Table: 'phpbb_migrations' CREATE TABLE phpbb_migrations ( migration_name VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, + migration_depends_on BLOB SUB_TYPE TEXT CHARACTER SET NONE DEFAULT '' NOT NULL, migration_schema_done INTEGER DEFAULT 0 NOT NULL, migration_data_done INTEGER DEFAULT 0 NOT NULL, migration_data_state BLOB SUB_TYPE TEXT CHARACTER SET NONE DEFAULT '' NOT NULL, |