@dbcube/core 5.2.8 → 5.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -473,7 +473,7 @@ export interface ComputedFieldConfig {
|
|
|
473
473
|
created_at: string;
|
|
474
474
|
updated_at: string;
|
|
475
475
|
}
|
|
476
|
-
type DatabaseType$1 = "mysql" | "sqlite" | "postgres" | "mongodb";
|
|
476
|
+
type DatabaseType$1 = "mysql" | "sqlite" | "postgres" | "postgresql" | "mongodb";
|
|
477
477
|
export declare class ComputedFieldProcessor {
|
|
478
478
|
static getComputedFields(name: string): Promise<any[]>;
|
|
479
479
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -473,7 +473,7 @@ export interface ComputedFieldConfig {
|
|
|
473
473
|
created_at: string;
|
|
474
474
|
updated_at: string;
|
|
475
475
|
}
|
|
476
|
-
type DatabaseType$1 = "mysql" | "sqlite" | "postgres" | "mongodb";
|
|
476
|
+
type DatabaseType$1 = "mysql" | "sqlite" | "postgres" | "postgresql" | "mongodb";
|
|
477
477
|
export declare class ComputedFieldProcessor {
|
|
478
478
|
static getComputedFields(name: string): Promise<any[]>;
|
|
479
479
|
/**
|
package/dist/index.js
CHANGED
|
@@ -2975,6 +2975,7 @@ var TableProcessor = class {
|
|
|
2975
2975
|
case "mysql":
|
|
2976
2976
|
return generateMySQLQueries(nowColumns, oldColumns, tableName);
|
|
2977
2977
|
case "postgres":
|
|
2978
|
+
case "postgresql":
|
|
2978
2979
|
return generatePostgreSQLQueries(nowColumns, oldColumns, tableName);
|
|
2979
2980
|
case "sqlite":
|
|
2980
2981
|
return generateSQLiteQueries(nowSchema, oldSchema, tableName);
|