Fork me on GitHub
#untangled
<
2017-01-14
>
tony.kay18:01:56

@michaeldrogalis In general the idea is that migrations are schema-only, and that they should be additive. There is a seed-fn parameter that let's you tack in whatever you want as a post-migration function (which does get a connection if I remember right)

tony.kay18:01:30

so, you would simply set up your system to run the schema migrations, and include your own subsystem for whatever post-processing/seeding you feel is necessary

michaeldrogalis18:01:50

@tony.kay We have some atypical requirements that require seed data to be transacted only once. I ended up using a transactor function to get the job done. Worked fine. 🙂

michaeldrogalis18:01:59

Thank you for the reply!

tony.kay18:01:07

welcome...sorry for the delay

michaeldrogalis18:01:16

Not at all, thank you 🙂