All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 39s
15 lines
580 B
SQL
15 lines
580 B
SQL
-- Migration: Add repetition_period field to tasks table
|
|
-- This script adds the repetition_period field for recurring tasks
|
|
|
|
-- ============================================
|
|
-- Add repetition_period column
|
|
-- ============================================
|
|
ALTER TABLE tasks
|
|
ADD COLUMN IF NOT EXISTS repetition_period INTERVAL;
|
|
|
|
-- ============================================
|
|
-- Comments for documentation
|
|
-- ============================================
|
|
COMMENT ON COLUMN tasks.repetition_period IS 'Period after which task should be repeated (NULL means task is not recurring)';
|
|
|