feat(core): Show data table per table storage usage (no-changelog) (#19480)

This commit is contained in:
Daria
2025-09-17 10:20:33 +03:00
committed by GitHub
parent 3278b36e28
commit 763d17bb1f
14 changed files with 384 additions and 165 deletions

View File

@@ -293,3 +293,7 @@ export function toTableName(dataStoreId: string): DataStoreUserTableName {
const { tablePrefix } = Container.get(GlobalConfig).database;
return `${tablePrefix}data_table_user_${dataStoreId}`;
}
export function toTableId(tableName: DataStoreUserTableName) {
return tableName.replace(/.*data_table_user_/, '');
}