db: drop unused columns from users table.
Note that the password_hash column was replaced by bcrypt_password_hash in 2013, but the old password_hash column was never dropped.
This commit is contained in:
@@ -4,10 +4,8 @@ FactoryBot.define do
|
||||
"user#{n}"
|
||||
end
|
||||
password {"password"}
|
||||
password_hash {User.sha1("password")}
|
||||
email {FFaker::Internet.email}
|
||||
default_image_size {"large"}
|
||||
base_upload_limit {10}
|
||||
level {20}
|
||||
created_at {Time.now}
|
||||
last_logged_in_at {Time.now}
|
||||
|
||||
Reference in New Issue
Block a user