You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
396 B

# frozen_string_literal: true
class CreateSettings < ActiveRecord::Migration[5.0]
def change
create_table :settings do |t|
t.string "provider", null: false
t.timestamps
end
create_table :features do |t|
t.belongs_to :setting
t.string "name", null: false
t.string "value"
t.boolean "enabled", default: false
t.timestamps
end
end
end