@mikro-orm/sql 7.0.0-dev.175 → 7.0.0-dev.176
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/dialects/postgresql/BasePostgreSqlPlatform.d.ts +1 -0
- package/dialects/postgresql/BasePostgreSqlPlatform.js +3 -0
- package/dialects/postgresql/PostgreSqlSchemaHelper.d.ts +5 -0
- package/dialects/postgresql/PostgreSqlSchemaHelper.js +27 -0
- package/package.json +2 -2
- package/schema/DatabaseSchema.d.ts +1 -1
- package/schema/DatabaseSchema.js +7 -3
- package/schema/SchemaHelper.d.ts +5 -0
- package/schema/SchemaHelper.js +15 -0
- package/schema/SqlSchemaGenerator.js +36 -6
- package/tsconfig.build.tsbuildinfo +1 -1
- package/typings.d.ts +4 -0
package/typings.d.ts
CHANGED
|
@@ -115,6 +115,10 @@ export interface DatabaseView {
|
|
|
115
115
|
name: string;
|
|
116
116
|
schema?: string;
|
|
117
117
|
definition: string;
|
|
118
|
+
/** True if this is a materialized view (PostgreSQL only). */
|
|
119
|
+
materialized?: boolean;
|
|
120
|
+
/** For materialized views, whether data was populated on creation. */
|
|
121
|
+
withData?: boolean;
|
|
118
122
|
}
|
|
119
123
|
export interface SchemaDifference {
|
|
120
124
|
newNamespaces: Set<string>;
|