From daddad7fd638a7f22eb7ec24356958433ff23390 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 21 Aug 2020 11:36:53 +0800 Subject: [PATCH] DEV: Update annotations. --- app/models/embeddable_host.rb | 14 +++++++------- app/models/post_search_data.rb | 11 ++++++----- app/models/topic_custom_field.rb | 1 - app/models/upload.rb | 1 + app/models/user_option.rb | 2 ++ 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/app/models/embeddable_host.rb b/app/models/embeddable_host.rb index 8b393b4a254..e76dbce6436 100644 --- a/app/models/embeddable_host.rb +++ b/app/models/embeddable_host.rb @@ -76,11 +76,11 @@ end # # Table name: embeddable_hosts # -# id :integer not null, primary key -# host :string not null -# category_id :integer not null -# created_at :datetime not null -# updated_at :datetime not null -# allowed_paths :string -# class_name :string +# id :integer not null, primary key +# host :string not null +# category_id :integer not null +# created_at :datetime not null +# updated_at :datetime not null +# class_name :string +# allowed_paths :string # diff --git a/app/models/post_search_data.rb b/app/models/post_search_data.rb index 8adc69b1169..3a12c0bcf39 100644 --- a/app/models/post_search_data.rb +++ b/app/models/post_search_data.rb @@ -8,11 +8,12 @@ end # # Table name: post_search_data # -# post_id :integer not null, primary key -# search_data :tsvector -# raw_data :text -# locale :string -# version :integer default(0) +# post_id :integer not null, primary key +# search_data :tsvector +# raw_data :text +# locale :string +# version :integer default(0) +# private_message :boolean not null # # Indexes # diff --git a/app/models/topic_custom_field.rb b/app/models/topic_custom_field.rb index e922b7b26e3..ba5767084e5 100644 --- a/app/models/topic_custom_field.rb +++ b/app/models/topic_custom_field.rb @@ -17,7 +17,6 @@ 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/upload.rb b/app/models/upload.rb index 458fb358455..df8f6dfa504 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -437,6 +437,7 @@ end # secure :boolean default(FALSE), not null # access_control_post_id :bigint # original_sha1 :string +# verified :boolean # # Indexes # diff --git a/app/models/user_option.rb b/app/models/user_option.rb index 8619e116b5b..ac94158954b 100644 --- a/app/models/user_option.rb +++ b/app/models/user_option.rb @@ -236,6 +236,8 @@ end # enable_defer :boolean default(FALSE), not null # timezone :string # enable_allowed_pm_users :boolean default(FALSE), not null +# dark_scheme_id :integer +# skip_new_user_tips :boolean default(FALSE), not null # # Indexes #