What are the best practices for seeders after migration? #1810
Answered
by
YuriiMotov
yusuke2930
asked this question in
Questions
-
I want to insert master data which is seed data after migration. |
Beta Was this translation helpful? Give feedback.
Answered by
YuriiMotov
Sep 1, 2025
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YuriiMotov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
init_db
function frombackend/app/core/db.py
serves this specific purpose.In default configuration. it's run by
prestart
service right after applying migrations (seebackend/scripts/prestart.sh
)