diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 21:06:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 21:06:27 +0300 |
commit | 6838304a85cd3b5dfdac076c600cb15f5643c674 (patch) | |
tree | 61785561cb8fde46b41630b0a6ad60ca8eb24b02 /db/migrate | |
parent | 00882b3c33cb377b903cdf8e2b91149081739785 (diff) | |
download | gitlab-ce-6838304a85cd3b5dfdac076c600cb15f5643c674.tar.gz |
Force user password change for users created by admin
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130613173246_add_created_by_id_to_user.rb | 5 |
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 |