diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-16 22:36:12 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 18:12:25 +0200 |
| commit | 27e89a8e931d4f2c3fd9aa45adae506af6733d0d (patch) | |
| tree | 26fb34caa091067ae1b70c061e1ce3cf1ac46f4b | |
| parent | 95049fdd5e96e046e7ab8309a3a739d3cd94b497 (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 | ||
