Skip to content

Commit

Permalink
Merge pull request #16 from Open-Earth-Foundation/feature/inventory-crud
Browse files Browse the repository at this point in the history
I'm still having problems with configuration, but I'd rather pull this now and work in the main branch.
  • Loading branch information
evanp committed Aug 13, 2023
2 parents 12ea81d + a98257a commit d71848e
Show file tree
Hide file tree
Showing 85 changed files with 6,030 additions and 574 deletions.
9 changes: 9 additions & 0 deletions app/.sequelizerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const path = require('path');

module.exports = {
'config': path.resolve('config', 'config.json'),
'models-path': path.resolve('src', 'models'),
'seeders-path': path.resolve('seeders'),
'migrations-path': path.resolve('migrations'),
};

15 changes: 8 additions & 7 deletions app/config/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"development": {
"username": "root",
"username": "citycatalyst",
"password": null,
"database": "database_development",
"database": "citycatalyst",
"host": "127.0.0.1",
"dialect": "mysql"
"dialect": "postgres",
"logging": true
},
"test": {
"username": "root",
"password": null,
"database": "database_test",
"database": "citycatalyst_test",
"host": "127.0.0.1",
"dialect": "mysql"
"dialect": "postgres"
},
"production": {
"username": "root",
"password": null,
"database": "database_production",
"database": "citycatalyst_prod",
"host": "127.0.0.1",
"dialect": "mysql"
"dialect": "postgres"
}
}
Loading

0 comments on commit d71848e

Please sign in to comment.