annotate models

This commit is contained in:
Sam Saffron 2019-05-29 14:26:13 +10:00
parent 5c524ea8a4
commit 04fdada96a
2 changed files with 9 additions and 9 deletions

View File

@ -127,12 +127,13 @@ end
# #
# Table name: post_action_types # Table name: post_action_types
# #
# name_key :string(50) not null # name_key :string(50) not null
# is_flag :boolean default(FALSE), not null # is_flag :boolean default(FALSE), not null
# icon :string(20) # icon :string(20)
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# id :integer not null, primary key # id :integer not null, primary key
# position :integer default(0), not null # position :integer default(0), not null
# score_bonus :float default(0.0), not null # score_bonus :float default(0.0), not null
# reviewable_priority :integer default(0), not null
# #

View File

@ -18,6 +18,5 @@ end
# Indexes # Indexes
# #
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name) # 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)) # topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
# #