TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
fix: migration
Nikolai Giman08ee2af86515
diff --git a/api/src/migrations/taskview/migrate.json b/api/src/migrations/taskview/migrate.jsonindex c500f27..2edf5a6 100644--- a/api/src/migrations/taskview/migrate.json+++ b/api/src/migrations/taskview/migrate.json@@ -372,5 +372,27 @@"description": ["Added notification_preferences table with JSONB settings"]+ },+ "30": {+ "version": "1.27.0",+ "name": "Release 1.27.0",+ "releaseDate": "20260322",+ "scripts": [+ "/1.27.0/0.1.27.0.sql"+ ],+ "description": [+ "Added webhooks and webhook_deliveries tables"+ ]+ },+ "31": {+ "version": "1.28.0",+ "name": "Fix missing 1.25.0 migrations",+ "releaseDate": "20260323",+ "scripts": [+ "/1.28.0/0.fix-missing-1.25.0-migrations.sql"+ ],+ "description": [+ "Fix: apply missing migrations from 1.25.0 - convert TIMETZ to TIME and add timezone column to device_tokens"+ ]}}\ No newline at end of filediff --git a/api/src/migrations/taskview/sql/1.28.0/0.fix-missing-1.25.0-migrations.sql b/api/src/migrations/taskview/sql/1.28.0/0.fix-missing-1.25.0-migrations.sqlnew file mode 100644index 0000000..c3c2c73--- /dev/null+++ b/api/src/migrations/taskview/sql/1.28.0/0.fix-missing-1.25.0-migrations.sql@@ -0,0 +1,10 @@+-- Fix: these migrations were missing from 1.25.0 migrate.json scripts list++-- Convert TIMETZ columns to TIME (without timezone)+-- Existing values are converted to UTC automatically by "AT TIME ZONE 'UTC'"+ALTER TABLE tasks.tasks+ ALTER COLUMN start_time TYPE TIME USING start_time AT TIME ZONE 'UTC',+ ALTER COLUMN end_time TYPE TIME USING end_time AT TIME ZONE 'UTC';++ALTER TABLE tasks.device_tokens+ ADD COLUMN IF NOT EXISTS timezone VARCHAR(50) NOT NULL DEFAULT 'UTC';