Procházet zdrojové kódy

feat(database): 移动数据库文件至.data目录

zyh před 1 rokem
rodič
revize
23a73bee20
3 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2 0
      .gitignore
  2. binární
      database.sqlite
  3. 1 1
      knexfile.js

+ 2 - 0
.gitignore

@@ -3,3 +3,5 @@ node_modules
 /.cache
 /build
 .env
+
+.data/database.sqlite

binární
database.sqlite


+ 1 - 1
knexfile.js

@@ -3,7 +3,7 @@
 const config = {
   client: "sqlite3",
   connection: {
-    filename: "./database.sqlite",
+    filename: "./.data/database.sqlite",
   },
   useNullAsDefault: true,
 };