This commit is contained in:
2025-12-03 11:45:32 +01:00
parent 4a6da06580
commit 9ab5543c5c
14 changed files with 70 additions and 10 deletions
+2
View File
@@ -128,6 +128,7 @@ export type DSQL_DATASQUIREL_USER_DATABASES = {
active_clone_parent_db?: string;
active_clone_parent_db_id?: number;
active_data?: number;
collation?: string;
last_checked_date_code?: number;
date_created?: string;
date_created_code?: number;
@@ -152,6 +153,7 @@ export type DSQL_DATASQUIREL_USER_DATABASE_TABLES = {
child_table_parent_database_schema_id?: number;
child_table_parent_table_schema_id?: number;
active_data?: 0 | 1;
collation?: string;
last_checked_date_code?: number;
date_created?: string;
date_created_code?: number;
+7
View File
@@ -80,12 +80,18 @@ export interface DSQL_DatabaseSchemaType {
childDatabase?: boolean;
childDatabaseDbId?: string | number;
updateData?: boolean;
collation?: (typeof MariaDBCollations)[number];
}
export interface DSQL_ChildrenDatabaseObject {
dbId?: string | number;
}
export const MariaDBCollations = [
"utf8mb4_bin",
"utf8mb4_unicode_520_ci",
] as const;
export interface DSQL_TableSchemaType {
id?: string | number;
tableName: string;
@@ -98,6 +104,7 @@ export interface DSQL_TableSchemaType {
childTableId?: string | number;
tableNameOld?: string;
childTableDbId?: string | number;
collation?: (typeof MariaDBCollations)[number];
}
export interface DSQL_ChildrenTablesType {