FEATURE: add external details to user fields

This commit is contained in:
Arpit Jalan 2018-09-20 08:10:51 +05:30
parent dfbc93aa2e
commit 72be638728
7 changed files with 18 additions and 6 deletions

View File

@ -96,9 +96,9 @@ end
#
# Indexes
#
# index_email_logs_on_created_at (created_at)
# index_email_logs_on_message_id (message_id)
# index_email_logs_on_post_id (post_id)
# index_email_logs_on_user_id (user_id)
# index_email_logs_on_user_id_and_created_at (user_id,created_at)
# index_email_logs_on_bounced (bounced)
# index_email_logs_on_created_at (created_at)
# index_email_logs_on_message_id (message_id)
# index_email_logs_on_post_id (post_id)
# index_email_logs_on_user_id (user_id)
#

View File

@ -399,6 +399,7 @@ end
# height :integer not null
# upload_id :integer not null
# url :string not null
# filesize :integer
#
# Indexes
#

View File

@ -402,6 +402,7 @@ end
# hidden :boolean default(FALSE), not null
# color_scheme_id :integer
# remote_theme_id :integer
# component :boolean default(FALSE), not null
#
# Indexes
#

View File

@ -268,6 +268,8 @@ end
# origin :string(1000)
# retain_hours :integer
# extension :string(10)
# thumbnail_width :integer
# thumbnail_height :integer
#
# Indexes
#

View File

@ -26,4 +26,6 @@ end
# show_on_profile :boolean default(FALSE), not null
# position :integer default(0)
# show_on_user_card :boolean default(FALSE), not null
# external_name :string
# external_type :string
#

View File

@ -128,6 +128,6 @@ end
# first_post_created_at :datetime
# post_count :integer default(0), not null
# topic_count :integer default(0), not null
# bounce_score :integer default(0), not null
# bounce_score :float default(0.0), not null
# reset_bounce_score_after :datetime
#

View File

@ -0,0 +1,6 @@
class AddExternalDetailsToUserFields < ActiveRecord::Migration[5.2]
def change
add_column :user_fields, :external_name, :string
add_column :user_fields, :external_type, :string
end
end