Skip to content

Commit a5be8ba

Browse files
committed
better drawer lists, slimmer accounts table, broke out BudgetTable into smaller components for header, added account reconciliation, etc
1 parent 0809166 commit a5be8ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1561
-762
lines changed

backend/ormconfig.ts

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
import { ConnectionOptions } from "typeorm"
2+
13
const { join } = require('path')
24

3-
module.exports = {
4-
type: process.env.BUDGE_DB_DRIVER || 'sqlite',
5-
host: process.env.BUDGE_DB_HOST || 'localhost',
6-
port: process.env.BUDGE_DB_PORT || 3306,
7-
username: process.env.BUDGE_DB_USERNAME,
8-
password: process.env.BUDGE_DB_PASSWORD,
5+
const config: ConnectionOptions = {
6+
type: 'sqlite',
7+
// host: process.env.BUDGE_DB_HOST || 'localhost',
8+
// port: parseInt(process.env.BUDGE_DB_PORT) || 3306,
9+
// username: process.env.BUDGE_DB_USERNAME,
10+
// password: process.env.BUDGE_DB_PASSWORD,
911
database: process.env.BUDGE_DATABASE || './budge.sqlite',
1012
synchronize: true,
1113
logging: false,
@@ -18,3 +20,5 @@ module.exports = {
1820
subscribersDir: 'src/subscribers',
1921
},
2022
}
23+
24+
export = config

0 commit comments

Comments
 (0)