Skip to content

A platform for community discussion. Free, open, simple.

annotate

Sam2c25b9ae1235
diff --git a/app/models/category.rb b/app/models/category.rb
index ef8893209e7..f0cdc806fe7 100644
--- a/app/models/category.rb
+++ b/app/models/category.rb
@@ -542,7 +542,6 @@ end
# name_lower :string(50) not null
# auto_close_based_on_last_post :boolean default(FALSE)
# topic_template :text
-# suppress_from_latest :boolean default(FALSE)
# contains_messages :boolean
# sort_order :string
# sort_ascending :boolean
@@ -556,10 +555,11 @@ end
# subcategory_list_style :string(50) default("rows_with_featured_topics")
# default_top_period :string(20) default("all")
# mailinglist_mirror :boolean default(FALSE), not null
+# suppress_from_latest :boolean default(FALSE)
#
# Indexes
#
# index_categories_on_email_in (email_in) UNIQUE
# index_categories_on_topic_count (topic_count)
-# unique_index_categories_on_name (COALESCE(parent_category_id, '-1'::integer), name) UNIQUE
+# unique_index_categories_on_name ((COALESCE(parent_category_id, '-1'::integer)), name) UNIQUE
#
diff --git a/app/models/theme_setting.rb b/app/models/theme_setting.rb
index 136c78ecbb6..43336ba3830 100644
--- a/app/models/theme_setting.rb
+++ b/app/models/theme_setting.rb
@@ -57,12 +57,8 @@ end
# id :integer not null, primary key
# name :string(255) not null
# data_type :integer not null
-# value :string
+# value :text
# theme_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
#
-# Indexes
-#
-# index_theme_settings_on_theme_id (theme_id)
-#