replace python django backend with nodejs backend
This commit is contained in:
14
backend/knexfile.ts
Normal file
14
backend/knexfile.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
// only used for migration creation in dev
|
||||
//TODO there seems to unneccessary stuff in here
|
||||
const config = {
|
||||
client: "sqlite3",
|
||||
useNullAsDefault: true,
|
||||
connection: {
|
||||
filename: "./dev.sqlite3"
|
||||
},
|
||||
migrations: {
|
||||
directory: './src/migrations'
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user