-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbaza.sql
More file actions
123 lines (98 loc) · 3.49 KB
/
baza.sql
File metadata and controls
123 lines (98 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
-- phpMyAdmin SQL Dump
-- version 3.4.10.1deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 14, 2014 at 09:38 PM
-- Server version: 5.5.34
-- PHP Version: 5.3.10-1ubuntu3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `pulsir_hulkweb`
--
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE IF NOT EXISTS `posts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(140) COLLATE utf8_slovenian_ci NOT NULL,
`content` text COLLATE utf8_slovenian_ci NOT NULL,
`type` varchar(140) COLLATE utf8_slovenian_ci NOT NULL,
`status` varchar(140) COLLATE utf8_slovenian_ci NOT NULL,
`author` int(11) NOT NULL,
`cucss` longtext COLLATE utf8_slovenian_ci NOT NULL,
`cujs` longtext COLLATE utf8_slovenian_ci NOT NULL,
`featured` varchar(140) COLLATE utf8_slovenian_ci NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_slovenian_ci AUTO_INCREMENT=2 ;
--
-- Dumping data for table `posts`
--
INSERT INTO `posts` (`id`, `title`, `content`, `type`, `status`, `author`, `cucss`, `cujs`, `featured`) VALUES
(1, 'Probni post', 'Ovo radi, izgleda!', 'hulknews', 'public', 1, '', '', 'http://mario-borna-mjertan.from.hr/bokehshit.jpeg');
-- --------------------------------------------------------
--
-- Table structure for table `sessions`
--
CREATE TABLE IF NOT EXISTS `sessions` (
`id` int(140) NOT NULL AUTO_INCREMENT,
`user` int(140) NOT NULL,
`ip` varchar(140) NOT NULL,
`time` int(140) NOT NULL,
`exptime` int(140) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `slides`
--
CREATE TABLE IF NOT EXISTS `slides` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`picture` varchar(140) NOT NULL,
`text` mediumtext NOT NULL,
`status` varchar(140) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `slides`
--
INSERT INTO `slides` (`id`, `picture`, `text`, `status`) VALUES
(1, 'http://mario-borna-mjertan.from.hr/bokehshit.jpeg', '<h3>Nekakva slika</h3>\r\n<p>Ovo je demo slajda!</p>', 'public');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(140) NOT NULL,
`password` longtext NOT NULL,
`salt` longtext NOT NULL,
`realname` varchar(140) NOT NULL,
`rank` varchar(140) NOT NULL,
`email` varchar(140) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `salt`, `realname`, `rank`, `email`) VALUES
(1, 'iweb', '$2a$12$W50Mz3HxplcbBjVyeknNBOsPoFOYUR8Kn2ioLvxkiw.QIxKoaTyxe', '$2a$12$W50Mz3HxplcbBjVyeknNBQwPfRao8qMHFNYfomXh', 'Mario Borna Mjertan', 'superadmin', 'iweb@plsr.tk');
--
-- Table structure for table `settings`
--
CREATE TABLE IF NOT EXISTS `settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(140) NOT NULL,
`value` varchar(140) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `settings`
--
INSERT INTO `settings` (`id`, `name`, `value`) VALUES
(1, 'sitename', 'HULK'),
(2, 'activetheme', 'hulkweb2014'),
(3, 'hulkweb2014_theme_path', 'themes/hulkweb2014');