internal/db: add cred store pagination schema changes

Add create time, update time columns to base table,
add indexes used by list queries.
This commit is contained in:
Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:20 -08:00
1 parent 7b27d7d20f
commit 22ce2b4468
3 files changed
+92

No files matched your search

@@ -16,6 +16,7 @@ begin;
-- insert_credential_store_subtype() is a before insert trigger
-- function for subtypes of credential_store.
-- Replaces the insert_credential_store_subtype function defined in 10/03_credential.up.sql
-- Replaced in 80/05_credential_store_base_table_updates.up.sql
create or replace function insert_credential_store_subtype() returns trigger
as $$
begin