fix: remove incompatible schema_migrations tracking from migrations 012-013
The db_init.py system uses (filename, applied_at) schema, not (version, description). Removing manual INSERT statements - db_init.py handles tracking automatically.
This commit is contained in:
1 parent
fe5d29e40e
commit
0be9fd840c
2 files changed
-16
No files matched your search
@@ -107,14 +107,6 @@ BEGIN
|
|||||||
END $seed$;
|
END $seed$;
|
||||||
|
|
||||||
|
|
||||||
-- ============================================================================
|
|
||||||
-- MIGRATION TRACKING
|
|
||||||
-- ============================================================================
|
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version, description)
|
|
||||||
VALUES (12, 'exercise_training_characters + trainer_contexts')
|
|
||||||
ON CONFLICT (version) DO NOTHING;
|
|
||||||
|
|
||||||
RAISE NOTICE 'Migration 012 completed successfully';
|
RAISE NOTICE 'Migration 012 completed successfully';
|
||||||
|
|
||||||
END $$;
|
END $$;
|
||||||
@@ -128,14 +128,6 @@ BEGIN
|
|||||||
END $constraint$;
|
END $constraint$;
|
||||||
|
|
||||||
|
|
||||||
-- ============================================================================
|
|
||||||
-- MIGRATION TRACKING
|
|
||||||
-- ============================================================================
|
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version, description)
|
|
||||||
VALUES (13, 'training_types focus_area hierarchy')
|
|
||||||
ON CONFLICT (version) DO NOTHING;
|
|
||||||
|
|
||||||
RAISE NOTICE 'Migration 013 completed successfully';
|
RAISE NOTICE 'Migration 013 completed successfully';
|
||||||
|
|
||||||
END $$;
|
END $$;
|
||||||
Reference in new issue
Block a user