Projekt

Obecné

Profil

Stáhnout (3.27 KB) Statistiky
| Větev: | Tag: | Revize:
1 1e2b2c27 Tomáš Šimandl
-- phpMyAdmin SQL Dump
2
-- version 4.4.14
3
-- http://www.phpmyadmin.net
4
--
5
-- Počítač: 127.0.0.1
6
-- Vytvořeno: Stř 11. kvě 2016, 16:08
7
-- Verze serveru: 5.6.26
8
-- Verze PHP: 5.6.12
9
10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11
SET time_zone = "+00:00";
12
13
14
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
15
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
16
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
17
/*!40101 SET NAMES utf8mb4 */;
18
19
--
20
-- Databáze: `visualization_tool`
21
--
22
23
-- --------------------------------------------------------
24
25
--
26
-- Struktura tabulky `diagram`
27
--
28
29
CREATE TABLE IF NOT EXISTS `diagram` (
30
  `id` int(11) NOT NULL,
31
  `name` varchar(255) COLLATE utf8_czech_ci NOT NULL,
32
  `created` datetime NOT NULL,
33 d4e61447 Tomáš Šimandl
  `last_update` datetime NOT NULL,
34 1e2b2c27 Tomáš Šimandl
  `user_id` int(11) NOT NULL,
35
  `public` tinyint(1) NOT NULL DEFAULT '0'
36 d4e61447 Tomáš Šimandl
  `graph_json` text COLLATE utf8_czech_ci NOT NULL DEFAULT '',
37
--   `session_id` varchar(32) COLLATE utf8_czech_ci NOT NULL,
38
--   `component_count` int(11) NOT NULL DEFAULT '0',
39
--   `vertices_position` text COLLATE utf8_czech_ci NOT NULL,
40
--   `hash` varchar(32) COLLATE utf8_czech_ci NOT NULL DEFAULT '',
41 1e2b2c27 Tomáš Šimandl
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
42
43
-- --------------------------------------------------------
44
45
--
46
-- Struktura tabulky `log`
47
--
48
49
CREATE TABLE IF NOT EXISTS `log` (
50
  `id` int(11) NOT NULL,
51
  `id_user` int(11) NOT NULL,
52
  `user_name` varchar(10) COLLATE utf8_czech_ci NOT NULL,
53
  `id_diagram` int(11) NOT NULL,
54
  `event` varchar(10) COLLATE utf8_czech_ci NOT NULL,
55
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
56
  `date_delay` datetime DEFAULT NULL,
57
  `change_jar` varchar(128) COLLATE utf8_czech_ci DEFAULT NULL,
58
  `new_version` varchar(128) COLLATE utf8_czech_ci DEFAULT NULL
59
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
60
61
-- --------------------------------------------------------
62
63
--
64
-- Struktura tabulky `user`
65
--
66
67
CREATE TABLE IF NOT EXISTS `user` (
68
  `id` int(11) NOT NULL,
69
  `nick` varchar(50) COLLATE utf8_czech_ci NOT NULL,
70
  `name` varchar(255) COLLATE utf8_czech_ci NOT NULL DEFAULT '',
71
  `psw` varchar(32) COLLATE utf8_czech_ci NOT NULL,
72
  `session` varchar(50) COLLATE utf8_czech_ci NOT NULL,
73
  `active` tinyint(1) NOT NULL,
74
  `created` datetime NOT NULL,
75
  `email` varchar(50) COLLATE utf8_czech_ci NOT NULL
76
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
77
78
79
--
80
-- Klíče pro exportované tabulky
81
--
82
83
--
84
-- Klíče pro tabulku `diagram`
85
--
86
ALTER TABLE `diagram`
87
  ADD PRIMARY KEY (`id`);
88
89
--
90
-- Klíče pro tabulku `log`
91
--
92
ALTER TABLE `log`
93
  ADD PRIMARY KEY (`id`);
94
95
--
96
-- Klíče pro tabulku `user`
97
--
98
ALTER TABLE `user`
99
  ADD PRIMARY KEY (`id`);
100
101
--
102
-- AUTO_INCREMENT pro tabulky
103
--
104
105
--
106
-- AUTO_INCREMENT pro tabulku `diagram`
107
--
108
ALTER TABLE `diagram`
109
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
110
--
111
-- AUTO_INCREMENT pro tabulku `log`
112
--
113
ALTER TABLE `log`
114
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
115
--
116
-- AUTO_INCREMENT pro tabulku `user`
117
--
118
ALTER TABLE `user`
119
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
120
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
121
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
122
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;