Commit Graph
6 Commits
Author SHA1 Message Date
irenarindos 0b9b7a5d2a chore(db): renumber migrations before merging llb 2025-09-02 15:38:31 -04:00
Andrew GaffneyandHugo 407a0adf4a feat(db): Implement RDP target entities
Also modifies existing database entities to support RDP target.

---------
Co-authored-by: Hugo <10965479+hugoghx@users.noreply.github.com>
2025-09-02 15:13:02 -04:00
Timothy Messier a92c88dfb5 refact(db): Replace get_deleted_tables function with a view
This function was returning the set of deletion tables. A view seems
better suited for this task since it would allow for applying additional
filters of the result set. This was particularly necessary to easily
make changes to some sqltests due to switching the delete trigger for
the session table.

(cherry picked from commit 32d41639892950b21fafc39b50c10b997c6d5121)
2024-09-24 14:18:54 +00:00
Johan Brandhorst-Satzkorn b229ece914 internal/db: use more efficient index for host listing (#4256)
In tests, the index including the catalog_id performs significantly
better.
2024-01-19 10:59:18 -08:00
Johan Brandhorst-Satzkorn b6fe9824ab internal/db: optimize session list indexes 2024-01-11 09:44:44 -08:00
Johan Brandhorst-Satzkorn 69262c386c internal/db: renumber migrations (#4218) 2024-01-05 07:43:22 -08:00