Skip to content

Commit

Permalink
feat: PasswordUpdatedAt column + auto-update with a fn and trigger (#301
Browse files Browse the repository at this point in the history
)

Add a `password_updated_at` column to the `user` table, and add a
function + trigger to automatically update the timestamp when the
password column is updated.

closes #299
  • Loading branch information
spencewenski authored Jul 29, 2024
1 parent 9fae690 commit 1b44d1f
Show file tree
Hide file tree
Showing 15 changed files with 365 additions and 49 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,6 @@ serde = { version = "1.0.185", features = ["derive"] }
[package.metadata.docs.rs]
# Have docs.rs pass `--all-features` to ensure all features have their documentation built.
all-features = true

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(coverage_nightly)'] }
Loading

0 comments on commit 1b44d1f

Please sign in to comment.