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

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