monologue icon indicating copy to clipboard operation
monologue copied to clipboard

db/migrate files needs cleanup

Open omricohen opened this issue 7 years ago • 3 comments

On first install I can run db:migrate, but then wanted to make changes to the models and cannot rollback any of monlogues' migrations.

I think on a fresh install it should have a cleaner list of migrate files and possibly an upgrade rake command. What do you think? If you have a good idea on how to separate the upgrade migrations I'm happy to submit a PR...

omricohen avatar Mar 01 '17 12:03 omricohen

Or better yet, forget the upgrades, didnt realize how old those files are...

omricohen avatar Mar 01 '17 12:03 omricohen

I agree. We could safely start from a clean slate at that stage

On Wed, Mar 1, 2017, 7:44 AM Omri Cohen [email protected] wrote:

Or better yet, forget the upgrades, didnt realize how old those files are...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jipiboily/monologue/issues/311#issuecomment-283330371, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jVeMigLoz6F_lTEICOPGLOEVrFHfCks5rhWglgaJpZM4MPmkM .

msevestre avatar Mar 01 '17 13:03 msevestre

I submitted a PR on this, not passing tests for some reason, but feel free to take a look https://github.com/jipiboily/monologue/pull/312

omricohen avatar Mar 01 '17 13:03 omricohen