Skip to content

Commit f4bf31b

Browse files
committed
Automatically install cube extension when the model has a cube property
Continues npgsql#3651
1 parent 890e652 commit f4bf31b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/EFCore.PG/Metadata/Conventions/NpgsqlPostgresModelFinalizingConvention.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ protected virtual void DiscoverPostgresExtensions(
7171
case "ltxtquery":
7272
modelBuilder.HasPostgresExtension("ltree");
7373
break;
74+
case "cube":
75+
modelBuilder.HasPostgresExtension("cube");
76+
break;
7477
}
7578
}
7679

0 commit comments

Comments
 (0)