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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/release_migrations/9.0.0/migrate/20170316184328_add_handle_column_to_users.rb')
-rw-r--r--db/release_migrations/9.0.0/migrate/20170316184328_add_handle_column_to_users.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/release_migrations/9.0.0/migrate/20170316184328_add_handle_column_to_users.rb b/db/release_migrations/9.0.0/migrate/20170316184328_add_handle_column_to_users.rb
new file mode 100644
index 00000000000..cc4a7fee7d9
--- /dev/null
+++ b/db/release_migrations/9.0.0/migrate/20170316184328_add_handle_column_to_users.rb
@@ -0,0 +1,13 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddHandleColumnToUsers < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ # Set this constant to true if this migration requires downtime.
+ DOWNTIME = false
+
+ def change
+ add_column :users, :handle, :string
+ end
+end