Created triggers to handle the updated_at columns on many tables.
Created a trigger to handle the ended_at column in the routes table when the route status changes to FINISHED.
Type of change
[x] New feature (non-breaking change which adds functionality)
Checklist
[x] I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
[x] I ran cargo fmt --all -- --check just before my last commit.
[x] I ran cargo test just before my last commit and all tests passed.
[x] I added my algorithm to the corresponding mod.rs file within its own folder, and in any parent folder(s).
Description
Created triggers to handle the
updated_at
columns on many tables. Created a trigger to handle theended_at
column in the routes table when the route status changes toFINISHED
.Type of change
Checklist
cargo clippy --all -- -D warnings
just before my last commit and fixed any issue that was found.cargo fmt --all -- --check
just before my last commit.cargo test
just before my last commit and all tests passed.mod.rs
file within its own folder, and in any parent folder(s).