pollen_app/db/migrate/20200227094249_create_m_odr_trackers.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +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