basic_app/db/migrate/20200227094249_create_m_odr_trackers.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +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