mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 06:37:53 +08:00
Give regular users a delete button. If they click it, their post will be revised to
say it was deleted.
This commit is contained in:
@ -1798,7 +1798,8 @@ CREATE TABLE posts (
|
||||
spam_count integer DEFAULT 0 NOT NULL,
|
||||
illegal_count integer DEFAULT 0 NOT NULL,
|
||||
inappropriate_count integer DEFAULT 0 NOT NULL,
|
||||
last_version_at timestamp without time zone NOT NULL
|
||||
last_version_at timestamp without time zone NOT NULL,
|
||||
user_deleted boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@ -4569,4 +4570,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130203204338');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130204000159');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130205021905');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130205021905');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130207200019');
|
Reference in New Issue
Block a user