-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.php
61 lines (51 loc) · 1.4 KB
/
editor.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
ALTER TABLE `feedback` ADD `initiat_by` INT(11) NOT NULL DEFAULT '0' AFTER `email`;
CREATE TABLE `feedback` (
`id` int(11) NOT NULL,
`subject` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`token` varchar(255) DEFAULT NULL,
`expiry` datetime DEFAULT NULL,
`status` tinyint(4) NOT NULL COMMENT '1=>log,2=>unlogin,0=>delete',
`created_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `feedback_meta`
--
CREATE TABLE `feedback_meta` (
`id` int(11) NOT NULL,
`feedback_id` int(11) NOT NULL,
`message` text NOT NULL,
`sender` int(11) NOT NULL,
`receiver` int(11) NOT NULL,
`status` tinyint(4) NOT NULL,
`create_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `feedback`
--
ALTER TABLE `feedback`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `feedback_meta`
--
ALTER TABLE `feedback_meta`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER TABLE `feedback`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `feedback_meta`
--
ALTER TABLE `feedback_meta`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;