All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
15 lines
575 B
SQL
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)';
|
|
|