Sfoglia il codice sorgente

feat:优化忽略文件配置;增加测试数据SQL

ChenGanBin 2 anni fa
parent
commit
c067a6e627
2 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 1 1
      .gitignore
  2. 8 0
      src/main/resources/db/data-h2.sql

+ 1 - 1
.gitignore

@@ -34,4 +34,4 @@ build/
 
 logs/
 tmp/
-db/
+*.db

+ 8 - 0
src/main/resources/db/data-h2.sql

@@ -0,0 +1,8 @@
+insert into attachment(id, name, path, status) values
+(1681684721460625409,'捕获_1689779856331.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689779856331.PNG',0),
+(1681686345885249537,'捕获_1689780243510.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689780243510.PNG',0),
+(1681686583211552770,'捕获_1689780276699.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689780276699.PNG',0),
+(1681687296054489090,'捕获_1689780309708.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689780309708.PNG',0),
+(1681797247410229250,'捕获_1689806679933.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689806679933.PNG',0),
+(1681801846351253505,'捕获_1689807752331.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689807752331.PNG',0),
+(1681801945399742466,'捕获_1689807791897.PNG','E:\Documents\Code\OnlineToolService\tmp\捕获_1689807791897.PNG',0);