summaryrefslogtreecommitdiff
path: root/db/migrate/20180722103201_add_private_profile_to_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180722103201_add_private_profile_to_users.rb')
-rw-r--r--db/migrate/20180722103201_add_private_profile_to_users.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20180722103201_add_private_profile_to_users.rb b/db/migrate/20180722103201_add_private_profile_to_users.rb
new file mode 100644
index 00000000000..4f7ef1322d8
--- /dev/null
+++ b/db/migrate/20180722103201_add_private_profile_to_users.rb
@@ -0,0 +1,10 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddPrivateProfileToUsers < ActiveRecord::Migration
+ DOWNTIME = false
+
+ def change
+ add_column :users, :private_profile, :boolean
+ end
+end