15 lines
326 B
Ruby
15 lines
326 B
Ruby
class CreatePShipBills < ActiveRecord::Migration
|
|
def change
|
|
create_table :p_ship_bills do |t|
|
|
t.date :count_date
|
|
t.date :bill_at
|
|
t.string :ref
|
|
t.references :p_fournisseur
|
|
t.text :comment
|
|
t.decimal :a_ok_total, precision: 14, scale: 4
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|