mmsc_app/db/migrate/20200227094249_create_m_odr_trackers.rb
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02: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