ionian/src/config.ts
2022-06-29 21:14:39 +09:00

23 lines
420 B
TypeScript

import {Knex as k} from "knex";
export namespace Knex {
export const config: {
development: k.Config,
production: k.Config
} = {
development: {
client: 'sqlite3',
connection: {
filename: './devdb.sqlite3'
},
debug: true,
},
production: {
client: 'sqlite3',
connection: {
filename: './db.sqlite3',
},
}
};
}