Commit Graph

9 Commits (cd9667bba74fcc3269b06c42e8766e0345203efb)

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
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 0f705f0249 feat:实现项目团队加入功能 2018-11-12 21:01:59 +08:00
lifei6671 d152455c50 feat:实现团队功能 2018-11-06 18:38:18 +08:00
lifei6671 b897c87476 feat:实现团队功能 2018-11-05 18:50:01 +08:00