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:
evazion
2019-11-16 19:34:30 -06:00
parent 90713ef94c
commit 364ecfe68f
6 changed files with 13 additions and 11 deletions

View File

@@ -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}