summaryrefslogtreecommitdiff
path: root/db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb')
-rw-r--r--db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb b/db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb
new file mode 100644
index 00000000000..8f6be9dd677
--- /dev/null
+++ b/db/migrate/20161017091941_add_authorized_projects_populated_to_users.rb
@@ -0,0 +1,9 @@
+class AddAuthorizedProjectsPopulatedToUsers < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :users, :authorized_projects_populated, :boolean
+ end
+end