Skip to content

是否可以将apijson的数据库跟业务数据库分开 #202

Closed

Description

@everything8

具体说下
希望可以将apijson的数据库与业务数据库的连接信息分开配置

为什么
现在数据库连接只能配置一个,因此,apijson的表就会跟业务表耦合在一个数据库下。apijson自带17张表,再加上业务的一些表,看起来会十分雍容,而且也会影响数据库的客户性和可维护性

Activity

  1. TommyLemon commented on Feb 23, 2021

    @TommyLemon
    Member

    只有 Request, Function, Access 这 3 张表必须
    #200

    可以在 DemoSQLConfig 重写方法 getConfigSchema 等来隔离 APIJSON 配置表和你的业务表
    https://github.com/APIJSON/apijson-framework/blob/master/src/main/java/apijson/framework/APIJSONSQLConfig.java
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions