diff --git a/app/models/campaign.rb b/app/models/campaign.rb index 0f297762a..2927181c6 100644 --- a/app/models/campaign.rb +++ b/app/models/campaign.rb @@ -10,7 +10,7 @@ # enabled :boolean default(TRUE) # message :text not null # scheduled_at :datetime -# template_params :jsonb not null +# template_params :jsonb # title :string not null # trigger_only_during_business_hours :boolean default(FALSE) # trigger_rules :jsonb diff --git a/app/models/contact.rb b/app/models/contact.rb index c876a564c..3badf478d 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -7,7 +7,7 @@ # id :integer not null, primary key # additional_attributes :jsonb # blocked :boolean default(FALSE), not null -# contact_type :integer default("lead") +# contact_type :integer default("visitor") # country_code :string default("") # custom_attributes :jsonb # email :string diff --git a/app/models/data_import.rb b/app/models/data_import.rb index 4df150464..a44650a22 100644 --- a/app/models/data_import.rb +++ b/app/models/data_import.rb @@ -2,16 +2,15 @@ # # Table name: data_imports # -# id :bigint not null, primary key -# data_type :string not null -# non_identifiable_records :integer default(0), not null -# processed_records :integer -# processing_errors :text -# status :integer default("pending"), not null -# total_records :integer -# created_at :datetime not null -# updated_at :datetime not null -# account_id :bigint not null +# id :bigint not null, primary key +# data_type :string not null +# processed_records :integer +# processing_errors :text +# status :integer default("pending"), not null +# total_records :integer +# created_at :datetime not null +# updated_at :datetime not null +# account_id :bigint not null # # Indexes # diff --git a/app/models/inbox.rb b/app/models/inbox.rb index 073e110fe..0a26462ad 100644 --- a/app/models/inbox.rb +++ b/app/models/inbox.rb @@ -8,7 +8,6 @@ # allow_messages_after_resolved :boolean default(TRUE) # auto_assignment_config :jsonb # business_name :string -# channel_attributes :jsonb # channel_type :string # csat_config :jsonb not null # csat_survey_enabled :boolean default(FALSE) diff --git a/app/models/super_admin.rb b/app/models/super_admin.rb index 316d60c7b..9bcee9b8a 100644 --- a/app/models/super_admin.rb +++ b/app/models/super_admin.rb @@ -19,7 +19,7 @@ # message_signature :text # name :string not null # otp_backup_codes :text -# otp_required_for_login :boolean default(FALSE), not null +# otp_required_for_login :boolean default(FALSE) # otp_secret :string # provider :string default("email"), not null # pubsub_token :string diff --git a/app/models/user.rb b/app/models/user.rb index 19dd5af2a..443df1ef6 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -19,7 +19,7 @@ # message_signature :text # name :string not null # otp_backup_codes :text -# otp_required_for_login :boolean default(FALSE), not null +# otp_required_for_login :boolean default(FALSE) # otp_secret :string # provider :string default("email"), not null # pubsub_token :string