panier_app/db/migrate/20200227094249_create_m_odr_trackers.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01:00

12 lines
235 B
Ruby

class CreateMOdrTrackers < ActiveRecord::Migration[6.0]
def change
create_table :m_odr_trackers do |t|
t.string :name
t.string :token
t.references :m_odr, foreign_key: true
t.timestamps
end
end
end