Fixed dockerfile, added a docker-compose.yml, added db init function to run on every startup
This commit is contained in:
@@ -10,4 +10,6 @@ export const db = new Database(db_filepath);
|
||||
|
||||
export function init () {
|
||||
Event.createTable(db);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
Reference in New Issue
Block a user