Browse Source

增加对sqlite数据库的支持 默认模式为mysql数据库

QM303176530 4 years ago
parent
commit
caa937826f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README-zh_CN.md
  2. 1 1
      README.md

+ 1 - 1
README-zh_CN.md

@@ -131,7 +131,7 @@ go run main.go;
 
 - 前端:用基于`vue`的`Element-UI`构建基础页面。
 - 后端:用`Gin`快速搭建基础restful风格API,`Gin`是一个go语言编写的Web框架。
-- 数据库:采用`MySql`(5.6.44)版本,使用`gorm`实现对数据库的基本操作。
+- 数据库:采用`MySql`(5.6.44)版本,使用`gorm`实现对数据库的基本操作,已添加对sqlite数据库的支持
 - 缓存:使用`Redis`实现记录当前活跃用户的`jwt`令牌并实现多点登录限制。
 - API文档:使用`Swagger`构建自动化文档。
 - 配置文件:使用`fsnotify`和`viper`实现`yaml`格式的配置文件。

+ 1 - 1
README.md

@@ -129,7 +129,7 @@ go run main.go;
 
 - Frontend: using `Element-UI` based on vue,to code the page.
 - Backend: using `Gin` to quickly build basic RESTful API. `Gin` is a web framework written in Go (Golang).
-- DB: `MySql`(5.6.44),using `gorm` to implement data manipulation.
+- DB: `MySql`(5.6.44),using `gorm` to implement data manipulation, added support for SQLite databases.
 - Cache: using `Redis` to implement the recording of the JWT token of the currently active user and implement the multi-login restriction.
 - API: using Swagger to auto generate APIs docs。
 - Config: using `fsnotify` and `viper` to implement `yaml` config file。