implements #2658: private forum topics
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddMinLevelToForumTopics < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :forum_topics, :min_level, :integer, :default => 0, :null => false
|
||||
end
|
||||
end
|
||||
@@ -2210,7 +2210,8 @@ CREATE TABLE forum_topics (
|
||||
text_index tsvector NOT NULL,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
category_id integer DEFAULT 0 NOT NULL
|
||||
category_id integer DEFAULT 0 NOT NULL,
|
||||
min_level integer DEFAULT 0 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -7456,3 +7457,5 @@ INSERT INTO schema_migrations (version) VALUES ('20160919234407');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20161018221128');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20161024220345');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user