Skip to content
Snippets Groups Projects
  1. Sep 27, 2019
  2. Sep 18, 2019
  3. Sep 04, 2019
  4. Aug 27, 2019
    • Mayra Cabrera's avatar
      Migrations guide: use atomic steps, when possible · 9d5ea420
      Mayra Cabrera authored and Evan Read's avatar Evan Read committed
      Currently, the DB migrations guide says that "you must" use non-blocking
      operations (such as CREATE INDEX CONCURRENTLY), always.
      
      But this does not make sense in cases of empty tables and leads to
      splitting the work to multiple non-atomic
      (with disable_ddl_transaction!) DB migrations.
      
      To follow KISS principle, to have fewer DB migrations steps,
      to have them atomic when it's possible and simplify deployment
      and troubleshooting, the following exceptions were added
      to the doc:
      
      - index creation,
      - index dropping,
      - defining an FK,
      - adding a column with DEFAULT,
      9d5ea420
  5. Aug 09, 2019
  6. Jul 25, 2019
  7. Jul 19, 2019
Loading