mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 15:01:33 +02:00
[feature/soft-delete] Add columns for soft delete details
PHPBB3-9657
This commit is contained in:
@@ -481,6 +481,9 @@ CREATE TABLE phpbb_posts (
|
||||
post_edit_user mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
post_edit_count smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
post_edit_locked tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
post_delete_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
post_delete_reason blob NOT NULL,
|
||||
post_delete_user mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (post_id),
|
||||
KEY forum_id (forum_id),
|
||||
KEY topic_id (topic_id),
|
||||
@@ -807,6 +810,9 @@ CREATE TABLE phpbb_topics (
|
||||
poll_max_options tinyint(4) DEFAULT '1' NOT NULL,
|
||||
poll_last_vote int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
poll_vote_change tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_delete_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_delete_reason blob NOT NULL,
|
||||
topic_delete_user mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (topic_id),
|
||||
KEY forum_id (forum_id),
|
||||
KEY forum_id_type (forum_id, topic_type),
|
||||
|
Reference in New Issue
Block a user