feat: pagination with total count (#3384)
* feat: add totalCount * feat: add command for production to fix existing tables
This commit is contained in:
@ -140,6 +140,11 @@ export class WorkspaceMigrationRunnerService {
|
||||
}),
|
||||
true,
|
||||
);
|
||||
|
||||
// Enable totalCount for the table
|
||||
await queryRunner.query(`
|
||||
COMMENT ON TABLE "${schemaName}"."${tableName}" IS '@graphql({"totalCount": {"enabled": true}})';
|
||||
`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user