20150108073740_create_application_settings.rb 378 Bytes
Newer Older
Sean McGivern's avatar
Sean McGivern committed
1
# rubocop:disable all
2
class CreateApplicationSettings < ActiveRecord::Migration[4.2]
3 4
  DOWNTIME = false

5 6 7 8 9 10 11 12
  def change
    create_table :application_settings do |t|
      t.integer :default_projects_limit
      t.boolean :signup_enabled
      t.boolean :signin_enabled
      t.boolean :gravatar_enabled
      t.text :sign_in_text

13
      t.timestamps null: true
14 15 16
    end
  end
end