File tree Expand file tree Collapse file tree
tests/Eftdb.Tests/Integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using CmdScale . EntityFrameworkCore . TimescaleDB . Abstractions ;
12using CmdScale . EntityFrameworkCore . TimescaleDB . Configuration . ContinuousAggregate ;
23using CmdScale . EntityFrameworkCore . TimescaleDB . Configuration . ContinuousAggregatePolicy ;
34using CmdScale . EntityFrameworkCore . TimescaleDB . Configuration . Hypertable ;
@@ -405,7 +406,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
405406 source => source . Timestamp ,
406407 true ,
407408 "30 days" )
408- . AddAggregateFunction ( cagg => cagg . MaxValue , source => source . Value , Abstractions . EAggregateFunction . Max )
409+ . AddAggregateFunction ( cagg => cagg . MaxValue , source => source . Value , EAggregateFunction . Max )
409410 . WithRefreshPolicy ( startOffset : "30 days" , endOffset : "1 day" , scheduleInterval : "1 day" ) ;
410411 } ) ;
411412 }
You can’t perform that action at this time.
0 commit comments