coton_app/db/migrate/20180603200717_create_p_tanks.rb
2018-12-15 14:06:53 +01:00

11 lines
215 B
Ruby

class CreatePTanks < ActiveRecord::Migration
def change
create_table :p_tanks do |t|
t.string :name
t.decimal :volume, precision: 14, scale: 4
t.timestamps null: false
end
end
end