Skip to content

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

annotate models

Sam Saffron04fdada96a25
diff --git a/app/models/post_action_type.rb b/app/models/post_action_type.rb
index 121db590aa3..a15ac36fd07 100644
--- a/app/models/post_action_type.rb
+++ b/app/models/post_action_type.rb
@@ -127,12 +127,13 @@ end
#
# Table name: post_action_types
#
-# name_key :string(50) not null
-# is_flag :boolean default(FALSE), not null
-# icon :string(20)
-# created_at :datetime not null
-# updated_at :datetime not null
-# id :integer not null, primary key
-# position :integer default(0), not null
-# score_bonus :float default(0.0), not null
+# name_key :string(50) not null
+# is_flag :boolean default(FALSE), not null
+# icon :string(20)
+# created_at :datetime not null
+# updated_at :datetime not null
+# id :integer not null, primary key
+# position :integer default(0), not null
+# score_bonus :float default(0.0), not null
+# reviewable_priority :integer default(0), not null
#
diff --git a/app/models/topic_custom_field.rb b/app/models/topic_custom_field.rb
index 0bb4b7123a8..ba5767084e5 100644
--- a/app/models/topic_custom_field.rb
+++ b/app/models/topic_custom_field.rb
@@ -18,6 +18,5 @@ end
# Indexes
#
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
-# index_topic_custom_fields_on_value (value) UNIQUE WHERE ((name)::text = 'commit hash'::text)
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
#