123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489 |
- <?xml version="1.0" encoding="UTF-8"?>
- <dataSource name="anketa@localhost">
- <database-model serializer="dbm" rdbms="MYSQL" format-version="4.0">
- <root id="1"/>
- <schema id="2" parent="1" name="anketa">
- <Current>1</Current>
- <Visible>1</Visible>
- </schema>
- <schema id="3" parent="1" name="information_schema"/>
- <schema id="4" parent="1" name="mysql"/>
- <schema id="5" parent="1" name="performance_schema"/>
- <schema id="6" parent="1" name="sys"/>
- <table id="7" parent="2" name="clients"/>
- <table id="8" parent="2" name="groups"/>
- <table id="9" parent="2" name="mod_skill"/>
- <table id="10" parent="2" name="moderators"/>
- <table id="11" parent="2" name="project_mod_skill"/>
- <table id="12" parent="2" name="project_skil_cat"/>
- <table id="13" parent="2" name="projects"/>
- <table id="14" parent="2" name="skil_cat"/>
- <table id="15" parent="2" name="skil_list"/>
- <table id="16" parent="2" name="skil_match"/>
- <table id="17" parent="2" name="st_pr"/>
- <table id="18" parent="2" name="students"/>
- <table id="19" parent="2" name="students_skill"/>
- <table id="20" parent="2" name="users"/>
- <column id="21" parent="7" name="client_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="22" parent="7" name="cl_family">
- <Position>2</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="23" parent="7" name="cl_first_name">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="24" parent="7" name="cl_sec_name">
- <Position>4</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="25" parent="7" name="cl_password">
- <Position>5</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="26" parent="7" name="phone_number">
- <Position>6</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="27" parent="7" name="e_mail">
- <Position>7</Position>
- <DataType>varchar(100)|0</DataType>
- </column>
- <column id="28" parent="7" name="company">
- <Position>8</Position>
- <DataType>varchar(100)|0</DataType>
- </column>
- <column id="29" parent="7" name="pos">
- <Position>9</Position>
- <DataType>varchar(100)|0</DataType>
- </column>
- <column id="30" parent="7" name="hometown">
- <Position>10</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="31" parent="7" name="birthdate">
- <Position>11</Position>
- <DataType>varchar(100)|0</DataType>
- </column>
- <column id="32" parent="7" name="first_in">
- <Position>12</Position>
- <DataType>int(5)|0</DataType>
- </column>
- <key id="33" parent="7" name="PRIMARY">
- <ColNames>client_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="34" parent="8" name="group_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="35" parent="8" name="group_name">
- <Position>2</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="36" parent="8" name="year">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <key id="37" parent="8" name="PRIMARY">
- <ColNames>group_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="38" parent="9" name="mod_sk_id">
- <Position>1</Position>
- <DataType>varchar(10)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="39" parent="9" name="skill_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="40" parent="9" name="mod_id">
- <Position>3</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="41" parent="9" name="rating">
- <Position>4</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="42" parent="9" name="PRIMARY">
- <ColNames>mod_sk_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="43" parent="10" name="mod_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="44" parent="10" name="mod_family">
- <Position>2</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="45" parent="10" name="mod_first_name">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="46" parent="10" name="mod_sec_name">
- <Position>4</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="47" parent="10" name="mod_password">
- <Position>5</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="48" parent="10" name="mod_birthdate">
- <Position>6</Position>
- <DataType>varchar(255)|0</DataType>
- <DefaultExpression>'11.11.2011'</DefaultExpression>
- </column>
- <column id="49" parent="10" name="mod_email">
- <Position>7</Position>
- <DataType>varchar(255)|0</DataType>
- <DefaultExpression>'pochta@mail.ru'</DefaultExpression>
- </column>
- <column id="50" parent="10" name="mod_hometown">
- <Position>8</Position>
- <DataType>varchar(255)|0</DataType>
- <DefaultExpression>'Город'</DefaultExpression>
- </column>
- <column id="51" parent="10" name="mod_phone">
- <Position>9</Position>
- <DataType>varchar(255)|0</DataType>
- <DefaultExpression>'0000000000'</DefaultExpression>
- </column>
- <column id="52" parent="10" name="first_in">
- <Position>10</Position>
- <DataType>int(5)|0</DataType>
- </column>
- <key id="53" parent="10" name="PRIMARY">
- <ColNames>mod_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="54" parent="11" name="project_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="55" parent="11" name="skil_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="56" parent="11" name="slave_id">
- <Position>3</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="57" parent="11" name="rating">
- <Position>4</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <column id="58" parent="11" name="pms_id">
- <Position>5</Position>
- <DataType>varchar(45)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="59" parent="11" name="skill_name">
- <Position>6</Position>
- <DataType>varchar(100)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="60" parent="11" name="PRIMARY">
- <ColNames>pms_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="61" parent="12" name="project_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="62" parent="12" name="skil_cat_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="63" parent="12" name="pcs_id">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="64" parent="12" name="PRIMARY">
- <ColNames>pcs_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="65" parent="13" name="pr_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- <SequenceIdentity>1</SequenceIdentity>
- </column>
- <column id="66" parent="13" name="title">
- <Position>2</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="67" parent="13" name="description">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="68" parent="13" name="date_of_creation">
- <Position>4</Position>
- <DataType>timestamp|0</DataType>
- <NotNull>1</NotNull>
- <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
- </column>
- <column id="69" parent="13" name="status">
- <Position>5</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="70" parent="13" name="date_of_ready">
- <Position>6</Position>
- <DataType>date|0</DataType>
- </column>
- <column id="71" parent="13" name="sum">
- <Position>7</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <column id="72" parent="13" name="mod_id">
- <Position>8</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <column id="73" parent="13" name="client_id">
- <Position>9</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="74" parent="13" name="jsondata">
- <Position>10</Position>
- <DataType>varchar(255)|0</DataType>
- <DefaultExpression>'[]'</DefaultExpression>
- </column>
- <index id="75" parent="13" name="FK_ffb6klvqmnwust69pdfgau69i">
- <ColNames>client_id</ColNames>
- </index>
- <index id="76" parent="13" name="pr_modFK_idx">
- <ColNames>mod_id</ColNames>
- </index>
- <key id="77" parent="13" name="PRIMARY">
- <ColNames>pr_id</ColNames>
- <Primary>1</Primary>
- </key>
- <foreign-key id="78" parent="13" name="pr_modFK">
- <ColNames>mod_id</ColNames>
- <RefSchemaName>anketa</RefSchemaName>
- <RefTableName>moderators</RefTableName>
- <RefColNames>mod_id</RefColNames>
- <OnUpdate>no-action</OnUpdate>
- <OnDelete>no-action</OnDelete>
- </foreign-key>
- <foreign-key id="79" parent="13" name="FK_ffb6klvqmnwust69pdfgau69i">
- <ColNames>client_id</ColNames>
- <RefSchemaName>anketa</RefSchemaName>
- <RefTableName>clients</RefTableName>
- <RefColNames>client_id</RefColNames>
- </foreign-key>
- <column id="80" parent="14" name="skil_cat_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="81" parent="14" name="skil_cat_name">
- <Position>2</Position>
- <DataType>varchar(100)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="82" parent="14" name="PRIMARY">
- <ColNames>skil_cat_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="83" parent="15" name="skil_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="84" parent="15" name="skil_name">
- <Position>2</Position>
- <DataType>varchar(100)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="85" parent="15" name="PRIMARY">
- <ColNames>skil_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="86" parent="16" name="skil_cat_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="87" parent="16" name="skil_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="88" parent="16" name="match_id">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="89" parent="16" name="skill_name">
- <Position>4</Position>
- <DataType>varchar(100)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <index id="90" parent="16" name="match_id">
- <ColNames>skil_cat_id
- skil_id</ColNames>
- </index>
- <key id="91" parent="16" name="PRIMARY">
- <ColNames>match_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="92" parent="17" name="id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="93" parent="17" name="st_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <column id="94" parent="17" name="pr_id">
- <Position>3</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <index id="95" parent="17" name="prFK_idx">
- <ColNames>pr_id</ColNames>
- </index>
- <index id="96" parent="17" name="stFK_idx">
- <ColNames>st_id</ColNames>
- </index>
- <key id="97" parent="17" name="PRIMARY">
- <ColNames>id</ColNames>
- <Primary>1</Primary>
- </key>
- <foreign-key id="98" parent="17" name="stFK">
- <ColNames>st_id</ColNames>
- <RefSchemaName>anketa</RefSchemaName>
- <RefTableName>students</RefTableName>
- <RefColNames>students_id</RefColNames>
- <OnUpdate>no-action</OnUpdate>
- <OnDelete>no-action</OnDelete>
- </foreign-key>
- <foreign-key id="99" parent="17" name="prFK">
- <ColNames>pr_id</ColNames>
- <RefSchemaName>anketa</RefSchemaName>
- <RefTableName>projects</RefTableName>
- <RefColNames>pr_id</RefColNames>
- <OnUpdate>no-action</OnUpdate>
- <OnDelete>no-action</OnDelete>
- </foreign-key>
- <column id="100" parent="18" name="students_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="101" parent="18" name="group_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- </column>
- <column id="102" parent="18" name="st_family">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="103" parent="18" name="st_first_name">
- <Position>4</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="104" parent="18" name="st_sec_name">
- <Position>5</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="105" parent="18" name="st_pk_number">
- <Position>6</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="106" parent="18" name="bithdate">
- <Position>7</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="107" parent="18" name="phone_number">
- <Position>8</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="108" parent="18" name="e_mail">
- <Position>9</Position>
- <DataType>varchar(100)|0</DataType>
- </column>
- <column id="109" parent="18" name="hometown">
- <Position>10</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="110" parent="18" name="first_in">
- <Position>11</Position>
- <DataType>int(5)|0</DataType>
- </column>
- <index id="111" parent="18" name="stud_groupFK_idx">
- <ColNames>group_id</ColNames>
- </index>
- <key id="112" parent="18" name="PRIMARY">
- <ColNames>students_id</ColNames>
- <Primary>1</Primary>
- </key>
- <foreign-key id="113" parent="18" name="stud_groupFK">
- <ColNames>group_id</ColNames>
- <RefSchemaName>anketa</RefSchemaName>
- <RefTableName>groups</RefTableName>
- <RefColNames>group_id</RefColNames>
- <OnUpdate>no-action</OnUpdate>
- <OnDelete>no-action</OnDelete>
- </foreign-key>
- <column id="114" parent="19" name="st_sk_id">
- <Position>1</Position>
- <DataType>varchar(10)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="115" parent="19" name="skill_id">
- <Position>2</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="116" parent="19" name="stud_id">
- <Position>3</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="117" parent="19" name="rating">
- <Position>4</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <key id="118" parent="19" name="PRIMARY">
- <ColNames>st_sk_id</ColNames>
- <Primary>1</Primary>
- </key>
- <column id="119" parent="20" name="user_id">
- <Position>1</Position>
- <DataType>int(11)|0</DataType>
- <NotNull>1</NotNull>
- </column>
- <column id="120" parent="20" name="user_login">
- <Position>2</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <column id="121" parent="20" name="user_password">
- <Position>3</Position>
- <DataType>varchar(45)|0</DataType>
- </column>
- <key id="122" parent="20" name="PRIMARY">
- <ColNames>user_id</ColNames>
- <Primary>1</Primary>
- </key>
- </database-model>
- </dataSource>
|