Timothy Messier
585b344da6
feat(auth_token): Set approximate_last_access_time when token is issued
2024-02-23 15:44:08 +00:00
Timothy Messier
07b3a7a19e
feat(dw): Add auth token fact after inserting issued auth token
...
This adds a trigger and function to ensure that an auth token fact is
created when a new auth token is created with the 'token issued' status.
2024-02-23 15:44:08 +00:00
Timothy Messier
eb626bb54c
refact(wh): Use auth token id for user dimension
...
Previously the function used to upsert into the user dimension required
both an auth token id, and a user id. However, the user id can be
determined from the auth token, in fact it already was via the
whx_user_dimension_source view. This refactor removes the user id as an
argument, since it is not needed and will not be directly available when
this function is used when populating the new auth token accumulating
fact.
2024-02-23 15:44:08 +00:00
Timothy Messier
03d1cc4572
feat(dw): Add auth token accumulating fact table
2024-02-23 15:44:08 +00:00
Timothy Messier
e51d0e0b4f
feat(vault): Remove database notice when setting credential type
...
This notice just generated noise, particuarlly in some of the sqltests.
2024-02-23 15:44:08 +00:00
Johan Brandhorst-Satzkorn
133e928c6d
internal/db/schema: update recording indexes ( #4278 )
...
The new index includes the new delete_time and
delete_after columns, which are used in the list query.
2024-01-25 08:56:15 -08:00
Louis Ruch
fa69ddcb8a
fix(db): Set max storage policy days ( #4267 )
2024-01-22 16:00:17 -08:00
Louis Ruch
d620dcbd4f
feat(db): Update storage policy override default to false
2024-01-19 09:39:10 -08:00
Louis Ruch
5505833702
chore: reorder db migrations from llb
2024-01-16 15:47:12 -08:00