1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/db/migrate/20230324090312_drop_footprint_column.rb
2023-03-24 10:16:21 +01:00

14 lines
504 B
Ruby

# 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