-- =============================================================================
-- 01-baseline-migrations.sql
-- Marks InitialSchema + NewDatabaseConnection as applied WITHOUT re-running them.
-- Required because production has old migration names (177771...) but local code
-- expects new names (178072..., 178073...).
-- Safe to run multiple times.
-- =============================================================================

INSERT INTO migrations (timestamp, name)
SELECT 1780721550917, 'InitialSchema1780721550917'
WHERE NOT EXISTS (
  SELECT 1 FROM migrations WHERE name = 'InitialSchema1780721550917'
);

INSERT INTO migrations (timestamp, name)
SELECT 1780738512641, 'NewDatabaseConnection1780738512641'
WHERE NOT EXISTS (
  SELECT 1 FROM migrations WHERE name = 'NewDatabaseConnection1780738512641'
);

SELECT id, timestamp, name FROM migrations ORDER BY timestamp;
