e66f3b80-d157-473d-b64a-69cd88715781.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <dataSource name="anketa@localhost">
  3. <database-model serializer="dbm" rdbms="MYSQL" format-version="4.0">
  4. <root id="1"/>
  5. <schema id="2" parent="1" name="anketa">
  6. <Current>1</Current>
  7. <Visible>1</Visible>
  8. </schema>
  9. <schema id="3" parent="1" name="information_schema"/>
  10. <schema id="4" parent="1" name="mysql"/>
  11. <schema id="5" parent="1" name="performance_schema"/>
  12. <schema id="6" parent="1" name="sys"/>
  13. <schema id="7" parent="1" name="cycle"/>
  14. <schema id="8" parent="1" name="parking"/>
  15. <schema id="9" parent="1" name="sakila"/>
  16. <schema id="10" parent="1" name="test_db"/>
  17. <schema id="11" parent="1" name="world"/>
  18. <table id="12" parent="2" name="clients"/>
  19. <table id="13" parent="2" name="groups"/>
  20. <table id="14" parent="2" name="mod_skill"/>
  21. <table id="15" parent="2" name="moderators"/>
  22. <table id="16" parent="2" name="project_mod_skill"/>
  23. <table id="17" parent="2" name="project_skil_cat"/>
  24. <table id="18" parent="2" name="projects"/>
  25. <table id="19" parent="2" name="skil_cat"/>
  26. <table id="20" parent="2" name="skil_list"/>
  27. <table id="21" parent="2" name="skil_match"/>
  28. <table id="22" parent="2" name="st_pr"/>
  29. <table id="23" parent="2" name="students"/>
  30. <table id="24" parent="2" name="students_skill"/>
  31. <table id="25" parent="2" name="users"/>
  32. <column id="26" parent="12" name="client_id">
  33. <Position>1</Position>
  34. <DataType>int(11)|0</DataType>
  35. <NotNull>1</NotNull>
  36. </column>
  37. <column id="27" parent="12" name="cl_family">
  38. <Position>2</Position>
  39. <DataType>varchar(45)|0</DataType>
  40. </column>
  41. <column id="28" parent="12" name="cl_first_name">
  42. <Position>3</Position>
  43. <DataType>varchar(45)|0</DataType>
  44. </column>
  45. <column id="29" parent="12" name="cl_sec_name">
  46. <Position>4</Position>
  47. <DataType>varchar(45)|0</DataType>
  48. </column>
  49. <column id="30" parent="12" name="cl_password">
  50. <Position>5</Position>
  51. <DataType>varchar(45)|0</DataType>
  52. </column>
  53. <column id="31" parent="12" name="phone_number">
  54. <Position>6</Position>
  55. <DataType>varchar(45)|0</DataType>
  56. </column>
  57. <column id="32" parent="12" name="e_mail">
  58. <Position>7</Position>
  59. <DataType>varchar(100)|0</DataType>
  60. </column>
  61. <column id="33" parent="12" name="company">
  62. <Position>8</Position>
  63. <DataType>varchar(100)|0</DataType>
  64. </column>
  65. <column id="34" parent="12" name="pos">
  66. <Position>9</Position>
  67. <DataType>varchar(100)|0</DataType>
  68. </column>
  69. <column id="35" parent="12" name="hometown">
  70. <Position>10</Position>
  71. <DataType>varchar(45)|0</DataType>
  72. </column>
  73. <column id="36" parent="12" name="birthdate">
  74. <Position>11</Position>
  75. <DataType>varchar(100)|0</DataType>
  76. </column>
  77. <column id="37" parent="12" name="first_in">
  78. <Position>12</Position>
  79. <DataType>int(5)|0</DataType>
  80. </column>
  81. <key id="38" parent="12" name="PRIMARY">
  82. <ColNames>client_id</ColNames>
  83. <Primary>1</Primary>
  84. </key>
  85. <column id="39" parent="13" name="group_id">
  86. <Position>1</Position>
  87. <DataType>int(11)|0</DataType>
  88. <NotNull>1</NotNull>
  89. </column>
  90. <column id="40" parent="13" name="group_name">
  91. <Position>2</Position>
  92. <DataType>varchar(45)|0</DataType>
  93. </column>
  94. <column id="41" parent="13" name="year">
  95. <Position>3</Position>
  96. <DataType>varchar(45)|0</DataType>
  97. </column>
  98. <key id="42" parent="13" name="PRIMARY">
  99. <ColNames>group_id</ColNames>
  100. <Primary>1</Primary>
  101. </key>
  102. <column id="43" parent="14" name="mod_sk_id">
  103. <Position>1</Position>
  104. <DataType>varchar(10)|0</DataType>
  105. <NotNull>1</NotNull>
  106. </column>
  107. <column id="44" parent="14" name="skill_id">
  108. <Position>2</Position>
  109. <DataType>int(11)|0</DataType>
  110. <NotNull>1</NotNull>
  111. </column>
  112. <column id="45" parent="14" name="mod_id">
  113. <Position>3</Position>
  114. <DataType>int(11)|0</DataType>
  115. <NotNull>1</NotNull>
  116. </column>
  117. <column id="46" parent="14" name="rating">
  118. <Position>4</Position>
  119. <DataType>int(11)|0</DataType>
  120. <NotNull>1</NotNull>
  121. </column>
  122. <key id="47" parent="14" name="PRIMARY">
  123. <ColNames>mod_sk_id</ColNames>
  124. <Primary>1</Primary>
  125. </key>
  126. <column id="48" parent="15" name="mod_id">
  127. <Position>1</Position>
  128. <DataType>int(11)|0</DataType>
  129. <NotNull>1</NotNull>
  130. </column>
  131. <column id="49" parent="15" name="mod_family">
  132. <Position>2</Position>
  133. <DataType>varchar(45)|0</DataType>
  134. </column>
  135. <column id="50" parent="15" name="mod_first_name">
  136. <Position>3</Position>
  137. <DataType>varchar(45)|0</DataType>
  138. </column>
  139. <column id="51" parent="15" name="mod_sec_name">
  140. <Position>4</Position>
  141. <DataType>varchar(45)|0</DataType>
  142. </column>
  143. <column id="52" parent="15" name="mod_password">
  144. <Position>5</Position>
  145. <DataType>varchar(45)|0</DataType>
  146. </column>
  147. <column id="53" parent="15" name="mod_birthdate">
  148. <Position>6</Position>
  149. <DataType>varchar(255)|0</DataType>
  150. <DefaultExpression>&apos;11.11.2011&apos;</DefaultExpression>
  151. </column>
  152. <column id="54" parent="15" name="mod_email">
  153. <Position>7</Position>
  154. <DataType>varchar(255)|0</DataType>
  155. <DefaultExpression>&apos;pochta@mail.ru&apos;</DefaultExpression>
  156. </column>
  157. <column id="55" parent="15" name="mod_hometown">
  158. <Position>8</Position>
  159. <DataType>varchar(255)|0</DataType>
  160. <DefaultExpression>&apos;Город&apos;</DefaultExpression>
  161. </column>
  162. <column id="56" parent="15" name="mod_phone">
  163. <Position>9</Position>
  164. <DataType>varchar(255)|0</DataType>
  165. <DefaultExpression>&apos;0000000000&apos;</DefaultExpression>
  166. </column>
  167. <column id="57" parent="15" name="first_in">
  168. <Position>10</Position>
  169. <DataType>int(5)|0</DataType>
  170. </column>
  171. <key id="58" parent="15" name="PRIMARY">
  172. <ColNames>mod_id</ColNames>
  173. <Primary>1</Primary>
  174. </key>
  175. <column id="59" parent="16" name="project_id">
  176. <Position>1</Position>
  177. <DataType>int(11)|0</DataType>
  178. <NotNull>1</NotNull>
  179. </column>
  180. <column id="60" parent="16" name="skil_id">
  181. <Position>2</Position>
  182. <DataType>int(11)|0</DataType>
  183. <NotNull>1</NotNull>
  184. </column>
  185. <column id="61" parent="16" name="slave_id">
  186. <Position>3</Position>
  187. <DataType>int(11)|0</DataType>
  188. <NotNull>1</NotNull>
  189. </column>
  190. <column id="62" parent="16" name="rating">
  191. <Position>4</Position>
  192. <DataType>int(11)|0</DataType>
  193. </column>
  194. <column id="63" parent="16" name="pms_id">
  195. <Position>5</Position>
  196. <DataType>varchar(45)|0</DataType>
  197. <NotNull>1</NotNull>
  198. </column>
  199. <column id="64" parent="16" name="skill_name">
  200. <Position>6</Position>
  201. <DataType>varchar(100)|0</DataType>
  202. <NotNull>1</NotNull>
  203. </column>
  204. <key id="65" parent="16" name="PRIMARY">
  205. <ColNames>pms_id</ColNames>
  206. <Primary>1</Primary>
  207. </key>
  208. <column id="66" parent="17" name="project_id">
  209. <Position>1</Position>
  210. <DataType>int(11)|0</DataType>
  211. <NotNull>1</NotNull>
  212. </column>
  213. <column id="67" parent="17" name="skil_cat_id">
  214. <Position>2</Position>
  215. <DataType>int(11)|0</DataType>
  216. <NotNull>1</NotNull>
  217. </column>
  218. <column id="68" parent="17" name="pcs_id">
  219. <Position>3</Position>
  220. <DataType>varchar(45)|0</DataType>
  221. <NotNull>1</NotNull>
  222. </column>
  223. <key id="69" parent="17" name="PRIMARY">
  224. <ColNames>pcs_id</ColNames>
  225. <Primary>1</Primary>
  226. </key>
  227. <column id="70" parent="18" name="pr_id">
  228. <Position>1</Position>
  229. <DataType>int(11)|0</DataType>
  230. <NotNull>1</NotNull>
  231. <SequenceIdentity>1</SequenceIdentity>
  232. </column>
  233. <column id="71" parent="18" name="title">
  234. <Position>2</Position>
  235. <DataType>varchar(45)|0</DataType>
  236. </column>
  237. <column id="72" parent="18" name="description">
  238. <Position>3</Position>
  239. <DataType>varchar(45)|0</DataType>
  240. </column>
  241. <column id="73" parent="18" name="date_of_creation">
  242. <Position>4</Position>
  243. <DataType>timestamp|0</DataType>
  244. <NotNull>1</NotNull>
  245. <DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
  246. </column>
  247. <column id="74" parent="18" name="status">
  248. <Position>5</Position>
  249. <DataType>varchar(45)|0</DataType>
  250. </column>
  251. <column id="75" parent="18" name="date_of_ready">
  252. <Position>6</Position>
  253. <DataType>date|0</DataType>
  254. </column>
  255. <column id="76" parent="18" name="sum">
  256. <Position>7</Position>
  257. <DataType>int(11)|0</DataType>
  258. </column>
  259. <column id="77" parent="18" name="mod_id">
  260. <Position>8</Position>
  261. <DataType>int(11)|0</DataType>
  262. </column>
  263. <column id="78" parent="18" name="client_id">
  264. <Position>9</Position>
  265. <DataType>int(11)|0</DataType>
  266. <NotNull>1</NotNull>
  267. </column>
  268. <column id="79" parent="18" name="jsondata">
  269. <Position>10</Position>
  270. <DataType>varchar(255)|0</DataType>
  271. <DefaultExpression>&apos;[]&apos;</DefaultExpression>
  272. </column>
  273. <index id="80" parent="18" name="FK_ffb6klvqmnwust69pdfgau69i">
  274. <ColNames>client_id</ColNames>
  275. </index>
  276. <index id="81" parent="18" name="pr_modFK_idx">
  277. <ColNames>mod_id</ColNames>
  278. </index>
  279. <key id="82" parent="18" name="PRIMARY">
  280. <ColNames>pr_id</ColNames>
  281. <Primary>1</Primary>
  282. </key>
  283. <foreign-key id="83" parent="18" name="pr_modFK">
  284. <ColNames>mod_id</ColNames>
  285. <RefSchemaName>anketa</RefSchemaName>
  286. <RefTableName>moderators</RefTableName>
  287. <RefColNames>mod_id</RefColNames>
  288. <OnUpdate>no-action</OnUpdate>
  289. <OnDelete>no-action</OnDelete>
  290. </foreign-key>
  291. <foreign-key id="84" parent="18" name="FK_ffb6klvqmnwust69pdfgau69i">
  292. <ColNames>client_id</ColNames>
  293. <RefSchemaName>anketa</RefSchemaName>
  294. <RefTableName>clients</RefTableName>
  295. <RefColNames>client_id</RefColNames>
  296. </foreign-key>
  297. <column id="85" parent="19" name="skil_cat_id">
  298. <Position>1</Position>
  299. <DataType>int(11)|0</DataType>
  300. <NotNull>1</NotNull>
  301. </column>
  302. <column id="86" parent="19" name="skil_cat_name">
  303. <Position>2</Position>
  304. <DataType>varchar(100)|0</DataType>
  305. <NotNull>1</NotNull>
  306. </column>
  307. <key id="87" parent="19" name="PRIMARY">
  308. <ColNames>skil_cat_id</ColNames>
  309. <Primary>1</Primary>
  310. </key>
  311. <column id="88" parent="20" name="skil_id">
  312. <Position>1</Position>
  313. <DataType>int(11)|0</DataType>
  314. <NotNull>1</NotNull>
  315. </column>
  316. <column id="89" parent="20" name="skil_name">
  317. <Position>2</Position>
  318. <DataType>varchar(100)|0</DataType>
  319. <NotNull>1</NotNull>
  320. </column>
  321. <key id="90" parent="20" name="PRIMARY">
  322. <ColNames>skil_id</ColNames>
  323. <Primary>1</Primary>
  324. </key>
  325. <column id="91" parent="21" name="skil_cat_id">
  326. <Position>1</Position>
  327. <DataType>int(11)|0</DataType>
  328. <NotNull>1</NotNull>
  329. </column>
  330. <column id="92" parent="21" name="skil_id">
  331. <Position>2</Position>
  332. <DataType>int(11)|0</DataType>
  333. <NotNull>1</NotNull>
  334. </column>
  335. <column id="93" parent="21" name="match_id">
  336. <Position>3</Position>
  337. <DataType>varchar(45)|0</DataType>
  338. <NotNull>1</NotNull>
  339. </column>
  340. <column id="94" parent="21" name="skill_name">
  341. <Position>4</Position>
  342. <DataType>varchar(100)|0</DataType>
  343. <NotNull>1</NotNull>
  344. </column>
  345. <index id="95" parent="21" name="match_id">
  346. <ColNames>skil_cat_id
  347. skil_id</ColNames>
  348. </index>
  349. <key id="96" parent="21" name="PRIMARY">
  350. <ColNames>match_id</ColNames>
  351. <Primary>1</Primary>
  352. </key>
  353. <column id="97" parent="22" name="id">
  354. <Position>1</Position>
  355. <DataType>int(11)|0</DataType>
  356. <NotNull>1</NotNull>
  357. </column>
  358. <column id="98" parent="22" name="st_id">
  359. <Position>2</Position>
  360. <DataType>int(11)|0</DataType>
  361. </column>
  362. <column id="99" parent="22" name="pr_id">
  363. <Position>3</Position>
  364. <DataType>int(11)|0</DataType>
  365. </column>
  366. <index id="100" parent="22" name="prFK_idx">
  367. <ColNames>pr_id</ColNames>
  368. </index>
  369. <index id="101" parent="22" name="stFK_idx">
  370. <ColNames>st_id</ColNames>
  371. </index>
  372. <key id="102" parent="22" name="PRIMARY">
  373. <ColNames>id</ColNames>
  374. <Primary>1</Primary>
  375. </key>
  376. <foreign-key id="103" parent="22" name="stFK">
  377. <ColNames>st_id</ColNames>
  378. <RefSchemaName>anketa</RefSchemaName>
  379. <RefTableName>students</RefTableName>
  380. <RefColNames>students_id</RefColNames>
  381. <OnUpdate>no-action</OnUpdate>
  382. <OnDelete>no-action</OnDelete>
  383. </foreign-key>
  384. <foreign-key id="104" parent="22" name="prFK">
  385. <ColNames>pr_id</ColNames>
  386. <RefSchemaName>anketa</RefSchemaName>
  387. <RefTableName>projects</RefTableName>
  388. <RefColNames>pr_id</RefColNames>
  389. <OnUpdate>no-action</OnUpdate>
  390. <OnDelete>no-action</OnDelete>
  391. </foreign-key>
  392. <column id="105" parent="23" name="students_id">
  393. <Position>1</Position>
  394. <DataType>int(11)|0</DataType>
  395. <NotNull>1</NotNull>
  396. </column>
  397. <column id="106" parent="23" name="group_id">
  398. <Position>2</Position>
  399. <DataType>int(11)|0</DataType>
  400. </column>
  401. <column id="107" parent="23" name="st_family">
  402. <Position>3</Position>
  403. <DataType>varchar(45)|0</DataType>
  404. </column>
  405. <column id="108" parent="23" name="st_first_name">
  406. <Position>4</Position>
  407. <DataType>varchar(45)|0</DataType>
  408. </column>
  409. <column id="109" parent="23" name="st_sec_name">
  410. <Position>5</Position>
  411. <DataType>varchar(45)|0</DataType>
  412. </column>
  413. <column id="110" parent="23" name="st_pk_number">
  414. <Position>6</Position>
  415. <DataType>varchar(45)|0</DataType>
  416. </column>
  417. <column id="111" parent="23" name="bithdate">
  418. <Position>7</Position>
  419. <DataType>varchar(45)|0</DataType>
  420. </column>
  421. <column id="112" parent="23" name="phone_number">
  422. <Position>8</Position>
  423. <DataType>varchar(45)|0</DataType>
  424. </column>
  425. <column id="113" parent="23" name="e_mail">
  426. <Position>9</Position>
  427. <DataType>varchar(100)|0</DataType>
  428. </column>
  429. <column id="114" parent="23" name="hometown">
  430. <Position>10</Position>
  431. <DataType>varchar(45)|0</DataType>
  432. </column>
  433. <column id="115" parent="23" name="first_in">
  434. <Position>11</Position>
  435. <DataType>int(5)|0</DataType>
  436. </column>
  437. <index id="116" parent="23" name="stud_groupFK_idx">
  438. <ColNames>group_id</ColNames>
  439. </index>
  440. <key id="117" parent="23" name="PRIMARY">
  441. <ColNames>students_id</ColNames>
  442. <Primary>1</Primary>
  443. </key>
  444. <foreign-key id="118" parent="23" name="stud_groupFK">
  445. <ColNames>group_id</ColNames>
  446. <RefSchemaName>anketa</RefSchemaName>
  447. <RefTableName>groups</RefTableName>
  448. <RefColNames>group_id</RefColNames>
  449. <OnUpdate>no-action</OnUpdate>
  450. <OnDelete>no-action</OnDelete>
  451. </foreign-key>
  452. <column id="119" parent="24" name="st_sk_id">
  453. <Position>1</Position>
  454. <DataType>varchar(10)|0</DataType>
  455. <NotNull>1</NotNull>
  456. </column>
  457. <column id="120" parent="24" name="skill_id">
  458. <Position>2</Position>
  459. <DataType>int(11)|0</DataType>
  460. <NotNull>1</NotNull>
  461. </column>
  462. <column id="121" parent="24" name="stud_id">
  463. <Position>3</Position>
  464. <DataType>int(11)|0</DataType>
  465. <NotNull>1</NotNull>
  466. </column>
  467. <column id="122" parent="24" name="rating">
  468. <Position>4</Position>
  469. <DataType>int(11)|0</DataType>
  470. <NotNull>1</NotNull>
  471. </column>
  472. <key id="123" parent="24" name="PRIMARY">
  473. <ColNames>st_sk_id</ColNames>
  474. <Primary>1</Primary>
  475. </key>
  476. <column id="124" parent="25" name="user_id">
  477. <Position>1</Position>
  478. <DataType>int(11)|0</DataType>
  479. <NotNull>1</NotNull>
  480. </column>
  481. <column id="125" parent="25" name="user_login">
  482. <Position>2</Position>
  483. <DataType>varchar(45)|0</DataType>
  484. </column>
  485. <column id="126" parent="25" name="user_password">
  486. <Position>3</Position>
  487. <DataType>varchar(45)|0</DataType>
  488. </column>
  489. <key id="127" parent="25" name="PRIMARY">
  490. <ColNames>user_id</ColNames>
  491. <Primary>1</Primary>
  492. </key>
  493. </database-model>
  494. </dataSource>