We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9faf22a commit 4ddeab6Copy full SHA for 4ddeab6
pkg/postgres/migrations/202512021500_stakerSharesView/up.go
@@ -14,7 +14,7 @@ type Migration struct {
14
func (m *Migration) Up(db *sql.DB, grm *gorm.DB, cfg *config.Config) error {
15
queries := []string{
16
// VIEW combines base shares + withdrawal queue adjustments
17
- `create view if not exists staker_share_snapshots_final as
+ `create or replace view staker_share_snapshots_final as
18
select
19
coalesce(base.staker, wq.staker) as staker,
20
coalesce(base.strategy, wq.strategy) as strategy,
0 commit comments