Files
play-life/play-life-backend/migrations_old/017_add_next_show_at.sql
poignatov 90643c504a
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m19s
4.0.0: Исправлена обработка старых дампов
2026-01-25 16:41:50 +03:00

15 lines
575 B
SQL

-- Migration: Add next_show_at field to tasks table
-- This script adds the next_show_at field for postponing tasks
-- ============================================
-- Add next_show_at column
-- ============================================
ALTER TABLE tasks
ADD COLUMN IF NOT EXISTS next_show_at TIMESTAMP WITH TIME ZONE;
-- ============================================
-- Comments for documentation
-- ============================================
COMMENT ON COLUMN tasks.next_show_at IS 'Date when task should be shown again (NULL means use last_completed_at + period)';