Skip to content

Commit

Permalink
Merge pull request #420 from OpenEnergyDashboard/0.5-rc1
Browse files Browse the repository at this point in the history
This is 0.5 πŸŽ‰πŸš€πŸŽ†
  • Loading branch information
NoraCodes authored May 3, 2019
2 parents 5b147c5 + 5cb3da3 commit 1eddf53
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Open-Energy-Dashboard",
"version": "0.3.0",
"version": "0.5.0",
"private": false,
"license": "MPL-2.0",
"repository": "https://github.com/OpenEnergyDashboard/OED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ const sqlFile = database.sqlFile;

module.exports = {
fromVersion: '0.3.0',
toVersion: '0.4.0',
toVersion: '0.5.0',
up: async db => {
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/preferences/create_language_types_enum.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/preferences/add_language_column.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/logemail/create_log_table.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/meter_options/add_meter_options.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/baseline/create_baseline_table.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/baseline/create_function_get_average_reading.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/readings/set_reading_type_to_real.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/fast-pt-compression/create_compressed_reading_views.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/fast-pt-compression/create_function_get_compare_readings.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.4.0/sql/compareReadings/create_function_get_compare_readings.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/preferences/create_language_types_enum.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/preferences/add_language_column.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/logemail/create_log_table.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/meter_options/add_meter_options.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/baseline/create_baseline_table.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/baseline/create_function_get_average_reading.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/readings/set_reading_type_to_real.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/fast-pt-compression/create_compressed_reading_views.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/fast-pt-compression/create_function_get_compare_readings.sql'));
await db.none(sqlFile('../migrations/0.3.0-0.5.0/sql/compareReadings/create_function_get_compare_readings.sql'));
}
};
2 changes: 1 addition & 1 deletion src/server/migrations/registerMigration.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const migrations = [
/* eslint-disable global-require */
//require('./0.2.0-0.3.0-Template/indexTemplate'),
require('./0.3.0-0.4.0')
require('./0.3.0-0.5.0')
/* eslint-disable global-require */
];

Expand Down

0 comments on commit 1eddf53

Please sign in to comment.