1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

DarkRP: Database: Half decent migration system + 20190914 migration

Discussion in 'Development Stream' started by Bot, Sep 14, 2019.

  1. Bot


    By: FPtje
    Database: Half decent migration system + 20190914 migration

    See #2947

    The previous migration system was a half assed combination of using a DB version
    and just checking whether tables and stuff, and migrate based on that.

    The code used to always run migrations, with the knowledge that they would be
    idempotent. Now the migrations are not performed unless really necessary. This
    saves unnecessary code from being run (@McNuggets1), specifically it saves the
    running of queries at startup.

    Detailed information on Github

Share This Page