DEV: annotate models

DEV: annotate models

diff --git a/app/models/custom_emoji.rb b/app/models/custom_emoji.rb
index 118615c..809b4ba 100644
--- a/app/models/custom_emoji.rb
+++ b/app/models/custom_emoji.rb
@@ -14,9 +14,9 @@ end
 #  id         :integer          not null, primary key
 #  name       :string           not null
 #  upload_id  :integer          not null
-#  group      :string
 #  created_at :datetime         not null
 #  updated_at :datetime         not null
+#  group      :string(20)
 #
 # Indexes
 #
diff --git a/app/models/published_page.rb b/app/models/published_page.rb
index 3c232b6..648f6b8 100644
--- a/app/models/published_page.rb
+++ b/app/models/published_page.rb
@@ -46,3 +46,19 @@ class PublishedPage < ActiveRecord::Base
     end
   end
 end
+
+# == Schema Information
+#
+# Table name: published_pages
+#
+#  id         :bigint           not null, primary key
+#  topic_id   :bigint           not null
+#  slug       :string           not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#
+# Indexes
+#
+#  index_published_pages_on_slug      (slug) UNIQUE
+#  index_published_pages_on_topic_id  (topic_id) UNIQUE
+#
diff --git a/app/models/topic_custom_field.rb b/app/models/topic_custom_field.rb
index ba57670..e922b7b 100644
--- a/app/models/topic_custom_field.rb
+++ b/app/models/topic_custom_field.rb
@@ -17,6 +17,7 @@ end
 #
 # Indexes
 #
+#  idx_topic_custom_fields_accepted_answer         (topic_id) UNIQUE WHERE ((name)::text = 'accepted_answer_post_id'::text)
 #  index_topic_custom_fields_on_topic_id_and_name  (topic_id,name)
 #  topic_custom_fields_value_key_idx               (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
 #
diff --git a/app/models/topic_timer.rb b/app/models/topic_timer.rb
index c8274da..20e3bb6 100644
--- a/app/models/topic_timer.rb
+++ b/app/models/topic_timer.rb
@@ -178,6 +178,7 @@ end
 #  updated_at         :datetime         not null
 #  category_id        :integer
 #  public_type        :boolean          default(TRUE)
+#  duration           :integer
 #
 # Indexes
 #
diff --git a/app/models/user_badge.rb b/app/models/user_badge.rb
index 5f4a3fc..082f645 100644
--- a/app/models/user_badge.rb
+++ b/app/models/user_badge.rb
@@ -101,6 +101,7 @@ end
 #  notification_id :integer
 #  seq             :integer          default(0), not null
 #  featured_rank   :integer
+#  created_at      :datetime         not null
 #
 # Indexes
 #
diff --git a/app/models/user_custom_field.rb b/app/models/user_custom_field.rb
index bba98cd..0fb77e5 100644
--- a/app/models/user_custom_field.rb
+++ b/app/models/user_custom_field.rb
@@ -17,7 +17,5 @@ end
 #
 # Indexes
 #
-#  idx_user_custom_fields_last_reminded_at          (name,user_id) UNIQUE WHERE ((name)::text = 'last_reminded_at'::text)
-#  idx_user_custom_fields_remind_assigns_frequency  (name,user_id) UNIQUE WHERE ((name)::text = 'remind_assigns_frequency'::text)
-#  index_user_custom_fields_on_user_id_and_name     (user_id,name)
+#  index_user_custom_fields_on_user_id_and_name  (user_id,name)
 #

GitHub sha: 198856f7