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
commit2f623b2a2276321b74c4601f67f5236be2ae5243 (patch)
treee115399283f6572b3e80b5fc5b01cb0554f6d96d /util/ormconfig.json
parent:bug: fix cdn route not working without hash (diff)
downloadserver-2f623b2a2276321b74c4601f67f5236be2ae5243.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"
+	}
+}