feat: 🎸 add sqlite support for scopes (#2968)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17415
This commit is contained in:
Lisbet Alvarez authored and Zhihe Li committed 2025-09-03 11:41:42 -04:00
1 parent 9e612cf83d
commit ba7b8b8824
76 files changed
+268 -14

No files matched your search

+9
View File
@@ -57,6 +57,14 @@ export const modelMapping = {
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
scope: {
id: 'id',
type: 'type',
name: 'name',
description: 'description',
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
};
// A list of tables that we support searching using FTS5 in SQLite.
@@ -66,6 +74,7 @@ export const searchTables = new Set([
'role',
'user',
'credential-store',
'scope',
]);
export default class SqliteDbService extends Service {