26
Root
5y

I HATE TESTING DB MIGRATIONS! SHIT TAKES BLOODY FOREVER!

This one takes 20 freaking minutes each attempt, and I need to run it. yet again.

$@%&!

Comments
  • 8
    Ugh I hate having to wait between attempts at anything, it makes everything slow and boring

    But look at it on the bright side @Root, you can browse devrant while waiting :D
  • 5
    you can rant here while waiting ( ͡°ᴥ ͡° ʋ)

    oh is that what you just did?
  • 5
    Well that's *obviously* devRant time.

    Or you could go snort a line of coke and get a lot of energy lol
  • 4
    @Coffe2Code damn you beat me to it lol
  • 4
    The fun part is the initial data import took 24 minutes. 😅😞
  • 0
    Don't your db has downgrading option?
  • 1
    @purpletoxicrain Rollback? Yes. But I was iterating on the migration itself, and re-running it took 20 minutes each time (when it didn't fail outright, ofc).
  • 2
    maybe you could try to mount data dir of the database on ramfs if the filesystem is the bottleneck
  • 1
    @roger Good idea! I'll keep that in mind for next time.

    While a ramdisk would definitely still be faster, my work lappy has a spiffy m2, so it's probably because I'm using mysql instead of postgres. But I'm already done, so. shrug.
  • 0
    I thought you wrote "I HAVE testing db migration shits!"

    And I stopped to do a double take.
Add Comment