olwen_demo_app/db/migrate/20200216215344_create_admin_preferences.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +02:00

12 lines
239 B
Ruby

class CreateAdminPreferences < ActiveRecord::Migration[6.0]
def change
create_table :admin_preferences do |t|
t.references :admin, foreign_key: true
t.string :key
t.text :value
t.timestamps
end
end
end