summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorAndrew Tomaka <atomaka@gmail.com>2015-12-02 19:02:15 -0500
committerAndrew Tomaka <atomaka@gmail.com>2015-12-05 11:32:08 -0500
commit1c53dc28b505f2853750ed4ea8b954385c5bf598 (patch)
tree2906c8f55dd83e8aec787d8ff2d01f8dfedc573d /db/migrate
parentd2f9a9012d55a7dc9c8e9e61b946c52836a1d8f1 (diff)
downloadgitlab-ce-1c53dc28b505f2853750ed4ea8b954385c5bf598.tar.gz
Notify user if they cannot create projects
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20151203162133_add_hide_project_limit_to_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20151203162133_add_hide_project_limit_to_users.rb b/db/migrate/20151203162133_add_hide_project_limit_to_users.rb
new file mode 100644
index 00000000000..6ffadfa1894
--- /dev/null
+++ b/db/migrate/20151203162133_add_hide_project_limit_to_users.rb
@@ -0,0 +1,5 @@
+class AddHideProjectLimitToUsers < ActiveRecord::Migration
+ def change
+ add_column :users, :hide_project_limit, :boolean, default: false
+ end
+end