01265fc0-37d6-481f-ac14-42262cda0ac3.xml 3.08 KB
<?xml version="1.0" encoding="UTF-8"?>
<dataSource name="YTMT@nomock.com">
  <database-model serializer="dbm" rdbms="MYSQL" format-version="4.4">
    <root id="1"/>
    <schema id="2" parent="1" name="YTMT">
      <Current>1</Current>
      <Visible>1</Visible>
    </schema>
    <schema id="3" parent="1" name="information_schema"/>
    <table id="4" parent="2" name="toon"/>
    <table id="5" parent="2" name="user"/>
    <table id="6" parent="2" name="user_toon_relation"/>
    <column id="7" parent="4" name="toon_index">
      <Position>1</Position>
      <DataType>int(11)|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="8" parent="4" name="name">
      <Position>2</Position>
      <DataType>text|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="9" parent="4" name="thum_link">
      <Position>3</Position>
      <DataType>text|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="10" parent="4" name="webtoon_link">
      <Position>4</Position>
      <DataType>text|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="11" parent="4" name="week">
      <Position>5</Position>
      <DataType>text|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="12" parent="4" name="latest">
      <Position>6</Position>
      <DataType>int(11)|0</DataType>
      <NotNull>1</NotNull>
      <DefaultExpression>&apos;0&apos;</DefaultExpression>
    </column>
    <key id="13" parent="4" name="PRIMARY">
      <NameSurrogate>1</NameSurrogate>
      <ColNames>toon_index</ColNames>
      <Primary>1</Primary>
    </key>
    <column id="14" parent="5" name="id">
      <Position>1</Position>
      <DataType>bigint(20)|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <key id="15" parent="5" name="PRIMARY">
      <NameSurrogate>1</NameSurrogate>
      <ColNames>id</ColNames>
      <Primary>1</Primary>
    </key>
    <column id="16" parent="6" name="user_id">
      <Position>1</Position>
      <DataType>bigint(20)|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="17" parent="6" name="toon_index">
      <Position>2</Position>
      <DataType>int(11)|0</DataType>
      <NotNull>1</NotNull>
    </column>
    <column id="18" parent="6" name="last">
      <Position>3</Position>
      <DataType>int(11)|0</DataType>
      <NotNull>1</NotNull>
      <DefaultExpression>&apos;0&apos;</DefaultExpression>
    </column>
    <index id="19" parent="6" name="toon_index">
      <ColNames>toon_index</ColNames>
    </index>
    <index id="20" parent="6" name="user_id">
      <ColNames>user_id</ColNames>
    </index>
    <foreign-key id="21" parent="6" name="user_toon_relation_ibfk_1">
      <ColNames>user_id</ColNames>
      <RefSchemaName>YTMT</RefSchemaName>
      <RefTableName>user</RefTableName>
      <RefColNames>id</RefColNames>
    </foreign-key>
    <foreign-key id="22" parent="6" name="user_toon_relation_ibfk_2">
      <ColNames>toon_index</ColNames>
      <RefSchemaName>YTMT</RefSchemaName>
      <RefTableName>toon</RefTableName>
      <RefColNames>toon_index</RefColNames>
    </foreign-key>
  </database-model>
</dataSource>