5.2.1: Миграция удаления weekly_goals.max_score
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m25s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m25s
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Restore max_score for rollback (snapshot of goal; can be repopulated from max_goal_score)
|
||||
|
||||
ALTER TABLE weekly_goals ADD COLUMN IF NOT EXISTS max_score NUMERIC(10,4);
|
||||
UPDATE weekly_goals SET max_score = max_goal_score WHERE max_score IS NULL;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Migration: Drop weekly_goals.max_score if still present (e.g. prod where 000020 wasn't applied)
|
||||
-- normalized_total_score in weekly_report_mv uses max_goal_score; max_score is unused.
|
||||
|
||||
ALTER TABLE weekly_goals DROP COLUMN IF EXISTS max_score;
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "play-life-web",
|
||||
"version": "5.2.0",
|
||||
"version": "5.2.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user