mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-07 01:54:16 +01:00
15 lines
344 B
Ruby
15 lines
344 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Save each due dates for PaymentSchedules
|
|
class CreatePaymentScheduleItems < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :payment_schedule_items do |t|
|
|
t.integer :amount
|
|
t.datetime :due_date
|
|
t.belongs_to :payment_schedule, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|