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

14 lines
267 B
Ruby

class CreatePTrucks < ActiveRecord::Migration[6.0]
def change
create_table :p_trucks do |t|
t.string :marque
t.string :immat
t.string :label
t.integer :image_file_id
t.string :code
t.timestamps null: false
end
end
end