|
|
|
@ -1,7 +1,44 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<dataSource name="@localhost">
|
|
|
|
|
<database-model serializer="dbm" dbms="MYSQL" family-id="MYSQL" format-version="4.48">
|
|
|
|
|
<root id="1"/>
|
|
|
|
|
<root id="1">
|
|
|
|
|
<DefaultCasing>lower/lower</DefaultCasing>
|
|
|
|
|
<DefaultEngine>InnoDB</DefaultEngine>
|
|
|
|
|
<DefaultTmpEngine>InnoDB</DefaultTmpEngine>
|
|
|
|
|
<Grants>|root||root|localhost|ALTER|G
|
|
|
|
|
|root||root|localhost|ALTER ROUTINE|G
|
|
|
|
|
|root||root|localhost|CREATE|G
|
|
|
|
|
|root||root|localhost|CREATE ROUTINE|G
|
|
|
|
|
|root||root|localhost|CREATE TABLESPACE|G
|
|
|
|
|
|root||root|localhost|CREATE TEMPORARY TABLES|G
|
|
|
|
|
|root||root|localhost|CREATE USER|G
|
|
|
|
|
|root||root|localhost|CREATE VIEW|G
|
|
|
|
|
|root||root|localhost|DELETE|G
|
|
|
|
|
|root||root|localhost|DROP|G
|
|
|
|
|
|root||root|localhost|EVENT|G
|
|
|
|
|
|root||root|localhost|EXECUTE|G
|
|
|
|
|
|root||root|localhost|FILE|G
|
|
|
|
|
|root||root|localhost|INDEX|G
|
|
|
|
|
|root||root|localhost|INSERT|G
|
|
|
|
|
|root||root|localhost|LOCK TABLES|G
|
|
|
|
|
|root||root|localhost|PROCESS|G
|
|
|
|
|
|root||root|localhost|REFERENCES|G
|
|
|
|
|
|root||root|localhost|RELOAD|G
|
|
|
|
|
|root||root|localhost|REPLICATION CLIENT|G
|
|
|
|
|
|root||root|localhost|REPLICATION SLAVE|G
|
|
|
|
|
|root||root|localhost|SELECT|G
|
|
|
|
|
|root||root|localhost|SHOW DATABASES|G
|
|
|
|
|
|root||root|localhost|SHOW VIEW|G
|
|
|
|
|
|root||root|localhost|SHUTDOWN|G
|
|
|
|
|
|root||mysql.session|localhost|SUPER|G
|
|
|
|
|
|root||root|localhost|SUPER|G
|
|
|
|
|
|root||root|localhost|TRIGGER|G
|
|
|
|
|
|root||root|localhost|UPDATE|G
|
|
|
|
|
|root||root|localhost|grant option|G
|
|
|
|
|
performance_schema|schema||mysql.session|localhost|SELECT|G
|
|
|
|
|
sys|schema||mysql.sys|localhost|TRIGGER|G</Grants>
|
|
|
|
|
<ServerVersion>5.7.44</ServerVersion>
|
|
|
|
|
</root>
|
|
|
|
|
<collation id="2" parent="1" name="big5_chinese_ci">
|
|
|
|
|
<Charset>big5</Charset>
|
|
|
|
|
<DefaultForCharset>1</DefaultForCharset>
|
|
|
|
@ -712,579 +749,585 @@
|
|
|
|
|
<schema id="224" parent="1" name="information_schema">
|
|
|
|
|
<CollationName>utf8_general_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="225" parent="1" name="mysql">
|
|
|
|
|
<schema id="225" parent="1" name="jdbc">
|
|
|
|
|
<CollationName>latin1_swedish_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="226" parent="1" name="performance_schema">
|
|
|
|
|
<CollationName>utf8_general_ci</CollationName>
|
|
|
|
|
<schema id="226" parent="1" name="mydata">
|
|
|
|
|
<CollationName>latin1_swedish_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="227" parent="1" name="sakila">
|
|
|
|
|
<schema id="227" parent="1" name="mysql">
|
|
|
|
|
<CollationName>latin1_swedish_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="228" parent="1" name="sys">
|
|
|
|
|
<schema id="228" parent="1" name="performance_schema">
|
|
|
|
|
<CollationName>utf8_general_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="229" parent="1" name="world">
|
|
|
|
|
<CollationName>utf8mb4_general_ci</CollationName>
|
|
|
|
|
<schema id="229" parent="1" name="sakila">
|
|
|
|
|
<CollationName>latin1_swedish_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="230" parent="1" name="supermarket">
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<user id="231" parent="1" name="root">
|
|
|
|
|
<schema id="231" parent="1" name="sys">
|
|
|
|
|
<CollationName>utf8_general_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<schema id="232" parent="1" name="world">
|
|
|
|
|
<CollationName>utf8mb4_general_ci</CollationName>
|
|
|
|
|
</schema>
|
|
|
|
|
<user id="233" parent="1" name="root">
|
|
|
|
|
<Host>localhost</Host>
|
|
|
|
|
</user>
|
|
|
|
|
<user id="232" parent="1" name="mysql.session">
|
|
|
|
|
<user id="234" parent="1" name="mysql.session">
|
|
|
|
|
<Host>localhost</Host>
|
|
|
|
|
</user>
|
|
|
|
|
<user id="233" parent="1" name="mysql.sys">
|
|
|
|
|
<user id="235" parent="1" name="mysql.sys">
|
|
|
|
|
<Host>localhost</Host>
|
|
|
|
|
</user>
|
|
|
|
|
<table id="234" parent="230" name="inbuffer">
|
|
|
|
|
<table id="236" parent="230" name="inbuffer">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="235" parent="230" name="inorder">
|
|
|
|
|
<table id="237" parent="230" name="inorder">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="236" parent="230" name="inrecord">
|
|
|
|
|
<table id="238" parent="230" name="inrecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="237" parent="230" name="outbuffer">
|
|
|
|
|
<table id="239" parent="230" name="outbuffer">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="238" parent="230" name="outorder">
|
|
|
|
|
<table id="240" parent="230" name="outorder">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="239" parent="230" name="outrecord">
|
|
|
|
|
<table id="241" parent="230" name="outrecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="240" parent="230" name="prodcatalog">
|
|
|
|
|
<table id="242" parent="230" name="prodcatalog">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="241" parent="230" name="production">
|
|
|
|
|
<table id="243" parent="230" name="production">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="242" parent="230" name="storagerecord">
|
|
|
|
|
<table id="244" parent="230" name="storagerecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="243" parent="230" name="supplierinf">
|
|
|
|
|
<table id="245" parent="230" name="supplierinf">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="244" parent="230" name="user">
|
|
|
|
|
<table id="246" parent="230" name="user">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<column id="245" parent="234" name="id">
|
|
|
|
|
<column id="247" parent="236" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="246" parent="234" name="name">
|
|
|
|
|
<column id="248" parent="236" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="247" parent="234" name="inPrice">
|
|
|
|
|
<column id="249" parent="236" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="248" parent="234" name="OutPrice">
|
|
|
|
|
<column id="250" parent="236" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="249" parent="234" name="life">
|
|
|
|
|
<column id="251" parent="236" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="250" parent="234" name="sum">
|
|
|
|
|
<column id="252" parent="236" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="251" parent="234" name="supplyId">
|
|
|
|
|
<column id="253" parent="236" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="252" parent="234" name="id2">
|
|
|
|
|
<column id="254" parent="236" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="253" parent="234" name="name2">
|
|
|
|
|
<column id="255" parent="236" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="254" parent="234" name="price">
|
|
|
|
|
<column id="256" parent="236" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="255" parent="234" name="delmark">
|
|
|
|
|
<column id="257" parent="236" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>0</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="256" parent="234" name="inbuffer_ibfk_1">
|
|
|
|
|
<foreign-key id="258" parent="236" name="inbuffer_ibfk_1">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>supplierinf</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<foreign-key id="257" parent="234" name="inbuffer_ibfk_2">
|
|
|
|
|
<foreign-key id="259" parent="236" name="inbuffer_ibfk_2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="258" parent="234" name="PRIMARY">
|
|
|
|
|
<index id="260" parent="236" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="259" parent="234" name="name">
|
|
|
|
|
<index id="261" parent="236" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="260" parent="234" name="supplyId">
|
|
|
|
|
<index id="262" parent="236" name="supplyId">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="261" parent="234" name="id2">
|
|
|
|
|
<index id="263" parent="236" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="262" parent="234" name="PRIMARY">
|
|
|
|
|
<key id="264" parent="236" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="263" parent="234" name="name">
|
|
|
|
|
<key id="265" parent="236" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="264" parent="235" name="iNumber">
|
|
|
|
|
<column id="266" parent="237" name="iNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="265" parent="235" name="allInPrice">
|
|
|
|
|
<column id="267" parent="237" name="allInPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="266" parent="235" name="inDate">
|
|
|
|
|
<column id="268" parent="237" name="inDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="267" parent="235" name="principal">
|
|
|
|
|
<column id="269" parent="237" name="principal">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="268" parent="235" name="status">
|
|
|
|
|
<column id="270" parent="237" name="status">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>2</DefaultExpression>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="269" parent="235" name="delmark">
|
|
|
|
|
<column id="271" parent="237" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="270" parent="235" name="PRIMARY">
|
|
|
|
|
<index id="272" parent="237" name="PRIMARY">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="271" parent="235" name="PRIMARY">
|
|
|
|
|
<key id="273" parent="237" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="272" parent="236" name="iNumber">
|
|
|
|
|
<column id="274" parent="238" name="iNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="273" parent="236" name="id">
|
|
|
|
|
<column id="275" parent="238" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="274" parent="236" name="sum">
|
|
|
|
|
<column id="276" parent="238" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="275" parent="236" name="Price">
|
|
|
|
|
<column id="277" parent="238" name="Price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="276" parent="236" name="inrecord_ibfk_1">
|
|
|
|
|
<foreign-key id="278" parent="238" name="inrecord_ibfk_1">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<RefColNames>iNumber</RefColNames>
|
|
|
|
|
<RefTableName>inorder</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="277" parent="236" name="iNumber">
|
|
|
|
|
<index id="279" parent="238" name="iNumber">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<column id="278" parent="237" name="id">
|
|
|
|
|
<column id="280" parent="239" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="279" parent="237" name="name">
|
|
|
|
|
<column id="281" parent="239" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="280" parent="237" name="inPrice">
|
|
|
|
|
<column id="282" parent="239" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="281" parent="237" name="OutPrice">
|
|
|
|
|
<column id="283" parent="239" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="282" parent="237" name="life">
|
|
|
|
|
<column id="284" parent="239" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="283" parent="237" name="sum">
|
|
|
|
|
<column id="285" parent="239" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="284" parent="237" name="supplyId">
|
|
|
|
|
<column id="286" parent="239" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="285" parent="237" name="id2">
|
|
|
|
|
<column id="287" parent="239" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="286" parent="237" name="name2">
|
|
|
|
|
<column id="288" parent="239" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="287" parent="237" name="price">
|
|
|
|
|
<column id="289" parent="239" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="288" parent="237" name="delmark">
|
|
|
|
|
<column id="290" parent="239" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>0</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="289" parent="237" name="outbuffer_ibfk_1">
|
|
|
|
|
<foreign-key id="291" parent="239" name="outbuffer_ibfk_1">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>supplierinf</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<foreign-key id="290" parent="237" name="outbuffer_ibfk_2">
|
|
|
|
|
<foreign-key id="292" parent="239" name="outbuffer_ibfk_2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="291" parent="237" name="PRIMARY">
|
|
|
|
|
<index id="293" parent="239" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="292" parent="237" name="name">
|
|
|
|
|
<index id="294" parent="239" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="293" parent="237" name="supplyId">
|
|
|
|
|
<index id="295" parent="239" name="supplyId">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="294" parent="237" name="id2">
|
|
|
|
|
<index id="296" parent="239" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="295" parent="237" name="PRIMARY">
|
|
|
|
|
<key id="297" parent="239" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="296" parent="237" name="name">
|
|
|
|
|
<key id="298" parent="239" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="297" parent="238" name="oNumber">
|
|
|
|
|
<column id="299" parent="240" name="oNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="298" parent="238" name="allOutPrice">
|
|
|
|
|
<column id="300" parent="240" name="allOutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="299" parent="238" name="oDate">
|
|
|
|
|
<column id="301" parent="240" name="oDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="300" parent="238" name="principal">
|
|
|
|
|
<column id="302" parent="240" name="principal">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="301" parent="238" name="delmark">
|
|
|
|
|
<column id="303" parent="240" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="302" parent="238" name="PRIMARY">
|
|
|
|
|
<index id="304" parent="240" name="PRIMARY">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="303" parent="238" name="PRIMARY">
|
|
|
|
|
<key id="305" parent="240" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="304" parent="239" name="oNumber">
|
|
|
|
|
<column id="306" parent="241" name="oNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="305" parent="239" name="id">
|
|
|
|
|
<column id="307" parent="241" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="306" parent="239" name="sum">
|
|
|
|
|
<column id="308" parent="241" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="307" parent="239" name="Price">
|
|
|
|
|
<column id="309" parent="241" name="Price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="308" parent="239" name="outrecord_ibfk_1">
|
|
|
|
|
<foreign-key id="310" parent="241" name="outrecord_ibfk_1">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<RefColNames>oNumber</RefColNames>
|
|
|
|
|
<RefTableName>outorder</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="309" parent="239" name="oNumber">
|
|
|
|
|
<index id="311" parent="241" name="oNumber">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<column id="310" parent="240" name="id">
|
|
|
|
|
<column id="312" parent="242" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="311" parent="240" name="name">
|
|
|
|
|
<column id="313" parent="242" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="312" parent="240" name="PRIMARY">
|
|
|
|
|
<index id="314" parent="242" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="313" parent="240" name="PRIMARY">
|
|
|
|
|
<key id="315" parent="242" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="314" parent="241" name="id">
|
|
|
|
|
<column id="316" parent="243" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="315" parent="241" name="name">
|
|
|
|
|
<column id="317" parent="243" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="316" parent="241" name="inPrice">
|
|
|
|
|
<column id="318" parent="243" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="317" parent="241" name="OutPrice">
|
|
|
|
|
<column id="319" parent="243" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="318" parent="241" name="life">
|
|
|
|
|
<column id="320" parent="243" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="319" parent="241" name="sum">
|
|
|
|
|
<column id="321" parent="243" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="320" parent="241" name="supplyId">
|
|
|
|
|
<column id="322" parent="243" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="321" parent="241" name="id2">
|
|
|
|
|
<column id="323" parent="243" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="322" parent="241" name="name2">
|
|
|
|
|
<column id="324" parent="243" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="323" parent="241" name="price">
|
|
|
|
|
<column id="325" parent="243" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="324" parent="241" name="delmark">
|
|
|
|
|
<column id="326" parent="243" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="325" parent="241" name="production_ibfk_1">
|
|
|
|
|
<foreign-key id="327" parent="243" name="production_ibfk_1">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="326" parent="241" name="PRIMARY">
|
|
|
|
|
<index id="328" parent="243" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="327" parent="241" name="name">
|
|
|
|
|
<index id="329" parent="243" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="328" parent="241" name="id2">
|
|
|
|
|
<index id="330" parent="243" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="329" parent="241" name="PRIMARY">
|
|
|
|
|
<key id="331" parent="243" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="330" parent="241" name="name">
|
|
|
|
|
<key id="332" parent="243" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="331" parent="242" name="theNumber">
|
|
|
|
|
<column id="333" parent="244" name="theNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="332" parent="242" name="cDate">
|
|
|
|
|
<column id="334" parent="244" name="cDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="333" parent="242" name="id">
|
|
|
|
|
<column id="335" parent="244" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="334" parent="242" name="execute">
|
|
|
|
|
<column id="336" parent="244" name="execute">
|
|
|
|
|
<DasType>enum('+', '-')|0e</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="335" parent="242" name="num">
|
|
|
|
|
<column id="337" parent="244" name="num">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="336" parent="243" name="id">
|
|
|
|
|
<column id="338" parent="245" name="id">
|
|
|
|
|
<AutoIncrement>9</AutoIncrement>
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="337" parent="243" name="name">
|
|
|
|
|
<column id="339" parent="245" name="name">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="338" parent="243" name="address">
|
|
|
|
|
<column id="340" parent="245" name="address">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="339" parent="243" name="contact">
|
|
|
|
|
<column id="341" parent="245" name="contact">
|
|
|
|
|
<DasType>varchar(11)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="340" parent="243" name="email">
|
|
|
|
|
<column id="342" parent="245" name="email">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="341" parent="243" name="delmark">
|
|
|
|
|
<column id="343" parent="245" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="342" parent="243" name="PRIMARY">
|
|
|
|
|
<index id="344" parent="245" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="343" parent="243" name="name">
|
|
|
|
|
<index id="345" parent="245" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="344" parent="243" name="PRIMARY">
|
|
|
|
|
<key id="346" parent="245" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="345" parent="243" name="name">
|
|
|
|
|
<key id="347" parent="245" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="346" parent="244" name="id">
|
|
|
|
|
<AutoIncrement>6</AutoIncrement>
|
|
|
|
|
<column id="348" parent="246" name="id">
|
|
|
|
|
<AutoIncrement>7</AutoIncrement>
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="347" parent="244" name="name">
|
|
|
|
|
<column id="349" parent="246" name="name">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="348" parent="244" name="rname">
|
|
|
|
|
<column id="350" parent="246" name="rname">
|
|
|
|
|
<DasType>varchar(255)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="349" parent="244" name="password">
|
|
|
|
|
<column id="351" parent="246" name="password">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="350" parent="244" name="phone">
|
|
|
|
|
<column id="352" parent="246" name="phone">
|
|
|
|
|
<DasType>varchar(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="351" parent="244" name="sSuper">
|
|
|
|
|
<column id="353" parent="246" name="sSuper">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="352" parent="244" name="img">
|
|
|
|
|
<column id="354" parent="246" name="img">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="353" parent="244" name="delmark">
|
|
|
|
|
<column id="355" parent="246" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="354" parent="244" name="PRIMARY">
|
|
|
|
|
<index id="356" parent="246" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="355" parent="244" name="name">
|
|
|
|
|
<index id="357" parent="246" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="356" parent="244" name="PRIMARY">
|
|
|
|
|
<key id="358" parent="246" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="357" parent="244" name="name">
|
|
|
|
|
<key id="359" parent="246" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
</database-model>
|
|
|
|
|