qi6_app/db/migrate/20180603200717_create_p_tanks.rb
2019-05-17 12:30:45 +02:00

11 lines
220 B
Ruby

class CreatePTanks < ActiveRecord::Migration[6.0]
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