database_comparison

生成变更SQL

generate database diff modify sqls

post/v1/projects/{project_name}/database_comparison/modify_sql_statements

Request

  • Base URL
    /sqle (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /sqle/v1/projects/{project_name}/database_comparison/modify_sql_statements
  • Auth
    API key in header Authorization

Path parameters

project_namestring required

project name

Request body

base_instance_idstring
comparison_instance_idstring

Response

OK

codeinteger
messagestring

Example response

{
  "data": [
    {
      "modify_sqls": [
        {
          "audit_results": [
            {
              "level": "warn",
              "message": "避免使用不必要的内置函数md5()"
            }
          ]
        }
      ]
    }
  ],
  "message": "ok"
}

Changes

No recorded changes to this operation across all 75 revisions of this API.