diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 11:22:50 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 11:22:50 +0300 |
commit | 8589b4e137f50293952923bb07e2814257d7784d (patch) | |
tree | 45e96152606d36a906f5a8d54ad1c245987c3b9e /db/migrate | |
parent | d02a22ba21f91d2aa4f9cf716dc3aefcf7e7495e (diff) |
Init ApplicationSettings resource with defaults from config file
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20150108073740_create_application_settings.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20150108073740_create_application_settings.rb b/db/migrate/20150108073740_create_application_settings.rb new file mode 100644 index 00000000000..651e35fdf7a --- /dev/null +++ b/db/migrate/20150108073740_create_application_settings.rb @@ -0,0 +1,13 @@ +class CreateApplicationSettings < ActiveRecord::Migration + 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 + end + end +end |