1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20230324090312_drop_footprint_column.rb

14 lines
504 B
Ruby
Raw Normal View History

2023-03-23 17:39:06 +01:00
# frozen_string_literal: true
# We remove the footprint columns became useless
class DropFootprintColumn < ActiveRecord::Migration[6.1]
def change
remove_column :invoices, :footprint, :string
remove_column :invoice_items, :footprint, :string
remove_column :history_values, :footprint, :string
remove_column :payment_schedules, :footprint, :string
remove_column :payment_schedule_items, :footprint, :string
remove_column :payment_schedule_objects, :footprint, :string
end
end