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:
parent
fe5d29e40e
commit
0be9fd840c
|
|
@ -107,14 +107,6 @@ BEGIN
|
|||
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';
|
||||
|
||||
END $$;
|
||||
|
|
|
|||
|
|
@ -128,14 +128,6 @@ BEGIN
|
|||
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';
|
||||
|
||||
END $$;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user