Skip to content

Commit

Permalink
Merge pull request #386 from Open-Earth-Foundation/feature/population…
Browse files Browse the repository at this point in the history
…-multiple-years

Allow multiple inventory years, add region and country population during onboarding
  • Loading branch information
lemilonkh authored Mar 20, 2024
2 parents 3374856 + d373ebb commit 414a168
Show file tree
Hide file tree
Showing 16 changed files with 735 additions and 172 deletions.
16 changes: 16 additions & 0 deletions app/migrations/20240318105130-region-population.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"use strict";

/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn(
"Population",
"region_population",
Sequelize.BIGINT,
);
},

async down(queryInterface) {
await queryInterface.removeColumn("Population", "region_population");
},
};
Loading

0 comments on commit 414a168

Please sign in to comment.