fix(migrations): correct migration numbers and remove broken trigger
Migration 000029 and 000030 had off-by-one numbering in comments/notices. Also removed update_updated_at_column() trigger from 000030 as the function is never defined and no other table uses this pattern.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Migration: 000028_datasource_tables
|
||||
-- Migration: 000029_datasource_tables
|
||||
-- Description: Create data_sources and sync_logs tables for external data source management
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000028] Creating data_sources and sync_logs tables'; END $$;
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000029] Creating data_sources and sync_logs tables'; END $$;
|
||||
|
||||
-- Create data_sources table for managing external data source configurations
|
||||
CREATE TABLE IF NOT EXISTS data_sources (
|
||||
@@ -57,4 +57,4 @@ CREATE INDEX IF NOT EXISTS idx_sync_logs_status ON sync_logs (status);
|
||||
CREATE INDEX IF NOT EXISTS idx_sync_logs_started_at ON sync_logs (started_at);
|
||||
|
||||
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000028] data_sources and sync_logs tables created successfully'; END $$;
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000029] data_sources and sync_logs tables created successfully'; END $$;
|
||||
|
||||
Reference in New Issue
Block a user