You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Add effective_date column for allocation/deallocation rounding
44
+
// This is a computed value based on magnitude changes (round UP for increases, DOWN for decreases)
45
+
// block_timestamp can be derived from block_number FK to blocks table
46
+
`alter table operator_allocations add column if not exists effective_date date`,
47
+
48
+
// Create index for effective_date queries (includes operator_set_id for proper partitioning)
49
+
`create index if not exists idx_operator_allocations_effective_date on operator_allocations(operator, avs, strategy, operator_set_id, effective_date)`,
0 commit comments