kaps_app/db/migrate/20180712215756_create_p_payments.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

14 lines
283 B
Ruby

class CreatePPayments < ActiveRecord::Migration
def change
create_table :p_payments do |t|
t.datetime :paid_at
t.datetime :theo_date
t.references :p_payment_type
t.decimal :amount
t.string :number
t.timestamps null: false
end
end
end