Skip to content
Snippets Groups Projects
  1. Apr 20, 2020
  2. Apr 14, 2020
  3. Apr 11, 2020
    • Erwan Rouchet's avatar
      Add region source to both classifications and elements · f9e034b2
      Erwan Rouchet authored
      The regions migration was done before the addition of
      sources on elements, but due to the order in which they
      have been merged, sources were added before it.
      
      To avoid re-running the documents.0009 migration, one can
      use the following SQL query, assuming nobody has yet created
      new elements with the new types created from regions:
      UPDATE documents_element elt SET elt.source_id = cls.source_id
      FROM documents_classification cls
      WHERE elt.id = cls.element_id
      AND elt.type_id IN (SELECT id from documents_elementtype WHERE slug LIKE 'region_%');
      f9e034b2
  4. Apr 10, 2020
  5. Apr 09, 2020
  6. Apr 08, 2020
  7. Apr 07, 2020
  8. Apr 06, 2020
  9. Apr 03, 2020
  10. Apr 02, 2020
  11. Mar 31, 2020
  12. Mar 30, 2020
  13. Mar 27, 2020
  14. Mar 25, 2020
Loading