Closed ashiklom closed 6 years ago
Thanks for adding this - maybe add some examples, and distinguish editing from adding fields, as well as adding new tables.
@robkooper Added the generate migration
task string -- that's really handy.
@dlebauer Added a few examples based on existing migrations. Not sure what you mean by "distinguish editing from adding fields, as well as adding new tables". Adding tables and adding, removing, or modifying fields all fall under the db:migrate
set of tasks, right? Or are some of these done with some other mechanism?
They are all similar but examples are different. On Wed, Feb 7, 2018 at 12:47 PM Rob Kooper notifications@github.com wrote:
@robkooper approved this pull request.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PecanProject/betydb-documentation/pull/6#pullrequestreview-94821269, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcX52EQwmeSKwm8K1MDHgORCYIpRkzqks5tSe10gaJpZM4R8zpT .
So...is this good to go, or do I need to make further changes?
Good to go On Thu, Feb 8, 2018 at 8:35 AM Alexey Shiklomanov notifications@github.com wrote:
So...is this good to go, or do I need to make further changes?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PecanProject/betydb-documentation/pull/6#issuecomment-364129502, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcX55fEsh5qhgYH-I9IGS3HMOEUSXfaks5tSwXTgaJpZM4R8zpT .
Simple overview of how
db:migrate
works, with a link to a more comprehensive guide from the Rails documentation.