92c07869-f0de-4821-ba4d-23dc56e0fded.xml 16 KB

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