Seed data on migration #4587
Unanswered
mdmontesinos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could use the IInstallable interface. Usually its only used to execute database migrations however you are free to implement whatever logic you want:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to seed table data during migrations without using raw sql queries?
I've been trying to do it but the BaseEntityBuilder does not expose the inner MigrationBuilder nor any method to insert data.
Beta Was this translation helpful? Give feedback.
All reactions