diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-16 22:36:12 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-16 22:36:12 +0200 |
| commit | 455d659ffbb0d12d75cc975fbe4cc24ce635ea3a (patch) | |
| tree | 684ed44e92af782a2422f58e05e041af24c1a9e0 | |
| parent | 4a5a2f59b7a6887915a3858b894c302fba58e5a5 (diff) | |
Add migraton for bcrypt password digest on user model
| -rw-r--r-- | db/migrate/20260716165542_add_password_digest_to_users.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20260716165542_add_password_digest_to_users.rb b/db/migrate/20260716165542_add_password_digest_to_users.rb new file mode 100644 index 0000000..df711d7 --- /dev/null +++ b/db/migrate/20260716165542_add_password_digest_to_users.rb | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | class AddPasswordDigestToUsers < ActiveRecord::Migration[8.1] | ||
| 2 | def change | ||
| 3 | add_column :users, :password_digest, :string | ||
| 4 | end | ||
| 5 | end | ||
