Repository navigation
Expand file tree
/
Copy pathstatdata_db.sql
More file actions
110 lines (89 loc) · 3.34 KB
/
Copy pathstatdata_db.sql
File metadata and controls
110 lines (89 loc) · 3.34 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
-- phpMyAdmin SQL Dump
-- version 4.1.6
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 16, 2015 at 01:19 AM
-- Server version: 5.6.16
-- PHP Version: 5.5.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `statdata_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `data_tbl`
--
CREATE TABLE IF NOT EXISTS `data_tbl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`event_id` int(11) NOT NULL,
`tweet_link` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `event_tbl`
--
CREATE TABLE IF NOT EXISTS `event_tbl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`event_name` text NOT NULL,
`event_date` datetime NOT NULL,
`event_description` longtext NOT NULL,
`hashtag` text NOT NULL,
`tweet_count` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;
--
-- Dumping data for table `event_tbl`
--
INSERT INTO `event_tbl` (`id`, `user_id`, `event_name`, `event_date`, `event_description`, `hashtag`, `tweet_count`) VALUES
(10, 3, 'Tree Planting ', '2015-12-15 00:00:00', 'Tree planting for environment.', '#TreePlantingSANJUAN', 2),
(11, 3, 'Tennis', '2015-12-15 00:00:00', 'Tennis blahblahblah', '#TennisPo', 0);
-- --------------------------------------------------------
--
-- Table structure for table `pending_user_tbl`
--
CREATE TABLE IF NOT EXISTS `pending_user_tbl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pending_first_name` text NOT NULL,
`pending_middle_name` text NOT NULL,
`pending_last_name` text NOT NULL,
`pending_password` varchar(64) NOT NULL,
`pending_email` text NOT NULL,
`pending_address` longtext NOT NULL,
`pending_date_of_term` text NOT NULL,
`pending_user_name` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
-- --------------------------------------------------------
--
-- Table structure for table `user_tbl`
--
CREATE TABLE IF NOT EXISTS `user_tbl` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_name` text NOT NULL,
`first_name` text NOT NULL,
`middle_name` text NOT NULL,
`last_name` text NOT NULL,
`password` varchar(64) NOT NULL,
`email` text NOT NULL,
`address` int(11) NOT NULL,
`date_registered` text NOT NULL,
`date_of_term` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `user_tbl`
--
INSERT INTO `user_tbl` (`id`, `user_name`, `first_name`, `middle_name`, `last_name`, `password`, `email`, `address`, `date_registered`, `date_of_term`) VALUES
(3, 'gidj02', 'Gino', 'Iglesias', 'de Jesus', '1111', 'ginodejesus02@gmail.com', 0, '2015-01-15', '2013-2016'),
(4, 'ben', 'Benjamin', 'Andes', 'Iglesia', '1111', 'ben@gmail.com', 0, '2015-01-15', '2013-2016');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;