81a8e93d16 | ||
---|---|---|
.. | ||
README.md | ||
update_20130318_1_to_20170328_1.sql | ||
update_20170214_1_to_20170305_1.sql | ||
update_20170214_1_to_20170314_2.sql | ||
update_20170219_1_to_20170214_1.sql | ||
update_20170314_2_to_20170318_1.sql | ||
zheng.png | ||
zheng_20170216.sql | ||
zheng_20170219.sql | ||
zheng_20170219_1.apm | ||
zheng_20170219_1.pdb | ||
zheng_20170219_1.pdm | ||
zheng_20170224.sql | ||
zheng_20170224_1.apm | ||
zheng_20170224_1.pdb | ||
zheng_20170224_1.pdm | ||
zheng_20170224_1.sql | ||
zheng_20170302_1.sql | ||
zheng_20170305_1.apm | ||
zheng_20170305_1.pdb | ||
zheng_20170305_1.pdm | ||
zheng_20170305_1.sql | ||
zheng_20170314_1.apm | ||
zheng_20170314_1.sql | ||
zheng_20170314_2.sql | ||
zheng_20170314_3.sql | ||
zheng_20170315_1.sql | ||
zheng_20170315_2.sql | ||
zheng_20170318_1.apm | ||
zheng_20170318_1.pdb | ||
zheng_20170318_1.pdm | ||
zheng_20170318_1.sql | ||
zheng_20170319_1.sql | ||
zheng_20170326_1.sql | ||
zheng_20170326_2.sql | ||
zheng_20170328_1.apm | ||
zheng_20170328_1.pdb | ||
zheng_20170328_1.pdm | ||
zheng_20170329_1.sql |
README.md
project-datamodel
本目录包含数据模型、数据库脚本等
文件说明
-
zheng.apm: 上次修改数据模型快照(file-->save as保存格式为Archived PDM(XML)得到)
-
zheng.pdm: 数据模型
-
zheng.png: 模型图
-
zheng.sql: 最新脚本
操作说明
-
PowerDesigner打开
zheng.pdm
修改 -
选择database-->apply model changes to database选择sql保存路径,在get database schema一栏中选择using an archive model选择
zheng.apm
,得到只有更新升级的脚本 -
运行更新升级脚本,得到最新数据结构(保留旧数据),导出得到最新
zheng.sql
-
PowerDesigner全选,Edit-->Export Image...导出
zheng.png
-
PowerDesigner导出
zheng.apm
-
PowerDesigner保存得到
zheng.pdm