* All users can now view deleted posts.
* Posts now have an is_banned flag for artist removal requests. Basic users can not view banned posts but gold and higher can. * Banning an artist both deletes the post and bans it. * By default deleted posts are not filtered out of post searches at the sql level.
This commit is contained in:
@@ -2280,7 +2280,8 @@ CREATE TABLE posts (
|
||||
image_width integer NOT NULL,
|
||||
image_height integer NOT NULL,
|
||||
parent_id integer,
|
||||
has_children boolean DEFAULT false NOT NULL
|
||||
has_children boolean DEFAULT false NOT NULL,
|
||||
is_banned boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -6263,4 +6264,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130318231740');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130320070700');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130321144736');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130321144736');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130322162059');
|
||||
Reference in New Issue
Block a user