An error occurred fetching the project authors.
  1. 27 Feb, 2020 1 commit
  2. 19 Feb, 2020 1 commit
  3. 05 Feb, 2020 1 commit
  4. 29 Jan, 2020 1 commit
  5. 28 Jan, 2020 1 commit
  6. 22 Jan, 2020 1 commit
  7. 15 Jan, 2020 1 commit
  8. 08 Jan, 2020 1 commit
    • charlieablett's avatar
      Standalone foreign key validation · 6ef7347b
      charlieablett authored
      - Checks for foreign key name, infers if missing
      - Designed to be standalone method specifically for calling
      after a foreign key has been created, but can't be validated
      yet, usually because there's data to be cleaned up
      - Add helpful error message
      6ef7347b
  9. 06 Jan, 2020 2 commits
    • charlieablett's avatar
      Apply reviewer feedback · 69055aa6
      charlieablett authored
      - Use `let` instead of local variable
      - Add comment to make the consequences of `validate: false`
      explicit
      69055aa6
    • charlieablett's avatar
      Skip validation for concurrent foreign key · fb43f374
      charlieablett authored
      Add `validate: false` option for adding concurrent foreign key.
      This allows the table lock to be held for a minimal amount of time
      while still performing the checks that `add_concurrent_foreign_key`
      performs for adding a foreign key to a table that may contain invalid
      data, allowing us to put off any validation to a different time.
      fb43f374
  10. 17 Dec, 2019 1 commit
  11. 02 Dec, 2019 1 commit
  12. 27 Nov, 2019 2 commits
  13. 01 Nov, 2019 1 commit
  14. 05 Sep, 2019 2 commits
  15. 25 Aug, 2019 2 commits
  16. 24 Aug, 2019 1 commit
    • Reuben Pereira's avatar
      Drop existing trigger before creating new one · 599cc499
      Reuben Pereira authored
      - When renaming a column concurrently, drop any existing trigger before
      attempting to create a new one.
      
      When running migration specs multiple times (as it happens during
      local development), the down method of previous migrations are called.
      If any of the called methods contains a call to
      rename_column_concurrently, a trigger will be created and not removed.
      So, the next time a migration spec is run, if the same down method is
      executed again, it will cause an error when attempting to create the
      trigger (since it already exists). Dropping the trigger if it already
      exists will prevent this problem.
      599cc499
  17. 26 Jul, 2019 1 commit
  18. 23 Jul, 2019 2 commits
  19. 18 Jul, 2019 1 commit
    • Alex Kalderimis's avatar
      Improves add_timestamps_with_timezone helper · eda789c3
      Alex Kalderimis authored
      This improves the `add_timestamps_with_timezone` helper by allowing the
      column names to be configured. This has the advantage that unnecessary
      columns can be avoided, saving space.
      
      A helper for removing the columns is also provided, to be used in the
      `down` method of migrations.
      eda789c3
  20. 28 Jun, 2019 1 commit
  21. 19 Jun, 2019 2 commits
  22. 17 Jun, 2019 2 commits
  23. 14 Dec, 2018 2 commits
  24. 14 Nov, 2018 2 commits
    • Jan Provaznik's avatar
      Address specs failing in rails 4 · 4aba9744
      Jan Provaznik authored
      We want to run CI with rails 4 for a short-term (until we are sure that
      we will ship with rails 5). The problem is that rails 4 can not handle
      rails 5 schema.rb properly - specifically `t.index` directive can not
      handle multiple indexes on the same column.
      
      Because combination of rails 4 + rails 5 schema will be used
      only in CI for a short-term, we can just ignore these incompatibility
      failures. This patch adds `rails5` helper for specs.
      4aba9744
    • Jan Provaznik's avatar
      Address specs failing in rails 4 · 134edbd7
      Jan Provaznik authored
      We want to run CI with rails 4 for a short-term (until we are sure that
      we will ship with rails 5). The problem is that rails 4 can not handle
      rails 5 schema.rb properly - specifically `t.index` directive can not
      handle multiple indexes on the same column.
      
      Because combination of rails 4 + rails 5 schema will be used
      only in CI for a short-term, we can just ignore these incompatibility
      failures. This patch adds `rails5` helper for specs.
      134edbd7
  25. 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
  26. 10 Aug, 2018 2 commits
  27. 26 Jun, 2018 1 commit
  28. 28 Mar, 2018 1 commit
  29. 20 Mar, 2018 2 commits