clair_app/migrations/00850_create_p_ship_bills.rb
Nicolas Bally c2f8ec2efb initial
2020-10-10 00:28:38 +02:00

15 lines
381 B
Ruby

class CreatePShipBills < ActiveRecord::Migration[6.0]
def change
create_table :p_ship_bills do |t|
t.date :count_date
t.date :bill_at
t.string :ref
t.references :p_fournisseur, index: true
t.text :comment
t.decimal :a_ok_total, :precision => 14, :scale => 2
t.timestamps
end
end
end