@mikro-orm/sql 7.0.0-dev.169 → 7.0.0-dev.170

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/typings.d.ts CHANGED
@@ -111,6 +111,11 @@ export interface TableDifference {
111
111
  changedForeignKeys: Dictionary<ForeignKey>;
112
112
  removedForeignKeys: Dictionary<ForeignKey>;
113
113
  }
114
+ export interface DatabaseView {
115
+ name: string;
116
+ schema?: string;
117
+ definition: string;
118
+ }
114
119
  export interface SchemaDifference {
115
120
  newNamespaces: Set<string>;
116
121
  newNativeEnums: {
@@ -121,6 +126,12 @@ export interface SchemaDifference {
121
126
  newTables: Dictionary<DatabaseTable>;
122
127
  changedTables: Dictionary<TableDifference>;
123
128
  removedTables: Dictionary<DatabaseTable>;
129
+ newViews: Dictionary<DatabaseView>;
130
+ changedViews: Dictionary<{
131
+ from: DatabaseView;
132
+ to: DatabaseView;
133
+ }>;
134
+ removedViews: Dictionary<DatabaseView>;
124
135
  removedNamespaces: Set<string>;
125
136
  removedNativeEnums: {
126
137
  name: string;