Skip to content

Commit a7c7889

Browse files
committed
fix: update dataSource from 'sqlite' to 'maindb' in agent plugin resources
1 parent f6df9db commit a7c7889

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • adminforth/documentation/docs/tutorial/08-Plugins

adminforth/documentation/docs/tutorial/08-Plugins/01-agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function allowedForSuperAdmins({ adminUser }: { adminUser: AdminUser }): P
4343
}
4444

4545
export default {
46-
dataSource: 'sqlite',
46+
dataSource: 'maindb',
4747
table: 'sessions',
4848
resourceId: 'sessions',
4949
label: 'Sessions',
@@ -102,7 +102,7 @@ async function allowedForSuperAdmins({ adminUser }: { adminUser: AdminUser }): P
102102
}
103103

104104
export default {
105-
dataSource: 'sqlite',
105+
dataSource: 'maindb',
106106
table: 'turns',
107107
resourceId: 'turns',
108108
label: 'Turns',
@@ -514,7 +514,7 @@ import { AdminForthDataTypes } from 'adminforth';
514514
import type { AdminForthResourceInput } from 'adminforth';
515515

516516
export default {
517-
dataSource: 'sqlite',
517+
dataSource: 'maindb',
518518
table: 'checkpoints',
519519
resourceId: 'checkpoints',
520520
label: 'Checkpoints',

0 commit comments

Comments
 (0)