mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 11:58:07 +01:00
- Renumber 8 duplicate migration files (002, 004, 005, 008, 020, 027, 040) that caused silent skipping during execution - Clean TABLE_NAMES: add 12 missing schema tables, keep legacy raw-SQL tables with clear comments, remove truly phantom entries - Wrap bulk import product+inventory in transaction (was 2 separate writes) - Wrap marketplace conversation+message+metadata in transaction (race fix) - Add missing indexes: listings(verifiedAt), listings(priceChf), users(isStaff, createdAt) + migration 055 - Sync Drizzle schema with new indexes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 lines
398 B
SQL
10 lines
398 B
SQL
-- Migration 027: Add input_method column to meeting_protocols
|
|
-- Pipeline entry point: audio, transcript, notes, tasks
|
|
|
|
ALTER TABLE meeting_protocols
|
|
ADD COLUMN IF NOT EXISTS input_method TEXT DEFAULT 'transcript'
|
|
CHECK (input_method IN ('audio', 'transcript', 'notes', 'tasks'));
|
|
|
|
COMMENT ON COLUMN meeting_protocols.input_method
|
|
IS 'Pipeline entry point: audio, transcript, notes, tasks';
|