This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20200216215344_create_admin_preferences.rb
2021-08-23 10:26: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