feat: run migration

This commit is contained in:
Shivam Mishra
2025-11-05 17:22:07 +05:30
parent dc35d28c95
commit 92503ae0b5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
# Table name: campaigns
#
# id :bigint not null, primary key
# allow_bots :boolean default(FALSE), not null
# audience :jsonb
# campaign_status :integer default("active"), not null
# campaign_type :integer default("ongoing"), not null
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2025_10_22_152158) do
ActiveRecord::Schema[7.1].define(version: 2025_11_05_114654) do
# These extensions should be enabled to support this database
enable_extension "pg_stat_statements"
enable_extension "pg_trgm"
@@ -278,6 +278,7 @@ ActiveRecord::Schema[7.1].define(version: 2025_10_22_152158) do
t.datetime "scheduled_at", precision: nil
t.boolean "trigger_only_during_business_hours", default: false
t.jsonb "template_params"
t.boolean "allow_bots", default: false, null: false
t.index ["account_id"], name: "index_campaigns_on_account_id"
t.index ["campaign_status"], name: "index_campaigns_on_campaign_status"
t.index ["campaign_type"], name: "index_campaigns_on_campaign_type"