Skip to content
Snippets Groups Projects
  1. Nov 22, 2016
  2. Nov 21, 2016
  3. Nov 11, 2016
  4. Nov 09, 2016
  5. Nov 08, 2016
  6. Nov 07, 2016
  7. Nov 04, 2016
  8. Nov 03, 2016
  9. Nov 01, 2016
  10. Oct 31, 2016
  11. Oct 28, 2016
  12. Oct 27, 2016
  13. Oct 25, 2016
  14. Oct 24, 2016
    • João Victor Tozatti Risso's avatar
      Migrate API to v2 database schema · d38e8612
      João Victor Tozatti Risso authored
      Change SQL queries in the following routes:
      
      * city
      * state
      * region
      * school
      * enrollment
      
      Also, change tests to reflect the new schema where appropriate. Specially in the case of cities, the primary key now becomes pk_cod_ibge (city IBGE code) and, therefore, any query that relies on the city id should use this value instead of the old primary key.
      
      Aliases of fields that have different names were added to ensure compatibility with the UI of LDE.
      
      Please refer to the database repository in order to understand how the current schema works. The corresponding ER diagram can be located there.
      d38e8612
Loading