Commit Graph

15 Commits (84b947d1488e3ff0cac94f5cc0c47fac2d5d3723)

Author SHA1 Message Date
Feng Chang 8b57c6aaf0
Add postgresql support (#792)
* use false for bool type

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* use `limit ? offset ?` instead limit ?,? for database compatibility

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgresql support

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgres options and descriptions

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

---------

close #791

Signed-off-by: ChangFeng <chang_196700@hotmail.com>
Co-authored-by: 玖亖伍 <gsw945@foxmail.com>
2023-04-14 11:09:53 +08:00
wanghaima d3993a2f08 1.迁移表时添加字段注释
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
sloong 68cfc08e24 fix #776: 修复在mysql8.0中由于member关键词导致系统无法正常使用的异常 2022-03-03 11:38:11 +08:00
roberChen 916c9c6c2a fix(models): use client/orm instead of adapter/orm
- using new orm api, change some related logics
- newer orm api has the concept of TxOrmer, for purpose of transaction
handling. A transaction ormer in v2 is a stateful object, it should be
dropped after using. A Ormer object is stateless and thread(routine)
    safe, and should not be used for transaction handling. More details
    count be found at official doc:
    https://beego.me/docs/mvc/model/orm.md, and pr note: https://github.com/mindoc-org/mindoc/pull/662#issuecomment-807040262
2021-03-26 11:34:02 +08:00
roberChen 9babd8106c chore: clean import errors for beego update 2021-03-24 00:28:13 +08:00
roberChen 90c1329de2 chore!(all): attempt to update beego to v2
BREAKING CHANGE: beego has update to v2, and this version of mindoc IS
NOT TESTED AND STABLE!!!
2021-03-23 21:55:50 +08:00
roberChen 79f70d830d chore!(all): update go import path
BREAKING CHANGE: use github.com/mindoc-org/mindoc as import path
2021-03-23 15:09:17 +08:00
lifei6671 6ca1515462 feat:跳转项目排序 2018-11-28 09:56:20 +08:00
lifei6671 b240b85011 feat:优化项目空间的显示数量 2018-11-27 11:47:19 +08:00
lifei6671 2460a32ac5 fix:修复mysql兼容问题 2018-11-27 10:04:37 +08:00
lifei6671 1b6c7e4793 fix:修复mysql兼容问题 2018-11-26 18:54:50 +08:00
lifei6671 a64a6c80e6 fix:修复mysql兼容问题 2018-11-26 17:00:40 +08:00
lifei6671 37fe31797d feat:移除危险HTML标签 2018-11-21 11:06:27 +08:00
lifei6671 f1957dd9c0 feat:优化项目空间样式 2018-11-21 11:03:16 +08:00
lifei6671 91df6bb024 feat:实现项目集功能 2018-11-20 20:36:14 +08:00