Remove the campaigns table
We stopped using the Campaign model in commit 448775a5e.
This commit is contained in:
10
db/migrate/20240425223908_drop_campaigns.rb
Normal file
10
db/migrate/20240425223908_drop_campaigns.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class DropCampaigns < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
drop_table :campaigns, id: :serial do |t|
|
||||
t.string :name
|
||||
t.string :track_id
|
||||
t.datetime :created_at, precision: nil, null: false
|
||||
t.datetime :updated_at, precision: nil, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -405,13 +405,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_10_26_112901) do
|
||||
t.boolean "hide_money", default: false
|
||||
end
|
||||
|
||||
create_table "campaigns", id: :serial, force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "track_id"
|
||||
t.datetime "created_at", precision: nil, null: false
|
||||
t.datetime "updated_at", precision: nil, null: false
|
||||
end
|
||||
|
||||
create_table "ckeditor_assets", id: :serial, force: :cascade do |t|
|
||||
t.string "data_file_name", null: false
|
||||
t.string "data_content_type"
|
||||
|
||||
Reference in New Issue
Block a user