Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150108073740_create_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e4c66ca8c02a6194de16ac240878d247249442a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# rubocop:disable all
class CreateApplicationSettings < ActiveRecord::Migration
  DOWNTIME = false

  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

      t.timestamps null: true
    end
  end
end