mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: remove Webpack and depend on nodemon. feat: refactoring expenses. feat: optimize system users with caching. feat: architecture tenant optimize.
10 lines
252 B
TypeScript
10 lines
252 B
TypeScript
import Knex from 'knex';
|
|
import { knexSnakeCaseMappers } from 'objection';
|
|
import { systemKnexConfig } from 'config/knexConfig';
|
|
|
|
export default () => {
|
|
return Knex({
|
|
...systemKnexConfig,
|
|
...knexSnakeCaseMappers({ upperCase: true }),
|
|
});
|
|
}; |