sadem_app/db/migrate/20200216215344_create_admin_preferences.rb
Nicolas Bally 000500e534 init
2020-02-25 02:33:11 +01: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