1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20230324095639_add_order_number.rb
2023-03-24 17:21:44 +01:00

10 lines
293 B
Ruby

# frozen_string_literal: true
# We now store the order number in DB, instead of generating it on every access
class AddOrderNumber < ActiveRecord::Migration[6.1]
def change
add_column :invoices, :order_number, :string
add_column :payment_schedules, :order_number, :string
end
end