1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/11459] Refresh schema files

PHPBB3-11459
This commit is contained in:
Joas Schilling
2014-03-28 20:57:16 +01:00
parent 0fd0be8e85
commit ac6f0c94bf
7 changed files with 244 additions and 139 deletions

View File

@@ -406,6 +406,19 @@ CREATE TABLE phpbb_login_attempts (
);
# Table: 'phpbb_migrations'
CREATE TABLE phpbb_migrations (
migration_name varbinary(255) DEFAULT '' NOT NULL,
migration_depends_on blob NOT NULL,
migration_schema_done tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
migration_data_done tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
migration_data_state blob NOT NULL,
migration_start_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
migration_end_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (migration_name)
);
# Table: 'phpbb_moderator_cache'
CREATE TABLE phpbb_moderator_cache (
forum_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
@@ -545,7 +558,7 @@ CREATE TABLE phpbb_posts (
KEY poster_ip (poster_ip),
KEY poster_id (poster_id),
KEY tid_post_time (topic_id, post_time),
KEY post_username (post_username:255),
KEY post_username (post_username(255)),
KEY post_visibility (post_visibility)
);