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:
Robin Ward
2013-02-07 15:12:55 -05:00
parent af11547108
commit 084a873b91
16 changed files with 183 additions and 34 deletions

View File

@ -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');