remodel to be independant of database

This commit is contained in:
2020-04-23 18:58:06 +02:00
parent 95814c5541
commit fccd69db74
8 changed files with 85 additions and 1508 deletions

View File

@ -2,7 +2,7 @@ import knex from 'knex';
import test from 'ava';
import express, { Request, Response } from 'express';
import { http } from '@scode/consts';
import { KnexCrudHandler } from '../lib/KnexCrudHandler';
import { KnexCrudHandler } from '../lib/DatabaseCrudHandler';
const db = knex ({
client: 'sqlite',