lockaz_app/db/migrate/20200223212005_create_admin_preferences.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +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