1. 22 Nov, 2018 1 commit
  2. 11 Aug, 2018 1 commit
    • Gabriel Mazetto's avatar
      disable_statement_timeout doesn't require any argument anymore · f21e655b
      Gabriel Mazetto authored
      it will decide the method for disable statement_timeout upon
      per transaction or per session, based on how it's called.
      
      When calling with a block, block will be executed and it will use
      session based statement_timeout, otherwise will default to existing
      behavior.
      f21e655b
  3. 10 Aug, 2018 1 commit
  4. 20 Mar, 2018 1 commit
  5. 02 Aug, 2017 1 commit
  6. 06 Jul, 2017 1 commit
    • Yorick Peterse's avatar
      Add many foreign keys to the projects table · c63e3221
      Yorick Peterse authored
      This removes the need for relying on Rails' "dependent" option for data
      removal, which is _incredibly_ slow (even when using :delete_all) when
      deleting large amounts of data. This also ensures data consistency is
      enforced on DB level and not on application level (something Rails is
      really bad at).
      
      This commit also includes various migrations to add foreign keys to
      tables that eventually point to "projects" to ensure no rows get
      orphaned upon removing a project.
      c63e3221