Projekt

Obecné

Profil

Stáhnout (2.25 KB) Statistiky
| Větev: | Tag: | Revize:
1
-- 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
  `last_update` datetime NOT NULL,
34
  `user_id` int(11) NOT NULL,
35
  `public` tinyint(1) NOT NULL DEFAULT '0',
36
  `graph_json` text COLLATE utf8_czech_ci NOT NULL DEFAULT ''
37
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
38

    
39
-- --------------------------------------------------------
40

    
41
--
42
-- Struktura tabulky `user`
43
--
44

    
45
CREATE TABLE IF NOT EXISTS `user` (
46
  `id` int(11) NOT NULL,
47
  `nick` varchar(50) COLLATE utf8_czech_ci NOT NULL,
48
  `name` varchar(255) COLLATE utf8_czech_ci NOT NULL DEFAULT '',
49
  `psw` varchar(32) COLLATE utf8_czech_ci NOT NULL,
50
  `session` varchar(50) COLLATE utf8_czech_ci NOT NULL,
51
  `active` tinyint(1) NOT NULL,
52
  `created` datetime NOT NULL,
53
  `email` varchar(50) COLLATE utf8_czech_ci NOT NULL
54
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
55

    
56

    
57
--
58
-- Klíče pro exportované tabulky
59
--
60

    
61
--
62
-- Klíče pro tabulku `diagram`
63
--
64
ALTER TABLE `diagram`
65
  ADD PRIMARY KEY (`id`);
66

    
67
--
68
-- Klíče pro tabulku `user`
69
--
70
ALTER TABLE `user`
71
  ADD PRIMARY KEY (`id`);
72

    
73
--
74
-- AUTO_INCREMENT pro tabulky
75
--
76

    
77
--
78
-- AUTO_INCREMENT pro tabulku `diagram`
79
--
80
ALTER TABLE `diagram`
81
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
82
--
83
-- AUTO_INCREMENT pro tabulku `user`
84
--
85
ALTER TABLE `user`
86
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
87
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
88
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
89
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
(1-1/2)