hr-system/scripts/json2ddl.py

1 line
537 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

正本在工作区 repos/hr-system/scripts/json2ddl.pygit HEAD=182c4d4读取 models/{module}/*.jsonsummary/fields/indexes/codes ocai database-table-definition-spec 生成幂等 MariaDB DDLCREATE TABLE IF NOT EXISTS字段类型映射(varchar/text/int/date/timestamp/decimal)NOT NULL/DEFAULT/COMMENT敏感字段标注PRIMARY KEY+UNIQUE KEY/KEY 索引utf8mb4_unicode_ci本轮用于契约自洽性验证重生成与 sql/V001__init_hrs.sql 逐字节一致另有 apply_ddl.py/gen_models.py