mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
refactor: manual journal.
This commit is contained in:
@@ -6,6 +6,15 @@ import DateSession from 'models/DateSession';
|
||||
|
||||
export default class ModelBase extends mixin(Model, [DateSession]) {
|
||||
|
||||
|
||||
static query(...args) {
|
||||
return super.query(...args).onBuildKnex(knexQueryBuilder => {
|
||||
knexQueryBuilder.on('query', queryData => {
|
||||
console.log(queryData);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
get timestamps() {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user