Wu Clan
a5e9a0e805
Refactor physical deletion to logical deletion ( #1191 )
...
* Refactor physical deletion to logical deletion
* Update the usage of unique indexes
* Update scheduler update and delete
* Fix lint
* Add some missing logic
* Optimize codegen get by id
2026-05-30 15:02:00 +08:00
Wu Clan
bb5bcdf430
Add the database primary key mode config ( #953 )
...
* Add the database primary key mode config
* Update auto to autoincrement
2025-12-05 14:52:12 +08:00
Wu Clan
e6e53296a8
Optimize sqlalchemy types to simplify compatibility ( #870 )
...
* Optimize sqlalchemy types to simplify compatibility
* Update TimeZone type comment
2025-10-20 17:41:00 +08:00
Wu Clan
5762834744
Update the ruff rules and format the code ( #846 )
...
* Update the ruff rules and format the code
* Update the per-file-ignores
* Update the ci
* Update rules
* Fix codes
* Fix pagination
* Update rules
2025-10-10 19:02:49 +08:00
IAseven
52e78152a1
Fix the tzinfo comparison in the timezone type ( #787 )
2025-08-29 10:30:42 +08:00
Wu Clan
0aa4ebc635
Update the model datetime column type to custom ( #786 )
...
* Update the model datetime column type to custom
* Update the schema datetime filed json encoder
2025-08-27 20:07:35 +08:00
Dylan
7afd8415cd
Add support for snowflake ID primary key ( #670 )
...
* fix: 修复PostgreSQL SQL语法错误,将反引号替换为双引号
* feat: 新增雪花算法ID实现
* 优化雪花算法和主键类型
* 修复错误引用
* 添加雪花详情链接
* feat: add snowflake ID parser method
* 修复独立执行异常
* 更新系统时间错误类
2025-06-16 13:34:27 +08:00
Wu Clan
e492cec7d7
Optimize codes and comments with cursor ( #550 )
2025-03-28 10:08:32 +08:00
Wu Clan
06de770c4d
Add async attrs for sqla mapped base ( #528 )
2025-02-25 15:43:35 +08:00
Meepoljdx
78dad3021a
Add postgresql database support ( #475 )
...
* feat: add postgresql db supports
* change: change mysql conn str create way
* fix: Modify the default alembic migration file to meet multi-database support
* Update settings and lint
* update models
* Simplify database config
* Simplify the get db method
* Update create db url
* Updated model type adaptation
* Update sql scripts
* Fix models type
* Adaptation to postgresql code generation
* Update README.md
* Fix alembic file template
* Update docker scripts
2024-12-25 22:04:04 +08:00
Wu Clan
bd45022a59
Update role-based data permissions ( #465 )
...
* Add department data operation permissions
* Update sys models
* Add role department many-to-many relationship
* Format RBAC code
* update codes
* add update role depts api
* add comments
* Update the implementation
* update dept arg
* debug front
* Update the model file naming
* Refactor the data perms
* Add data permission rule
* Optimize the details
* Implement data filtering
* finish
2024-11-23 21:23:52 +08:00
Wu Clan
eb8dfda8fa
Update CRUDBase to sqlalchemy-crud-plus ( #317 )
...
* Update CRUDBase to dependent package
* Update sqla crud plus to 0.0.2
2024-04-27 23:07:40 +08:00