PageRenderTime 25ms CodeModel.GetById 19ms RepoModel.GetById 9ms app.codeStats 0ms

/module/Application/data/accreditations.sql

https://bitbucket.org/juan_sanchez/aiyellow
SQL | 242 lines | 142 code | 40 blank | 60 comment | 0 complexity | 6a314adf6de0cc2555a72b7d55d0a0c6 MD5 | raw file
  1. -- phpMyAdmin SQL Dump
  2. -- version 3.4.10.1deb1
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Generation Time: Apr 25, 2013 at 12:15 AM
  7. -- Server version: 5.5.29
  8. -- PHP Version: 5.3.10-1ubuntu3.6
  9. SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  10. SET time_zone = "+00:00";
  11. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  12. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  13. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  14. /*!40101 SET NAMES utf8 */;
  15. --
  16. -- Database: `aiyellow_accreditations`
  17. --
  18. -- --------------------------------------------------------
  19. --
  20. -- Table structure for table `courses`
  21. --
  22. CREATE TABLE IF NOT EXISTS `courses` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT,
  24. `title_EN` varchar(200) NOT NULL,
  25. `title_ES` varchar(200) NOT NULL,
  26. `title_PR` varchar(200) NOT NULL,
  27. `introduction_EN` text NOT NULL,
  28. `introduction_ES` text NOT NULL,
  29. `introduction_PR` text NOT NULL,
  30. `description_EN` text NOT NULL,
  31. `description_ES` text NOT NULL,
  32. `description_PR` text NOT NULL,
  33. `picture` varchar(500) NOT NULL,
  34. `place` varchar(500) NOT NULL,
  35. PRIMARY KEY (`id`)
  36. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
  37. --
  38. -- Dumping data for table `courses`
  39. --
  40. INSERT INTO `courses` (`id`, `title_EN`, `title_ES`, `title_PR`, `introduction_EN`, `introduction_ES`, `introduction_PR`, `description_EN`, `description_ES`, `description_PR`, `picture`, `place`) VALUES
  41. (9, 'Title', 'Titulo', 'O Titulo', 'This is an example of introduction.', 'Este es un ejemplo de introduccion.', 'Este é um exemplo de introdução.', '<p>This is an example of description.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', '<p>Este es un ejemplo de descripcion.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', '<p>Este &eacute; um exemplo de descri&ccedil;&atilde;o.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', 'course_20130424215132.png', 'Somewhere Over The Rainbow');
  42. -- --------------------------------------------------------
  43. --
  44. -- Table structure for table `courses_dates`
  45. --
  46. CREATE TABLE IF NOT EXISTS `courses_dates` (
  47. `id` int(11) NOT NULL AUTO_INCREMENT,
  48. `id_course` int(11) NOT NULL,
  49. `date` date NOT NULL,
  50. `time` time NOT NULL,
  51. PRIMARY KEY (`id`)
  52. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;
  53. --
  54. -- Dumping data for table `courses_dates`
  55. --
  56. INSERT INTO `courses_dates` (`id`, `id_course`, `date`, `time`) VALUES
  57. (1, 2, '2013-04-21', '12:00:00'),
  58. (2, 2, '2013-04-22', '12:00:00'),
  59. (3, 2, '2013-04-03', '09:38:00'),
  60. (4, 2, '2013-04-02', '07:00:00'),
  61. (5, 4, '2013-04-03', '07:00:00'),
  62. (6, 4, '2013-04-03', '01:00:00'),
  63. (7, 4, '2013-04-03', '12:00:00'),
  64. (8, 4, '2013-04-18', '01:00:00'),
  65. (9, 4, '2013-04-26', '01:09:00'),
  66. (10, 4, '2013-04-26', '01:09:00'),
  67. (11, 4, '2013-04-26', '01:09:00'),
  68. (12, 4, '2013-04-03', '01:29:00'),
  69. (16, 2, '2013-04-03', '12:00:00');
  70. -- --------------------------------------------------------
  71. --
  72. -- Table structure for table `courses_inscriptions`
  73. --
  74. CREATE TABLE IF NOT EXISTS `courses_inscriptions` (
  75. `id` int(11) NOT NULL AUTO_INCREMENT,
  76. `id_course` int(11) NOT NULL,
  77. `name` varchar(200) NOT NULL,
  78. `lastname` varchar(200) NOT NULL,
  79. `email` varchar(200) NOT NULL,
  80. `date` date NOT NULL,
  81. PRIMARY KEY (`id`)
  82. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
  83. --
  84. -- Dumping data for table `courses_inscriptions`
  85. --
  86. INSERT INTO `courses_inscriptions` (`id`, `id_course`, `name`, `lastname`, `email`, `date`) VALUES
  87. (1, 2, 'Juan', 'Sanchez', 'mail@mail.com', '0000-00-00'),
  88. (3, 4, 'Juan', 'Sanchez', 'mail@mail.com', '0000-00-00'),
  89. (4, 3, 'Juan', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  90. (5, 3, 'Juan', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  91. (6, 3, 'Goyeneches', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  92. (7, 3, 'aaaa', 'Sanchez', 'mail@mail.com', '0000-00-00'),
  93. (8, 3, 'aaaa', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  94. (9, 3, 'aaaa', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  95. (10, 3, 'aaaa', 'Sanchez', 'usuarios.jm@gmail.com', '0000-00-00'),
  96. (11, 0, 'Goyenechesxxx', 'Sanchez', 'usuarios.jm@gmail.com', '2013-04-21'),
  97. (12, 0, 'Goyenechesxxx', 'Sanchez', 'usuarios.jm@gmail.com', '2013-04-21'),
  98. (13, 2, 'NUEVO', 'dddd', 'usuarios.jm@gmail.com', '2013-04-21'),
  99. (14, 2, 'dddd', 'as', 'asd@mail.com', '2013-04-21'),
  100. (15, 3, 'Juan', 'dddd', 'usuarios.jm@gmail.com', '2013-04-21');
  101. -- --------------------------------------------------------
  102. --
  103. -- Table structure for table `events`
  104. --
  105. CREATE TABLE IF NOT EXISTS `events` (
  106. `id` int(11) NOT NULL AUTO_INCREMENT,
  107. `title_EN` varchar(200) NOT NULL,
  108. `title_ES` varchar(200) NOT NULL,
  109. `title_PR` varchar(200) NOT NULL,
  110. `introduction_EN` text NOT NULL,
  111. `introduction_ES` text NOT NULL,
  112. `introduction_PR` text NOT NULL,
  113. `description_EN` text NOT NULL,
  114. `description_ES` text NOT NULL,
  115. `description_PR` text NOT NULL,
  116. `picture` varchar(500) NOT NULL,
  117. `date` date NOT NULL,
  118. `time` time NOT NULL,
  119. `place` varchar(500) NOT NULL,
  120. PRIMARY KEY (`id`)
  121. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
  122. --
  123. -- Dumping data for table `events`
  124. --
  125. INSERT INTO `events` (`id`, `title_EN`, `title_ES`, `title_PR`, `introduction_EN`, `introduction_ES`, `introduction_PR`, `description_EN`, `description_ES`, `description_PR`, `picture`, `date`, `time`, `place`) VALUES
  126. (4, 'Title', 'Titulo', 'O Titulo', 'This is an example of introduction.', 'Este es un ejemplo de introduccion.', 'Este é um exemplo de introdução.', '<p>This is an example of description.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', '<p>Este es un ejemplo de descripcion.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', '<p>Este &eacute; um exemplo de descri&ccedil;&atilde;o.</p>\r\n<ul>\r\n<li>1</li>\r\n<li>2</li>\r\n<li>3</li>\r\n</ul>', 'event_20130424225047.png', '2013-04-23', '03:33:00', 'Somewhere Over The Rainbow');
  127. -- --------------------------------------------------------
  128. --
  129. -- Table structure for table `graduates`
  130. --
  131. CREATE TABLE IF NOT EXISTS `graduates` (
  132. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  133. `country` varchar(100) CHARACTER SET utf8 NOT NULL,
  134. `name` varchar(200) CHARACTER SET utf8 NOT NULL,
  135. `picture` varchar(200) CHARACTER SET utf8 NOT NULL,
  136. `email` varchar(255) DEFAULT NULL,
  137. `facebook` varchar(255) DEFAULT NULL,
  138. `twitter` varchar(255) DEFAULT NULL,
  139. `skype` varchar(255) DEFAULT NULL,
  140. `gplus` varchar(255) DEFAULT NULL,
  141. `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  142. `data_ES` text CHARACTER SET utf8,
  143. `data_EN` text CHARACTER SET utf8,
  144. `data_PR` text CHARACTER SET utf8,
  145. PRIMARY KEY (`id`)
  146. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=37 ;
  147. --
  148. -- Dumping data for table `graduates`
  149. --
  150. INSERT INTO `graduates` (`id`, `country`, `name`, `picture`, `email`, `facebook`, `twitter`, `skype`, `gplus`, `timestamp`, `data_ES`, `data_EN`, `data_PR`) VALUES
  151. (1, 'Polonia', 'Goyeneches', '/graduate_20130422010257.png', 'mail@mail.com', 'https://www.facebook.com/juanchezx?ref=tn_tnmn', '', '', '', '2013-04-22 04:02:57', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
  152. (2, 'Argentina', 'Juan M. Sanchez', 'avatar_20130325032438.png', NULL, NULL, NULL, NULL, NULL, '2013-03-25 09:25:31', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
  153. (29, 'Deutschland', 'Nina Hagen', 'avatar_20130325032419.png', NULL, NULL, NULL, NULL, NULL, '2013-03-25 09:25:36', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.'),
  154. (30, 'dssdds', 'aaaa', '/graduate_20130422010309.png', 'asd@mail.com', '', '', '', '', '2013-04-22 04:03:09', 'asd', 'asd', 'asd'),
  155. (31, 'Polonia', 'Goyeneches', '/graduate_20130422010257.png', 'mail@mail.com', 'https://www.facebook.com/juanchezx?ref=tn_tnmn', '', '', '', '2013-04-22 04:02:57', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
  156. (32, 'dssdds', 'aaaa', '/graduate_20130422010309.png', 'asd@mail.com', '', '', '', '', '2013-04-22 04:03:09', 'asd', 'asd', 'asd'),
  157. (33, 'Argentina', 'Juan M. Sanchez', 'avatar_20130325032438.png', NULL, NULL, NULL, NULL, NULL, '2013-03-25 09:25:31', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
  158. (34, 'Polonia', 'Goyeneches', '/graduate_20130422010257.png', 'mail@mail.com', 'https://www.facebook.com/juanchezx?ref=tn_tnmn', '', '', '', '2013-04-22 04:02:57', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
  159. (36, 'dssdds', 'aaaa', '/graduate_20130422010309.png', 'asd@mail.com', '', '', '', '', '2013-04-22 04:03:09', 'asd', 'asd', 'asd');
  160. -- --------------------------------------------------------
  161. --
  162. -- Table structure for table `testimonys`
  163. --
  164. CREATE TABLE IF NOT EXISTS `testimonys` (
  165. `id` int(11) NOT NULL AUTO_INCREMENT,
  166. `id_distributor` int(11) NOT NULL,
  167. `description_EN` text NOT NULL,
  168. `description_ES` text NOT NULL,
  169. `description_PR` text NOT NULL,
  170. `date` date NOT NULL,
  171. PRIMARY KEY (`id`)
  172. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  173. --
  174. -- Dumping data for table `testimonys`
  175. --
  176. INSERT INTO `testimonys` (`id`, `id_distributor`, `description_EN`, `description_ES`, `description_PR`, `date`) VALUES
  177. (1, 1, 'asd', 'asd', 'ads', '2013-04-30');
  178. -- --------------------------------------------------------
  179. --
  180. -- Table structure for table `user`
  181. --
  182. CREATE TABLE IF NOT EXISTS `user` (
  183. `user_id` int(11) NOT NULL AUTO_INCREMENT,
  184. `username` varchar(255) DEFAULT NULL,
  185. `email` varchar(255) DEFAULT NULL,
  186. `display_name` varchar(50) DEFAULT NULL,
  187. `password` varchar(128) NOT NULL,
  188. `state` smallint(6) DEFAULT NULL,
  189. `role` varchar(50) DEFAULT NULL,
  190. PRIMARY KEY (`user_id`),
  191. UNIQUE KEY `username` (`username`),
  192. UNIQUE KEY `email` (`email`)
  193. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
  194. --
  195. -- Dumping data for table `user`
  196. --
  197. INSERT INTO `user` (`user_id`, `username`, `email`, `display_name`, `password`, `state`, `role`) VALUES
  198. (2, NULL, 'admin@aiyellow.development.com', NULL, '$2y$14$GeF4zFLkZ9hExIG.Uclk/uUcEoahVjAZsi90Fli65YFDdRb6LtukG', NULL, 'admin'),
  199. (3, NULL, 'admin@admin.com', NULL, '$2a$14$e0LDTmlhdWxa..srrBY4l./YS6oB/8RP6XAZlxZj9qksawGPFb01m', NULL, 'admin');
  200. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  201. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  202. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;