summary refs log tree commit diff
path: root/util/ormconfig.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 14:09:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 14:09:54 +0200
commitebb0f567d5b010951bc0b9b35ffa002135528e1a (patch)
treeb47c7e2a3a588fd8207cf7b8e6d3cb3cec269168 /util/ormconfig.json
parent:bug: fix cdn route not working without hash (diff)
downloadserver-ebb0f567d5b010951bc0b9b35ffa002135528e1a.tar.xz
:art: emoji db migration
Diffstat (limited to 'util/ormconfig.json')
-rw-r--r--util/ormconfig.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/ormconfig.json b/util/ormconfig.json
new file mode 100644
index 00000000..c5587b8e
--- /dev/null
+++ b/util/ormconfig.json
@@ -0,0 +1,9 @@
+{
+	"type": "sqlite",
+	"database": "../bundle/database.db",
+	"migrations": ["src/migrations/*.ts"],
+	"entities": ["src/entities/*.ts"],
+	"cli": {
+		"migrationsDir": "src/migrations"
+	}
+}