Advertisement
Guest User

Untitled

a guest
Apr 14th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.4.10
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost:8889
  6. -- Generation Time: Apr 14, 2016 at 09:24 PM
  7. -- Server version: 5.5.42
  8. -- PHP Version: 5.6.10
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `vanguard`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `broker_options`
  21. --
  22.  
  23. CREATE TABLE `broker_options` (
  24. `id` int(11) NOT NULL,
  25. `name` varchar(258) NOT NULL
  26. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  27.  
  28. --
  29. -- Dumping data for table `broker_options`
  30. --
  31.  
  32. INSERT INTO `broker_options` (`id`, `name`) VALUES
  33. (1, 'Yes'),
  34. (2, 'No');
  35.  
  36. -- --------------------------------------------------------
  37.  
  38. --
  39. -- Table structure for table `heard_about_options`
  40. --
  41.  
  42. CREATE TABLE `heard_about_options` (
  43. `id` int(11) NOT NULL,
  44. `name` varchar(258) NOT NULL
  45. ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
  46.  
  47. --
  48. -- Dumping data for table `heard_about_options`
  49. --
  50.  
  51. INSERT INTO `heard_about_options` (`id`, `name`) VALUES
  52. (1, 'Toronto Life'),
  53. (2, 'BuzzBuzzHome'),
  54. (3, 'Baker Web Site'),
  55. (4, 'Billboard'),
  56. (5, 'Bus Shelter'),
  57. (6, 'Condo Guide'),
  58. (7, 'Globe & Mail'),
  59. (8, 'Metro News'),
  60. (9, 'Toronto Star'),
  61. (10, 'Urban Toronto'),
  62. (11, 'Signage, Referral'),
  63. (12, 'Website'),
  64. (13, 'eBlast'),
  65. (14, 'Google Ads'),
  66. (15, 'Facebook'),
  67. (16, 'Twitter'),
  68. (17, 'Other');
  69.  
  70. -- --------------------------------------------------------
  71.  
  72. --
  73. -- Table structure for table `interested_in_options`
  74. --
  75.  
  76. CREATE TABLE `interested_in_options` (
  77. `id` int(11) NOT NULL,
  78. `name` varchar(258) NOT NULL
  79. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
  80.  
  81. --
  82. -- Dumping data for table `interested_in_options`
  83. --
  84.  
  85. INSERT INTO `interested_in_options` (`id`, `name`) VALUES
  86. (1, 'Studio'),
  87. (2, '1 bed'),
  88. (3, '1 + den'),
  89. (4, '2 bed'),
  90. (5, '2 + den'),
  91. (6, '3 bed');
  92.  
  93. -- --------------------------------------------------------
  94.  
  95. --
  96. -- Table structure for table `price_range_options`
  97. --
  98.  
  99. CREATE TABLE `price_range_options` (
  100. `id` int(11) NOT NULL,
  101. `name` varchar(258) NOT NULL
  102. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  103.  
  104. --
  105. -- Dumping data for table `price_range_options`
  106. --
  107.  
  108. INSERT INTO `price_range_options` (`id`, `name`) VALUES
  109. (1, '$250000 - $300000'),
  110. (2, '$300000 - $350000'),
  111. (3, '$350000 - $400000'),
  112. (4, '$400000 - $450000'),
  113. (5, '$450000 - $500000');
  114.  
  115. -- --------------------------------------------------------
  116.  
  117. --
  118. -- Table structure for table `registrations`
  119. --
  120.  
  121. CREATE TABLE `registrations` (
  122. `id` int(11) NOT NULL,
  123. `first_name` varchar(258) NOT NULL,
  124. `last_name` varchar(258) NOT NULL,
  125. `email` varchar(258) NOT NULL,
  126. `telephone` varchar(258) NOT NULL,
  127. `postal_code` varchar(258) NOT NULL,
  128. `hear_about` int(11) NOT NULL,
  129. `interest` int(11) NOT NULL,
  130. `price_range` int(11) NOT NULL,
  131. `broker` int(11) NOT NULL,
  132. `with_broken` int(11) NOT NULL,
  133. `comments` text NOT NULL
  134. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
  135.  
  136. --
  137. -- Dumping data for table `registrations`
  138. --
  139.  
  140. INSERT INTO `registrations` (`id`, `first_name`, `last_name`, `email`, `telephone`, `postal_code`, `hear_about`, `interest`, `price_range`, `broker`, `with_broken`, `comments`) VALUES
  141. (2, 'zafer', 'sawaf', 'z@gmail.com', '6479930440', 'm4v2z2', 1, 0, 0, 1, 0, ''),
  142. (3, 'test', 'test', 'test@gmail.com', '6479930440', 'm4v2z2', 1, 1, 1, 2, 1, ''),
  143. (4, '', '', '', '', '', 0, 0, 0, 0, 0, ''),
  144. (5, 'zafer', 'sawaf', 'z@gmail.com', '6478880990', 'm4v2z3', 1, 1, 2, 1, 0, ''),
  145. (6, 'test', 'test', 't@gmail.com', '6479930440', 'm4v2z2', 6, 3, 1, 1, 0, ''),
  146. (7, 'test', 'test', 't@gmail.com', '6479930440', 'm4v2z2', 6, 3, 1, 1, 0, ''),
  147. (8, 'zafer', 'sawaf', 'z@g.com', '6479930440', 'm4v2z2', 2, 3, 3, 1, 0, ''),
  148. (9, 'zafer', 'sawaf', 'z@g.com', '6479930440', 'm4v2z2', 2, 3, 3, 1, 0, ''),
  149. (10, 'ttttttt', 'wtawgopmdag', 'ttt@gmasdgiom.com', '6479930440', 'm4v2z2', 6, 4, 5, 1, 0, ''),
  150. (11, 'test', 'test', 'test@fmsgd.com', '6479930440', 'm4v2z2', 6, 5, 2, 1, 0, ''),
  151. (12, 'sfalkmsgasglkm', 'slk;gmasdglkm;', 'sklmagsgkmlasg@gmail.com', '6479930440', 'm4v2z2', 13, 5, 4, 1, 0, '');
  152.  
  153. -- --------------------------------------------------------
  154.  
  155. --
  156. -- Table structure for table `with_broker_options`
  157. --
  158.  
  159. CREATE TABLE `with_broker_options` (
  160. `id` int(11) NOT NULL,
  161. `name` varchar(258) NOT NULL
  162. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  163.  
  164. --
  165. -- Dumping data for table `with_broker_options`
  166. --
  167.  
  168. INSERT INTO `with_broker_options` (`id`, `name`) VALUES
  169. (1, 'Yes'),
  170. (2, 'No');
  171.  
  172. --
  173. -- Indexes for dumped tables
  174. --
  175.  
  176. --
  177. -- Indexes for table `broker_options`
  178. --
  179. ALTER TABLE `broker_options`
  180. ADD PRIMARY KEY (`id`);
  181.  
  182. --
  183. -- Indexes for table `heard_about_options`
  184. --
  185. ALTER TABLE `heard_about_options`
  186. ADD PRIMARY KEY (`id`);
  187.  
  188. --
  189. -- Indexes for table `interested_in_options`
  190. --
  191. ALTER TABLE `interested_in_options`
  192. ADD PRIMARY KEY (`id`);
  193.  
  194. --
  195. -- Indexes for table `price_range_options`
  196. --
  197. ALTER TABLE `price_range_options`
  198. ADD PRIMARY KEY (`id`);
  199.  
  200. --
  201. -- Indexes for table `registrations`
  202. --
  203. ALTER TABLE `registrations`
  204. ADD PRIMARY KEY (`id`);
  205.  
  206. --
  207. -- Indexes for table `with_broker_options`
  208. --
  209. ALTER TABLE `with_broker_options`
  210. ADD PRIMARY KEY (`id`);
  211.  
  212. --
  213. -- AUTO_INCREMENT for dumped tables
  214. --
  215.  
  216. --
  217. -- AUTO_INCREMENT for table `broker_options`
  218. --
  219. ALTER TABLE `broker_options`
  220. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
  221. --
  222. -- AUTO_INCREMENT for table `heard_about_options`
  223. --
  224. ALTER TABLE `heard_about_options`
  225. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=18;
  226. --
  227. -- AUTO_INCREMENT for table `interested_in_options`
  228. --
  229. ALTER TABLE `interested_in_options`
  230. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
  231. --
  232. -- AUTO_INCREMENT for table `price_range_options`
  233. --
  234. ALTER TABLE `price_range_options`
  235. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;
  236. --
  237. -- AUTO_INCREMENT for table `registrations`
  238. --
  239. ALTER TABLE `registrations`
  240. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=13;
  241. --
  242. -- AUTO_INCREMENT for table `with_broker_options`
  243. --
  244. ALTER TABLE `with_broker_options`
  245. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement