0

我得到了一个名为 datamodel.dbm 的文件

在该文件中,有很多 XML。

它使用以下 XML 打开:

<?xml version="1.0" encoding="UTF-8"?>
<!--
CAUTION: Do not modify this file unless you know what you are doing.
         Unexpected results may occur if the code is changed deliberately.
-->
<dbmodel pgmodeler-ver="0.8.1" last-position="0,0" last-zoom="1"
     default-schema="public" default-owner="postgres">
<role name="xxxx"
      superuser="true"
      encrypted="true"
      password="********"
      sql-disabled="true">
</role>

<database name="xxxx" encoding="UTF8" lc-collate="en_US" lc-ctype="en_US">
    <role name="xxxx"/>
    <tablespace name="pg_default"/>
</database>

<schema name="public" protected="true" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true">
</schema>

<extension name="postgis" cur-version="2.1.7">
    <schema name="public"/>
    <comment><![CDATA[PostGIS geometry, geography, and raster spatial types and functions]]></comment>
</extension>

我是 SQL Server 小伙子,我相信这个文件与 PostGres 有关。

是否有工具可以打开此文件以呈现数据模型?该文件包含数百个包含所有元数据、关系等的表。但我无法打开它,除了 XML。

有没有办法打开这个文件并渲染数据模型,这样我就可以直观地看到它的样子?

4

1 回答 1

3

这是一个 pgModeler 文件。您可以在https://pgmodeler.io找到更多信息。

于 2015-09-21T03:53:23.497 回答