Annotate models.

This commit is contained in:
Arpit Jalan 2020-09-01 10:22:32 +05:30
parent 084e15b447
commit e66eefe179
4 changed files with 13 additions and 11 deletions

View File

@ -317,13 +317,12 @@ end
#
# Table name: color_schemes
#
# id :integer not null, primary key
# name :string not null
# version :integer default(1), not null
# created_at :datetime not null
# updated_at :datetime not null
# via_wizard :boolean default(FALSE), not null
# base_scheme_id :string
# theme_id :integer
# user_selectable :boolean default(FALSE), not null
# id :integer not null, primary key
# name :string not null
# version :integer default(1), not null
# created_at :datetime not null
# updated_at :datetime not null
# via_wizard :boolean default(FALSE), not null
# base_scheme_id :string
# theme_id :integer
#

View File

@ -17,6 +17,7 @@ end
#
# Indexes
#
# idx_regular_post_search_data (search_data) WHERE (NOT private_message) USING gin
# idx_search_post (search_data) USING gin
# index_post_search_data_on_post_id_and_version_and_locale (post_id,version,locale)
#

View File

@ -17,6 +17,7 @@ end
#
# Indexes
#
# 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))
# idx_topic_custom_fields_topic_post_event_starts_at (name,topic_id) UNIQUE WHERE ((name)::text = 'TopicEventStartsAt'::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))
#

View File

@ -17,5 +17,6 @@ end
#
# Indexes
#
# idx_user_custom_fields_on_holiday (name,user_id) UNIQUE WHERE ((name)::text = 'on_holiday'::text)
# index_user_custom_fields_on_user_id_and_name (user_id,name)
#