-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-struct.php
107 lines (95 loc) · 4.33 KB
/
install-struct.php
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
<?php die('404 File not found');?>
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- Adminer 4.6.2 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
-- SET foreign_key_checks = 0;
-- SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_procalendar_actions`;
CREATE TABLE `{TABLE_PREFIX}mod_procalendar_actions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`section_id` int(11) NOT NULL DEFAULT '0',
`page_id` int(11) NOT NULL DEFAULT '0',
`owner` int(11) NOT NULL DEFAULT '0',
`date_start` date NOT NULL DEFAULT '0000-00-00',
`time_start` time DEFAULT NULL DEFAULT '00:00:00',
`date_end` date DEFAULT NULL DEFAULT '0000-00-00',
`time_end` time DEFAULT NULL DEFAULT '00:00:00',
`acttype` tinyint(4) NOT NULL DEFAULT 0,
`name` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`description` text {FIELD_COLLATION} NOT NULL,
`custom1` text {FIELD_COLLATION} NOT NULL,
`custom2` text {FIELD_COLLATION} NOT NULL,
`custom3` text {FIELD_COLLATION} NOT NULL,
`custom4` text {FIELD_COLLATION} NOT NULL,
`custom5` text {FIELD_COLLATION} NOT NULL,
`custom6` text {FIELD_COLLATION} NOT NULL,
`custom7` text {FIELD_COLLATION} NOT NULL,
`custom8` text {FIELD_COLLATION} NOT NULL,
`custom9` text {FIELD_COLLATION} NOT NULL,
`public_stat` tinyint(4) NOT NULL DEFAULT '0',
`rec_id` int(11) NOT NULL DEFAULT '0',
`rec_day` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`rec_week` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`rec_month` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`rec_year` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`rec_count` smallint(6) NOT NULL DEFAULT '0',
`rec_exclude` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
){TABLE_ENGINE};
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_procalendar_eventgroups`;
CREATE TABLE `{TABLE_PREFIX}mod_procalendar_eventgroups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`section_id` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`format` varchar(255) {FIELD_COLLATION} NOT NULL DEFAULT '',
`format_days` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
){TABLE_ENGINE};
DROP TABLE IF EXISTS `{TABLE_PREFIX}mod_procalendar_settings`;
CREATE TABLE `{TABLE_PREFIX}mod_procalendar_settings` (
`section_id` int(11) NOT NULL DEFAULT '0',
`page_id` int(11) NOT NULL DEFAULT '0',
`settings` text {FIELD_COLLATION} NOT NULL,
`startday` int(11) NOT NULL DEFAULT '0',
`onedate` int(11) NOT NULL DEFAULT '0',
`usetime` int(11) NOT NULL DEFAULT '0',
`useformat` varchar(15) {FIELD_COLLATION} NOT NULL DEFAULT '',
`useifformat` varchar(15) {FIELD_COLLATION} NOT NULL DEFAULT '',
`usecustom1` int(11) NOT NULL DEFAULT '0',
`custom1` text {FIELD_COLLATION} NOT NULL,
`customtemplate1` text {FIELD_COLLATION} NOT NULL,
`usecustom2` int(11) NOT NULL DEFAULT '0',
`custom2` text {FIELD_COLLATION} NOT NULL,
`customtemplate2` text {FIELD_COLLATION} NOT NULL,
`usecustom3` int(11) NOT NULL DEFAULT '0',
`custom3` text {FIELD_COLLATION} NOT NULL,
`customtemplate3` text CHARACTER SET latin1 NOT NULL,
`usecustom4` int(11) NOT NULL DEFAULT '0',
`custom4` text {FIELD_COLLATION} NOT NULL,
`customtemplate4` text {FIELD_COLLATION} NOT NULL,
`usecustom5` int(11) NOT NULL DEFAULT '0',
`custom5` text {FIELD_COLLATION} NOT NULL,
`customtemplate5` text {FIELD_COLLATION} NOT NULL,
`usecustom6` int(11) NOT NULL DEFAULT '0',
`custom6` text {FIELD_COLLATION} NOT NULL,
`customtemplate6` text {FIELD_COLLATION} NOT NULL,
`usecustom7` int(11) NOT NULL DEFAULT '0',
`custom7` text {FIELD_COLLATION} NOT NULL,
`customtemplate7` text {FIELD_COLLATION} NOT NULL,
`usecustom8` int(11) NOT NULL DEFAULT '0',
`custom8` text {FIELD_COLLATION} NOT NULL,
`customtemplate8` text {FIELD_COLLATION} NOT NULL,
`usecustom9` int(11) NOT NULL DEFAULT '0',
`custom9` text {FIELD_COLLATION} NOT NULL,
`customtemplate9` text {FIELD_COLLATION} NOT NULL,
`resize` int(11) NOT NULL DEFAULT '0',
`header` text {FIELD_COLLATION} NOT NULL,
`footer` text {FIELD_COLLATION} NOT NULL,
`posttempl` text {FIELD_COLLATION} NOT NULL,
PRIMARY KEY (`section_id`)
){TABLE_ENGINE};
-- 2018-03-24 20:24:20