Первоначальный коммит

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
poignatov-home
2026-02-08 17:01:36 +03:00
commit bad198ce29
217 changed files with 57075 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
-- Migration: Add deleted field to projects table
-- This script adds a deleted boolean field to mark projects as deleted (soft delete)
-- Add deleted column to projects table
ALTER TABLE projects
ADD COLUMN IF NOT EXISTS deleted BOOLEAN NOT NULL DEFAULT FALSE;
-- Create index on deleted column for better query performance
CREATE INDEX IF NOT EXISTS idx_projects_deleted ON projects(deleted);
-- Add comment for documentation
COMMENT ON COLUMN projects.deleted IS 'Soft delete flag: TRUE if project is deleted, FALSE otherwise';