This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/00910_create_p_tanks.rb
2021-08-23 10:26:02 +02:00

12 lines
277 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 => 2
t.references :p_brut_product, index: true
t.timestamps
end
end
end