mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
10 lines
254 B
TypeScript
10 lines
254 B
TypeScript
import Knex from 'knex';
|
|
import { knexSnakeCaseMappers } from 'objection';
|
|
import { systemKnexConfig } from '@/config/knexConfig';
|
|
|
|
export default () => {
|
|
return Knex({
|
|
...systemKnexConfig,
|
|
...knexSnakeCaseMappers({ upperCase: true }),
|
|
});
|
|
}; |