chore: Setup objectionjs as ORM

This commit is contained in:
Faruk AYDIN
2021-10-05 18:39:28 +02:00
committed by Ali BARIN
parent 908f156a45
commit f032dea77e
5 changed files with 111 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
import knexInstance from 'knex';
import knexConfig from '../../knexfile';
const knex = knexInstance(knexConfig)
export default knex;