summaryrefslogtreecommitdiff
path: root/db/migrate/20130613173246_add_created_by_id_to_user.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-13 21:06:27 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-13 21:06:27 +0300
commit6838304a85cd3b5dfdac076c600cb15f5643c674 (patch)
tree61785561cb8fde46b41630b0a6ad60ca8eb24b02 /db/migrate/20130613173246_add_created_by_id_to_user.rb
parent00882b3c33cb377b903cdf8e2b91149081739785 (diff)
downloadgitlab-ce-6838304a85cd3b5dfdac076c600cb15f5643c674.tar.gz
Force user password change for users created by admin
Diffstat (limited to 'db/migrate/20130613173246_add_created_by_id_to_user.rb')
-rw-r--r--db/migrate/20130613173246_add_created_by_id_to_user.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130613173246_add_created_by_id_to_user.rb b/db/migrate/20130613173246_add_created_by_id_to_user.rb
new file mode 100644
index 00000000000..615e96eb156
--- /dev/null
+++ b/db/migrate/20130613173246_add_created_by_id_to_user.rb
@@ -0,0 +1,5 @@
+class AddCreatedByIdToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :created_by_id, :integer
+ end
+end