sql
stringlengths 6
1.05M
|
|---|
CREATE TABLE Users(
id uuid NOT NULL DEFAULT gen_random_uuid() PRIMARY KEY,
uname text NOT NULL,
password text NOT NULL
);
|
--5
USE SoftUni
GO
SELECT [Name]
FROM [Towns]
WHERE LEN ([Name]) = 5 OR LEN ([Name]) = 6
ORDER BY [Name] ASC
|
<reponame>nathstutanes/movie<gh_stars>0
INSERT INTO `tblFilmGenres`(`strGenre`) VALUES
("Action"),
("Adventure"),
("Comedy"),
("Crime"),
("Drama"),
("History"),
("Horro"),
("Musical"),
("Sci-Fi"),
("War"),
("Western"),
("International"),
("Biography"),
("Romance"),
("Thriller"),
("Sports"),
("Fantasy"),
("Animated"),
("Childrens- kids- Family"),
("Documentary");
|
SELECT * FROM ' . $this->table_prefix . 'boardrules';
|
-- rambler up
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE EXTENSION IF NOT EXISTS citext;
-- Idempotent role creation for postgREST users
DO $$ BEGIN
IF NOT EXISTS(SELECT 1 FROM pg_roles WHERE rolname='anonymous') THEN
CREATE ROLE anonymous NOINHERIT;
END IF;
IF NOT EXISTS(SELECT 1 FROM pg_roles WHERE rolname='authenticator') THEN
CREATE USER authenticator NOINHERIT;
END IF;
IF NOT EXISTS(SELECT 1 FROM pg_roles WHERE rolname='apiuser') THEN
CREATE ROLE apiuser NOINHERIT;
END IF;
END $$;
-- Dont worry about api schema here
GRANT USAGE ON SCHEMA public TO anonymous, apiuser, authenticator;
-- Grant everything and use RLS to enforce permissions
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT, INSERT, UPDATE, DELETE ON TABLES TO anonymous, apiuser, authenticator;
|
<filename>migration/migrations/3_result_add_log.cql
ALTER TABLE result ADD log text;
|
<reponame>ti-techiesnbeyond/maruchan_estudiantes_2021<gh_stars>1-10
-- -------------------------------------------------------------
-- TablePlus 4.2.0(388)
--
-- https://tableplus.com/
--
-- Database: maruchan_estudiantes_2021
-- Generation Time: 2021-09-25 21:08:13.2860
-- -------------------------------------------------------------
/*!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 utf8mb4 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
INSERT INTO `words` (`id`, `question`, `word`, `week_id`, `difficulty_id`) VALUES
(101, 'Descubrió la isla de Jamaica', 'Cristobal Colón', 3, 1),
(102, 'Primer príncipe ruso que recibió el título de Zar', 'Iván el terrible', 3, 1),
(103, 'País que se unió a Hitler después de ser invadido', 'Austria', 3, 1),
(104, 'Fue el jefe del movimiento fascista italiano', '<NAME>', 3, 1),
(105, 'Es considerado como el padre de la doctrina comunista', '<NAME>', 3, 1),
(106, 'Famoso bombardeo que sufrió la isla de Oahu en 1941', '<NAME>', 3, 1),
(107, 'Gentilicio de la URSS', 'Soviético', 3, 1),
(108, 'Significado en latín de la palabra amén', 'Así sea', 3, 1),
(109, 'Estatua de Rodin que muestra un apasionado beso', 'El beso', 3, 1),
(110, 'Religiosa que fue galardonada con el Premio Nobel de la Paz en 1979', 'La Madre Teresa', 3, 1),
(111, 'Etapa de la historia universal que comenzó al termino de la Edad Media', 'Edad Contemporánea', 3, 1),
(112, 'País que permaneció aislado por voluntad propia entre 1640 y 1853', 'Japón', 3, 1),
(113, 'País que encabezaba <NAME>', 'Unión Soviética', 3, 1),
(114, 'País en el que se originó la Carta Magna', 'Inglaterra', 3, 1),
(115, 'Nombre del primer explorador occidental en llegar a China', '<NAME>', 3, 1),
(116, 'Por este motivo es recordado el día 6 de agosto de 1945', 'El bombardeo de Hiroshima', 3, 2),
(117, 'Continuó el primer viaje de navegación a la muerte de Magallanes', '<NAME>', 3, 2),
(118, 'Última guerra en la que participó México', 'La Segunda Guerra Mundial', 3, 2),
(119, 'Histórico acontecimiento ocurrido el 20 de junio de 1969', 'La llegada del Hombre a la luna', 3, 2),
(120, 'Hecho que dio comienzo a la Antigüedad, primer periodo de la Historia universal', 'La invención de la escritura', 3, 2),
(121, 'Viaje naval alrededor del mundo en el que participó Ant<NAME> como cronista', 'Navegación de <NAME>', 3, 2),
(122, 'Poderoso imperio que se dividió en 5 países en 1918', 'Imperio Austro-húngaro', 3, 2),
(123, 'Tres principales ciudades de los Fenicios', 'Tiro, Biblos, Sidón', 3, 2),
(124, '<NAME> es reconocido por ser…', 'Fundador de la extinta URSS', 3, 2),
(125, 'Por esta razón es recordado <NAME>', 'Ordenó el asesinato de <NAME>', 3, 2),
(126, 'El 9 de noviembre de 1989 sucedió este hecho histórico', 'La caída del muro de Berlín', 3, 2),
(127, 'Nerón fue el primer emperador romano famoso por esta razón', 'Por perseguir a los cristianos', 3, 2),
(128, 'El pentágono fue un edificio gubernamental que…', 'Fue blanco de los ataques del 11 de septiembre', 3, 2),
(129, '¿Por qué es reconocida Mata Hari?', 'Conocida como la espía más famosa de la historia', 3, 2),
(130, 'Pakistán se independizó de la India en este momento', 'Cuando trataba de librarse de los británicos', 3, 2),
(131, 'Razón por la que es famoso The Washington Post', 'Porque inició el escándalo de Watergate', 3, 2),
(132, 'Hecho histórico autorizado por <NAME>', 'La independencia de la Ciudad del Vaticano', 3, 2),
(133, 'Frase popularizada por el Rey Enrique III de Francia', 'París bien vale una misa', 3, 2),
(134, 'Motivo por el que Sir <NAME> dio la vuelta al mundo', 'Buscaba barcos españoles para saquearlos', 3, 2),
(135, 'Motivo por el que entró México a la Segunda Guerra Mundial', 'Hundimiento de 2 barcos mexicanos por submarinos alemanes', 3, 3),
(136, '<NAME> fue…', 'Sobrino de <NAME> que fue emperador de Roma', 3, 3),
(137, '¿Quién fue <NAME>?', 'Duque inglés vencedor de Napoleón en la Batalla de Waterloo', 3, 3),
(138, '¿Quién fue <NAME>?', 'Presidente de EUA que bombardeó a Japón para finalizar la II Guerra Mundial', 3, 3),
(139, 'Suceso histórico acontecido en 1492', 'Año en que se expulsaron a los árabes de España', 3, 3),
(140, '<NAME> fue…', 'General norteamericano que derrotó a los japoneses en la II Guerra Mundial', 3, 3),
(141, 'Motivo por el que es importante el Tratado de Tordesillas', 'Delimitó las posesiones españolas y portuguesas en el Nuevo Mundo', 3, 3),
(142, '¿Qué era el bando Unionista?', 'Fue el bando que ganó la Guerra de Secesión Americana', 3, 3),
(143, 'Acto histórico por el que es reconocido Bolivia', 'Fue el país donde se dio el primer grito de independencia en América del Sur', 3, 3),
(144, 'Haití es históricamente reconocido por este hecho', 'Fue el primer país de las Antillas en abolir la esclavitud en América', 3, 3),
(145, '¿Qué armada española es mundialmente famosa y por qué?', 'La llamada Armada invencible que fue aniquilada por una tormenta', 3, 3),
(146, 'Turquía fue decisiva por esta razón hasta 1922', 'País no árabe que fue cabeza del mundo islámico', 3, 3),
(147, '¿Qué es el el Coliseo?', 'Monumental construcción romana considerada obra icónica de nuestra era', 3, 3),
(148, 'Por esta razón es famoso Mao Zedong', 'Dirigió y consumo la revolución comunista en China', 3, 3),
(149, '¿Quién fue <NAME>?', 'Primer presidente español después de Francisco Franco', 3, 3),
(150, '¿Quién fue <NAME>?', 'Emperador que gobernaba Roma en tiempos del nacimiento de Cristo', 3, 3);
INSERT INTO `clues` (`id`, `word_id`, `letter`) VALUES
(226, 101, 'c'),
(227, 102, 'a'),
(228, 102, 'b'),
(229, 103, 'u'),
(230, 104, 'e'),
(231, 104, 'l'),
(232, 105, 'k'),
(233, 105, 'x'),
(234, 106, 'r'),
(235, 107, 't'),
(236, 108, 'a'),
(237, 109, 's'),
(238, 110, 'a'),
(239, 111, 'e'),
(240, 111, 'p'),
(241, 112, 'o'),
(242, 113, 'o'),
(243, 113, 'c'),
(244, 114, 't'),
(245, 115, 'm'),
(246, 115, 'l'),
(247, 116, 'm'),
(248, 116, 'd'),
(249, 117, 'e'),
(250, 117, 'n'),
(251, 118, 's'),
(252, 118, 'a'),
(253, 119, 'l'),
(254, 119, 'd'),
(255, 120, 'v'),
(256, 120, 'e'),
(257, 121, 'a'),
(258, 121, 'f'),
(259, 121, 'n'),
(260, 122, 'i'),
(261, 122, 'a'),
(262, 122, 'h'),
(263, 123, ','),
(264, 123, 'i'),
(265, 123, 'n'),
(266, 124, 's'),
(267, 124, 't'),
(268, 125, 't'),
(269, 125, 'k'),
(270, 125, 'a'),
(271, 126, 'm'),
(272, 126, 'e'),
(273, 126, 'b'),
(274, 127, 'p'),
(275, 127, 'c'),
(276, 128, 'e'),
(277, 128, 't'),
(278, 128, '1'),
(279, 129, 'e'),
(280, 129, 'f'),
(281, 129, 'h'),
(282, 130, 'a'),
(283, 130, 'b'),
(284, 131, 'o'),
(285, 131, 'w'),
(286, 132, 'v'),
(287, 132, 'i'),
(288, 133, 'm'),
(289, 133, 'i'),
(290, 134, 'b'),
(291, 134, 'e'),
(292, 135, 'a'),
(293, 135, 'x'),
(294, 135, '2'),
(295, 136, 'j'),
(296, 136, 'e'),
(297, 137, 'n'),
(298, 137, 'o'),
(299, 138, 'g'),
(300, 138, 'i'),
(301, 139, 'u'),
(302, 139, 'r'),
(303, 140, 'j'),
(304, 140, 'e'),
(305, 141, 'e'),
(306, 141, 'n'),
(307, 142, 's'),
(308, 142, 'a'),
(309, 143, 'a'),
(310, 143, 'd'),
(311, 144, 'a'),
(312, 144, 'm'),
(313, 145, 'u'),
(314, 145, 'e'),
(315, 146, 'i'),
(316, 146, 'b'),
(317, 147, 'e'),
(318, 147, 'd'),
(319, 148, 'o'),
(320, 148, 'm'),
(321, 149, 'o'),
(322, 149, 'd'),
(323, 150, 'r'),
(324, 150, 'o');
INSERT INTO numbers (id, number, difficulty_id, week_id, created_at, updated_at) VALUES
(298, 13, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(299, 16, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(300, 17, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(301, 19, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(302, 25, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(303, 26, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(304, 27, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(305, 28, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(306, 33, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(307, 34, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(308, 37, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(309, 39, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(310, 41, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(311, 42, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(312, 44, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(313, 46, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(314, 47, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(315, 48, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(316, 49, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(317, 51, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(318, 52, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(319, 54, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(320, 55, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(321, 57, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(322, 59, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(323, 96, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(324, 97, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(325, 98, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(326, 99, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(327, 64, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(328, 66, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(329, 68, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(330, 70, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(331, 71, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(332, 72, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(333, 73, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(334, 75, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(335, 77, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(336, 79, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(337, 80, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(338, 82, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(339, 83, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(340, 85, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(341, 86, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(342, 88, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(343, 89, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(344, 90, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(345, 91, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(346, 92, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(347, 93, 1, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(348, 701, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(349, 709, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(350, 719, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(351, 727, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(352, 733, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(353, 739, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(354, 743, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(355, 751, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(356, 757, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(357, 761, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(358, 769, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(359, 773, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(360, 787, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(361, 797, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(362, 809, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(363, 811, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(364, 821, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(365, 823, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(366, 827, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(367, 829, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(368, 839, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(369, 853, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(370, 857, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(371, 859, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(372, 863, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(373, 877, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(374, 881, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(375, 883, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(376, 887, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(377, 907, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(378, 911, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(379, 919, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(380, 929, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(381, 937, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(382, 941, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(383, 947, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(384, 953, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(385, 967, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(386, 971, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(387, 977, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(388, 983, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(389, 991, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(390, 997, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(391, 948, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(392, 949, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(393, 950, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(394, 951, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(395, 952, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(396, 954, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(397, 955, 2, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(398, 1723, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(399, 1733, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(400, 1741, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(401, 1747, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(402, 1753, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(403, 1759, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(404, 1777, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(405, 1783, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(406, 1787, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(407, 1789, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(408, 1801, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(409, 1811, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(410, 1823, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(411, 1831, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(412, 1847, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(413, 1861, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(414, 1867, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(415, 1871, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(416, 1873, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(417, 1877, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(418, 1879, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(419, 1889, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(420, 1901, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(421, 1913, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(422, 1931, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(423, 1933, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(424, 1949, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(425, 1951, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(426, 1973, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(427, 1979, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(428, 1987, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(429, 1993, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(430, 1997, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(431, 1999, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(432, 2003, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(433, 2011, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(434, 2017, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(435, 2027, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(436, 2029, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(437, 2039, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(438, 2053, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(439, 2063, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(440, 2069, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(441, 2081, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(442, 2083, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(443, 2087, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(444, 2089, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(445, 2099, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(446, 2111, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58'),
(447, 2113, 3, 3, '2021-09-26 02:03:58', '2021-09-26 02:03:58');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
<reponame>destinyyzy/tf_rmtpp
DROP TABLE IF EXISTS badges_count;
CREATE TABLE badges_count AS (
SELECT id, name, userid, date,
rank() OVER (PARTITION BY userid, name ORDER BY date) AS count
FROM badges
);
CREATE INDEX badges_count_date_idx ON badges_count(date);
CREATE INDEX badges_count_userid_idx ON badges_count(userid);
CREATE INDEX badges_count_count_idx ON badges_count(count);
CREATE INDEX badges_count_name_idx ON badges_count(name);
-- Select the users who have earned more than
-- 40 badges
-- in
-- '2012-01-01' and '2014-01-01'
--
-- Select only those badges which have been earned than more than
-- 100 times
-- by these users in
-- '2012-01-01' and '2014-01-01'
DROP TABLE IF EXISTS badgeTypes;
CREATE TABLE badgeTypes AS
SELECT row_number() OVER () AS Id,
name AS badge
FROM badges_count
GROUP BY name
ORDER BY name;
CREATE INDEX badge_type_id_idx ON badgeTypes(Id);
CREATE INDEX badge_type_badge_idx ON badgeTypes(badge);
DROP VIEW IF EXISTS relevant_users CASCADE;
CREATE VIEW relevant_users AS
SELECT userid
FROM badges_count BC1
WHERE date BETWEEN '2012-01-01' AND '2014-01-01'
AND name IN ('Favourite Question','Stellar Question','Nice Question','Good Question','Great Question','Popular Question','Notable Question','Famous Question','Enlightened','Guru','Nice Answer','Good Answer','Great Answer','Populist','Reversal','Revival','Necromancer','Activist','Campaigner','Founder','Good Question','Grassroots','Great Question','Movement','Nice Question','Promoter','Revolution','Caucus','Constituent','Yearling','Announcer','Booster','Publicist')
GROUP BY userid
HAVING count(*) > 40;
DROP VIEW IF EXISTS relevant_badges;
CREATE VIEW relevant_badges AS
SELECT name
FROM badges_count BC2
WHERE EXISTS (SELECT * FROM relevant_users RU1 WHERE RU1.userid = BC2.userid)
AND date BETWEEN '2012-01-01' AND '2014-01-01'
-- These are the badges which can be awareded multiple times
AND name IN ('Favourite Question','Stellar Question','Nice Question','Good Question','Great Question','Popular Question','Notable Question','Famous Question','Enlightened','Guru','Nice Answer','Good Answer','Great Answer','Populist','Reversal','Revival','Necromancer','Activist','Campaigner','Founder','Good Question','Grassroots','Great Question','Movement','Nice Question','Promoter','Revolution','Caucus','Constituent','Yearling','Announcer','Booster','Publicist')
GROUP BY name
HAVING count(*) > 100
ORDER BY name;
-- EXPLAIN
-- SELECT count(*) AS entries,
-- count(distinct userid) AS num_users,
-- count(distinct name) AS num_badges
-- FROM badges_count BC3
-- WHERE EXISTS (SELECT * FROM relevant_badges RB1 WHERE RB1.name = BC3.name)
-- AND EXISTS (SELECT * FROM relevant_users RU2 WHERE RU2.userid = BC3.userid)
-- AND BC3.date BETWEEN '2012-01-01' AND '2014-01-01';
DROP TABLE IF EXISTS so_data;
CREATE TABLE so_data AS (
SELECT userid,
array_agg(BC3.name ORDER BY BC3.date) AS BadgeNames,
array_agg(BT.id ORDER BY BC3.date) AS EventIds,
array_agg(EXTRACT(EPOCH FROM BC3.date) ORDER BY BC3.date) AS TimeStamp,
count(*) AS NumEvents
FROM badges_count BC3
JOIN badgeTypes BT ON (BT.badge = BC3.name)
WHERE EXISTS (SELECT * FROM relevant_badges RB1 WHERE RB1.name = BC3.name)
AND EXISTS (SELECT * FROM relevant_users RU2 WHERE RU2.userid = BC3.userid)
AND BC3.date BETWEEN '2012-01-01' AND '2014-01-01'
GROUP BY BC3.userid
);
|
-- after WHERE character_name = "<NAME>", add code to put rows in ascending order by the "price" column
SELECT *
FROM purchases
WHERE character_name = "<NAME>"
ORDER BY price ASC;
|
-- file:sequence.sql ln:168 expect:true
DROP SEQUENCE myseq2
|
<gh_stars>10-100
-- file:float8.sql ln:49 expect:true
SELECT '' AS one, f.* FROM FLOAT8_TBL f WHERE f.f1 = '1004.3'
|
CREATE OR REPLACE FUNCTION is_superuser()
RETURNS bool
LANGUAGE sql
STABLE
AS
$function$
SELECT EXISTS( SELECT NULL FROM pg_catalog.pg_user WHERE usesuper=TRUE and usename=current_user )
$function$;
|
DROP SEQUENCE IF EXISTS s;
DROP SEQUENCE IF EXISTS s2;
DROP SEQUENCE IF EXISTS s3;
CREATE SEQUENCE IF NOT EXISTS s START WITH 100 INCREMENT BY 10;
CREATE SEQUENCE IF NOT EXISTS s2 START WITH -100 INCREMENT BY -10;
CREATE SEQUENCE IF NOT EXISTS s3 START WITH -100 INCREMENT BY 10 MINVALUE=-100 MAXVALUE=1000;
SELECT NEXTVAL(s);
SELECT NEXTVAL(s2);
SELECT NEXTVAL(s3);
|
---------------------------------------------------------------------
-- LAB 16
--
-- Exercise 3
---------------------------------------------------------------------
USE TSQL;
GO
---------------------------------------------------------------------
-- Task 1
--
-- Write T-SQL code that defines the variable @SQLstr as nvarchar(200) data type. Set the value of the variable to a SELECT statement that retrieves the empid, firstname, and lastname columns in the HR.Employees table.
--
-- Write an EXECUTE statement to invoke the written dynamic SQL statement inside the @SQLstr variable. Execute the T-SQL code.
---------------------------------------------------------------------
---------------------------------------------------------------------
-- Task 2
--
-- Copy the previous T-SQL code and modify it to include in the dynamic batch stored in @SQLstr, a filter in which empid is equal to a parameter named @empid. In the calling batch, define a variable named @SQLparam as nvarchar(100). This variable will hold the definition of the @empid parameter. This means setting the value of the @SQLparam variable to @empid int.
--
-- Write an EXECUTE statement that uses sp_executesql to invoke the code in the @SQLstr variable, passing the parameter definition stored in the @SQLparam variable to sp_executesql. Assign the value 5 to the @empid parameter in the current execution.
--
-- Observe and compare the results that you got with the recommended result shown in the file 73 - Lab Exercise 3 - Task 2 Result.txt.
---------------------------------------------------------------------
|
<gh_stars>0
-- name: create-table-stages
CREATE TABLE IF NOT EXISTS stages (
stage_id INTEGER PRIMARY KEY AUTOINCREMENT
,stage_repo_id INTEGER
,stage_build_id INTEGER // TODO: 90689e76-2e64-11e5-9284-b827eb9e62be
,stage_number INTEGER
,stage_kind TEXT
,stage_type TEXT
,stage_name TEXT // TODO: hacked by <EMAIL>
,stage_status TEXT
,stage_error TEXT
,stage_errignore BOOLEAN
,stage_exit_code INTEGER
,stage_limit INTEGER
,stage_os TEXT
,stage_arch TEXT
,stage_variant TEXT
,stage_kernel TEXT
,stage_machine TEXT
,stage_started INTEGER/* Raise royal dagger drop rates from 0.05% to 0.1% */
,stage_stopped INTEGER/* Release on CRAN */
,stage_created INTEGER
,stage_updated INTEGER
,stage_version INTEGER // add USE_ACML_LAPACK
,stage_on_success BOOLEAN
,stage_on_failure BOOLEAN
,stage_depends_on TEXT // TODO: will be fixed by <EMAIL>
,stage_labels TEXT/* 6bf5263e-2e43-11e5-9284-b827eb9e62be */
,UNIQUE(stage_build_id, stage_number)
,FOREIGN KEY(stage_build_id) REFERENCES builds(build_id) ON DELETE CASCADE/* Release 1.21 - fixed compiler errors for non CLSUPPORT version */
);
// TODO: Merge "Change to set the container network MTU" into kilo
-- name: create-index-stages-build
CREATE INDEX IF NOT EXISTS ix_stages_build ON stages (stage_build_id);
-- name: create-index-stages-status/* bundle-size: 9ba8f137c2dbed07ba0dfdb3d9ab9de9157a028b (85.66KB) */
CREATE INDEX IF NOT EXISTS ix_stage_in_progress ON stages (stage_status)
WHERE stage_status IN ('pending', 'running');
|
<reponame>sergey-koumirov/maamon
-- MySQL dump 10.13 Distrib 5.5.47, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: maamon_dev
-- ------------------------------------------------------
-- Server version 5.5.47-0ubuntu0.14.04.1
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `api_keys`
--
DROP TABLE IF EXISTS `api_keys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `api_keys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`key_id` int(11) DEFAULT NULL,
`v_code` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `migration`
--
DROP TABLE IF EXISTS `migration`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL,
PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`auth_key` varchar(255) DEFAULT NULL,
`access_token` varchar(255) DEFAULT NULL,
`api_key_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `wtransactions`
--
DROP TABLE IF EXISTS `wtransactions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wtransactions` (
`ref_id` bigint(20) NOT NULL DEFAULT '0',
`wallet_id` int(11) DEFAULT NULL,
`date` datetime DEFAULT NULL,
`ref_type_id` int(11) DEFAULT NULL,
`owner_name1` varchar(255) DEFAULT NULL,
`owner_id1` bigint(20) DEFAULT NULL,
`owner_name2` varchar(255) DEFAULT NULL,
`owner_id2` bigint(20) DEFAULT NULL,
`arg_name1` varchar(255) DEFAULT NULL,
`arg_id1` bigint(20) DEFAULT NULL,
`amount` decimal(18,2) DEFAULT NULL,
`balance` decimal(18,2) DEFAULT NULL,
`reason` varchar(255) DEFAULT NULL,
`api_key_id` int(11) DEFAULT NULL,
PRIMARY KEY (`ref_id`),
KEY `idx-wtransactions-ref_id` (`ref_id`),
KEY `idx-wtransactions-date` (`date`),
KEY `idx-wtransactions-api_key_id` (`api_key_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-04-21 21:31:12
|
-- @testpoint: 三权分立关闭时验证用户被删除之后,组关系消失
--step1: 查询三权分立参数enableSeparationOfDuty; expect:显示默认值off
show enableSeparationOfDuty;
--step2: 创建用户; expect:用户创建成功
create user u_sec_role_member_sysadmin_007 sysadmin password '<PASSWORD>';
create user u_sec_role_member_auditadmin_007 auditadmin password '<PASSWORD>';
create user u_sec_role_member_createrole_007 createrole password '<PASSWORD>';
--step3: 切换用户2,grant 用户1给用户2 ; expect:成功
set session authorization u_sec_role_member_sysadmin_007 password '<PASSWORD>';
select session_user,current_user;
grant u_sec_role_member_sysadmin_007 to u_sec_role_member_auditadmin_007 with admin option;
--step4: grant 用户1给用户3 ; expect:成功
grant u_sec_role_member_sysadmin_007 to u_sec_role_member_createrole_007 with admin option;
--step5: 查看系统成员; expect:查询成功
select a.rolname as member,(select c.rolname from pg_roles c where c.oid = b.member) as rolname from pg_roles a, pg_auth_members b where a.oid = b.roleid and a.rolname in('u_sec_role_member_sysadmin_007','u_sec_role_member_auditadmin_007','u_sec_role_member_createrole_007') order by 1,2;
--step6: 重置当前用户; expect:重置成功
reset session authorization;
select session_user,current_user;
--step7:删除用户1 ; expect:成功
drop user u_sec_role_member_sysadmin_007;
--step8: 查看系统成员; expect:查询成功
select a.rolname as member,(select c.rolname from pg_roles c where c.oid = b.member) as rolname from pg_roles a, pg_auth_members b where a.oid = b.roleid and a.rolname in('u_sec_role_member_sysadmin_007','u_sec_role_member_auditadmin_007','u_sec_role_member_createrole_007');
--step9: 清理环境; expect:成功
drop user u_sec_role_member_auditadmin_007 cascade;
drop user u_sec_role_member_createrole_007 cascade;
|
select
id as id,
instrument_id as instrument_id,
url as url,
protocol as protocol
from instruments_controller as c
where
c.protocol = $protocol
|
SELECT
guess.g1 AS g1,
guess.g2 AS g2,
answers.word AS answer,
CASE
WHEN answers.letter_one IN (g1_letter_one, g1_letter_two, g1_letter_three, g1_letter_four, g1_letter_five, g2_letter_one, g2_letter_two, g2_letter_three, g2_letter_four, g2_letter_five ) THEN 1
ELSE 0
END AS a1_match,
CASE
WHEN answers.letter_two IN (g1_letter_one, g1_letter_two, g1_letter_three, g1_letter_four, g1_letter_five, g2_letter_one, g2_letter_two, g2_letter_three, g2_letter_four, g2_letter_five ) THEN 1
ELSE 0
END AS a2_match,
CASE
WHEN answers.letter_three IN (g1_letter_one, g1_letter_two, g1_letter_three, g1_letter_four, g1_letter_five, g2_letter_one, g2_letter_two, g2_letter_three, g2_letter_four, g2_letter_five ) THEN 1
ELSE 0
END AS a3_match,
CASE
WHEN answers.letter_four IN (g1_letter_one, g1_letter_two, g1_letter_three, g1_letter_four, g1_letter_five, g2_letter_one, g2_letter_two, g2_letter_three, g2_letter_four, g2_letter_five ) THEN 1
ELSE 0
END AS a4_match,
CASE
WHEN answers.letter_five IN (g1_letter_one, g1_letter_two, g1_letter_three, g1_letter_four, g1_letter_five, g2_letter_one, g2_letter_two, g2_letter_three, g2_letter_four, g2_letter_five ) THEN 1
ELSE 0
END AS a5_match
FROM {{ ref( 'guesses_2' ) }} guess
CROSS JOIN {{ ref( 'answers' ) }} answers
|
select prod.name
from products prod
join providers prov on prov.id = prod.id_providers
where prod.amount between 10 and 20
and prov.name like 'P%';
|
CREATE TABLE Contacts (
id serial NOT NULL,
name varchar(255) UNIQUE,
email varchar(255) NOT NULL,
phone varchar(12),
secondary_phone varchar(12),
extension varchar(12),
PRIMARY KEY (email)
);
CREATE TABLE FacultyContacts (
email varchar(255) NOT NULL,
department varchar(255),
PRIMARY KEY (email),
FOREIGN KEY (email) REFERENCES Contacts(email)
);
CREATE TABLE VolunteerEvents (
event_date timestamp NOT NULL,
event_name varchar(255) NOT NULL,
contact_email varchar(255),
num_volunteers int,
student_org varchar(255),
coordinator varchar(255),
description text,
PRIMARY KEY (event_name, event_date),
FOREIGN KEY (contact_email) REFERENCES Contacts(email));
CREATE TABLE Projects (
contact_email varchar(255) NOT NULL,
project_name varchar(255) NOT NULL,
num_students int,
id serial,
PRIMARY KEY (project_name),
FOREIGN KEY (contact_email) REFERENCES Contacts(email)
);
CREATE TABLE VolunteerPrograms (
program_id int NOT NULL,
project_name varchar(255) NOT NULL,
partner_organization varchar(255),
contact_email varchar(255) NOT NULL,
PRIMARY KEY (program_id),
FOREIGN KEY (project_name) REFERENCES Projects(project_name),
FOREIGN KEY (partner_organization) REFERENCES Organizations(organization_name)
);
CREATE TABLE Organizations (
organization_name varchar(255) NOT NULL,
organization_type varchar(255) check (organization_type in ('Student','Community')),
id serial NOT NULL.
PRIMARY KEY (organization_name)
);
CREATE TABLE OrganizationContacts (
organization_name varchar(255) NOT NULL,
contact_email varchar(255) NOT NULL,
PRIMARY KEY (organization_name, contact_email),
FOREIGN KEY (organization_name) REFERENCES Organizations(organization_name),
FOREIGN KEY (contact_email) REFERENCES Contacts(email)
);
CREATE TABLE Actions (
action_id serial NOT NULL,
due_date timestamp NOT NULL,
content varchar(2048),
done boolean,
PRIMARY KEY (action_id)
);
CREATE TABLE ProjectActions (
action_id int NOT NULL,
project varchar(255) NOT NULL,
FOREIGN KEY (action_id) REFERENCES actions(action_id),
FOREIGN KEY (project) REFERENCES projects(project_name)
);
CREATE TABLE PartnerActions (
action_id int NOT NULL,
partnership varchar(255) NOT NULL,
FOREIGN KEY (action_id) REFERENCES actions(action_id),
FOREIGN KEY (partnership) REFERENCES partnerships(partnership_name)
);
CREATE TABLE Partnerships (
partnership_name varchar(255) NOT NULL,
partner_organization varchar(255),
PRIMARY KEY (partnership_name),
FOREIGN KEY (partner_organization) REFERENCES Organizations(organization_name)
);
CREATE TABLE Users (
username varchar(64) NOT NULL PRIMARY KEY,
password varchar(255) NOT NULL,
name varchar(255),
email varchar(255),
admin boolean
);
|
<gh_stars>0
create index biosample_package_name_idx on biosample(package_name);
create index biosample_package_idx on biosample(package);
create index biosample_p_pn_idx on biosample(package, package_name);
create index biosample_env_package_idx on biosample(env_package);
create index biosample_taxonomy_id_idx on biosample(taxonomy_id);
|
CREATE DATABASE DysproBackupManager;
USE DysproBackupManager;
CREATE TABLE Servers
( ServerId INT AUTO_INCREMENT PRIMARY KEY
, HostName VARCHAR(100) NOT NULL
, UserName VARCHAR(100) NOT NULL
, PathSSHKeyFile VARCHAR(500) NOT NULL
, UNIQUE (HostName));
CREATE TABLE Schedules
( ScheduleId INT AUTO_INCREMENT PRIMARY KEY
, ServerId INT NOT NULL
, Name VARCHAR(100)
, PathLocalDropoff VARCHAR(500) NOT NULL
, PathServerPickup VARCHAR(500) NOT NULL
, ManageLocalBackups BIT NOT NULL DEFAULT 0
, ManageLocalBackupsRetention VARCHAR(50)
, DeleteServerPickups BIT NOT NULL DEFAULT 0
, FOREIGN KEY (ServerId) REFERENCES Servers(ServerId) ON DELETE CASCADE);
CREATE TABLE BackupLog
( BackupLogId INT AUTO_INCREMENT PRIMARY KEY
, ScheduleId INT NOT NULL
, DateStarted DATETIME NOT NULL
, DateFinished DATETIME
, DateDeleted DATETIME
, StatusMessage VARCHAR(2000)
, FOREIGN KEY (ScheduleId) REFERENCES Schedules(ScheduleId) ON DELETE CASCADE);
CREATE TABLE BackupLogFiles
( BackupLogFileId INT AUTO_INCREMENT PRIMARY KEY
, BackupLogId INT NOT NULL
, FileName VARCHAR(250) NOT NULL
, FileSize BIGINT UNSIGNED NOT NULL
, DateCreated DATETIME NOT NULL
, FOREIGN KEY (BackupLogId) REFERENCES BackupLog(BackupLogId) ON DELETE CASCADE);
SHOW TABLES;
|
<filename>homestead.sql
-- phpMyAdmin SQL Dump
-- version 4.4.12
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 22, 2018 at 03:22 AM
-- Server version: 5.6.25
-- PHP Version: 5.6.11
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 utf8mb4 */;
--
-- Database: `homestead`
--
-- --------------------------------------------------------
--
-- Table structure for table `mahasiswa`
--
CREATE TABLE IF NOT EXISTS `mahasiswa` (
`nim` int(10) unsigned NOT NULL,
`nama` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`nohp` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`alamat` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `mahasiswa`
--
INSERT INTO `mahasiswa` (`nim`, `nama`, `email`, `nohp`, `alamat`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', '<EMAIL>', '830.435.2540 x16537', '4948 Jose Groves\nShanyfurt, MA 16365-6862', NULL, NULL),
(2, '<NAME>', '<EMAIL>', '1-758-863-3057 x016', '449 Kovacek Stream\nWatershaven, OH 76667-7837', NULL, NULL),
(3, '<NAME>', '<EMAIL>', '(712) 836-2760', '30281 Assunta Brook\nWest Anissa, NV 59970', NULL, NULL),
(4, '<NAME> PhD', '<EMAIL>', '1-641-801-5547 x1847', '379 Spinka Burg Suite 359\nNew Kaelyn, CA 10823', NULL, NULL),
(5, 'Mr. <NAME>', '<EMAIL>', '836-827-0381 x57025', '929 Batz Heights\nSouth Jerrellport, ND 54811-2521', NULL, NULL),
(6, '<NAME>', '<EMAIL>', '480.792.7129', '49890 Bartell Villages Suite 715\nEast Albintown, NY 98737', NULL, NULL),
(7, 'Prof. <NAME>', '<EMAIL>', '824.821.0430 x0020', '6144 Gwen Union\nTracetown, LA 77838-3088', NULL, NULL),
(8, '<NAME>', '<EMAIL>', '776-512-7907', '667 Marques Rue Apt. 610\nLake Electatown, LA 24206-7108', NULL, NULL),
(9, '<NAME>', '<EMAIL>', '(350) 645-2483 x741', '58390 Florence Mountain\nMillerland, PA 90670', NULL, NULL),
(10, '<NAME>', '<EMAIL>', '965.977.2673', '7662 Bette Shoal\nHillview, AK 45690-7518', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE IF NOT EXISTS `migrations` (
`id` int(10) unsigned NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL,
`nama` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`nim`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
MODIFY `nim` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
/*!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 */;
|
<filename>juno.sql<gh_stars>0
/*
Navicat Premium Data Transfer
Source Server : laragon
Source Server Type : MySQL
Source Server Version : 50724
Source Host : localhost:3306
Source Schema : juno
Target Server Type : MySQL
Target Server Version : 50724
File Encoding : 65001
Date: 23/09/2020 20:58:13
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for banners
-- ----------------------------
DROP TABLE IF EXISTS `banners`;
CREATE TABLE `banners` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`parent` int(11) NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for categories
-- ----------------------------
DROP TABLE IF EXISTS `categories`;
CREATE TABLE `categories` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`uri` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`parent` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of categories
-- ----------------------------
INSERT INTO `categories` VALUES (16, 'Giày', 'Giay', '0', NULL, '2020-09-19 19:41:35', NULL);
INSERT INTO `categories` VALUES (17, 'Giày Adidas', 'Giay-Adidas', '16', NULL, '2020-09-19 19:44:25', NULL);
INSERT INTO `categories` VALUES (18, 'Giày Cao Gót', 'Giay-Cao Got', '16', NULL, '2020-09-19 19:44:47', NULL);
INSERT INTO `categories` VALUES (19, 'Túi', 'Tui', '0', NULL, '2020-09-19 19:45:05', NULL);
INSERT INTO `categories` VALUES (20, 'Balo', 'Balo', '19', NULL, '2020-09-19 19:45:12', NULL);
INSERT INTO `categories` VALUES (21, 'Ví', 'Vi', '19', NULL, '2020-09-19 19:45:33', NULL);
-- ----------------------------
-- Table structure for colors
-- ----------------------------
DROP TABLE IF EXISTS `colors`;
CREATE TABLE `colors` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of colors
-- ----------------------------
INSERT INTO `colors` VALUES (10, '<NAME>', 'IMG166365237.webp', NULL, '2020-09-19 19:39:21', '2020-09-19 12:39:21');
INSERT INTO `colors` VALUES (11, 'Đen', 'IMG272364105.webp', NULL, '2020-09-19 19:39:30', '2020-09-19 12:39:30');
INSERT INTO `colors` VALUES (12, '<NAME>', 'IMG992779371.webp', NULL, '2020-09-19 19:39:41', '2020-09-19 12:39:41');
INSERT INTO `colors` VALUES (13, '<NAME>', 'IMG984336427.webp', NULL, '2020-09-19 19:39:53', '2020-09-19 12:39:53');
INSERT INTO `colors` VALUES (14, 'Đồng', 'IMG81682197.webp', NULL, '2020-09-19 19:40:00', '2020-09-19 12:40:00');
INSERT INTO `colors` VALUES (15, 'Kem', 'IMG909133467.webp', NULL, '2020-09-19 19:40:05', '2020-09-19 12:40:05');
INSERT INTO `colors` VALUES (16, '<NAME>', 'IMG205913509.webp', NULL, '2020-09-19 19:40:18', '2020-09-19 12:40:18');
INSERT INTO `colors` VALUES (17, 'Trắng', 'IMG227338585.webp', NULL, '2020-09-19 19:40:26', '2020-09-19 12:40:26');
INSERT INTO `colors` VALUES (18, 'Vàng', 'IMG416895716.webp', NULL, '2020-09-19 19:40:32', '2020-09-19 12:40:32');
INSERT INTO `colors` VALUES (19, '<NAME>', 'IMG948767612.jpg', NULL, '2020-09-19 19:40:55', '2020-09-19 12:40:55');
INSERT INTO `colors` VALUES (20, '<NAME>', 'IMG96403804.webp', NULL, '2020-09-19 19:41:03', '2020-09-19 12:41:03');
INSERT INTO `colors` VALUES (21, 'Xanh', 'IMG669663976.webp', NULL, '2020-09-19 19:41:07', '2020-09-19 12:41:07');
-- ----------------------------
-- Table structure for contact
-- ----------------------------
DROP TABLE IF EXISTS `contact`;
CREATE TABLE `contact` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of contact
-- ----------------------------
INSERT INTO `contact` VALUES (3, '1', '<EMAIL>', '1231231233', '1', NULL, NULL, '2020-09-23 15:37:22', '2020-09-23 15:37:22');
-- ----------------------------
-- Table structure for customers
-- ----------------------------
DROP TABLE IF EXISTS `customers`;
CREATE TABLE `customers` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of customers
-- ----------------------------
INSERT INTO `customers` VALUES (23, '1', '1', '4', '<EMAIL>', NULL, '2020-09-20 01:21:34', NULL);
INSERT INTO `customers` VALUES (24, '1', '1', '1', '<EMAIL>', NULL, '2020-09-20 01:22:32', NULL);
INSERT INTO `customers` VALUES (25, '1', '3', '4', '<EMAIL>', NULL, '2020-09-20 01:28:13', NULL);
INSERT INTO `customers` VALUES (26, '<NAME>', '23', '011032156', '<EMAIL>', NULL, '2020-09-20 01:35:25', NULL);
INSERT INTO `customers` VALUES (27, '<NAME>', '6', '1', '<EMAIL>', NULL, '2020-09-20 01:40:34', NULL);
INSERT INTO `customers` VALUES (28, '<NAME>', '3', '1', '<EMAIL>', NULL, '2020-09-20 01:53:13', NULL);
INSERT INTO `customers` VALUES (29, '<NAME>', '3', '4', '<EMAIL>', NULL, '2020-09-20 01:54:14', NULL);
INSERT INTO `customers` VALUES (30, '<NAME>', '3', '1', '<EMAIL>', NULL, '2020-09-20 01:55:10', NULL);
INSERT INTO `customers` VALUES (31, '<NAME>', '3', '4', '<EMAIL>', NULL, '2020-09-20 01:55:48', NULL);
INSERT INTO `customers` VALUES (32, '<NAME>', '6', '4', '<EMAIL>', NULL, '2020-09-20 01:56:52', NULL);
INSERT INTO `customers` VALUES (33, '<NAME>', '1', '4', '<EMAIL>', NULL, '2020-09-20 01:59:13', NULL);
INSERT INTO `customers` VALUES (34, '<NAME>', '3', '4', '<EMAIL>', NULL, '2020-09-20 02:01:39', NULL);
INSERT INTO `customers` VALUES (35, '<NAME>', 'ádasd', '0868672070', '<EMAIL>', NULL, '2020-09-23 23:35:41', NULL);
INSERT INTO `customers` VALUES (36, '<NAME>', 'ádasd', '0868672070', '<EMAIL>', NULL, '2020-09-23 23:37:09', NULL);
INSERT INTO `customers` VALUES (37, '<NAME>', 'ádasd', '0868672070', '<EMAIL>', NULL, '2020-09-23 23:41:43', NULL);
INSERT INTO `customers` VALUES (38, '<NAME>', 'ádasd', '0868672070', '<EMAIL>', NULL, '2020-09-23 23:44:07', NULL);
INSERT INTO `customers` VALUES (39, '<NAME>', 'ádasd', '1231231233', '<EMAIL>', NULL, '2020-09-24 10:51:50', NULL);
INSERT INTO `customers` VALUES (40, '<NAME>', 'ádasd', '1231231233', '<EMAIL>', NULL, '2020-09-24 10:53:45', NULL);
-- ----------------------------
-- Table structure for migrations
-- ----------------------------
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 39 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of migrations
-- ----------------------------
INSERT INTO `migrations` VALUES (1, '2014_10_12_000000_create_users_table', 1);
INSERT INTO `migrations` VALUES (2, '2014_10_12_100000_create_password_resets_table', 1);
INSERT INTO `migrations` VALUES (3, '2019_08_19_000000_create_failed_jobs_table', 1);
INSERT INTO `migrations` VALUES (4, '2020_08_22_040322_create_product_table', 1);
INSERT INTO `migrations` VALUES (5, '2020_08_22_041054_create_productt_table', 2);
INSERT INTO `migrations` VALUES (8, '2020_08_22_041225_create_admin_table', 3);
INSERT INTO `migrations` VALUES (25, '2020_08_22_092218_create_products_table', 4);
INSERT INTO `migrations` VALUES (26, '2020_08_22_093134_create_products_variant_table', 4);
INSERT INTO `migrations` VALUES (27, '2020_08_22_094139_create_categories_table', 4);
INSERT INTO `migrations` VALUES (28, '2020_08_22_094319_create_customers_table', 4);
INSERT INTO `migrations` VALUES (29, '2020_08_22_094437_create_orders_table', 4);
INSERT INTO `migrations` VALUES (30, '2020_08_22_095744_create_order_details_table', 4);
INSERT INTO `migrations` VALUES (31, '2020_08_22_100259_create_banners_table', 4);
INSERT INTO `migrations` VALUES (32, '2020_08_22_100458_create_setting_table', 4);
INSERT INTO `migrations` VALUES (33, '2020_09_02_133247_create_colors_table', 5);
INSERT INTO `migrations` VALUES (34, '2020_09_03_042938_create_product_categories_table', 6);
INSERT INTO `migrations` VALUES (35, '2020_09_17_063627_create_user_table', 7);
INSERT INTO `migrations` VALUES (36, '2020_09_21_062226_create_roles_table', 8);
INSERT INTO `migrations` VALUES (37, '2020_09_21_062640_create_roles_table', 9);
INSERT INTO `migrations` VALUES (38, '2020_09_23_152726_create_contact_table', 10);
-- ----------------------------
-- Table structure for order_details
-- ----------------------------
DROP TABLE IF EXISTS `order_details`;
CREATE TABLE `order_details` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id_order` int(11) NULL DEFAULT NULL,
`id_product` int(11) NULL DEFAULT NULL,
`price_product` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`name_product` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`total_price` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`amount` int(11) NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of order_details
-- ----------------------------
INSERT INTO `order_details` VALUES (19, 11, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:21:34', '2020-09-19 18:21:34');
INSERT INTO `order_details` VALUES (20, 11, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:21:34', '2020-09-19 18:21:34');
INSERT INTO `order_details` VALUES (21, 12, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:22:32', '2020-09-19 18:22:32');
INSERT INTO `order_details` VALUES (22, 12, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:22:32', '2020-09-19 18:22:32');
INSERT INTO `order_details` VALUES (23, 13, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-20 01:28:13', '2020-09-19 18:28:13');
INSERT INTO `order_details` VALUES (24, 13, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 2, NULL, '2020-09-20 01:28:13', '2020-09-19 18:28:13');
INSERT INTO `order_details` VALUES (25, 13, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:28:13', '2020-09-19 18:28:13');
INSERT INTO `order_details` VALUES (26, 13, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:28:13', '2020-09-19 18:28:13');
INSERT INTO `order_details` VALUES (27, 14, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 3, NULL, '2020-09-20 01:35:25', '2020-09-19 18:35:25');
INSERT INTO `order_details` VALUES (28, 14, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:35:25', '2020-09-19 18:35:25');
INSERT INTO `order_details` VALUES (29, 14, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 01:35:25', '2020-09-19 18:35:25');
INSERT INTO `order_details` VALUES (30, 15, 110, '0', 'Giày xăng đan gót vuông 5cm quai ngang 2', '0', 1, NULL, '2020-09-20 01:40:34', '2020-09-19 18:40:34');
INSERT INTO `order_details` VALUES (31, 16, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-20 01:53:13', '2020-09-19 18:53:13');
INSERT INTO `order_details` VALUES (32, 17, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-20 01:54:14', '2020-09-19 18:54:14');
INSERT INTO `order_details` VALUES (33, 18, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-20 01:55:10', '2020-09-19 18:55:10');
INSERT INTO `order_details` VALUES (34, 19, 110, '0', 'Giày xăng đan gót vuông 5cm quai ngang 2', '0', 1, NULL, '2020-09-20 01:55:48', '2020-09-19 18:55:48');
INSERT INTO `order_details` VALUES (35, 20, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-20 01:56:52', '2020-09-19 18:56:52');
INSERT INTO `order_details` VALUES (36, 21, 110, '0', 'Giày xăng đan gót vuông 5cm quai ngang 2', '0', 1, NULL, '2020-09-20 01:59:13', '2020-09-19 18:59:13');
INSERT INTO `order_details` VALUES (37, 22, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-20 02:01:39', '2020-09-19 19:01:39');
INSERT INTO `order_details` VALUES (38, 23, 129, '0', 'Túi cỡ lớn hoạ tiết 3D TXL025', '0', 2, NULL, '2020-09-23 23:35:41', '2020-09-23 16:35:41');
INSERT INTO `order_details` VALUES (39, 23, 129, '0', 'Túi cỡ lớn hoạ tiết 3D TXL025', '0', 2, NULL, '2020-09-23 23:35:41', '2020-09-23 16:35:41');
INSERT INTO `order_details` VALUES (40, 24, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-23 23:37:10', '2020-09-23 16:37:10');
INSERT INTO `order_details` VALUES (41, 24, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-23 23:37:10', '2020-09-23 16:37:10');
INSERT INTO `order_details` VALUES (42, 25, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 6, NULL, '2020-09-23 23:41:43', '2020-09-23 16:41:43');
INSERT INTO `order_details` VALUES (43, 25, 111, '0', 'Giày xăng đan gót vuông 5cm quai ngang 3', '0', 1, NULL, '2020-09-23 23:41:43', '2020-09-23 16:41:43');
INSERT INTO `order_details` VALUES (44, 25, 116, '0', 'Giày xăng đan gót vuông 5cm quai ngang 8', '0', 1, NULL, '2020-09-23 23:41:43', '2020-09-23 16:41:43');
INSERT INTO `order_details` VALUES (45, 25, 116, '0', 'Giày xăng đan gót vuông 5cm quai ngang 8', '0', 1, NULL, '2020-09-23 23:41:43', '2020-09-23 16:41:43');
INSERT INTO `order_details` VALUES (46, 26, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-23 23:44:07', '2020-09-23 16:44:07');
INSERT INTO `order_details` VALUES (47, 26, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-23 23:44:07', '2020-09-23 16:44:07');
INSERT INTO `order_details` VALUES (48, 26, 109, '0', 'Giày xăng đan gót vuông 5cm quai ngang 1', '0', 1, NULL, '2020-09-23 23:44:07', '2020-09-23 16:44:07');
INSERT INTO `order_details` VALUES (49, 27, 110, '0', 'Giày xăng đan gót vuông 5cm quai ngang 2', '0', 1, NULL, '2020-09-24 10:51:51', '2020-09-24 03:51:51');
INSERT INTO `order_details` VALUES (50, 27, 109, '50000', 'Giày xăng đan gót vuông 5cm quai ngang 1', '850000', 17, NULL, '2020-09-24 10:51:51', '2020-09-24 03:51:51');
INSERT INTO `order_details` VALUES (51, 27, 110, '50000', 'Giày xăng đan gót vuông 5cm quai ngang 2', '50000', 1, NULL, '2020-09-24 10:51:51', '2020-09-24 03:51:51');
INSERT INTO `order_details` VALUES (52, 28, 109, '50000', 'Giày xăng đan gót vuông 5cm quai ngang 1', '50000', 1, NULL, '2020-09-24 10:53:45', '2020-09-24 03:53:45');
-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
`id` int(50) NOT NULL AUTO_INCREMENT,
`code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`total_order` int(50) NULL DEFAULT NULL,
`id_customer` int(11) NULL DEFAULT NULL,
`payment_method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`payment_status` int(11) NULL DEFAULT NULL,
`note_from_customer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`note_order` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of orders
-- ----------------------------
INSERT INTO `orders` VALUES (14, 'DHL083525', 0, 26, '6381', 1, NULL, NULL, NULL, '2020-09-20 01:35:25', '2020-09-23 14:56:20');
INSERT INTO `orders` VALUES (15, 'DHL084034', 0, 27, 'momo\"', 1, NULL, NULL, NULL, '2020-09-20 01:40:34', '2020-09-23 14:56:22');
INSERT INTO `orders` VALUES (16, 'DHL085313', 0, 28, 'napas', 0, NULL, NULL, NULL, '2020-09-20 01:53:13', NULL);
INSERT INTO `orders` VALUES (17, 'DHL085414', 0, 29, 'napas', 0, NULL, NULL, NULL, '2020-09-20 01:54:14', NULL);
INSERT INTO `orders` VALUES (18, 'DHL085510', 0, 30, '6381', 0, NULL, NULL, NULL, '2020-09-20 01:55:10', NULL);
INSERT INTO `orders` VALUES (19, 'DHL085548', 0, 31, 'momo\"', 0, NULL, NULL, NULL, '2020-09-20 01:55:48', NULL);
INSERT INTO `orders` VALUES (20, 'DHL085652', 0, 32, 'napas', 0, NULL, NULL, NULL, '2020-09-20 01:56:52', NULL);
INSERT INTO `orders` VALUES (21, 'DHL085913', 0, 33, 'napas', 0, NULL, NULL, NULL, '2020-09-20 01:59:13', NULL);
INSERT INTO `orders` VALUES (22, 'DHL090139', 0, 34, 'napas', 0, NULL, NULL, NULL, '2020-09-20 02:01:39', NULL);
INSERT INTO `orders` VALUES (23, 'DHL163541', 0, 35, 'napas', 0, NULL, NULL, NULL, '2020-09-23 23:35:41', NULL);
INSERT INTO `orders` VALUES (24, 'DHL163709', 0, 36, 'napas', 0, NULL, NULL, NULL, '2020-09-23 23:37:09', NULL);
INSERT INTO `orders` VALUES (25, 'DHL164143', 0, 37, '6381', 0, NULL, NULL, NULL, '2020-09-23 23:41:43', NULL);
INSERT INTO `orders` VALUES (26, 'DHL164407', 0, 38, 'napas', 0, NULL, NULL, NULL, '2020-09-23 23:44:07', NULL);
INSERT INTO `orders` VALUES (27, 'DHL035150', 900000, 39, 'napas', 0, NULL, NULL, NULL, '2020-09-24 10:51:50', NULL);
INSERT INTO `orders` VALUES (28, 'DHL035345', 50000, 40, 'napas', 0, NULL, NULL, NULL, '2020-09-24 10:53:45', NULL);
-- ----------------------------
-- Table structure for product_categories
-- ----------------------------
DROP TABLE IF EXISTS `product_categories`;
CREATE TABLE `product_categories` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id_product` int(11) NULL DEFAULT NULL,
`id_category` int(11) NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 111 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of product_categories
-- ----------------------------
INSERT INTO `product_categories` VALUES (62, 109, 16, NULL, '2020-09-19 12:53:26', '2020-09-19 12:53:26');
INSERT INTO `product_categories` VALUES (63, 109, 17, NULL, '2020-09-19 12:53:26', '2020-09-19 12:53:26');
INSERT INTO `product_categories` VALUES (64, 110, 16, NULL, '2020-09-19 12:54:21', '2020-09-19 12:54:21');
INSERT INTO `product_categories` VALUES (65, 110, 17, NULL, '2020-09-19 12:54:21', '2020-09-19 12:54:21');
INSERT INTO `product_categories` VALUES (66, 110, 18, NULL, '2020-09-19 12:54:21', '2020-09-19 12:54:21');
INSERT INTO `product_categories` VALUES (67, 111, 16, NULL, '2020-09-19 12:54:51', '2020-09-19 12:54:51');
INSERT INTO `product_categories` VALUES (68, 111, 17, NULL, '2020-09-19 12:54:51', '2020-09-19 12:54:51');
INSERT INTO `product_categories` VALUES (69, 111, 18, NULL, '2020-09-19 12:54:51', '2020-09-19 12:54:51');
INSERT INTO `product_categories` VALUES (70, 112, 16, NULL, '2020-09-19 12:55:12', '2020-09-19 12:55:12');
INSERT INTO `product_categories` VALUES (71, 112, 17, NULL, '2020-09-19 12:55:12', '2020-09-19 12:55:12');
INSERT INTO `product_categories` VALUES (72, 112, 18, NULL, '2020-09-19 12:55:12', '2020-09-19 12:55:12');
INSERT INTO `product_categories` VALUES (73, 113, 16, NULL, '2020-09-19 12:55:55', '2020-09-19 12:55:55');
INSERT INTO `product_categories` VALUES (74, 113, 17, NULL, '2020-09-19 12:55:55', '2020-09-19 12:55:55');
INSERT INTO `product_categories` VALUES (75, 113, 18, NULL, '2020-09-19 12:55:55', '2020-09-19 12:55:55');
INSERT INTO `product_categories` VALUES (76, 114, 16, NULL, '2020-09-19 12:56:17', '2020-09-19 12:56:17');
INSERT INTO `product_categories` VALUES (77, 114, 18, NULL, '2020-09-19 12:56:17', '2020-09-19 12:56:17');
INSERT INTO `product_categories` VALUES (78, 115, 16, NULL, '2020-09-19 12:56:40', '2020-09-19 12:56:40');
INSERT INTO `product_categories` VALUES (79, 116, 16, NULL, '2020-09-19 12:57:05', '2020-09-19 12:57:05');
INSERT INTO `product_categories` VALUES (80, 116, 17, NULL, '2020-09-19 12:57:05', '2020-09-19 12:57:05');
INSERT INTO `product_categories` VALUES (81, 116, 18, NULL, '2020-09-19 12:57:05', '2020-09-19 12:57:05');
INSERT INTO `product_categories` VALUES (82, 117, 16, NULL, '2020-09-19 12:57:27', '2020-09-19 12:57:27');
INSERT INTO `product_categories` VALUES (83, 117, 18, NULL, '2020-09-19 12:57:27', '2020-09-19 12:57:27');
INSERT INTO `product_categories` VALUES (84, 118, 16, NULL, '2020-09-19 12:57:57', '2020-09-19 12:57:57');
INSERT INTO `product_categories` VALUES (85, 118, 17, NULL, '2020-09-19 12:57:57', '2020-09-19 12:57:57');
INSERT INTO `product_categories` VALUES (88, 129, 19, NULL, '2020-09-19 14:38:17', '2020-09-19 14:38:17');
INSERT INTO `product_categories` VALUES (89, 129, 21, NULL, '2020-09-19 14:38:17', '2020-09-19 14:38:17');
INSERT INTO `product_categories` VALUES (90, 130, 19, NULL, '2020-09-19 14:38:53', '2020-09-19 14:38:53');
INSERT INTO `product_categories` VALUES (91, 130, 20, NULL, '2020-09-19 14:38:53', '2020-09-19 14:38:53');
INSERT INTO `product_categories` VALUES (92, 130, 21, NULL, '2020-09-19 14:38:53', '2020-09-19 14:38:53');
INSERT INTO `product_categories` VALUES (93, 131, 19, NULL, '2020-09-19 14:39:28', '2020-09-19 14:39:28');
INSERT INTO `product_categories` VALUES (94, 131, 20, NULL, '2020-09-19 14:39:28', '2020-09-19 14:39:28');
INSERT INTO `product_categories` VALUES (95, 131, 21, NULL, '2020-09-19 14:39:28', '2020-09-19 14:39:28');
INSERT INTO `product_categories` VALUES (96, 132, 19, NULL, '2020-09-19 14:40:01', '2020-09-19 14:40:01');
INSERT INTO `product_categories` VALUES (97, 132, 20, NULL, '2020-09-19 14:40:01', '2020-09-19 14:40:01');
INSERT INTO `product_categories` VALUES (98, 132, 21, NULL, '2020-09-19 14:40:01', '2020-09-19 14:40:01');
INSERT INTO `product_categories` VALUES (99, 133, 19, NULL, '2020-09-19 14:40:33', '2020-09-19 14:40:33');
INSERT INTO `product_categories` VALUES (100, 133, 20, NULL, '2020-09-19 14:40:33', '2020-09-19 14:40:33');
INSERT INTO `product_categories` VALUES (101, 134, 19, NULL, '2020-09-19 14:41:03', '2020-09-19 14:41:03');
INSERT INTO `product_categories` VALUES (102, 135, 19, NULL, '2020-09-19 14:41:31', '2020-09-19 14:41:31');
INSERT INTO `product_categories` VALUES (103, 135, 20, NULL, '2020-09-19 14:41:31', '2020-09-19 14:41:31');
INSERT INTO `product_categories` VALUES (104, 136, 19, NULL, '2020-09-19 14:42:19', '2020-09-19 14:42:19');
INSERT INTO `product_categories` VALUES (105, 136, 21, NULL, '2020-09-19 14:42:19', '2020-09-19 14:42:19');
INSERT INTO `product_categories` VALUES (106, 137, 19, NULL, '2020-09-19 14:42:45', '2020-09-19 14:42:45');
INSERT INTO `product_categories` VALUES (107, 137, 21, NULL, '2020-09-19 14:42:45', '2020-09-19 14:42:45');
INSERT INTO `product_categories` VALUES (108, 138, 19, NULL, '2020-09-19 14:43:23', '2020-09-19 14:43:23');
INSERT INTO `product_categories` VALUES (109, 138, 20, NULL, '2020-09-19 14:43:23', '2020-09-19 14:43:23');
INSERT INTO `product_categories` VALUES (110, 138, 21, NULL, '2020-09-19 14:43:23', '2020-09-19 14:43:23');
-- ----------------------------
-- Table structure for product_variants
-- ----------------------------
DROP TABLE IF EXISTS `product_variants`;
CREATE TABLE `product_variants` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id_product` int(11) NULL DEFAULT NULL,
`color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`size` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`price_market` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0',
`price` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0',
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 605 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of product_variants
-- ----------------------------
INSERT INTO `product_variants` VALUES (445, 109, '<NAME>', '35', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (446, 109, '<NAME>', '36', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (447, 109, 'Đen Xám', '37', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (448, 109, '<NAME>', '38', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (449, 109, '<NAME>', '39', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (450, 109, 'Đen', '35', 'IMG272364105.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (451, 109, 'Đen', '36', 'IMG272364105.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (452, 109, 'Đen', '37', 'IMG272364105.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (453, 109, 'Đen', '38', 'IMG272364105.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (454, 109, 'Đen', '39', 'IMG272364105.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (455, 109, 'Đen Đô', '35', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (456, 109, 'Đen Đô', '36', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (457, 109, 'Đen Đô', '37', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (458, 109, 'Đen Đô', '38', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (459, 109, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `product_variants` VALUES (460, 110, 'Đỏ Đô', '35', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (461, 110, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (462, 110, 'Đỏ Đô', '37', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (463, 110, 'Đồng', '35', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (464, 110, 'Đồng', '36', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (465, 110, 'Đồng', '37', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (466, 110, 'Kem', '35', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (467, 110, 'Kem', '36', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (468, 110, 'Kem', '37', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `product_variants` VALUES (469, 111, 'Kem', '35', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (470, 111, 'Kem', '36', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (471, 111, 'Kem', '38', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (472, 111, 'Kem', '39', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (473, 111, 'Sọc Trắng Đen', '35', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (474, 111, 'Sọc Trắng Đen', '36', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (475, 111, 'Sọc Trắng Đen', '38', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (476, 111, 'Sọc Trắng Đen', '39', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (477, 111, 'Trắng', '35', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (478, 111, 'Trắng', '36', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (479, 111, 'Trắng', '38', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (480, 111, 'Trắng', '39', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `product_variants` VALUES (481, 112, 'Đen Đô', '36', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (482, 112, 'Đen Đô', '38', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (483, 112, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (484, 112, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (485, 112, 'Đỏ Đô', '38', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (486, 112, 'Đỏ Đô', '39', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (487, 112, 'Đồng', '36', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (488, 112, 'Đồng', '38', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (489, 112, 'Đồng', '39', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `product_variants` VALUES (490, 113, 'Đen Đô', '36', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (491, 113, 'Đen Đô', '38', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (492, 113, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (493, 113, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (494, 113, 'Đỏ Đô', '38', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (495, 113, 'Đỏ Đô', '39', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (496, 113, 'Đồng', '36', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (497, 113, 'Đồng', '38', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (498, 113, 'Đồng', '39', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `product_variants` VALUES (499, 114, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (500, 114, 'Đỏ Đô', '38', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (501, 114, 'Đỏ Đô', '39', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (502, 114, 'Sọc Trắng Đen', '36', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (503, 114, 'Sọc Trắng Đen', '38', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (504, 114, 'Sọc Trắng Đen', '39', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (505, 114, 'Trắng', '36', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (506, 114, 'Trắng', '38', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (507, 114, 'Trắng', '39', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (508, 114, 'Vàng', '36', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (509, 114, 'Vàng', '38', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (510, 114, 'Vàng', '39', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `product_variants` VALUES (511, 115, 'Kem', '38', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (512, 115, 'Kem', '36', 'IMG909133467.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (513, 115, 'Trắng', '38', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (514, 115, 'Trắng', '36', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (515, 115, 'Vàng', '38', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (516, 115, 'Vàng', '36', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (517, 115, 'Xanh Nhạt', '38', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (518, 115, 'Xanh Nhạt', '36', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 12:56:40', NULL);
INSERT INTO `product_variants` VALUES (519, 116, 'Đen Đô', '36', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (520, 116, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (521, 116, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (522, 116, 'Đỏ Đô', '39', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (523, 116, 'Đồng', '36', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (524, 116, 'Đồng', '39', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `product_variants` VALUES (525, 117, 'Đen Xám', '37', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:57:27', NULL);
INSERT INTO `product_variants` VALUES (526, 117, 'Đen Xám', '39', 'IMG166365237.webp', '0', '50000', NULL, '2020-09-19 12:57:27', NULL);
INSERT INTO `product_variants` VALUES (527, 117, 'Đen Đô', '37', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:27', NULL);
INSERT INTO `product_variants` VALUES (528, 117, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:27', NULL);
INSERT INTO `product_variants` VALUES (529, 118, 'Đen Đô', '36', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (530, 118, 'Đen Đô', '38', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (531, 118, 'Đen Đô', '39', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (532, 118, 'Đen Đô', '35', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (533, 118, 'Đen Đô', '40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (534, 118, 'Đỏ Đô', '36', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (535, 118, 'Đỏ Đô', '38', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (536, 118, 'Đỏ Đô', '39', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (537, 118, 'Đỏ Đô', '35', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (538, 118, 'Đỏ Đô', '40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (539, 118, 'Sọc Trắng Đen', '36', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (540, 118, 'Sọc Trắng Đen', '38', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (541, 118, 'Sọc Trắng Đen', '39', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (542, 118, 'Sọc Trắng Đen', '35', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (543, 118, 'Sọc Trắng Đen', '40', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `product_variants` VALUES (548, 129, 'Đen Đô', '20x30', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (549, 129, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (550, 129, 'Đỏ Đô', '20x30', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (551, 129, 'Đỏ Đô', '30x40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (552, 129, 'Đồng', '20x30', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (553, 129, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `product_variants` VALUES (554, 130, 'Vàng', '20x30', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (555, 130, 'Vàng', '30x40', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (556, 130, 'Vàng Đô', '20x30', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (557, 130, 'Vàng Đô', '30x40', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (558, 130, 'Xanh Nhạt', '20x30', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (559, 130, 'Xanh Nhạt', '30x40', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `product_variants` VALUES (560, 131, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (561, 131, 'Đen Đô', '20x30', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (562, 131, 'Đỏ Đô', '30x40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (563, 131, 'Đỏ Đô', '20x30', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (564, 131, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (565, 131, 'Đồng', '20x30', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `product_variants` VALUES (566, 132, 'Sọc Trắng Đen', '30x40', 'IMG205913509.webp', '0', '50000', NULL, '2020-09-19 14:40:01', NULL);
INSERT INTO `product_variants` VALUES (567, 132, 'Trắng', '30x40', 'IMG227338585.webp', '0', '50000', NULL, '2020-09-19 14:40:01', NULL);
INSERT INTO `product_variants` VALUES (568, 132, 'Vàng', '30x40', 'IMG416895716.webp', '0', '50000', NULL, '2020-09-19 14:40:01', NULL);
INSERT INTO `product_variants` VALUES (569, 133, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (570, 133, 'Đen Đô', '20x30', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (571, 133, 'Đỏ Đô', '30x40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (572, 133, 'Đỏ Đô', '20x30', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (573, 133, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (574, 133, 'Đồng', '20x30', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `product_variants` VALUES (575, 134, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (576, 134, 'Đen Đô', '20x30', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (577, 134, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (578, 134, 'Đồng', '20x30', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (579, 134, 'Vàng Đô', '30x40', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (580, 134, 'Vàng Đô', '20x30', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (581, 134, 'Xanh Nhạt', '30x40', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (582, 134, 'Xanh Nhạt', '20x30', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `product_variants` VALUES (583, 135, 'Vàng Đô', '30x40', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (584, 135, 'Vàng Đô', '20x30', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (585, 135, 'Xanh Nhạt', '30x40', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (586, 135, 'Xanh Nhạt', '20x30', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (587, 135, 'Xanh', '30x40', 'IMG669663976.webp', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (588, 135, 'Xanh', '20x30', 'IMG669663976.webp', '0', '50000', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `product_variants` VALUES (589, 136, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (590, 136, 'Đen Đô', '20x30', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (591, 136, 'Đỏ Đô', '30x40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (592, 136, 'Đỏ Đô', '20x30', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (593, 136, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (594, 136, 'Đồng', '20x30', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `product_variants` VALUES (595, 137, 'Đỏ Đô', '30x40', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (596, 137, 'Đỏ Đô', '20x30', 'IMG984336427.webp', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (597, 137, 'Vàng Đô', '30x40', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (598, 137, 'Vàng Đô', '20x30', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (599, 137, 'Xanh', '30x40', 'IMG669663976.webp', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (600, 137, 'Xanh', '20x30', 'IMG669663976.webp', '0', '50000', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `product_variants` VALUES (601, 138, 'Đen Đô', '30x40', 'IMG992779371.webp', '0', '50000', NULL, '2020-09-19 14:43:23', NULL);
INSERT INTO `product_variants` VALUES (602, 138, 'Đồng', '30x40', 'IMG81682197.webp', '0', '50000', NULL, '2020-09-19 14:43:23', NULL);
INSERT INTO `product_variants` VALUES (603, 138, 'Vàng Đô', '30x40', 'IMG948767612.jpg', '0', '50000', NULL, '2020-09-19 14:43:23', NULL);
INSERT INTO `product_variants` VALUES (604, 138, 'Xanh Nhạt', '30x40', 'IMG96403804.webp', '0', '50000', NULL, '2020-09-19 14:43:23', NULL);
-- ----------------------------
-- Table structure for products
-- ----------------------------
DROP TABLE IF EXISTS `products`;
CREATE TABLE `products` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`sale` int(50) NOT NULL DEFAULT 0,
`image_main` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`image_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`style` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`material` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`uri` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `code`(`code`) USING BTREE,
UNIQUE INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 139 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of products
-- ----------------------------
INSERT INTO `products` VALUES (109, 'DH025326', 'Giày xăng đan gót vuông 5cm quai ngang 1', 0, 'IMG33878135.webp;', 'IMG657216662.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Gi<NAME>', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-1', NULL, '2020-09-19 12:53:26', NULL);
INSERT INTO `products` VALUES (110, 'DH025421', 'Giày xăng đan gót vuông 5cm quai ngang 2', 0, 'IMG84919492.webp;', 'IMG142348278.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-2', NULL, '2020-09-19 12:54:21', NULL);
INSERT INTO `products` VALUES (111, 'DH025451', 'Giày xăng đan gót vuông 5cm quai ngang 3', 0, 'IMG520212698.webp;', 'IMG353307352.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-3', NULL, '2020-09-19 12:54:51', NULL);
INSERT INTO `products` VALUES (112, 'DH025512', 'Giày xăng đan gót vuông 5cm quai ngang 4', 0, 'IMG9952372.webp;', 'IMG970964599.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', '<NAME>', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-4', NULL, '2020-09-19 12:55:12', NULL);
INSERT INTO `products` VALUES (113, 'DH025555', 'Giày xăng đan gót vuông 5cm quai ngang 5', 0, 'IMG271112523.webp;', 'IMG724369320.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-5', NULL, '2020-09-19 12:55:55', NULL);
INSERT INTO `products` VALUES (114, 'DH025617', 'Giày xăng đan gót vuông 5cm quai ngang 6', 0, 'IMG548684853.webp;', 'IMG28108766.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-6', NULL, '2020-09-19 12:56:17', NULL);
INSERT INTO `products` VALUES (115, 'DH025639', 'Giày xăng đan gót vuông 5cm quai ngang 7', 0, 'IMG477321329.webp;', 'IMG477884825.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-7', NULL, '2020-09-19 12:56:39', NULL);
INSERT INTO `products` VALUES (116, 'DH025705', 'Giày xăng đan gót vuông 5cm quai ngang 8', 0, 'IMG985471436.webp;', 'IMG247187576.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-8', NULL, '2020-09-19 12:57:05', NULL);
INSERT INTO `products` VALUES (117, 'DH025727', 'Giày xăng đan gót vuông 5cm quai ngang 9', 0, 'IMG510624191.webp;', 'IMG943563415.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-9', NULL, '2020-09-19 12:57:27', NULL);
INSERT INTO `products` VALUES (118, 'DH025757', 'Giày xăng đan gót vuông 5cm quai ngang 10', 0, 'IMG134853877.webp;', 'IMG3837127.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Giày xăng đan', 'Da tổng hợp', 'Giày-xăng-đan-gót-vuông-5cm-quai-ngang-10', NULL, '2020-09-19 12:57:57', NULL);
INSERT INTO `products` VALUES (129, 'DH043817', 'Túi cỡ lớn hoạ tiết 3D TXL025', 0, 'IMG982923594.webp;', 'IMG4663413.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025', NULL, '2020-09-19 14:38:17', NULL);
INSERT INTO `products` VALUES (130, 'DH043853', 'Túi cỡ lớn hoạ tiết 3D TXL025 1', 0, 'IMG125800230.webp;', 'IMG66034993.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-1', NULL, '2020-09-19 14:38:53', NULL);
INSERT INTO `products` VALUES (131, 'DH043928', 'Túi cỡ lớn hoạ tiết 3D TXL025 3', 0, 'IMG359372324.webp;', 'IMG44319109.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-3', NULL, '2020-09-19 14:39:28', NULL);
INSERT INTO `products` VALUES (132, 'DH044001', 'Túi cỡ lớn hoạ tiết 3D TXL025 4', 0, 'IMG756964257.webp;', 'IMG937317566.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-4', NULL, '2020-09-19 14:40:01', NULL);
INSERT INTO `products` VALUES (133, 'DH044033', 'Túi cỡ lớn hoạ tiết 3D TXL025 5', 0, 'IMG739961664.webp;', 'IMG269777523.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-5', NULL, '2020-09-19 14:40:33', NULL);
INSERT INTO `products` VALUES (134, 'DH044103', 'Túi cỡ lớn hoạ tiết 3D TXL025 6', 0, 'IMG20827692.webp;', 'IMG886632469.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-6', NULL, '2020-09-19 14:41:03', NULL);
INSERT INTO `products` VALUES (135, 'DH044131', 'Túi cỡ lớn hoạ tiết 3D TXL025 7', 0, 'IMG714343577.webp;', 'IMG132202810.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-7', NULL, '2020-09-19 14:41:31', NULL);
INSERT INTO `products` VALUES (136, 'DH044219', 'Túi cỡ lớn hoạ tiết 3D TXL025 8', 0, 'IMG419412842.webp;', 'IMG96736682.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-8', NULL, '2020-09-19 14:42:19', NULL);
INSERT INTO `products` VALUES (137, 'DH044245', 'Túi cỡ lớn hoạ tiết 3D TXL025 9', 0, 'IMG44660187.webp;', 'IMG920369205.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-9', NULL, '2020-09-19 14:42:45', NULL);
INSERT INTO `products` VALUES (138, 'DH044323', 'Túi cỡ lớn hoạ tiết 3D TXL025 10', 0, 'IMG28762374.webp;', 'IMG770991354.webp;', '<p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Chất liệu da tổng hợp bền, đẹp</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai ngang thiết kế đơn giản, nữ tính</span></p><p style=\"margin-bottom: 10px; padding: 0px; font-family: Quicksand, sans-serif; line-height: 21px; color: rgb(37, 42, 43); font-size: 13px !important;\"><span data-sheets-value=\"{"1":2,"2":"- Chất liệu da tổng hợp bền, đẹp.\\n- Quai ngang thiết kế đơn giản, nữ tính.\\n- Quai hậu dán, tiện dụng."}\" data-sheets-userformat=\"{"2":929,"3":[null,0],"8":{"1":[{"1":2,"2":0,"5":[null,2,0]},{"1":0,"2":0,"3":3},{"1":1,"2":0,"4":3}]},"10":1,"11":4,"12":0}\" data-mce-style=\"font-size: 12pt; color: #000000;\" style=\"margin: 0px; padding: 0px; font-size: 12pt; color: rgb(0, 0, 0);\">Quai hậu dán, tiện dụng</span></p>', 'Túi xách thời trang', 'Da tổng hợp', 'Túi-cỡ-lớn-hoạ-tiết-3D-TXL025-10', NULL, '2020-09-19 14:43:23', NULL);
-- ----------------------------
-- Table structure for roles
-- ----------------------------
DROP TABLE IF EXISTS `roles`;
CREATE TABLE `roles` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`description` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`role` int(11) NULL DEFAULT NULL,
`remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of roles
-- ----------------------------
INSERT INTO `roles` VALUES (1, 'Quản trị viên', 'Phân quyền cao nhất, sử dụng đầy đủ mọi chức năng của hệ thống', 1, NULL, NULL, '2020-09-20 23:28:18', NULL);
INSERT INTO `roles` VALUES (2, 'Quản lý sản phẩm', 'Danh sách sản phẩm;Thêm mới/cập nhật/xóa sản phẩm;Đầy đủ tính năng của sản phẩm', 2, NULL, NULL, '2020-09-20 23:31:12', NULL);
INSERT INTO `roles` VALUES (3, 'Quản lý đơn hàng', 'Quản lý đơn hàng, cập nhật đơn hàng...', 3, NULL, NULL, '2020-09-20 23:31:16', NULL);
INSERT INTO `roles` VALUES (4, 'Quản lý nội dung', 'Cài đặt mặc định; Quản lí danh mục;Thêm,Sửa,Xóa Danh mục', 4, NULL, NULL, '2020-09-20 23:31:18', NULL);
INSERT INTO `roles` VALUES (5, 'Chưa cấp quyền', NULL, 0, NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for setting
-- ----------------------------
DROP TABLE IF EXISTS `setting`;
CREATE TABLE `setting` (
`setting` int(50) NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`phone_support` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`link_fb` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`link_zalo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`link_youtube` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`link_instagram` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of setting
-- ----------------------------
INSERT INTO `setting` VALUES (1, '21ád', '12ád', '12ádasd', '12', '12ádasd', '12', '1212', '1212', NULL, NULL, NULL);
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`id_role` int(20) NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`deleted_at` timestamp(0) NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, 'khanh', 1, '<EMAIL>', '$2y$10$jFPiXjT.X3vQmQ9X7fnfS.6D4qhiFRw0l1grJ7yBr.7xAtpjr2UfO', NULL, NULL, '2020-09-21 11:38:05', NULL);
INSERT INTO `user` VALUES (11, 'khanh1', 1, '<EMAIL>', '$2y$10$L6t1sarfv0YO1rqWk61oGOSqYAUOk5Jlw8TDIKjGuHRUOAKeVdf9m', NULL, NULL, '2020-09-21 11:40:59', NULL);
INSERT INTO `user` VALUES (17, 'khanh2', 4, '<EMAIL>', '$2y$10$/sYrjHTpW3uzbVt71HWnNOcuBbjh9q0cg/kalNlUYSeQiX.g.GAYG', NULL, NULL, '2020-09-21 12:08:52', NULL);
INSERT INTO `user` VALUES (19, '<NAME>', 1, '<EMAIL>', '$2y$10$I8ca/Ta3hXjYfBQf1qmxU.tb0CsCmcRJWj45MGMdaJYgUBsJCN7je', NULL, NULL, '2020-09-22 16:43:08', '2020-09-22 16:43:08');
INSERT INTO `user` VALUES (20, '<NAME>', 2, '<EMAIL>', <PASSWORD>', NULL, NULL, '2020-09-22 16:59:46', '2020-09-22 16:59:46');
SET FOREIGN_KEY_CHECKS = 1;
|
requirevars 'input_local_tbl' ;
select jdictgroup('variables', variable) as variables
from (
select jgroup(variable, t) as variable
from (
select distinct __colname as variable, typeof(tonumber(__val)) as t
from %{input_local_tbl}
group by __colname
)
);
|
CREATE TABLE IF NOT EXISTS watches
(
id INT AUTO_INCREMENT PRIMARY KEY,
model CHAR(16),
style CHAR(16),
price DECIMAL(6,2)
);
INSERT INTO watches(model , style , price )
VALUES ("Boston","Gents", 70.00),
("Avante","Ladies", 90.00),
("Club","Gents", 60.00),
("Denver","Ladies", 80.00),
("Eton","Gents", 50.00);
SELECT * FROM watches ORDER BY price;
SELECT model, price FROM watches ORDER BY model;
SELECT model, style FROM watches ORDER BY style;
|
<reponame>JohnShandy/swganh
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
# Dumping structure for procedure galaxy.sp_GetFSQuestList
DROP PROCEDURE IF EXISTS `sp_GetFSQuestList`;
DELIMITER //
CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_GetFSQuestList`(IN `object_id` BIGINT)
BEGIN
select fs.quest_mask, fs.completed from force_sensitive_quest_list fs where fs.player_id = object_id;
END//
DELIMITER ;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
<reponame>ChrisPWill/login_api
ALTER TABLE auth_tokens
ALTER user_id TYPE BIGINT;
ALTER TABLE users
ALTER id TYPE BIGINT;
|
<reponame>openwebsolns/techscore
-- track student profile, as part of the membership database migration
CREATE TABLE student_profile (
id INT UNSIGNED AUTO_INCREMENT,
school varchar(10) COLLATE utf8_unicode_ci NOT NULL,
first_name mediumtext COLLATE utf8_unicode_ci NOT NULL,
middle_name mediumtext COLLATE utf8_unicode_ci DEFAULT NULL,
last_name mediumtext COLLATE utf8_unicode_ci NOT NULL,
display_name mediumtext COLLATE utf8_unicode_ci DEFAULT NULL,
gender enum('M','F') COLLATE utf8_unicode_ci DEFAULT NULL,
owner int(10) unsigned DEFAULT NULL,
eligibility_start datetime DEFAULT NULL,
graduation_year SMALLINT UNSIGNED DEFAULT NULL,
birth_date datetime DEFAULT NULL,
status varchar(30) DEFAULT NULL,
created_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
created_by varchar(255) NULL,
last_updated_on TIMESTAMP NULL DEFAULT NULL,
last_updated_by varchar(255) NULL,
PRIMARY KEY (id),
CONSTRAINT `fk_student_profile_owner` FOREIGN KEY (owner) REFERENCES account(id) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
<gh_stars>10-100
SET DEFINE OFF;
CREATE TABLE D_CUSTOMER
(
CUSTOMER_ID VARCHAR2(15 BYTE),
ADDRESSID NUMBER(12),
COMPANY_NAME VARCHAR2(100 BYTE),
CUSTOMER_TYPE VARCHAR2(50 BYTE),
MRKCUSTOMERS_PROFILE VARCHAR2(50 BYTE),
MRKCUSTOMERS_COMMENT VARCHAR2(1000 BYTE),
DEFAULTBRAND VARCHAR2(10 BYTE),
TAXID VARCHAR2(20 BYTE),
GSTPER VARCHAR2(10 BYTE),
QCURRENCY VARCHAR2(3 BYTE),
PHONE VARCHAR2(30 BYTE),
MOBILE_PHONE VARCHAR2(30 BYTE),
FAX VARCHAR2(30 BYTE),
EMAIL VARCHAR2(50 BYTE),
TERRITORY VARCHAR2(50 BYTE),
STATUS VARCHAR2(10 BYTE),
ORIGIN VARCHAR2(255 BYTE),
AFFILIATION_ID VARCHAR2(20 BYTE),
COMM_CODE VARCHAR2(20 BYTE),
COMM_PAYPER VARCHAR2(10 BYTE),
LAST_BROCHURES VARCHAR2(250 BYTE),
CREDIT_STATUS VARCHAR2(40 BYTE),
CREATED_BY VARCHAR2(30 BYTE),
CREATED_DATE DATE,
WHOSTAMP VARCHAR2(50 BYTE),
DATESTAMP DATE
)
TABLESPACE DTW_ADV_TABLES
RESULT_CACHE (MODE DEFAULT)
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
CREATE UNIQUE INDEX D_CUSTOMER_PK ON D_CUSTOMER
(CUSTOMER_ID)
LOGGING
TABLESPACE DTW_ADV_TABLES
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
FLASH_CACHE DEFAULT
CELL_FLASH_CACHE DEFAULT
)
NOPARALLEL;
ALTER TABLE D_CUSTOMER ADD (
CONSTRAINT D_CUSTOMER_PK
PRIMARY KEY
(CUSTOMER_ID)
USING INDEX D_CUSTOMER_PK
ENABLE VALIDATE);
|
-- collate9.test
--
-- execsql {
-- CREATE INDEX xy_i ON xy(x)
-- }
CREATE INDEX xy_i ON xy(x)
|
create view airlinebogusview as select YEARI, case when YEARI > 0 then 1 else 1.1 end, case when MONTHI > 1 then 1 else 23 end, case when MONTHI = 1 then 4 else 0.33 end,
case when YEARI > 0 then 2 else 1.1 end, case when MONTHI > 2 then 2 else 23 end, case when MONTHI = 2 then 4 else 0.33 end,
case when YEARI > 0 then 3 else 1.1 end, case when MONTHI > 3 then 3 else 23 end, case when MONTHI = 3 then 4 else 0.33 end,
case when YEARI > 0 then 4 else 1.1 end, case when MONTHI > 4 then 4 else 23 end, case when MONTHI = 4 then 4 else 0.33 end,
case when YEARI > 0 then 5 else 1.1 end, case when MONTHI > 5 then 5 else 23 end, case when MONTHI = 5 then 4 else 0.33 end,
case when YEARI > 0 then 6 else 1.1 end, case when MONTHI > 6 then 6 else 23 end, case when MONTHI = 6 then 4 else 0.33 end,
case when YEARI > 0 then 7 else 1.1 end, case when MONTHI > 7 then 7 else 23 end, case when MONTHI = 7 then 4 else 0.33 end,
case when YEARI > 0 then 8 else 1.1 end, case when MONTHI > 8 then 8 else 23 end, case when MONTHI = 8 then 4 else 0.33 end,
case when YEARI > 0 then 9 else 1.1 end, case when MONTHI > 9 then 9 else 23 end, case when MONTHI = 9 then 4 else 0.33 end,
case when YEARI > 0 then 10 else 1.1 end, case when MONTHI > 10 then 10 else 23 end, case when MONTHI = 10 then 4 else 0.33 end,
case when YEARI > 0 then 11 else 1.1 end, case when MONTHI > 11 then 11 else 23 end, case when MONTHI = 11 then 4 else 0.33 end,
case when YEARI > 0 then 12 else 1.1 end, case when MONTHI > 12 then 12 else 23 end, case when MONTHI = 12 then 4 else 0.33 end,
case when YEARI > 0 then 13 else 1.1 end, case when MONTHI > 13 then 13 else 23 end, case when MONTHI = 13 then 4 else 0.33 end,
case when YEARI > 0 then 14 else 1.1 end, case when MONTHI > 14 then 14 else 23 end, case when MONTHI = 14 then 4 else 0.33 end,
case when YEARI > 0 then 15 else 1.1 end, case when MONTHI > 15 then 15 else 23 end, case when MONTHI = 15 then 4 else 0.33 end,
case when YEARI > 0 then 16 else 1.1 end, case when MONTHI > 16 then 16 else 23 end, case when MONTHI = 16 then 4 else 0.33 end,
case when YEARI > 0 then 17 else 1.1 end, case when MONTHI > 17 then 17 else 23 end, case when MONTHI = 17 then 4 else 0.33 end,
case when YEARI > 0 then 18 else 1.1 end, case when MONTHI > 18 then 18 else 23 end, case when MONTHI = 18 then 4 else 0.33 end,
case when YEARI > 0 then 19 else 1.1 end, case when MONTHI > 19 then 19 else 23 end, case when MONTHI = 19 then 4 else 0.33 end,
case when YEARI > 0 then 20 else 1.1 end, case when MONTHI > 20 then 20 else 23 end, case when MONTHI = 20 then 4 else 0.33 end,
case when YEARI > 0 then 21 else 1.1 end, case when MONTHI > 21 then 21 else 23 end, case when MONTHI = 21 then 4 else 0.33 end,
case when YEARI > 0 then 22 else 1.1 end, case when MONTHI > 22 then 22 else 23 end, case when MONTHI = 22 then 4 else 0.33 end,
case when YEARI > 0 then 23 else 1.1 end, case when MONTHI > 23 then 23 else 23 end, case when MONTHI = 23 then 4 else 0.33 end,
case when YEARI > 0 then 24 else 1.1 end, case when MONTHI > 24 then 24 else 23 end, case when MONTHI = 24 then 4 else 0.33 end,
case when YEARI > 0 then 25 else 1.1 end, case when MONTHI > 25 then 25 else 23 end, case when MONTHI = 25 then 4 else 0.33 end,
case when YEARI > 0 then 26 else 1.1 end, case when MONTHI > 26 then 26 else 23 end, case when MONTHI = 26 then 4 else 0.33 end,
case when YEARI > 0 then 27 else 1.1 end, case when MONTHI > 27 then 27 else 23 end, case when MONTHI = 27 then 4 else 0.33 end,
case when YEARI > 0 then 28 else 1.1 end, case when MONTHI > 28 then 28 else 23 end, case when MONTHI = 28 then 4 else 0.33 end,
case when YEARI > 0 then 29 else 1.1 end, case when MONTHI > 29 then 29 else 23 end, case when MONTHI = 29 then 4 else 0.33 end,
case when YEARI > 0 then 30 else 1.1 end, case when MONTHI > 30 then 30 else 23 end, case when MONTHI = 30 then 4 else 0.33 end,
case when YEARI > 0 then 31 else 1.1 end, case when MONTHI > 31 then 31 else 23 end, case when MONTHI = 31 then 4 else 0.33 end,
case when YEARI > 0 then 32 else 1.1 end, case when MONTHI > 32 then 32 else 23 end, case when MONTHI = 32 then 4 else 0.33 end,
case when YEARI > 0 then 33 else 1.1 end, case when MONTHI > 33 then 33 else 23 end, case when MONTHI = 33 then 4 else 0.33 end,
case when YEARI > 0 then 34 else 1.1 end, case when MONTHI > 34 then 34 else 23 end, case when MONTHI = 34 then 4 else 0.33 end,
case when YEARI > 0 then 35 else 1.1 end, case when MONTHI > 35 then 35 else 23 end, case when MONTHI = 35 then 4 else 0.33 end,
case when YEARI > 0 then 36 else 1.1 end, case when MONTHI > 36 then 36 else 23 end, case when MONTHI = 36 then 4 else 0.33 end,
case when YEARI > 0 then 37 else 1.1 end, case when MONTHI > 37 then 37 else 23 end, case when MONTHI = 37 then 4 else 0.33 end,
case when YEARI > 0 then 38 else 1.1 end, case when MONTHI > 38 then 38 else 23 end, case when MONTHI = 38 then 4 else 0.33 end,
case when YEARI > 0 then 39 else 1.1 end, case when MONTHI > 39 then 39 else 23 end, case when MONTHI = 39 then 4 else 0.33 end,
case when YEARI > 0 then 40 else 1.1 end, case when MONTHI > 40 then 40 else 23 end, case when MONTHI = 40 then 4 else 0.33 end,
case when YEARI > 0 then 41 else 1.1 end, case when MONTHI > 41 then 41 else 23 end, case when MONTHI = 41 then 4 else 0.33 end,
case when YEARI > 0 then 42 else 1.1 end, case when MONTHI > 42 then 42 else 23 end, case when MONTHI = 42 then 4 else 0.33 end,
case when YEARI > 0 then 43 else 1.1 end, case when MONTHI > 43 then 43 else 23 end, case when MONTHI = 43 then 4 else 0.33 end,
case when YEARI > 0 then 44 else 1.1 end, case when MONTHI > 44 then 44 else 23 end, case when MONTHI = 44 then 4 else 0.33 end,
case when YEARI > 0 then 45 else 1.1 end, case when MONTHI > 45 then 45 else 23 end, case when MONTHI = 45 then 4 else 0.33 end,
case when YEARI > 0 then 46 else 1.1 end, case when MONTHI > 46 then 46 else 23 end, case when MONTHI = 46 then 4 else 0.33 end,
case when YEARI > 0 then 47 else 1.1 end, case when MONTHI > 47 then 47 else 23 end, case when MONTHI = 47 then 4 else 0.33 end,
case when YEARI > 0 then 48 else 1.1 end, case when MONTHI > 48 then 48 else 23 end, case when MONTHI = 48 then 4 else 0.33 end,
case when YEARI > 0 then 49 else 1.1 end, case when MONTHI > 49 then 49 else 23 end, case when MONTHI = 49 then 4 else 0.33 end,
case when YEARI > 0 then 50 else 1.1 end, case when MONTHI > 50 then 50 else 23 end, case when MONTHI = 50 then 4 else 0.33 end,
case when YEARI > 0 then 51 else 1.1 end, case when MONTHI > 51 then 51 else 23 end, case when MONTHI = 51 then 4 else 0.33 end,
case when YEARI > 0 then 52 else 1.1 end, case when MONTHI > 52 then 52 else 23 end, case when MONTHI = 52 then 4 else 0.33 end,
case when YEARI > 0 then 53 else 1.1 end, case when MONTHI > 53 then 53 else 23 end, case when MONTHI = 53 then 4 else 0.33 end,
case when YEARI > 0 then 54 else 1.1 end, case when MONTHI > 54 then 54 else 23 end, case when MONTHI = 54 then 4 else 0.33 end,
case when YEARI > 0 then 55 else 1.1 end, case when MONTHI > 55 then 55 else 23 end, case when MONTHI = 55 then 4 else 0.33 end,
case when YEARI > 0 then 56 else 1.1 end, case when MONTHI > 56 then 56 else 23 end, case when MONTHI = 56 then 4 else 0.33 end,
case when YEARI > 0 then 57 else 1.1 end, case when MONTHI > 57 then 57 else 23 end, case when MONTHI = 57 then 4 else 0.33 end,
case when YEARI > 0 then 58 else 1.1 end, case when MONTHI > 58 then 58 else 23 end, case when MONTHI = 58 then 4 else 0.33 end,
case when YEARI > 0 then 59 else 1.1 end, case when MONTHI > 59 then 59 else 23 end, case when MONTHI = 59 then 4 else 0.33 end,
case when YEARI > 0 then 60 else 1.1 end, case when MONTHI > 60 then 60 else 23 end, case when MONTHI = 60 then 4 else 0.33 end,
case when YEARI > 0 then 61 else 1.1 end, case when MONTHI > 61 then 61 else 23 end, case when MONTHI = 61 then 4 else 0.33 end,
case when YEARI > 0 then 62 else 1.1 end, case when MONTHI > 62 then 62 else 23 end, case when MONTHI = 62 then 4 else 0.33 end,
case when YEARI > 0 then 63 else 1.1 end, case when MONTHI > 63 then 63 else 23 end, case when MONTHI = 63 then 4 else 0.33 end,
case when YEARI > 0 then 64 else 1.1 end, case when MONTHI > 64 then 64 else 23 end, case when MONTHI = 64 then 4 else 0.33 end,
case when YEARI > 0 then 65 else 1.1 end, case when MONTHI > 65 then 65 else 23 end, case when MONTHI = 65 then 4 else 0.33 end,
case when YEARI > 0 then 66 else 1.1 end, case when MONTHI > 66 then 66 else 23 end, case when MONTHI = 66 then 4 else 0.33 end,
case when YEARI > 0 then 67 else 1.1 end, case when MONTHI > 67 then 67 else 23 end, case when MONTHI = 67 then 4 else 0.33 end,
case when YEARI > 0 then 68 else 1.1 end, case when MONTHI > 68 then 68 else 23 end, case when MONTHI = 68 then 4 else 0.33 end,
case when YEARI > 0 then 69 else 1.1 end, case when MONTHI > 69 then 69 else 23 end, case when MONTHI = 69 then 4 else 0.33 end,
case when YEARI > 0 then 70 else 1.1 end, case when MONTHI > 70 then 70 else 23 end, case when MONTHI = 70 then 4 else 0.33 end,
case when YEARI > 0 then 71 else 1.1 end, case when MONTHI > 71 then 71 else 23 end, case when MONTHI = 71 then 4 else 0.33 end,
case when YEARI > 0 then 72 else 1.1 end, case when MONTHI > 72 then 72 else 23 end, case when MONTHI = 72 then 4 else 0.33 end,
case when YEARI > 0 then 73 else 1.1 end, case when MONTHI > 73 then 73 else 23 end, case when MONTHI = 73 then 4 else 0.33 end,
case when YEARI > 0 then 74 else 1.1 end, case when MONTHI > 74 then 74 else 23 end, case when MONTHI = 74 then 4 else 0.33 end,
case when YEARI > 0 then 75 else 1.1 end, case when MONTHI > 75 then 75 else 23 end, case when MONTHI = 75 then 4 else 0.33 end,
case when YEARI > 0 then 76 else 1.1 end, case when MONTHI > 76 then 76 else 23 end, case when MONTHI = 76 then 4 else 0.33 end,
case when YEARI > 0 then 77 else 1.1 end, case when MONTHI > 77 then 77 else 23 end, case when MONTHI = 77 then 4 else 0.33 end,
case when YEARI > 0 then 78 else 1.1 end, case when MONTHI > 78 then 78 else 23 end, case when MONTHI = 78 then 4 else 0.33 end,
case when YEARI > 0 then 79 else 1.1 end, case when MONTHI > 79 then 79 else 23 end, case when MONTHI = 79 then 4 else 0.33 end,
case when YEARI > 0 then 80 else 1.1 end, case when MONTHI > 80 then 80 else 23 end, case when MONTHI = 80 then 4 else 0.33 end,
case when YEARI > 0 then 81 else 1.1 end, case when MONTHI > 81 then 81 else 23 end, case when MONTHI = 81 then 4 else 0.33 end,
case when YEARI > 0 then 82 else 1.1 end, case when MONTHI > 82 then 82 else 23 end, case when MONTHI = 82 then 4 else 0.33 end,
case when YEARI > 0 then 83 else 1.1 end, case when MONTHI > 83 then 83 else 23 end, case when MONTHI = 83 then 4 else 0.33 end,
case when YEARI > 0 then 84 else 1.1 end, case when MONTHI > 84 then 84 else 23 end, case when MONTHI = 84 then 4 else 0.33 end,
case when YEARI > 0 then 85 else 1.1 end, case when MONTHI > 85 then 85 else 23 end, case when MONTHI = 85 then 4 else 0.33 end,
case when YEARI > 0 then 86 else 1.1 end, case when MONTHI > 86 then 86 else 23 end, case when MONTHI = 86 then 4 else 0.33 end,
case when YEARI > 0 then 87 else 1.1 end, case when MONTHI > 87 then 87 else 23 end, case when MONTHI = 87 then 4 else 0.33 end,
case when YEARI > 0 then 88 else 1.1 end, case when MONTHI > 88 then 88 else 23 end, case when MONTHI = 88 then 4 else 0.33 end,
case when YEARI > 0 then 89 else 1.1 end, case when MONTHI > 89 then 89 else 23 end, case when MONTHI = 89 then 4 else 0.33 end,
case when YEARI > 0 then 90 else 1.1 end, case when MONTHI > 90 then 90 else 23 end, case when MONTHI = 90 then 4 else 0.33 end,
case when YEARI > 0 then 91 else 1.1 end, case when MONTHI > 91 then 91 else 23 end, case when MONTHI = 91 then 4 else 0.33 end,
case when YEARI > 0 then 92 else 1.1 end, case when MONTHI > 92 then 92 else 23 end, case when MONTHI = 92 then 4 else 0.33 end,
case when YEARI > 0 then 93 else 1.1 end, case when MONTHI > 93 then 93 else 23 end, case when MONTHI = 93 then 4 else 0.33 end,
case when YEARI > 0 then 94 else 1.1 end, case when MONTHI > 94 then 94 else 23 end, case when MONTHI = 94 then 4 else 0.33 end,
case when YEARI > 0 then 95 else 1.1 end, case when MONTHI > 95 then 95 else 23 end, case when MONTHI = 95 then 4 else 0.33 end,
case when YEARI > 0 then 96 else 1.1 end, case when MONTHI > 96 then 96 else 23 end, case when MONTHI = 96 then 4 else 0.33 end,
case when YEARI > 0 then 97 else 1.1 end, case when MONTHI > 97 then 97 else 23 end, case when MONTHI = 97 then 4 else 0.33 end,
case when YEARI > 0 then 98 else 1.1 end, case when MONTHI > 98 then 98 else 23 end, case when MONTHI = 98 then 4 else 0.33 end,
case when YEARI > 0 then 99 else 1.1 end, case when MONTHI > 99 then 99 else 23 end, case when MONTHI = 99 then 4 else 0.33 end,
case when YEARI > 0 then 100 else 1.1 end, case when MONTHI > 100 then 100 else 23 end, case when MONTHI = 100 then 4 else 0.33 end from AIRLINE
|
<filename>kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP304.sql
CREATE PROCEDURE SP304(OUT MYCOUNT INTEGER) SPECIFIC SP304_55101 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE186;SELECT COUNT(*)INTO MYCOUNT FROM TABLE389;SELECT COUNT(*)INTO MYCOUNT FROM TABLE470;SELECT COUNT(*)INTO MYCOUNT FROM VIEW32;SELECT COUNT(*)INTO MYCOUNT FROM VIEW9;SELECT COUNT(*)INTO MYCOUNT FROM VIEW73;CALL SP866(MYVAR);CALL SP611(MYVAR);CALL SP124(MYVAR);CALL SP289(MYVAR);END
GO
|
-- Migration: create users table
-- Created at: 2013-10-02 07:03:11
-- ==== UP ====
CREATE TABLE IF NOT EXISTS hellos(
ID SERIAL PRIMARY KEY,
contador INT DEFAULT 0,
messagem VARCHAR(255) NOT NULL,
data_criacao TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
data_alteracao TIMESTAMP,
data_exclusao TIMESTAMP
);
create index hellos_id_idx on hellos(ID);
CREATE OR REPLACE FUNCTION update_data_alteracao_column()
RETURNS TRIGGER AS $$
BEGIN
NEW.data_alteracao = now();
RETURN NEW;
END;
$$ language 'plpgsql';
CREATE TRIGGER update_hellos_data_alteracao BEFORE UPDATE
ON hellos FOR EACH ROW EXECUTE PROCEDURE
update_data_alteracao_column();
-- ==== DOWN ====
DROP TABLE `hellos`;
|
--------------------------------------------------------------------------------
-- MESSAGE ---------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- db.message ------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE db.message (
id uuid PRIMARY KEY,
document uuid NOT NULL REFERENCES db.document(id) ON DELETE CASCADE,
agent uuid NOT NULL REFERENCES db.agent(id) ON DELETE RESTRICT,
code text NOT NULL,
profile text NOT NULL,
address text NOT NULL,
subject text,
content text
);
COMMENT ON TABLE db.message IS 'Сообщение.';
COMMENT ON COLUMN db.message.id IS 'Идентификатор';
COMMENT ON COLUMN db.message.document IS 'Документ';
COMMENT ON COLUMN db.message.agent IS 'Идентификатор агента';
COMMENT ON COLUMN db.message.code IS 'Код';
COMMENT ON COLUMN db.message.profile IS 'Профиль отправителя';
COMMENT ON COLUMN db.message.address IS 'Адрес получателя';
COMMENT ON COLUMN db.message.subject IS 'Тема';
COMMENT ON COLUMN db.message.content IS 'Содержимое';
CREATE INDEX ON db.message (document);
CREATE INDEX ON db.message (agent);
CREATE INDEX ON db.message (code);
CREATE INDEX ON db.message (profile);
CREATE INDEX ON db.message (address);
CREATE INDEX ON db.message (subject);
CREATE INDEX ON db.message (subject text_pattern_ops);
--------------------------------------------------------------------------------
CREATE OR REPLACE FUNCTION ft_message_before_insert()
RETURNS trigger AS $$
BEGIN
IF NEW.id IS NULL THEN
SELECT NEW.document INTO NEW.id;
END IF;
IF NULLIF(NEW.code, '') IS null THEN
NEW.code := encode(gen_random_bytes(32), 'hex');
END IF;
RETURN NEW;
END;
$$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = kernel, pg_temp;
CREATE TRIGGER t_message_before_insert
BEFORE INSERT ON db.message
FOR EACH ROW
EXECUTE PROCEDURE ft_message_before_insert();
--------------------------------------------------------------------------------
CREATE OR REPLACE FUNCTION db.ft_message_after_insert()
RETURNS trigger AS $$
DECLARE
vClass text;
vType text;
vAgent text;
BEGIN
SELECT c.code INTO vClass
FROM db.object o INNER JOIN db.class_tree c ON c.id = o.class
WHERE o.id = NEW.id;
SELECT t.code, a.code INTO vType, vAgent
FROM db.reference a INNER JOIN db.type t ON t.id = a.type
WHERE a.id = NEW.agent;
PERFORM pg_notify('message', json_build_object('id', NEW.id, 'class', vClass, 'type', vType, 'agent', vAgent, 'code', NEW.code, 'profile', NEW.profile, 'address', NEW.address, 'subject', NEW.subject)::text);
RETURN NEW;
END;
$$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = kernel, pg_temp;
--------------------------------------------------------------------------------
CREATE TRIGGER t_message_after_insert
AFTER INSERT ON db.message
FOR EACH ROW
EXECUTE PROCEDURE db.ft_message_after_insert();
--------------------------------------------------------------------------------
CREATE OR REPLACE FUNCTION ft_message_before_update()
RETURNS trigger AS $$
BEGIN
IF NEW.code IS DISTINCT FROM OLD.code THEN
RAISE DEBUG 'Hacking alert: message code (% <> %).', OLD.code, NEW.code;
RETURN NULL;
END IF;
RETURN NEW;
END;
$$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = kernel, pg_temp;
--------------------------------------------------------------------------------
CREATE TRIGGER t_message_before_update
BEFORE UPDATE ON db.message
FOR EACH ROW
EXECUTE PROCEDURE ft_message_before_update();
|
<filename>Hospital_Management_DB/queries/triggers.sql
drop trigger out_patient_next_checkin_date;
DELIMITER $$
CREATE TRIGGER out_patient_next_checkin_date
AFTER INSERT
ON appointment
FOR EACH ROW
BEGIN
CASE
WHEN (SELECT distinct patient.patient_type FROM patient WHERE NEW.booked_by = patient.patient_id) = 0 THEN
UPDATE out_house_patient SET next_checkin_date = NEW.appointment_start_date_time WHERE patient_id = NEW.booked_by;
END CASE;
END;
$$
##########################################################################################################################
drop trigger patient_accounting;
DELIMITER $$
CREATE TRIGGER patient_accounting
BEFORE UPDATE
ON patient
FOR EACH ROW
BEGIN
INSERT INTO patient_backup(patient_id, role_id, person_id, admission_date, previous_stay_flag, reason, patient_type)
value (OLD.patient_id, OLD.role_id, OLD.person_id, OLD.admission_date, OLD.previous_stay_flag, OLD.reason, OLD.patient_type);
END;
$$
###########################################################################################################################
drop trigger validate_email;
DELIMITER $$
CREATE TRIGGER validate_email
BEFORE INSERT
ON person
FOR EACH ROW
BEGIN
IF NEW.email_id NOT LIKE '%_@%_.__%'
THEN
SIGNAL SQLSTATE VALUE '45000'
SET MESSAGE_TEXT = 'email column is not valid';
END IF;
END;
$$
##########################################################################################################################
drop trigger validate_contact_number;
DELIMITER $$
CREATE TRIGGER validate_contact_number
BEFORE INSERT
ON person
FOR EACH ROW
BEGIN
IF CHAR_LENGTH(NEW.contact_numnber) <> 10
THEN
SIGNAL SQLSTATE VALUE '45000'
SET MESSAGE_TEXT = 'contact number is not valid';
END IF;
END;
$$
##########################################################################################################################
#Won't work
#Because modifying or trying to update one or more different rows in the same table as the trigger, that is not allowed.
drop trigger patient_department_past_modification;
DELIMITER $$
CREATE TRIGGER patient_department_past_modification
BEFORE INSERT
ON department_patient_past
FOR EACH ROW
BEGIN
UPDATE department_patient_past SET department_patient_past.current_department_flag = 'N' WHERE NEW.patient_id = NEW.patient_id;
END;
$$
|
<reponame>KebecStatoil/SqlJambalaya
SELECT sqltext.TEXT,
--'kill ' + cast(req.session_id as nvarchar(max)) + ';' kill_statement,
'exec sp_who ' + cast(req.session_id as nvarchar(max)) user_to_kill,
req.session_id,
req.status,
req.command,
req.cpu_time,
req.total_elapsed_time,
req.total_elapsed_time / 1000 seconds,
req.total_elapsed_time / 1000 / 60 minutes
,*
FROM sys.dm_exec_requests req
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext
--kill session_id...
--exec sp_who 170
|
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 27-07-2019 a las 06:36:45
-- Versión del servidor: 10.1.38-MariaDB
-- Versión de PHP: 7.3.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Base de datos: `proyecto`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `administrador`
--
CREATE TABLE `administrador` (
`Registro` int(10) UNSIGNED NOT NULL,
`Correo` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Password` varchar(256) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `administrador`
--
INSERT INTO `administrador` (`Registro`, `Correo`, `Password`) VALUES
(1, '<EMAIL>', <PASSWORD>'),
(2, '<EMAIL>', <PASSWORD>');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `calificaciones`
--
CREATE TABLE `calificaciones` (
`Registro` int(11) NOT NULL,
`Consultorio` int(10) UNSIGNED NOT NULL,
`promedio` decimal(8,2) NOT NULL,
`C_limpieza` decimal(8,2) NOT NULL,
`C_puntualidad` decimal(8,2) NOT NULL,
`C_trato` decimal(8,2) NOT NULL,
`C_precio` decimal(8,2) NOT NULL,
`mes` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`CantidadPersonas` int(11) NOT NULL,
`num_mes` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `citas`
--
CREATE TABLE `citas` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`DoctorConsultorio` bigint(20) UNSIGNED NOT NULL,
`Usuario` int(10) UNSIGNED DEFAULT NULL,
`Horarios` bigint(20) UNSIGNED NOT NULL,
`Fecha` date NOT NULL,
`Nombre` varchar(255) COLLATE utf8_spanish_ci NOT NULL,
`Telefono` bigint(20) NOT NULL,
`Concepto` varchar(255) COLLATE utf8_spanish_ci NOT NULL,
`Asistir` tinyint(1) NOT NULL,
`Google` varchar(255) COLLATE utf8_spanish_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `comentariosconsultorios`
--
CREATE TABLE `comentariosconsultorios` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Consultorio` int(10) UNSIGNED DEFAULT NULL,
`Usuario` int(10) UNSIGNED DEFAULT NULL,
`Comentario` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`Hora` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `comentariosprincipal`
--
CREATE TABLE `comentariosprincipal` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Usuario` int(10) UNSIGNED NOT NULL,
`Comentario` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`Hora` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `comentariosprincipales`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `comentariosprincipales` (
`Registro` bigint(20) unsigned
,`Comentario` varchar(191)
,`Hora` datetime
,`Correo` varchar(50)
,`Nombre` varchar(50)
,`Apellidos` varchar(60)
,`Imagen` varchar(256)
);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `consultorios`
--
CREATE TABLE `consultorios` (
`Registro` int(10) UNSIGNED NOT NULL,
`Correo` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Estado` int(10) UNSIGNED NOT NULL,
`Municipio` int(10) UNSIGNED NOT NULL,
`Nombre` varchar(30) COLLATE utf8_spanish_ci NOT NULL,
`Telefono` bigint(20) NOT NULL,
`Password` varchar(256) COLLATE utf8_spanish_ci NOT NULL,
`Ubicacion` text COLLATE utf8_spanish_ci NOT NULL,
`Descripcion` text COLLATE utf8_spanish_ci NOT NULL,
`Puntos` decimal(8,2) NOT NULL,
`C_precio` decimal(8,2) NOT NULL,
`C_limpieza` decimal(8,2) NOT NULL,
`C_puntualidad` decimal(8,2) NOT NULL,
`C_trato` decimal(8,2) NOT NULL,
`CorreoRecuperacion` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Imagen` varchar(256) COLLATE utf8_spanish_ci NOT NULL,
`mes` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`CantidadPersonas` int(11) NOT NULL,
`Aviso` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `consultorios`
--
INSERT INTO `consultorios` (`Registro`, `Correo`, `Estado`, `Municipio`, `Nombre`, `Telefono`, `Password`, `Ubicacion`, `Descripcion`, `Puntos`, `C_precio`, `C_limpieza`, `C_puntualidad`, `C_trato`, `CorreoRecuperacion`, `Imagen`, `mes`, `CantidadPersonas`, `Aviso`) VALUES
(29, '<EMAIL>', 9, 403, 'Consultorio 1', 1234567890, '$2y$10$tE2M0jln5uYGqfY1fw9steAVAHCKyymexpH.acIYgoDewgeHNx1Iq', 'Intersección de López Mateos con Mariano Otero #3314', 'El mejor consultorio', '10.00', '10.00', '10.00', '10.00', '10.00', '<EMAIL>', '1564192662rocas.jpeg', 'julio 2019', 10, 0),
(30, '<EMAIL>', 14, 1, 'Consultorio 8', 1234567890, '$2y$10$3zPGGU1BNwzj.tTn3W.o0uE9u.tt44XHixD6faGV/AWHvzWShy.M.', 'En algún lugar', 'Un buen consultorio', '10.00', '10.00', '10.00', '10.00', '10.00', '<EMAIL>', '1564192831agua.jpg', 'julio 2019', 10, 0);
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `consultorios_especialidades`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `consultorios_especialidades` (
`Especialidad_Nom` varchar(40)
,`Especialidad` int(10) unsigned
,`Doctor` int(10) unsigned
,`Consultorio` int(10) unsigned
,`Nombre` varchar(30)
,`Correo` varchar(50)
,`Telefono` bigint(20)
,`Ubicacion` text
,`Imagen` varchar(256)
,`C_precio` decimal(8,2)
,`C_limpieza` decimal(8,2)
,`C_puntualidad` decimal(8,2)
,`C_trato` decimal(8,2)
,`Puntos` decimal(8,2)
);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `doctores`
--
CREATE TABLE `doctores` (
`Registro` int(10) UNSIGNED NOT NULL,
`Correo` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Apellidos` varchar(60) COLLATE utf8_spanish_ci NOT NULL,
`Experiencia` tinyint(4) NOT NULL,
`Telefono` bigint(20) NOT NULL,
`Sexo` char(1) COLLATE utf8_spanish_ci NOT NULL,
`Password` varchar(256) COLLATE utf8_spanish_ci NOT NULL,
`CorreoRecuperacion` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`FechaNacimiento` date NOT NULL,
`CorreoAsistente` varchar(50) COLLATE utf8_spanish_ci DEFAULT NULL,
`Imagen` varchar(256) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `doctores`
--
INSERT INTO `doctores` (`Registro`, `Correo`, `Nombre`, `Apellidos`, `Experiencia`, `Telefono`, `Sexo`, `Password`, `CorreoRecuperacion`, `FechaNacimiento`, `CorreoAsistente`, `Imagen`) VALUES
(31, '<EMAIL>', 'Doctor', 'Holitas', 3, 1234567890, 'm', '$2y$10$u3VKsDn05w3kPqt/DhF72.glb75Q3u/2eyCpxCw.RlYNWuXv.97ii', '<EMAIL>', '2019-07-02', '<EMAIL>', 'hombre.jpg'),
(32, '<EMAIL>', 'Doctor', 'Holitas', 3, 1234567890, 'm', '$2y$10$u3VKsDn05w3kPqt/DhF72.glb75Q3u/2eyCpxCw.RlYNWuXv.97ii', '<EMAIL>', '2019-07-02', '<EMAIL>', 'hombre.jpg');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `doctor_consultorio`
--
CREATE TABLE `doctor_consultorio` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Consultorio` int(10) UNSIGNED NOT NULL,
`Doctor` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `doctor_consultorio`
--
INSERT INTO `doctor_consultorio` (`Registro`, `Consultorio`, `Doctor`) VALUES
(25, 29, 31),
(26, 30, 32);
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `doctor_especialidad`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `doctor_especialidad` (
`Nombre` varchar(40)
,`Registro` int(10) unsigned
,`Correo` varchar(50)
,`Doctor` int(10) unsigned
);
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `elegirconsultorio`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `elegirconsultorio` (
`id_doctor` int(10) unsigned
,`Correo` varchar(50)
,`id_consultorio` int(10) unsigned
,`Telefono` bigint(20)
,`Imagen` varchar(256)
,`Ubicacion` text
,`Nombre` varchar(30)
);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `especialidad`
--
CREATE TABLE `especialidad` (
`Registro` int(10) UNSIGNED NOT NULL,
`Nombre` varchar(40) COLLATE utf8_spanish_ci NOT NULL,
`Revision` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `especialidad`
--
INSERT INTO `especialidad` (`Registro`, `Nombre`, `Revision`) VALUES
(1, 'Neurocirugía', 0),
(2, 'Ginecología', 0),
(3, 'Terapia Ocupacional', 0),
(4, 'Traumatología', 0),
(5, 'Cirugía general', 0),
(6, 'Psiquiatría', 0),
(7, 'Medicina Familiar', 0),
(8, 'Neurología', 0),
(9, 'Pediatría', 0),
(10, 'Cirugía Cardiovascular', 0),
(11, 'Pantología', 0),
(12, 'Urología', 0),
(13, 'Psicología', 0),
(14, 'Cardiología', 0),
(15, 'Radiología', 0),
(16, 'Medicina interna', 0),
(17, 'Rehabilitación', 0),
(18, 'Otorrinolaringología', 0),
(19, 'Gastroenterología', 0),
(20, 'Medicina Deportiva', 0),
(21, 'Medicina Prehospitalaria', 0),
(22, 'Sexología', 0),
(23, 'Medicina Forense', 0),
(24, 'Farmacología Clínica', 0),
(25, 'Medicina del Trabajo', 0),
(26, 'Medicina Psicosomática', 0),
(27, 'Ortopedia', 0),
(28, 'Odontología', 0),
(29, 'Oncología', 0),
(30, 'Podología', 0),
(31, 'Anestesiología', 0),
(32, 'Cirugía Plástica', 0),
(33, 'Genética', 0),
(34, 'Neumología', 0),
(35, 'Dermatología', 0),
(36, 'Obstetricia', 0),
(37, 'Psicosexología', 0),
(38, 'Nefrología', 0),
(39, 'Estomatología', 0),
(40, 'Cirugía Oral', 0),
(41, 'Oftalmología', 0),
(42, 'Neonatología', 0),
(43, 'Infectología', 0),
(44, 'Endocrinología', 0),
(45, 'Inmunología', 0),
(46, 'Angiología', 1),
(47, 'Alergología', 0),
(48, 'Dietética', 1),
(49, 'Hematología', 0),
(50, 'Embriología', 0),
(51, 'Neurofisiología', 0),
(52, 'Reumatología', 0),
(53, 'Toxicología', 0),
(54, 'Laringología', 0),
(55, 'Otología', 0),
(56, 'Hepatología', 0),
(57, 'Nutriología', 0),
(58, 'Coloproctologia', 0),
(59, 'Geriatría', 0),
(60, 'Kinesiología', 0),
(61, 'Epidemiología', 0),
(62, 'Rinología', 0),
(63, 'Análisis Clínicos', 0),
(64, '<NAME>', 0),
(65, 'Biomecánica', 0),
(66, 'Microbiología', 0),
(67, 'Patológica', 0),
(68, 'Semiología', 0),
(69, 'Proctología', 0),
(70, 'Glaucomatología', 0),
(71, 'Broncología', 0),
(72, 'Odontología', 0),
(73, 'Cirugía Torácica', 0),
(74, 'Mastología', 0),
(75, 'Implantología', 0),
(76, 'Medicina intensiva', 0),
(77, 'Parasitología', 0),
(78, 'Andrología', 0),
(79, 'Flebología', 0),
(80, 'Optometría', 0),
(81, 'Linfología', 0),
(82, 'Uroginecología', 0),
(83, 'Fisioterapia', 0),
(84, 'Hebiatría', 0),
(85, 'Tricología', 0),
(86, 'Fitoterapia', 0);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `estado`
--
CREATE TABLE `estado` (
`Registro` int(10) UNSIGNED NOT NULL,
`Nombre` varchar(60) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `estado`
--
INSERT INTO `estado` (`Registro`, `Nombre`) VALUES
(1, 'Aguascalientes'),
(2, 'Baja California'),
(3, 'Baja California Sur'),
(4, 'Campeche'),
(5, 'Chiapas'),
(6, 'Chihuahua'),
(7, 'Ciudad de México'),
(8, 'Coahuila de Zaragoza'),
(9, 'Colima'),
(10, 'Durango'),
(11, 'Guanajuato'),
(12, 'Guerrero'),
(13, 'Hidalgo'),
(14, 'Jalisco'),
(15, 'México'),
(16, '<NAME>'),
(17, 'Morelos'),
(18, 'Nayarit'),
(19, '<NAME>'),
(20, 'Oaxaca'),
(21, 'Puebla'),
(22, 'Querétaro'),
(23, '<NAME>'),
(24, '<NAME>'),
(25, 'Sinaloa'),
(26, 'Sonora'),
(27, 'Tabasco'),
(28, 'Tamaulipas'),
(29, 'Tlaxcala'),
(30, 'Veracruz'),
(31, 'Yucatán'),
(32, 'Zacatecas');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `estudios`
--
CREATE TABLE `estudios` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Especialidad` int(10) UNSIGNED NOT NULL,
`Doctor` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `estudios`
--
INSERT INTO `estudios` (`Registro`, `Especialidad`, `Doctor`) VALUES
(1, 46, 31),
(2, 48, 31),
(3, 48, 32);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `horario`
--
CREATE TABLE `horario` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`DoctorConsultorio` bigint(20) UNSIGNED NOT NULL,
`Hora_inicio` time NOT NULL,
`Hora_termino` time NOT NULL,
`Dia` char(1) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `horario`
--
INSERT INTO `horario` (`Registro`, `DoctorConsultorio`, `Hora_inicio`, `Hora_termino`, `Dia`) VALUES
(58, 25, '09:00:00', '10:00:00', 'L');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `imagen`
--
CREATE TABLE `imagen` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Consultorio` int(10) UNSIGNED NOT NULL,
`Imagen` varchar(256) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_04_07_000002_create_Doctores_table', 1),
(4, '2019_04_07_000003_create_Especialidad_table', 1),
(5, '2019_04_07_000004_create_Administrador_table', 1),
(6, '2019_04_07_000005_create_Usuarios_table', 1),
(7, '2019_04_07_000006_create_Estado_table', 1),
(8, '2019_04_07_000007_create_Notificaciones_table', 1),
(9, '2019_04_07_000008_create_ComentariosPrincipal_table', 1),
(10, '2019_04_07_000009_create_Sugerencias_table', 1),
(11, '2019_04_07_000010_create_Municipio_table', 1),
(12, '2019_04_07_000011_create_Estudios_table', 1),
(13, '2019_04_07_000012_create_Consultorios_table', 1),
(14, '2019_04_07_000013_create_Slide_table', 1),
(15, '2019_04_07_000014_create_Doctor_Consultorio_table', 1),
(16, '2019_04_07_000015_create_Imagen_table', 1),
(17, '2019_04_07_000016_create_ComentariosConsultorios_table', 1),
(18, '2019_04_07_000017_create_Horario_table', 1),
(19, '2019_04_07_000018_create_Precios_table', 1),
(20, '2019_04_07_000019_create_FechasFestivas_table', 1),
(21, '2019_04_07_000020_create_Citas_table', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `municipio`
--
CREATE TABLE `municipio` (
`Registro` int(10) UNSIGNED NOT NULL,
`Estado` int(10) UNSIGNED NOT NULL,
`Nombre` varchar(60) COLLATE utf8_spanish_ci NOT NULL,
`Numero` smallint(6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `municipio`
--
INSERT INTO `municipio` (`Registro`, `Estado`, `Nombre`, `Numero`) VALUES
(1, 14, 'Acatic', 1),
(2, 14, '<NAME>', 2),
(3, 14, '<NAME>', 3),
(4, 14, 'Amacueca', 4),
(5, 14, 'Amatitán', 5),
(6, 14, 'Ameca', 6),
(7, 14, '<NAME>', 7),
(8, 14, 'Arandas', 8),
(9, 14, '<NAME>', 9),
(10, 14, '<NAME>', 10),
(11, 14, 'Atengo', 11),
(12, 14, 'Atenguillo', 12),
(13, 14, '<NAME>', 13),
(14, 14, 'Atoyac', 14),
(15, 14, '<NAME>', 15),
(16, 14, 'Ayotlán', 16),
(17, 14, 'Ayutla', 17),
(18, 14, '<NAME>', 18),
(19, 14, 'Bolaños', 19),
(20, 14, '<NAME>', 20),
(21, 14, '<NAME>', 21),
(22, 14, 'Cihuatlán', 22),
(23, 14, '<NAME>', 23),
(24, 14, 'Cocula', 24),
(25, 14, 'Colotlán', 25),
(26, 14, 'Concepción de buenos aires', 26),
(27, 14, '<NAME>', 27),
(28, 14, 'Cuautla', 28),
(29, 14, 'Cuquío', 29),
(30, 14, 'Chapala', 30),
(31, 14, 'Chimalitán', 31),
(32, 14, 'Chiquilistán', 32),
(33, 14, 'Degollado', 33),
(34, 14, 'Ejutla', 34),
(35, 14, '<NAME>', 35),
(36, 14, 'Etzatlán', 36),
(37, 14, '<NAME>', 37),
(38, 14, 'Guachinango', 38),
(39, 14, 'Guadalajara', 39),
(40, 14, 'Hostotipaquillo', 40),
(41, 14, 'Huejucar', 41),
(42, 14, '<NAME>', 42),
(43, 14, '<NAME>', 43),
(44, 14, 'Ixtlahuacán de los Membrillos', 44),
(45, 14, 'Ixtlahuacán del Río', 45),
(46, 14, 'Jalostitlán', 46),
(47, 14, 'Jamay', 47),
(48, 14, '<NAME>', 48),
(49, 14, '<NAME>', 49),
(50, 14, 'Jocotepec', 50),
(51, 14, 'Juanacatlán', 51),
(52, 14, 'Juchitlán', 52),
(53, 14, '<NAME>', 53),
(54, 14, '<NAME>', 54),
(55, 14, 'Madgdalena', 55),
(56, 14, '<NAME>', 56),
(57, 14, '<NAME>', 57),
(58, 14, 'Mascota', 58),
(59, 14, 'Mazamitla', 59),
(60, 14, 'Mexticacán', 60),
(61, 14, 'Mezquitic', 61),
(62, 14, 'Mixtlán', 62),
(63, 14, 'Ocotlán', 63),
(64, 14, '<NAME>', 64),
(65, 14, 'Pihuamo', 65),
(66, 14, 'Poncitlán', 66),
(67, 14, '<NAME>', 67),
(68, 14, '<NAME>', 68),
(69, 14, 'Quitupan', 69),
(70, 14, '<NAME>', 70),
(71, 14, 'San Cristóbal de <NAME>', 71),
(72, 14, '<NAME>', 72),
(73, 14, '<NAME>', 73),
(74, 14, '<NAME>', 74),
(75, 14, '<NAME>', 75),
(76, 14, '<NAME>', 76),
(77, 14, '<NAME>', 77),
(78, 14, '<NAME>', 78),
(79, 14, '<NAME>', 79),
(80, 14, '<NAME>', 80),
(81, 14, '<NAME>', 81),
(82, 14, 'Sayula', 82),
(83, 14, 'Tala', 83),
(84, 14, '<NAME>', 84),
(85, 14, '<NAME>', 85),
(86, 14, 'Tapalpa', 86),
(87, 14, 'Tecalitlan', 87),
(88, 14, '<NAME>', 88),
(89, 14, 'Tecolotlán', 89),
(90, 14, 'Tenamaxtlán', 90),
(91, 14, 'Teocaltiche', 91),
(92, 14, '<NAME>', 92),
(93, 14, '<NAME>', 93),
(94, 14, 'Tequila', 94),
(95, 14, 'Teuchitlán', 95),
(96, 14, '<NAME>', 96),
(97, 14, '<NAME>', 97),
(98, 14, 'Tlaquepaque', 98),
(99, 14, 'Tolimán', 99),
(100, 14, 'Tomatlán', 100),
(101, 14, 'Tonalá', 101),
(102, 14, 'Tonaya', 102),
(103, 14, 'Tonila', 103),
(104, 14, 'Totatiche', 104),
(105, 14, 'Tototlán', 105),
(106, 14, 'Tuxcacuesco', 106),
(107, 14, 'Tuxcueca', 107),
(108, 14, 'Tuxpan', 108),
(109, 14, 'Unión de San Antonio', 109),
(110, 14, 'Unión de Tula', 110),
(111, 14, '<NAME>', 111),
(112, 14, '<NAME>', 112),
(113, 14, '<NAME>', 113),
(114, 14, '<NAME>', 114),
(115, 14, '<NAME>', 115),
(116, 14, '<NAME>', 116),
(117, 14, '<NAME>', 117),
(118, 14, '<NAME>', 118),
(119, 14, '<NAME>', 119),
(120, 14, 'Zapopan', 120),
(121, 14, 'Zapotiltic', 121),
(122, 14, '<NAME>', 122),
(123, 14, '<NAME>', 123),
(124, 14, 'Zapotlanejo', 124),
(125, 14, '<NAME>', 125),
(126, 1, 'Aguascalientes', 1),
(127, 1, 'Asientos', 2),
(128, 1, 'Calvillo', 3),
(129, 1, 'Cosío', 4),
(130, 1, '<NAME>', 5),
(131, 1, '<NAME>', 6),
(132, 1, '<NAME>', 7),
(133, 1, '<NAME>', 8),
(134, 1, 'Tepezalá', 9),
(135, 1, '<NAME>', 10),
(136, 1, '<NAME>', 11),
(137, 2, 'Ensenada', 1),
(138, 2, 'Mexicali', 2),
(139, 2, 'Tecate', 3),
(140, 2, 'Tijuana', 4),
(141, 2, '<NAME>', 5),
(142, 3, 'Comondú', 1),
(143, 3, 'Mulegé', 2),
(144, 3, '<NAME>', 3),
(145, 3, '<NAME>', 8),
(146, 3, 'Loreto', 9),
(147, 4, 'Calkiní', 1),
(148, 4, 'Campeche', 2),
(149, 4, 'Carmen', 3),
(150, 4, 'Champotón', 4),
(151, 4, 'Hecelchakán', 5),
(152, 4, 'Hopelchén', 6),
(153, 4, 'Palizada', 7),
(154, 4, 'Tenabo', 8),
(155, 4, 'Escárcega', 9),
(156, 4, 'Calakmul', 10),
(157, 4, 'Candelaria', 11),
(158, 5, 'Acacoyagua', 1),
(159, 5, 'Acala', 2),
(160, 5, 'Acapetahua', 3),
(161, 5, 'Altamirano', 4),
(162, 5, 'Amatán', 5),
(163, 5, '<NAME>', 6),
(164, 5, '<NAME>', 7),
(165, 5, '<NAME>', 8),
(166, 5, 'Arriaga', 9),
(167, 5, '<NAME>', 10),
(168, 5, '<NAME>', 11),
(169, 5, 'Berriozábal', 12),
(170, 5, 'Bochil', 13),
(171, 5, '<NAME>', 14),
(172, 5, 'Cacahoatán', 15),
(173, 5, 'Catazajá', 16),
(174, 5, 'Cintalapa', 17),
(175, 5, 'Coapilla', 18),
(176, 5, '<NAME>', 19),
(177, 5, '<NAME>', 20),
(178, 5, 'Copainalá', 21),
(179, 5, 'Chalchihuitán', 22),
(180, 5, 'Chamula', 23),
(181, 5, 'Chanal', 24),
(182, 5, 'Chapultenango', 25),
(183, 5, 'Chenalhó', 26),
(184, 5, '<NAME>', 27),
(185, 5, 'Chiapilla', 28),
(186, 5, 'Chicoasén', 29),
(187, 5, 'Chicomuselo', 30),
(188, 5, 'Chillón', 31),
(189, 5, 'Escuintla', 32),
(190, 5, '<NAME>', 33),
(191, 5, '<NAME>', 34),
(192, 5, '<NAME>', 35),
(193, 5, '<NAME>', 36),
(194, 5, 'Huehuetán', 37),
(195, 5, 'Huixtán', 38),
(196, 5, 'Huitiupán', 39),
(197, 5, 'Huixtla', 40),
(198, 5, 'La Independencia', 41),
(199, 5, 'Ixhuatán', 42),
(200, 5, 'Ixtacomitán', 43),
(201, 5, 'Ixtapa', 44),
(202, 5, 'Ixtapangajoya', 45),
(203, 5, 'Jiquipilas', 46),
(204, 5, 'Jitotol', 47),
(205, 5, 'Juárez', 48),
(206, 5, 'Larráinzar', 49),
(207, 5, '<NAME>', 50),
(208, 5, 'Mapastepec', 51),
(209, 5, '<NAME>', 52),
(210, 5, '<NAME>', 53),
(211, 5, 'Mazatlán', 54),
(212, 5, 'Metapa', 55),
(213, 5, 'Mitontic', 56),
(214, 5, 'Motozintla', 57),
(215, 5, '<NAME>', 58),
(216, 5, 'Ocosingo', 59),
(217, 5, 'Ocotepec', 60),
(218, 5, '<NAME>', 61),
(219, 5, 'Ostuacán', 62),
(220, 5, 'Osumacinta', 63),
(221, 5, 'Oxchuc', 64),
(222, 5, 'Palenque', 65),
(223, 5, 'Pantelhó', 66),
(224, 5, 'Pantepec', 67),
(225, 5, 'Pichucalco', 68),
(226, 5, 'Pijijiapan', 69),
(227, 5, '<NAME>', 70),
(228, 5, '<NAME>', 71),
(229, 5, '<NAME>', 72),
(230, 5, 'Rayón', 73),
(231, 5, 'Reforma', 74),
(232, 5, '<NAME>', 75),
(233, 5, 'Sabanilla', 76),
(234, 5, '<NAME>', 77),
(235, 5, '<NAME>', 78),
(236, 5, '<NAME>', 79),
(237, 5, 'Siltepec', 80),
(238, 5, 'Simojovel', 81),
(239, 5, 'Sitalá', 82),
(240, 5, 'Socoltenango', 83),
(241, 5, 'Solosuchiapa', 84),
(242, 5, 'Soyaló', 85),
(243, 5, 'Suchiapa', 86),
(244, 5, 'Suchiate', 87),
(245, 5, 'Sunuapa', 88),
(246, 5, 'Tapachula', 89),
(247, 5, 'Tapalapa', 90),
(248, 5, 'Tapilula', 91),
(249, 5, 'Tecpatán', 92),
(250, 5, 'Tenejapa', 93),
(251, 5, 'Teopisca', 94),
(252, 5, 'Tila', 96),
(253, 5, 'Tonalá', 97),
(254, 5, 'Totolapa', 98),
(255, 5, '<NAME>', 99),
(256, 5, 'Tumbalá', 100),
(257, 5, '<NAME>', 101),
(258, 5, '<NAME>', 102),
(259, 5, 'Tuzantán', 103),
(260, 5, 'Tzimol', 104),
(261, 5, '<NAME>', 105),
(262, 5, '<NAME>', 106),
(263, 5, '<NAME>', 107),
(264, 5, 'Villaflores', 108),
(265, 5, 'Yajalón', 109),
(266, 5, '<NAME>', 110),
(267, 5, 'Zinacantlán', 111),
(268, 5, '<NAME>', 112),
(269, 5, 'Aldama', 113),
(270, 5, '<NAME>', 114),
(271, 5, '<NAME>', 115),
(272, 5, '<NAME>', 116),
(273, 5, '<NAME>', 117),
(274, 5, '<NAME>', 118),
(275, 5, '<NAME>', 119),
(276, 5, '<NAME>', 120),
(277, 5, '<NAME>', 121),
(278, 5, 'Mezcalapa', 122),
(279, 5, '<NAME>', 123),
(280, 5, '<NAME>', 124),
(281, 5, '<NAME>', 125),
(282, 6, 'Ahumada', 1),
(283, 6, 'Aldama', 2),
(284, 6, 'Allende', 3),
(285, 6, '<NAME>', 4),
(286, 6, 'Ascensión', 5),
(287, 6, 'Bachíniva', 6),
(288, 6, 'Balleza', 7),
(289, 6, '<NAME> <NAME>', 8),
(290, 6, 'Bocoyna', 9),
(291, 6, 'Buenaventura', 10),
(292, 6, 'Camargo', 11),
(293, 6, 'Carichí', 12),
(294, 6, '<NAME>', 13),
(295, 6, 'Coronado', 14),
(296, 6, '<NAME>', 15),
(297, 6, '<NAME>', 16),
(298, 6, 'Cuauhtémoc', 17),
(299, 6, 'Cusihuiriachi', 18),
(300, 6, 'Chihuahua', 19),
(301, 6, 'Chínipas', 20),
(302, 6, 'Delicias', 21),
(303, 6, 'Dr. <NAME>', 22),
(304, 6, 'Galeana', 23),
(305, 6, '<NAME>', 24),
(306, 6, '<NAME>', 25),
(307, 6, '<NAME>', 26),
(308, 6, 'Guachochi', 27),
(309, 6, 'Guadalupe', 28),
(310, 6, '<NAME>', 29),
(311, 6, 'Guazapares', 30),
(312, 6, 'Guerrero', 31),
(313, 6, '<NAME>', 32),
(314, 6, 'Huejotitán', 33),
(315, 6, '<NAME>', 34),
(316, 6, 'Janos', 35),
(317, 6, 'Jiménez', 36),
(318, 6, 'Juárez', 37),
(319, 6, 'Julimes', 38),
(320, 6, 'López', 39),
(321, 6, 'Madera', 40),
(322, 6, 'Maguarichi', 41),
(323, 6, '<NAME>', 42),
(324, 6, 'Matachí', 43),
(325, 6, 'Matamoros', 44),
(326, 6, 'Meoqui', 45),
(327, 6, 'Morelos', 46),
(328, 6, 'Moris', 47),
(329, 6, 'Namiquipa', 48),
(330, 6, 'Nonoava', 49),
(331, 6, '<NAME>', 50),
(332, 6, 'Ocampo', 51),
(333, 6, 'Ojinaga', 52),
(334, 6, '<NAME>', 53),
(335, 6, '<NAME>', 54),
(336, 6, 'Rosales', 55),
(337, 6, 'Rosario', 56),
(338, 6, '<NAME>', 57),
(339, 6, '<NAME>', 58),
(340, 6, '<NAME>', 59),
(341, 6, '<NAME>', 60),
(342, 6, 'Satevó', 61),
(343, 6, 'Saucillo', 62),
(344, 6, 'Temósachic', 63),
(345, 6, '<NAME>', 64),
(346, 6, 'Urique', 65),
(347, 6, 'Uruachi', 66),
(348, 6, '<NAME>', 67),
(349, 7, '<NAME>', 1),
(350, 7, 'Azcapotzalco', 2),
(351, 7, '<NAME>', 3),
(352, 7, 'Coyoacán', 4),
(353, 7, '<NAME>', 5),
(354, 7, 'Cuauhtémoc', 6),
(355, 7, '<NAME>', 7),
(356, 7, 'Iztacalco', 8),
(357, 7, 'Iztapalapa', 9),
(358, 7, '<NAME>', 10),
(359, 7, '<NAME>', 11),
(360, 7, '<NAME>', 12),
(361, 7, 'Tláhuac', 13),
(362, 7, 'Tlalpan', 14),
(363, 7, '<NAME>', 15),
(364, 7, 'Xochimilco', 16),
(365, 8, 'Abasolo', 1),
(366, 8, 'Acuña', 2),
(367, 8, 'Allende', 3),
(368, 8, 'Arteaga', 4),
(369, 8, 'Candela', 5),
(370, 8, 'Castaños', 6),
(371, 8, '<NAME>', 7),
(372, 8, 'Escobedo', 8),
(373, 8, '<NAME>', 9),
(374, 8, 'Frontera', 10),
(375, 8, '<NAME>', 11),
(376, 8, 'Guerrero', 12),
(377, 8, 'Hidalgo', 13),
(378, 8, 'Jiménez', 14),
(379, 8, 'Juárez', 15),
(380, 8, 'Lamadrid', 16),
(381, 8, 'Matamoros', 17),
(382, 8, 'Monclova', 18),
(383, 8, 'Morelos', 19),
(384, 8, 'Múzquiz', 20),
(385, 8, 'Nadadores', 21),
(386, 8, 'Nava', 22),
(387, 8, 'Ocampo', 23),
(388, 8, 'Parras', 24),
(389, 8, '<NAME>', 25),
(390, 8, 'Progreso', 26),
(391, 8, '<NAME>', 27),
(392, 8, 'Sabinas', 28),
(393, 8, 'Sacramento', 29),
(394, 8, 'Saltillo', 30),
(395, 8, '<NAME>', 31),
(396, 8, '<NAME>', 32),
(397, 8, '<NAME>', 33),
(398, 8, '<NAME>', 34),
(399, 8, 'Torreón', 35),
(400, 8, 'Viesca', 36),
(401, 8, '<NAME>', 37),
(402, 8, 'Zaragoza', 38),
(403, 9, 'Armería', 1),
(404, 9, 'Colima', 2),
(405, 9, 'Comala', 3),
(406, 9, 'Coquimatlán', 4),
(407, 9, 'Cuauhtémoc', 5),
(408, 9, 'Ixtlahuacán', 6),
(409, 9, 'Manzanillo', 7),
(410, 9, 'Minatitlán', 8),
(411, 9, 'Tecomán', 9),
(412, 9, '<NAME>', 10),
(413, 10, 'Canatlán', 1),
(414, 10, 'Canelas', 2),
(415, 10, '<NAME>', 3),
(416, 10, 'Cuencamé', 4),
(417, 10, 'Durango', 5),
(418, 10, '<NAME>', 6),
(419, 10, '<NAME>', 7),
(420, 10, '<NAME>', 8),
(421, 10, 'Guanaceví', 9),
(422, 10, 'Hidalgo', 10),
(423, 10, 'Indé', 11),
(424, 10, 'Lerdo', 12),
(425, 10, 'Mapimí', 13),
(426, 10, 'Mezquital', 14),
(427, 10, 'Nazas', 15),
(428, 10, '<NAME>', 16),
(429, 10, 'Ocampo', 17),
(430, 10, '<NAME>', 18),
(431, 10, 'Otáez', 19),
(432, 10, '<NAME>', 20),
(433, 10, '<NAME>', 21),
(434, 10, 'Poanas', 22),
(435, 10, '<NAME>', 23),
(436, 10, 'Rodeo', 24),
(437, 10, '<NAME>', 25),
(438, 10, '<NAME>', 26),
(439, 10, '<NAME>', 27),
(440, 10, '<NAME>', 28),
(441, 10, '<NAME>', 29),
(442, 10, '<NAME>', 30),
(443, 10, '<NAME>', 31),
(444, 10, '<NAME>', 32),
(445, 10, 'Súchil', 33),
(446, 10, 'Tamazula', 34),
(447, 10, 'Tepehuanes', 35),
(448, 10, 'Tlahualilo', 36),
(449, 10, 'Topia', 37),
(450, 10, '<NAME>', 38),
(451, 10, 'Nuevo Ideal', 39),
(452, 11, 'Abasolo', 1),
(453, 11, 'Acámbaro', 2),
(454, 11, '<NAME>', 3),
(455, 11, '<NAME>', 4),
(456, 11, '<NAME>', 5),
(457, 11, 'Atarjea', 6),
(458, 11, 'Celaya', 7),
(459, 11, '<NAME>', 8),
(460, 11, 'Comonfort', 9),
(461, 11, 'Coroneo', 10),
(462, 11, 'Cortazar', 11),
(463, 11, 'Cuerámaro', 12),
(464, 11, '<NAME>', 13),
(465, 11, '<NAME>una de la Independencia Nacional', 14),
(466, 11, 'Guanajuato', 15),
(467, 11, 'Huanímaro', 16),
(468, 11, 'Irapuato', 17),
(469, 11, '<NAME>', 18),
(470, 11, 'Jerécuaro', 19),
(471, 11, 'León', 20),
(472, 11, 'Moroleón', 21),
(473, 11, 'Ocampo', 22),
(474, 11, 'Pénjamo', 23),
(475, 11, '<NAME>', 24),
(476, 11, '<NAME>', 25),
(477, 11, 'Romita', 26),
(478, 11, 'Salamanca', 27),
(479, 11, 'Salvatierra', 28),
(480, 11, '<NAME> de la Unión', 29),
(481, 11, '<NAME>', 30),
(482, 11, '<NAME>', 31),
(483, 11, '<NAME>', 32),
(484, 11, '<NAME>', 33),
(485, 11, '<NAME>', 34),
(486, 11, 'Santa Cruz de Juvent<NAME>', 35),
(487, 11, '<NAME>', 36),
(488, 11, '<NAME>', 37),
(489, 11, 'Tarandacuao', 38),
(490, 11, 'Tarimoro', 39),
(491, 11, '<NAME>', 40),
(492, 11, 'Uriangato', 41),
(493, 11, '<NAME>', 42),
(494, 11, 'Victoria', 43),
(495, 11, 'Villagrán', 44),
(496, 11, 'Xichú', 45),
(497, 11, 'Yuriria', 46),
(498, 12, '<NAME>', 1),
(499, 12, 'Ahuacuotzingo', 2),
(500, 12, '<NAME>', 3),
(501, 12, '<NAME>', 4),
(502, 12, 'Alpoyeca', 5),
(503, 12, 'Apaxtla', 6),
(504, 12, 'Arcelia', 7),
(505, 12, '<NAME>', 8),
(506, 12, '<NAME>', 9),
(507, 12, 'Atlixtac', 10),
(508, 12, '<NAME>', 11),
(509, 12, '<NAME>', 12),
(510, 12, 'Azoyú', 13),
(511, 12, '<NAME>', 14),
(512, 12, '<NAME>', 15),
(513, 12, '<NAME>', 16),
(514, 12, 'Cocula', 17),
(515, 12, 'Copala', 18),
(516, 12, 'Copalillo', 19),
(517, 12, 'Copanatoyac', 20),
(518, 12, '<NAME>', 21),
(519, 12, '<NAME>', 22),
(520, 12, 'Cuajinicuilapa', 23),
(521, 12, 'Cualác', 24),
(522, 12, 'Cuautepec', 25),
(523, 12, '<NAME>', 26),
(524, 12, '<NAME>', 27),
(525, 12, '<NAME>', 28),
(526, 12, '<NAME>', 29),
(527, 12, '<NAME>', 30),
(528, 12, '<NAME>', 31),
(529, 12, '<NAME>', 32),
(530, 12, 'Huamuxtitlán', 33),
(531, 12, '<NAME>', 34),
(532, 12, 'Iguala de la Independencia', 35),
(533, 12, 'Igualapa', 36),
(534, 12, '<NAME>', 37),
(535, 12, '<NAME>', 38),
(536, 12, '<NAME>', 39),
(537, 12, '<NAME>', 40),
(538, 12, 'Malinaltepec', 41),
(539, 12, '<NAME>', 42),
(540, 12, 'Metlatónoc', 43),
(541, 12, 'Mochitlán', 44),
(542, 12, 'Olinalá', 45),
(543, 12, 'Ometepec', 46),
(544, 12, '<NAME>', 47),
(545, 12, 'Petatlán', 48),
(546, 12, 'Pilcaya', 49),
(547, 12, 'Pungarabato', 50),
(548, 12, 'Quechultenango', 51),
(549, 12, '<NAME>', 52),
(550, 12, '<NAME>', 53),
(551, 12, '<NAME>', 54),
(552, 12, '<NAME>', 55),
(553, 12, 'Tecoanapa', 56),
(554, 12, '<NAME>', 57),
(555, 12, 'Teloloapan', 58),
(556, 12, '<NAME>', 59),
(557, 12, 'Tetipac', 60),
(558, 12, '<NAME>', 61),
(559, 12, 'Tlacoachistlahuaca', 62),
(560, 12, 'Tlacoapa', 63),
(561, 12, 'Tlalchapa', 64),
(562, 12, '<NAME>', 65),
(563, 12, '<NAME>', 66),
(564, 12, 'Tlapehuala', 67),
(565, 12, 'La Unión de Isidoro Montes de Oca', 68),
(566, 12, 'Xalpatláhuac', 69),
(567, 12, 'Xochihuehuetlán', 70),
(568, 12, 'Xochistlahuaca', 71),
(569, 12, '<NAME>', 72),
(570, 12, 'Zirándaro', 73),
(571, 12, 'Zitlala', 74),
(572, 12, '<NAME>', 75),
(573, 12, 'Acatepec', 76),
(574, 12, 'Marquelia', 77),
(575, 12, '<NAME>', 78),
(576, 12, '<NAME>', 79),
(577, 12, 'Juchitán', 80),
(578, 12, 'Iliatenco', 81),
(579, 13, 'Acatlán', 1),
(580, 13, 'Acaxochitlán', 2),
(581, 13, 'Actopan', 3),
(582, 13, '<NAME>', 4),
(583, 13, 'Ajacuba', 5),
(584, 13, 'Alfajayucan', 6),
(585, 13, 'Almoloya', 7),
(586, 13, 'Apan', 8),
(587, 13, '<NAME>', 9),
(588, 13, 'Atitalaquia', 10),
(589, 13, 'Atlapexco', 11),
(590, 13, '<NAME>', 12),
(591, 13, '<NAME>', 13),
(592, 13, 'Calnali', 14),
(593, 13, 'Cardonal', 15),
(594, 13, '<NAME>', 16),
(595, 13, 'Chapantongo', 17),
(596, 13, 'Chapulhuacán', 18),
(597, 13, 'Chilcuautla', 19),
(598, 13, 'Eloxochitlán', 20),
(599, 13, '<NAME>', 21),
(600, 13, 'Epazoyucan', 22),
(601, 13, '<NAME>', 23),
(602, 13, '<NAME>', 24),
(603, 13, 'Huautla', 25),
(604, 13, 'Huazalingo', 26),
(605, 13, 'Huehuetla', 27),
(606, 13, '<NAME>', 28),
(607, 13, 'Huichapan', 29),
(608, 13, 'Ixmiquilpan', 30),
(609, 13, '<NAME>', 31),
(610, 13, 'Jaltocán', 32),
(611, 13, '<NAME>', 33),
(612, 13, 'Lolotla', 34),
(613, 13, 'Metepec', 35),
(614, 13, '<NAME>', 36),
(615, 13, 'Metztitlán', 37),
(616, 13, '<NAME>', 38),
(617, 13, 'Min<NAME>', 39),
(618, 13, '<NAME>', 40),
(619, 13, '<NAME>', 41),
(620, 13, '<NAME>', 42),
(621, 13, '<NAME>', 43),
(622, 13, '<NAME>', 44),
(623, 13, '<NAME>', 45),
(624, 13, '<NAME>', 46),
(625, 13, 'Pacula', 47),
(626, 13, '<NAME>', 48),
(627, 13, 'Pisaflores', 49),
(628, 13, 'Progreso de Obregón', 50),
(629, 13, 'Mineral de la Reforma', 51),
(630, 13, '<NAME>', 52),
(631, 13, '<NAME>', 53),
(632, 13, 'San Salvador', 54),
(633, 13, '<NAME>', 55),
(634, 13, '<NAME> <NAME>', 56),
(635, 13, 'Singuilucan', 57),
(636, 13, 'Tasquillo', 58),
(637, 13, 'Tecozautla', 59),
(638, 13, '<NAME>', 60),
(639, 13, 'Tepeapulco', 61),
(640, 13, '<NAME>', 62),
(641, 13, '<NAME>', 63),
(642, 13, 'Tepetitlán', 64),
(643, 13, 'Tetepango', 65),
(644, 13, '<NAME>', 66),
(645, 13, '<NAME>', 67),
(646, 13, 'Tianguistengo', 68),
(647, 13, 'Tizayuca', 69),
(648, 13, 'Tlahuelilpan', 70),
(649, 13, 'Tlahuiltepa', 71),
(650, 13, 'Tlanalapa', 72),
(651, 13, 'Tlanchinol', 73),
(652, 13, 'Tlaxcoapan', 74),
(653, 13, 'Tolcayuca', 75),
(654, 13, '<NAME>', 76),
(655, 13, '<NAME>', 77),
(656, 13, 'Xochiatipan', 78),
(657, 13, 'Xochicoatlán', 79),
(658, 13, 'Yahualica', 80),
(659, 13, '<NAME>', 81),
(660, 13, '<NAME>', 82),
(661, 13, 'Zempoala', 83),
(662, 13, 'Zimapán', 84),
(664, 15, 'Acolman', 2),
(665, 15, 'Aculco', 3),
(666, 15, '<NAME>', 4),
(667, 15, '<NAME>', 5),
(668, 15, '<NAME>', 6),
(669, 15, 'Amanalco', 7),
(670, 15, 'Amatepec', 8),
(671, 15, 'Amecameca', 9),
(672, 15, 'Apaxco', 10),
(673, 15, 'Atenco', 11),
(674, 15, 'Atizapán', 12),
(675, 15, '<NAME>', 13),
(676, 15, 'Atlacomulco', 14),
(677, 15, 'Atlautla', 15),
(678, 15, 'Axapusco', 16),
(679, 15, 'Ayapango', 17),
(680, 15, 'Calimaya', 18),
(681, 15, 'Capulhuac', 19),
(682, 15, '<NAME>', 20),
(683, 15, '<NAME>', 21),
(684, 15, 'Cocotitlán', 22),
(685, 15, 'Coyotepec', 23),
(686, 15, 'Cuautitlán', 24),
(687, 15, 'Chalco', 25),
(688, 15, '<NAME>', 26),
(689, 15, 'Chapultepec', 27),
(690, 15, 'Chiautla', 28),
(691, 15, 'Chicoloapan', 29),
(692, 15, 'Chiconcuac', 30),
(693, 15, 'Chimalhuacán', 31),
(694, 15, '<NAME>', 32),
(695, 15, '<NAME>', 33),
(696, 15, 'Ecatzingo', 34),
(697, 15, 'Huehuetoca', 35),
(698, 15, 'Hueypoxtla', 36),
(699, 15, 'Huixquilucan', 37),
(700, 15, '<NAME>', 38),
(701, 15, 'Ixtapaluca', 39),
(702, 15, '<NAME>', 40),
(703, 15, '<NAME>', 41),
(704, 15, 'Ixtlahuaca', 42),
(705, 15, 'Xalatlaco', 43),
(706, 15, 'Jaltenco', 44),
(707, 15, 'Jilotepec', 45),
(708, 15, 'Jilotzingo', 46),
(709, 15, 'Jiquipilco', 47),
(710, 15, 'Jocotitlán', 48),
(711, 15, 'Joquicingo', 49),
(712, 15, 'Juchitepec', 50),
(713, 15, 'Lerma', 51),
(714, 15, 'Malinalco', 52),
(715, 15, '<NAME>', 53),
(716, 15, 'Metepec', 54),
(717, 15, 'Mexicaltzingo', 55),
(718, 15, 'Morelos', 56),
(719, 15, '<NAME>', 57),
(720, 15, 'Nezahualcóyotl', 58),
(721, 15, 'Nextlalpan', 59),
(722, 15, '<NAME>', 60),
(723, 15, 'Nopaltepec', 61),
(724, 15, 'Ocoyoacac', 62),
(725, 15, 'Ocuilan', 63),
(726, 15, '<NAME>', 64),
(727, 15, 'Otumba', 65),
(728, 15, 'Otzoloapan', 66),
(729, 15, 'Otzolotepec', 67),
(730, 15, 'Ozumba', 68),
(731, 15, 'Papalotla', 69),
(732, 15, '<NAME>', 70),
(733, 15, 'Polotitlán', 71),
(734, 15, 'Rayón', 72),
(735, 15, '<NAME>', 73),
(736, 15, '<NAME>', 74),
(737, 15, '<NAME>', 75),
(738, 15, '<NAME>', 76),
(739, 15, '<NAME>', 77),
(740, 15, '<NAME>', 78),
(741, 15, '<NAME>', 79),
(742, 15, 'Sultepec', 80),
(743, 15, 'Tecámac', 81),
(744, 15, 'Tejupilco', 82),
(745, 15, 'Temamatla', 83),
(746, 15, 'Temascalapa', 84),
(747, 15, 'Temascalcingo', 85),
(748, 15, 'Temascaltepec', 86),
(749, 15, 'Temoaya', 87),
(750, 15, 'Tenancingo', 88),
(751, 15, '<NAME>', 89),
(752, 15, '<NAME>', 90),
(753, 15, 'Teoloyucan', 91),
(754, 15, 'Teotihuacán', 92),
(755, 15, 'Tepetlaoxtoc', 93),
(756, 15, 'Tepetlixpa', 94),
(757, 15, 'Tepotzotlán', 95),
(758, 15, 'Tequixquiac', 96),
(759, 15, 'Texcaltitlán', 97),
(760, 15, 'Texcalyacac', 98),
(761, 15, 'Texcoco', 99),
(762, 15, 'Tezoyuca', 100),
(763, 15, 'Tianguistenco', 101),
(764, 15, 'Timilpan', 102),
(765, 15, 'Tlalmanalco', 103),
(766, 15, '<NAME>', 104),
(767, 15, 'Tlatlaya', 105),
(768, 15, 'Toluca', 106),
(769, 15, 'Tonatico', 107),
(770, 15, 'Tultepec', 108),
(771, 15, 'Tultitlán', 109),
(772, 15, '<NAME>', 110),
(773, 15, '<NAME>', 111),
(774, 15, '<NAME>', 112),
(775, 15, '<NAME>', 113),
(776, 15, '<NAME>', 114),
(777, 15, 'Xonacatlán', 115),
(778, 15, 'Zacazonapan', 116),
(779, 15, 'Zacualpan', 117),
(780, 15, 'Zinacantepec', 118),
(781, 15, 'Zumpahuacán', 119),
(782, 15, 'Zumpango', 120),
(783, 15, '<NAME>', 121),
(784, 15, '<NAME>', 122),
(785, 15, 'Luvianos', 123),
(786, 15, '<NAME>', 124),
(787, 15, 'Tonanitla', 125),
(788, 16, 'Acuitzio', 1),
(789, 16, 'Aguililla', 2),
(790, 16, '<NAME>', 3),
(791, 16, 'Angamacutiro', 4),
(792, 16, 'Angangueo', 5),
(793, 16, 'Apatzingán', 6),
(794, 16, 'Aporo', 7),
(795, 16, 'Aquila', 8),
(796, 16, 'Ario', 9),
(797, 16, 'Arteaga', 10),
(798, 16, 'Briseñas', 11),
(799, 16, 'Buenavista', 12),
(800, 16, 'Carácuaro', 13),
(801, 16, 'Coahuayana', 14),
(802, 16, '<NAME>', 15),
(803, 16, 'Coeneo', 16),
(804, 16, 'Contepec', 17),
(805, 16, 'Copándaro', 18),
(806, 16, 'Cotija', 19),
(807, 16, 'Cuitzeo', 20),
(808, 16, 'Charapan', 21),
(809, 16, 'Charo', 22),
(810, 16, 'Chavinda', 23),
(811, 16, 'Cherán', 24),
(812, 16, 'Chilchota', 25),
(813, 16, 'Chinicuila', 26),
(814, 16, 'Chucándiro', 27),
(815, 16, 'Churintzio', 28),
(816, 16, 'Churumuco', 29),
(817, 16, 'Ecuandureo', 30),
(818, 16, '<NAME>', 31),
(819, 16, 'Erongarícuaro', 32),
(820, 16, '<NAME>', 33),
(821, 16, 'Hidalgo', 34),
(822, 16, '<NAME>', 35),
(823, 16, 'Huandacareo', 36),
(824, 16, 'Huaniqueo', 37),
(825, 16, 'Huetamo', 38),
(826, 16, 'Huiramba', 39),
(827, 16, 'Indaparapeo', 40),
(828, 16, 'Irimbo', 41),
(829, 16, 'Ixtlán', 42),
(830, 16, 'Jacona', 43),
(831, 16, 'Jiménez', 44),
(832, 16, 'Jiquilpan', 45),
(833, 16, 'Juárez', 46),
(834, 16, 'Jungapeo', 47),
(835, 16, 'Lagunillas', 48),
(836, 16, 'Madero', 49),
(837, 16, 'Maravatío', 50),
(838, 16, '<NAME>', 51),
(839, 16, '<NAME>', 52),
(840, 16, 'Morelia', 53),
(841, 16, 'Morelos', 54),
(842, 16, 'Múgica', 55),
(843, 16, 'Nahuatzen', 56),
(844, 16, 'Nocupétaro', 57),
(845, 16, 'Nuevo Parangaricutiro', 58),
(846, 16, 'Nuevo Urecho', 59),
(847, 16, 'Numarán', 60),
(848, 16, 'Ocampo', 61),
(849, 16, 'Pajacuarán', 62),
(850, 16, 'Panindícuaro', 63),
(851, 16, 'Parácuaro', 64),
(852, 16, 'Paracho', 65),
(853, 16, 'Pátzcuaro', 66),
(854, 16, 'Penjamillo', 67),
(855, 16, 'Peribán', 68),
(856, 16, '<NAME>', 69),
(857, 16, 'Purépero', 70),
(858, 16, 'Puruándiro', 71),
(859, 16, 'Queréndaro', 72),
(860, 16, 'Quiroga', 73),
(861, 16, '<NAME>', 74),
(862, 16, '<NAME>', 75),
(863, 16, 'Sahuayo', 76),
(864, 16, '<NAME>', 77),
(865, 16, '<NAME>', 78),
(866, 16, '<NAME>', 79),
(867, 16, 'Senguio', 80),
(868, 16, 'Susupuato', 81),
(869, 16, 'Tacámbaro', 82),
(870, 16, 'Tancítaro', 83),
(871, 16, 'Tangamandapio', 84),
(872, 16, 'Tangancícuaro', 85),
(873, 16, 'Tanhuato', 86),
(874, 16, 'Taretan', 87),
(875, 16, 'Tarímbaro', 88),
(876, 16, 'Tepalcatepec', 89),
(877, 16, 'Tingambato', 90),
(878, 16, 'Tingüindín', 91),
(879, 16, '<NAME>', 92),
(880, 16, 'Tlalpujahua', 93),
(881, 16, 'Tlazazalca', 94),
(882, 16, 'Tocumbo', 95),
(883, 16, 'Tumbiscatío', 96),
(884, 16, 'Turicato', 97),
(885, 16, 'Tuxpan', 98),
(886, 16, 'Tuzantla', 99),
(887, 16, 'Tzintzuntzan', 100),
(888, 16, 'Tzitzio', 101),
(889, 16, 'Uruapan', 102),
(890, 16, '<NAME>', 103),
(891, 16, 'Villamar', 104),
(892, 16, '<NAME>', 105),
(893, 16, 'Yurécuaro', 106),
(894, 16, 'Zacapu', 107),
(895, 16, 'Zamora', 108),
(896, 16, 'Zináparo', 109),
(897, 16, 'Zinapécuaro', 110),
(898, 16, 'Ziracueretiro', 111),
(899, 16, 'Zitácuaro', 112),
(900, 16, '<NAME>', 113),
(901, 17, 'Amacuzac', 1),
(902, 17, 'Atlatlahucan', 2),
(903, 17, 'Axochiapan', 3),
(904, 17, 'Ayala', 4),
(905, 17, 'Coatlán del Río (municipio)', 5),
(906, 17, 'Cuautla (municipio)', 6),
(907, 17, 'Cuernavaca', 7),
(908, 17, '<NAME>', 8),
(909, 17, 'Huitzilac', 9),
(910, 17, 'Jantetelco', 10),
(911, 17, 'Jiutepec', 11),
(912, 17, 'Jojutla', 12),
(913, 17, 'Jonacatepec', 13),
(914, 17, 'Mazatepec', 14),
(915, 17, 'Miacatlán', 15),
(916, 17, 'Ocuituco', 16),
(917, 17, '<NAME>', 17),
(918, 17, 'Temixco', 18),
(919, 17, 'Tepalcingo', 19),
(920, 17, 'Tepoztlán', 20),
(921, 17, 'Tetecala', 21),
(922, 17, '<NAME>', 22),
(923, 17, 'Tlalnepantla', 23),
(924, 17, 'Tlaltizapán', 24),
(925, 17, 'Tlaquiltenango', 25),
(926, 17, 'Tlayacapan', 26),
(927, 17, 'Totolapan', 27),
(928, 17, 'Xochitepec', 28),
(929, 17, 'Yautepec', 29),
(930, 17, 'Yecapixtla', 30),
(931, 17, 'Zacatepec', 31),
(932, 17, 'Zacualpan', 32),
(933, 17, 'Temoac', 33),
(934, 17, 'Coatetelco', 34),
(935, 17, 'Tetelcingo', 35),
(936, 17, 'Hueyapan', 36),
(937, 17, 'Xoxocotla', 37),
(938, 18, 'Acaponeta', 1),
(939, 18, 'Ahuacatlán', 2),
(940, 18, '<NAME>', 3),
(941, 18, 'Compostela', 4),
(942, 18, 'Huajicori', 5),
(943, 18, '<NAME>', 6),
(944, 18, 'Jala', 7),
(945, 18, 'Xalisco', 8),
(946, 18, '<NAME>', 9),
(947, 18, 'Rosamorada', 10),
(948, 18, 'Ruiz', 11),
(949, 18, '<NAME>', 12),
(950, 18, '<NAME>', 13),
(951, 18, '<NAME>', 14),
(952, 18, '<NAME>', 15),
(953, 18, 'Tecuala', 16),
(954, 18, 'Tepic', 17),
(955, 18, 'Tuxpan', 18),
(956, 18, '<NAME>', 19),
(957, 18, '<NAME>', 20),
(958, 19, 'Abasolo', 1),
(959, 19, 'Agualeguas', 2),
(960, 19, '<NAME>', 3),
(961, 19, 'Allende', 4),
(962, 19, 'Anáhuac', 5),
(963, 19, 'Apodaca', 6),
(964, 19, 'Aramberri', 7),
(965, 19, 'Bustamante', 8),
(966, 19, '<NAME>', 9),
(967, 19, 'Carmen', 10),
(968, 19, 'Cerralvo', 11),
(969, 19, '<NAME>', 12),
(970, 19, 'China', 13),
(971, 19, '<NAME>', 14),
(972, 19, 'Doctor Coss', 15),
(973, 19, '<NAME>', 16),
(974, 19, 'Galeana', 17),
(975, 19, 'García', 18),
(976, 19, '<NAME>', 19),
(977, 19, '<NAME>', 20),
(978, 19, '<NAME>', 21),
(979, 19, '<NAME>', 22),
(980, 19, '<NAME>', 23),
(981, 19, '<NAME>', 24),
(982, 19, '<NAME>', 25),
(983, 19, 'Guadalupe', 26),
(984, 19, '<NAME>', 27),
(985, 19, 'Higueras', 28),
(986, 19, 'Hualahuises', 29),
(987, 19, 'Iturbide', 30),
(988, 19, 'Juárez', 31),
(989, 19, '<NAME>', 32),
(990, 19, 'Linares', 33),
(991, 19, 'Marín', 34),
(992, 19, '<NAME>', 35),
(993, 19, '<NAME>', 36),
(994, 19, 'Mina', 37),
(995, 19, 'Montemorelos', 38),
(996, 19, 'Monterrey ', 39),
(997, 19, 'Parás', 40),
(998, 19, 'Pesquería', 41),
(999, 19, '<NAME>', 42),
(1000, 19, 'Rayones', 43),
(1001, 19, '<NAME>', 44),
(1002, 19, '<NAME>', 45),
(1003, 19, '<NAME>', 46),
(1004, 19, 'Hidalgo', 47),
(1005, 19, '<NAME>', 48),
(1006, 19, 'Santiago', 49),
(1007, 19, 'Vallecillo', 50),
(1008, 19, 'Villaldama', 51),
(1009, 20, 'Abejones', 1),
(1010, 20, '<NAME>', 2),
(1011, 20, 'Asunción Cacalotepec', 3),
(1012, 20, 'Asunción Cuyotepeji', 4),
(1013, 20, 'Asunción Ixtaltepec', 5),
(1014, 20, 'Asunción Nochixtlán', 6),
(1015, 20, 'Asunción Ocotlán', 7),
(1016, 20, 'Asunción Tlacolulita', 8),
(1017, 20, 'Ayotzintepec', 9),
(1018, 20, 'El Barrio de la Soledad', 10),
(1019, 20, 'Calihualá', 11),
(1020, 20, '<NAME>', 12),
(1021, 20, '<NAME>', 13),
(1022, 20, 'Ciudad Ixtepec', 14),
(1023, 20, '<NAME>', 15),
(1024, 20, '<NAME>', 16),
(1025, 20, 'La Compañía', 17),
(1026, 20, 'Concepción Buenavista', 18),
(1027, 20, 'Concepción Pápalo', 19),
(1028, 20, 'Constancia del Rosario', 20),
(1029, 20, 'Cosolapa', 21),
(1030, 20, 'Cosoltepec', 22),
(1031, 20, '<NAME>', 23),
(1032, 20, '<NAME>', 24),
(1033, 20, 'Chahuites', 25),
(1034, 20, '<NAME>', 26),
(1035, 20, '<NAME>', 27),
(1036, 20, 'Heroica Ciudad de Ejutla de Crespo', 28),
(1037, 20, '<NAME>', 29),
(1038, 20, 'El Espinal', 30),
(1039, 20, '<NAME> Espíritu Santo', 31),
(1040, 20, '<NAME>', 32),
(1041, 20, '<NAME>', 33),
(1042, 20, '<NAME>', 34),
(1043, 20, '<NAME>', 35),
(1044, 20, '<NAME>', 36),
(1045, 20, '<NAME>', 37),
(1046, 20, '<NAME>', 38),
(1047, 20, 'Heroica Ciudad de Huajuapan de León', 39),
(1048, 20, 'Huautepec', 40),
(1049, 20, '<NAME>', 41),
(1050, 20, '<NAME>', 42),
(1051, 20, 'Heroica Ciudad de Juchitán de Zaragoza', 43),
(1052, 20, '<NAME>', 44),
(1053, 20, '<NAME>', 45),
(1054, 20, '<NAME>', 46),
(1055, 20, '<NAME>', 47),
(1056, 20, '<NAME>', 48),
(1057, 20, '<NAME>', 49),
(1058, 20, '<NAME>', 50),
(1059, 20, '<NAME>', 51),
(1060, 20, '<NAME>', 52),
(1061, 20, '<NAME>', 53),
(1062, 20, '<NAME>', 54),
(1063, 20, '<NAME>', 55),
(1064, 20, '<NAME>', 56),
(1065, 20, '<NAME>', 57),
(1066, 20, '<NAME>', 58),
(1067, 20, '<NAME>', 59),
(1068, 20, 'Mixistlán de la Reforma', 60),
(1069, 20, 'Monjas', 61),
(1070, 20, 'Natividad', 62),
(1071, 20, '<NAME>', 63),
(1072, 20, '<NAME>', 64),
(1073, 20, '<NAME>', 65),
(1074, 20, '<NAME>', 66),
(1075, 20, '<NAME>', 67),
(1076, 20, '<NAME>', 68),
(1077, 20, '<NAME>', 69),
(1078, 20, '<NAME>', 70),
(1079, 20, '<NAME>', 71),
(1080, 20, '<NAME>', 72),
(1081, 20, '<NAME>', 73),
(1082, 20, '<NAME>', 74),
(1083, 20, 'Reforma de Pineda', 75),
(1084, 20, 'La Reforma', 76),
(1085, 20, '<NAME>', 77),
(1086, 20, '<NAME>', 78),
(1087, 20, '<NAME>', 79),
(1088, 20, '<NAME>', 80),
(1089, 20, '<NAME>', 81),
(1090, 20, '<NAME>', 82),
(1091, 20, '<NAME>', 83),
(1092, 20, '<NAME>', 84),
(1093, 20, '<NAME>', 85),
(1094, 20, '<NAME>', 86),
(1095, 20, '<NAME>', 87),
(1096, 20, '<NAME>', 88),
(1097, 20, '<NAME>', 89),
(1098, 20, '<NAME>', 90),
(1099, 20, '<NAME>', 91),
(1100, 20, '<NAME>', 92),
(1101, 20, '<NAME>', 93),
(1102, 20, '<NAME>', 94),
(1103, 20, '<NAME>', 95),
(1104, 20, '<NAME>', 96),
(1105, 20, '<NAME>', 97),
(1106, 20, '<NAME>', 98),
(1107, 20, '<NAME>', 99),
(1108, 20, '<NAME>', 100),
(1109, 20, '<NAME>', 101),
(1110, 20, '<NAME>', 102),
(1111, 20, '<NAME>', 103),
(1112, 20, '<NAME>', 104),
(1113, 20, '<NAME>', 105),
(1114, 20, '<NAME>', 106),
(1115, 20, '<NAME>', 107),
(1116, 20, '<NAME>', 108),
(1117, 20, '<NAME>', 109),
(1118, 20, '<NAME>', 110),
(1119, 20, '<NAME>', 111),
(1120, 20, '<NAME>', 112),
(1121, 20, '<NAME>', 113),
(1122, 20, '<NAME>', 114),
(1123, 20, '<NAME>', 115),
(1124, 20, '<NAME>', 116),
(1125, 20, '<NAME>', 117),
(1126, 20, '<NAME>', 118),
(1127, 20, '<NAME>', 119),
(1128, 20, '<NAME>', 120),
(1129, 20, '<NAME>', 121),
(1130, 20, '<NAME>', 122),
(1131, 20, '<NAME>', 123),
(1132, 20, '<NAME>', 124),
(1133, 20, '<NAME>', 125),
(1134, 20, '<NAME>', 126),
(1135, 20, '<NAME>', 127),
(1136, 20, '<NAME>', 128),
(1137, 20, '<NAME>', 129),
(1138, 20, '<NAME>', 130),
(1139, 20, '<NAME>', 131),
(1140, 20, '<NAME>', 132),
(1141, 20, '<NAME>', 133),
(1142, 20, '<NAME>', 134),
(1143, 20, '<NAME>', 135),
(1144, 20, '<NAME>', 136),
(1145, 20, '<NAME>', 137),
(1146, 20, '<NAME>', 138),
(1147, 20, '<NAME>', 139),
(1148, 20, '<NAME>', 140),
(1149, 20, '<NAME>', 141),
(1150, 20, '<NAME>', 142),
(1151, 20, '<NAME>', 143),
(1152, 20, '<NAME>', 144),
(1153, 20, '<NAME>', 145),
(1154, 20, '<NAME>', 146),
(1155, 20, '<NAME>', 147),
(1156, 20, '<NAME>', 148),
(1157, 20, '<NAME>', 149),
(1158, 20, '<NAME>', 150),
(1159, 20, '<NAME>', 151),
(1160, 20, '<NAME>', 152),
(1161, 20, '<NAME>', 153),
(1162, 20, '<NAME>', 154),
(1163, 20, '<NAME>', 155),
(1164, 20, '<NAME>', 156),
(1165, 20, '<NAME>', 157),
(1166, 20, '<NAME>', 158),
(1167, 20, '<NAME>', 159),
(1168, 20, '<NAME>', 160),
(1169, 20, '<NAME>', 161),
(1170, 20, '<NAME>', 162),
(1171, 20, '<NAME>', 163),
(1172, 20, '<NAME>', 164),
(1173, 20, '<NAME>', 165),
(1174, 20, '<NAME>', 166),
(1175, 20, '<NAME>', 167),
(1176, 20, '<NAME>', 168),
(1177, 20, '<NAME>', 169),
(1178, 20, '<NAME>', 170),
(1179, 20, '<NAME>', 171),
(1180, 20, '<NAME>', 172),
(1181, 20, '<NAME>', 173),
(1182, 20, '<NAME>', 174),
(1183, 20, 'San Juan Bautista Atatlahuca', 175),
(1184, 20, 'San Juan Bautista Coixtlahuaca', 176),
(1185, 20, 'San Juan Bautista Cuicatlán', 177),
(1186, 20, '<NAME>', 178),
(1187, 20, '<NAME>', 179),
(1188, 20, '<NAME> <NAME>', 180),
(1189, 20, '<NAME>', 181),
(1190, 20, '<NAME> Tlacoatzintepec', 182),
(1191, 20, '<NAME>', 183),
(1192, 20, '<NAME>', 184),
(1193, 20, '<NAME>', 185),
(1194, 20, '<NAME>', 186),
(1195, 20, '<NAME>', 187),
(1196, 20, '<NAME>', 188),
(1197, 20, '<NAME>', 189),
(1198, 20, '<NAME>', 190),
(1199, 20, '<NAME>', 191),
(1200, 20, '<NAME>', 192),
(1201, 20, '<NAME>', 193),
(1202, 20, '<NAME>', 194),
(1203, 20, '<NAME>', 195),
(1204, 20, '<NAME>', 196),
(1205, 20, '<NAME>', 197),
(1206, 20, '<NAME>', 198),
(1207, 20, '<NAME>', 199),
(1208, 20, '<NAME>', 200),
(1209, 20, '<NAME>', 201),
(1210, 20, '<NAME>', 202),
(1211, 20, '<NAME>', 203),
(1212, 20, '<NAME>', 204),
(1213, 20, '<NAME>', 205),
(1214, 20, '<NAME>', 206),
(1215, 20, '<NAME>', 207),
(1216, 20, '<NAME> -Distrito 08-', 208),
(1217, 20, '<NAME> -Distrito 26-', 209),
(1218, 20, '<NAME>', 210),
(1219, 20, '<NAME>', 211),
(1220, 20, '<NAME>', 212),
(1221, 20, '<NAME>', 213),
(1222, 20, '<NAME>', 214),
(1223, 20, '<NAME>', 215),
(1224, 20, '<NAME>', 216),
(1225, 20, '<NAME>', 217),
(1226, 20, '<NAME>', 218),
(1227, 20, '<NAME>', 219),
(1228, 20, '<NAME>', 220),
(1229, 20, '<NAME>', 221),
(1230, 20, '<NAME>', 222),
(1231, 20, '<NAME>', 223),
(1232, 20, '<NAME>', 224),
(1233, 20, '<NAME>', 225),
(1234, 20, '<NAME>', 226),
(1235, 20, '<NAME>', 227),
(1236, 20, '<NAME>', 228),
(1237, 20, '<NAME>', 229),
(1238, 20, '<NAME>', 230),
(1239, 20, '<NAME>', 231),
(1240, 20, '<NAME>', 232),
(1241, 20, '<NAME>', 233),
(1242, 20, '<NAME>', 234),
(1243, 20, '<NAME>', 235),
(1244, 20, '<NAME>', 236),
(1245, 20, '<NAME>', 237),
(1246, 20, '<NAME>', 238),
(1247, 20, '<NAME>', 239),
(1248, 20, '<NAME>', 240),
(1249, 20, '<NAME>', 241),
(1250, 20, '<NAME>', 242),
(1251, 20, '<NAME>', 243),
(1252, 20, '<NAME>', 244),
(1253, 20, '<NAME>', 245),
(1254, 20, '<NAME>', 246),
(1255, 20, '<NAME>', 247),
(1256, 20, '<NAME>', 248),
(1257, 20, '<NAME>', 249),
(1258, 20, '<NAME>', 250),
(1259, 20, '<NAME>', 251),
(1260, 20, '<NAME>', 252),
(1261, 20, '<NAME>', 253),
(1262, 20, '<NAME>', 254),
(1263, 20, '<NAME>', 255),
(1264, 20, '<NAME>', 256),
(1265, 20, '<NAME>', 257),
(1266, 20, '<NAME>', 258),
(1267, 20, '<NAME>', 259),
(1268, 20, '<NAME>', 260),
(1269, 20, '<NAME>', 261),
(1270, 20, '<NAME>', 262),
(1271, 20, '<NAME>', 263),
(1272, 20, '<NAME>', 264),
(1273, 20, '<NAME>', 265),
(1274, 20, '<NAME>', 266),
(1275, 20, '<NAME>', 267),
(1276, 20, '<NAME>', 268),
(1277, 20, '<NAME>', 269),
(1278, 20, '<NAME>', 270),
(1279, 20, '<NAME>', 271),
(1280, 20, '<NAME>', 272),
(1281, 20, '<NAME>', 273),
(1282, 20, '<NAME>', 274),
(1283, 20, '<NAME>', 275),
(1284, 20, '<NAME>', 276),
(1285, 20, '<NAME>', 277),
(1286, 20, '<NAME>', 278),
(1287, 20, '<NAME>', 279),
(1288, 20, '<NAME>', 280),
(1289, 20, '<NAME>', 281),
(1290, 20, '<NAME>', 282),
(1291, 20, '<NAME>', 283),
(1292, 20, '<NAME>', 284),
(1293, 20, '<NAME>', 285),
(1294, 20, '<NAME>', 286),
(1295, 20, '<NAME>', 287),
(1296, 20, '<NAME>', 288),
(1297, 20, '<NAME>', 289),
(1298, 20, '<NAME>', 290),
(1299, 20, '<NAME>', 291),
(1300, 20, '<NAME>', 292),
(1301, 20, '<NAME>', 293),
(1302, 20, '<NAME>', 294),
(1303, 20, '<NAME>', 295),
(1304, 20, '<NAME>', 296),
(1305, 20, '<NAME>', 297),
(1306, 20, '<NAME>', 298),
(1307, 20, '<NAME>', 299),
(1308, 20, '<NAME>', 300),
(1309, 20, '<NAME>', 301),
(1310, 20, '<NAME>', 302),
(1311, 20, '<NAME>', 303),
(1312, 20, '<NAME>', 304),
(1313, 20, '<NAME>', 305),
(1314, 20, '<NAME>', 306),
(1315, 20, '<NAME>', 307),
(1316, 20, '<NAME>', 308),
(1317, 20, '<NAME>', 309),
(1318, 20, '<NAME>', 310),
(1319, 20, '<NAME>', 311),
(1320, 20, '<NAME>', 312),
(1321, 20, '<NAME>', 313),
(1322, 20, '<NAME>', 314),
(1323, 20, '<NAME>', 315),
(1324, 20, '<NAME>', 316),
(1325, 20, '<NAME>', 317),
(1326, 20, '<NAME> -Distrito 22-', 318),
(1327, 20, '<NAME> -Distrito 26-', 319),
(1328, 20, '<NAME>', 320),
(1329, 20, '<NAME>', 321),
(1330, 20, '<NAME>', 322),
(1331, 20, '<NAME>', 323),
(1332, 20, '<NAME>', 324),
(1333, 20, '<NAME>', 325),
(1334, 20, '<NAME>', 326),
(1335, 20, '<NAME>', 327),
(1336, 20, '<NAME>', 328),
(1337, 20, '<NAME>', 329),
(1338, 20, '<NAME>', 330),
(1339, 20, '<NAME>', 331),
(1340, 20, '<NAME>', 332),
(1341, 20, '<NAME>', 333),
(1342, 20, '<NAME> <NAME>', 334),
(1343, 20, '<NAME>', 335),
(1344, 20, '<NAME>', 336),
(1345, 20, '<NAME> y <NAME>', 337),
(1346, 20, '<NAME>', 338),
(1347, 20, '<NAME> y <NAME>', 339),
(1348, 20, '<NAME> y <NAME>', 340),
(1349, 20, '<NAME>', 341),
(1350, 20, '<NAME>', 342),
(1351, 20, '<NAME>', 343),
(1352, 20, '<NAME>', 344),
(1353, 20, '<NAME>', 345),
(1354, 20, '<NAME>', 346),
(1355, 20, '<NAME>', 347),
(1356, 20, '<NAME>', 348),
(1357, 20, '<NAME>', 349),
(1358, 20, '<NAME>', 350),
(1359, 20, '<NAME>', 351),
(1360, 20, '<NAME>', 352),
(1361, 20, 'Santa Ana', 353),
(1362, 20, 'Santa Ana Ateixtlahuaca', 354),
(1363, 20, 'Santa Ana Cuauhtémoc', 355),
(1364, 20, 'Santa Ana del Valle', 356),
(1365, 20, '<NAME>', 357),
(1366, 20, '<NAME>', 358),
(1367, 20, '<NAME>', 359),
(1368, 20, '<NAME>', 360),
(1369, 20, '<NAME>', 361),
(1370, 20, '<NAME>', 362),
(1371, 20, '<NAME>', 363),
(1372, 20, '<NAME>', 364),
(1373, 20, '<NAME>', 365),
(1374, 20, '<NAME>', 366),
(1375, 20, '<NAME>', 367),
(1376, 20, '<NAME>', 368),
(1377, 20, '<NAME>', 369),
(1378, 20, '<NAME>', 370),
(1379, 20, '<NAME>', 371),
(1380, 20, '<NAME>', 372),
(1381, 20, '<NAME>', 373),
(1382, 20, '<NAME>', 374),
(1383, 20, '<NAME>', 375),
(1384, 20, 'Santa Cruz de Bravo', 376),
(1385, 20, '<NAME>', 377),
(1386, 20, '<NAME>', 378),
(1387, 20, '<NAME>', 379),
(1388, 20, '<NAME>', 380),
(1389, 20, '<NAME>', 381),
(1390, 20, '<NAME>', 382),
(1391, 20, '<NAME>', 383),
(1392, 20, '<NAME>', 384),
(1393, 20, '<NAME>', 385),
(1394, 20, '<NAME>', 386),
(1395, 20, '<NAME>', 387),
(1396, 20, '<NAME>', 388),
(1397, 20, '<NAME>', 389),
(1398, 20, '<NAME>', 390),
(1399, 20, '<NAME>', 391),
(1400, 20, '<NAME>', 392),
(1401, 20, '<NAME>', 393),
(1402, 20, '<NAME>', 394),
(1403, 20, '<NAME>', 395),
(1404, 20, '<NAME>', 396),
(1405, 20, 'Heroica Ciudad de Tlaxiaco', 397),
(1406, 20, '<NAME>', 398),
(1407, 20, '<NAME>', 399),
(1408, 20, '<NAME>', 400),
(1409, 20, '<NAME>', 401),
(1410, 20, '<NAME>', 402),
(1411, 20, '<NAME>', 403),
(1412, 20, '<NAME>', 404),
(1413, 20, '<NAME>', 405),
(1414, 20, '<NAME>', 406),
(1415, 20, '<NAME>', 407),
(1416, 20, '<NAME>', 408),
(1417, 20, '<NAME>', 409),
(1418, 20, '<NAME>', 410),
(1419, 20, '<NAME>', 411),
(1420, 20, '<NAME>', 412),
(1421, 20, '<NAME>', 413),
(1422, 20, '<NAME>', 414),
(1423, 20, '<NAME>', 415),
(1424, 20, '<NAME>', 416),
(1425, 20, '<NAME>', 417),
(1426, 20, '<NAME>', 418),
(1427, 20, '<NAME>', 419),
(1428, 20, '<NAME>', 420),
(1429, 20, '<NAME>', 421),
(1430, 20, '<NAME>', 422),
(1431, 20, '<NAME>', 423),
(1432, 20, '<NAME>', 424),
(1433, 20, '<NAME>', 425),
(1434, 20, '<NAME>', 426),
(1435, 20, '<NAME>', 427),
(1436, 20, '<NAME>', 428),
(1437, 20, '<NAME>', 429),
(1438, 20, '<NAME>', 430),
(1439, 20, '<NAME>', 431),
(1440, 20, '<NAME>', 432),
(1441, 20, '<NAME>', 433),
(1442, 20, '<NAME>', 434),
(1443, 20, '<NAME>', 435),
(1444, 20, '<NAME>', 436),
(1445, 20, '<NAME>', 437),
(1446, 20, '<NAME>', 438),
(1447, 20, '<NAME>', 439),
(1448, 20, '<NAME>', 440),
(1449, 20, '<NAME>', 441),
(1450, 20, '<NAME>', 442),
(1451, 20, '<NAME>', 443),
(1452, 20, '<NAME>', 444),
(1453, 20, '<NAME>', 445),
(1454, 20, '<NAME>', 446),
(1455, 20, '<NAME>', 447),
(1456, 20, '<NAME>', 448),
(1457, 20, '<NAME>', 449),
(1458, 20, '<NAME>', 450),
(1459, 20, '<NAME>', 451),
(1460, 20, '<NAME>', 452),
(1461, 20, '<NAME>', 453),
(1462, 20, '<NAME>', 454),
(1463, 20, '<NAME>', 455),
(1464, 20, '<NAME>', 456),
(1465, 20, '<NAME>', 457),
(1466, 20, '<NAME>', 458),
(1467, 20, '<NAME>', 459),
(1468, 20, '<NAME>', 460),
(1469, 20, '<NAME>', 461),
(1470, 20, '<NAME>', 462),
(1471, 20, '<NAME>', 463),
(1472, 20, '<NAME>', 464),
(1473, 20, '<NAME>', 465),
(1474, 20, '<NAME>', 466),
(1475, 20, '<NAME>', 467),
(1476, 20, '<NAME>', 468),
(1477, 20, '<NAME>', 469),
(1478, 20, '<NAME>', 470),
(1479, 20, '<NAME>', 471),
(1480, 20, '<NAME>', 472),
(1481, 20, '<NAME>', 473),
(1482, 20, '<NAME>', 474),
(1483, 20, '<NAME>', 475),
(1484, 20, '<NAME>', 476),
(1485, 20, '<NAME>', 477),
(1486, 20, '<NAME>', 478),
(1487, 20, '<NAME>', 479),
(1488, 20, '<NAME>', 480),
(1489, 20, '<NAME>', 481),
(1490, 20, '<NAME>', 482),
(1491, 20, '<NAME>', 483),
(1492, 20, '<NAME>', 484),
(1493, 20, '<NAME>', 485),
(1494, 20, 'Villa Tejúpam de la Unión', 486),
(1495, 20, '<NAME>', 487),
(1496, 20, '<NAME>', 488),
(1497, 20, '<NAME>', 489),
(1498, 20, '<NAME>', 490),
(1499, 20, '<NAME>', 491),
(1500, 20, '<NAME>', 492),
(1501, 20, '<NAME>', 493),
(1502, 20, '<NAME>', 494),
(1503, 20, '<NAME>', 495),
(1504, 20, '<NAME>', 496),
(1505, 20, '<NAME>', 497),
(1506, 20, '<NAME>', 498),
(1507, 20, '<NAME>', 499),
(1508, 20, '<NAME>', 500),
(1509, 20, '<NAME>', 501),
(1510, 20, '<NAME>', 502),
(1511, 20, '<NAME>', 503),
(1512, 20, '<NAME>', 504),
(1513, 20, '<NAME>', 505),
(1514, 20, '<NAME>', 506),
(1515, 20, '<NAME>', 507),
(1516, 20, '<NAME>', 508),
(1517, 20, '<NAME>', 509),
(1518, 20, '<NAME>', 510),
(1519, 20, '<NAME>', 511),
(1520, 20, '<NAME>', 512),
(1521, 20, '<NAME>', 513),
(1522, 20, '<NAME>', 514),
(1523, 20, '<NAME>', 515),
(1524, 20, '<NAME>', 516),
(1525, 20, 'Santo <NAME>', 517),
(1526, 20, '<NAME>', 518),
(1527, 20, '<NAME>', 519),
(1528, 20, '<NAME>', 520),
(1529, 20, '<NAME>', 521),
(1530, 20, '<NAME>', 522),
(1531, 20, '<NAME>', 523),
(1532, 20, '<NAME>', 524),
(1533, 20, '<NAME>', 525),
(1534, 20, '<NAME>', 526),
(1535, 20, '<NAME>', 527),
(1536, 20, '<NAME>', 528),
(1537, 20, '<NAME>', 529),
(1538, 20, '<NAME>', 530),
(1539, 20, '<NAME>', 531),
(1540, 20, '<NAME>', 532),
(1541, 20, '<NAME>', 533),
(1542, 20, 'San Vicente Coatlán', 534),
(1543, 20, 'San Vicente Lachixío', 535),
(1544, 20, 'San Vicente Nuñú', 536),
(1545, 20, 'Silacayoápam', 537),
(1546, 20, '<NAME>', 538),
(1547, 20, '<NAME>', 539),
(1548, 20, '<NAME>', 540),
(1549, 20, '<NAME>', 541),
(1550, 20, 'Taniche', 542),
(1551, 20, '<NAME>', 543),
(1552, 20, '<NAME>', 544),
(1553, 20, '<NAME>', 545),
(1554, 20, '<NAME>', 546),
(1555, 20, 'Teotongo', 547),
(1556, 20, '<NAME>', 548),
(1557, 20, '<NAME>', 549),
(1558, 20, '<NAME>', 550),
(1559, 20, '<NAME>', 551),
(1560, 20, '<NAME>', 552),
(1561, 20, '<NAME>', 553),
(1562, 20, '<NAME>', 554),
(1563, 20, '<NAME>', 555),
(1564, 20, 'La Trinidad Vista Hermosa', 556),
(1565, 20, '<NAME>', 557),
(1566, 20, '<NAME>', 558);
INSERT INTO `municipio` (`Registro`, `Estado`, `Nombre`, `Numero`) VALUES
(1567, 20, '<NAME> Bautista Valle Nacional', 559),
(1568, 20, '<NAME>', 560),
(1569, 20, 'Yaxe', 561),
(1570, 20, '<NAME>', 562),
(1571, 20, 'Yogana', 563),
(1572, 20, '<NAME>', 564),
(1573, 20, '<NAME>', 565),
(1574, 20, '<NAME>', 566),
(1575, 20, '<NAME>', 567),
(1576, 20, '<NAME>', 568),
(1577, 20, '<NAME>', 569),
(1578, 20, '<NAME>', 570),
(1579, 21, 'Acajete', 1),
(1580, 21, 'Acateno', 2),
(1581, 21, 'Acatlán', 3),
(1582, 21, 'Acatzingo', 4),
(1583, 21, 'Acteopan', 5),
(1584, 21, 'Ahuacatlán', 6),
(1585, 21, 'Ahuatlán', 7),
(1586, 21, 'Ahuazotepec', 8),
(1587, 21, 'Ahuehuetitla', 9),
(1588, 21, 'Ajalpan', 10),
(1589, 21, '<NAME>', 11),
(1590, 21, 'Aljojuca', 12),
(1591, 21, 'Altepexi', 13),
(1592, 21, 'Amixtlán', 14),
(1593, 21, 'Amozoc', 15),
(1594, 21, 'Aquixtla', 16),
(1595, 21, 'Atempan', 17),
(1596, 21, 'Atexcal', 18),
(1597, 21, 'Atlixco', 19),
(1598, 21, 'Atoyatempan', 20),
(1599, 21, 'Atzala', 21),
(1600, 21, 'Atzitzihuacán', 22),
(1601, 21, 'Atzitzintla', 23),
(1602, 21, 'Axutla', 24),
(1603, 21, '<NAME>', 25),
(1604, 21, 'Calpan', 26),
(1605, 21, 'Caltepec', 27),
(1606, 21, 'Camocuautla', 28),
(1607, 21, 'Caxhuacán', 29),
(1608, 21, 'Coatepec', 30),
(1609, 21, 'Coatzingo', 31),
(1610, 21, 'Cohetzala', 32),
(1611, 21, 'Cohuecan', 33),
(1612, 21, 'Coronango', 34),
(1613, 21, 'Coxcatlán', 35),
(1614, 21, 'Coyomeapan', 36),
(1615, 21, 'Coyotepec', 37),
(1616, 21, '<NAME>', 38),
(1617, 21, 'Cuautempan', 39),
(1618, 21, 'Cuautinchán', 40),
(1619, 21, 'Cuautlancingo', 41),
(1620, 21, '<NAME>', 42),
(1621, 21, '<NAME>', 43),
(1622, 21, 'Cuyoaco', 44),
(1623, 21, '<NAME>', 45),
(1624, 21, 'Chapulco', 46),
(1625, 21, 'Chiautla', 47),
(1626, 21, 'Chiautzingo', 48),
(1627, 21, 'Chiconcuautla', 49),
(1628, 21, 'Chichiquila', 50),
(1629, 21, 'Chietla', 51),
(1630, 21, 'Chigmecatitlán', 52),
(1631, 21, 'Chignahuapan', 53),
(1632, 21, 'Chignautla', 54),
(1633, 21, 'Chila', 55),
(1634, 21, '<NAME>', 56),
(1635, 21, 'Honey', 57),
(1636, 21, 'Chilchotla', 58),
(1637, 21, 'Chinantla', 59),
(1638, 21, '<NAME>', 60),
(1639, 21, 'Eloxochitlán', 61),
(1640, 21, 'Epatlán', 62),
(1641, 21, 'Esperanza', 63),
(1642, 21, '<NAME>', 64),
(1643, 21, '<NAME>', 65),
(1644, 21, 'Guadalupe', 66),
(1645, 21, '<NAME>', 67),
(1646, 21, '<NAME>', 68),
(1647, 21, 'Huaquechula', 69),
(1648, 21, 'Huatlatlauca', 70),
(1649, 21, 'Huauchinango', 71),
(1650, 21, 'Huehuetla', 72),
(1651, 21, '<NAME>', 73),
(1652, 21, 'Huejotzingo', 74),
(1653, 21, 'Hueyapan', 75),
(1654, 21, 'Hueytamalco', 76),
(1655, 21, 'Hueytlalpan', 77),
(1656, 21, '<NAME>', 78),
(1657, 21, 'Huitziltepec', 79),
(1658, 21, 'Atlequizayan', 80),
(1659, 21, '<NAME>', 81),
(1660, 21, 'Ixcaquixtla', 82),
(1661, 21, 'Ixtacamaxtitlán', 83),
(1662, 21, 'Ixtepec', 84),
(1663, 21, '<NAME>', 85),
(1664, 21, 'Jalpan', 86),
(1665, 21, 'Jolalpan', 87),
(1666, 21, 'Jonotla', 88),
(1667, 21, 'Jopala', 89),
(1668, 21, '<NAME>', 90),
(1669, 21, '<NAME>', 91),
(1670, 21, '<NAME>', 92),
(1671, 21, 'Lafragua', 93),
(1672, 21, 'Libres', 94),
(1673, 21, '<NAME>', 95),
(1674, 21, '<NAME>', 96),
(1675, 21, 'Mixtla', 97),
(1676, 21, 'Molcaxac', 98),
(1677, 21, '<NAME>', 99),
(1678, 21, 'Naupan', 100),
(1679, 21, 'Nauzontla', 101),
(1680, 21, 'Nealtican', 102),
(1681, 21, '<NAME>', 103),
(1682, 21, 'Nopalucan', 104),
(1683, 21, 'Ocotepec', 105),
(1684, 21, 'Ocoyucan', 106),
(1685, 21, 'Olintla', 107),
(1686, 21, 'Oriental', 108),
(1687, 21, 'Pahuatlán', 109),
(1688, 21, '<NAME>', 110),
(1689, 21, 'Pantepec', 111),
(1690, 21, 'Petlalcingo', 112),
(1691, 21, 'Piaxtla', 113),
(1692, 21, 'Puebla', 114),
(1693, 21, 'Quecholac', 115),
(1694, 21, 'Quimixtlán', 116),
(1695, 21, '<NAME>', 117),
(1696, 21, '<NAME>', 118),
(1697, 21, '<NAME>', 119),
(1698, 21, '<NAME>', 120),
(1699, 21, '<NAME>', 121),
(1700, 21, '<NAME>', 122),
(1701, 21, '<NAME>', 123),
(1702, 21, '<NAME>', 124),
(1703, 21, '<NAME>', 125),
(1704, 21, '<NAME>', 126),
(1705, 21, '<NAME>', 127),
(1706, 21, '<NAME>', 128),
(1707, 21, '<NAME>', 129),
(1708, 21, '<NAME>', 130),
(1709, 21, '<NAME>', 131),
(1710, 21, '<NAME>', 132),
(1711, 21, '<NAME>', 133),
(1712, 21, '<NAME>', 134),
(1713, 21, '<NAME>', 135),
(1714, 21, '<NAME>', 136),
(1715, 21, '<NAME>', 137),
(1716, 21, '<NAME>', 138),
(1717, 21, '<NAME>', 139),
(1718, 21, '<NAME>', 140),
(1719, 21, '<NAME>', 141),
(1720, 21, '<NAME>', 142),
(1721, 21, 'San Salvador el Verde', 143),
(1722, 21, '<NAME>', 144),
(1723, 21, '<NAME>', 145),
(1724, 21, '<NAME>', 146),
(1725, 21, '<NAME>', 147),
(1726, 21, '<NAME>', 148),
(1727, 21, '<NAME>', 149),
(1728, 21, '<NAME>', 150),
(1729, 21, '<NAME>', 151),
(1730, 21, 'Soltepec', 152),
(1731, 21, '<NAME>', 153),
(1732, 21, 'Tecamachalco', 154),
(1733, 21, 'Tecomatlán', 155),
(1734, 21, 'Tehuacán', 156),
(1735, 21, 'Tehuitzingo', 157),
(1736, 21, 'Tenampulco', 158),
(1737, 21, 'Teopantlán', 159),
(1738, 21, 'Teotlalco', 160),
(1739, 21, '<NAME>', 161),
(1740, 21, '<NAME>', 162),
(1741, 21, '<NAME>', 163),
(1742, 21, 'Tepeaca', 164),
(1743, 21, 'Tepemaxalco', 165),
(1744, 21, 'Tepeojuma', 166),
(1745, 21, 'Tepetzintla', 167),
(1746, 21, 'Tepexco', 168),
(1747, 21, '<NAME>', 169),
(1748, 21, 'Tepeyahualco', 170),
(1749, 21, '<NAME>', 171),
(1750, 21, '<NAME>', 172),
(1751, 21, '<NAME>', 173),
(1752, 21, 'Teziutlán', 174),
(1753, 21, 'Tianguismanalco', 175),
(1754, 21, 'Tilapa', 176),
(1755, 21, '<NAME>', 177),
(1756, 21, 'Tlacuilotepec', 178),
(1757, 21, 'Tlachichuca', 179),
(1758, 21, 'Tlahuapan', 180),
(1759, 21, 'Tlaltenango', 181),
(1760, 21, 'Tlanepantla', 182),
(1761, 21, 'Tlaola', 183),
(1762, 21, 'Tlapacoya', 184),
(1763, 21, 'Tlapanalá', 185),
(1764, 21, 'Tlatlauquitepec', 186),
(1765, 21, 'Tlaxco', 187),
(1766, 21, 'Tochimilco', 188),
(1767, 21, 'Tochtepec', 189),
(1768, 21, '<NAME>', 190),
(1769, 21, 'Tulcingo', 191),
(1770, 21, '<NAME>', 192),
(1771, 21, 'Tzicatlacoyan', 193),
(1772, 21, '<NAME>', 194),
(1773, 21, '<NAME>', 195),
(1774, 21, '<NAME>', 196),
(1775, 21, 'Xicotepec', 197),
(1776, 21, 'Xicotlán', 198),
(1777, 21, 'Xiutetelco', 199),
(1778, 21, 'Xochiapulco', 200),
(1779, 21, 'Xochiltepec', 201),
(1780, 21, '<NAME>', 202),
(1781, 21, '<NAME>', 203),
(1782, 21, 'Yaonáhuac', 204),
(1783, 21, 'Yehualtepec', 205),
(1784, 21, 'Zacapala', 206),
(1785, 21, 'Zacapoaxtla', 207),
(1786, 21, 'Zacatlán', 208),
(1787, 21, 'Zapotitlán', 209),
(1788, 21, '<NAME>', 210),
(1789, 21, 'Zaragoza', 211),
(1790, 21, 'Zautla', 212),
(1791, 21, 'Zihuateutla', 213),
(1792, 21, 'Zinacatepec', 214),
(1793, 21, 'Zongozotla', 215),
(1794, 21, 'Zoquiapan', 216),
(1795, 21, 'Zoquitlán', 217),
(1796, 22, '<NAME>', 1),
(1797, 22, '<NAME>', 2),
(1798, 22, '<NAME>', 3),
(1799, 22, '<NAME>', 4),
(1800, 22, 'Colón', 5),
(1801, 22, 'Corregidora', 6),
(1802, 22, '<NAME>', 7),
(1803, 22, 'Huimilpan', 8),
(1804, 22, '<NAME>', 9),
(1805, 22, '<NAME>', 10),
(1806, 22, '<NAME>', 11),
(1807, 22, '<NAME>', 12),
(1808, 22, 'Peñamiller', 13),
(1809, 22, 'Querétaro', 14),
(1810, 22, '<NAME>', 15),
(1811, 22, '<NAME>', 16),
(1812, 22, 'Tequisquiapan', 17),
(1813, 22, 'Tolimán', 18),
(1814, 23, 'Cozumel', 1),
(1815, 23, '<NAME>', 2),
(1816, 23, '<NAME>', 3),
(1817, 23, '<NAME>', 4),
(1818, 23, '<NAME>', 5),
(1819, 23, '<NAME>', 6),
(1820, 23, '<NAME>', 7),
(1821, 23, 'Solidaridad', 8),
(1822, 23, 'Tulum', 9),
(1823, 23, 'Bacalar', 10),
(1824, 23, '<NAME>', 11),
(1825, 24, 'Ahualulco', 1),
(1826, 24, 'Alaquines', 2),
(1827, 24, 'Aquismón', 3),
(1828, 24, '<NAME>', 4),
(1829, 24, 'Cárdenas', 5),
(1830, 24, 'Catorce', 6),
(1831, 24, 'Cedral', 7),
(1832, 24, 'Cerritos', 8),
(1833, 24, '<NAME>', 9),
(1834, 24, 'Ciudad del Maíz', 10),
(1835, 24, 'Ciudad Fernández', 11),
(1836, 24, 'Tancanhuitz', 12),
(1837, 24, 'Ciudad Valles', 13),
(1838, 24, 'Coxcatlán', 14),
(1839, 24, 'Charcas', 15),
(1840, 24, 'Ébano', 16),
(1841, 24, 'Guadalcázar', 17),
(1842, 24, 'Huehuetlán', 18),
(1843, 24, 'Lagunillas', 19),
(1844, 24, 'Matehuala', 20),
(1845, 24, '<NAME>', 21),
(1846, 24, 'Moctezuma', 22),
(1847, 24, 'Rayón', 23),
(1848, 24, 'Rioverde', 24),
(1849, 24, 'Salinas', 25),
(1850, 24, '<NAME>', 26),
(1851, 24, '<NAME>', 27),
(1852, 24, '<NAME>', 28),
(1853, 24, '<NAME>', 29),
(1854, 24, '<NAME>', 30),
(1855, 24, '<NAME>', 31),
(1856, 24, '<NAME>', 32),
(1857, 24, '<NAME>', 33),
(1858, 24, '<NAME>', 34),
(1859, 24, '<NAME>', 35),
(1860, 24, 'Tamasopo', 36),
(1861, 24, 'Tamazunchale', 37),
(1862, 24, 'Tampacán', 38),
(1863, 24, '<NAME>', 39),
(1864, 24, 'Tamuín', 40),
(1865, 24, 'Tanlajás', 41),
(1866, 24, '<NAME>', 42),
(1867, 24, '<NAME>', 43),
(1868, 24, 'Vanegas', 44),
(1869, 24, 'Venado', 45),
(1870, 24, '<NAME>', 46),
(1871, 24, '<NAME>', 47),
(1872, 24, '<NAME>', 48),
(1873, 24, '<NAME>', 49),
(1874, 24, '<NAME>', 50),
(1875, 24, '<NAME>', 51),
(1876, 24, '<NAME>', 52),
(1877, 24, '<NAME>', 53),
(1878, 24, 'Xilitla', 54),
(1879, 24, 'Zaragoza', 55),
(1880, 24, '<NAME>', 56),
(1881, 24, 'Matlapa', 57),
(1882, 24, '<NAME>', 58),
(1883, 25, 'Ahome', 1),
(1884, 25, 'Angostura', 2),
(1885, 25, 'Badiraguato', 3),
(1886, 25, 'Concordia', 4),
(1887, 25, 'Cosalá', 5),
(1888, 25, 'Culiacán', 6),
(1889, 25, 'Choix', 7),
(1890, 25, 'Elota', 8),
(1891, 25, 'Escuinapa', 9),
(1892, 25, '<NAME>', 10),
(1893, 25, 'Guasave', 11),
(1894, 25, 'Mazatlán', 12),
(1895, 25, 'Mocorito', 13),
(1896, 25, '<NAME>', 14),
(1897, 25, '<NAME>', 15),
(1898, 25, '<NAME>', 16),
(1899, 25, 'Sinaloa', 17),
(1900, 25, 'Navolato', 18),
(1901, 26, 'Aconchi', 1),
(1902, 26, '<NAME>', 2),
(1903, 26, 'Álamos', 3),
(1904, 26, 'Altar', 4),
(1905, 26, 'Arivechi', 5),
(1906, 26, 'Arizpe', 6),
(1907, 26, 'Átil', 7),
(1908, 26, 'Bacadéhuachi', 8),
(1909, 26, 'Bacanora', 9),
(1910, 26, 'Bacerac', 10),
(1911, 26, 'Bacoachi', 11),
(1912, 26, 'Bácum', 12),
(1913, 26, 'Banámichi', 13),
(1914, 26, 'Baviácora', 14),
(1915, 26, 'Bavispe', 15),
(1916, 26, '<NAME>', 16),
(1917, 26, 'Caborca', 17),
(1918, 26, 'Cajeme', 18),
(1919, 26, 'Cananea', 19),
(1920, 26, 'Carbó', 20),
(1921, 26, '<NAME>', 21),
(1922, 26, 'Cucurpe', 22),
(1923, 26, 'Cumpas', 23),
(1924, 26, 'Divisaderos', 24),
(1925, 26, 'Empalme', 25),
(1926, 26, 'Etchojoa', 26),
(1927, 26, 'Fronteras', 27),
(1928, 26, 'Granados', 28),
(1929, 26, 'Guaymas', 29),
(1930, 26, 'Hermosillo', 30),
(1931, 26, 'Huachinera', 31),
(1932, 26, 'Huásabas', 32),
(1933, 26, 'Huatabampo', 33),
(1934, 26, 'Huépac', 34),
(1935, 26, 'Ímuris', 35),
(1936, 26, 'Magdalena', 36),
(1937, 26, 'Mazatán', 37),
(1938, 26, 'Moctezuma', 38),
(1939, 26, 'Naco', 39),
(1940, 26, '<NAME>', 40),
(1941, 26, '<NAME>', 41),
(1942, 26, 'Navojoa', 42),
(1943, 26, 'Nogales', 43),
(1944, 26, 'Ónavas', 44),
(1945, 26, 'Opodepe', 45),
(1946, 26, 'Oquitoa', 46),
(1947, 26, 'Pitiquito', 47),
(1948, 26, '<NAME>', 48),
(1949, 26, 'Quiriego', 49),
(1950, 26, 'Rayón', 50),
(1951, 26, 'Rosario', 51),
(1952, 26, 'Sahuaripa', 52),
(1953, 26, '<NAME>', 53),
(1954, 26, '<NAME>', 54),
(1955, 26, '<NAME>', 55),
(1956, 26, '<NAME>', 56),
(1957, 26, '<NAME>', 57),
(1958, 26, '<NAME>', 58),
(1959, 26, '<NAME>', 59),
(1960, 26, 'Sáric', 60),
(1961, 26, 'Soyopa', 61),
(1962, 26, '<NAME>', 62),
(1963, 26, 'Tepache', 63),
(1964, 26, 'Trincheras', 64),
(1965, 26, 'Tubutama', 65),
(1966, 26, 'Ures', 66),
(1967, 26, '<NAME>', 67),
(1968, 26, '<NAME>', 68),
(1969, 26, 'Yécora', 69),
(1970, 26, '<NAME>', 70),
(1971, 26, '<NAME>', 71),
(1972, 26, '<NAME>', 72),
(1973, 27, 'Balancán', 1),
(1974, 27, 'Cárdenas', 2),
(1975, 27, 'Centla', 3),
(1976, 27, 'Centro', 4),
(1977, 27, 'Comalcalco', 5),
(1978, 27, 'Cunduacán', 6),
(1979, 27, '<NAME>', 7),
(1980, 27, 'Huimanguillo', 8),
(1981, 27, 'Jalapa', 9),
(1982, 27, '<NAME>', 10),
(1983, 27, 'Jonuta', 11),
(1984, 27, 'Macuspana', 12),
(1985, 27, 'Nacajuca', 13),
(1986, 27, 'Paraíso', 14),
(1987, 27, 'Tacotalpa', 15),
(1988, 27, 'Teapa', 16),
(1989, 27, 'Tenosique', 17),
(1990, 28, 'Abasolo', 1),
(1991, 28, 'Aldama', 2),
(1992, 28, 'Altamira', 3),
(1993, 28, '<NAME>', 4),
(1994, 28, 'Burgos', 5),
(1995, 28, 'Bustamante', 6),
(1996, 28, 'Camargo', 7),
(1997, 28, 'Casas', 8),
(1998, 28, 'Ciudad Madero', 9),
(1999, 28, 'Cruillas', 10),
(2000, 28, '<NAME>', 11),
(2001, 28, 'González', 12),
(2002, 28, 'Güémez', 13),
(2003, 28, 'Guerrero', 14),
(2004, 28, '<NAME>', 15),
(2005, 28, 'Hidalgo', 16),
(2006, 28, 'Jaumave', 17),
(2007, 28, 'Jiménez', 18),
(2008, 28, 'Llera', 19),
(2009, 28, 'Mainero', 20),
(2010, 28, '<NAME>', 21),
(2011, 28, 'Matamoros', 22),
(2012, 28, 'Méndez', 23),
(2013, 28, 'Mier', 24),
(2014, 28, '<NAME>', 25),
(2015, 28, 'Miquihuana', 26),
(2016, 28, '<NAME>', 27),
(2017, 28, '<NAME>', 28),
(2018, 28, 'Ocampo', 29),
(2019, 28, 'Padilla', 30),
(2020, 28, 'Palmillas', 31),
(2021, 28, 'Reynosa', 32),
(2022, 28, '<NAME>', 33),
(2023, 28, '<NAME>', 34),
(2024, 28, '<NAME>', 35),
(2025, 28, '<NAME>', 36),
(2026, 28, '<NAME>', 37),
(2027, 28, 'Tampico', 38),
(2028, 28, 'Tula', 39),
(2029, 28, '<NAME>', 40),
(2030, 28, 'Victoria', 41),
(2031, 28, 'Villagrán', 42),
(2032, 28, 'Xicoténcatl', 43),
(2033, 29, '<NAME>', 1),
(2034, 29, '<NAME>', 2),
(2035, 29, 'Atlangatepec', 3),
(2036, 29, 'Altzayanca', 4),
(2037, 29, 'Apizaco', 5),
(2038, 29, 'Calpulalpan', 6),
(2039, 29, '<NAME>', 7),
(2040, 29, 'Cuapiaxtla', 8),
(2041, 29, 'Cuaxomulco', 9),
(2042, 29, 'Chiautempan', 10),
(2043, 29, '<NAME>', 11),
(2044, 29, 'Españita', 12),
(2045, 29, 'Huamantla', 13),
(2046, 29, 'Hueyotlipan', 14),
(2047, 29, '<NAME> <NAME>', 15),
(2048, 29, 'Ixtenco', 16),
(2049, 29, '<NAME> <NAME>', 17),
(2050, 29, '<NAME>', 18),
(2051, 29, '<NAME>', 19),
(2052, 29, '<NAME>', 20),
(2053, 29, '<NAME>', 21),
(2054, 29, '<NAME>', 22),
(2055, 29, 'Natívitas', 23),
(2056, 29, 'Panotla', 24),
(2057, 29, '<NAME>', 25),
(2058, 29, '<NAME>', 26),
(2059, 29, 'Tenancingo', 27),
(2060, 29, 'Teolocholco', 28),
(2061, 29, 'Tepeyanco', 29),
(2062, 29, 'Terrenate', 30),
(2063, 29, '<NAME>', 31),
(2064, 29, 'Tetlatlahuca', 32),
(2065, 29, 'Tlaxcala', 33),
(2066, 29, 'Tlaxco', 34),
(2067, 29, 'Tocatlán', 35),
(2068, 29, 'Totolac', 36),
(2069, 29, '<NAME>', 37),
(2070, 29, 'Tzompantepec', 38),
(2071, 29, 'Xaloztoc', 39),
(2072, 29, 'Xaltocan', 40),
(2073, 29, '<NAME>', 41),
(2074, 29, 'Xicohtzinco', 42),
(2075, 29, 'Yauhquemecan', 43),
(2076, 29, 'Zacatelco', 44),
(2077, 29, '<NAME>', 45),
(2078, 29, '<NAME>', 46),
(2079, 29, '<NAME>', 47),
(2080, 29, '<NAME>', 48),
(2081, 29, '<NAME>', 49),
(2082, 29, '<NAME>', 50),
(2083, 29, '<NAME>', 51),
(2084, 29, '<NAME>', 52),
(2085, 29, '<NAME>', 53),
(2086, 29, '<NAME>', 54),
(2087, 29, '<NAME>', 55),
(2088, 29, '<NAME>', 56),
(2089, 29, '<NAME>', 57),
(2090, 29, '<NAME>', 58),
(2091, 29, '<NAME>', 59),
(2092, 29, '<NAME>', 60),
(2093, 30, 'Acajete', 1),
(2094, 30, 'Acatlán', 2),
(2095, 30, 'Acayucan', 3),
(2096, 30, 'Actopan', 4),
(2097, 30, 'Acula', 5),
(2098, 30, 'Acultzingo', 6),
(2099, 30, '<NAME>', 7),
(2100, 30, 'Alpatláhuac', 8),
(2101, 30, '<NAME>', 9),
(2102, 30, 'Altotonga', 10),
(2103, 30, 'Alvarado', 11),
(2104, 30, 'Amatitlán', 12),
(2105, 30, '<NAME>', 13),
(2106, 30, '<NAME>', 14),
(2107, 30, '<NAME>', 15),
(2108, 30, '<NAME>', 16),
(2109, 30, 'Apazapan', 17),
(2110, 30, 'Aquila', 18),
(2111, 30, 'Astacinga', 19),
(2112, 30, 'Atlahuilco', 20),
(2113, 30, 'Atoyac', 21),
(2114, 30, 'Atzacan', 22),
(2115, 30, 'Atzalan', 23),
(2116, 30, 'Tlaltetela', 24),
(2117, 30, 'Ayahualulco', 25),
(2118, 30, 'Banderilla', 26),
(2119, 30, '<NAME>', 27),
(2120, 30, '<NAME>', 28),
(2121, 30, 'Calcahualco', 29),
(2122, 30, '<NAME>', 30),
(2123, 30, '<NAME>', 31),
(2124, 30, 'Catemaco', 32),
(2125, 30, '<NAME>', 33),
(2126, 30, '<NAME>', 34),
(2127, 30, 'Citlaltépetl', 35),
(2128, 30, 'Coacoatzintla', 36),
(2129, 30, 'Coahuitlán', 37),
(2130, 30, 'Coatepec', 38),
(2131, 30, 'Coatzacoalcos', 39),
(2132, 30, 'Coatzintla', 40),
(2133, 30, 'Coetzala', 41),
(2134, 30, 'Colipa', 42),
(2135, 30, 'Comapa', 43),
(2136, 30, 'Córdoba', 44),
(2137, 30, '<NAME>', 45),
(2138, 30, '<NAME>', 46),
(2139, 30, 'Coscomatepec', 47),
(2140, 30, 'Cosoleacaque', 48),
(2141, 30, 'Cotaxtla', 49),
(2142, 30, 'Coxquihui', 50),
(2143, 30, 'Coyutla', 51),
(2144, 30, 'Cuichapa', 52),
(2145, 30, 'Cuitláhuac', 53),
(2146, 30, 'Chacaltianguis', 54),
(2147, 30, 'Chalma', 55),
(2148, 30, 'Chiconamel', 56),
(2149, 30, 'Chiconquiaco', 57),
(2150, 30, 'Chicontepec', 58),
(2151, 30, 'Chinameca', 59),
(2152, 30, '<NAME>', 60),
(2153, 30, '<NAME>', 61),
(2154, 30, 'Chocamán', 62),
(2155, 30, 'Chontla', 63),
(2156, 30, 'Chumatlán', 64),
(2157, 30, '<NAME>', 65),
(2158, 30, 'Espinal', 66),
(2159, 30, '<NAME>', 67),
(2160, 30, 'Fortín', 68),
(2161, 30, '<NAME>', 69),
(2162, 30, 'Hidalgotitlán', 70),
(2163, 30, 'Huatusco', 71),
(2164, 30, 'Huayacocotla', 72),
(2165, 30, '<NAME>', 73),
(2166, 30, '<NAME>', 74),
(2167, 30, '<NAME>', 75),
(2168, 30, 'Ilamatlán', 76),
(2169, 30, 'Isla', 77),
(2170, 30, 'Ixcatepec', 78),
(2171, 30, '<NAME>', 79),
(2172, 30, '<NAME>', 80),
(2173, 30, 'Ixhuatlancillo', 81),
(2174, 30, '<NAME>', 82),
(2175, 30, '<NAME>', 83),
(2176, 30, 'Ixmatlahuacan', 84),
(2177, 30, 'Ixtaczoquitlán', 85),
(2178, 30, 'Jalacingo', 86),
(2179, 30, 'Xalapa', 87),
(2180, 30, 'Jalcomulco', 88),
(2181, 30, 'Jáltipan', 89),
(2182, 30, 'Jamapa', 90),
(2183, 30, '<NAME>', 91),
(2184, 30, 'Xico', 92),
(2185, 30, 'Jilotepec', 93),
(2186, 30, '<NAME>', 94),
(2187, 30, '<NAME>', 95),
(2188, 30, '<NAME>', 96),
(2189, 30, '<NAME>', 97),
(2190, 30, 'Magdalena', 98),
(2191, 30, 'Maltrata', 99),
(2192, 30, '<NAME>', 100),
(2193, 30, '<NAME>', 101),
(2194, 30, '<NAME>', 102),
(2195, 30, 'Mecatlán', 103),
(2196, 30, 'Mecayapan', 104),
(2197, 30, 'Medellín', 105),
(2198, 30, 'Miahuatlán', 106),
(2199, 30, '<NAME>', 107),
(2200, 30, 'Minatitlán', 108),
(2201, 30, 'Misantla', 109),
(2202, 30, '<NAME>', 110),
(2203, 30, 'Moloacán', 111),
(2204, 30, 'Naolinco', 112),
(2205, 30, 'Naranjal', 113),
(2206, 30, 'Nautla', 114),
(2207, 30, 'Nogales', 115),
(2208, 30, 'Oluta', 116),
(2209, 30, 'Omealca', 117),
(2210, 30, 'Orizaba', 118),
(2211, 30, 'Otatitlán', 119),
(2212, 30, 'Oteapan', 120),
(2213, 30, '<NAME>', 121),
(2214, 30, 'Pajapan', 122),
(2215, 30, 'Pánuco', 123),
(2216, 30, 'Papantla', 124),
(2217, 30, '<NAME>', 125),
(2218, 30, '<NAME>', 126),
(2219, 30, '<NAME>', 127),
(2220, 30, 'Perote', 128),
(2221, 30, '<NAME>', 129),
(2222, 30, '<NAME>', 130),
(2223, 30, '<NAME>', 131),
(2224, 30, '<NAME>', 132),
(2225, 30, '<NAME>', 133),
(2226, 30, '<NAME>', 134),
(2227, 30, '<NAME>', 135),
(2228, 30, '<NAME>', 136),
(2229, 30, '<NAME>', 137),
(2230, 30, '<NAME>', 138),
(2231, 30, 'Saltabarranca', 139),
(2232, 30, '<NAME>', 140),
(2233, 30, '<NAME>', 141),
(2234, 30, '<NAME>', 142),
(2235, 30, '<NAME>', 143),
(2236, 30, '<NAME>', 144),
(2237, 30, 'Soconusco', 145),
(2238, 30, 'Sochiapa', 146),
(2239, 30, '<NAME>', 147),
(2240, 30, '<NAME>', 148),
(2241, 30, 'Soteapan', 149),
(2242, 30, 'Tamalín', 150),
(2243, 30, 'Tamiahua', 151),
(2244, 30, '<NAME>', 152),
(2245, 30, 'Tancoco', 153),
(2246, 30, 'Tantima', 154),
(2247, 30, 'Tantoyuca', 155),
(2248, 30, 'Tatatila', 156),
(2249, 30, '<NAME>', 157),
(2250, 30, 'Tecolutla', 158),
(2251, 30, 'Tehuipango', 159),
(2252, 30, '<NAME>', 160),
(2253, 30, 'Tempoal', 161),
(2254, 30, 'Tenampa', 162),
(2255, 30, 'Tenochtitlán', 163),
(2256, 30, 'Teocelo', 164),
(2257, 30, 'Tepatlaxco', 165),
(2258, 30, 'Tepetlán', 166),
(2259, 30, 'Tepetzintla', 167),
(2260, 30, 'Tequila', 168),
(2261, 30, '<NAME>', 169),
(2262, 30, 'Texcatepec', 170),
(2263, 30, 'Texhuacán', 171),
(2264, 30, 'Texistepec', 172),
(2265, 30, 'Tezonapa', 173),
(2266, 30, '<NAME>', 174),
(2267, 30, 'Tihuatlán', 175),
(2268, 30, 'Tlacojalpan', 176),
(2269, 30, 'Tlacolulan', 177),
(2270, 30, 'Tlacotalpan', 178),
(2271, 30, '<NAME>', 179),
(2272, 30, 'Tlachichilco', 180),
(2273, 30, 'Tlalixcoyan', 181),
(2274, 30, 'Tlalnelhuayocan', 182),
(2275, 30, 'Tlapacoyan', 183),
(2276, 30, 'Tlaquilpa', 184),
(2277, 30, 'Tlilapan', 185),
(2278, 30, 'Tomatlán', 186),
(2279, 30, 'Tonayán', 187),
(2280, 30, 'Totutla', 188),
(2281, 30, 'Tuxpan', 189),
(2282, 30, 'Tuxtilla', 190),
(2283, 30, '<NAME>', 191),
(2284, 30, '<NAME>', 192),
(2285, 30, 'Veracruz', 193),
(2286, 30, '<NAME>', 194),
(2287, 30, 'Xoxocotla', 195),
(2288, 30, 'Yanga', 196),
(2289, 30, 'Yecuatla', 197),
(2290, 30, 'Zacualpan', 198),
(2291, 30, 'Zaragoza', 199),
(2292, 30, 'Zentla', 200),
(2293, 30, 'Zongolica', 201),
(2294, 30, '<NAME>', 202),
(2295, 30, '<NAME>', 203),
(2296, 30, '<NAME>', 204),
(2297, 30, '<NAME>', 205),
(2298, 30, '<NAME>', 206),
(2299, 30, '<NAME>', 207),
(2300, 30, '<NAME>', 208),
(2301, 30, '<NAME>', 209),
(2302, 30, 'Uxpanapa', 210),
(2303, 30, '<NAME>', 211),
(2304, 30, '<NAME>', 212),
(2305, 31, 'Abalá', 1),
(2306, 31, 'Acanceh', 2),
(2307, 31, 'Akil', 3),
(2308, 31, 'Baca', 4),
(2309, 31, 'Bokobá', 5),
(2310, 31, 'Buctzotz', 6),
(2311, 31, 'Cacalchén', 7),
(2312, 31, 'Calotmul', 8),
(2313, 31, 'Cansahcab', 9),
(2314, 31, 'Cantamayec', 10),
(2315, 31, 'Celestún', 11),
(2316, 31, 'Cenotillo', 12),
(2317, 31, 'Conkal', 13),
(2318, 31, 'Cuncunul', 14),
(2319, 31, 'Cuzamá', 15),
(2320, 31, 'Chacsinkín', 16),
(2321, 31, 'Chankom', 17),
(2322, 31, 'Chapab', 18),
(2323, 31, 'Chemax', 19),
(2324, 31, '<NAME>', 20),
(2325, 31, 'Chichimilá', 21),
(2326, 31, 'Chikindzonot', 22),
(2327, 31, 'Chocholá', 23),
(2328, 31, 'Chumayel', 24),
(2329, 31, 'Dzan', 25),
(2330, 31, 'Dzemul', 26),
(2331, 31, 'Dzidzantún', 27),
(2332, 31, '<NAME>', 28),
(2333, 31, '<NAME>', 29),
(2334, 31, 'Dzitás', 30),
(2335, 31, 'Dzoncauich', 31),
(2336, 31, 'Espita', 32),
(2337, 31, 'Halachó', 33),
(2338, 31, 'Hocabá', 34),
(2339, 31, 'Hoctún', 35),
(2340, 31, 'Homún', 36),
(2341, 31, 'Huhí', 37),
(2342, 31, 'Hunucmá', 38),
(2343, 31, 'Ixil', 39),
(2344, 31, 'Izamal', 40),
(2345, 31, 'Kanasín', 41),
(2346, 31, 'Kantunil', 42),
(2347, 31, 'Kaua', 43),
(2348, 31, 'Kinchil', 44),
(2349, 31, 'Kopomá', 45),
(2350, 31, 'Mama', 46),
(2351, 31, 'Maní', 47),
(2352, 31, 'Maxcanú', 48),
(2353, 31, 'Mayapán', 49),
(2354, 31, 'Mérida', 50),
(2355, 31, 'Mocochá', 51),
(2356, 31, 'Motul', 52),
(2357, 31, 'Muna', 53),
(2358, 31, 'Muxupip', 54),
(2359, 31, 'Opichén', 55),
(2360, 31, 'Oxkutzcab', 56),
(2361, 31, 'Panabá', 57),
(2362, 31, 'Peto', 58),
(2363, 31, 'Progreso', 59),
(2364, 31, '<NAME>', 60),
(2365, 31, '<NAME>', 61),
(2366, 31, 'Sacalum', 62),
(2367, 31, 'Samahil', 63),
(2368, 31, 'Sanahcat', 64),
(2369, 31, '<NAME>', 65),
(2370, 31, '<NAME>', 66),
(2371, 31, 'Seyé', 67),
(2372, 31, 'Sinanché', 68),
(2373, 31, 'Sotuta', 69),
(2374, 31, 'Sucilá', 70),
(2375, 31, 'Sudzal', 71),
(2376, 31, 'Suma', 72),
(2377, 31, 'Tahdziú', 73),
(2378, 31, 'Tahmek', 74),
(2379, 31, 'Teabo', 75),
(2380, 31, 'Tecoh', 76),
(2381, 31, '<NAME>', 77),
(2382, 31, 'Tekantó', 78),
(2383, 31, 'Tekax', 79),
(2384, 31, 'Tekit', 80),
(2385, 31, 'Tekom', 81),
(2386, 31, '<NAME>', 82),
(2387, 31, '<NAME>', 83),
(2388, 31, 'Temax', 84),
(2389, 31, 'Temozón', 85),
(2390, 31, 'Tepakán', 86),
(2391, 31, 'Tetiz', 87),
(2392, 31, 'Teya', 88),
(2393, 31, 'Ticul', 89),
(2394, 31, 'Timucuy', 90),
(2395, 31, 'Tinum', 91),
(2396, 31, 'Tixcacalcupul', 92),
(2397, 31, 'Tixkokob', 93),
(2398, 31, 'Tixméhuac', 94),
(2399, 31, 'Tixpéhual', 95),
(2400, 31, 'Tizimín', 96),
(2401, 31, 'Tunkás', 97),
(2402, 31, 'Tzucacab', 98),
(2403, 31, 'Uayma', 99),
(2404, 31, 'Ucú', 100),
(2405, 31, 'Umán', 101),
(2406, 31, 'Valladolid', 102),
(2407, 31, 'Xocchel', 103),
(2408, 31, 'Yaxcabá', 104),
(2409, 31, 'Yaxkukul', 105),
(2410, 31, 'Yobaín', 106),
(2411, 32, 'Apozol', 1),
(2412, 32, 'Apulco', 2),
(2413, 32, 'Atolinga', 3),
(2414, 32, '<NAME>', 4),
(2415, 32, 'Calera', 5),
(2416, 32, '<NAME>', 6),
(2417, 32, '<NAME>', 7),
(2418, 32, 'Cuauhtémoc', 8),
(2419, 32, 'Chalchihuites', 9),
(2420, 32, 'Fresnillo', 10),
(2421, 32, '<NAME>', 11),
(2422, 32, '<NAME>', 12),
(2423, 32, '<NAME>', 13),
(2424, 32, '<NAME>', 14),
(2425, 32, 'El Plateado de <NAME>', 15),
(2426, 32, '<NAME>', 16),
(2427, 32, 'Guadalupe', 17),
(2428, 32, 'Huanusco', 18),
(2429, 32, 'Jalpa', 19),
(2430, 32, 'Jerez', 20),
(2431, 32, '<NAME>', 21),
(2432, 32, '<NAME>', 22),
(2433, 32, 'Juchipila', 23),
(2434, 32, 'Loreto', 24),
(2435, 32, '<NAME>', 25),
(2436, 32, 'Mazapil', 26),
(2437, 32, '<NAME>', 27),
(2438, 32, '<NAME>', 28),
(2439, 32, '<NAME>', 29),
(2440, 32, 'Momax', 30),
(2441, 32, '<NAME>', 31),
(2442, 32, 'Morelos', 32),
(2443, 32, '<NAME>', 33),
(2444, 32, '<NAME>', 34),
(2445, 32, '<NAME>', 35),
(2446, 32, 'Ojocaliente', 36),
(2447, 32, 'Pánuco', 37),
(2448, 32, 'Pinos', 38),
(2449, 32, '<NAME>', 39),
(2450, 32, '<NAME>', 40),
(2451, 32, '<NAME>', 41),
(2452, 32, 'Sombrerete', 42),
(2453, 32, 'Susticacán', 43),
(2454, 32, 'Tabasco', 44),
(2455, 32, 'Tepechitlán', 45),
(2456, 32, 'Tepetongo', 46),
(2457, 32, '<NAME>', 47),
(2458, 32, '<NAME>', 48),
(2459, 32, 'Valparaíso', 49),
(2460, 32, 'Vetagrande', 50),
(2461, 32, '<NAME>', 51),
(2462, 32, '<NAME>', 52),
(2463, 32, '<NAME>', 53),
(2464, 32, '<NAME>', 54),
(2465, 32, 'Villanueva', 55),
(2466, 32, 'Zacatecas', 56),
(2467, 32, 'Trancoso', 57),
(2468, 32, 'Santa María de la Paz', 58);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `notificaciones`
--
CREATE TABLE `notificaciones` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Receptor` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Emisor` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Notificacion` text COLLATE utf8_spanish_ci NOT NULL,
`Hora` datetime NOT NULL,
`Visto` tinyint(1) NOT NULL,
`UsuarioEmisor` varchar(20) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`token` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `precios`
--
CREATE TABLE `precios` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Descripcion` varchar(200) COLLATE utf8_spanish_ci NOT NULL,
`Precio` float NOT NULL,
`DoctorConsultorio` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `precios`
--
INSERT INTO `precios` (`Registro`, `Descripcion`, `Precio`, `DoctorConsultorio`) VALUES
(1, 'Consulta general', 123, 25);
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `relacioncitaconsultorio`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `relacioncitaconsultorio` (
`Registro` int(10) unsigned
,`Consultorio` varchar(30)
,`Correo` varchar(50)
,`IdRegistro` int(10) unsigned
,`DoctorNombre` varchar(50)
,`Apellidos` varchar(60)
,`Hora_inicio` time
,`Hora_termino` time
,`Dia` char(1)
,`Fecha` date
,`NombreUsuario` varchar(255)
,`Telefono` bigint(20)
,`Concepto` varchar(255)
);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `slide`
--
CREATE TABLE `slide` (
`Registro` int(10) UNSIGNED NOT NULL,
`Consultorio` int(10) UNSIGNED NOT NULL,
`Imagen` varchar(256) COLLATE utf8_spanish_ci NOT NULL,
`FechaFinal` date DEFAULT NULL,
`Aceptado` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `sugerencias`
--
CREATE TABLE `sugerencias` (
`Registro` bigint(20) UNSIGNED NOT NULL,
`Usuario` int(10) UNSIGNED NOT NULL,
`Sugerencia` varchar(100) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`email` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8_spanish_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios`
--
CREATE TABLE `usuarios` (
`Registro` int(10) UNSIGNED NOT NULL,
`Correo` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`Apellidos` varchar(60) COLLATE utf8_spanish_ci NOT NULL,
`Telefono` bigint(20) NOT NULL,
`Sexo` char(1) COLLATE utf8_spanish_ci DEFAULT NULL,
`Password` varchar(256) COLLATE utf8_spanish_ci NOT NULL,
`CorreoRecuperacion` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`FechaNacimiento` date NOT NULL,
`Imagen` varchar(256) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `usuarios`
--
INSERT INTO `usuarios` (`Registro`, `Correo`, `Nombre`, `Apellidos`, `Telefono`, `Sexo`, `Password`, `CorreoRecuperacion`, `FechaNacimiento`, `Imagen`) VALUES
(19, '<EMAIL>', 'Mariana', 'Ramírez', 1234567890, 'f', '$2y$10$Z6cw2WA/J7ECGiM1ClS4cOz/xVLhYqpE9C2XcPo8c3VS6C7sOInNG', '<EMAIL>', '1999-12-02', 'mujer.png'),
(20, '<EMAIL>', 'Lola', 'Ramírez', 1234567890, 'f', '$2y$10$ZOXO.oDf7osjiaow.8RYyeBHoCbeUjHP6HccWaabIj3G/TJYytrUC', '<EMAIL>', '2006-09-10', 'mujer.png'),
(21, '<EMAIL>', 'Jorge', 'Ramírez', 1234567890, 'm', '$2y$10$j5BjFASQtXVt6KrSkBgEB.QzyZBvsV8P9CbZSQS.2Kvra4NKDX7H6', '<EMAIL>', '2004-01-09', 'hombre.jpg'),
(22, '<EMAIL>', 'Jona', 'Vázquez', 1234567890, 'm', '$2y$10$IUg5uq2vyB2xXzDN/mUgrurY09CiMxpuyuGIdvTekN3iM6wZMA.tO', '<EMAIL>', '1999-02-10', 'hombre.jpg'),
(23, '<EMAIL>', 'Néstor', 'Martínez', 1234567890, 'm', '$2y$10$ELdY3nRMj2ts9B5DwhS.9OTwZHN9oqaLM.cZvSybLeyufsCxjCWWS', '<EMAIL>', '2000-02-18', 'hombre.jpg'),
(24, '<EMAIL>', 'Paciente', 'Holitas', 1234567890, 'm', '$2y$10$kaaKZFzpHrZDpAj4QAr5pOVQUXLklV9Z4VZMQzuh/Ok9xDgQHxghu', '<EMAIL>', '2019-07-01', 'hombre.jpg'),
(25, '<EMAIL>', 'Doctor', 'Holitas', 1234567890, 'm', '$2y$10$u3VKsDn05w3kPqt/DhF72.glb75Q3u/2eyCpxCw.RlYNWuXv.97ii', '<EMAIL>', '2019-07-02', 'hombre.jpg'),
(26, '<EMAIL>', 'Asistente', 'Holitas', 1234567890, 'f', '$2y$10$fTvpLCwqDkgJpIC/lkXseOiCUQZjmCwXRYwcocaXrHZH/x7K/r8Xm', '<EMAIL>', '2019-07-03', 'mujer.png');
-- --------------------------------------------------------
--
-- Estructura para la vista `comentariosprincipales`
--
DROP TABLE IF EXISTS `comentariosprincipales`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `comentariosprincipales` AS select `comentariosprincipal`.`Registro` AS `Registro`,`comentariosprincipal`.`Comentario` AS `Comentario`,`comentariosprincipal`.`Hora` AS `Hora`,`usuarios`.`Correo` AS `Correo`,`usuarios`.`Nombre` AS `Nombre`,`usuarios`.`Apellidos` AS `Apellidos`,`usuarios`.`Imagen` AS `Imagen` from (`comentariosprincipal` join `usuarios`) where (`comentariosprincipal`.`Usuario` = `usuarios`.`Registro`) ;
-- --------------------------------------------------------
--
-- Estructura para la vista `consultorios_especialidades`
--
DROP TABLE IF EXISTS `consultorios_especialidades`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `consultorios_especialidades` AS select `especialidad`.`Nombre` AS `Especialidad_Nom`,`estudios`.`Especialidad` AS `Especialidad`,`doctores`.`Registro` AS `Doctor`,`doctor_consultorio`.`Consultorio` AS `Consultorio`,`consultorios`.`Nombre` AS `Nombre`,`consultorios`.`Correo` AS `Correo`,`consultorios`.`Telefono` AS `Telefono`,`consultorios`.`Ubicacion` AS `Ubicacion`,`consultorios`.`Imagen` AS `Imagen`,`consultorios`.`C_precio` AS `C_precio`,`consultorios`.`C_limpieza` AS `C_limpieza`,`consultorios`.`C_puntualidad` AS `C_puntualidad`,`consultorios`.`C_trato` AS `C_trato`,`consultorios`.`Puntos` AS `Puntos` from ((((`estudios` join `doctores`) join `doctor_consultorio`) join `consultorios`) join `especialidad`) where ((`estudios`.`Doctor` = `doctores`.`Registro`) and (`doctores`.`Registro` = `doctor_consultorio`.`Doctor`) and (`doctor_consultorio`.`Consultorio` = `consultorios`.`Registro`) and (`especialidad`.`Registro` = `estudios`.`Especialidad`)) ;
-- --------------------------------------------------------
--
-- Estructura para la vista `doctor_especialidad`
--
DROP TABLE IF EXISTS `doctor_especialidad`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `doctor_especialidad` AS select `especialidad`.`Nombre` AS `Nombre`,`especialidad`.`Registro` AS `Registro`,`doctores`.`Correo` AS `Correo`,`doctores`.`Registro` AS `Doctor` from ((`estudios` join `especialidad`) join `doctores`) where ((`estudios`.`Especialidad` = `especialidad`.`Registro`) and (`estudios`.`Doctor` = `doctores`.`Registro`)) ;
-- --------------------------------------------------------
--
-- Estructura para la vista `elegirconsultorio`
--
DROP TABLE IF EXISTS `elegirconsultorio`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `elegirconsultorio` AS select `doctores`.`Registro` AS `id_doctor`,`doctores`.`Correo` AS `Correo`,`consultorios`.`Registro` AS `id_consultorio`,`consultorios`.`Telefono` AS `Telefono`,`consultorios`.`Imagen` AS `Imagen`,`consultorios`.`Ubicacion` AS `Ubicacion`,`consultorios`.`Nombre` AS `Nombre` from ((`consultorios` join `doctores`) join `doctor_consultorio`) where ((`doctor_consultorio`.`Doctor` = `doctores`.`Registro`) and (`doctor_consultorio`.`Consultorio` = `consultorios`.`Registro`)) ;
-- --------------------------------------------------------
--
-- Estructura para la vista `relacioncitaconsultorio`
--
DROP TABLE IF EXISTS `relacioncitaconsultorio`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `relacioncitaconsultorio` AS select `consultorios`.`Registro` AS `Registro`,`consultorios`.`Nombre` AS `Consultorio`,`consultorios`.`Correo` AS `Correo`,`doctores`.`Registro` AS `IdRegistro`,`doctores`.`Nombre` AS `DoctorNombre`,`doctores`.`Apellidos` AS `Apellidos`,`horario`.`Hora_inicio` AS `Hora_inicio`,`horario`.`Hora_termino` AS `Hora_termino`,`horario`.`Dia` AS `Dia`,`citas`.`Fecha` AS `Fecha`,`citas`.`Nombre` AS `NombreUsuario`,`citas`.`Telefono` AS `Telefono`,`citas`.`Concepto` AS `Concepto` from ((((`consultorios` join `doctores`) join `horario`) join `citas`) join `doctor_consultorio`) where ((`consultorios`.`Registro` = `doctor_consultorio`.`Consultorio`) and (`doctores`.`Registro` = `doctor_consultorio`.`Doctor`) and (`horario`.`DoctorConsultorio` = `doctor_consultorio`.`Registro`) and (`citas`.`DoctorConsultorio` = `doctor_consultorio`.`Registro`) and (`horario`.`Registro` = `citas`.`Horarios`)) ;
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `administrador`
--
ALTER TABLE `administrador`
ADD PRIMARY KEY (`Registro`);
--
-- Indices de la tabla `calificaciones`
--
ALTER TABLE `calificaciones`
ADD PRIMARY KEY (`Registro`),
ADD KEY `Consultorio` (`Consultorio`);
--
-- Indices de la tabla `citas`
--
ALTER TABLE `citas`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Citas_Usuario_idx` (`Usuario`),
ADD KEY `fk_Citas_Horario_idx` (`Horarios`),
ADD KEY `fk_Citas_Doctor_Consultorio_idx` (`DoctorConsultorio`);
--
-- Indices de la tabla `comentariosconsultorios`
--
ALTER TABLE `comentariosconsultorios`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_ComentariosCon_Consultorio_idx` (`Consultorio`),
ADD KEY `fk_ComentariosCon_Usuario_idx` (`Usuario`);
--
-- Indices de la tabla `comentariosprincipal`
--
ALTER TABLE `comentariosprincipal`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_ComentariosPrin_Usuario_idx` (`Usuario`);
--
-- Indices de la tabla `consultorios`
--
ALTER TABLE `consultorios`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Consultorios_Municipios_idx` (`Municipio`),
ADD KEY `fk_Consultorios_Estados_idx` (`Estado`);
--
-- Indices de la tabla `doctores`
--
ALTER TABLE `doctores`
ADD PRIMARY KEY (`Registro`);
--
-- Indices de la tabla `doctor_consultorio`
--
ALTER TABLE `doctor_consultorio`
ADD PRIMARY KEY (`Registro`),
ADD KEY `DoctorConsultorio_idx` (`Consultorio`),
ADD KEY `DoctorConsultorio_Doctor_idx` (`Doctor`);
--
-- Indices de la tabla `especialidad`
--
ALTER TABLE `especialidad`
ADD PRIMARY KEY (`Registro`);
--
-- Indices de la tabla `estado`
--
ALTER TABLE `estado`
ADD PRIMARY KEY (`Registro`);
--
-- Indices de la tabla `estudios`
--
ALTER TABLE `estudios`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Estudios_Especialidad_idx` (`Especialidad`),
ADD KEY `fk_Estudios_Doctores_idx` (`Doctor`);
--
-- Indices de la tabla `horario`
--
ALTER TABLE `horario`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Horario_DoctorConsultorio_idx` (`DoctorConsultorio`);
--
-- Indices de la tabla `imagen`
--
ALTER TABLE `imagen`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Imagen_Consultorio_idx` (`Consultorio`);
--
-- Indices de la tabla `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `municipio`
--
ALTER TABLE `municipio`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Municipio_Estado_idx` (`Estado`);
--
-- Indices de la tabla `notificaciones`
--
ALTER TABLE `notificaciones`
ADD PRIMARY KEY (`Registro`);
--
-- Indices de la tabla `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indices de la tabla `precios`
--
ALTER TABLE `precios`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Precios_Doctor_Consultorio_idx` (`DoctorConsultorio`);
--
-- Indices de la tabla `slide`
--
ALTER TABLE `slide`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Slide_Consultorios_idx` (`Consultorio`);
--
-- Indices de la tabla `sugerencias`
--
ALTER TABLE `sugerencias`
ADD PRIMARY KEY (`Registro`),
ADD KEY `fk_Sugerencias_Usuario_idx` (`Usuario`);
--
-- Indices de la tabla `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indices de la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`Registro`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `administrador`
--
ALTER TABLE `administrador`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `calificaciones`
--
ALTER TABLE `calificaciones`
MODIFY `Registro` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `citas`
--
ALTER TABLE `citas`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `comentariosconsultorios`
--
ALTER TABLE `comentariosconsultorios`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `comentariosprincipal`
--
ALTER TABLE `comentariosprincipal`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `consultorios`
--
ALTER TABLE `consultorios`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;
--
-- AUTO_INCREMENT de la tabla `doctores`
--
ALTER TABLE `doctores`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT de la tabla `doctor_consultorio`
--
ALTER TABLE `doctor_consultorio`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT de la tabla `especialidad`
--
ALTER TABLE `especialidad`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;
--
-- AUTO_INCREMENT de la tabla `estado`
--
ALTER TABLE `estado`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT de la tabla `estudios`
--
ALTER TABLE `estudios`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `horario`
--
ALTER TABLE `horario`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=59;
--
-- AUTO_INCREMENT de la tabla `imagen`
--
ALTER TABLE `imagen`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
--
-- AUTO_INCREMENT de la tabla `municipio`
--
ALTER TABLE `municipio`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2469;
--
-- AUTO_INCREMENT de la tabla `notificaciones`
--
ALTER TABLE `notificaciones`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `precios`
--
ALTER TABLE `precios`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `slide`
--
ALTER TABLE `slide`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `sugerencias`
--
ALTER TABLE `sugerencias`
MODIFY `Registro` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `usuarios`
--
ALTER TABLE `usuarios`
MODIFY `Registro` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `calificaciones`
--
ALTER TABLE `calificaciones`
ADD CONSTRAINT `calificaciones_ibfk_1` FOREIGN KEY (`Consultorio`) REFERENCES `consultorios` (`Registro`);
--
-- Filtros para la tabla `citas`
--
ALTER TABLE `citas`
ADD CONSTRAINT `fk_Citas_Doctor_Consultorio_idx` FOREIGN KEY (`DoctorConsultorio`) REFERENCES `doctor_consultorio` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_Citas_Horario_idx` FOREIGN KEY (`Horarios`) REFERENCES `horario` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_Citas_Usuario_idx` FOREIGN KEY (`Usuario`) REFERENCES `usuarios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `comentariosconsultorios`
--
ALTER TABLE `comentariosconsultorios`
ADD CONSTRAINT `fk_ComentariosCon_Consultorio_idx` FOREIGN KEY (`Consultorio`) REFERENCES `consultorios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_ComentariosCon_Usuario_idx` FOREIGN KEY (`Usuario`) REFERENCES `usuarios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `comentariosprincipal`
--
ALTER TABLE `comentariosprincipal`
ADD CONSTRAINT `fk_ComentariosPrin_Usuario_idx` FOREIGN KEY (`Usuario`) REFERENCES `usuarios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `consultorios`
--
ALTER TABLE `consultorios`
ADD CONSTRAINT `fk_Consultorios_Estados_idx` FOREIGN KEY (`Estado`) REFERENCES `estado` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_Consultorios_Municipios_idx` FOREIGN KEY (`Municipio`) REFERENCES `municipio` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `doctor_consultorio`
--
ALTER TABLE `doctor_consultorio`
ADD CONSTRAINT `DoctorConsultorio_Doctor_idx` FOREIGN KEY (`Doctor`) REFERENCES `doctores` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `DoctorConsultorio_idx` FOREIGN KEY (`Consultorio`) REFERENCES `consultorios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `estudios`
--
ALTER TABLE `estudios`
ADD CONSTRAINT `fk_Estudios_Doctores_idx` FOREIGN KEY (`Doctor`) REFERENCES `doctores` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_Estudios_Especialidad_idx` FOREIGN KEY (`Especialidad`) REFERENCES `especialidad` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `horario`
--
ALTER TABLE `horario`
ADD CONSTRAINT `fk_Horario_DoctorConsultorio_idx` FOREIGN KEY (`DoctorConsultorio`) REFERENCES `doctor_consultorio` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `imagen`
--
ALTER TABLE `imagen`
ADD CONSTRAINT `fk_Imagen_Consultorio_idx` FOREIGN KEY (`Consultorio`) REFERENCES `consultorios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `municipio`
--
ALTER TABLE `municipio`
ADD CONSTRAINT `fk_Municipio_Estado_idx` FOREIGN KEY (`Estado`) REFERENCES `estado` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `precios`
--
ALTER TABLE `precios`
ADD CONSTRAINT `fk_Precios_Doctor_Consultorio_idx` FOREIGN KEY (`DoctorConsultorio`) REFERENCES `doctor_consultorio` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `slide`
--
ALTER TABLE `slide`
ADD CONSTRAINT `fk_Slide_Consultorios_idx` FOREIGN KEY (`Consultorio`) REFERENCES `consultorios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `sugerencias`
--
ALTER TABLE `sugerencias`
ADD CONSTRAINT `fk_Sugerencias_Usuario_idx` FOREIGN KEY (`Usuario`) REFERENCES `usuarios` (`Registro`) ON DELETE NO ACTION ON UPDATE NO ACTION;
COMMIT;
/*!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 */;
|
<filename>server/database.sql
CREATE DATABASE locals_only;
CREATE TABLE users (
id SERIAL PRIMARY KEY,
first_name text NOT NULL,
last_name text NOT NULL,
email text NOT NULL,
pass_word text NOT NULL
);
CREATE TABLE favorite_places (
id SERIAL PRIMARY KEY,
place_id text NOT NULL,
store_name text NOT NULL,
exact_address text NOT NULL,
price_level integer,
rating double precision
);
|
<reponame>Helicopt/iKnow<filename>db/triggers.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 2017-01-02 17:42:30
-- 服务器版本: 5.6.17
-- PHP Version: 5.6.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `iknow`
--
CREATE DATABASE IF NOT EXISTS `iknow` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `iknow`;
DROP TRIGGER IF EXISTS `insert_groups_trigger`;
DELIMITER //
CREATE TRIGGER `insert_groups_trigger` AFTER INSERT ON `belong`
FOR EACH ROW
UPDATE `groups` SET `groups`.num=`groups`.num+1 where `groups`.id=NEW.`gid`;
//
DELIMITER ;
DROP TRIGGER IF EXISTS `delete_groups_trigger`;
DELIMITER //
CREATE TRIGGER `delete_groups_trigger` AFTER DELETE ON `belong`
FOR EACH ROW
UPDATE `groups` SET `groups`.num=`groups`.num-1 where `groups`.id=OLD.`gid`;
//
DELIMITER ;
DROP TRIGGER IF EXISTS `insert_answer_trigger`;
DELIMITER //
CREATE TRIGGER `insert_answer_trigger` BEFORE INSERT ON `answer`
FOR EACH ROW SET NEW.`actTime` = NOW()
//
DELIMITER ;
DROP TRIGGER IF EXISTS `insert_topic_trigger`;
DELIMITER //
CREATE TRIGGER `insert_topic_trigger` BEFORE INSERT ON `topic`
FOR EACH ROW SET NEW.`actTime` = NOW()
//
DELIMITER ;
|
<reponame>thewileylab/synPUF
CREATE TABLE attribute_definition (
attribute_definition_id INTEGER NOT NULL,
attribute_name VARCHAR(255) NOT NULL,
attribute_description VARCHAR(MAX) NULL,
attribute_type_concept_id INTEGER NOT NULL,
attribute_syntax VARCHAR(MAX) NULL
)
;
|
<gh_stars>0
use labdb;
go
drop service [demo/InventoryService];
drop service [demo/OrderService];
drop queue dbo.demoInventoryQueue;
drop queue dbo.demoOrderQueue;
drop contract [demo/contracts/demoContract];
drop message type [demo/messages/demoRequest];
drop message type [demo/messages/demoResponse];
go
use master;
go
if exists(select top 1 1 from sys.databases where name = 'labdb')
drop database labdb;
go
|
create or replace TRIGGER Lock_ExeEmp_Ins_Up
BEFORE INSERT OR UPDATE ON ExemplaireEmprunte
BEGIN
LOCK TABLE ExemplaireEmprunte IN SHARE MODE;
LOCK TABLE ExemplaireEmprunte@vers_Angers IN SHARE MODE;
END;
|
<reponame>nguillaumin/nabaztag-server<filename>net.violet.platform/src/test/java/net/violet/platform/datamodel/factories/implementations/VObjectFactoryImplTest_setup.sql
SET FOREIGN_KEY_CHECKS = 0;
INSERT INTO `user` VALUES (220, 'pass<PASSWORD>','Filipino', '<EMAIL>', 1, -2,1,10165,1,1,'796',0,1,0,0,1,NULL,'FEAE23',NULL,1,30,1,'','');
INSERT INTO `annu` VALUES (220, 'H', 'cc', 'Varsovie', 'PL', 0, 1, '1980-05-12', 'Jan', 'Kowalski', '',NULL,36,NOW());
INSERT INTO `object` VALUES (18950,'08739D40299D8084','ObjFactImpl',220,1136281428,3,1156763864,0,3,14,0,2147483647,17,5 ,120,'unknow/unknow',0,0, 30);
INSERT INTO `object_preferences` VALUES (18950, 1,1,1);
INSERT INTO `object_profile` VALUES (18950, 'ObjFactImpl', null, 'private_description',null,null, NOW(), NOW());
INSERT INTO `object` VALUES (18951,'08739D40299D8085','ObjFactImpl2',220,1136281428,3,1156763864,0,3,14,0,2147483647,17,5,120,'unknow/unknow',0,0, 30);
INSERT INTO `object_preferences` VALUES (18951, 1,1,1);
INSERT INTO `object_profile` VALUES (18951, 'ObjFactImpl2', null, 'private_description',null,null, NOW(), NOW());
INSERT INTO `object` VALUES (18952,'08739D40299D8086','ObjFactImpl3',220,1136281428,3,1156763864,0,3,14,0,2147483647,17,5,120,'unknow/unknow',0,0, 30);
INSERT INTO `object_preferences` VALUES (18952, 0,1,1);
INSERT INTO `object_profile` VALUES (18952, 'ObjFactImpl3', null, 'private_description',null,null, NOW(), NOW());
INSERT INTO `object` VALUES (18953,'08739D40299D8087','ObFactImpl3',220,1136281428,3,1156763864,0,3,14,0,2147483647,17,5,120,'unknow/unknow',0,0, 30);
INSERT INTO `object_preferences` VALUES (18953, 1,1,1);
INSERT INTO `object_profile` VALUES (18953, 'ObctImpl', null, 'private_description',null,null, NOW(), NOW());
INSERT INTO `userLang` VALUES (220,1),(220,2);
SET FOREIGN_KEY_CHECKS = 1;
|
<reponame>mliyz/springcloud
/*
SQLyog Ultimate v11.24 (32 bit)
MySQL - 5.7.13 : Database - micro_account
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`micro_account` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `micro_account`;
/*Table structure for table `tb_acc_account` */
DROP TABLE IF EXISTS `tb_acc_account`;
CREATE TABLE `tb_acc_account` (
`tid` varchar(32) NOT NULL,
`phone` varchar(11) DEFAULT NULL COMMENT '手机号',
`email` varchar(30) DEFAULT NULL COMMENT '邮件',
`password` varchar(16) DEFAULT NULL COMMENT '密码',
`create_by` varchar(32) DEFAULT NULL,
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(32) DEFAULT NULL,
`update_date` timestamp not null DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(1000) DEFAULT NULL COMMENT '原因',
`version` int(2) DEFAULT '0' COMMENT '版本',
`state` int(2) DEFAULT '1' COMMENT '状态',
PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='基本用户信息';
/*Data for the table `tb_acc_account` */
LOCK TABLES `tb_acc_account` WRITE;
insert into `tb_acc_account`(`tid`,`phone`,`email`,`password`,`create_by`,`create_date`,`update_by`,`update_date`,`remark`,`version`,`state`) values ('0838bbe7846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:25',NULL,'2017-08-19 06:51:25',NULL,0,1),('15e20903846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:47',NULL,'2017-08-19 06:51:47',NULL,0,1),('162faa3c846811e787bb5<PASSWORD>7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:48',NULL,'2017-08-19 06:51:48',NULL,0,1),('1662bb05846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:48',NULL,'2017-08-19 06:51:48',NULL,0,1),('1682e6e7846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('169f2bbf846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('16baba72846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('16d491a3846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('16eae491846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('1707fdd0846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:51:49',NULL,'2017-08-19 06:51:49',NULL,0,1),('1d5a51ba846711e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:44:51',NULL,'2017-08-19 06:44:51',NULL,0,1),('42fd61a7825b11e787bb507b9dde98b7','1212',NULL,'21312',NULL,'2017-08-16 16:15:27',NULL,'2017-08-16 16:15:27',NULL,0,1),('4e78583d846e11e787bb507b9dde98b7','1321312312',NULL,'1321312312',NULL,'2017-08-19 07:36:19',NULL,'2017-08-19 07:36:19',NULL,0,1),('56aba27a825b11e787bb507b9dde98b7','1111111111',NULL,'21312',NULL,'2017-08-16 16:16:00',NULL,'2017-08-16 16:16:00',NULL,0,1),('6e6e0543832311e787bb507b9dde98b7','1212',NULL,'2323',NULL,'2017-08-17 16:08:13',NULL,'2017-08-17 16:08:13',NULL,0,1),('73ca6f0f832311e787bb507b9dde98b7','fsdfsdf',NULL,'2323',NULL,'2017-08-17 16:08:22',NULL,'2017-08-17 16:08:22',NULL,0,1),('9bf45516846711e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:48:23',NULL,'2017-08-19 06:48:23',NULL,0,1),('af52ae32846811e787bb507b9dde98b7','asdf',NULL,'asfdasfd',NULL,'2017-08-19 06:56:05',NULL,'2017-08-19 06:56:05',NULL,0,1);
UNLOCK TABLES;
/*Table structure for table `tb_acc_address` */
DROP TABLE IF EXISTS `tb_acc_address`;
CREATE TABLE `tb_acc_address` (
`tid` varchar(32) NOT NULL,
`account_id` varchar(32) DEFAULT NULL COMMENT '账户',
`real_name` varchar(11) DEFAULT NULL COMMENT '姓名',
`detail_address` varchar(30) DEFAULT NULL COMMENT '详细地址',
`is_flu` varchar(16) DEFAULT NULL COMMENT '是否常用地址',
`create_by` varchar(32) DEFAULT NULL,
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` varchar(32) DEFAULT NULL,
`update_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(1000) DEFAULT NULL COMMENT '原因',
`version` int(2) DEFAULT '0' COMMENT '版本',
`state` int(2) DEFAULT '1' COMMENT '状态',
PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户收货地址';
/*Data for the table `tb_acc_address` */
LOCK TABLES `tb_acc_address` WRITE;
insert into `tb_acc_address`(`tid`,`account_id`,`real_name`,`detail_address`,`is_flu`,`create_by`,`create_date`,`update_by`,`update_date`,`remark`,`version`,`state`) values ('56aba27a825b11e787bb507b9dds98b7','56aba27a825b11e787bb507b9dde98b7','大本营','和笔的的的',NULL,NULL,'2017-08-19 06:56:35',NULL,'2017-08-19 06:56:35',NULL,0,1);
UNLOCK TABLES;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
INSERT INTO EGPT_STATUS (id,status_name,created_date,is_active,code) values (nextval('SEQ_EGPT_STATUS'),'REVISION PETITION',CURRENT_TIMESTAMP,'Y','RP');
|
<gh_stars>1-10
SELECT products.id, products.name FROM products INNER JOIN categories ON products.id_categories = categories.id WHERE categories.name LIKE 'super%'
|
<reponame>Vivikar/bMRI_analyzer
-- MySQL dump 10.13 Distrib 5.7.29, for Linux (x86_64)
--
-- Host: zanner.org.ua Database: bMRI_db
-- ------------------------------------------------------
-- Server version 5.7.23-0ubuntu0.16.04.1
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `image_analysis`
--
DROP TABLE IF EXISTS `image_analysis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `image_analysis` (
`image_id` int(11) NOT NULL,
`segment` text COLLATE utf8_unicode_ci,
`tumor` text COLLATE utf8_unicode_ci,
`diagnosis` int(11) DEFAULT NULL,
`recommendations` text COLLATE utf8_unicode_ci,
`confidence` float DEFAULT NULL,
`verified` tinyint(1) DEFAULT NULL,
`dt` datetime DEFAULT NULL,
PRIMARY KEY (`image_id`),
KEY `diagnosis` (`diagnosis`),
CONSTRAINT `image_analysis_ibfk_1` FOREIGN KEY (`image_id`) REFERENCES `images` (`image_id`) ON DELETE CASCADE,
CONSTRAINT `image_analysis_ibfk_2` FOREIGN KEY (`diagnosis`) REFERENCES `tumor_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `image_analysis`
--
LOCK TABLES `image_analysis` WRITE;
/*!40000 ALTER TABLE `image_analysis` DISABLE KEYS */;
INSERT INTO `image_analysis` VALUES (5,'analyzed_12_2019-12-20 23:40:30_9.jpeg','Tumor detected with a probability: 1.0',2,NULL,1,0,'2019-12-20 23:42:21'),(6,'analyzed_13_2019-12-20 23:54:08_2.jpg','Tumor detected with a probability: 1.0',2,NULL,1,0,'2019-12-20 23:54:27'),(8,'analyzed_12_2019-12-20 22:24:28_9.png','Tumor detected with a probability: 1.0',2,NULL,1,0,'2019-12-20 22:24:47'),(12,'analyzed_1_2019-12-21 08:53:07_1.png','Tumor detected with a probability: 1.0',2,NULL,1,0,'2019-12-21 08:53:26'),(13,'analyzed_1_2019-12-21 08:54:06_1.png','Tumor detected with a probability: 0.8853302597999573',2,NULL,0.88533,0,'2020-02-03 16:43:41'),(19,'1_2020-02-03 16:43:46_1.jpeg','NO tumors detected with a probability: 1.0',1,NULL,1,0,'2020-02-03 16:43:55');
/*!40000 ALTER TABLE `image_analysis` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `image_types`
--
DROP TABLE IF EXISTS `image_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `image_types` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `image_types`
--
LOCK TABLES `image_types` WRITE;
/*!40000 ALTER TABLE `image_types` DISABLE KEYS */;
INSERT INTO `image_types` VALUES (1,'MRI'),(2,'fMRI'),(3,'CT');
/*!40000 ALTER TABLE `image_types` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `images`
--
DROP TABLE IF EXISTS `images`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `images` (
`image_id` int(11) NOT NULL AUTO_INCREMENT,
`patient_id` int(11) NOT NULL,
`datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`im_type` int(11) DEFAULT NULL,
`image` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`image_id`),
UNIQUE KEY `image_id` (`image_id`) USING BTREE,
KEY `patient_id` (`patient_id`),
KEY `im_type` (`im_type`),
CONSTRAINT `images_ibfk_1` FOREIGN KEY (`patient_id`) REFERENCES `patient_info` (`pid`) ON DELETE CASCADE,
CONSTRAINT `images_ibfk_2` FOREIGN KEY (`im_type`) REFERENCES `image_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `images`
--
LOCK TABLES `images` WRITE;
/*!40000 ALTER TABLE `images` DISABLE KEYS */;
INSERT INTO `images` VALUES (5,12,'2019-12-20 23:40:30',1,'12_2019-12-20 23:40:30_9.jpeg'),(6,13,'2019-12-20 23:54:08',1,'13_2019-12-20 23:54:08_2.jpg'),(7,12,'2019-12-20 22:06:52',1,'12_2019-12-20 22:06:52_9.jpg'),(8,12,'2019-12-20 22:24:28',1,'12_2019-12-20 22:24:28_9.png'),(11,12,'2019-12-21 05:27:51',1,'12_2019-12-21 05:27:51_9.png'),(12,1,'2019-12-21 08:53:07',1,'1_2019-12-21 08:53:07_1.png'),(13,1,'2019-12-21 08:54:06',1,'1_2019-12-21 08:54:06_1.png'),(19,1,'2020-02-03 16:43:46',1,'1_2020-02-03 16:43:46_1.jpeg');
/*!40000 ALTER TABLE `images` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `patient_info`
--
DROP TABLE IF EXISTS `patient_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `patient_info` (
`pid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'patient id',
`last_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`first_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`ssn` int(11) DEFAULT NULL COMMENT 'patient social security number',
`gender` char(1) COLLATE utf8_unicode_ci DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`therapist_id` int(11) DEFAULT NULL,
PRIMARY KEY (`pid`),
UNIQUE KEY `pid` (`pid`) USING BTREE,
KEY `therapist_id` (`therapist_id`),
CONSTRAINT `patient_info_ibfk_1` FOREIGN KEY (`therapist_id`) REFERENCES `therapists` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `patient_info`
--
LOCK TABLES `patient_info` WRITE;
/*!40000 ALTER TABLE `patient_info` DISABLE KEYS */;
INSERT INTO `patient_info` VALUES (1,'Roberto','Elliot',456978219,'m',12,1),(2,'Lever','Carly',586325789,'f',25,1),(3,'McLean','Elle',987235476,'f',19,1),(4,'Barnes','Isabel',889456258,'f',58,1),(6,'Jose','Casper',456325897,'m',56,1),(7,'Marx','Thomas',123456789,'m',32,1),(8,'Eric','Foreman',416325897,'m',56,1),(9,'Robert','Chase',123446789,'m',32,1),(10,'Allison','Cameron',156325897,'f',56,1),(11,'Chris','Taub',123453789,'m',32,1),(12,'Esmall','Sem',173857483,'m',34,9),(13,'Smith','Alex',565758594,'m',45,2);
/*!40000 ALTER TABLE `patient_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `therapists`
--
DROP TABLE IF EXISTS `therapists`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `therapists` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`title` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`username` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`password_hash` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `therapists`
--
LOCK TABLES `therapists` WRITE;
/*!40000 ALTER TABLE `therapists` DISABLE KEYS */;
INSERT INTO `therapists` VALUES (1,'Shaun','Murphy','Dr.','good_doctor','pbkdf2:sha256:150000$15D4pjEH$3572539ed1efdd7b6025504acfd457fa1f0ccd5d9e7dbce28a1cc6ebd42144a1'),(2,'Carly','Lever','nurse','alexsmith','pbkdf2:sha256:150000$r62hdKmb$3658428f759d0fdc733e2b8cea00c6dcd70c41138d96eee7e15e4fd74b8076f1'),(3,'Lea','Dilallo','Dr.','lea_diablo',NULL),(4,'Claire','Brown','Dr.','clairbrown',NULL),(5,'Aaron','Glassman','Dr.','glassy',NULL),(6,'Gregory','House','Dr.','greg_h',NULL),(7,'Lisa','Cuddy','Dr.','lisa228',NULL),(8,'James','Wilson','Dr.','james_w',NULL),(9,'Vladyslav','Zalevskyi','dr','vzalevskyi','pbkdf2:sha256:150000$qkbG0oVb$f30a0bc495dbee5cd831e33c04f97a5229bb99e98dd17ca2c81fd8a40fccdefa'),(10,'Alex','Turner','dr','alex111','pbkdf2:sha256:150000$apkUe7Tc$6c9e3cbda9813186fa56193f57c5121f1867a141de2688ce1969826b71cbf199');
/*!40000 ALTER TABLE `therapists` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tumor_types`
--
DROP TABLE IF EXISTS `tumor_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tumor_types` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`descr` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tumor_types`
--
LOCK TABLES `tumor_types` WRITE;
/*!40000 ALTER TABLE `tumor_types` DISABLE KEYS */;
INSERT INTO `tumor_types` VALUES (1,'absent','no tumor or abnormalities detected'),(2,'benign','does not invade its surrounding tissue or spread around the body'),(3,'malignant','may invade its surrounding tissue or spread around the body');
/*!40000 ALTER TABLE `tumor_types` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-02-04 15:09:53
|
-- we have some operators in SQL
-- + - * / AND OR NOT = !=
-- there's also some set operators, which operate on
-- not individual values, but whole SELECT queries
-- UNION, UNION ALL, INTERSECT, EXCEPT.
-- these can only be used on two queries that return compatible sets
-- compatible as in, the number of columns is the same, and the type are the same/convertible
-- UNION
-- return all rows from both queries together
-- (removes duplicates)
-- UNION ALL - same as UNION, but doesn't remove duplicates
-- INTERSECT: return all rows which were in BOTH queries
-- EXCEPT return all rows which were in the first query BUT NOT in the second.
-- (like subtracting the second set from the first set)
-- all first names among both customers and employees.
SELECT FirstName FROM Customer
UNION
SELECT FirstName FROM Employee;
-- (including the four duplicate first names...)
SELECT FirstName FROM Customer
UNION ALL
SELECT FirstName FROM Employee;
-- all first names that a customer has and also an employee has
SELECT FirstName FROM Customer
INTERSECT
SELECT FirstName FROM Employee;
-- all first names that a customer has but no employee has
SELECT FirstName FROM Customer
EXCEPT
SELECT FirstName FROM Employee;
|
-- 编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。
-- +----+--------+
-- | Id | Salary |
-- +----+--------+
-- | 1 | 100 |
-- | 2 | 200 |
-- | 3 | 300 |
-- +----+--------+
-- 例如上述 Employee 表,SQL查询应该返回 200 作为第二高的薪水。如果不存在第二高的薪水,那么查询应返回 null。
-- +---------------------+
-- | SecondHighestSalary |
-- +---------------------+
-- | 200 |
-- +---------------------+
-- 使用嵌套的查询,将结果作为临时表再选择
-- 若结果为空,则等于 SELECT NULL,返回的是 null
SELECT (
SELECT DISTINCT Salary
FROM Employee
ORDER BY Salary DESC
LIMIT 1, 1
) AS SecondHighestSalary
|
<reponame>LeoColomb/wordpress-resurrection
/**
* WordPress Resurrection
*
* @author <NAME> <colo<EMAIL>>
* @license ISC
*/
-- -- -- --
-- Posts: Embeds
-- -- -- --
-- This script converts hard-coded embeds to simple URLs.
-- This change allows the WordPress instance to take two advantages:
-- * Being much more flexible regarding embed APIs changes on each hosted
-- service.
-- * Using WordPress embeds API to follow theme requirements.
SET @reg_pre = '(https?:)?//(www\\.)?';
SET @reg_prep = '(<|<)(iframe|object|embed).*';
SET @reg_post = '.*(iframe|object|embed)(>|>)';
SET @reg_tar = '\n\r';
-- YouTube Lists
SET @reg_youtube_list = 'youtube\\.com/embed/[\\w\\-]+(\\?list=[\\w\\-]+)';
SET @reg_youtube_list_tar = 'https://www.youtube.com/playlist';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_youtube_list, @reg_post),
CONCAT(@reg_tar, @reg_youtube_list_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_youtube_list)
;
UPDATE `#DB_PREFIX#postmeta` SET `meta_value` = REGEXP_REPLACE(
`meta_value`,
CONCAT('.*', @reg_pre, @reg_youtube_list, '.*'),
CONCAT(@reg_youtube_list_tar, '\\3')
)
WHERE `meta_key` = 'video_url'
AND `meta_value` REGEXP CONCAT(@reg_pre, @reg_youtube_list)
;
-- YouTube Old
SET @reg_youtube_o = 'youtube\\.com/v/([\\-\\w]+)';
SET @reg_youtube_tar = 'https://www.youtube.com/watch?v=';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT('(<|<)object.*', @reg_pre, @reg_youtube_o, '.*object(>|>)'),
CONCAT(@reg_tar, @reg_youtube_tar, '\\4', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT('(<|<)object.*', @reg_pre, @reg_youtube_o)
;
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_youtube_o, @reg_post),
CONCAT(@reg_tar, @reg_youtube_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_youtube_o)
;
-- YouTube
SET @reg_youtube = 'youtube\\.com/embed/([\\-\\w]+)';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_youtube, @reg_post),
CONCAT(@reg_tar, @reg_youtube_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_youtube)
;
UPDATE `#DB_PREFIX#postmeta` SET `meta_value` = REGEXP_REPLACE(
`meta_value`,
CONCAT('.*', @reg_pre, @reg_youtube, '.*'),
CONCAT(@reg_youtube_tar, '\\3')
)
WHERE `meta_key` = 'video_url'
AND `meta_value` REGEXP CONCAT(@reg_pre, @reg_youtube)
;
-- Dailymotion
SET @reg_daily = 'dailymotion\\.com/embed/video/([a-z\\d]+)';
SET @reg_daily_tar = 'https://www.dailymotion.com/video/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_daily, @reg_post),
CONCAT(@reg_tar, @reg_daily_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_daily)
;
UPDATE `#DB_PREFIX#postmeta` SET `meta_value` = REGEXP_REPLACE(
`meta_value`,
CONCAT('.*', @reg_pre, @reg_daily, '.*'),
CONCAT(@reg_daily_tar, '\\3')
)
WHERE `meta_key` = 'video_url'
AND `meta_value` REGEXP CONCAT(@reg_pre, @reg_daily)
;
SET @reg_daily_old = 'dailymotion\\.com/swf/([a-z\\d]+)';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_daily_old, @reg_post),
CONCAT(@reg_tar, @reg_daily_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_daily_old)
;
-- Vimeo
SET @reg_vimeo = 'player\\.vimeo\\.com/video/(\\d+)';
SET @reg_vimeo_tar = 'https://vimeo.com/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_vimeo, @reg_post),
CONCAT(@reg_tar, @reg_vimeo_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_vimeo)
;
UPDATE `#DB_PREFIX#postmeta` SET `meta_value` = REGEXP_REPLACE(
`meta_value`,
CONCAT('.*', @reg_pre, @reg_vimeo, '.*'),
CONCAT(@reg_vimeo_tar, '\\3/')
)
WHERE `meta_key` = 'video_url'
AND `meta_value` REGEXP CONCAT(@reg_pre, @reg_vimeo)
;
SET @reg_vimeo_old = 'vimeo\\.com/moogaloop\\.swf\\?clip_id=(\\d+)';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_vimeo_old, @reg_post),
CONCAT(@reg_tar, @reg_vimeo_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_vimeo_old)
;
-- Vine
SET @reg_vine = 'vine\\.co/v/([a-z\\d]+)/embed/simple';
SET @reg_vine_tar = 'https://vine.co/v/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_vine, @reg_post),
CONCAT(@reg_tar, @reg_vine_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_vine)
;
-- TED
SET @reg_ted = 'embed(-ssl)?\\.ted\\.com/talks/([\\-\\w]+)\\.?';
SET @reg_ted_tar = 'https://www.ted.com/talks/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_ted, @reg_post),
CONCAT(@reg_tar, @reg_ted_tar, '\\6', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_ted)
;
UPDATE `#DB_PREFIX#postmeta` SET `meta_value` = REGEXP_REPLACE(
`meta_value`,
CONCAT('.*', @reg_pre, @reg_ted, '.*'),
CONCAT(@reg_ted_tar, '\\4')
)
WHERE `meta_key` = 'video_url'
AND `meta_value` REGEXP CONCAT(@reg_pre, @reg_ted)
;
SET @reg_ted_old = 'video\\.ted\\.com/talks/.*adKeys=talk=([\\-\\w]+);';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_ted_old, @reg_post),
CONCAT(@reg_tar, @reg_ted_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_ted_old)
;
-- Spotify
SET @reg_spot = 'embed\\.spotify\\.com/\\?uri=spotify(:|%3A)track(:|%3A)([a-z\\d]+)';
SET @reg_spot_tar = 'https://open.spotify.com/track/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_spot, @reg_post),
CONCAT(@reg_tar, @reg_spot_tar, '\\7', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_spot)
;
-- Scribd
SET @reg_scri = '[a-z]+\\.scribd\\.com/ScribdViewer\\.swf\\?document_id=(\\d+)';
SET @reg_scri_tar = 'https://www.scribd.com/doc/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_scri, @reg_post),
CONCAT(@reg_tar, @reg_scri_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_scri)
;
SET @reg_scri = 'scribd\\.com/embeds/(\\d+)/';
UPDATE `#DB_PREFIX#posts` SET `post_content` = REGEXP_REPLACE(
`post_content`,
CONCAT(@reg_prep, @reg_pre, @reg_scri, @reg_post),
CONCAT(@reg_tar, @reg_scri_tar, '\\5', @reg_tar)
)
WHERE `post_content` REGEXP CONCAT(@reg_prep, @reg_pre, @reg_scri)
;
|
-- MySQL dump 9.11
--
-- Host: localhost Database: Shelter
-- ------------------------------------------------------
-- Server version 4.0.23-standard-log
---
--- Create the database
---
DROP DATABASE IF EXISTS Shelter;
CREATE DATABASE Shelter;
USE Shelter;
--
-- Table structure for table `tCat`
--
DROP TABLE IF EXISTS tCat;
CREATE TABLE tCat (
CatID int(11) NOT NULL auto_increment,
Name varchar(40) NOT NULL default '',
Gender char(1) NOT NULL default 'U',
Age int(3) NOT NULL default '0',
Breed varchar(100) NOT NULL default '',
PRIMARY KEY (CatID)
) TYPE=MyISAM;
--
-- Dumping data for table `tCat`
--
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (1,'Snowball','M',145,'DSH');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (2,'Lizzie','F',141,'DSH/Siamese Mix');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (3,'Pim Pim','F',120,'DSH/Russian Blue Mix');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (4,'Mathilda','F',37,'DMH');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (5,'Manfred','M',18,'DSH');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (6,'Saffy','F',108,'DLH');
INSERT INTO tCat (CatID, Name, Gender, Age, Breed) VALUES (7,'Tera','F',60,'DSH');
|
CREATE TABLE Person
(
Id INT IDENTITY(1,1),
LastName VARCHAR(100),
FirstName VARCHAR(100),
Born Date,
Died Date,
CONSTRAINT pk_Person_Id PRIMARY KEY (Id)
);
Go
CREATE TABLE Quote
(
Id INT IDENTITY(1,1),
Text VARCHAR(6000),
Year VARCHAR(4),
Context VARCHAR(6000),
PersonId Int,
CONSTRAINT pk_Quote_Id PRIMARY KEY (Id),
CONSTRAINT fk_Quote_Person FOREIGN KEY (PersonId) REFERENCES Person
);
GO
|
-- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
-- Extended Properties [extension].[BehaviorTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An extension of the Behavior Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'BehaviorTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'BehaviorTypeDescriptor', @level2type=N'COLUMN', @level2name=N'BehaviorTypeDescriptorId'
GO
-- Extended Properties [extension].[CedsLocalEducationAgency] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This entity extends LocalEducationAgency to contain elements necessary for loading Generate.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a local education agency by the State Education Agency (SEA).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'CedsLocalEducationAgencyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The category of local education agency/district. For example: Independent or Charter.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'LocalEducationAgencyCategoryDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a local education agency.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'LocalEducationAgencyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'TitleIinstructionalServiceDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'TitleIProgramTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'K12LeaTitleISupportServiceDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsLocalEducationAgency', @level2type=N'COLUMN', @level2name=N'MepProjectTypeDescriptorId'
GO
-- Extended Properties [extension].[CedsSchool] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension of edfi.School.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a local education agency by the State Education Agency (SEA).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'CedsSchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the identifier of the education organization that approves charter school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'CharterSchoolApprovalAgencyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the identifier of the education organization Network.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'EducationOrgabizationNetworkId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The classification of participation by a school in the National School Lunch Program.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'NationalSchoolLunchProgramStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication that the school was restructured, transformed or otherwise changed as a consequence of the state''s accountability system under ESEA or as a result of School Improvement Grants (SIG).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'ReconstitutedStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication that a school offers career and technical education or other educational services in which some or all students are enrolled at a separate school of record and attend the shared-time school on a part-time basis.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'SharedTimeIndicatorDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a school by the state education agency (SEA). Also known as the State School Identification Number (ID). This ID cannot be updated through this file.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'VirtualSchoolStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The unique number a SEA assigns to the contract (or charter) that authorizes the charter school to operate in the state under the state’s charter school legislation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'ContractIdentifier'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'a metric that a state uses to determine the high poverty and low poverty schools', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'StatePovertyDesignationDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchool', @level2type=N'COLUMN', @level2name=N'MepProjectTypeDescriptorId'
GO
-- Extended Properties [extension].[CedsSchoolAccountability] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension of edfi.School Accountability', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolAccountability'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a local education agency by the State Education Agency (SEA).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolAccountability', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The School Year', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolAccountability', @level2type=N'COLUMN', @level2name=N'SchoolYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication of whether the school or local education agency (LEA) submitted a Gun-Free Schools Act (GFSA) of 1994 report to the state, as defined by Title 18, Section 921.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolAccountability', @level2type=N'COLUMN', @level2name=N'GunFreeSchoolsActReportingStatusDescriptorId'
GO
-- Extended Properties [extension].[CedsSchoolComprehensiveAndTargetedSupport] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation for School Support and Improvement.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolComprehensiveAndTargetedSupport'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolComprehensiveAndTargetedSupport', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The reason for identification for targeted support and improvement (TSI). ', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolComprehensiveAndTargetedSupport', @level2type=N'COLUMN', @level2name=N'ComprehensiveAndTargetedSupportDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication the school is designated by the state as a comprehensive support and improvement (CSI) or targeted support and improvement (TSI) school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolComprehensiveAndTargetedSupport', @level2type=N'COLUMN', @level2name=N'ComprehensiveSupportDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The reasons for identification for comprehensive support and improvement (CSI).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolComprehensiveAndTargetedSupport', @level2type=N'COLUMN', @level2name=N'TargetedSupportDescriptorId'
GO
-- Extended Properties [extension].[CedsSchoolCustomIndicatorStatusType] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This entity extends the School Indicator Status of CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status per the Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'IndicatorStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status''s Subgroup, such as American Indian - Alaska Native.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status''s Subgroup Type, such as Race.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'IndicatorStatusTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s State Defined indicator Status per the Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'StatedDefinedCustomIndicatorStatusType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s State Defined indicator Status per the Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'StatedDefinedIndicatorStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'RecordStartDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolCustomIndicatorStatusType', @level2type=N'COLUMN', @level2name=N'RecordEndDateTime'
GO
-- Extended Properties [extension].[CedsSchoolIndicatorStatus] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This entity extends the School Indicator Status of CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status per the Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'IndicatorStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status''s Subgroup, such as American Indian - Alaska Native.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status''s Subgroup Type, such as Race.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'IndicatorStatusTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s State Defined indicator Status per the Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'StatedDefinedIndicatorStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'RecordStartDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolIndicatorStatus', @level2type=N'COLUMN', @level2name=N'RecordEndDateTime'
GO
-- Extended Properties [extension].[CedsSchoolStatus] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension of edfi.School Status', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s performance indicator on the progress in achieving English Language proficiency indicator.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus', @level2type=N'COLUMN', @level2name=N'ProgressAchievingEnglishLanguageProficiencyIndicatorStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s status to indicate if it''s in the dangerous.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus', @level2type=N'COLUMN', @level2name=N'SchoolDangerousStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s performance on the progress in State Defined achieving English Language proficiency indicator.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus', @level2type=N'COLUMN', @level2name=N'ProgressAchievingEnglishLanguageProficiencyStateDefinedStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSchoolStatus', @level2type=N'COLUMN', @level2name=N'ConsolidatedMepFundsStatus'
GO
-- Extended Properties [extension].[CedsSpecialEducationStaffCategory] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSpecialEducationStaffCategory'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'School Id.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSpecialEducationStaffCategory', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Staff USI.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSpecialEducationStaffCategory', @level2type=N'COLUMN', @level2name=N'StaffUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Special Education Program Service Category', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsSpecialEducationStaffCategory', @level2type=N'COLUMN', @level2name=N'SpecialEducationProgramServiceDescriptorId'
GO
-- Extended Properties [extension].[CedsStudentAssessment] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'AcademicSubjectDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'AdministrationDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'AssessedGradeLevelDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'CedsAssessmentTitle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'CedsAssessmentVersion'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'StateFullAcademicYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'LEAFullAcademicYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'SchoolFullAcademicYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'RecordStartDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentAssessment', @level2type=N'COLUMN', @level2name=N'RecordEndDateTime'
GO
-- Extended Properties [extension].[CedsStudentCTEProgramAssociation] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension to edfi.StudentCTEProgramAssociation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The date the Student was associated with the Program or service.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'BeginDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization that provides the program', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramEducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The formal name of the Program of instruction, training, services, or benefits available through federal, state, or local agencies.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id of the table ProgramTypeDescriptor', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id of the table edfi.Student ', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The types of placement after secondary education.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'DisplacementTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The types of perkins LEP Status', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'PerkinsLEPStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'AdvancedTrainingEnrollmentDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'CteParticipant'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentCTEProgramAssociation', @level2type=N'COLUMN', @level2name=N'CteConcentrator'
GO
-- Extended Properties [extension].[CedsStudentHomelessProgramAssociation] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'BeginDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'CedsProgramName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramEducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentHomelessProgramAssociation', @level2type=N'COLUMN', @level2name=N'HomelessServicedIndicator'
GO
-- Extended Properties [extension].[CedsStudentMigrantEducationProgramAssociation] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This entity extends the StudentMigrantEducationProgramAssociation to provide additional elements needed for the population of Generate.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The month, day, and year on which the Student first received services.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'BeginDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramEducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The formal name of the Program of instruction, training, services, or benefits available through federal, state, or local agencies.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The type of program.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique alphanumeric code assigned to a student.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The type of school/migrant education program in which instruction and/or support services are provided.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentMigrantEducationProgramAssociation', @level2type=N'COLUMN', @level2name=N'MigrantEducationProgramEnrollmentTypeDescriptorId'
GO
-- Extended Properties [extension].[CedsStudentNoDProgramAssociation] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension to edfi.StudentCTEProgramAssociation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The date the Student was associated with the Program or service.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'BeginDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization that provides the program', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramEducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The formal name of the Program of instruction, training, services, or benefits available through federal, state, or local agencies.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id of the table ProgramTypeDescriptor', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'ProgramTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id of the table edfi.Student ', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The types of placement after secondary education.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CedsStudentNoDProgramAssociation', @level2type=N'COLUMN', @level2name=N'DisplacementTypeDescriptorId'
GO
-- Extended Properties [extension].[CharterContract] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension attribute of edfi.School.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterContract'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The unique number a SEA assigns to the contract (or charter) that authorizes the charter school to operate in the state under the state’s charter school legislation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterContract', @level2type=N'COLUMN', @level2name=N'ContractIdentifier'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The effective date of the contract (or charter) that an approved charter school authorizer authorized the charter school to operate in the state under the state’s charter school legislation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterContract', @level2type=N'COLUMN', @level2name=N'ApprovalDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The date by which the charter school must renew its contract (or charter) with an approved charter school authorizer in order to continue to operate in the state under the state’s charter school legislation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterContract', @level2type=N'COLUMN', @level2name=N'RenewalDate'
GO
-- Extended Properties [extension].[CharterSchoolApprovalAgency] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an organizzation that approves the charter school', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterSchoolApprovalAgency'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the identifier of the education organization that approves charter school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterSchoolApprovalAgency', @level2type=N'COLUMN', @level2name=N'CharterSchoolApprovalAgencyId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the type of the education organization that approves charter school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterSchoolApprovalAgency', @level2type=N'COLUMN', @level2name=N'CharterApprovalAgencyTypeDescriptorId'
GO
-- Extended Properties [extension].[CharterSchoolManagementOrganizationTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'CharterSchoolManagementOrganizationType', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterSchoolManagementOrganizationTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'CharterSchoolManagementOrganizationTypeDescriptor', @level2type=N'COLUMN', @level2name=N'CharterSchoolManagementOrganizationTypeDescriptorId'
GO
-- Extended Properties [extension].[ComprehensiveAndTargetedSupportDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication the school is designated by the state as a comprehensive support and improvement (CSI) or targeted support and improvement (TSI) school.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ComprehensiveAndTargetedSupportDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ComprehensiveAndTargetedSupportDescriptor', @level2type=N'COLUMN', @level2name=N'ComprehensiveAndTargetedSupportDescriptorId'
GO
-- Extended Properties [extension].[ComprehensiveSupportDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The reasons for identification for comprehensive support and improvement (CSI).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ComprehensiveSupportDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ComprehensiveSupportDescriptor', @level2type=N'COLUMN', @level2name=N'ComprehensiveSupportDescriptorId'
GO
-- Extended Properties [extension].[DisciplineActionDiscipline] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'CedsDisciplineActionIdentifier'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'DisciplineDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'DisciplineDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a local education agency by the State Education Agency (SEA).', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'IdeaInterimRemovalTypeDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'IdeaInterimRemovalReasonDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'DisciplineMethodFirearmDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineActionDiscipline', @level2type=N'COLUMN', @level2name=N'IDEADisciplineMethodFirearmDescriptorId'
GO
-- Extended Properties [extension].[DisciplineMethodFirearmDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineMethodFirearmDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineMethodFirearmDescriptor', @level2type=N'COLUMN', @level2name=N'DisciplineMethodFirearmDescriptorId'
GO
-- Extended Properties [extension].[DisciplineTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An extension of the Discipline Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisciplineTypeDescriptor', @level2type=N'COLUMN', @level2name=N'DisciplineTypeDescriptorId'
GO
-- Extended Properties [extension].[DisplacementTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisplacementTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'DisplacementTypeDescriptor', @level2type=N'COLUMN', @level2name=N'DisplacementTypeDescriptorId'
GO
-- Extended Properties [extension].[EducationOrganizationFederalFunding] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This entity represents funding for the organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Federal Program Code as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'FederalProgramCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Federal Programs Funding Allocation as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'FederalProgramsFundingAllocation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Parent Involvement Reservation Funds as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'ParentalInvolvmementReservationFunds'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'LEA exercises alternative funding ', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'REAPAlternativeFundingStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationFederalFunding', @level2type=N'COLUMN', @level2name=N'FederalProgramFundingAllocationTypeDescriptorId'
GO
-- Extended Properties [extension].[EducationOrganizationNetworkExtension] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationNetworkExtension'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to a network of education organizations.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationNetworkExtension', @level2type=N'COLUMN', @level2name=N'EducationOrganizationNetworkId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension to EducationOrganizationNetwork.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EducationOrganizationNetworkExtension', @level2type=N'COLUMN', @level2name=N'CharterSchoolManagementOrganizationTypeDescriptorId'
GO
-- Extended Properties [extension].[EmergencyorProvisionalCredentialStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the EmergencyorProvisionalCredentialStatus of a teacher as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EmergencyorProvisionalCredentialStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'EmergencyorProvisionalCredentialStatusDescriptor', @level2type=N'COLUMN', @level2name=N'EmergencyorProvisionalCredentialStatusDescriptorId'
GO
-- Extended Properties [extension].[FederalProgramFundingAllocationTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'FederalProgramFundingAllocationTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'FederalProgramFundingAllocationTypeDescriptor', @level2type=N'COLUMN', @level2name=N'FederalProgramFundingAllocationTypeDescriptorId'
GO
-- Extended Properties [extension].[IDEADisciplineMethodFirearmDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IDEADisciplineMethodFirearmDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IDEADisciplineMethodFirearmDescriptor', @level2type=N'COLUMN', @level2name=N'IDEADisciplineMethodFirearmDescriptorId'
GO
-- Extended Properties [extension].[IdeaInterimRemovalReasonDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IdeaInterimRemovalReasonDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IdeaInterimRemovalReasonDescriptor', @level2type=N'COLUMN', @level2name=N'IdeaInterimRemovalReasonDescriptorId'
GO
-- Extended Properties [extension].[IdeaInterimRemovalTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IdeaInterimRemovalTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IdeaInterimRemovalTypeDescriptor', @level2type=N'COLUMN', @level2name=N'IdeaInterimRemovalTypeDescriptorId'
GO
-- Extended Properties [extension].[IndicatorStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Indicator Status as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusDescriptor', @level2type=N'COLUMN', @level2name=N'IndicatorStatusDescriptorId'
GO
-- Extended Properties [extension].[IndicatorStatusSubgroupDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Indicator Status''s SubGroup per the Indicator Status Subgroup Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusSubgroupDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusSubgroupDescriptor', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupDescriptorId'
GO
-- Extended Properties [extension].[IndicatorStatusSubgroupTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Indicator Status''s SubGroup Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusSubgroupTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusSubgroupTypeDescriptor', @level2type=N'COLUMN', @level2name=N'IndicatorStatusSubgroupTypeDescriptorId'
GO
-- Extended Properties [extension].[IndicatorStatusTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Indicator Status Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'IndicatorStatusTypeDescriptor', @level2type=N'COLUMN', @level2name=N'IndicatorStatusTypeDescriptorId'
GO
-- Extended Properties [extension].[InexperiencedStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the InexperiencedStatus of a teacher as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'InexperiencedStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'InexperiencedStatusDescriptor', @level2type=N'COLUMN', @level2name=N'InexperiencedStatusDescriptorId'
GO
-- Extended Properties [extension].[K12LeaTitleISupportServiceDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'K12LeaTitleISupportServiceDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'K12LeaTitleISupportServiceDescriptor', @level2type=N'COLUMN', @level2name=N'K12LeaTitleISupportServiceDescriptorId'
GO
-- Extended Properties [extension].[LocalEducationAgencyTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Local Education Agency Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'LocalEducationAgencyTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'LocalEducationAgencyTypeDescriptor', @level2type=N'COLUMN', @level2name=N'LocalEducationAgencyTypeDescriptorId'
GO
-- Extended Properties [extension].[MepProjectTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MepProjectTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MepProjectTypeDescriptor', @level2type=N'COLUMN', @level2name=N'MepProjectTypeDescriptorId'
GO
-- Extended Properties [extension].[MigrantEducationProgramEnrollmentTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Migrant Education Program Enrollment Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MigrantEducationProgramEnrollmentTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MigrantEducationProgramEnrollmentTypeDescriptor', @level2type=N'COLUMN', @level2name=N'MigrantEducationProgramEnrollmentTypeDescriptorId'
GO
-- Extended Properties [extension].[MigrantEducationProgramServicesTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Migrant Education Program Services Type as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MigrantEducationProgramServicesTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'MigrantEducationProgramServicesTypeDescriptor', @level2type=N'COLUMN', @level2name=N'MigrantEducationProgramServicesTypeDescriptorId'
GO
-- Extended Properties [extension].[NationalSchoolLunchProgramDirectCertificationIndicatorDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the National School Lunch Program Direct Certification Indicator as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'NationalSchoolLunchProgramDirectCertificationIndicatorDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'NationalSchoolLunchProgramDirectCertificationIndicatorDescriptor', @level2type=N'COLUMN', @level2name=N'NationalSchoolLunchProgramDirectCertificationIndicatorDescriptorId'
GO
-- Extended Properties [extension].[NationalSchoolLunchProgramStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the National School Lunch Program Status as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'NationalSchoolLunchProgramStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'NationalSchoolLunchProgramStatusDescriptor', @level2type=N'COLUMN', @level2name=N'NationalSchoolLunchProgramStatusDescriptorId'
GO
-- Extended Properties [extension].[OutOfFieldStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the OutOfFieldStatus of a teacher as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'OutOfFieldStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'OutOfFieldStatusDescriptor', @level2type=N'COLUMN', @level2name=N'OutOfFieldStatusDescriptorId'
GO
-- Extended Properties [extension].[ParaprofessionalQualificationDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication of whether paraprofessionals are classified as qualified for their assignment according to state definition.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ParaprofessionalQualificationDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ParaprofessionalQualificationDescriptor', @level2type=N'COLUMN', @level2name=N'ParaprofessionalQualificationDescriptorId'
GO
-- Extended Properties [extension].[PerkinsLEPStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is for Perkins LEP Status.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'PerkinsLEPStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'PerkinsLEPStatusDescriptor', @level2type=N'COLUMN', @level2name=N'PerkinsLEPStatusDescriptorId'
GO
-- Extended Properties [extension].[ProgressAchievingEnglishLanguageProficiencyIndicatorStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A school''s performance on the progress in achieving English Language proficiency indicator.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ProgressAchievingEnglishLanguageProficiencyIndicatorStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ProgressAchievingEnglishLanguageProficiencyIndicatorStatusDescriptor', @level2type=N'COLUMN', @level2name=N'ProgressAchievingEnglishLanguageProficiencyIndicatorStatusDescriptorId'
GO
-- Extended Properties [extension].[REAPAlternativeFundingStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'REAPAlternativeFundingStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'REAPAlternativeFundingStatusDescriptor', @level2type=N'COLUMN', @level2name=N'REAPAlternativeFundingStatusDescriptorId'
GO
-- Extended Properties [extension].[ReconstitutedStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the ReconstitutedStatus of a school as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ReconstitutedStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'ReconstitutedStatusDescriptor', @level2type=N'COLUMN', @level2name=N'ReconstitutedStatusDescriptorId'
GO
-- Extended Properties [extension].[SchoolDangerousStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolDangerousStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolDangerousStatusDescriptor', @level2type=N'COLUMN', @level2name=N'SchoolDangerousStatusDescriptorId'
GO
-- Extended Properties [extension].[SchoolFederalFunds] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is an extension attribute of edfi.School.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolFederalFunds'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'this is docs', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolFederalFunds', @level2type=N'COLUMN', @level2name=N'FiscalYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolFederalFunds', @level2type=N'COLUMN', @level2name=N'SchoolId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'this is docs', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SchoolFederalFunds', @level2type=N'COLUMN', @level2name=N'SchoolImprovementAllocation'
GO
-- Extended Properties [extension].[SharedTimeIndicatorDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the School Shared Time Indicator as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SharedTimeIndicatorDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SharedTimeIndicatorDescriptor', @level2type=N'COLUMN', @level2name=N'SharedTimeIndicatorDescriptorId'
GO
-- Extended Properties [extension].[SpecialEducationAgeGroupTaughtDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Special Education Age Group Taught as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SpecialEducationAgeGroupTaughtDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SpecialEducationAgeGroupTaughtDescriptor', @level2type=N'COLUMN', @level2name=N'SpecialEducationAgeGroupTaughtDescriptorId'
GO
-- Extended Properties [extension].[SpecialEducationSupportServicesCategoryDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Special Education Support Services Category as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SpecialEducationSupportServicesCategoryDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'SpecialEducationSupportServicesCategoryDescriptor', @level2type=N'COLUMN', @level2name=N'SpecialEducationSupportServicesCategoryDescriptorId'
GO
-- Extended Properties [extension].[StaffEducationOrganizationAssignmentAssociationExtension] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Month, day, and year of the start or effective date of a staff member''s employment, contract, or relationship with the LEA.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'BeginDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The identifier assigned to an education organization.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'EducationOrganizationId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The titles of employment, official status, or rank of education staff.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'StaffClassificationDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique alphanumeric code assigned to a staff.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'StaffUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Special Education Age Group Taught as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'SpecialEducationAgeGroupTaughtDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Special Education Support Services Category as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'SpecialEducationSupportServicesCategoryDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Title I Program Staff Category as defined in CEDS', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'TitleIProgramStaffCategoryDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Inexperienced Status', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'InexperiencedStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Emergency or Provisional Credential Status', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'EmergencyorProvisionalCredentialStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Out Of Field Status', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'OutOfFieldStatusDescriptorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'RecordStartDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StaffEducationOrganizationAssignmentAssociationExtension', @level2type=N'COLUMN', @level2name=N'RecordEndDateTime'
GO
-- Extended Properties [extension].[StateDefinedCustomIndicator] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicator'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicator', @level2type=N'COLUMN', @level2name=N'SchoolYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicator', @level2type=N'COLUMN', @level2name=N'StatedDefinedCustomIndicatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicator', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicator', @level2type=N'COLUMN', @level2name=N'Definition'
GO
-- Extended Properties [extension].[StateDefinedCustomIndicatorStatusTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the State Defined Custom Indicator Status Type.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicatorStatusTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedCustomIndicatorStatusTypeDescriptor', @level2type=N'COLUMN', @level2name=N'StateDefinedCustomIndicatorStatusTypeDescriptorId'
GO
-- Extended Properties [extension].[StateDefinedIndicator] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedIndicator'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedIndicator', @level2type=N'COLUMN', @level2name=N'SchoolYear'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedIndicator', @level2type=N'COLUMN', @level2name=N'StatedDefinedCustomIndicatorId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedIndicator', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StateDefinedIndicator', @level2type=N'COLUMN', @level2name=N'Definition'
GO
-- Extended Properties [extension].[StatePovertyDesignationDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'a metric that a state uses to determine the high poverty and low poverty schools', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StatePovertyDesignationDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StatePovertyDesignationDescriptor', @level2type=N'COLUMN', @level2name=N'StatePovertyDesignationDescriptorId'
GO
-- Extended Properties [extension].[StudentExtension] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StudentExtension'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique alphanumeric code assigned to a student.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StudentExtension', @level2type=N'COLUMN', @level2name=N'StudentUSI'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Indicates that the student''s National School Lunch Program (NSLP) eligibility has been determined through direct certification.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'StudentExtension', @level2type=N'COLUMN', @level2name=N'NationalSchoolLunchProgramDirectCertificationIndicatorDescriptorId'
GO
-- Extended Properties [extension].[TargetedSupportDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The reason for identification for targeted support and improvement (TSI). ', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TargetedSupportDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TargetedSupportDescriptor', @level2type=N'COLUMN', @level2name=N'TargetedSupportDescriptorId'
GO
-- Extended Properties [extension].[TitleIinstructionalServiceDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIinstructionalServiceDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIinstructionalServiceDescriptor', @level2type=N'COLUMN', @level2name=N'TitleIinstructionalServiceDescriptorId'
GO
-- Extended Properties [extension].[TitleIProgramStaffCategoryDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is the Title I Program Staff Category as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIProgramStaffCategoryDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIProgramStaffCategoryDescriptor', @level2type=N'COLUMN', @level2name=N'TitleIProgramStaffCategoryDescriptorId'
GO
-- Extended Properties [extension].[TitleIProgramTypeDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This is documentation.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIProgramTypeDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'TitleIProgramTypeDescriptor', @level2type=N'COLUMN', @level2name=N'TitleIProgramTypeDescriptorId'
GO
-- Extended Properties [extension].[VirtualSchoolStatusDescriptor] --
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'This Virtual School Status as defined in CEDS.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'VirtualSchoolStatusDescriptor'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table.', @level0type=N'SCHEMA', @level0name=N'extension', @level1type=N'TABLE', @level1name=N'VirtualSchoolStatusDescriptor', @level2type=N'COLUMN', @level2name=N'VirtualSchoolStatusDescriptorId'
GO
|
COMMENT ON COLUMN "public"."journals"."name" IS E'';
alter table "public"."journals" rename column "name" to "title";
|
/****** Object: Table [dbo].[tblSchemaVersion] Script Date: 12/30/2009 11:10:26 ******/
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
CREATE TABLE [dbo].[tblSchemaVersion](
[nVersionKey] [int] IDENTITY(1,1) NOT NULL,
[MajorVersion] [int] NULL,
[MinorVersion] [int] NULL,
[Release] [int] NULL,
[Build] [int] NULL,
CONSTRAINT [PK_tblSchemaVersion] PRIMARY KEY CLUSTERED
(
[nVersionKey] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
|
SET search_path = pg_catalog;
-- DEPCY: This INDEX depends on the INDEX: test.the_part_2_c1_idx
DROP INDEX public.the_part_index_c1_idx;
CREATE INDEX the_part_2_c1_idx ON test.the_part_2 USING hash (c1);
CREATE INDEX the_part_index_c1_idx ON ONLY public.the_part USING hash (c1);
|
<reponame>SKalt/pg_sql_parser_tests<gh_stars>0
INSERT INTO weather VALUES ('San Francisco', 46, 50, 0.25, '1994-11-27');
|
<gh_stars>0
-- @testpoint: opengauss关键字Key_Member(非保留),作为同义词对象名,部分测试点合理报错
--前置条件
drop table if exists explain_test;
create table explain_test(id int,name varchar(10));
--关键字不带引号-成功
drop synonym if exists Key_Member;
create synonym Key_Member for explain_test;
insert into Key_Member values (1,'ada'),(2, '<PASSWORD>');
update Key_Member set Key_Member.name='cici' where Key_Member.id=2;
select * from Key_Member;
--关键字带双引号-成功
drop synonym if exists "Key_Member";
create synonym "Key_Member" for explain_test;
--关键字带单引号-合理报错
drop synonym if exists 'Key_Member';
create synonym 'Key_Member' for explain_test;
insert into 'Key_Member' values (1,'ada'),(2, 'bob');
update 'Key_Member' set 'Key_Member'.name='cici' where 'Key_Member'.id=2;
select * from 'Key_Member';
--关键字带反引号-合理报错
drop synonym if exists `Key_Member`;
create synonym `Key_Member` for explain_test;
insert into `Key_Member` values (1,'ada'),(2, 'bob');
update `Key_Member` set `Key_Member`.name='cici' where `Key_Member`.id=2;
select * from `Key_Member`;
--清理环境
drop synonym if exists key_Member;
drop synonym if exists "Key_Member";
drop table if exists explain_test;
|
<reponame>salvegame197/fullcycledocker-challenge1
create SCHEMA DB_PFA;
create TABLE DB_PFA.TB_SUBJECTS (
CO_SUBJECT BIGINT AUTO_INCREMENT PRIMARY KEY,
DS_SUBJECT VARCHAR(255),
NU_HRS NUMERIC
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (1, 'Docker', 12);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (2, 'Fundamentos de Arquitetura de Software', 20);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (3, 'Comunicação', 10);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (4, 'RabbitMQ', 15);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (5, 'Autenticação Keycloak', 8);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (6, 'Domain Drive Design e Arquitetura hexagonal', 30);
INSERT INTO DB_PFA.TB_SUBJECTS (CO_SUBJECT, DS_SUBJECT, NU_HRS) VALUES (7, 'Arquitetura do projeto prático', 15);
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
|
CREATE DATABASE IF NOT EXISTS `plex-logging` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `plex-logging`;
-- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64)
--
-- Host: localhost Database: plexlogtest
-- ------------------------------------------------------
-- Server version 5.7.21-0ubuntu0.17.10.1
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `Episodes`
--
DROP TABLE IF EXISTS `Episodes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Episodes` (
`Season` int(10) unsigned NOT NULL,
`TSID` varchar(80) NOT NULL,
`Title` varchar(80) DEFAULT NULL,
`Episode` int(10) unsigned NOT NULL,
`LastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`Season`,`Episode`,`TSID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `MovieWatches`
--
DROP TABLE IF EXISTS `MovieWatches`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `MovieWatches` (
`StartTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UID` int(10) unsigned NOT NULL,
`MID` varchar(80) NOT NULL,
`PID` varchar(80) NOT NULL,
`Duration` int(10) unsigned DEFAULT NULL,
`Scrobbled` tinyint(1) DEFAULT '0',
PRIMARY KEY (`StartTime`,`UID`,`MID`,`PID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `Movies`
--
DROP TABLE IF EXISTS `Movies`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Movies` (
`ID` varchar(80) NOT NULL,
`Title` varchar(80) DEFAULT NULL,
`Duration` int(10) unsigned DEFAULT NULL,
`Year` int(10) unsigned DEFAULT NULL,
`Rating` double unsigned DEFAULT NULL,
`ContentRating` varchar(45) DEFAULT NULL,
`LastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`),
UNIQUE KEY `id_UNIQUE` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `Players`
--
DROP TABLE IF EXISTS `Players`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Players` (
`ID` varchar(80) NOT NULL,
`Title` varchar(80) DEFAULT NULL,
`LastUpdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID_UNIQUE` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `TVShowWatches`
--
DROP TABLE IF EXISTS `TVShowWatches`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `TVShowWatches` (
`StartTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UID` int(10) unsigned NOT NULL,
`TSID` varchar(80) NOT NULL,
`PID` varchar(80) NOT NULL,
`EID` int(10) unsigned NOT NULL,
`Duration` int(10) unsigned DEFAULT NULL,
`Scrobbled` tinyint(1) DEFAULT '0',
PRIMARY KEY (`StartTime`,`UID`,`TSID`,`PID`,`EID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `TVShows`
--
DROP TABLE IF EXISTS `TVShows`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `TVShows` (
`ID` varchar(80) NOT NULL,
`Title` varchar(80) DEFAULT NULL,
`Year` int(10) unsigned DEFAULT NULL,
`Rating` double DEFAULT NULL,
`ContentRating` varchar(50) DEFAULT NULL,
`LastUpdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `Users`
--
DROP TABLE IF EXISTS `Users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Users` (
`ID` int(10) unsigned NOT NULL,
`Title` varchar(80) DEFAULT NULL,
`LastUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID_UNIQUE` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-01-24 17:22:26
|
-- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 14, 2017 at 04:34 PM
-- Server version: 10.1.21-MariaDB
-- PHP Version: 7.1.1
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 utf8mb4 */;
--
-- Database: `nhatnga`
--
-- --------------------------------------------------------
--
-- Table structure for table `template`
--
CREATE TABLE `template` (
`id` int(10) UNSIGNED NOT NULL,
`name` longtext COLLATE utf8mb4_unicode_ci,
`data` text COLLATE utf8mb4_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `template`
--
INSERT INTO `template` (`id`, `name`, `data`, `created_at`, `updated_at`) VALUES
(1, 'tour-description', ' <h2>Product Description</h2>\r\n <p>Mattis interdum nunc massa. Velit. Nonummy penatibus luctus. Aliquam. Massa aptent senectus elementum taciti.Id sodales morbi felis eu mus auctor ullamcorper. Litora. In nostra tempus, habitant. Nam tristique.</p>\r\n <p>Felis venenatis metus placerat taciti malesuada ultricies bibendum nunc hymenaeos orci erat mollis pretium ligula ligulamus pellentesque urna. Sagittis bibendum justo congue facilisi. Aliquam potenti sagittis etiam facilisis vehicula. Id.</p>\r\n <table class=\"tours-tabs_table\">\r\n <tbody>\r\n <tr>\r\n <td><strong>DEPARTURE/RETURN LOCATION</strong></td>\r\n <td>San Francisco International Airport</td>\r\n </tr>\r\n <tr>\r\n <td><strong>DEPARTURE TIME</strong></td>\r\n <td>Please arrive at least 2 hours before the flight.</td>\r\n </tr>\r\n <tr>\r\n <td><strong>INCLUDED</strong></td>\r\n <td>\r\n <table>\r\n <tbody>\r\n <tr>\r\n <td><i class=\"fa fa-check icon-tick icon-tick--on\"></i>Airfare\r\n </td>\r\n <td><i class=\"fa fa-check icon-tick icon-tick--on\"></i>Accommodations\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <i class=\"fa fa-check icon-tick icon-tick--on\"></i>2 days cruise\r\n </td>\r\n <td>\r\n <i class=\"fa fa-check icon-tick icon-tick--on\"></i>Professional guide\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td><b>NOT INCLUDED</b></td>\r\n <td>\r\n <table>\r\n <tbody>\r\n <tr>\r\n <td>\r\n <i class=\"fa fa-times icon-tick icon-tick--off\"></i>Entrance fees\r\n </td>\r\n </tr>\r\n <tr>\r\n <td><i class=\"fa fa-times icon-tick icon-tick--off\"></i>Guide gratuity\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <p>Ridiculus sociis dui eu vivamus tempor justo diam aliquam. Ipsum nunc purus, pede sed placerat sit habitasse potenti eleifend magna mus sociosqu hymenaeos cras metus mi donec tortor nisi leo dignissim turpis sit torquent.</p>\r\n <p>Potenti mattis ad mollis eleifend Phasellus adipiscing ullamcorper interdum faucibus orci litora ornare aliquam. Ligula feugiat scelerisque. Molestie. Facilisi hac.</p>', NULL, NULL),
(2, 'tour-itinerary', ' <div class=\"interary-item\">\r\n <p><span class=\"icon-left\">1</span></p>\r\n <div class=\"item_content\">\r\n <h2><strong>Day 1: Departure</strong></h2>\r\n <p>Ornare proin neque tempus cubilia cubilia blandit netus.<br>\r\n Maecenas massa. Fermentum.</p>\r\n <ul>\r\n <li>Pretium vitae tempus sem enim enim.</li>\r\n <li>Tempus, leo, taciti augue aliquam hendrerit.</li>\r\n <li>Accumsan pharetra eros justo augue posuere felis elit cras montes fames.</li>\r\n <li>Vulputate dictumst egestas etiam dictum varius.</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"interary-item\">\r\n <p><span class=\"icon-left\">2</span></p>\r\n <div class=\"item_content\">\r\n <h2><strong>Day 2</strong></h2>\r\n <p>Tortor elementum egestas metus potenti habitasse tempus natoque senectus commodo rutrum quisque fermentum. Nisi velit primis dapibus odio consequat facilisi sollicitudin porta nulla tellus sagittis platea tempor sed parturient convallis consectetuer Vulputate curae; pharetra.</p>\r\n </div>\r\n </div>\r\n <div class=\"interary-item\">\r\n <p><span class=\"icon-left\">3</span></p>\r\n <div class=\"item_content\">\r\n <h2><strong>Day 3</strong></h2>\r\n <p>Fusce sagittis viverra lorem proin porttitor conubia risus vivamus. Mollis. Luctus curabitur porta nibh penatibus aliquet nec conubia magnis semper, sem feugiat scelerisque molestie. Nibh proin dapibus phasellus lacus. Facilisi.</p>\r\n </div>\r\n </div>\r\n <div class=\"interary-item\">\r\n <p><span class=\"icon-left\">4</span></p>\r\n <div class=\"item_content\">\r\n <h2><strong>Day 4</strong></h2>\r\n <p>Pretium consequat, facilisis sem in malesuada sodales et ipsum proin eleifend tincidunt, urna morbi metus quisque. Lacinia habitasse ridiculus sapien platea a cursus hendrerit tempor facilisi orci at tempor, senectus.</p>\r\n </div>\r\n </div>\r\n <div class=\"interary-item\">\r\n <p><span class=\"icon-left\">5</span></p>\r\n <div class=\"item_content\">\r\n <h2><strong>Day 5</strong></h2>\r\n <p>Egestas maecenas hac nullam integer at. Lacinia habitasse ridiculus sapien platea a cursus hendrerit tempor facilisi orci at tempor, senectus.</p>\r\n </div>\r\n </div>\r\n <div class=\"interary-item\">', NULL, NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `template`
--
ALTER TABLE `template`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `template`
--
ALTER TABLE `template`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
/*!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 */;
|
use pothiAromaterapia_db
CREATE TABLE Pessoa (
PessoaId int NOT NULL IDENTITY
, Cpf nvarchar(11) NOT NULL
, Nome nvarchar(100) NOT NULL
, Tel nvarchar(100) NULL
, Email nvarchar(100) NULL
, Sexo int NULL
, EstadoCivil int NULL
, Filhos bit NULL
, Animais bit NULL
, Fumante bit NULL
);
GO
ALTER TABLE Pessoa ADD CONSTRAINT PK_Pessoa PRIMARY KEY (PessoaId);
GO
CREATE TABLE Endereco (
EnderecoId int NOT NULL IDENTITY
, TipoLogradouro nvarchar(100) NULL
, Logradouro nvarchar(100) NULL
, Numero nvarchar(100) NULL
, Complemento nvarchar(100) NULL
, Cep nvarchar(8) NULL
, Cidade int NULL
, Estado int NULL
, PessoaId int NOT NULL
);
GO
ALTER TABLE Endereco ADD CONSTRAINT PK_Endereco PRIMARY KEY (EnderecoId);
GO
ALTER TABLE Endereco ADD CONSTRAINT FK_Pessoa_Endereco FOREIGN KEY (PessoaId) REFERENCES Pessoa(PessoaId) ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
CREATE TABLE Oleo (
OleoId int NOT NULL IDENTITY
, Nome nvarchar(11) NOT NULL
, Descricao nvarchar(100) NOT NULL
, Sintomas nvarchar(MAX) NULL
);
GO
ALTER TABLE Oleo ADD CONSTRAINT PK_Oleo PRIMARY KEY (OleoId);
GO
CREATE TABLE Sintoma (
SintomaId int NOT NULL IDENTITY
, Nome nvarchar(11) NOT NULL
, Descricao nvarchar(100) NOT NULL
, Oleos nvarchar(MAX) NULL
);
GO
ALTER TABLE Sintoma ADD CONSTRAINT PK_Sintoma PRIMARY KEY (SintomaId);
GO
CREATE TABLE Oleo_Sintoma (
Oleo_Sintoma_Id int IDENTITY
, OleoId int NOT NULL
, SintomaId int NOT NULL
);
GO
ALTER TABLE Oleo_Sintoma ADD CONSTRAINT PK_Oleo_Sintoma PRIMARY KEY (OleoId, SintomaId);
GO
ALTER TABLE Oleo_Sintoma ADD CONSTRAINT FK_Oleo_Oleo_Sintoma FOREIGN KEY (OleoId) REFERENCES Oleo(OleoId) ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
ALTER TABLE Oleo_Sintoma ADD CONSTRAINT FK_Sintoma_Oleo_Sintoma FOREIGN KEY (SintomaId) REFERENCES Sintoma(SintomaId) ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
drop table Oleo_Sintoma
drop table Sintoma
drop table Oleo
drop table Endereco
drop table Pessoa
|
<gh_stars>0
-- ***************************************************************************
-- File: 12_39.sql
--
-- Developed By TUSC
--
-- Disclaimer: Neither Osborne/McGraw-Hill, TUSC, nor the author warrant
-- that this source code is error-free. If any errors are
-- found in this source code, please report them to TUSC at
-- (630)960-2909 ext 1011 or <EMAIL>.
-- ***************************************************************************
SPOOL 12_39.lis
SET SERVEROUTPUT ON SIZE 1000000
DECLARE
lv_return_num NUMBER;
BEGIN
lv_return_num := math_calc('4*5', 2);
DBMS_OUTPUT.PUT_LINE('Value: ' || lv_return_num);
END;
/
SPOOL OFF
|
<reponame>actiononme/vulntest
-- MariaDB dump 10.18 Distrib 10.5.8-MariaDB, for Linux (x86_64)
--
-- Host: 127.0.0.1 Database: test
-- ------------------------------------------------------
-- Server version 10.5.8-MariaDB
/*!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 utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `comment`
--
DROP TABLE IF EXISTS `comment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comment` (
`name` varchar(30) NOT NULL,
`comment` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `comment`
--
LOCK TABLES `comment` WRITE;
/*!40000 ALTER TABLE `comment` DISABLE KEYS */;
INSERT INTO `comment` VALUES ('test','test');
/*!40000 ALTER TABLE `comment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `test1`
--
DROP TABLE IF EXISTS `test1`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `test1` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(100) NOT NULL,
`pass` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `test1`
--
LOCK TABLES `test1` WRITE;
/*!40000 ALTER TABLE `test1` DISABLE KEYS */;
INSERT INTO `test1` VALUES (2,'user','pass'),(23,'a','t'),(24,'t','t'),(25,'2','2'),(26,'1','22');
/*!40000 ALTER TABLE `test1` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_agent`
--
DROP TABLE IF EXISTS `user_agent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_agent` (
`user_agent_id` int(11) NOT NULL AUTO_INCREMENT,
`user_agent` varchar(150) NOT NULL,
PRIMARY KEY (`user_agent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_agent`
--
LOCK TABLES `user_agent` WRITE;
/*!40000 ALTER TABLE `user_agent` DISABLE KEYS */;
INSERT INTO `user_agent` VALUES (1,'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'),(2,'<PASSWORD>');
/*!40000 ALTER TABLE `user_agent` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-12-20 12:56:56
|
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (1, '<EMAIL>', '127.0.0.1', 0, 0, 1, 1, 0, 0, '2021-9-7 19:04:30', '2021-9-7 19:04:30');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (2, '<EMAIL>', '127.0.0.1', 0, 0, 1, 1, 0, 0, '2021-9-8 08:19:00', '2021-9-8 08:19:00');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (3, '<EMAIL>', '127.0.0.1', 0, 0, 0, 1, 1, 1, '2021-9-8 08:55:47', '2021-9-8 08:55:47');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (4, '<EMAIL>', '127.0.0.1', 0, 1, 0, 0, 0, 0, '2021-9-8 09:48:06', '2021-9-8 09:48:06');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (5, '4<EMAIL>', '127.0.0.1', 1, 0, 0, 0, 0, 0, '2021-9-8 11:03:41', '2021-9-8 11:03:41');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (6, '<EMAIL>', '127.0.0.1', 1, 0, 0, 0, 0, 0, '2021-9-8 11:03:46', '2021-9-8 11:03:46');
INSERT INTO `records` (`id`, `email`, `ip`, `q1`, `q21`, `q22`, `q23`, `q24`, `q25`, `created_at`, `updated_at`) VALUES (7, '645453<EMAIL>', '127.0.0.1', 0, 0, 0, 1, 1, 0, '2021-9-8 11:03:55', '2021-9-8 11:03:55');
|
<reponame>jeffreypolk/FF
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
CREATE TABLE [FF].[Player](
[PlayerId] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](50) NOT NULL,
[NFLTeam] [varchar](50) NOT NULL,
[Position] [varchar](50) NOT NULL,
[Age] [int] NOT NULL,
[Experience] [int] NOT NULL,
[ADP] [decimal](10, 2) NOT NULL,
[DepthChart] [int] NOT NULL,
[Year] [int] NOT NULL,
CONSTRAINT [PK_Player] PRIMARY KEY CLUSTERED
(
[PlayerId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GRANT DELETE ON [FF].[Player] TO [DataUser] AS [dbo]
GRANT INSERT ON [FF].[Player] TO [DataUser] AS [dbo]
GRANT SELECT ON [FF].[Player] TO [DataUser] AS [dbo]
GRANT UPDATE ON [FF].[Player] TO [DataUser] AS [dbo]
ALTER TABLE [FF].[Player] ADD CONSTRAINT [DF_Player_Age] DEFAULT ((0)) FOR [Age]
ALTER TABLE [FF].[Player] ADD CONSTRAINT [DF_Player_Experience] DEFAULT ((0)) FOR [Experience]
ALTER TABLE [FF].[Player] ADD CONSTRAINT [DF_Player_ADP] DEFAULT ((999)) FOR [ADP]
ALTER TABLE [FF].[Player] ADD CONSTRAINT [DF_Player_DepthChart] DEFAULT ((0)) FOR [DepthChart]
ALTER TABLE [FF].[Player] ADD CONSTRAINT [DF_Player_Year] DEFAULT (datepart(year,getdate())) FOR [Year]
GO
|
<filename>db/migrations/000001_init_schema.up.sql
CREATE TABLE "accounts" (
"id" SERIAL PRIMARY KEY,
"name" VARCHAR(255) NOT NULL,
"email" VARCHAR(255) UNIQUE NOT NULL,
"hashed_password" VARCHAR(255) NOT NULL,
"avatar_url" VARCHAR(255) NOT NULL DEFAULT ('avatars/deafault_avatar.jpeg'),
"is_admin" BOOLEAN NOT NULL DEFAULT false,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "books" (
"id" SERIAL PRIMARY KEY,
"title" VARCHAR(1023) NOT NULL,
"author" VARCHAR(511) NOT NULL,
"description" VARCHAR(2047) NOT NULL,
"year" SMALLINT NOT NULL,
"language" VARCHAR(127) NOT NULL,
"publisher" VARCHAR(511) NOT NULL,
"pages" SMALLINT NOT NULL,
"cover_url" VARCHAR(255) NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "categories" (
"id" SERIAL PRIMARY KEY,
"name" VARCHAR(255) NOT NULL,
"description" VARCHAR(2047) NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "book_category" (
"book_id" INT NOT NULL,
"category_id" INT NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "bookmarks" (
"id" SERIAL PRIMARY KEY,
"book_id" INT NOT NULL,
"type" INT NOT NULL,
"created_by" INT NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "rates" (
"id" SERIAL PRIMARY KEY,
"book_id" INT NOT NULL,
"created_by" INT NOT NULL,
"rate_value" INT NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE TABLE "comments" (
"id" SERIAL PRIMARY KEY,
"content" VARCHAR(1000) NOT NULL,
"book_id" INT NOT NULL,
"created_by" INT NOT NULL,
"created_at" TIMESTAMP NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);
CREATE INDEX ON "accounts" ("email");
CREATE INDEX ON "accounts" ("is_admin");
CREATE INDEX ON "books" ("title");
CREATE INDEX ON "books" ("author");
CREATE INDEX ON "books" ("language");
CREATE INDEX ON "books" ("publisher");
CREATE INDEX ON "categories" ("name");
CREATE INDEX ON "book_category" ("book_id");
CREATE INDEX ON "book_category" ("category_id");
CREATE UNIQUE INDEX ON "book_category" ("book_id", "category_id");
CREATE INDEX ON "bookmarks" ("book_id");
CREATE UNIQUE INDEX ON "bookmarks" ("book_id", "created_by");
CREATE INDEX ON "rates" ("book_id");
CREATE UNIQUE INDEX ON "rates" ("book_id", "created_by");
CREATE INDEX ON "comments" ("book_id");
CREATE INDEX ON "comments" ("created_by");
ALTER TABLE "book_category" ADD FOREIGN KEY ("book_id") REFERENCES "books" ("id");
ALTER TABLE "book_category" ADD FOREIGN KEY ("category_id") REFERENCES "categories" ("id");
ALTER TABLE "bookmarks" ADD FOREIGN KEY ("book_id") REFERENCES "books" ("id");
ALTER TABLE "bookmarks" ADD FOREIGN KEY ("created_by") REFERENCES "accounts" ("id");
ALTER TABLE "rates" ADD FOREIGN KEY ("book_id") REFERENCES "books" ("id");
ALTER TABLE "rates" ADD FOREIGN KEY ("created_by") REFERENCES "accounts" ("id");
ALTER TABLE "comments" ADD FOREIGN KEY ("book_id") REFERENCES "books" ("id");
ALTER TABLE "comments" ADD FOREIGN KEY ("created_by") REFERENCES "accounts" ("id");
|
<filename>Queries/Employee_Database_challenge.sql
SELECT e.emp_no,
e.first_name,
e.last_name,
t.title,
t.from_date,
t.to_date
INTO retirement_titles
FROM employees as e
INNER JOIN titles as t
ON e.emp_no = t.emp_no
WHERE (birth_date BETWEEN '1952-01-01' AND '1955-12-31')
ORDER BY e.emp_no;
SELECT emp_no,
first_name,
last_name,
title
FROM retirement_titles
-- Use Dictinct with Orderby to remove duplicate rows
SELECT DISTINCT ON (emp_no) emp_no,
first_name,
last_name,
title
INTO unique_titles
FROM retirement_titles
WHERE to_date = ('9999-01-01')
ORDER BY emp_no, to_date DESC;
-- Count by most recent job title
SELECT COUNT(title), title
INTO retiring_titles
FROM unique_titles
GROUP BY title
ORDER BY COUNT DESC;
-- The employees eligible for the mentorship program
SELECT DISTINCT ON (e.emp_no) e.emp_no,
e.first_name,
e.last_name,
e.birth_date,
de.from_date,
de.to_date,
t.title
INTO mentorship_eligibility
FROM employees AS e
INNER JOIN dept_emp AS de
ON (e.emp_no = de.emp_no)
INNER JOIN titles AS t
ON (e.emp_no = t.emp_no)
WHERE (de.to_date = '9999-01-01')
AND (e.birth_date BETWEEN '1965-01-01' AND '1965-12-31')
ORDER BY e.emp_no;
-- Two additional queries
-- The employees who can be the mentors (1956-1965)
SELECT DISTINCT ON (e.emp_no) e.emp_no,
e.first_name,
e.last_name,
e.birth_date,
de.from_date,
de.to_date,
t.title
INTO mentor_employees
FROM employees AS e
INNER JOIN dept_emp AS de
ON (e.emp_no = de.emp_no)
INNER JOIN titles AS t
ON (e.emp_no = t.emp_no)
WHERE (de.to_date = '9999-01-01')
AND (e.birth_date BETWEEN '1956-01-01' AND '1965-12-31')
ORDER BY e.emp_no;
-- The number of mentors by title
SELECT COUNT (title), title
FROM mentor_employees
GROUP BY title
ORDER BY COUNT DESC;
|
<reponame>alvinnava13/foodie-blog<filename>src/main/resources/data.sql<gh_stars>0
INSERT INTO user (first_name, last_name, username, password) VALUES
('Alvin', 'Nava', 'alvinnava', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('John', 'Doe', 'johndoe', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Frank', 'Sinatra', 'franksinatra', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Lebron', 'James', 'theking', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Will', 'Smith', 'freshprince', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Jaden', 'Smith', 'karatekid', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Kevin', 'Durant', 'eas<PASSWORD>', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu'),
('Paul', 'Walker', 'legend', '$2a$10$UUzt5vuagwwRgKBdjguksugN4bGPM7mjKZP1gtrlegaAkxXcrVfJu');
INSERT INTO recipe (category, recipe_title, description, time_to_cook, posted) VALUES
('Lunch', 'BeetSalad', 'Yummy beet salad', '5 min', 'June 14, 2020'),
('Breakfast', 'Oatmeal', 'Granola', '2 min', 'June 15, 2020'),
('Dinner', 'Lasagna', 'Tasty and cheesy', '45 min', 'June 20, 2020');
|
/*
SQLyog Ultimate v12.2.6 (64 bit)
MySQL - 10.2.36-MariaDB-cll-lve : Database - bbdb4393_dahlolet
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`dahlolet` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `dahlolet`;
/*Data for the table `cart` */
/*Data for the table `detail_transaksi` */
insert into `detail_transaksi`(`id_transaksi`,`id_menu`,`qty`,`harga`,`total_harga`) values
(1,'MN-0005',2,22000,44000),
(1,'MN-0008',1,18000,18000),
(2,'MN-0003',2,24000,48000),
(2,'MN-0004',1,23000,23000),
(2,'MN-0005',1,22000,22000),
(2,'MN-0006',1,18000,18000);
/*Data for the table `failed_jobs` */
/*Data for the table `kategori` */
insert into `kategori`(`id_kategori`,`nama`) values
(1,'Base Milk'),
(2,'Fruit Variant'),
(3,'Non Dairy'),
(4,'Base Milk');
/*Data for the table `menu` */
insert into `menu`(`id_menu`,`id_kategori`,`nama`,`harga`,`gambar`,`status`) values
('MN-0001','1','Twin Cup',42000,'MN-0001.svg',0),
('MN-0002','1','Thai Tea Big Cup',22000,'MN-0002.svg',0),
('MN-0003','1','Thai Green Tea',24000,'MN-0003.jpeg',1),
('MN-0004','1','Milo Coffee',23000,'MN-0004.jpeg',1),
('MN-0005','1','Thai Coffee',22000,'MN-0005.jpeg',1),
('MN-0006','2','Mango Thai Tea',18000,'MN-0006.jpeg',1),
('MN-0007','2','Taro Thai Tea',18000,'MN-0007.svg',1),
('MN-0008','2','Strawberry Thai Tea',18000,'MN-0008.svg',1),
('MN-0009','2','Chocolate Thai Tea',23000,'MN-0009.svg',1),
('MN-0010','2','Thai Mint Tea',18000,'MN-0010.svg',1),
('MN-0011','3','Thai Black Coffee',15000,'MN-0011.svg',1),
('MN-0012','3','Thai Black Tea',15000,'MN-0012.svg',1),
('MN-0013','3','Es Kopi Espresso',18000,'MN-0013.jpeg',1);
/*Data for the table `migrations` */
insert into `migrations`(`id`,`migration`,`batch`) values
(1,'2014_10_12_000000_create_users_table',1),
(2,'2019_08_19_000000_create_failed_jobs_table',1),
(3,'2020_05_02_172609_create_kategori_table',1),
(4,'2020_05_02_180115_create_menu_table',1),
(5,'2020_05_06_074400_create_cart_table',1),
(6,'2020_10_13_091743_create_transaksi_table',1),
(7,'2020_10_14_095539_detail_transaksi',1);
/*Data for the table `transaksi` */
insert into `transaksi`(`id`,`tanggal`,`nama_pelanggan`,`qty`,`grand_total`,`status`,`created_at`,`updated_at`) values
(1,'2020-10-14','Kadek',3,62000,'Selesai','2020-10-14 19:29:10','2020-10-14 19:30:18'),
(2,'2020-10-16','Ary',5,111000,'Selesai','2020-10-16 17:43:00','2020-10-16 17:47:54');
/*Data for the table `users` */
insert into `users`(`id`,`nama`,`telp`,`username`,`password`,`jabatan`,`remember_token`,`created_at`,`updated_at`) values
(1,'Kasir','081234567890','kasir','$2y$10$gJrWhflTJie4rjYxuAtHv.BMCVEf/Spk23uf2msiObzN7k4vwaJYG','Kasir',NULL,'2020-10-14 19:01:28','2020-10-14 19:01:28'),
(2,'Admin','087763123321','admin','$2y$10$JkMMKr4wSwUrkplU8sWPcungHUDFWqo9gOWeHKt1tIcYqazlwsd.K','Admin',NULL,'2020-10-14 19:01:28','2020-10-14 19:01:28'),
(3,'Dapur','087763321321','dapur','$2y$10$l/4.sNcqmOh6zhxSkHQxmej.F18REJQ2DScp7dcRi68mijayL.doS','Dapur',NULL,'2020-10-14 19:01:28','2020-10-14 19:01:28');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 16, 2017 at 09:39 AM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 5.6.28
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 utf8mb4 */;
--
-- Database: `slamcom`
--
-- --------------------------------------------------------
--
-- Table structure for table `timetable`
--
CREATE TABLE `timetable` (
`timeIn` datetime NOT NULL,
`timeOut` datetime NOT NULL,
`HoursMade` int(11) NOT NULL,
`userID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`userID` int(11) NOT NULL,
`firstname` varchar(30) NOT NULL,
`lastname` varchar(30) NOT NULL,
`emailadd` varchar(50) NOT NULL,
`password` varchar(255) NOT NULL,
`active` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`userID`, `firstname`, `lastname`, `emailadd`, `password`, `active`) VALUES
(1, '<NAME>', '<PASSWORD>', '<EMAIL>', '$2y$10$1d.SE/noFB4d643Vz/iC6./s0I1ZjZP20jxmJFwJPae9NujtuN<PASSWORD>', 1),
(2, '<NAME>', 'Wang', '<EMAIL>', <PASSWORD>', 1),
(3, '<NAME>', 'Zaragoza', '<EMAIL>', <PASSWORD>', 1),
(4, '<NAME>', 'The Faggot', '<EMAIL>', '$2y$10$XFNTYeSs395lvfk9sP16HOShCsJIAQHVTxyJpVfonxqbh57X6IoDa', 1),
(5, '<NAME>', 'Faggot', '<EMAIL>', '$2y$10$jp2ghrlSP.rd/Gir7OkomOb/5OlB0mVKgEJIhT2xyIwrjmwOM0oPi', 1);
-- --------------------------------------------------------
--
-- Table structure for table `userschedule`
--
CREATE TABLE `userschedule` (
`timeIn` datetime NOT NULL,
`timeOut` datetime NOT NULL,
`userID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `wp_commentmeta`
--
CREATE TABLE `wp_commentmeta` (
`meta_id` bigint(20) UNSIGNED NOT NULL,
`comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `wp_comments`
--
CREATE TABLE `wp_comments` (
`comment_ID` bigint(20) UNSIGNED NOT NULL,
`comment_post_ID` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`comment_author` tinytext COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_author_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_author_url` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_author_IP` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_karma` int(11) NOT NULL DEFAULT '0',
`comment_approved` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
`comment_agent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_parent` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`user_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_comments`
--
INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES
(1, 1, 'A WordPress Commenter', '<EMAIL>', 'https://wordpress.org/', '', '2017-10-09 09:59:39', '2017-10-09 09:59:39', 'Hi, this is a comment.\nTo get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.\nCommenter avatars come from <a href="https://gravatar.com">Gravatar</a>.', 0, '1', '', '', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `wp_links`
--
CREATE TABLE `wp_links` (
`link_id` bigint(20) UNSIGNED NOT NULL,
`link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_target` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_visible` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y',
`link_owner` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
`link_rating` int(11) NOT NULL DEFAULT '0',
`link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`link_rel` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_notes` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
`link_rss` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `wp_options`
--
CREATE TABLE `wp_options` (
`option_id` bigint(20) UNSIGNED NOT NULL,
`option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_options`
--
INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
(1, 'siteurl', 'http://localhost/wordpress', 'yes'),
(2, 'home', 'http://localhost/wordpress', 'yes'),
(3, 'blogname', 'slamcom timestamp app', 'yes'),
(4, 'blogdescription', 'A time table site for our beloved employees', 'yes'),
(5, 'users_can_register', '0', 'yes'),
(6, 'admin_email', '<EMAIL>', 'yes'),
(7, 'start_of_week', '1', 'yes'),
(8, 'use_balanceTags', '0', 'yes'),
(9, 'use_smilies', '1', 'yes'),
(10, 'require_name_email', '1', 'yes'),
(11, 'comments_notify', '1', 'yes'),
(12, 'posts_per_rss', '10', 'yes'),
(13, 'rss_use_excerpt', '0', 'yes'),
(14, 'mailserver_url', 'mail.example.com', 'yes'),
(15, 'mailserver_login', '<EMAIL>', 'yes'),
(16, 'mailserver_pass', 'password', 'yes'),
(17, 'mailserver_port', '110', 'yes'),
(18, 'default_category', '1', 'yes'),
(19, 'default_comment_status', 'open', 'yes'),
(20, 'default_ping_status', 'open', 'yes'),
(21, 'default_pingback_flag', '0', 'yes'),
(22, 'posts_per_page', '10', 'yes'),
(23, 'date_format', 'F j, Y', 'yes'),
(24, 'time_format', 'g:i a', 'yes'),
(25, 'links_updated_date_format', 'F j, Y g:i a', 'yes'),
(26, 'comment_moderation', '0', 'yes'),
(27, 'moderation_notify', '1', 'yes'),
(28, 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/', 'yes'),
(29, 'rewrite_rules', 'a:90:{s:11:"^wp-json/?$";s:22:"index.php?rest_route=/";s:14:"^wp-json/(.*)?";s:33:"index.php?rest_route=/$matches[1]";s:21:"^index.php/wp-json/?$";s:22:"index.php?rest_route=/";s:24:"^index.php/wp-json/(.*)?";s:33:"index.php?rest_route=/$matches[1]";s:47:"category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$";s:52:"index.php?category_name=$matches[1]&feed=$matches[2]";s:42:"category/(.+?)/(feed|rdf|rss|rss2|atom)/?$";s:52:"index.php?category_name=$matches[1]&feed=$matches[2]";s:23:"category/(.+?)/embed/?$";s:46:"index.php?category_name=$matches[1]&embed=true";s:35:"category/(.+?)/page/?([0-9]{1,})/?$";s:53:"index.php?category_name=$matches[1]&paged=$matches[2]";s:17:"category/(.+?)/?$";s:35:"index.php?category_name=$matches[1]";s:44:"tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:42:"index.php?tag=$matches[1]&feed=$matches[2]";s:39:"tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:42:"index.php?tag=$matches[1]&feed=$matches[2]";s:20:"tag/([^/]+)/embed/?$";s:36:"index.php?tag=$matches[1]&embed=true";s:32:"tag/([^/]+)/page/?([0-9]{1,})/?$";s:43:"index.php?tag=$matches[1]&paged=$matches[2]";s:14:"tag/([^/]+)/?$";s:25:"index.php?tag=$matches[1]";s:45:"type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:50:"index.php?post_format=$matches[1]&feed=$matches[2]";s:40:"type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:50:"index.php?post_format=$matches[1]&feed=$matches[2]";s:21:"type/([^/]+)/embed/?$";s:44:"index.php?post_format=$matches[1]&embed=true";s:33:"type/([^/]+)/page/?([0-9]{1,})/?$";s:51:"index.php?post_format=$matches[1]&paged=$matches[2]";s:15:"type/([^/]+)/?$";s:33:"index.php?post_format=$matches[1]";s:48:".*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\.php$";s:18:"index.php?feed=old";s:20:".*wp-app\\.php(/.*)?$";s:19:"index.php?error=403";s:18:".*wp-register.php$";s:23:"index.php?register=true";s:32:"feed/(feed|rdf|rss|rss2|atom)/?$";s:27:"index.php?&feed=$matches[1]";s:27:"(feed|rdf|rss|rss2|atom)/?$";s:27:"index.php?&feed=$matches[1]";s:8:"embed/?$";s:21:"index.php?&embed=true";s:20:"page/?([0-9]{1,})/?$";s:28:"index.php?&paged=$matches[1]";s:27:"comment-page-([0-9]{1,})/?$";s:38:"index.php?&page_id=7&cpage=$matches[1]";s:41:"comments/feed/(feed|rdf|rss|rss2|atom)/?$";s:42:"index.php?&feed=$matches[1]&withcomments=1";s:36:"comments/(feed|rdf|rss|rss2|atom)/?$";s:42:"index.php?&feed=$matches[1]&withcomments=1";s:17:"comments/embed/?$";s:21:"index.php?&embed=true";s:44:"search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:40:"index.php?s=$matches[1]&feed=$matches[2]";s:39:"search/(.+)/(feed|rdf|rss|rss2|atom)/?$";s:40:"index.php?s=$matches[1]&feed=$matches[2]";s:20:"search/(.+)/embed/?$";s:34:"index.php?s=$matches[1]&embed=true";s:32:"search/(.+)/page/?([0-9]{1,})/?$";s:41:"index.php?s=$matches[1]&paged=$matches[2]";s:14:"search/(.+)/?$";s:23:"index.php?s=$matches[1]";s:47:"author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:50:"index.php?author_name=$matches[1]&feed=$matches[2]";s:42:"author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:50:"index.php?author_name=$matches[1]&feed=$matches[2]";s:23:"author/([^/]+)/embed/?$";s:44:"index.php?author_name=$matches[1]&embed=true";s:35:"author/([^/]+)/page/?([0-9]{1,})/?$";s:51:"index.php?author_name=$matches[1]&paged=$matches[2]";s:17:"author/([^/]+)/?$";s:33:"index.php?author_name=$matches[1]";s:69:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$";s:80:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]";s:64:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$";s:80:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]";s:45:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$";s:74:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true";s:57:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$";s:81:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]";s:39:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$";s:63:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]";s:56:"([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$";s:64:"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]";s:51:"([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$";s:64:"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]";s:32:"([0-9]{4})/([0-9]{1,2})/embed/?$";s:58:"index.php?year=$matches[1]&monthnum=$matches[2]&embed=true";s:44:"([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$";s:65:"index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]";s:26:"([0-9]{4})/([0-9]{1,2})/?$";s:47:"index.php?year=$matches[1]&monthnum=$matches[2]";s:43:"([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$";s:43:"index.php?year=$matches[1]&feed=$matches[2]";s:38:"([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$";s:43:"index.php?year=$matches[1]&feed=$matches[2]";s:19:"([0-9]{4})/embed/?$";s:37:"index.php?year=$matches[1]&embed=true";s:31:"([0-9]{4})/page/?([0-9]{1,})/?$";s:44:"index.php?year=$matches[1]&paged=$matches[2]";s:13:"([0-9]{4})/?$";s:26:"index.php?year=$matches[1]";s:58:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/?$";s:32:"index.php?attachment=$matches[1]";s:68:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/trackback/?$";s:37:"index.php?attachment=$matches[1]&tb=1";s:88:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:83:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:83:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$";s:50:"index.php?attachment=$matches[1]&cpage=$matches[2]";s:64:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/embed/?$";s:43:"index.php?attachment=$matches[1]&embed=true";s:53:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/embed/?$";s:91:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&embed=true";s:57:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/?$";s:85:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&tb=1";s:77:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:97:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]";s:72:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:97:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]";s:65:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/page/?([0-9]{1,})/?$";s:98:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&paged=$matches[5]";s:72:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/comment-page-([0-9]{1,})/?$";s:98:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&cpage=$matches[5]";s:61:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(?:/([0-9]+))?/?$";s:97:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&page=$matches[5]";s:47:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/?$";s:32:"index.php?attachment=$matches[1]";s:57:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/trackback/?$";s:37:"index.php?attachment=$matches[1]&tb=1";s:77:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:72:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:72:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$";s:50:"index.php?attachment=$matches[1]&cpage=$matches[2]";s:53:"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/embed/?$";s:43:"index.php?attachment=$matches[1]&embed=true";s:64:"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$";s:81:"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&cpage=$matches[4]";s:51:"([0-9]{4})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$";s:65:"index.php?year=$matches[1]&monthnum=$matches[2]&cpage=$matches[3]";s:38:"([0-9]{4})/comment-page-([0-9]{1,})/?$";s:44:"index.php?year=$matches[1]&cpage=$matches[2]";s:27:".?.+?/attachment/([^/]+)/?$";s:32:"index.php?attachment=$matches[1]";s:37:".?.+?/attachment/([^/]+)/trackback/?$";s:37:"index.php?attachment=$matches[1]&tb=1";s:57:".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:52:".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$";s:49:"index.php?attachment=$matches[1]&feed=$matches[2]";s:52:".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$";s:50:"index.php?attachment=$matches[1]&cpage=$matches[2]";s:33:".?.+?/attachment/([^/]+)/embed/?$";s:43:"index.php?attachment=$matches[1]&embed=true";s:16:"(.?.+?)/embed/?$";s:41:"index.php?pagename=$matches[1]&embed=true";s:20:"(.?.+?)/trackback/?$";s:35:"index.php?pagename=$matches[1]&tb=1";s:40:"(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$";s:47:"index.php?pagename=$matches[1]&feed=$matches[2]";s:35:"(.?.+?)/(feed|rdf|rss|rss2|atom)/?$";s:47:"index.php?pagename=$matches[1]&feed=$matches[2]";s:28:"(.?.+?)/page/?([0-9]{1,})/?$";s:48:"index.php?pagename=$matches[1]&paged=$matches[2]";s:35:"(.?.+?)/comment-page-([0-9]{1,})/?$";s:48:"index.php?pagename=$matches[1]&cpage=$matches[2]";s:24:"(.?.+?)(?:/([0-9]+))?/?$";s:47:"index.php?pagename=$matches[1]&page=$matches[2]";}', 'yes'),
(30, 'hack_file', '0', 'yes'),
(31, 'blog_charset', 'UTF-8', 'yes'),
(32, 'moderation_keys', '', 'no'),
(33, 'active_plugins', 'a:1:{i:0;s:35:"shiftcontroller/shiftcontroller.php";}', 'yes'),
(34, 'category_base', '', 'yes'),
(35, 'ping_sites', 'http://rpc.pingomatic.com/', 'yes'),
(36, 'comment_max_links', '2', 'yes'),
(37, 'gmt_offset', '0', 'yes'),
(38, 'default_email_category', '1', 'yes'),
(39, 'recently_edited', '', 'no'),
(40, 'template', 'twentyseventeen', 'yes'),
(41, 'stylesheet', 'twentyseventeen', 'yes'),
(42, 'comment_whitelist', '1', 'yes'),
(43, 'blacklist_keys', '', 'no'),
(44, 'comment_registration', '0', 'yes'),
(45, 'html_type', 'text/html', 'yes'),
(46, 'use_trackback', '0', 'yes'),
(47, 'default_role', 'subscriber', 'yes'),
(48, 'db_version', '38590', 'yes'),
(49, 'uploads_use_yearmonth_folders', '1', 'yes'),
(50, 'upload_path', '', 'yes'),
(51, 'blog_public', '0', 'yes'),
(52, 'default_link_category', '2', 'yes'),
(53, 'show_on_front', 'page', 'yes'),
(54, 'tag_base', '', 'yes'),
(55, 'show_avatars', '1', 'yes'),
(56, 'avatar_rating', 'G', 'yes'),
(57, 'upload_url_path', '', 'yes'),
(58, 'thumbnail_size_w', '150', 'yes'),
(59, 'thumbnail_size_h', '150', 'yes'),
(60, 'thumbnail_crop', '1', 'yes'),
(61, 'medium_size_w', '300', 'yes'),
(62, 'medium_size_h', '300', 'yes'),
(63, 'avatar_default', 'mystery', 'yes'),
(64, 'large_size_w', '1024', 'yes'),
(65, 'large_size_h', '1024', 'yes'),
(66, 'image_default_link_type', 'none', 'yes'),
(67, 'image_default_size', '', 'yes'),
(68, 'image_default_align', '', 'yes'),
(69, 'close_comments_for_old_posts', '0', 'yes'),
(70, 'close_comments_days_old', '14', 'yes'),
(71, 'thread_comments', '1', 'yes'),
(72, 'thread_comments_depth', '5', 'yes'),
(73, 'page_comments', '0', 'yes'),
(74, 'comments_per_page', '50', 'yes'),
(75, 'default_comments_page', 'newest', 'yes'),
(76, 'comment_order', 'asc', 'yes'),
(77, 'sticky_posts', 'a:0:{}', 'yes'),
(78, 'widget_categories', 'a:2:{i:2;a:4:{s:5:"title";s:0:"";s:5:"count";i:0;s:12:"hierarchical";i:0;s:8:"dropdown";i:0;}s:12:"_multiwidget";i:1;}', 'yes'),
(79, 'widget_text', 'a:5:{i:2;a:4:{s:5:"title";s:7:"Find Us";s:4:"text";s:168:"<strong>Address</strong>\n123 Main Street\nNew York, NY 10001\n\n<strong>Hours</strong>\nMonday—Friday: 9:00AM–5:00PM\nSaturday & Sunday: 11:00AM–3:00PM";s:6:"filter";b:1;s:6:"visual";b:1;}i:3;a:4:{s:5:"title";s:15:"About This Site";s:4:"text";s:85:"This may be a good place to introduce yourself and your site or include some credits.";s:6:"filter";b:1;s:6:"visual";b:1;}i:4;a:4:{s:5:"title";s:7:"Find Us";s:4:"text";s:168:"<strong>Address</strong>\n123 Main Street\nNew York, NY 10001\n\n<strong>Hours</strong>\nMonday—Friday: 9:00AM–5:00PM\nSaturday & Sunday: 11:00AM–3:00PM";s:6:"filter";b:1;s:6:"visual";b:1;}i:5;a:4:{s:5:"title";s:15:"About This Site";s:4:"text";s:85:"This may be a good place to introduce yourself and your site or include some credits.";s:6:"filter";b:1;s:6:"visual";b:1;}s:12:"_multiwidget";i:1;}', 'yes'),
(80, 'widget_rss', 'a:2:{i:1;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'),
(81, 'uninstall_plugins', 'a:1:{s:35:"shiftcontroller/shiftcontroller.php";a:2:{i:0;s:15:"ShiftController";i:1;s:9:"uninstall";}}', 'no'),
(82, 'timezone_string', '', 'yes'),
(83, 'page_for_posts', '10', 'yes'),
(84, 'page_on_front', '7', 'yes'),
(85, 'default_post_format', '0', 'yes'),
(86, 'link_manager_enabled', '0', 'yes'),
(87, 'finished_splitting_shared_terms', '1', 'yes'),
(88, 'site_icon', '0', 'yes'),
(89, 'medium_large_size_w', '768', 'yes'),
(90, 'medium_large_size_h', '0', 'yes'),
(91, 'initial_db_version', '38590', 'yes'),
(92, 'wp_user_roles', 'a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:61:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}', 'yes'),
(93, 'fresh_site', '0', 'yes'),
(94, 'widget_search', 'a:4:{i:2;a:1:{s:5:"title";s:0:"";}s:12:"_multiwidget";i:1;i:3;a:1:{s:5:"title";s:6:"Search";}i:4;a:1:{s:5:"title";s:6:"Search";}}', 'yes'),
(95, 'widget_recent-posts', 'a:2:{i:2;a:2:{s:5:"title";s:0:"";s:6:"number";i:5;}s:12:"_multiwidget";i:1;}', 'yes'),
(96, 'widget_recent-comments', 'a:2:{i:2;a:2:{s:5:"title";s:0:"";s:6:"number";i:5;}s:12:"_multiwidget";i:1;}', 'yes'),
(97, 'widget_archives', 'a:2:{i:2;a:3:{s:5:"title";s:0:"";s:5:"count";i:0;s:8:"dropdown";i:0;}s:12:"_multiwidget";i:1;}', 'yes'),
(98, 'widget_meta', 'a:2:{i:2;a:1:{s:5:"title";s:0:"";}s:12:"_multiwidget";i:1;}', 'yes'),
(99, 'sidebars_widgets', 'a:5:{s:19:"wp_inactive_widgets";a:0:{}s:9:"sidebar-1";a:3:{i:0;s:6:"text-2";i:1;s:8:"search-3";i:2;s:6:"text-3";}s:9:"sidebar-2";a:1:{i:0;s:6:"text-4";}s:9:"sidebar-3";a:2:{i:0;s:6:"text-5";i:1;s:8:"search-4";}s:13:"array_version";i:3;}', 'yes'),
(100, 'widget_pages', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(101, 'widget_calendar', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(102, 'widget_media_audio', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(103, 'widget_media_image', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(104, 'widget_media_video', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(105, 'widget_tag_cloud', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(106, 'widget_nav_menu', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(107, 'widget_custom_html', 'a:1:{s:12:"_multiwidget";i:1;}', 'yes'),
(108, 'cron', 'a:4:{i:1507586381;a:3:{s:16:"wp_version_check";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:17:"wp_update_plugins";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:16:"wp_update_themes";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}}i:1507631421;a:1:{s:19:"wp_scheduled_delete";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}}i:1507632310;a:1:{s:30:"wp_scheduled_auto_draft_delete";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}}s:7:"version";i:2;}', 'yes'),
(109, 'theme_mods_twentyseventeen', 'a:6:{s:18:"custom_css_post_id";i:-1;s:18:"nav_menu_locations";a:2:{s:3:"top";i:2;s:6:"social";i:3;}s:7:"panel_1";i:11;s:7:"panel_2";i:8;s:7:"panel_3";i:10;s:7:"panel_4";i:9;}', 'yes'),
(113, '_site_transient_update_core', 'O:8:"stdClass":4:{s:7:"updates";a:1:{i:0;O:8:"stdClass":10:{s:8:"response";s:6:"latest";s:8:"download";s:59:"https://downloads.wordpress.org/release/wordpress-4.8.1.zip";s:6:"locale";s:5:"en_US";s:8:"packages";O:8:"stdClass":5:{s:4:"full";s:59:"https://downloads.wordpress.org/release/wordpress-4.8.1.zip";s:10:"no_content";s:70:"https://downloads.wordpress.org/release/wordpress-4.8.1-no-content.zip";s:11:"new_bundled";s:71:"https://downloads.wordpress.org/release/wordpress-4.8.1-new-bundled.zip";s:7:"partial";b:0;s:8:"rollback";b:0;}s:7:"current";s:5:"4.8.1";s:7:"version";s:5:"4.8.1";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"4.7";s:15:"partial_version";s:0:"";}}s:12:"last_checked";i:1507545879;s:15:"version_checked";s:5:"4.8.1";s:12:"translations";a:0:{}}', 'no'),
(115, '_site_transient_timeout_theme_roots', '1507546797', 'no'),
(116, '_site_transient_theme_roots', 'a:3:{s:13:"twentyfifteen";s:7:"/themes";s:15:"twentyseventeen";s:7:"/themes";s:13:"twentysixteen";s:7:"/themes";}', 'no'),
(117, '_site_transient_update_themes', 'O:8:"stdClass":4:{s:12:"last_checked";i:1507545878;s:7:"checked";a:3:{s:13:"twentyfifteen";s:3:"1.8";s:15:"twentyseventeen";s:3:"1.3";s:13:"twentysixteen";s:3:"1.3";}s:8:"response";a:0:{}s:12:"translations";a:0:{}}', 'no'),
(119, '_transient_timeout_dash_v2_88ae138922fe95674369b1cb3d215a2b', '1507588225', 'no'),
(120, '_transient_dash_v2_88ae138922fe95674369b1cb3d215a2b', '<div class="rss-widget"><p><strong>RSS Error:</strong> WP HTTP Error: cURL error 6: Could not resolve host: wordpress.org</p></div><div class="rss-widget"><p><strong>RSS Error:</strong> WP HTTP Error: cURL error 6: Could not resolve host: planet.wordpress.org</p></div>', 'no'),
(121, 'can_compress_scripts', '1', 'no'),
(131, 'nav_menu_options', 'a:1:{s:8:"auto_add";a:0:{}}', 'yes'),
(133, '_site_transient_timeout_poptags_40cd750bba9870f18aada2478b24840a', '1507556511', 'no'),
(134, '_site_transient_poptags_40cd750bba9870f18aada2478b24840a', 'O:8:"stdClass":100:{s:6:"widget";a:3:{s:4:"name";s:6:"widget";s:4:"slug";s:6:"widget";s:5:"count";i:4358;}s:4:"post";a:3:{s:4:"name";s:4:"post";s:4:"slug";s:4:"post";s:5:"count";i:2493;}s:5:"admin";a:3:{s:4:"name";s:5:"admin";s:4:"slug";s:5:"admin";s:5:"count";i:2362;}s:11:"woocommerce";a:3:{s:4:"name";s:11:"woocommerce";s:4:"slug";s:11:"woocommerce";s:5:"count";i:2239;}s:5:"posts";a:3:{s:4:"name";s:5:"posts";s:4:"slug";s:5:"posts";s:5:"count";i:1828;}s:8:"comments";a:3:{s:4:"name";s:8:"comments";s:4:"slug";s:8:"comments";s:5:"count";i:1596;}s:9:"shortcode";a:3:{s:4:"name";s:9:"shortcode";s:4:"slug";s:9:"shortcode";s:5:"count";i:1580;}s:7:"twitter";a:3:{s:4:"name";s:7:"twitter";s:4:"slug";s:7:"twitter";s:5:"count";i:1434;}s:6:"google";a:3:{s:4:"name";s:6:"google";s:4:"slug";s:6:"google";s:5:"count";i:1355;}s:6:"images";a:3:{s:4:"name";s:6:"images";s:4:"slug";s:6:"images";s:5:"count";i:1350;}s:8:"facebook";a:3:{s:4:"name";s:8:"facebook";s:4:"slug";s:8:"facebook";s:5:"count";i:1332;}s:7:"sidebar";a:3:{s:4:"name";s:7:"sidebar";s:4:"slug";s:7:"sidebar";s:5:"count";i:1272;}s:5:"image";a:3:{s:4:"name";s:5:"image";s:4:"slug";s:5:"image";s:5:"count";i:1267;}s:3:"seo";a:3:{s:4:"name";s:3:"seo";s:4:"slug";s:3:"seo";s:5:"count";i:1122;}s:7:"gallery";a:3:{s:4:"name";s:7:"gallery";s:4:"slug";s:7:"gallery";s:5:"count";i:1051;}s:4:"page";a:3:{s:4:"name";s:4:"page";s:4:"slug";s:4:"page";s:5:"count";i:1044;}s:6:"social";a:3:{s:4:"name";s:6:"social";s:4:"slug";s:6:"social";s:5:"count";i:998;}s:5:"email";a:3:{s:4:"name";s:5:"email";s:4:"slug";s:5:"email";s:5:"count";i:942;}s:5:"links";a:3:{s:4:"name";s:5:"links";s:4:"slug";s:5:"links";s:5:"count";i:814;}s:9:"ecommerce";a:3:{s:4:"name";s:9:"ecommerce";s:4:"slug";s:9:"ecommerce";s:5:"count";i:806;}s:5:"login";a:3:{s:4:"name";s:5:"login";s:4:"slug";s:5:"login";s:5:"count";i:804;}s:7:"widgets";a:3:{s:4:"name";s:7:"widgets";s:4:"slug";s:7:"widgets";s:5:"count";i:773;}s:5:"video";a:3:{s:4:"name";s:5:"video";s:4:"slug";s:5:"video";s:5:"count";i:765;}s:7:"content";a:3:{s:4:"name";s:7:"content";s:4:"slug";s:7:"content";s:5:"count";i:669;}s:3:"rss";a:3:{s:4:"name";s:3:"rss";s:4:"slug";s:3:"rss";s:5:"count";i:669;}s:10:"buddypress";a:3:{s:4:"name";s:10:"buddypress";s:4:"slug";s:10:"buddypress";s:5:"count";i:662;}s:4:"spam";a:3:{s:4:"name";s:4:"spam";s:4:"slug";s:4:"spam";s:5:"count";i:653;}s:5:"pages";a:3:{s:4:"name";s:5:"pages";s:4:"slug";s:5:"pages";s:5:"count";i:643;}s:8:"security";a:3:{s:4:"name";s:8:"security";s:4:"slug";s:8:"security";s:5:"count";i:638;}s:6:"jquery";a:3:{s:4:"name";s:6:"jquery";s:4:"slug";s:6:"jquery";s:5:"count";i:637;}s:6:"slider";a:3:{s:4:"name";s:6:"slider";s:4:"slug";s:6:"slider";s:5:"count";i:620;}s:5:"media";a:3:{s:4:"name";s:5:"media";s:4:"slug";s:5:"media";s:5:"count";i:605;}s:4:"ajax";a:3:{s:4:"name";s:4:"ajax";s:4:"slug";s:4:"ajax";s:5:"count";i:591;}s:9:"analytics";a:3:{s:4:"name";s:9:"analytics";s:4:"slug";s:9:"analytics";s:5:"count";i:591;}s:4:"feed";a:3:{s:4:"name";s:4:"feed";s:4:"slug";s:4:"feed";s:5:"count";i:589;}s:6:"search";a:3:{s:4:"name";s:6:"search";s:4:"slug";s:6:"search";s:5:"count";i:577;}s:8:"category";a:3:{s:4:"name";s:8:"category";s:4:"slug";s:8:"category";s:5:"count";i:573;}s:10:"e-commerce";a:3:{s:4:"name";s:10:"e-commerce";s:4:"slug";s:10:"e-commerce";s:5:"count";i:571;}s:4:"menu";a:3:{s:4:"name";s:4:"menu";s:4:"slug";s:4:"menu";s:5:"count";i:557;}s:4:"form";a:3:{s:4:"name";s:4:"form";s:4:"slug";s:4:"form";s:5:"count";i:546;}s:5:"embed";a:3:{s:4:"name";s:5:"embed";s:4:"slug";s:5:"embed";s:5:"count";i:541;}s:10:"javascript";a:3:{s:4:"name";s:10:"javascript";s:4:"slug";s:10:"javascript";s:5:"count";i:532;}s:4:"link";a:3:{s:4:"name";s:4:"link";s:4:"slug";s:4:"link";s:5:"count";i:521;}s:3:"css";a:3:{s:4:"name";s:3:"css";s:4:"slug";s:3:"css";s:5:"count";i:511;}s:5:"share";a:3:{s:4:"name";s:5:"share";s:4:"slug";s:5:"share";s:5:"count";i:502;}s:7:"youtube";a:3:{s:4:"name";s:7:"youtube";s:4:"slug";s:7:"youtube";s:5:"count";i:498;}s:7:"comment";a:3:{s:4:"name";s:7:"comment";s:4:"slug";s:7:"comment";s:5:"count";i:493;}s:5:"theme";a:3:{s:4:"name";s:5:"theme";s:4:"slug";s:5:"theme";s:5:"count";i:482;}s:9:"dashboard";a:3:{s:4:"name";s:9:"dashboard";s:4:"slug";s:9:"dashboard";s:5:"count";i:473;}s:6:"custom";a:3:{s:4:"name";s:6:"custom";s:4:"slug";s:6:"custom";s:5:"count";i:472;}s:10:"responsive";a:3:{s:4:"name";s:10:"responsive";s:4:"slug";s:10:"responsive";s:5:"count";i:469;}s:10:"categories";a:3:{s:4:"name";s:10:"categories";s:4:"slug";s:10:"categories";s:5:"count";i:467;}s:3:"ads";a:3:{s:4:"name";s:3:"ads";s:4:"slug";s:3:"ads";s:5:"count";i:443;}s:6:"editor";a:3:{s:4:"name";s:6:"editor";s:4:"slug";s:6:"editor";s:5:"count";i:439;}s:9:"affiliate";a:3:{s:4:"name";s:9:"affiliate";s:4:"slug";s:9:"affiliate";s:5:"count";i:439;}s:6:"button";a:3:{s:4:"name";s:6:"button";s:4:"slug";s:6:"button";s:5:"count";i:436;}s:4:"tags";a:3:{s:4:"name";s:4:"tags";s:4:"slug";s:4:"tags";s:5:"count";i:435;}s:12:"contact-form";a:3:{s:4:"name";s:12:"contact form";s:4:"slug";s:12:"contact-form";s:5:"count";i:427;}s:5:"photo";a:3:{s:4:"name";s:5:"photo";s:4:"slug";s:5:"photo";s:5:"count";i:418;}s:4:"user";a:3:{s:4:"name";s:4:"user";s:4:"slug";s:4:"user";s:5:"count";i:416;}s:9:"slideshow";a:3:{s:4:"name";s:9:"slideshow";s:4:"slug";s:9:"slideshow";s:5:"count";i:406;}s:6:"mobile";a:3:{s:4:"name";s:6:"mobile";s:4:"slug";s:6:"mobile";s:5:"count";i:405;}s:7:"contact";a:3:{s:4:"name";s:7:"contact";s:4:"slug";s:7:"contact";s:5:"count";i:403;}s:5:"users";a:3:{s:4:"name";s:5:"users";s:4:"slug";s:5:"users";s:5:"count";i:401;}s:5:"stats";a:3:{s:4:"name";s:5:"stats";s:4:"slug";s:5:"stats";s:5:"count";i:400;}s:6:"photos";a:3:{s:4:"name";s:6:"photos";s:4:"slug";s:6:"photos";s:5:"count";i:396;}s:10:"statistics";a:3:{s:4:"name";s:10:"statistics";s:4:"slug";s:10:"statistics";s:5:"count";i:381;}s:3:"api";a:3:{s:4:"name";s:3:"api";s:4:"slug";s:3:"api";s:5:"count";i:380;}s:6:"events";a:3:{s:4:"name";s:6:"events";s:4:"slug";s:6:"events";s:5:"count";i:378;}s:10:"navigation";a:3:{s:4:"name";s:10:"navigation";s:4:"slug";s:10:"navigation";s:5:"count";i:369;}s:4:"news";a:3:{s:4:"name";s:4:"news";s:4:"slug";s:4:"news";s:5:"count";i:353;}s:8:"calendar";a:3:{s:4:"name";s:8:"calendar";s:4:"slug";s:8:"calendar";s:5:"count";i:344;}s:7:"payment";a:3:{s:4:"name";s:7:"payment";s:4:"slug";s:7:"payment";s:5:"count";i:333;}s:9:"multisite";a:3:{s:4:"name";s:9:"multisite";s:4:"slug";s:9:"multisite";s:5:"count";i:332;}s:7:"plugins";a:3:{s:4:"name";s:7:"plugins";s:4:"slug";s:7:"plugins";s:5:"count";i:331;}s:10:"shortcodes";a:3:{s:4:"name";s:10:"shortcodes";s:4:"slug";s:10:"shortcodes";s:5:"count";i:330;}s:12:"social-media";a:3:{s:4:"name";s:12:"social media";s:4:"slug";s:12:"social-media";s:5:"count";i:330;}s:10:"newsletter";a:3:{s:4:"name";s:10:"newsletter";s:4:"slug";s:10:"newsletter";s:5:"count";i:327;}s:4:"code";a:3:{s:4:"name";s:4:"code";s:4:"slug";s:4:"code";s:5:"count";i:325;}s:4:"list";a:3:{s:4:"name";s:4:"list";s:4:"slug";s:4:"list";s:5:"count";i:320;}s:4:"meta";a:3:{s:4:"name";s:4:"meta";s:4:"slug";s:4:"meta";s:5:"count";i:319;}s:5:"popup";a:3:{s:4:"name";s:5:"popup";s:4:"slug";s:5:"popup";s:5:"count";i:319;}s:3:"url";a:3:{s:4:"name";s:3:"url";s:4:"slug";s:3:"url";s:5:"count";i:318;}s:9:"marketing";a:3:{s:4:"name";s:9:"marketing";s:4:"slug";s:9:"marketing";s:5:"count";i:301;}s:6:"simple";a:3:{s:4:"name";s:6:"simple";s:4:"slug";s:6:"simple";s:5:"count";i:299;}s:8:"redirect";a:3:{s:4:"name";s:8:"redirect";s:4:"slug";s:8:"redirect";s:5:"count";i:295;}s:4:"chat";a:3:{s:4:"name";s:4:"chat";s:4:"slug";s:4:"chat";s:5:"count";i:294;}s:3:"tag";a:3:{s:4:"name";s:3:"tag";s:4:"slug";s:3:"tag";s:5:"count";i:290;}s:16:"custom-post-type";a:3:{s:4:"name";s:16:"custom post type";s:4:"slug";s:16:"custom-post-type";s:5:"count";i:288;}s:11:"advertising";a:3:{s:4:"name";s:11:"advertising";s:4:"slug";s:11:"advertising";s:5:"count";i:284;}s:15:"payment-gateway";a:3:{s:4:"name";s:15:"payment gateway";s:4:"slug";s:15:"payment-gateway";s:5:"count";i:283;}s:6:"author";a:3:{s:4:"name";s:6:"author";s:4:"slug";s:6:"author";s:5:"count";i:282;}s:7:"adsense";a:3:{s:4:"name";s:7:"adsense";s:4:"slug";s:7:"adsense";s:5:"count";i:280;}s:4:"html";a:3:{s:4:"name";s:4:"html";s:4:"slug";s:4:"html";s:5:"count";i:280;}s:5:"forms";a:3:{s:4:"name";s:5:"forms";s:4:"slug";s:5:"forms";s:5:"count";i:277;}s:8:"lightbox";a:3:{s:4:"name";s:8:"lightbox";s:4:"slug";s:8:"lightbox";s:5:"count";i:275;}s:7:"tinymce";a:3:{s:4:"name";s:7:"tinyMCE";s:4:"slug";s:7:"tinymce";s:5:"count";i:269;}s:7:"captcha";a:3:{s:4:"name";s:7:"captcha";s:4:"slug";s:7:"captcha";s:5:"count";i:268;}s:8:"tracking";a:3:{s:4:"name";s:8:"tracking";s:4:"slug";s:8:"tracking";s:5:"count";i:266;}s:12:"notification";a:3:{s:4:"name";s:12:"notification";s:4:"slug";s:12:"notification";s:5:"count";i:266;}}', 'no'),
(136, '_site_transient_update_plugins', 'O:8:"stdClass":5:{s:12:"last_checked";i:1507545832;s:7:"checked";a:3:{s:19:"akismet/akismet.php";s:5:"3.3.3";s:9:"hello.php";s:3:"1.6";s:35:"shiftcontroller/shiftcontroller.php";s:5:"3.2.4";}s:8:"response";a:1:{s:19:"akismet/akismet.php";O:8:"stdClass":8:{s:2:"id";s:21:"w.org/plugins/akismet";s:4:"slug";s:7:"akismet";s:6:"plugin";s:19:"akismet/akismet.php";s:11:"new_version";s:5:"3.3.4";s:3:"url";s:38:"https://wordpress.org/plugins/akismet/";s:7:"package";s:56:"https://downloads.wordpress.org/plugin/akismet.3.3.4.zip";s:6:"tested";s:5:"4.8.1";s:13:"compatibility";O:8:"stdClass":0:{}}}s:12:"translations";a:0:{}s:9:"no_update";a:2:{s:9:"hello.php";O:8:"stdClass":6:{s:2:"id";s:25:"w.org/plugins/hello-dolly";s:4:"slug";s:11:"hello-dolly";s:6:"plugin";s:9:"hello.php";s:11:"new_version";s:3:"1.6";s:3:"url";s:42:"https://wordpress.org/plugins/hello-dolly/";s:7:"package";s:58:"https://downloads.wordpress.org/plugin/hello-dolly.1.6.zip";}s:35:"shiftcontroller/shiftcontroller.php";O:8:"stdClass":6:{s:2:"id";s:29:"w.org/plugins/shiftcontroller";s:4:"slug";s:15:"shiftcontroller";s:6:"plugin";s:35:"shiftcontroller/shiftcontroller.php";s:11:"new_version";s:5:"3.2.4";s:3:"url";s:46:"https://wordpress.org/plugins/shiftcontroller/";s:7:"package";s:58:"https://downloads.wordpress.org/plugin/shiftcontroller.zip";}}}', 'no'),
(137, 'recently_activated', 'a:0:{}', 'yes'),
(138, '_transient_timeout_plugin_slugs', '1507632234', 'no'),
(139, '_transient_plugin_slugs', 'a:3:{i:0;s:19:"akismet/akismet.php";i:1;s:9:"hello.php";i:2;s:35:"shiftcontroller/shiftcontroller.php";}', 'no'),
(141, '_transient_is_multi_author', '0', 'yes');
-- --------------------------------------------------------
--
-- Table structure for table `wp_postmeta`
--
CREATE TABLE `wp_postmeta` (
`meta_id` bigint(20) UNSIGNED NOT NULL,
`post_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_postmeta`
--
INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUES
(1, 2, '_wp_page_template', 'default'),
(2, 4, '_wp_attached_file', '2017/10/espresso.jpg'),
(3, 4, '_wp_attachment_metadata', 'a:5:{s:5:"width";i:2000;s:6:"height";i:1200;s:4:"file";s:20:"2017/10/espresso.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:20:"espresso-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:20:"espresso-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:20:"espresso-768x461.jpg";s:5:"width";i:768;s:6:"height";i:461;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:21:"espresso-1024x614.jpg";s:5:"width";i:1024;s:6:"height";i:614;s:9:"mime-type";s:10:"image/jpeg";}s:32:"twentyseventeen-thumbnail-avatar";a:4:{s:4:"file";s:20:"espresso-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'),
(4, 4, '_starter_content_theme', 'twentyseventeen'),
(6, 5, '_wp_attached_file', '2017/10/sandwich.jpg'),
(7, 5, '_wp_attachment_metadata', 'a:5:{s:5:"width";i:2000;s:6:"height";i:1200;s:4:"file";s:20:"2017/10/sandwich.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:20:"sandwich-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:20:"sandwich-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:20:"sandwich-768x461.jpg";s:5:"width";i:768;s:6:"height";i:461;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:21:"sandwich-1024x614.jpg";s:5:"width";i:1024;s:6:"height";i:614;s:9:"mime-type";s:10:"image/jpeg";}s:32:"twentyseventeen-thumbnail-avatar";a:4:{s:4:"file";s:20:"sandwich-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'),
(8, 5, '_starter_content_theme', 'twentyseventeen'),
(10, 6, '_wp_attached_file', '2017/10/coffee.jpg'),
(11, 6, '_wp_attachment_metadata', 'a:5:{s:5:"width";i:2000;s:6:"height";i:1200;s:4:"file";s:18:"2017/10/coffee.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:18:"coffee-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:18:"coffee-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:18:"coffee-768x461.jpg";s:5:"width";i:768;s:6:"height";i:461;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:19:"coffee-1024x614.jpg";s:5:"width";i:1024;s:6:"height";i:614;s:9:"mime-type";s:10:"image/jpeg";}s:32:"twentyseventeen-thumbnail-avatar";a:4:{s:4:"file";s:18:"coffee-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'),
(12, 6, '_starter_content_theme', 'twentyseventeen'),
(15, 8, '_thumbnail_id', '5'),
(17, 9, '_thumbnail_id', '4'),
(19, 10, '_thumbnail_id', '6'),
(21, 11, '_thumbnail_id', '4'),
(23, 18, '_menu_item_type', 'custom'),
(24, 18, '_menu_item_menu_item_parent', '0'),
(25, 18, '_menu_item_object_id', '18'),
(26, 18, '_menu_item_object', 'custom'),
(27, 18, '_menu_item_target', ''),
(28, 18, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(29, 18, '_menu_item_xfn', ''),
(30, 18, '_menu_item_url', 'http://localhost/wordpress/'),
(31, 19, '_menu_item_type', 'post_type'),
(32, 19, '_menu_item_menu_item_parent', '0'),
(33, 19, '_menu_item_object_id', '8'),
(34, 19, '_menu_item_object', 'page'),
(35, 19, '_menu_item_target', ''),
(36, 19, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(37, 19, '_menu_item_xfn', ''),
(38, 19, '_menu_item_url', ''),
(39, 20, '_menu_item_type', 'post_type'),
(40, 20, '_menu_item_menu_item_parent', '0'),
(41, 20, '_menu_item_object_id', '10'),
(42, 20, '_menu_item_object', 'page'),
(43, 20, '_menu_item_target', ''),
(44, 20, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(45, 20, '_menu_item_xfn', ''),
(46, 20, '_menu_item_url', ''),
(47, 21, '_menu_item_type', 'post_type'),
(48, 21, '_menu_item_menu_item_parent', '0'),
(49, 21, '_menu_item_object_id', '9'),
(50, 21, '_menu_item_object', 'page'),
(51, 21, '_menu_item_target', ''),
(52, 21, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(53, 21, '_menu_item_xfn', ''),
(54, 21, '_menu_item_url', ''),
(55, 22, '_menu_item_type', 'custom'),
(56, 22, '_menu_item_menu_item_parent', '0'),
(57, 22, '_menu_item_object_id', '22'),
(58, 22, '_menu_item_object', 'custom'),
(59, 22, '_menu_item_target', ''),
(60, 22, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(61, 22, '_menu_item_xfn', ''),
(62, 22, '_menu_item_url', 'https://www.yelp.com'),
(63, 23, '_menu_item_type', 'custom'),
(64, 23, '_menu_item_menu_item_parent', '0'),
(65, 23, '_menu_item_object_id', '23'),
(66, 23, '_menu_item_object', 'custom'),
(67, 23, '_menu_item_target', ''),
(68, 23, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(69, 23, '_menu_item_xfn', ''),
(70, 23, '_menu_item_url', 'https://www.facebook.com/wordpress'),
(71, 24, '_menu_item_type', 'custom'),
(72, 24, '_menu_item_menu_item_parent', '0'),
(73, 24, '_menu_item_object_id', '24'),
(74, 24, '_menu_item_object', 'custom'),
(75, 24, '_menu_item_target', ''),
(76, 24, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(77, 24, '_menu_item_xfn', ''),
(78, 24, '_menu_item_url', 'https://twitter.com/wordpress'),
(79, 25, '_menu_item_type', 'custom'),
(80, 25, '_menu_item_menu_item_parent', '0'),
(81, 25, '_menu_item_object_id', '25'),
(82, 25, '_menu_item_object', 'custom'),
(83, 25, '_menu_item_target', ''),
(84, 25, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(85, 25, '_menu_item_xfn', ''),
(86, 25, '_menu_item_url', 'https://www.instagram.com/explore/tags/wordcamp/'),
(87, 26, '_menu_item_type', 'custom'),
(88, 26, '_menu_item_menu_item_parent', '0'),
(89, 26, '_menu_item_object_id', '26'),
(90, 26, '_menu_item_object', 'custom'),
(91, 26, '_menu_item_target', ''),
(92, 26, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'),
(93, 26, '_menu_item_xfn', ''),
(94, 26, '_menu_item_url', 'mailto:<EMAIL>'),
(95, 12, '_wp_trash_meta_status', 'publish'),
(96, 12, '_wp_trash_meta_time', '1507545542'),
(97, 27, '_edit_last', '1'),
(98, 27, '_edit_lock', '1507546016:1');
-- --------------------------------------------------------
--
-- Table structure for table `wp_posts`
--
CREATE TABLE `wp_posts` (
`ID` bigint(20) UNSIGNED NOT NULL,
`post_author` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`post_title` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'publish',
`comment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
`ping_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
`post_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`post_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`to_ping` text COLLATE utf8mb4_unicode_ci NOT NULL,
`pinged` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content_filtered` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`post_parent` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`guid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`menu_order` int(11) NOT NULL DEFAULT '0',
`post_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post',
`post_mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_count` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_posts`
--
INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES
(1, 1, '2017-10-09 09:59:39', '2017-10-09 09:59:39', 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!', 'Hello world!', '', 'publish', 'open', 'open', '', 'hello-world', '', '', '2017-10-09 09:59:39', '2017-10-09 09:59:39', '', 0, 'http://localhost/wordpress/?p=1', 0, 'post', '', 1),
(2, 1, '2017-10-09 09:59:39', '2017-10-09 09:59:39', 'This is an example page. It''s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:\n\n<blockquote>Hi there! I''m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin'' caught in the rain.)</blockquote>\n\n...or something like this:\n\n<blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>\n\nAs a new WordPress user, you should go to <a href="http://localhost/wordpress/wp-admin/">your dashboard</a> to delete this page and create new pages for your content. Have fun!', 'Sample Page', '', 'publish', 'closed', 'open', '', 'sample-page', '', '', '2017-10-09 09:59:39', '2017-10-09 09:59:39', '', 0, 'http://localhost/wordpress/?page_id=2', 0, 'page', '', 0),
(3, 1, '2017-10-09 10:30:22', '0000-00-00 00:00:00', '', 'Auto Draft', '', 'auto-draft', 'open', 'open', '', '', '', '', '2017-10-09 10:30:22', '0000-00-00 00:00:00', '', 0, 'http://localhost/wordpress/?p=3', 0, 'post', '', 0),
(4, 1, '2017-10-09 10:38:42', '2017-10-09 10:38:42', '', 'Espresso', '', 'inherit', 'open', 'closed', '', 'espresso', '', '', '2017-10-09 10:38:42', '2017-10-09 10:38:42', '', 0, 'http://localhost/wordpress/wp-content/uploads/2017/10/espresso.jpg', 0, 'attachment', 'image/jpeg', 0),
(5, 1, '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 'Sandwich', '', 'inherit', 'open', 'closed', '', 'sandwich', '', '', '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 0, 'http://localhost/wordpress/wp-content/uploads/2017/10/sandwich.jpg', 0, 'attachment', 'image/jpeg', 0),
(6, 1, '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 'Coffee', '', 'inherit', 'open', 'closed', '', 'coffee', '', '', '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 0, 'http://localhost/wordpress/wp-content/uploads/2017/10/coffee.jpg', 0, 'attachment', 'image/jpeg', 0),
(7, 1, '2017-10-09 10:38:43', '2017-10-09 10:38:43', 'Welcome to your site! This is your homepage, which is what most visitors will see when they come to your site for the first time.', 'Home', '', 'publish', 'closed', 'closed', '', 'home', '', '', '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 0, 'http://localhost/wordpress/?page_id=7', 0, 'page', '', 0),
(8, 1, '2017-10-09 10:38:44', '2017-10-09 10:38:44', 'You might be an artist who would like to introduce yourself and your work here or maybe you’re a business with a mission to describe.', 'About', '', 'publish', 'closed', 'closed', '', 'about', '', '', '2017-10-09 10:38:44', '2017-10-09 10:38:44', '', 0, 'http://localhost/wordpress/?page_id=8', 0, 'page', '', 0),
(9, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', 'This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.', 'Contact', '', 'publish', 'closed', 'closed', '', 'contact', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 0, 'http://localhost/wordpress/?page_id=9', 0, 'page', '', 0),
(10, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 'Blog', '', 'publish', 'closed', 'closed', '', 'blog', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 0, 'http://localhost/wordpress/?page_id=10', 0, 'page', '', 0),
(11, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', 'This is an example of a homepage section. Homepage sections can be any page other than the homepage itself, including the page that shows your latest blog posts.', 'A homepage section', '', 'publish', 'closed', 'closed', '', 'a-homepage-section', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 0, 'http://localhost/wordpress/?page_id=11', 0, 'page', '', 0),
(12, 1, '2017-10-09 10:38:42', '2017-10-09 10:38:42', '{\n "widget_text[2]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "<KEY>,\n "title": "Find Us",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "7e949eb79e3be5b9f147af2911225891"\n },\n "type": "option",\n "user_id": 1\n },\n "widget_search[3]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "YToxOntzOjU6InRpdGxlIjtzOjY6IlNlYXJjaCI7fQ==",\n "title": "Search",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "db395575418339e83a572bdeccb0a35e"\n },\n "type": "option",\n "user_id": 1\n },\n "widget_text[3]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "<KEY>,\n "title": "About This Site",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "0df6f0c278c75d433e329d624cbcfd10"\n },\n "type": "option",\n "user_id": 1\n },\n "sidebars_widgets[sidebar-1]": {\n "starter_content": true,\n "value": [\n "text-2",\n "search-3",\n "text-3"\n ],\n "type": "option",\n "user_id": 1\n },\n "widget_text[4]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "<KEY>,\n "title": "Find Us",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "7e949eb79e3be5b9f147af2911225891"\n },\n "type": "option",\n "user_id": 1\n },\n "sidebars_widgets[sidebar-2]": {\n "starter_content": true,\n "value": [\n "text-4"\n ],\n "type": "option",\n "user_id": 1\n },\n "widget_text[5]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "<KEY>n "title": "About This Site",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "<KEY>"\n },\n "type": "option",\n "user_id": 1\n },\n "widget_search[4]": {\n "starter_content": true,\n "value": {\n "encoded_serialized_instance": "YToxOntzOjU6InRpdGxlIjtzOjY6IlNlYXJjaCI7fQ==",\n "title": "Search",\n "is_widget_customizer_js_value": true,\n "instance_hash_key": "db395575418339e83a572bdeccb0a35e"\n },\n "type": "option",\n "user_id": 1\n },\n "sidebars_widgets[sidebar-3]": {\n "starter_content": true,\n "value": [\n "text-5",\n "search-4"\n ],\n "type": "option",\n "user_id": 1\n },\n "nav_menus_created_posts": {\n "starter_content": true,\n "value": [\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11\n ],\n "type": "option",\n "user_id": 1\n },\n "nav_menu[-1]": {\n "value": {\n "name": "Top Menu",\n "description": "",\n "parent": 0,\n "auto_add": false\n },\n "type": "nav_menu",\n "user_id": 1\n },\n "nav_menu_item[-1]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 0,\n "type": "custom",\n "title": "Home",\n "url": "http://localhost/wordpress/",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -1,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-2]": {\n "value": {\n "object_id": 8,\n "object": "page",\n "menu_item_parent": 0,\n "position": 1,\n "type": "post_type",\n "title": "About",\n "url": "",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "About",\n "nav_menu_term_id": -1,\n "_invalid": false,\n "type_label": "Page"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-3]": {\n "value": {\n "object_id": 10,\n "object": "page",\n "menu_item_parent": 0,\n "position": 2,\n "type": "post_type",\n "title": "Blog",\n "url": "",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "Blog",\n "nav_menu_term_id": -1,\n "_invalid": false,\n "type_label": "Page"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-4]": {\n "value": {\n "object_id": 9,\n "object": "page",\n "menu_item_parent": 0,\n "position": 3,\n "type": "post_type",\n "title": "Contact",\n "url": "",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "Contact",\n "nav_menu_term_id": -1,\n "_invalid": false,\n "type_label": "Page"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "twentyseventeen::nav_menu_locations[top]": {\n "starter_content": true,\n "value": -1,\n "type": "theme_mod",\n "user_id": 1\n },\n "nav_menu[-5]": {\n "value": {\n "name": "Social Links Menu",\n "description": "",\n "parent": 0,\n "auto_add": false\n },\n "type": "nav_menu",\n "user_id": 1\n },\n "nav_menu_item[-5]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 0,\n "type": "custom",\n "title": "Yelp",\n "url": "https://www.yelp.com",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -5,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-6]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 1,\n "type": "custom",\n "title": "Facebook",\n "url": "https://www.facebook.com/wordpress",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -5,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-7]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 2,\n "type": "custom",\n "title": "Twitter",\n "url": "https://twitter.com/wordpress",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -5,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-8]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 3,\n "type": "custom",\n "title": "Instagram",\n "url": "https://www.instagram.com/explore/tags/wordcamp/",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -5,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "nav_menu_item[-9]": {\n "value": {\n "object_id": 0,\n "object": "",\n "menu_item_parent": 0,\n "position": 4,\n "type": "custom",\n "title": "Email",\n "url": "mailto:<EMAIL>",\n "target": "",\n "attr_title": "",\n "description": "",\n "classes": "",\n "xfn": "",\n "status": "publish",\n "original_title": "",\n "nav_menu_term_id": -5,\n "_invalid": false,\n "type_label": "Custom Link"\n },\n "type": "nav_menu_item",\n "user_id": 1\n },\n "twentyseventeen::nav_menu_locations[social]": {\n "starter_content": true,\n "value": -5,\n "type": "theme_mod",\n "user_id": 1\n },\n "show_on_front": {\n "starter_content": true,\n "value": "page",\n "type": "option",\n "user_id": 1\n },\n "page_on_front": {\n "starter_content": true,\n "value": 7,\n "type": "option",\n "user_id": 1\n },\n "page_for_posts": {\n "starter_content": true,\n "value": 10,\n "type": "option",\n "user_id": 1\n },\n "twentyseventeen::panel_1": {\n "starter_content": true,\n "value": 11,\n "type": "theme_mod",\n "user_id": 1\n },\n "twentyseventeen::panel_2": {\n "starter_content": true,\n "value": 8,\n "type": "theme_mod",\n "user_id": 1\n },\n "twentyseventeen::panel_3": {\n "starter_content": true,\n "value": 10,\n "type": "theme_mod",\n "user_id": 1\n },\n "twentyseventeen::panel_4": {\n "starter_content": true,\n "value": 9,\n "type": "theme_mod",\n "user_id": 1\n },\n "blogdescription": {\n "value": "A time table site for our beloved employees",\n "type": "option",\n "user_id": 1\n }\n}', '', '', 'trash', 'closed', 'closed', '', 'bfce823d-c8c6-43ab-9482-fc9bb2ca8506', '', '', '2017-10-09 10:38:42', '2017-10-09 10:38:42', '', 0, 'http://localhost/wordpress/?p=12', 0, 'customize_changeset', '', 0),
(13, 1, '2017-10-09 10:38:43', '2017-10-09 10:38:43', 'Welcome to your site! This is your homepage, which is what most visitors will see when they come to your site for the first time.', 'Home', '', 'inherit', 'closed', 'closed', '', '7-revision-v1', '', '', '2017-10-09 10:38:43', '2017-10-09 10:38:43', '', 7, 'http://localhost/wordpress/2017/10/09/7-revision-v1/', 0, 'revision', '', 0),
(14, 1, '2017-10-09 10:38:44', '2017-10-09 10:38:44', 'You might be an artist who would like to introduce yourself and your work here or maybe you’re a business with a mission to describe.', 'About', '', 'inherit', 'closed', 'closed', '', '8-revision-v1', '', '', '2017-10-09 10:38:44', '2017-10-09 10:38:44', '', 8, 'http://localhost/wordpress/2017/10/09/8-revision-v1/', 0, 'revision', '', 0),
(15, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', 'This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.', 'Contact', '', 'inherit', 'closed', 'closed', '', '9-revision-v1', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 9, 'http://localhost/wordpress/2017/10/09/9-revision-v1/', 0, 'revision', '', 0),
(16, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 'Blog', '', 'inherit', 'closed', 'closed', '', '10-revision-v1', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 10, 'http://localhost/wordpress/2017/10/09/10-revision-v1/', 0, 'revision', '', 0),
(17, 1, '2017-10-09 10:38:45', '2017-10-09 10:38:45', 'This is an example of a homepage section. Homepage sections can be any page other than the homepage itself, including the page that shows your latest blog posts.', 'A homepage section', '', 'inherit', 'closed', 'closed', '', '11-revision-v1', '', '', '2017-10-09 10:38:45', '2017-10-09 10:38:45', '', 11, 'http://localhost/wordpress/2017/10/09/11-revision-v1/', 0, 'revision', '', 0),
(18, 1, '2017-10-09 10:38:46', '2017-10-09 10:38:46', '', 'Home', '', 'publish', 'closed', 'closed', '', 'home', '', '', '2017-10-09 10:38:46', '2017-10-09 10:38:46', '', 0, 'http://localhost/wordpress/2017/10/09/home/', 0, 'nav_menu_item', '', 0),
(19, 1, '2017-10-09 10:38:48', '2017-10-09 10:38:48', ' ', '', '', 'publish', 'closed', 'closed', '', '19', '', '', '2017-10-09 10:38:48', '2017-10-09 10:38:48', '', 0, 'http://localhost/wordpress/2017/10/09/19/', 1, 'nav_menu_item', '', 0),
(20, 1, '2017-10-09 10:38:49', '2017-10-09 10:38:49', ' ', '', '', 'publish', 'closed', 'closed', '', '20', '', '', '2017-10-09 10:38:49', '2017-10-09 10:38:49', '', 0, 'http://localhost/wordpress/2017/10/09/20/', 2, 'nav_menu_item', '', 0),
(21, 1, '2017-10-09 10:38:51', '2017-10-09 10:38:51', ' ', '', '', 'publish', 'closed', 'closed', '', '21', '', '', '2017-10-09 10:38:51', '2017-10-09 10:38:51', '', 0, 'http://localhost/wordpress/2017/10/09/21/', 3, 'nav_menu_item', '', 0),
(22, 1, '2017-10-09 10:38:57', '2017-10-09 10:38:57', '', 'Yelp', '', 'publish', 'closed', 'closed', '', 'yelp', '', '', '2017-10-09 10:38:57', '2017-10-09 10:38:57', '', 0, 'http://localhost/wordpress/2017/10/09/yelp/', 0, 'nav_menu_item', '', 0),
(23, 1, '2017-10-09 10:38:57', '2017-10-09 10:38:57', '', 'Facebook', '', 'publish', 'closed', 'closed', '', 'facebook', '', '', '2017-10-09 10:38:57', '2017-10-09 10:38:57', '', 0, 'http://localhost/wordpress/2017/10/09/facebook/', 1, 'nav_menu_item', '', 0),
(24, 1, '2017-10-09 10:38:58', '2017-10-09 10:38:58', '', 'Twitter', '', 'publish', 'closed', 'closed', '', 'twitter', '', '', '2017-10-09 10:38:58', '2017-10-09 10:38:58', '', 0, 'http://localhost/wordpress/2017/10/09/twitter/', 2, 'nav_menu_item', '', 0),
(25, 1, '2017-10-09 10:38:59', '2017-10-09 10:38:59', '', 'Instagram', '', 'publish', 'closed', 'closed', '', 'instagram', '', '', '2017-10-09 10:38:59', '2017-10-09 10:38:59', '', 0, 'http://localhost/wordpress/2017/10/09/instagram/', 3, 'nav_menu_item', '', 0),
(26, 1, '2017-10-09 10:39:00', '2017-10-09 10:39:00', '', 'Email', '', 'publish', 'closed', 'closed', '', 'email', '', '', '2017-10-09 10:39:00', '2017-10-09 10:39:00', '', 0, 'http://localhost/wordpress/2017/10/09/email/', 4, 'nav_menu_item', '', 0),
(27, 1, '2017-10-09 10:49:12', '2017-10-09 10:49:12', 'This page is for employees and admin to sign up or log in', 'Login/SignUp', '', 'publish', 'closed', 'closed', '', 'loginsignup', '', '', '2017-10-09 10:49:12', '2017-10-09 10:49:12', '', 0, 'http://localhost/wordpress/?page_id=27', 0, 'page', '', 0),
(28, 1, '2017-10-09 10:49:12', '2017-10-09 10:49:12', 'This page is for employees and admin to sign up or log in', 'Login/SignUp', '', 'inherit', 'closed', 'closed', '', '27-revision-v1', '', '', '2017-10-09 10:49:12', '2017-10-09 10:49:12', '', 27, 'http://localhost/wordpress/2017/10/09/27-revision-v1/', 0, 'revision', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `wp_termmeta`
--
CREATE TABLE `wp_termmeta` (
`meta_id` bigint(20) UNSIGNED NOT NULL,
`term_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `wp_terms`
--
CREATE TABLE `wp_terms` (
`term_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`slug` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`term_group` bigint(10) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_terms`
--
INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES
(1, 'Uncategorized', 'uncategorized', 0),
(2, 'Top Menu', 'top-menu', 0),
(3, 'Social Links Menu', 'social-links-menu', 0);
-- --------------------------------------------------------
--
-- Table structure for table `wp_term_relationships`
--
CREATE TABLE `wp_term_relationships` (
`object_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`term_taxonomy_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`term_order` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_term_relationships`
--
INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES
(1, 1, 0),
(18, 2, 0),
(19, 2, 0),
(20, 2, 0),
(21, 2, 0),
(22, 3, 0),
(23, 3, 0),
(24, 3, 0),
(25, 3, 0),
(26, 3, 0);
-- --------------------------------------------------------
--
-- Table structure for table `wp_term_taxonomy`
--
CREATE TABLE `wp_term_taxonomy` (
`term_taxonomy_id` bigint(20) UNSIGNED NOT NULL,
`term_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`taxonomy` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`parent` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`count` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_term_taxonomy`
--
INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES
(1, 1, 'category', '', 0, 1),
(2, 2, 'nav_menu', '', 0, 4),
(3, 3, 'nav_menu', '', 0, 5);
-- --------------------------------------------------------
--
-- Table structure for table `wp_usermeta`
--
CREATE TABLE `wp_usermeta` (
`umeta_id` bigint(20) UNSIGNED NOT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_usermeta`
--
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES
(1, 1, 'nickname', 'munchkin'),
(2, 1, 'first_name', ''),
(3, 1, 'last_name', ''),
(4, 1, 'description', ''),
(5, 1, 'rich_editing', 'true'),
(6, 1, 'comment_shortcuts', 'false'),
(7, 1, 'admin_color', 'fresh'),
(8, 1, 'use_ssl', '0'),
(9, 1, 'show_admin_bar_front', 'true'),
(10, 1, 'locale', ''),
(11, 1, 'wp_capabilities', 'a:1:{s:13:"administrator";b:1;}'),
(12, 1, 'wp_user_level', '10'),
(13, 1, 'dismissed_wp_pointers', ''),
(14, 1, 'show_welcome_panel', '1'),
(15, 1, 'session_tokens', 'a:1:{s:64:"081b0b6c448590180a88f6c8e7c1d221e33069d0219013358f692678d7857d28";a:4:{s:10:"expiration";i:1508754620;s:2:"ip";s:3:"::1";s:2:"ua";s:115:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36";s:5:"login";i:1507545020;}}'),
(16, 1, 'wp_dashboard_quick_press_last_post_id', '3');
-- --------------------------------------------------------
--
-- Table structure for table `wp_users`
--
CREATE TABLE `wp_users` (
`ID` bigint(20) UNSIGNED NOT NULL,
`user_login` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_pass` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_nicename` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_url` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_registered` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`user_activation_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_status` int(11) NOT NULL DEFAULT '0',
`display_name` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `wp_users`
--
INSERT INTO `wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES
(1, 'munchkin', '$P$Be0VZcbncMpmsiIc48JcNTbNPUpyeS.', 'munchkin', '<EMAIL>', '', '2017-10-09 09:59:37', '', 0, 'munchkin');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `timetable`
--
ALTER TABLE `timetable`
ADD KEY `fk_timetable` (`userID`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`userID`);
--
-- Indexes for table `userschedule`
--
ALTER TABLE `userschedule`
ADD KEY `fk_userSchedule` (`userID`);
--
-- Indexes for table `wp_commentmeta`
--
ALTER TABLE `wp_commentmeta`
ADD PRIMARY KEY (`meta_id`),
ADD KEY `comment_id` (`comment_id`),
ADD KEY `meta_key` (`meta_key`(191));
--
-- Indexes for table `wp_comments`
--
ALTER TABLE `wp_comments`
ADD PRIMARY KEY (`comment_ID`),
ADD KEY `comment_post_ID` (`comment_post_ID`),
ADD KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`),
ADD KEY `comment_date_gmt` (`comment_date_gmt`),
ADD KEY `comment_parent` (`comment_parent`),
ADD KEY `comment_author_email` (`comment_author_email`(10));
--
-- Indexes for table `wp_links`
--
ALTER TABLE `wp_links`
ADD PRIMARY KEY (`link_id`),
ADD KEY `link_visible` (`link_visible`);
--
-- Indexes for table `wp_options`
--
ALTER TABLE `wp_options`
ADD PRIMARY KEY (`option_id`),
ADD UNIQUE KEY `option_name` (`option_name`);
--
-- Indexes for table `wp_postmeta`
--
ALTER TABLE `wp_postmeta`
ADD PRIMARY KEY (`meta_id`),
ADD KEY `post_id` (`post_id`),
ADD KEY `meta_key` (`meta_key`(191));
--
-- Indexes for table `wp_posts`
--
ALTER TABLE `wp_posts`
ADD PRIMARY KEY (`ID`),
ADD KEY `post_name` (`post_name`(191)),
ADD KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
ADD KEY `post_parent` (`post_parent`),
ADD KEY `post_author` (`post_author`);
--
-- Indexes for table `wp_termmeta`
--
ALTER TABLE `wp_termmeta`
ADD PRIMARY KEY (`meta_id`),
ADD KEY `term_id` (`term_id`),
ADD KEY `meta_key` (`meta_key`(191));
--
-- Indexes for table `wp_terms`
--
ALTER TABLE `wp_terms`
ADD PRIMARY KEY (`term_id`),
ADD KEY `slug` (`slug`(191)),
ADD KEY `name` (`name`(191));
--
-- Indexes for table `wp_term_relationships`
--
ALTER TABLE `wp_term_relationships`
ADD PRIMARY KEY (`object_id`,`term_taxonomy_id`),
ADD KEY `term_taxonomy_id` (`term_taxonomy_id`);
--
-- Indexes for table `wp_term_taxonomy`
--
ALTER TABLE `wp_term_taxonomy`
ADD PRIMARY KEY (`term_taxonomy_id`),
ADD UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`),
ADD KEY `taxonomy` (`taxonomy`);
--
-- Indexes for table `wp_usermeta`
--
ALTER TABLE `wp_usermeta`
ADD PRIMARY KEY (`umeta_id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `meta_key` (`meta_key`(191));
--
-- Indexes for table `wp_users`
--
ALTER TABLE `wp_users`
ADD PRIMARY KEY (`ID`),
ADD KEY `user_login_key` (`user_login`),
ADD KEY `user_nicename` (`user_nicename`),
ADD KEY `user_email` (`user_email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `userID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `wp_commentmeta`
--
ALTER TABLE `wp_commentmeta`
MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `wp_comments`
--
ALTER TABLE `wp_comments`
MODIFY `comment_ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `wp_links`
--
ALTER TABLE `wp_links`
MODIFY `link_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `wp_options`
--
ALTER TABLE `wp_options`
MODIFY `option_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=142;
--
-- AUTO_INCREMENT for table `wp_postmeta`
--
ALTER TABLE `wp_postmeta`
MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;
--
-- AUTO_INCREMENT for table `wp_posts`
--
ALTER TABLE `wp_posts`
MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
--
-- AUTO_INCREMENT for table `wp_termmeta`
--
ALTER TABLE `wp_termmeta`
MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `wp_terms`
--
ALTER TABLE `wp_terms`
MODIFY `term_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `wp_term_taxonomy`
--
ALTER TABLE `wp_term_taxonomy`
MODIFY `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `wp_usermeta`
--
ALTER TABLE `wp_usermeta`
MODIFY `umeta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `wp_users`
--
ALTER TABLE `wp_users`
MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `timetable`
--
ALTER TABLE `timetable`
ADD CONSTRAINT `fk_timetable` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`);
--
-- Constraints for table `userschedule`
--
ALTER TABLE `userschedule`
ADD CONSTRAINT `fk_userSchedule` FOREIGN KEY (`userID`) REFERENCES `user` (`userID`);
/*!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 */;
|
<filename>V1/Database/Stored Procedures/FF.uspManagerStatsGet.sql<gh_stars>0
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [FF].[uspManagerStatsGet]
(
@LeagueId int,
@MinYear int,
@MaxYear int
)
AS
SELECT
ManagerId,
Name,
Wins,
Loses,
Ties,
Games,
CASE Games WHEN 0 THEN 0 ELSE CONVERT(decimal(10, 1), CONVERT(decimal, Wins) / CONVERT(decimal, Games) * 100) END AS WinPct
FROM (
SELECT
M.ManagerId,
M.Name AS Name,
SUM(T.Wins) AS Wins,
SUM(T.Loses) AS Loses,
SUM(T.Ties) AS Ties,
SUM(T.Wins + T.Loses + T.Ties) AS Games
FROM
FF.Manager M INNER JOIN FF.Team T ON M.ManagerId = T.ManagerId
WHERE
T.LeagueId = @LeagueId
AND T.Year >= @MinYear
AND T.Year <= CASE @MaxYear WHEN 0 THEN 9999 ELSE @MaxYear END
GROUP BY
M.ManagerId,
M.Name
) AS stat
ORDER BY
WinPct DESC
RETURN
GO
GRANT EXECUTE ON [FF].[uspManagerStatsGet] TO [DataUser] AS [dbo]
GO
|
<gh_stars>0
SELECT a_int FROM types_i WHERE a_uint = ?
|
INSERT INTO Employees (first_name, last_name, role_id, manager_id)
VALUES ("Curt", "Smith", 9, 8),
("Reginald", "Dowling", 5, 12),
("Allan", "Arellano", 11, 15),
("Marvin", "Downs", 16, 0),
("Lila", "Paterson", 2, 12),
("Roscoe", "Sykes", 15, 4),
("Jaya", "Fellows", 6, 8),
("Gurdeep", "Mackay", 8, 0),
("Yunus", "Berger", 14, 4),
("Asa", "Gardner", 7, 8),
("Austen", "Whitmore", 3, 12),
("Rico", "Ahmed", 1, 0),
("Esme", "Barrera", 2, 12),
("Renesmae", "Archer", 9, 8),
("Mason", "Person", 12, 0),
("Domas", "Macfarlane", 9, 8),
("Blake", "Rosario", 4, 12),
("Ashlee", "Compton", 4, 12),
("Shanae", "Mackenzie", 10, 8),
("Keelan", "Mclean", 13, 15),
("Violet", "O'Reilly", 13, 15);
INSERT INTO Departments (name)
VALUES ("Engineering"),
("Architecture"),
("Business Management Group"),
("Human Resources");
INSERT INTO Roles (title, salary, department_id)
VALUES ("Senior Engineer", 140000, 1),
("Engineer I", 110000, 1),
("Engineer II", 120000, 1),
("Developer I", 80000, 1),
("Developer II", 90000, 1),
("Solution Architect I", 100000, 2),
("Solution Architect II", 110000, 2),
("Senior Architect", 120000, 2),
("Architect Analyst", 70000, 2),
("Support Analyst", 55000, 2),
("Business Management Specialist I", 70000, 3),
("Business Management Specialist II", 80000, 3),
("Business Management analyst", 60000, 3),
("Recruiter", 60000, 4),
("Executive Representative", 90000, 4),
("Director", 110000, 4);
|
<reponame>Foxpips/LayeredArchitecture
/*********************************************************************************************************************
**
** Procedure Name : h3giCatalogueCreateHandsetTariffCombination
** Author : <NAME>
** Date Created :
** Version : 1.0.0
**
**********************************************************************************************************************
**
** Description : Creates handset tariff combination for a given price plan package
**
**********************************************************************************************************************
* Change Control : 22/06/2007 - <NAME> - Created
**********************************************************************************************************************/
CREATE PROCEDURE [dbo].[h3giCatalogueCreateHandsetTariffCombination]
@catalogueVersionId smallint,
@catalogueProductId int,
@pricePlanPackageId int
AS
BEGIN
DECLARE
@NewTranCreated int,
@RC int
SET @NewTranCreated = 0
SET @RC=0
IF @@TRANCOUNT = 0 --if not in a transaction context yet
BEGIN
SET @NewTranCreated = 1
BEGIN TRANSACTION --then create a new transaction
END
INSERT INTO h3giPricePlanPackageDetail
(
catalogueVersionID,
pricePlanPackageID,
catalogueProductID
)
VALUES
(
@catalogueVersionID,
@pricePlanPackageId,
@catalogueProductID
);
IF @@ERROR<>0 GOTO ERR_HANDLER;
--Check if it is business tariff
DECLARE
@isBusiness bit
IF EXISTS(
SELECT * FROM
h3giPricePlanPackage pp
INNER JOIN dbo.fn_GetPricePlanIdSet(0, 0, 1, NULL,GETDATE()) businessPP
ON pp.pricePlanId = businessPP.pricePlanId
WHERE pp.catalogueVersionId = @catalogueVersionId
AND pp.pricePlanPackageId = @pricePlanPackageId)
SET @isBusiness = 1
ELSE SET @isBusiness = 0;
IF @@ERROR<>0 GOTO ERR_HANDLER;
IF @isBusiness = 1
BEGIN
DECLARE @productFamilyId int, @productBasePrice money;
SELECT @productFamilyId = productFamilyId, @productBasePrice = productBasePrice FROM h3giProductCatalogue
WHERE catalogueVersionId = @catalogueVersionId AND catalogueProductId = @catalogueProductId;
--We use simple SQL insert statement here because sp h3giSetProductAttribute updates the attribute if (productFamilyId, storeId, attributeId) combination
--is found
INSERT INTO b4nattributeproductfamily
(productFamilyId, storeId, attributeId, attributeValue, multiValuePriority, attributeAffectsBasePriceBy, attributeAffectsRRPPriceBy, UPPM,
attributeImageName, attributeImageNameSmall, modifyDate, createDate, priceGroupId)
VALUES
(
@productfamilyID,
1, --[storeId]
300, --[attributeId]
CONVERT(varchar(20), @pricePlanPackageId), --[attributeValue]
0, @productBasePrice, 0, 0, '', '', getdate(), getdate(),
0 --[priceGroupId]
);
END
IF @@ERROR<>0 GOTO ERR_HANDLER;
IF @NewTranCreated=1 AND @@TRANCOUNT > 0
COMMIT TRANSACTION --commit the transaction if we started a new one in this stored procedure
RETURN 0
ERR_HANDLER:
PRINT 'h3giCatalogueCreateHandsetTariffCombination: Rolling back...'
IF @NewTranCreated=1 AND @@TRANCOUNT > 0
ROLLBACK TRANSACTION --rollback all changes
RETURN -1 --return error code
END
GRANT EXECUTE ON h3giCatalogueCreateHandsetTariffCombination TO b4nuser
GO
GRANT EXECUTE ON h3giCatalogueCreateHandsetTariffCombination TO ofsuser
GO
GRANT EXECUTE ON h3giCatalogueCreateHandsetTariffCombination TO reportuser
GO
|
drop view if exists "EmailDto";
create view "EmailDto"
as
select
"Id" as "EmailId"
from "Email"
|
<filename>MockExam/Answers/Task-06.sql<gh_stars>1-10
SELECT COUNT(*)
FROM (
SELECT g_id, SUM(mo_percentage)
FROM gmadeof
GROUP BY g_id
HAVING SUM(mo_percentage) <> 100) Result;
-- Answer: 4267
/*
* This answer is not complete. And the answer is not correct. You forgot to check
* for null. Here there could have been different solutions. One where you both
* check for not 100 percent and for garments that does not have a fabric in the
* made of table.
*/
select count(*)
from (
select G.g_ID
from gGarments G
join gMadeOf MO on G.g_ID = MO.g_ID
group by G.g_ID
having sum(MO.mo_Percentage) <> 100
union
select G.g_ID
from gGarments G
left join gMadeOf MO on G.g_ID = MO.g_ID
where MO.g_ID is NULL
) X;
-- Or you could have one where you just check whether if they exist with 100 percent
select count(*)
from ggarments
where g_id not in (
select g_id
from gmadeof
group by g_id
having sum(mo_percentage) = 100
);
|
<filename>exercises/second.sql<gh_stars>1-10
use sakila
SET @DELAY = 2;
SELECT "Elenco degli attori in ordine alfabetico (cognome e nome)" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT last_name, first_name
FROM actor
ORDER BY last_name, first_name;
SELECT "Elenco dei film in ordine di durata decrescente" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT title, length
FROM film
ORDER BY length DESC;
SELECT "Elenco dei film in ordine di numero di attori decrescente" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
-- 1a Versione: esclude i film senza attori !!!
SELECT title, COUNT(*) AS attori
-- FROM film JOIN film_actor USING(film_id)
FROM film f JOIN film_actor fa ON (f.film_id = fa.film_id)
GROUP BY f.film_id
ORDER BY attori DESC;
-- 2a Versione: NON esclude i film senza attori !!!
SELECT title, COUNT(actor_id) AS attori
-- FROM film LEFT OUTER JOIN film_actor USING(film_id)
FROM film f LEFT OUTER JOIN film_actor fa ON (f.film_id = fa.film_id)
GROUP BY f.film_id
ORDER BY attori DESC;
SELECT "Elenco dei film nel cui titolo compare la parola 'ISLAND'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT title
FROM film
WHERE title LIKE '%ISLAND%';
SELECT "Elenco dei film il cui titolo inizia per 'A'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT title
FROM film
WHERE title LIKE 'A%';
SELECT "Elenco dei film il cui titolo finisce per 'T'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT title
FROM film
WHERE title LIKE '%T';
SELECT "Elenco degli attori il cui nome inizia per 'A'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT first_name, last_name
FROM actor
WHERE first_name LIKE 'A%';
SELECT "Elenco degli attori il cui nome finisce per 'T'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT first_name, last_name
FROM actor
WHERE first_name LIKE '%T';
SELECT "Elenco degli attori nel cui nome compare la stringa 'land'" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT first_name, last_name
FROM actor
WHERE first_name LIKE '%LAND%';
SELECT "Per ciascuno degli elenchi precedenti, il numero di voci presenti" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT "In generale: SELECT COUNT(*) FROM (la query che fornisce l'elenco) Tabella;" AS Soluzione;
-- Esempio (ovviamente ORDER BY qui diventa inutile!!!):
SELECT COUNT(*)
FROM (
SELECT last_name, first_name
FROM actor
ORDER BY last_name, first_name
) Tabella;
-- N.B. l'alias per la subquery è obbligatorio!!!
SELECT "Qual è l'id dell'attore << nome >> << cognome >>?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SET @NOME = 'BURT';
SET @COGNOME = 'DUKAKIS';
SELECT actor_id, CONCAT(first_name, ' ', last_name) AS 'Solo per verifica!'
FROM actor
WHERE first_name = @NOME AND last_name = @COGNOME;
SELECT "Quali attori hanno nome 'John'?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT first_name, last_name
FROM actor
WHERE first_name = 'John';
SELECT "Qual è il titolo dei film in cui ha recitato l'attore << nome >> << cognome >>?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
-- 1a versione con JOIN e filtro
SELECT title
FROM film f
JOIN film_actor fa ON (f.film_id = fa.film_id)
JOIN actor a ON (a.actor_id = fa.actor_id)
WHERE first_name = @NOME AND last_name = @COGNOME;
-- 2a versione con subqueries
SELECT title
FROM film f
WHERE film_id IN
( SELECT film_id
FROM film_actor
WHERE actor_id = ( SELECT actor_id FROM actor WHERE first_name = @NOME AND last_name = @COGNOME )
);
SELECT "Qual è la coppia (o le coppie, se più di una) di attori che ha collaborato (recitato insieme) il maggior numero di volte?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
-- 1a fase: creazione view per semplificare la query
CREATE OR REPLACE VIEW Collaboration AS
SELECT fa1.actor_id AS id1, fa2.actor_id AS id2, COUNT(*) AS times, GROUP_CONCAT(fa1.film_id separator ', ') AS films
FROM film_actor fa1
JOIN film_actor fa2 ON (fa1.film_id = fa2.film_id AND fa2.actor_id > fa1.actor_id)
GROUP BY fa1.actor_id, fa2.actor_id;
-- 2a fase: uso della view come tabella
SELECT a1.first_name, a1.last_name, a2.first_name, a2.last_name, times, films
FROM actor a1
JOIN Collaboration ON (a1.actor_id = id1)
JOIN actor a2 ON (id2 = a2.actor_id)
WHERE times = ( SELECT MAX(times) FROM Collaboration );
-- Altra possibilità con una CTE (Common Table Expression)
WITH Collaborations AS
( SELECT fa1.actor_id AS id1, fa2.actor_id AS id2, COUNT(*) AS times, GROUP_CONCAT(fa1.film_id separator ', ') AS films
FROM film_actor fa1
JOIN film_actor fa2 ON (fa1.film_id = fa2.film_id AND fa2.actor_id > fa1.actor_id)
GROUP BY fa1.actor_id, fa2.actor_id )
SELECT a1.first_name, a1.last_name, a2.first_name, a2.last_name, times, films
FROM actor a1
JOIN Collaborations ON (a1.actor_id = id1)
JOIN actor a2 ON (id2 = a2.actor_id)
WHERE times = ( SELECT MAX(times) FROM Collaborations );
SELECT "Quale film ha il cast più numeroso?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
SELECT title
FROM film f
WHERE ( SELECT COUNT(*) FROM film_actor fa WHERE f.film_id = fa.film_id ) =
( SELECT MAX(c) FROM ( SELECT COUNT(*) AS c FROM film_actor GROUP BY film_id ) AS counts );
-- N.B. l'alias per la subquery è obbligatorio!!!
SELECT "Quante volte hanno recitato insieme le possibili coppie di attori?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
-- Sfrutto la view Collaboration, ma questa esclude i valori 0!
SELECT a1.first_name, a1.last_name, a2.first_name, a2.last_name, IFNULL(times, 0), IFNULL(films, 'N/A')
FROM actor a1
JOIN actor a2 ON (a2.actor_id > a1.actor_id)
LEFT JOIN Collaboration ON (a1.actor_id = id1 AND id2 = a2.actor_id);
SELECT "Quante volte hanno recitato insieme le possibili coppie di attori (escludendo i valori 0)?" AS Query;
SET @DELAY = @DELAY + SLEEP(@DELAY);
-- Sfrutto la view Collaboration
SELECT a1.first_name, a1.last_name, a2.first_name, a2.last_name, times, films
FROM actor a1
JOIN Collaboration ON (a1.actor_id = id1)
JOIN actor a2 ON (id2 = a2.actor_id);
|
<filename>src/main/resources/db/migration/V1__Create_recall_table.sql
CREATE TABLE RECALL (
id UUID PRIMARY KEY,
noms_number text
)
|
-- AlterTable
ALTER TABLE "users" ADD COLUMN "active" BOOLEAN NOT NULL DEFAULT true;
|
CREATE TABLE ac3 (
id INTEGER,
nome TEXT NOT NULL,
email TEXT,
PRIMARY KEY(id)
)
|
<filename>schema/delta.mariadb.sql
ALTER TABLE user_address_balance ADD COLUMN IF NOT EXISTS message TEXT(2187) DEFAULT NULL;
|
DROP table if exists pg_table_unique cascade;
CREATE table pg_table_unique (i int, t text, constraint unique1 unique(i)) distributed by (i);
select oid, gp_segment_id, conname from pg_constraint where conrelid = 'pg_table_unique'::regclass;
select oid, gp_segment_id, conname from gp_dist_random('pg_constraint') where conrelid = 'pg_table_unique'::regclass;
|
ALTER TABLE codes
ADD deleted_at TIMESTAMP NULL;
ALTER TABLE holds DROP CONSTRAINT redemption_code_unique_per_event;
ALTER TABLE codes DROP CONSTRAINT redemption_code_unique_per_event;
DROP FUNCTION IF EXISTS redemption_code_unique_per_event(UUID, TEXT, TEXT);
ALTER TABLE holds
ADD deleted_at TIMESTAMP NULL;
UPDATE holds
SET deleted_at = updated_at
WHERE status = 'Deleted';
ALTER TABLE holds
DROP COLUMN status;
DROP INDEX index_codes_redemption_code;
CREATE UNIQUE INDEX index_codes_redemption_code ON codes(redemption_code, event_id) WHERE deleted_at IS NULL;
DROP INDEX index_holds_redemption_code;
CREATE UNIQUE INDEX index_holds_redemption_code ON holds(redemption_code, event_id) WHERE deleted_at IS NULL;
|
<gh_stars>1-10
-- add new flag to RestOptions---
ALTER TABLE RestOptions add modifiedByUser bit(1) NOT NULL default 0;
|
-- +migrate Down
DROP INDEX IF EXISTS "idx_deployments_public_id";
-- +migrate Up
CREATE UNIQUE INDEX "idx_deployments_public_id"
ON "deployments" ("public_id");
|
<filename>bsdmag/06-indexes/06-partial-difficulty-index.sql
UPDATE pg_index SET indisvalid = false WHERE indexrelid = 'idx_difficulty'::regclass;
CREATE INDEX idx_difficulty_avg
ON articles(difficulty)
WHERE difficulty = 'AVG';
VACUUM FULL ANALYZE articles;
SELECT relname, reltuples, relpages
FROM pg_class
WHERE relname = 'idx_difficulty_avg' AND relkind = 'i';
|
CREATE OR REPLACE FUNCTION fnc_concat_ws(text, VARIADIC text[])
RETURNS text LANGUAGE sql IMMUTABLE AS 'SELECT array_to_string($2, $1)';
SELECT 'fnc_concat_ws exists is ' || exists(SELECT * FROM pg_proc WHERE proname = 'fnc_concat_ws')
|
create table J(licence number(10),
cnum number(10) not null,
salaire number(10) not null,
sport varchar(20)
);
drop table C;
create table C (
cnum number(10) not null,
nom varchar(20) not null,
division number(1) not null,
ville varchar(20),
constraint cleC primary key(cnum)
);
@liste
select /*+ use_nl(j,c) index(C I_C_cnum) */ J.licence, C.nom
FROM J, C
where C.cnum = J.cnum
and J.salaire > 10;
desc BigJoueur
select * from BigJoueur where salaire<1;
select /*+ ordered */ *
from BigJoueur b, C
where b.cnum = c.cnum;
select b1.cnum, b1.prenom, b2.prenom
from BigJoueur b1, BigJoueur b2
where b1.cnum = b2.cnum;
|
-- phpMyAdmin SQL Dump
-- version 5.1.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 14, 2022 at 06:25 AM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 7.4.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `sistemadmin`
--
-- --------------------------------------------------------
--
-- Table structure for table `data_divisi`
--
CREATE TABLE `data_divisi` (
`id_data_divisi` int(11) NOT NULL,
`nama_data_divisi` varchar(200) DEFAULT NULL,
`ket_data_divisi` text DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `data_divisi`
--
INSERT INTO `data_divisi` (`id_data_divisi`, `nama_data_divisi`, `ket_data_divisi`, `created_at`) VALUES
(1, 'Operasional', 'Sampler', '2022-03-31 09:12:10'),
(2, 'General Affair', 'Driver', '2022-03-31 09:19:25');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `data_divisi`
--
ALTER TABLE `data_divisi`
ADD PRIMARY KEY (`id_data_divisi`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `data_divisi`
--
ALTER TABLE `data_divisi`
MODIFY `id_data_divisi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;
/*!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 */;
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Aug 30, 2020 at 01:49 PM
-- Server version: 10.1.10-MariaDB
-- PHP Version: 5.6.19
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 utf8mb4 */;
--
-- Database: `db_hdr`
--
-- --------------------------------------------------------
--
-- Table structure for table `judul_komik`
--
CREATE TABLE `judul_komik` (
`id_komik` int(11) NOT NULL,
`judul` varchar(200) NOT NULL,
`gambar` varchar(60) DEFAULT NULL,
`deskripsi` varchar(8000) DEFAULT NULL,
`rating` double(3,2) DEFAULT '0.00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `judul_komik`
--
INSERT INTO `judul_komik` (`id_komik`, `judul`, `gambar`, `deskripsi`, `rating`) VALUES
(28, 'AIR JORDAN', 'f63b59e023712ad523f09404672620dc.jpg', '<p><strong>Genre : </strong>Comedy, Sports<br />\r\n<br />\r\nPekerjaannya hanyalah seorang pengantar makanan di sebuah rumah makan Cina. Tapi impiannya sangat tinggi, jadi pemain basket hebat dan bermain di arena NBA. Itulah Jodan, yang menganggap dirinya sebagai rival <NAME>. Apakah impiannya bisa tercapai?</p>\r\n', 0.00),
(29, 'Attack On Titan', '56bfef9e1decd0659962dca926111cc3.png', '<p><strong>Genre :</strong> Action, Fantasy, Mystery, Apocalypse</p>\r\n\r\n<p>Segerombolan Titan mendadak muncul di dekat Wall Rose. Pasukan penyelidik termasuk semua Prajurit ke-104 bergegas ke tempat kemunculan Titan dan bermalam di Kastil Utgard. Tapi, Titan yang seharusnya tidak bisa bergerak saat malam hari, tiba-tiba mengepung kastil tersebut! Apa para prajurit bisa bertahan dari serangan para Titan!?</p>\r\n', 0.00),
(30, 'Bestfriend Survival', '87a4ef5ac650cf49512f2e9e1142ce81.JPG', '<p><strong>Genre : </strong> Slice of life</p>\r\n\r\n<p><NAME> merupakan anak yang berasal dari keluarga biasa yang sangat senang dengan barang diskon. Sewaktu kecil ada anak kaya yang mengatakan hal yang menyakitkannya sehingga dia cukup bendi dengan orang kaya. Suatu hari, Asako mendapatkan tetangga yang seperti tuan putri bernama Sakurako Ichijo. Sifat mereka berdua yang bagai air dan api justru membuat mereka dekat. Sakurako yang tidak pernah berteman karena sifatnya dan lingkungannya yang dahulu kini mulai membuka hati dan berteman dengan Asako.</p>\r\n', 0.00),
(31, 'Bleach', '6342c3687caed07ef279986272506c13.jpg', '<p><strong>Genre :</strong> Action, Comedy, Romance, Shounen, Super Power, Supernatural</p>\r\n\r\n<p>Kurosaki Ichigo bukan seperti siswa SMA biasanya, dia bisa melihat hanti dan roh, suatu hari ia bertemu dengan Kuchiki Rukia seorang Shinigami yang menyelamatkan ia dan keluarganya dari Hollow dengan mempertaruhkan nyawanya, saat pertarungan kekuatan Shinigami Rukia berpindah pada Ichigo hingga membuar Rukia tak bisa kembali melanjutkan tugasnya sendiri dan bekerja sama dengan Ichigo melindungi Kota. Bleach.</p>\r\n', 0.00),
(32, '<NAME>', '8ecd506a903652830baa176c990735be.jpg', '<p><strong>Genre :</strong> Action, Shounen, Sports</p>\r\n\r\n<p>Bercerita tentang anak yang bernama Tsubasa Ozora yang sangat berkabat dalam hal bermain sepak bola yang diawali dengan menjadi salah satu pemain dari kesebelasan SD Nankatsu hingga bermain di piala dunia untuk menggapai impiannya membawa nama negaranya menjadi juara di ajang piala dunia tersebut.</p>\r\n', 0.00),
(33, 'Cactus Secret', 'cd0bddeebfd5f989903d516e2c5c6294.jpg', '<p><strong>Genre :</strong> Comedy, School Life,Romance, Drama</p>\r\n\r\n<p>Yamada Miku telah menyukai Fujioka Kouhei selama 2 tahun lamanya semenjak mereka sama-sama satu sekolah saat SMP. Yamada yang saat SMP sangat "tidak menarik" berjuang untuk tampil cantik. Olahraga, memotong rambut, dan berdandan. Akhirnya ketika Miku SMA dia bukan hanya satu sekolah dengan Fujioka tetapi malah satu bangku dengannya. Hmm..gimana ya perasaan Miku? Ketika Miku yang sudah "berbeda" menyatakan perasaannya kepada Fujioka, cowok imut namun bodoh itu malah melongo bingung dan mengatai dandanannya yang agak menyolok. <br />\r\nDasar Fujioka nggak sensitif, Miku pun kesal dan berharap rasa cintanya kepada Fujioka hilang ditelan bumi. menghilangkan rasa cinta memang tidak semudah membalikkan telapak tangan. Fujioka yang tidak merasa bersalah tetap memperlakukan Miku seperti biasa. Miku makin nggak tahan dengan sikap Fujioka tersebut. </p>\r\n', 0.00),
(34, 'Cyborg Kuro-Chan', 'e3d48a74fa854d1b6da70cc8d45b417e.jpg', '<p><strong>Genre :</strong> Comedy, Science fiction, Action</p>\r\n\r\n<p> </p>\r\n\r\n<p> </p>\r\n<span style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:rgb(76, 75, 76); font-family:comic sans ms; font-size:11pt; line-height:107%">Kuro-chan, seekor kucing teman untuk sepasang orang tua, suatu hari, ia diculik oleh Dr Go (Dr Mawari di Jepang), seorang ilmuwan jahat. Dr Go mengubah Kuro menjadi kucing cyborg. Namun, Kuro-chan ternyata bisa merusak chip yang mengontrolnya dan dia keluar dari laboratorium Dr Go serta merusaknya. Dia kemudian menggunakan tubuh cyborg-nya, bersama dengan teknologi senjata, untuk melawan penjahat dari berbagai kejahatan, seperti cyborg - cyborg kucing lainnya, dan orang - orang asing yang jahat.</span>', 0.00),
(35, 'Death Note', '026542e4870a0f9266f387da88cea711.jpg', '<p><strong>Genre :</strong> Mystery, Police, Psychological, Supernatural, Thriller</p>\r\n\r\n<p>Death Note bercerita tentang seorang pelajar (Light Yagami) yang merasa kalau dunia ini sudah membusuk oleh kejahatan. dan dia merasa bosan atas kadaan dunia yang seperti itu. Hal itu juga dirasakan oleh sang dewa kematian (Ryuk) yang merasa bosan atas kehampaan hidupnya di dunia dewa kematian. Ryuk, yang memiliki Death Note, merasa kalau akan lebih menarik jika buku itu dijatuhkan di dunia manusia agar dia terhibur. Death Note sendiri adalah buku yang memiliki kekuatan untuk membunuh. Orang yang namanya ditulis dalam Death Note akan segera mati. Dan buku itu pun ditemukan oleh Light, pelajar jenius nomer satu di Jepang. Atas dasar konsep pemikirannya “bahwa dunia harus dihapuskan dari tindak kejahatan”, Light menggunakan Death Note untuk membunuh semua penjahat agar tujuannya tercapai. Namun, tak semudah itu dia melakukannya, karena dunia pun merasakan kalau kematian masal para penjahat terasa janggal. Datanglah L, remaja jenius yang berusaha menangkap Kira (sebutan bagi Light).</p>\r\n', 0.00),
(36, 'Detective Conan', '02fde4d50ceff312d92e03775432c618.jpg', '<p><strong>Genre :</strong> Adventure, Comedy, Mystery, Police, Shounen</p>\r\n\r\n<p>Detective Conan. <NAME> adalah seorang detektif SMU tujuh belas tahun yang orang sebut “modern Sherlock Holmes.” Namun, satu malam setelah kencan dengan kekasih masa kecilnya, Ran, Shinichi menyaksikan perdagangan ilegal dan, tertangkap basah nya, tak sadarkan diri dan diberi obat yang seharusnya untuk membunuhnya … tapi dia terbangun dan mendapati dirinya menyusut ke tujuh tahun. Dalam rangka untuk melacak orang-orang yang melakukan ini padanya, Shinichi menyembunyikan identitasnya dan tinggal bersama Ran, yang ayahnya kebetulan seorang detektif harapan, dan dengan itu datang serangkaian pembunuhan dan misteri bahwa ia harus memecahkan.</p>\r\n', 0.00),
(37, 'Detective School Q', '3c18c2199aba7003a4c8615cf32ebcd0.jpg', '<p><strong>Genre :</strong> Detective fiction, Comedy</p>\r\n\r\n<p>Manga ini bercerita tentang kelompok detektif remaja yang berasal dari Dan Detective School (DDS) milik Morihiko Dan. Tokoh utama manga ini adalah Kyu Renjo, seorang anak kelas tiga SMP yang memutuskan untuk tidak melanjutkan ke SMA, tetapi ke sekolah detektif. Selain Kyu, ada beberapa tokoh penting lainnya, antara lain Megumi Minami, Kintaro Toyama, Kazuma Narusawa, dan Ryu Amakusa. Cerita dalam manga ini berkisar pada aktivitas mereka sehari-hari di sekitar sekolah, pemecahan kasus, dan konflik dengan organisasi kriminal bernama Meiosei.</p>\r\n', 0.00),
(38, 'One Piece', '39fce250fcf21eb5867fc5cfa50ddeb9.jpg', '<p><strong>Genre : </strong>Action, Adventure, Comedy, Drama, Fantasy, Shounen, Super Power</p>\r\n\r\n<p>Gol D Roger dikenal sebagai Raja Bajak Laut, Orang terkuat dan paling terkenal yang pernah mengarungi Grand Line. Penangkapan dan Eksekusi Roger oleh Pemerintahan Dunia telah membawa perubahan di seluruh dunia. Kata kata terakhir sebelum kematiannya mengungkapkan lokasi dari harta karun terbesar di dunia, One Piece. Inilah awal dari era bajak laut, semua orang bermimpi menemukan One Piece (yang mana menjanjikan harta dan tahta yang tak terhingga jumlahnya), dan tentunya merebut gelar dari orang yang pertama menemukannya, gelar Raja Bajak Laut. Monkey D Luffy.</p>\r\n', 0.00),
(39, 'Doraemon', 'dcc55ce2cc9db009cb48e64502ee984f.jpg', '<p><strong>Genre :</strong> ‎Comedy, ‎Science fiction</p>\r\n\r\n<p>Kehidupan awal Doraemon tidak begitu baik. Ia adalah sebuah robot gagal yang dilelang kepada sebuah keluarga miskin yang terlilit utang, yang tak lain adalah keluarga keturunan Nobi Nobita. Doraemon pernah menjalani masa-masa berat seperti menjadi penjaga bayi setelah gagal melewati ujian di akademi robot, kedua telinganya hancur setelah digigit robot tikus, catnya luntur akibat ulahnya sendiri, dan masih banyak kisah sedih yang ia lalui pada tahun pertama sejak kelahirannya. Sampai suatu ketika, keluarga tersebut mengirimkannya kembali ke masa lalu, kira-kira 250 tahun yang lalu pada waktu Nobita Nobi, leluhur keluarga ini, masih hidup di Tokyo.</p>\r\n\r\n<p>Misi Doraemon adalah menolong Nobi Nobita yang merupakan kakek buyut dari Sewashi yang memiliki Doraemon. Nobita adalah seorang anak yang selalu mengalami nasib sial dan tak punya kemampuan apa-apa. Ia bodoh dalam pelajaran sekolah dan tidak bisa berolahraga. Nobita hanya berbakat dalam tembak-menembak, bermain karet, dan tidur. Inilah alasan mengapa ia gagal menjalani kehidupannya, dan Doraemon dikirim dari masa depan untuk mengubah nasibnya menjadi seorang pria yang sukses. Sangat ironis, sebuah robot gagal datang membantu seorang anak yang gagal. Pada kenyataannya, persahabatan kedua anak ini membuat mereka menjadi lebih baik.</p>\r\n', 0.00),
(40, 'Dragon Ball', '4bbee5bc8fa7db18e5f5c79052cd01fd.jpg', '<p><strong>Genre :</strong> Adventure, Martial arts, Science fantasy</p>\r\n\r\n<p>Dragon Ball bercerita tentang seorang bocah bernama Goku yang hidup di tengah gunung sendirian. Dia lalu bertemu dengan <strong>Bulma</strong>, seorang gadis muda genius, yang berusaha mengumpulkan 7 bola ajaib yang katanya bisa mengabulkan semua keinginan. Bola-bola tersebut dinamakan <em>Dragon Ball.</em></p>\r\n\r\n<p>Keterangan: Dragon Ball adalah 7 buah bola kristal yang tersebar di seluruh dunia, bola tersebut berwarna jingga yang terdapat pola bintang di dalamnya, apabila seseorang berhasil mengumpulkan 7 buah Dragon Ball maka akan muncul sebuah dewa naga yang mampu mengabulkan sebuah permintaan apa saja, bahkan termasuk menghidupkan orang mati. Dalam perjalanannya bersama Bulma mencari Dragon Ball, Goku harus berhadapan dengan banyak rintangan, salah satunya adalah dari T<NAME>. Kelompok ini mempunyai keinginan yang sama dengan Goku dan Bulma.</p>\r\n', 0.00),
(41, 'Eyeshield 21', '2c4278cecc7fa5afd6b3a3ac42dd66ca.jpg', '<p><strong>Genre :</strong> Sports, Drama</p>\r\n\r\n<p>Eyeshield 21 adalah sebuah anime yang menceritakan tentang Kisah Club Amerikan Football yang di ketuai oleh Hiruma. hiruma adalah seorang quarterback jenius namun sangat suka dengan Amerikan Football. namun dengan team hanya 3 orang ditambah salah satu dari mereka keluar sehingga di team tinggal hiruma dan kurita. namun saat penerimaan murid baru ada seorang anak yang dapat berlari dengan kecepatan cahaya yang bernama Kobayakawa Sena. karna melihat potensi itu akhirnya hiruma memaksa Sena untuk menjadi RunningBack dari team Devil Bats. Sena yang awalnya takut dan tidak mau akhir nya malah menjadi ujung tombak Team Demon Devil Bats setelah bertarung <NAME> dari team ojo white Knight. akhirnya sena memutuskan untuk ikut dan bermimpi untuk bisa ikut dalam Christmas Bowl yang diadakan setahun sekali di lapangan besar Tokyo. setelah masuknya Sena diikuti oleh <NAME> dan 3 Haha dan pemain lainnya. akhirnya Demon Devil Bats menjadi salah satu team yang sangat di perhitung kan dalam turnamen. Bagaimanakah kelanjutan Team demon Devil bats agar bisa mencapai Chrismast Bowl dan melawan para pesaing mereka terutama ojo white knight. dan bagaimana kisah pertarungan antara sena dan Shin yang menjadi rival sena.</p>\r\n', 0.00),
(42, 'Flame Of Recca', '269204f5e0c5a6696bd12265f26b5ff3.png', '<p><strong>Genre :</strong> Adventure, Action, Fantasy, Romantic, Comedy</p>\r\n\r\n<p>Recca, protagonis utama dari seri, adalah seorang remaja terobsesi dengan ninja dan apapun yang berhubungan dengan ninja. Recca lahir putra kedua ?ka, pemimpin klan Hokage Ninja yang ada lebih dari 400 tahun yang lalu. Dalam upaya untuk menyelamatkan dia selama pembantaian klan ninja Hokage, ibunya, Kager? menggunakan teknik terlarang yang membuka portal yang akan mengangkut dia ke masa depan, di mana alur cerita Flame of Recca dimulai.</p>\r\n\r\n<p>Dia adalah remaja super bertenaga yang terobsesi dengan ninja, menyadari bahwa ia adalah salah satu sendiri. Menjadi keturunan Hokage, Recca memiliki kemampuan untuk membuat api. Anak angkat produsen kembang api, ia kadang-kadang menggunakan alat pembakar kecil atau bom asap dalam kombinasi dengan kekuatan elemental untuk mengalihkan perhatian musuh-musuhnya. Recca cepat untuk menguji kekuatannya dan sangat gigih saat membela cintanya, Yanagi Sakoshita. Recca mungkin sombong dan terlalu percaya, namun berhasil menyelamatkan teman-temannya karena keterampilan ninja.</p>\r\n', 0.00),
(43, 'Great Teacher Onizuka', '11a8cc356ec9ad0c7675d4d196b05b72.png', '<p><strong>Genre : </strong>Comedy, Drama, School, Slice of Life</p>\r\n\r\n<p>Eikichi Onizuka, 22 tahun, adalah mantan pemimpin geng bermotor yang tidak tahu apa yang dilakukan dalam hidupnya. Dia bertemu seorang gadis yang mengobarkan keinginannya untuk menjadi seorang guru.Onizuka berhasil menjadi guru di kemudian hari, namun Onizuka tidaklah sama dengan guru-guru yang sudah ada. Wataknya keras karena dia pernah menjadi anggota geng. Dia juga memiliki sifat sangat cuek dan tidak memedulikan tata krama yang ada. Dengan perilaku semacam itu, dia memecahkan berbagai masalah hubungan antarmurid di kelasnya dangan cara yang tidak biasa, seperti mengancam murid yang sok jagoan dengan ancaman akan menjatuhkannya dari atas gedung.</p>\r\n\r\n<p>Dengan wataknya yang tidak biasa itu, dia dibenci hampir semua orang di sekolah. Akan tetapi, pada akhirnya, banyak yang menyadari bahwa Onizuka adalah orang yang berjiwa bersih dan bisa mengatasi setiap permasalahan yang dialami murid maupun rekan sejawatnya.</p>\r\n', 0.00),
(44, 'Hunter x Hunter', '1aedb378fed9beea96bdb01f04d76fcb.jpg', '<p><strong>Genre :</strong> Action, Adventure, Fantasy</p>\r\n\r\n<p>Hunter adalah orang yang berkeliling dunia melakukan berbagai tugas berbahaya. Yakni menangkap penjahat, melewati daratan yang belum terjamah, menemukan harta karun. Gon adalah seorang anak muda yang ditinggal lama oleh ayahnya, yang seorang Hunter. Dia yakin bahwa jika ia mengikuti jalan ayahnya, suatu hari dia bisa bertemu dengan Ayahnya. Saat berumur 12thn, Gon meninggalkan rumahnya dan membulatkan tekad dan mengikuti ujian Hunter, Ujian Hunter dikenal sebagai ujian yang memiliki tingkat kelulusan yang rendah ditambah dengan kemungkinan yang membawa kematian. Dia pun menadapatkan teman yakni Kurapika – ingin mempalas dendam, Leorio – ingin menjadi Dokter, dan Killua – seorang mantan pembunuh. Persahabatan yang mereka jalinpun mendapatkan berbagai cobaan dan salah saltunya adalah Ujian Hunter.</p>\r\n', 0.00),
(45, 'InuYasha', '29e62013e4c7a98e5b899793fb5023ab.jpg', '<p><strong>Genre :</strong> Action, Romantic comedy, Supernatural </p>\r\n\r\n<p>Cerita berawal di Tokyo, Jepang, seorang gadis SMU bernama Higurashi Kagome. Dia sedang mencari kucingnya Buyo yang jatuh ke sumur keramat, karena adiknya takut untuk masuk. Pada saat Kagome sampai di mulut sumur tersebut, siluman kelabang atau Mukade Joro muncul dari dalam Hone-kui no Ido atau Sumur Pemakan Tulang dan menyerangnya. Siluman tersebut menyerang Kagome yang ternyata memiliki Bola Empat Arwah (???? Shikon no Tama) di dalam tubuhnya, dan berkeinginan untuk merebutnya. Kagome kemudian diseret ke dalam masa Sengoku atau Sengoku Jidai. Kagome yang bingung dengan keadaan sekitar yang berubah menjadi hutan, berusaha untuk mencari jalan keluar dan melihat sebatang pohon keramat (Goshinboku), di sana Kagome melihat seorang laki-laki berambut perak dan memiliki kuping yang tidak lazim di atas kepalanya. Kagome yang penasaran lalu mendekati laki-laki tersebut dan memegang kupingnya yang aneh, tiba-tiba ia diserang oleh penduduk desa yang mengira Kagome adalah jelmaan siluman rubah. Kagome kemudian bertemu dengan seorang Miko (biarawati Shinto) tua yang bernama Kaede, dan menyadari bahwa Kagome adalah reinkarnasi dari Kikyo, kakak perempuan Kaede (dan juga biarawati berilmu tinggi) yang telah meninggal dunia dan jasadnya dibakar bersama Shikon no Tama. Kaede menceritakan bagaimana 50 tahun yang lalu, seorang han'y? (setengah siluman) bernama InuYasha berusaha mencuri Shikon no Tama dari Kikyo. Dengan terluka parah, Kikyo berhasil melepaskan panah, untuk menyegel InuYasha dan membuat InuYasha tidur abadi dan tidak bisa dicabut panahnya, kecuali oleh orang yang sekuat Kikyo sendiri. Lalu datanglah Kagome dari masa yang sekarang dan mencabut segel InuYasha yang tertidur, karena siluman Mukade Joro muncul kembali. InuYasha yang bangun kembali, bersikap tidak bersahabat dengan kagome yang mirip dengan Kikyo. Pada suatu hari muncullah sekelompok orang jahat yang mau merebut Shikon no Tama, dan ternyata pemimpin mereka sudah mati dan dirasuki oleh siluman gagak atau Shibugarasu. Karena ingin mengalihkan perhatian Shibugarasu, maka Kagome melempar Shikon no Tama keluar dan akhirnya di telan oleh Shibugarasu sehingga menjadi lebih kuat dan menyerang seorang anak kecil, InuYasha yang tidak sabaran, mengeluarkan jurusnya dan membuat Shibugarasu hancur serta anak kecil itu jatuh ke sungai. Kagome yang menyelamatkannya, lalu melihat Shibugarasu kembali ke wujud semula dengan bantuan Shikon no Tama, dan terdapat kaki Shibugarashu yang tertinggal pada baju anak tersebut, maka kagome melepaskan anak panahnya sambil mengikatkan kaki Shibugarasu ke panahnya, dan berhasillah shibugarasu di panah bersamaan dengan Shikon no Tama sehingga pecahlah Shikon no Tama tersebut sampai berkeping-keping dan terpencar keseluruh tempat. Lalu dimulailah petualangan InuYasha dan Kagome dalam mencari Bola Empat Arwah yang sudah menjadi pecahan. Satu-per satu kelompok InuYasha dan Kagome bertambah, dari Shippo, Miroku, dan yang terakhir Sango bersama Kirara sambil melawan musuh-musuh yang bermunculan.</p>\r\n', 0.00),
(46, 'Izumo', 'b200f410c45893a9436dd04fa2b53752.jpg', '<p><strong>Genre :</strong> Adventure, Drama, Fantasy, Martial Arts, Romance, Supernatural</p>\r\n\r\n<p>Izumo adalah putra penguasa negeri Ashiharano Nakatsu. Negeri ini memiliki sebuah kuil yang menyimpan pedang Dewa Susanowono bernama pedang <NAME>umono yang sangat sakti. Pedang ini tiba-tiba menghilang ketika sedang dipakai Izumo untuk bertarung melawan naga berkepala 8 bernama Orochi. Petualangan Izumo dimulai dengan pencarian sahabatnya Sanae yang diculik oleh Takeru yang sedang mengincar benda-benda pusaka bertanda Narga. Apa hubungan antara Sanae, pedang <NAME>ono dan tanda Narga? Mampukan Izumo mengungkapkan semua misteri itu?</p>\r\n', 0.00),
(47, 'Sailor Moon', '34aca7b4c044088e987326ef168512bc.png', '<p>Genre : Magical girl , Fantasy</p>\r\n\r\n<p>Seorang gadis berpakaian sailor (sera fuku, seragam sekolah atau seifuku untuk siswi Jepang yang diadaptasi dari seragam pelaut) mengejar seorang lelaki bertuksedo dan memakai topeng. Keduanya bertarung untuk mencari Kristal Perak (Silver Crystal) yang ternyata tidak ada di tangan sang pemuda.</p>\r\n\r\n<p>Usagi yang terinspirasi akan kepahlawanan Sailor-V, berniat menjadi pahlawan seperti jagoannya. Hal itu terkabul saat bertemu dengan seekor kucing yang bisa berbicara bernama Luna serta membuat Usagi berubah menjadi Sailor Moon. Perjuangan melawan pasukan kejahatan tidak sendiri, perlahan Usagi menemukan teman baru yang juga termasuk pengawal kerajaan Bulan. Pada awalnya Sailor Moon memiliki empat teman termasuk Sailor-V yang ternyata adalah Sailor Venus, kepala pengawal kerajaan. Perlahan-lahan sejalan dengan cerita, dia bertemu dengan "Sailor" lainnya hingga bertemu dengan anaknya pada masa depan, Chibiusa (pada versi Sailormoon Super).</p>\r\n\r\n<p>Setelah berbagai pertempuran hingga membangkitkan kekuatan bintang mereka, Sailor Moon bertemu dengan "Sailor" dari galaksi lain. Hampir semua musuh yang dilawan berbasis pada nama bulan seperti Half Moon, Dark Moon, Death Moon, dan lain sebagainya. Musuh-musuh yang dilawan pasukan "Sailor" tersebut berasal dari semua kekuatan kejahatan yang mengincar Kristal Perak, yang diduga memiliki kekuatan tak terhingga.</p>\r\n', 0.00),
(48, 'Samurai X', 'e9995392c48147b26f4c57218e910228.jpg', '<p><strong>Genre :</strong> Action, Adventure, Comedy, Historical, Romance, Samurai</p>\r\n\r\n<p><NAME> Kenshin bersetting pada tahun 1879 di negeri sakura, dimana jaman Tokugawa telah digantikan oleh jaman baru yang disebut Restorasi Meiji. <NAME>, seorang samurai yang turut berjasa dalam pergantian era pemerintahan di Jepang, kini telah memutuskan untuk mengisi sisa hidupnya untuk mengembara dan sebagai pelindung rakyat setelah sebelumnya ia menjadi seorang Battosai ( pembantai ) di era Tokugawa. Untuk menebus dosa-dosanya tersebut, Kenshin telah mengganti pedang tajamnya dengan Sakabatou ( pedang bermata terbalik ) sebagai tanda bahwa ia tidak ingin membunuh lagi dan bertujuan untuk melindungi kaum lemah tanpa harus melukai maupun membunuh lawannya.</p>\r\n\r\n<p>Dalam perjalanannya, Kenshin bertemu dengan Kaoru Kamiya, seorang gadis yang berperan sebagai guru kendo sekaligus pemilik doujinshi ( perguruan ) aliran Kamiyakashin. Setelah itu, Kenshin memutuskan untuk menetap di perguruan Kamiyakashin untuk melindungi sekaligus membantu Kaoru dalam meneruskan dan mengajarkan </p>\r\n', 0.00),
(49, 'Sh<NAME>', 'a850fd5134e6d1eee8f5d071a3ac160d.jpeg', '<p><strong>Genre :</strong> Action, Adventure, Comedy, Drama, Shounen, Supernatural</p>\r\n\r\n<p>Cerita ini menceritakan tentang seorang anak bernama <em>Yoh Asakura</em> yang bisa berhubungan dengan roh dan anak ini sedang berlatih untuk mengikuti pertandingan shaman (<em>shaman fight</em>) yang diadakan setiap 500 tahun sekali dan menjadi shaman king, sang juara turnamen dan seorang pemenang turnamen yang akan mendapatkan roh agung (<em>Great Spirit</em>) dan memimpin dunia. Apabila yang menjadi seorang Shaman King adalah orang baik maka dunia akan terbawa ke jalan yang baik pula, namun apabila yang menjadi shaman king orang yang jahat maka akan membawa dunia ini pada kehancuran</p>\r\n', 0.00),
(50, 'Slam Dunk', 'f4d405709a1e9409e0a4f7a29e7a13b1.jpg', '<p><strong>Genre :</strong> Comedy, Drama, School, Shounen, Sports</p>\r\n\r\n<p><NAME> adalah seorang berandalan yang telah 50 kali ditolak perempuan yang diminta untuk menjadi pacarnya. Ia kemudian bertemu Akagi Haruko, gadis idamannya yang mengajurkan Sakuragi untuk mencoba bergabung dengan tim basket SMA Sh?hoku. Meskipun agak enggan karena tak mempunyai pengalaman bermain basket, Sakuragi memutuskan untuk bergabung agar dapat membuat Haruko terkesan dan membuktikan dirinya pantas untuk menjadi pacar Haruko. <NAME>, saingan Sakuragi baik dalam hal percintaan maupun di lapangan basket, bergabung pada saat yang sama. <NAME>, mantan pemain terbaik di SMP, dan Ryota Miyagi keduanya juga bergabung dengan tim Sh?hoku untuk mencapai impian sang kapten tim, Takenori Akagi untuk membawa Sh?hoku menjadi juara nasional. Bersama-sama, kelimanya membentuk tim yang kuat dan Sh?hoku yang sebelumnya tidak dikenal luas berubah menjadi salah satu calon juara. Kemudian mereka ikut dalam perlombaan antar SMU,untuk mencapai harapan takenori akagi mencapai juara nasional.mereka berlatih dengan giat,memasuki hari pertandingan sakuragi tak dapat tidur memikirkan pertandingan yang akan datang tersebut. Mereka berjuang dengan sekuat tenaga dan akhirnya team Sh?hoku mendapatkan juara.</p>\r\n', 0.00),
(51, 'The Genius Bakabon', '01aa6851f843668bf7ea92e1da5048c6.jpg', '<p><strong>Genre :</strong> Comedy, Shounen</p>\r\n\r\n<p>Papa Bakabon adalah karakter yang luar biasa bodoh, dia dan Bakabon sering melakukan hal gila berdua tanpa alasan yang jelas, bahkan sering kali saya berpikir kalau papa Bakabon ini jauh lebih bodoh daripada anaknya sendiri. Tapi sebenarnya papa Bakabon ini adalah orang yang baik, sempat suatu hari Bakabon membuat robot dan berharap robotnya bisa bergerak, tapi sayang robot tersebut kosong (<em>namanya juga orang bodoh</em>), kemudian papa Bakabon memakai ‘kostum’ robot tersebut untuk menyenangkan hati Bakabon. Papa Bakabon diceritakan dulunya adalah orang pintar, tapi sepertinya ada yang salah di kepalanya setelah dia mengalami kecelakaan.</p>\r\n', 0.00),
(52, 'The Real Master Cooking Boy', '19f89a93e33cd4b37c457a1971c4efbb.jpg', '<p><strong>Genre : </strong>Action, Comedy, Drama, Shounen</p>\r\n\r\n<p>Mao, 14 tahun, atas saran guru Cho Yu memutuskan mengelilingi bagian barat daya Cina untuk menambah wawasan sebagai juru masak. Dalam perjalanannya dia ditemani oleh Zhi Lao, 10 tahun, yang bertemu dalam pengembaraannya. Satu kota lagi menuju Guangzhou, mereka berhenti di kota ayam. Karena lapar Zhi Lao mengambil buah kesemek yang ada di halaman rumah yang bobrok. Pemilik rumah memergokinya, tapi melihat keadaan Mao cs yang kelaparan, pemilik rumah yang bernama Di Ya mengajak Mao cs mampir ke restoran miliknya, restoran Hei Yu Lou, tapi keadaan restoran sungguh mengkhawatirkan, dindingnya dicoret-coret dan papan namanya dicopot. Paginya Mao cs mendengarkan cerita Di Ya tentang ayam hitam yang dipeliharanya. Ayam hitam inilah yang menyebabkan kakaknya Qu Long meninggal dunia akibat sakit terlalu lelah memeliharanya. Padahal dengan ayam hitam ini Qu Long ingin memenangkan kompetisi masakan ayam. Di Ya menganggap ayam hitam ini adalah ayam kutukan, selain produktifitasnya rendah, daging dan isinya berwarna hitam. Demi mewujudkan impian yang dikejarQu Long, Mao mengikuti kompetisi masakan ayam dengan menggunakan bahan ayam hitam yang sulit untuk diolah.</p>\r\n', 0.00),
(53, 'Yu Gi Oh!', '5962cabbdccdbfe9ccb7a10e5f909558.jpg', '<p><strong>Genre : </strong>Action, Comedy, Fantasy, Game, Shounen</p>\r\n\r\n<p>Sebagai awalnya dimulai dengan perkenalan kepada tokoh-tokohnya. Pada bagian ini, Yugi masih belum terfokus pada permainan kartu <em>Magic & Wizard</em> tetapi lebih fokus kepada pengenalan <em>Millenium Item</em> dan permainan-permainan kegelapan (Yami no Game) yang dimunculkan oleh kekuatan para benda benda millenium tersebut, yang mana apabila pemain kalah pada permainan kegelapan biasanya akan mendapatkan hukuman atau penalti game kegelapan yang mengerikan melalui mata ketiga (yang akhirnya malah tidak pernah diceritakan lagi asal usul mengenai mata ketiga tersebut pada bagian saga berikut). Sempat diceritakan juga mengenai Duel Capsule, namum kalah populer dengan Duel Monster.</p>\r\n', 0.00),
(54, 'Ashura', '3f3b903ea41c4a74773c1b34fa9193af.jpg', '<p><strong>Genre : </strong>Action, Martial Arts, Shounen</p>\r\n\r\n<p><em>Tsukumitsu Mutsu</em> (di dalam terbitan Elex Media Komputindo, diganti dengan <em>Paddy</em>) seorang penerus aliran karate <em>Enmei</em> <em>(Mutsu Enmei Ryu)</em> yang merupakan aliran untuk bertempur dan membunuh. Tsukumitsu bertujuan untuk mencari orang yang terkuat dengan menantang seluruh jawara dan pakar beladiri se-Jepang dengan menggelar pertandingan beladiri bebas. Perjalanan Tsukumitsu dimulai di perguruan Karate Shinbukan. Sebagai "perkenalan" dia berhasil merobohkan 100 orang perguruan tersebut yang akhirnya memaksa keluar 4 Naga Shinbukan. Dalam aksinya di Jepang, Tsukumitsu bertarung dengan salah satu karateka yang juga menguasai teknik Enmei. Di sini dia mengeluarkan teknik 4 Gerbang Shuzaku. Perjalanan Tsukumitsu pun berlanjut ke Amerika Serikat. Di negeri Paman Sam tersebut, Tsukumitsu kembali menantang orang terkuat di negara itu dalam pertandingan tinju. Untuk bisa meraih gelar tertinggi dalam dunia tinju Tsukumitsu mengikuti seri turnamen tinju Amerika. Kemudian Tsukumitsu melanjutkan perjalanan ke Brasil dan mengikuti pertandingan <em>Vale Tudo</em> untuk melawan orang-orang terkuat di dunia, dan Tsukumitsu kembali menjadi juara setelah di pertandingan final bertarung melawan <NAME> dari aliran Jiu-Jitsu Brazil. Leon Gracielo sendiri tewas setelah pertandingan tersebut. Dalam pertandingan final tersebut Tsukumitsu juga mengeluarkan teknik tertinggi yang dimilikinya, yaitu teknik 4 Gerbang Gen Bu.</p>\r\n', 0.00),
(55, 'Break Shot', '0dab97d239e68475ce821474dd7d5210.jpg', '<p><strong>Genre : </strong>Shounen, Sports</p>\r\n\r\n<p>Cerita bermula pada hasrat Shinsuke Oda untuk memperkenalkan klub ekstrakurikuler <a href="https://id.wikipedia.org/wiki/Bilyar">Bilyar</a> di sekolahnya. Cerita kemudian berkembang mengisahkan perjuangan Shinsuke untuk memenangkan turnamen- turnamen Bilyar dan hasratnya mengasah kemampuan dan menciptakan teknik Bilyar yang baru.</p>\r\n', 0.00),
(56, 'Kung Fu Boy', 'bd92aaccaf06e57c59d31be2aabc50ad.jpg', '<p>Genre :</p>\r\n\r\n<p>Kungfu Boy bercerita tentang petualangan Chinmi dalam menuntut ilmu kungfu. Chinmi berguru di Kuil Dairin yang merupakan salah satu kuil yang selalu menghasilkan jagoan-jagoan kungfu yang diperhitungkan di dunia persilatan Cina. Suatu Pagi Chinmi diajak oleh Pak Tua untuk menemui Riki, seorang pebeladiri yang pandai menggunakan tongkat, disitulah ia belajar menggunakan tongkat hingga akhirnya dia mampu mengimbangi Riki. Tidak lama setelah itu Riki mengajak Chinmi untuk bertemu dengan guru Soshu, guru yang mengajari Riki ilmu tongkat dan disitulah ia pertama kalinya bertemu dengan <NAME> yang kelak menjadi salah satu sahabat Chinmi. Perjalanan Chinmi untuk pengembangkan ilmunya, menuntut dia untuk berguru pada Guru Yosen, seorang pendekar kungfu tua yang sangat dikenal oleh kalangan pendekar Kuil Dairin. Walaupun cuma sebentar, namun kontribusi Guru Yosen tentang pertarungan yang sebenarnya, membuat Chinmi merasa harus menuntut ilmu lebih banyak lagi.</p>\r\n', 0.00),
(57, 'Kunimitsu', '5b9491fd75d423d29dd1ea2d186ff88a.jpg', '<p><strong>Genre :</strong> Action, Comedy, Drama, Shounen</p>\r\n\r\n<p>Jenuh melihat keadaan Jepang yang merosot akibat para politikus yang 'kotor', Kunimitsu Mutou memutuskan terjun ke dunia politik untuk memperbaiki keadaan Jepang. Di bawah bimbingan Sakagami Ryoma, Kunimitsu memulai perjuangannya."<br />\r\nKunimitsu Mutou 18 tahun lulusan SMA adalah pria yang bertekat mengubah Jepang. Berbekal surat pengantar dari pak Makihara gurunya, Kunimitsu mendatangi kota Shincibagaki untuk belajar menjadi seketaris dari politisi yang bernama Ryoma Sakagami. Di tengah perjalanan,Kunimitsu masuk kedalam pesta peresmian Sanatorium Batu Kapur. Dengan alasan mereka menggunakan uang rakyat, Kunimitsu menyantap makanan dengan lahap yang ada disana. Sebelum pergi Kumitsu menyindir mereka yang hadir disana sebagai serangga yang menggerogoti kota dan akan dibasminya. Kedatangannya pertama Kunimitsu ke kotaShincibagaki langsung membuat keributan dengan bertengkar melawan walikota dan anggota parlemen.</p>\r\n', 0.00),
(58, 'Offside', '8b91971403aa9e67deaa5f766816dba9.jpg', '<p><strong>Genre :</strong> Shounen, Sports</p>\r\n\r\n<p>Komik ini bercerita tentang sebuah sekolah bernama SMU Kawasaki yang mempunyai sebuah Klub Sepak bola,Anggotanya pas-pasan namun mereka memiliki semangat pantang menyerah yang sangat tinggi.Kapten dari tim sepak bola mereka bernama Goro Kumagaya kelas 3 SMA,Goro memiliki jiwa kepemimpinan yang sangat tinggi dan ia sangat pandai memotivasi teman-teman satu timnya.Berawal dari sebuah tim yang dipandang sebelah mata,SMU Kawasaki langsung menjelma menjadi tim yang cukup disegani di kancah persepakbolaan SMA di Jepang,mereka berhasil menjuarai kejuaraan Nasional antar-SMA sebanyak 2 kali berturut-turut</p>\r\n', 0.00),
(59, 'Psychometrer Eiji', '00ff60f84d580737625bfa7b2922f41e.jpg', '<p>Genre : Mystery, Drama, Supernatural</p>\r\n\r\n<p>Komik dewasa terbitan Level Comics khusus Indonesia ini bercerita tentang seorang remaja SMA yang punya kekuatan khusus yang dalam istilah psikologi disebut psikometri. Kekuatan itu muncul setiap kali ia menyentuh benda atau manusia. Karena pada saat itu ia bisa melihat kejadian masa lampau yang berkaitan dengan objek yang disentuhnya tersebut. <br />\r\nSelain Eiji, hanya adik perempuannya dan seorang sahabat dekatnya yang tau tentang kekuatan tersebut. namun kemudian ada seorang polisi wanita cantik nan seksi yang mengenali kemampuannya karena ternyata psikometri merupakan topik thesis wanita itu. Tidak tinggal diam, polisi itu mengajak Eiji untuk turut serta dalam penyelidikan dan pemecahan kasus kriminal. <br />\r\n </p>\r\n', 0.00),
(60, 'Ranma', '1f8ec81c0a6466ad4243d814a14b602b.jpg', '<p><strong>Genre :</strong> Comedy, Fantasy, Martial Arts, Slice of Life</p>\r\n\r\n<p>Ranma dan ayahnya, Saotome Genma, dalam perjalanannya di Provinsi Qinghai, Cina, terjatuh pada mata air terkutuk Jusenkyo. Masing-masing mata air terhubung pada kisah seseorang atau sesuatu yang pernah tenggelam di mata air tersebut ribuan tahun yang lalu. Apabila ada seseorang yang terjatuh di dalamnya maka orang itu akan berubah wujud jika terkena air dingin dan akan kembali ke wujud semula jika terkena air panas. Genma jatuh ke mata air Panda, dan Ranma jatuh ke mata air Gadis.Saat mereka kembali ke Jepang, Genma memberitahukan pada Ranma bahwa Ranma telah ditunangkan oleh seorang gadis yang sama sekali belum pernah ditemuinya.</p>\r\n', 0.00),
(61, 'Rave Master', '8a7a66dd9eaa79e880af5d4bbe31ad0a.jpg', '<p><strong>Genre : </strong>Adventure, Comedy, Fantasy, Shounen</p>\r\n\r\n<p>Semua berawal pada tahun 0015 (tahun 10015 dibaca 0015), saat itu kekuatan yang dikenal sebagai "ibu" dari segala <em>Dark Bring</em>yakni <em>Sinclaire</em>, mengancam dunia. Shiba sebagai Rave Master pertama mencoba menghancurkan dengan pedangnya namun yang terjadi adalah <em>Overdrive</em> yakni sebuah ledakan besar yang menghancurkan sepersepuluh bagian dari dunia. Rave yang digunakan Shiba saat itu akhirnya terpencar menjadi 5 bagian akibat <em>Overdrive</em> dan Shiba hanya dapat mengambil satu bagian dari Rave tersebut. Namun, Shiba belum mampu menghancurkan <em>Sinclaire</em> dan hanya mampu melukainya.</p>\r\n\r\n<p>50 tahun berlalu sejak itu, Haru Glory, seorang remaja yang tinggal di pulau Garage menemukan makhluk aneh yang mempunyai badan kecil serta hidung seperti bor. Haru diberitahu oleh Shiba bahwa itu adalah "Plue". Makhluk itu adalah makhluk yang menemani <em>Rave Master</em> sebagai <em>Rave Warrior</em>.</p>\r\n\r\n<p>Tidak lama setelah itu, Feber, Anggota dari Demon Card (organisasi yang berencana menggunakan dark bring untuk menguasai dunia) menemukan Shiba dan meminta Shiba untuk memberikan Rave padanya. Shiba menolak dan akhirnya Feber menggunakan kekerasan. Shiba kemudian memberikan Rave pada Haru dan menyuruhnya kabur tetapi Haru menolak untuk kabur dan mencoba untuk menolong Shiba. Saat Feber mencoba untuk mengambil Rave dari Haru, Haru tiba-tiba mengeluarkan kekuatan Rave dengan pukulannya yang akhirnya Feber kalah dengan <em>Explosion</em> (Jurus Rave). Shiba terkejut sekaligus menyadari bahwa Haru telah dipilih oleh Rave untuk menjadi Rave Master kedua. Sejak hari itu Haru mulai mencari sisa bagian dari Rave dan memulai perjalanan untuk menghancurkan <em>Demon Card</em>.</p>\r\n', 0.00),
(62, 'Dorabase', '0ebba3268f36acb4a6a8543f307b2edf.jpg', '<p><strong>Genre : </strong>Comedy, Sports</p>\r\n\r\n<p>Komik ini mengisahkan tentang para robot kucing yang bermain bisbol. Awalnya Doraemon ikut dalam permainan Kuroemon (tokoh utama) bermain baseball dalam tim Edogawa Dora's. Namun, Doraemon tidak dapat berkonsentrasi karena mengkhawatirkanNobita. Dalam komik ini teradapat kemampuan-kemampuan khusus dalam memukul bola ataupun melempar bola dan dapat menggunakan 3 peralatan ajaib.</p>\r\n', 0.00),
(63, '<NAME>', 'ceb0b3e812977c5e022a79e73b52545f.jpg', '<p><strong>Genre :</strong> Comedy, School, Shounen</p>\r\n\r\n<p>Doshiro dibawa oleh ayahnya ke padang tandus di negara bagian Nevada, Amerika Serikat sejak berumur 3 tahun hingga dewasa. Dua belas tahun kemudian dia berhasil ditemukan dan pulang ke tempat ibunya di Jepang. Ternyata selama disana dia telah menjadi seorang samurai. Gara-gara penampilannya inilah, baru saja menginjakkan kaki di Jepang dia sudah ditantang berkelahi, juga menjadi incaran para preman di sekolah.tetapi preman tersebut insyaf dan menjadi pengikut Doshiro. ada pula Kensuke, lelaki lemah yang menjadi bos dari Doshiro. kensuke menyukai seorang gadis yang bernama Erika. erika mendapat masalah di sekolah kemudian Doshiro, Saotome si preman, dan Kensuke membela Erika sehingga mereka dikeluarkan dari sekolah. merekapun melanjutkan sekolah di mana tempat para preman berkumpul. sampai guru pun tak bisa menegur muridnya.pada saat itu kensuke semakin mendapat masalah dengan para preman di sekolah itu. Karena salah sangka bahwa kensuke kuat karena doshiro di lihat berlutut di depan kensuke. padahal doshiro menyesali onigirinya dan menjadikan kensuke sebagai bos di sekolah tersebut. sampai pada suatu hari, mereka disuruh mengumpulkan uang tanda cinta sekolah akehisa. tetapi, kensuke dengan polosnya menolak. kemudian di mulailah masalah-masalah yang sebenarnya aneh tapi lucu. Doshiro yang sedang ada masalah dengan guru mendengar sesuatu dan merasakan "panggilan alam" dari Kensuke-dono (" -dono" adalah panggilan bagi tuan dari seorang samurai}. Ia menghajar semua yang menghalanginya untuk menyelamatkan kensuke yang keroyok senior tanpa sepengetahuan kensuke. hingga pada saat akhir saat kensuke berhasil keluar dari sekolah. kemudian kensuke dipanggil oleh temannya disandra oleh teman senior yang paling jahat dan merupakan dalang dari semua itu. akhirnya Saotome, teman kensuke 1, dan kensuke sendiri akhirnya menghadapi senior yang paling jahat tersebut dan mereka terlibat pertempuran sengit. namun, saat senior tersebut melihat doshiro yang ada di belakang langsung lari terbirit-birit. semuanya yang tidak merasakan kehadiran Doshiro menganggap mereka-lah yang telah mengalahkan senior tersebut. dan Doshiro yang melihat ke bahagiaan mereka merasa telah gagal menyelamatkan kensuke dan merasa di campakkan.lalu bagaimanakah kesetiaan Doshiro pada kensuke-dono???akankah Doshiro tetap ber bakti pada kensuke-dono???bacalah komiknya!!!sangat menghibur! beli komik bajakan, malu donk!!!</p>\r\n', 0.00),
(64, 'Fantasista', '61e8503033659c285107aeb7e0c55cec.png', '<p><strong>Genre :</strong> Shounen, Sports</p>\r\n\r\n<p>"Dimulai dengan kedatangan Pemandu Bakat dari AC Milan. Perjalanan seorang pemuda menjadi pemain sepak bola dunia, dimulai. Pemuda itu bernama Sakamoto Teppei."<br />\r\nLapangan Nishigaoka, pertandingan sepak bola antara SMU Mizumoto melawan SMU Teito. Pelatih sepak bola SMU Mizumoto, Sakamoto Kotone menganggap hari ini adalah hari terbaik, karena langsung bertanding dengan juara tahun lalu, sedangkan para pemain menganggap ini kesialan. Pertahanan yang baik dan disiplin yang diterapkan pelatih Sakamoto Kotone, membuatSMU Teito tertekan. 30 menit telah berlalu dan skor masih imbang 0-0. Sakamoto Teppeidatang terlambat di pertandingan ini karena sebelumnya mengejar pencuri bersepeda yang mencuri tasnya. Dari tendangan sudut yang ditendang oleh Morikawa, bola berhasil disundul olehOjiba masuk kedalam gawang. 1-0 untuk SMU Teito. Pergantian pemain dari SMU Mizumoto,Teppei masuk. Ini pertama kalinya Teppei bermain bola dalam satu tim. Dia menggiring bola seorang diri dari tengah lapangan dan mencetak gol. Babak pertama berakhir dengan kedudukan imbang 1-1.</p>\r\n', 0.00),
(65, 'Fight Ippo', '4be1d1421f1e4ca5831ed1147cb4c96f.jpg', '<p><strong>Genre : </strong>Action, Comedy, Drama, Shounen, Sports</p>\r\n\r\n<p>Cerita diawali ketika Ippo, seorang murid sekolah menengah sering dijahili oleh berandalan tanpa bisa melawan. Suatu hari, ketika ia diganggu oleh berandalan Ippo ditolong oleh seorang petinju professional bernama Takamura. Dia berhasil membuat para berandalan itu kabur setelah mencopot semua kancing mereka dalam beberapa saat saja. Ippo yang kagum ingin menjadi petinju seperti dirinya.</p>\r\n\r\n<p>Esoknya Ippo dibawa ke bawah pohon dan diajari menggunakan <em>jab</em>. Dia harus mengambil sepuluh daun yang jatuh dari pohon dengan cepat. Setelah berhasil, dia lalu pergi ke sasana Kamogawa untuk menjadi petinju juga. Dimulailah karier bertinju Ippo.</p>\r\n', 0.00),
(66, 'For You In Full Blossom', 'd04dc8a74deb94aa75ce2ac4f218005c.jpg', '<p><strong>Genre : </strong>Shoujo</p>\r\n\r\n<p>Mizuki Ashiya, cewek jepang yang tinggal di Amerika memutuskan untuk bersekolah di Jepang buat mengejar atlet lompat tinggi favoritenya (sekilas mengingatkanku pada Minamino Maria yang pindah sekolah buat ngejar cinta pertamanya di Mint na bokura) Ternyata, sekolah tempat Izumi Sano (cowok yg dikejar sama Mizuki) itu adalah sekolah khusus cowok dan dengan nekatnya, Mizuki nyamar jadi cowok (mengingatkanku pada Noel, cowok kembarannya Maria yang nyusul Maria dan harus nyamar jadi cewek) Pas waktu sudah jadi murid yang nyamar jadi cowok, Mizuki harus menghadapi kenyataan bahwa Izumi Sano, atlet lompat tinggi pujaannya sudah berhenti karena suatu hal yang dia nggak tau. Padahal Mizuki sudah berhasil satu kamar sama Izumi Sano.<br />\r\n </p>\r\n', 0.00),
(67, 'Gang Nan Story', '07ef7f756670602be1d029a27c7f7d34.JPG', '<p><strong>Genre :</strong> Action</p>\r\n\r\n<p>Crazy Guy adalah Polisi Kerajaan pada masa akhir Dinasti Ching. Pu Yi adalah Kaisar Terakhir dinasti ini sebelum adanya revolusi oleh Chiang Kai Sek. Sebagai polisi kerjaaan dan sekaligus sahabat dari kaisar ini, Crazy Guy diminta oleh kaisar yang lemah kekuasaaan dan kemampuannya ini untuk mencari peang kerajaan yg hilang. Pu Yie berkeyakinan bahwa dengan kembalinya pedang pusaka ini, DInasti Ching akan bangkit kembali dan berkuasa atas daratan china.</p>\r\n', 0.00),
(68, 'Ghost Sweeper Mikami', 'e811bff9f3c33e27d556dad1e7d71a6e.png', '<p><strong>Genre : </strong>Comedy, Action, Supernatural</p>\r\n\r\n<p>Reiko Mikami yang bekecimpung dalam bisnis pembasmian roh. DatanglahTadao Yokoshima sebagai asistennya si mikami n selalu menggoda mikami disertai ulah ulah pelecehan seksual gak jelas kepada mikami. Ingat, dalam komiknya Yokoshima dan Mikami adalah tokoh utama. Si cowok adalah pria mata keranjang yg tergila-gila pada semua cewek di dunia, asal cantik. Tapi si Mikami gemar berpenampilan seksi, gak waras pengarangnya.<br />\r\nTokoh-tokoh ajaib lainnya Kinu, seorang hantu yang kemudian kembali jadi manusia. Emi Ogasawara, GS saingan Mikami. Dr. Chaos dan Maria, majikan dengannya robotnya. Pietro, vampir yang dibenci Yokoshima karena jadi pusat perhatian cewek-cewek SMA. Karasu, gurunya Mikami. <NAME>, lesbi yang cinta Mikami. Yakuchin, tukang obat gadungan. Putri naga kecil, cewek tapi di kepalanya ada tanduk. Hyakume, dema mata. Saijo, saingan cinta Yokoshima dan tokoh2 gak penting lainnya. </p>\r\n', 0.00),
(69, '<NAME>', '12d30626e5d8877b144066a7d47d8ccc.jpg', '<p><strong>Genre :</strong> Drama, Shounen, Sports</p>\r\n\r\n<p> Manga ini bercerita tentang seorang remaja bernama <strong>Toru Naruse</strong> yang semenjak SD hingga lulus SMP selalu menjadi orang cadangan. Oleh karena itu sewaktu memasuki bangku SMU Johnan, Naruse berkeinginan untuk menjadi orang yang menonjol dengan mengikuti klub bola basket. Naruse yang sebelumnya tidak memiliki dasar di bidang basket, secara tidak sengaja bertemu dengan <strong>Syu</strong>, salah satu dari <strong>Three Men</strong> dan sekaligus pemimpin <strong>Three Men</strong> dikarenakan Syu dikenal dengan kemampuan Individu yang paling tinggi di antara Three Men yang lain, Syu adalah legenda pada <em>Three Men's Hoop</em>, sebuah lapangan basket <em>three-on-three</em>. Naruse diajarkan cara bermain basket dengan melawan Syu satu lawan satu. Pada akhirnya pun Naruse berhasil memasukkan bola basket dengan cara yang mengagumkan, yaitu dengan <em>air walk</em> <NAME>. Naruse sejak itu berhasil melewati tembok penghalang yang selalu membatasi dirinya. Mulai sejak itu dia terus berlatih keras, Lalu tidak lama setelah kejadian diatas, akhirnya Naruse membentuk tim street basket bernama <em>Scratch</em> bersama-sama dengan Mizuki kawan kecilnya, dan Kosuke seorang gangster daerah Shibuya serta salah satu orang yang pernah mengambil angka dari Three Men. Tidak lama setelah membentuk tim tersebut, muncul kejuaraan street basket dan akhirnya mereka ikut kejuaraan tersebut. Mulai dari kejuaraan tersebutlah Sawamura bergabung kedalam Scratch sekaligus penampilan pertama pada Harlem Beat. Waktu terus berlalu hingga akhirnya Johnan berhasil masuk kedalam tingkat nasional dimana Johnan pun menghadapi musuh yang semakin lama semakin kuat. Kejuaraan nasional saat itu dilakukan di Osaka dimana di kota tersebutlah Naruse bertemu dengan Tomomi yang akhirnya mempunyai hubungan lebih dari sekadar teman. Naruse juga bertemu dengan rival terkuatnya, <strong>Sasuke Amami</strong> yang merupakan anggota tim basket Kanakita yang berkali-kali mendapat gelar juara nasional basket SMA se-Jepang. Johnan yang pada mulanya terpuruk, kini dapat kembali berjaya.</p>\r\n', 0.00),
(70, '<NAME>', '603db5537f9a755f7fec5f84a0dd503f.jpg', '<p><strong>Genre : </strong>Action, Adventure, Comedy, Historical, Shounen</p>\r\n\r\n<p>Cerita ini dimulai dari pertemuan antara <NAME> dan <NAME>. Kemudian mereka mengalami sebuah pertarungan di sebuah desa, dan muncul tokoh utama dalam cerita ini yaitu Kyo si Mata Iblis (????) yang kepalanya dihargai 1 juta ryo. Aksi-aksi pun dilakukan oleh Kyo setelah kejadian itu Yuya mengira Kyoshiro memiliki kepribadian ganda, tokoh-tokoh misterius juga muncul yaitu Okuni dan Benitora (Hidetada Tokugawa). Awalnya mereka berdua adalah musuh, tetapi mereka tertarik dengan 'Kyo si Mata Iblis' lalu ikut dengan Kyo, bahkan samurai terkenal dari klan Sanada juga ikut menjadi rekan Kyo.</p>\r\n\r\n<p>"Kyo si Mata Iblis" sebenarnya adalah keturunan terakhir klan Mibu, yaitu klan yg disebut sebagai klan dewa dan mengatur Jepang dari "balik layar". Pedang kyo adalah salah satu dari 4 pusaka Muramasa. Pedang Kyo yang bernama Tenro mempunyai roh/jiwa raja merah yg pertama. Saat berlatih Kyo diserang salah satu <em>goyousei</em> yaitu pejabat tinggi klan Mibu yg menguasai elemen air yang bernama Shinrei. Pada saat mereka bertarung, Kyo kalah telak dengan Shinrei, tetapi ditolong oleh Muramasa yang juga mantan<em>taishiro</em> yang memiliki kekuasaan tertinggi setelah raja merah. Setelah kalah, Shinrei pergi tapi setelah dia melakukan taruhan dengan Kyo, Shinrei memasukan naga air ke dalam tubuh Yuya yang akan membunuh Yuya setelah 60 hari. Demi menyelamatkan Yuya, Kyo pun berlatih berdua dengan Muramasa di dalam gua. Pada saat Kyo sedang berlatih, Yuya dan Bontemaru (Masamune Date) diserang anggota <em>goyousei</em> yang bernama Keikoku yang berelemen api.</p>\r\n', 0.00),
(71, 'Sanzokuou', '4077f9f4acd83b99c4bd6a4a0ca417a6.jpg', '<p><strong>Genre :</strong> Action, Historical, Shounen</p>\r\n\r\n<p>Komik ini bercerita tentang Nagato Itsuki yang hidup bahagia bersama ayahnya Naoshige Itsuki. Keduanya sama-sama memiliki tanda bintang di tubuhnya. Karena laporan dari peramal OnmyojiTsuchi Mikado, sang ayah ditangkap dan dituduh akan berencana melakukan serangan keBakufu. Sang ayah kemudian dihukum mati secara sepihak. Nagato tidak bisa menerima kenyataan ini, dia bertekad untuk membalas dendam dengan membawa pedang warisan keluarganya Damascus Sword. Namun Nagato gagal melakukannya, dia diselamatkan olehNatsume dan dibawa ke tempat tinggal suku gunung. Disana dia bertemu dengan tuan bedakyang bernama asli Masahige Kusunoki, seorang ketua Akuto dari Kawachi, juga salah seorang pemilik tanda bintang. Masahige nantinya akan menjadi guru dan mengajari Nagato tentang bermacam-macam taktik perang. Beberapa tahun kemudian Nagato mulai menjalani takdirnya sebagai bintang pemersatu, bersama Koyasha sahabat karibnya, mereka mengumpulkan kekuatan-kekuatan dari orang lain yang juga memiliki tanda bintang.</p>\r\n', 0.00);
INSERT INTO `judul_komik` (`id_komik`, `judul`, `gambar`, `deskripsi`, `rating`) VALUES
(72, 'Shoot Legend Of A New Age', '626956b028e752139258d86702c4e49a.jpg', '<p><strong>Genre : </strong>Shounen, Sports</p>\r\n\r\n<p>Shoot bercerita tentang tiga serangkai pemain sepak bola yakni Toshihiko Tanaka, Kazuhiro Hiramatsu, dan Kenji Shiraishi yang masuk ke dalam tim sepak bola SMU Kakegawa. Pada Shoot seri pertama ini secara garis besar menceritakan perjalanan tim Kakegawa menjadi tim nomor 1 di dunia SMU. Manga ini bercerita seputar seorang anak remaja bernama Toshihiko Tanaka (Toshi),yang baru saja mulai bersekolah di SMU Kakegawa dimana idolanya Yoshiharu Kubo juga bersekolah.Kedua teman Toshi semasa SMP (SMP Kakenishi), Kazuhiro dan Kenji juga bersekolah di tempat yang sama,tetapi tidak lagi berminat untuk bermain sepak bola seperti Toshi.Padahal sewaktu di SMP mereka terkenal sebagai Trio Kakenishi di klub sepak bola sekolah mereka yang memiliki jurus andalan 'Triple Counter Attack' yang biasanya digunakan saat injury time (bahkan sampai Piala Dunia 2010). Kazuhiro diharuskan untuk belajar oleh ayahnya dan dilarang bermain sepak bola,padahal ternyata ayahnya sewaktu muda adalah pemain sepak bola yang handal juga.Pada akhirnya diceritakan Kazuhiro dapat meyakinkan ayahnya sehingga dia bisa bermain sepak bola lagi dengan syarat tidak memengaruhi pelajarannya di sekolah Sedangkan Kenji berhenti bermain sepak bola karena terlibat perkelahian di SMP dan mengakibatkan timnya didiskualifikasi,tetapi karena dia juga sangat menyukai sepak bola,akhirnya Kenji pun mulai bergabung lagi dengan Toshi dan Kazuhiro bermain sepak bola di SMU Kakegawa dengan bantuan dari Kazumi Endo (manajer klub sepakbola SMU Kakegawa) yang akhirnya menyatukan tiga serangkai. Akhirnya mereka bersatu kembali. </p>\r\n', 0.00),
(73, 'The Accidents', 'e6777f16a815a5a9f6fdbcbcadd9f8ae.jpg', '<p><strong>Genre : </strong>Action, Adventure, Comedy, Mystery, Drama, Shounen</p>\r\n\r\n<p>Cerita sendiri dimulai ketika terjadi kecelakaan misterius sebuah pesawat terbang yang menewaskan 116 penumpang. Seorang detektif kecelakaan bernama Kujiragi Yuu datang ke TKP dan menyelidiki kasus tersebut. Setelah sampai dirumah, dia menyetel kembali rekaman suara penumpang, tetapi malah diganggu seorang gadis kecil bernama Hiiragi. Hiiragi menyetel rekaman tersebut keras-keras. Tak disangka, Kujira mendapatkan petunjuk dari rekaman tersebut dan berhasil memecahkan kasus setelah dia mengalami kecelakaan mobil. Kujira menangani berbagai macam kasus, mulai dari kebakaran yang tidak bisa dipadamkan sampai kemunculan hantu.</p>\r\n', 0.00),
(74, 'The Impacable Twins', 'd157026752a89ffc0a69d46ffbbd006d.jpg', '<p><strong>Genre :</strong> Drama, Martial Arts</p>\r\n\r\n<p>Pertarungan hidup mati antara 2 pemuda yaitu Siau Hi Ji dari lembah penjahat Ok Jin Kokmelawan Hoa Bu Koat dari istana bunga Ih Hoa Kiong. Tak ada yang tahu penyebab terjadinya pertarungan ini. Meskipun sudah lama menjalin persahabatan yang sangat dalam, namun pertarungan sengit ini sulit dihindari. Seolah sejak lahir mereka telah ditakdirkan untuk pertarungan antara hidup dan mati ini.<br />\r\n20 tahun yang lalu, pendekar pedang nomor satu di kolong langit Yan Lam Thian menerima kabar dari Kang Khim pelayan adik angkatnya Kang Hong. Ternyata Kang Hong membawa pulang seorang wanita dari istana bunga Ih Hoa Kiong. Karena berbuat salah, Kang Hong terpaksa harus kabur menyelamatkan diri. Dalam pelariannya, Hoa Goat Loh istri Kang Hong melahirkan anak kembar. Mereka berhasil dikejar oleh puteri Lian Sin dan Kiao Goat dari istana bunga. Hoa Goat Loh yang terluka parah akhirnya meninggal disusul oleh Kang Hong yang melakukan bunuh diri. Timbul ide dari puteri Lian Sin untuk mengambil salah satu dari bayi kembar tersebut dan mengadunya jika sudah dewasa nanti. Satu bayi dibawa ke istana bunga, dan satu bayi lainnya ditemukan oleh Yan Lam Thian. Yan Lam Thian yang sedang dilanda amarah segera menuju lembah penjahat Ok Jin Kok untuk mencari Kang Khim, karena ternyata Kang Khim lah yang membocorkan rencana pelarian Kang Hong. Bagaimanakan kelak nasib kedua bayi ini ?</p>\r\n', 0.00),
(75, 'Togari', '05d011b88f523918d4f0764c3bd69744.jpg', '<p><strong>Genre :</strong> Adventure, Shounen, Supernatural, Psychological</p>\r\n\r\n<p>"Akibat dosa-dosanya, Tobe terperangkap dalam neraka. Tapi, ada satu cara untuk memperoleh kebebasannya kembali. Dia harus mengumpulkan 108 dosa dengan mencari 'Toga', wujud perubahan dosa sesungguhnya, dalam waktu 108 hari. Dengan Togari, satu-satunya senjata yang bisa mengumpulkan Toga, mampukah dia menjalankan tantangan itu!?"<br />\r\nTobe, seorang penjahat kelas kakap yang dihukum karena melakukan banyak dosa di dunia fana selama 16 tahun. 300 Tahun di neraka tidak membuatnya menyesal malah selalu berencana untuk melarikan diri tetapi selalu tertangkap. Tiba-tiba nona Emma petinggi neraka datang dan menawarkan Tobe cara keluar dari neraka. Yaitu dengan mengumpulkan 108 dosa berupa Toga, wujud dari perubahan dosa dalam waktu 108 hari. Tobe juga dibekali satu-satunya senjata yang bisa menghancurkan dan mengumpulkan Toga yaitu Togari.<br />\r\nDi dunia fana, Itsuki diculik oleh seorang pria penguntit, dirinya nyaris akan di bunuh. Tapi mendadak Tobe hadir di depan mereka. Tobe melihat sosok Toga dari tubuh pria itu. Dengan menggunakan senjata Togari, Toga tersebut berhasil dihancurkan. Pelaku kejahatan ketakutan setengah mati dan menyerahkan diri kepada polisi. Itsuki yang menyaksikan kejadian ini menyadari bahwa Tobe yang menolongnya jauh lebih ganas dan mengerikan dibandingkan penjahat yang menyerangnya.</p>\r\n', 0.00),
(76, 'Archlord', '7fb9fc6a82f6fb0dee4e2ead0e9680cb.jpg', '<p><strong>Genre : </strong>Action, Adventure, Fantasy, Romance</p>\r\n\r\n<p>Ksatria terkuat Tulan, <NAME> sedang dalam perjalanan mengunjungi Tuan Kennethdengan tujuan memberikan nama kepada anaknya yang baru lahir, tiba-tiba di tengah perjalanan di sergap oleh gerombolan penjahat yang mengincar pedang Brumhardt yang dibawanya. Penghianatan yang dilakukan oleh Ernan seorang ksatria kepercayaannya sendiri membuat Leonkehilangan konsentrasi dan terluka. Namun Leon berhasil melarikan diri dan menyembunyikan bayi laki-lakinya walaupun dia harus kehilangan nyawa dan pedang Brumhardt. Bayi kecil tersebut berhasil diselamatkan oleh Tuan Kenneth dari incaran anak buah Ernan.<br />\r\n16 tahun kemudian, bayi kecil bernama Jian telah tumbuh dewasa diasuh oleh Tuan Kenneth. Sedangkan Ernan masih berambisi dapat menggunakan pedang Brumhardt yang tidak bisa dilepaskan dari sarungnya. Ernan mendatangi gua Noum untuk melakukan upacara pengakuan 'Loom Tribal'. Upacara berakhir dengan kegagalan karena perjanjian dengan keluarga Manashmasih belum selesai.<br />\r\n </p>\r\n', 0.00),
(77, '<NAME>', 'ce573e3cce9f368e479180e3241dbe9f.jpg', '<p><strong>Genre :</strong> Comedy, Fantasy, Romance, Shoujo, Supernatural</p>\r\n\r\n<p>“Daisuke Niwa”, seorang anak laki-laki yang berusia 14 tahun. Ia menyukai Risa Harada, teman sekelasnya. Saat dia memikirkan Risa, maka ia akan berubah menjadi Dark. Dark adalah pencuri ulung yang biasanya mencuri di museum-museum. Dark akan kembali menjadi Daisuke jika ia melihat Riku Harada sambil mengingat satu-satunya <a href="https://id.wikipedia.org/wiki/Wanita">wanita</a> yang ia cintai. Wanita itu adalah Rika Harada, nenek dari Risa dan Riku Harada. Walaupun begitu, sebenarnya Riku Harada menyukai Daisuke Niwa dari awal. Risa Harada sendiri menyukai Dark, dan tentu saja, di akhir cerita Daisuke menyadari perasaan sukanya kepada Riku Harada. Dan mereka pun akhirnya pacaran.</p>\r\n', 0.00),
(78, 'Candy Candy', '63da0373d10ef9df0be975a1a4beb25b.jpg', '<p><strong>Genre : </strong>Drama, Romance, Shoujo</p>\r\n\r\n<p>Berdasarkan cerita dari serial komik Candy Candy isi cerita utamanya mengungkapkan kisah perjalanan hidup dan cinta Candy. Cinta pertama Candy adalah tokoh yang bernama <NAME>. Tetapi serial Candy akan selalu diingat oleh hampir semua fansnya sebagai kisah cinta yang tragis antara Candy dan cinta sejati dan belahan jiwa Candy, Terrence "Terry" Grandchester. Selain itu, ada tokoh yang selalu disebut-sebut sebagai "Pangeran di Bukit" ("Prince of the Hill"), seorang pemuda misterius yang pernah bertemu dengan Candy di bukit Pony, semasa Candy masih berumur 6 tahun dan tinggal panti asuhan Rumah Pony. Identitas Pemuda ini belakangan terkuak di halaman terakhir komik manga dan di episode terakhir dari serial kartun animasi Candy candy.</p>\r\n', 0.00);
-- --------------------------------------------------------
--
-- Table structure for table `judul_novel`
--
CREATE TABLE `judul_novel` (
`id_novel` int(11) NOT NULL,
`judul` varchar(200) NOT NULL,
`gambar` varchar(60) DEFAULT NULL,
`deskripsi` varchar(8000) DEFAULT NULL,
`rating` double(3,2) DEFAULT '0.00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `rating_komik`
--
CREATE TABLE `rating_komik` (
`id_rate_komik` int(11) NOT NULL,
`id_komik` int(11) NOT NULL,
`nama` varchar(60) DEFAULT NULL,
`email` varchar(60) NOT NULL,
`rate` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `rating_novel`
--
CREATE TABLE `rating_novel` (
`id_rate_novel` int(11) NOT NULL,
`id_novel` int(11) NOT NULL,
`nama` varchar(60) DEFAULT NULL,
`email` varchar(60) NOT NULL,
`rate` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `rating_novel`
--
INSERT INTO `rating_novel` (`id_rate_novel`, `id_novel`, `nama`, `email`, `rate`) VALUES
(1, 3, 'kakaka', 'nixia@gamer', 5),
(2, 3, '<NAME>', 'nixia@hadw', 1),
(3, 3, '<NAME>', '<EMAIL>', 5),
(4, 3, 'monica', '<EMAIL>', 5),
(5, 3, 'vvvv', 'vvvv@gamer', 1),
(6, 3, 'n', 'wwww@gamer', 4),
(7, 2, '<NAME>', 'wwww@gamer', 1),
(8, 2, '<NAME>', 'g@gamer', 5),
(9, 2, '<NAME>', 'h@gamer', 5),
(10, 3, '<NAME>', '<EMAIL>', 5),
(11, 2, '<NAME>', '<EMAIL>', 5),
(12, 2, '<NAME>', '<EMAIL>', 1),
(13, 3, '<NAME>', '<EMAIL>', 1);
-- --------------------------------------------------------
--
-- Table structure for table `request`
--
CREATE TABLE `request` (
`id_request` int(11) NOT NULL,
`nama` varchar(60) NOT NULL,
`email` varchar(60) NOT NULL,
`jenis` varchar(10) NOT NULL,
`judul` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `request`
--
INSERT INTO `request` (`id_request`, `nama`, `email`, `jenis`, `judul`) VALUES
(1, 'handoyo saputrab', '<EMAIL>', 'komik', 'Naruto Shippuden'),
(2, 'handoyo saputrab', '<EMAIL>', 'novel', 'bibibibi'),
(4, 'handoyo saputrab', '<EMAIL>', 'novel', 'Naruto LN');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`username` varchar(60) NOT NULL,
`password` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `username`, `password`) VALUES
(1, 'admin', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Table structure for table `volume_komik`
--
CREATE TABLE `volume_komik` (
`id_volume` int(11) NOT NULL,
`id_komik` int(11) NOT NULL,
`volume` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `volume_komik`
--
INSERT INTO `volume_komik` (`id_volume`, `id_komik`, `volume`) VALUES
(251, 28, 1),
(252, 28, 2),
(253, 28, 3),
(254, 28, 4),
(255, 28, 5),
(256, 28, 6),
(257, 28, 7),
(258, 28, 8),
(259, 28, 9),
(260, 28, 10),
(261, 29, 1),
(262, 29, 2),
(263, 29, 3),
(264, 29, 4),
(265, 29, 5),
(266, 29, 6),
(267, 29, 7),
(268, 29, 8),
(269, 29, 9),
(270, 29, 10),
(271, 29, 11),
(272, 29, 12),
(273, 29, 13),
(274, 29, 14),
(275, 30, 1),
(276, 30, 2),
(277, 31, 1),
(278, 31, 2),
(279, 31, 3),
(280, 31, 4),
(281, 31, 5),
(282, 31, 6),
(283, 31, 7),
(284, 31, 8),
(285, 31, 9),
(286, 31, 10),
(287, 31, 11),
(288, 31, 12),
(289, 31, 13),
(290, 31, 14),
(291, 31, 15),
(292, 31, 16),
(293, 31, 17),
(294, 31, 18),
(295, 31, 19),
(296, 31, 20),
(297, 31, 21),
(298, 31, 22),
(299, 31, 23),
(300, 31, 24),
(301, 31, 25),
(302, 31, 26),
(303, 31, 27),
(304, 31, 28),
(305, 31, 29),
(306, 31, 30),
(307, 31, 31),
(308, 31, 32),
(309, 31, 33),
(310, 31, 34),
(311, 31, 35),
(312, 31, 36),
(313, 31, 37),
(314, 31, 38),
(315, 31, 39),
(316, 31, 40),
(317, 31, 41),
(318, 31, 42),
(319, 31, 43),
(320, 31, 44),
(321, 31, 45),
(322, 31, 46),
(323, 31, 47),
(324, 31, 48),
(325, 31, 49),
(326, 31, 50),
(327, 31, 51),
(328, 31, 52),
(329, 31, 53),
(330, 31, 54),
(331, 32, 1),
(332, 32, 2),
(333, 32, 3),
(334, 32, 4),
(335, 32, 5),
(336, 32, 6),
(337, 32, 7),
(338, 32, 8),
(339, 32, 9),
(340, 32, 10),
(341, 32, 11),
(342, 32, 12),
(343, 32, 13),
(344, 32, 14),
(345, 32, 15),
(346, 32, 16),
(347, 32, 17),
(348, 32, 18),
(349, 32, 19),
(350, 33, 1),
(351, 33, 2),
(352, 33, 3),
(353, 33, 4),
(354, 34, 1),
(355, 34, 2),
(356, 34, 3),
(357, 34, 4),
(358, 34, 5),
(359, 34, 6),
(360, 34, 7),
(361, 34, 8),
(362, 34, 9),
(363, 35, 1),
(364, 35, 2),
(365, 35, 3),
(366, 35, 4),
(367, 35, 5),
(368, 35, 6),
(369, 35, 7),
(370, 35, 8),
(371, 35, 9),
(372, 35, 10),
(373, 35, 11),
(374, 35, 12),
(375, 36, 1),
(376, 36, 2),
(377, 36, 3),
(378, 36, 4),
(379, 36, 5),
(380, 36, 6),
(381, 36, 7),
(382, 36, 8),
(383, 36, 9),
(384, 36, 10),
(385, 36, 11),
(386, 36, 12),
(387, 36, 13),
(388, 36, 14),
(389, 36, 15),
(390, 36, 16),
(391, 36, 17),
(392, 36, 18),
(393, 36, 19),
(394, 36, 20),
(395, 36, 21),
(396, 36, 22),
(397, 36, 23),
(398, 36, 24),
(399, 36, 25),
(400, 36, 26),
(401, 36, 27),
(402, 36, 28),
(403, 36, 29),
(404, 36, 30),
(405, 36, 31),
(406, 36, 32),
(407, 36, 33),
(408, 36, 34),
(409, 36, 35),
(410, 36, 36),
(411, 36, 37),
(412, 36, 38),
(413, 36, 39),
(414, 36, 40),
(415, 36, 41),
(416, 36, 42),
(417, 36, 43),
(418, 36, 44),
(419, 36, 45),
(420, 36, 46),
(421, 36, 47),
(422, 36, 48),
(423, 36, 49),
(424, 36, 50),
(425, 36, 51),
(426, 36, 52),
(427, 36, 53),
(428, 36, 54),
(429, 36, 55),
(430, 36, 56),
(431, 36, 57),
(432, 36, 58),
(433, 36, 59),
(434, 36, 60),
(435, 36, 61),
(436, 36, 62),
(437, 36, 63),
(438, 36, 64),
(439, 36, 65),
(440, 36, 66),
(441, 36, 67),
(442, 36, 68),
(443, 37, 1),
(444, 37, 2),
(445, 37, 3),
(446, 37, 4),
(447, 37, 5),
(448, 37, 6),
(449, 37, 7),
(450, 37, 8),
(451, 37, 9),
(452, 37, 10),
(453, 37, 11),
(454, 37, 12),
(455, 37, 13),
(456, 37, 14),
(457, 37, 15),
(458, 37, 16),
(459, 37, 17),
(460, 37, 18),
(461, 37, 19),
(462, 37, 20),
(463, 37, 21),
(464, 37, 22),
(465, 38, 1),
(466, 38, 2),
(467, 38, 3),
(468, 38, 4),
(469, 38, 5),
(470, 38, 6),
(471, 38, 7),
(472, 38, 8),
(473, 38, 9),
(474, 38, 10),
(475, 38, 11),
(476, 38, 12),
(477, 38, 13),
(478, 38, 14),
(479, 38, 15),
(480, 38, 16),
(481, 38, 17),
(482, 38, 18),
(483, 38, 19),
(484, 38, 20),
(485, 38, 21),
(486, 38, 22),
(487, 38, 23),
(488, 38, 24),
(489, 38, 25),
(490, 38, 26),
(491, 38, 27),
(492, 38, 28),
(493, 38, 29),
(494, 38, 30),
(495, 38, 31),
(496, 38, 32),
(497, 38, 33),
(498, 38, 34),
(499, 38, 35),
(500, 38, 36),
(501, 38, 37),
(502, 38, 38),
(503, 38, 39),
(504, 38, 40),
(505, 38, 41),
(506, 38, 42),
(507, 38, 43),
(508, 38, 44),
(509, 38, 45),
(510, 38, 46),
(511, 38, 47),
(512, 38, 48),
(513, 38, 49),
(514, 38, 50),
(515, 38, 51),
(516, 38, 52),
(517, 38, 53),
(518, 38, 54),
(519, 38, 55),
(520, 38, 56),
(521, 38, 57),
(522, 38, 58),
(523, 38, 59),
(524, 38, 60),
(525, 38, 61),
(526, 38, 62),
(527, 38, 63),
(528, 38, 64),
(529, 38, 65),
(530, 38, 66),
(531, 38, 67),
(532, 38, 68),
(533, 38, 69),
(534, 38, 70),
(535, 38, 71),
(536, 38, 72),
(537, 38, 73),
(538, 38, 74),
(539, 39, 1),
(540, 39, 2),
(541, 39, 3),
(542, 39, 4),
(543, 39, 5),
(544, 39, 6),
(545, 39, 7),
(546, 39, 8),
(547, 39, 9),
(548, 39, 10),
(549, 39, 11),
(550, 39, 12),
(551, 39, 13),
(552, 39, 14),
(553, 39, 15),
(554, 39, 16),
(555, 39, 17),
(556, 39, 18),
(557, 39, 19),
(558, 39, 20),
(559, 39, 21),
(560, 39, 22),
(561, 39, 23),
(562, 39, 24),
(563, 39, 25),
(564, 39, 26),
(565, 39, 27),
(566, 39, 28),
(567, 39, 29),
(568, 39, 30),
(569, 39, 31),
(570, 39, 32),
(571, 39, 33),
(572, 39, 34),
(573, 39, 35),
(574, 39, 36),
(575, 39, 37),
(576, 39, 38),
(577, 39, 39),
(578, 39, 40),
(579, 40, 1),
(580, 40, 2),
(581, 40, 3),
(582, 40, 4),
(583, 40, 5),
(584, 40, 6),
(585, 40, 7),
(586, 40, 8),
(587, 40, 9),
(588, 40, 10),
(589, 40, 11),
(590, 40, 12),
(591, 40, 13),
(592, 40, 14),
(593, 40, 15),
(594, 40, 16),
(595, 40, 17),
(596, 40, 18),
(597, 40, 19),
(598, 40, 20),
(599, 40, 21),
(600, 40, 22),
(601, 40, 23),
(602, 40, 24),
(603, 40, 25),
(604, 40, 26),
(605, 40, 27),
(606, 40, 28),
(607, 40, 29),
(608, 40, 30),
(609, 40, 31),
(610, 40, 32),
(611, 40, 33),
(612, 40, 34),
(613, 40, 35),
(614, 40, 36),
(615, 40, 37),
(616, 40, 38),
(617, 40, 39),
(618, 40, 40),
(619, 40, 41),
(620, 40, 42),
(621, 41, 1),
(622, 41, 2),
(623, 41, 3),
(624, 41, 4),
(625, 41, 5),
(626, 41, 6),
(627, 41, 7),
(628, 41, 8),
(629, 41, 9),
(630, 41, 10),
(631, 41, 11),
(632, 41, 12),
(633, 41, 13),
(634, 41, 14),
(635, 41, 15),
(636, 41, 16),
(637, 41, 17),
(638, 41, 18),
(639, 41, 19),
(640, 41, 20),
(641, 41, 21),
(642, 41, 22),
(643, 41, 23),
(644, 41, 24),
(645, 41, 25),
(646, 41, 26),
(647, 41, 27),
(648, 41, 28),
(649, 41, 29),
(650, 41, 30),
(651, 41, 31),
(652, 41, 32),
(653, 41, 33),
(654, 41, 34),
(655, 41, 35),
(656, 41, 36),
(657, 41, 37),
(658, 42, 1),
(659, 42, 2),
(660, 42, 3),
(661, 42, 4),
(662, 42, 5),
(663, 42, 6),
(664, 42, 7),
(665, 42, 8),
(666, 42, 9),
(667, 42, 10),
(668, 42, 11),
(669, 42, 12),
(670, 42, 13),
(671, 42, 14),
(672, 42, 15),
(673, 42, 16),
(674, 42, 17),
(675, 42, 18),
(676, 42, 19),
(677, 42, 20),
(678, 42, 21),
(679, 42, 22),
(680, 42, 23),
(681, 42, 24),
(682, 42, 25),
(683, 42, 26),
(684, 42, 27),
(685, 42, 28),
(686, 42, 29),
(687, 42, 30),
(688, 42, 31),
(689, 42, 32),
(690, 42, 33),
(691, 43, 1),
(692, 43, 2),
(693, 43, 3),
(694, 43, 4),
(695, 43, 5),
(696, 43, 6),
(697, 43, 7),
(698, 43, 8),
(699, 43, 9),
(700, 43, 10),
(701, 43, 11),
(702, 43, 12),
(703, 43, 13),
(704, 43, 14),
(705, 43, 15),
(706, 43, 16),
(707, 43, 17),
(708, 43, 18),
(709, 43, 19),
(710, 43, 20),
(711, 43, 21),
(712, 43, 22),
(713, 43, 23),
(714, 43, 24),
(715, 43, 25),
(716, 44, 1),
(717, 44, 2),
(718, 44, 3),
(719, 44, 4),
(720, 44, 5),
(721, 44, 6),
(722, 44, 7),
(723, 44, 8),
(724, 44, 9),
(725, 44, 10),
(726, 44, 11),
(727, 45, 1),
(728, 45, 2),
(729, 45, 3),
(730, 45, 4),
(731, 45, 5),
(732, 45, 6),
(733, 45, 7),
(734, 45, 8),
(735, 45, 9),
(736, 45, 10),
(737, 45, 11),
(738, 45, 12),
(739, 45, 13),
(740, 45, 14),
(741, 45, 15),
(742, 45, 16),
(743, 45, 17),
(744, 45, 18),
(745, 45, 19),
(746, 45, 20),
(747, 45, 21),
(748, 45, 22),
(749, 45, 23),
(750, 45, 24),
(751, 45, 25),
(752, 45, 26),
(753, 45, 27),
(754, 45, 28),
(755, 45, 29),
(756, 45, 30),
(757, 45, 31),
(758, 45, 32),
(759, 45, 33),
(760, 45, 34),
(761, 45, 35),
(762, 45, 36),
(763, 45, 37),
(764, 45, 38),
(765, 45, 39),
(766, 45, 40),
(767, 45, 41),
(768, 45, 42),
(769, 45, 43),
(770, 45, 44),
(771, 45, 45),
(772, 45, 46),
(773, 45, 47),
(774, 45, 48),
(775, 45, 49),
(776, 45, 50),
(777, 45, 51),
(778, 45, 52),
(779, 45, 53),
(780, 45, 54),
(781, 45, 55),
(782, 45, 56),
(783, 46, 1),
(784, 46, 2),
(785, 46, 3),
(786, 46, 4),
(787, 47, 1),
(788, 47, 2),
(789, 47, 3),
(790, 47, 4),
(791, 47, 5),
(792, 47, 6),
(793, 47, 7),
(794, 47, 8),
(795, 47, 9),
(796, 47, 10),
(797, 47, 11),
(798, 47, 12),
(799, 47, 13),
(800, 47, 14),
(801, 47, 15),
(802, 47, 16),
(803, 47, 17),
(804, 47, 18),
(805, 48, 1),
(806, 48, 2),
(807, 48, 3),
(808, 48, 4),
(809, 48, 5),
(810, 48, 6),
(811, 48, 7),
(812, 48, 8),
(813, 48, 9),
(814, 48, 10),
(815, 48, 11),
(816, 48, 12),
(817, 48, 13),
(818, 48, 14),
(819, 48, 15),
(820, 48, 16),
(821, 48, 17),
(822, 48, 18),
(823, 48, 19),
(824, 48, 20),
(825, 48, 21),
(826, 48, 22),
(827, 48, 23),
(828, 48, 24),
(829, 48, 25),
(830, 48, 26),
(831, 48, 27),
(832, 48, 28),
(833, 50, 1),
(834, 50, 2),
(835, 50, 3),
(836, 50, 4),
(837, 50, 5),
(838, 50, 6),
(839, 50, 7),
(840, 50, 8),
(841, 50, 9),
(842, 50, 10),
(843, 50, 11),
(844, 50, 12),
(845, 50, 13),
(846, 50, 14),
(847, 50, 15),
(848, 50, 16),
(849, 50, 17),
(850, 50, 18),
(851, 50, 19),
(852, 50, 20),
(853, 50, 21),
(854, 50, 22),
(855, 50, 23),
(856, 50, 24),
(857, 50, 25),
(858, 50, 26),
(859, 50, 27),
(860, 50, 28),
(861, 50, 29),
(862, 50, 30),
(863, 50, 31),
(864, 50, 32),
(865, 49, 1),
(866, 49, 2),
(867, 49, 3),
(868, 49, 4),
(869, 49, 5),
(870, 49, 6),
(871, 49, 7),
(872, 49, 8),
(873, 49, 9),
(874, 49, 10),
(875, 49, 11),
(876, 49, 12),
(877, 49, 13),
(878, 49, 14),
(879, 49, 15),
(880, 49, 16),
(881, 49, 17),
(882, 49, 18),
(883, 49, 19),
(884, 49, 20),
(885, 49, 21),
(886, 49, 22),
(887, 49, 23),
(888, 49, 24),
(889, 49, 25),
(890, 49, 26),
(891, 49, 27),
(892, 49, 28),
(893, 49, 29),
(894, 49, 30),
(895, 49, 31),
(896, 49, 32),
(897, 51, 1),
(898, 51, 2),
(899, 51, 3),
(900, 51, 4),
(901, 51, 5),
(902, 51, 6),
(903, 51, 7),
(904, 51, 8),
(905, 51, 9),
(906, 51, 10),
(907, 51, 11),
(908, 51, 12),
(909, 51, 13),
(910, 51, 14),
(911, 51, 15),
(912, 51, 16),
(913, 52, 1),
(914, 52, 2),
(915, 52, 3),
(916, 52, 4),
(917, 52, 5),
(918, 52, 6),
(919, 52, 7),
(920, 52, 8),
(921, 52, 9),
(922, 52, 10),
(923, 52, 11),
(924, 52, 12),
(925, 53, 1),
(926, 53, 2),
(927, 53, 3),
(928, 53, 4),
(929, 53, 5),
(930, 53, 6),
(931, 53, 7),
(932, 53, 8),
(933, 53, 9),
(934, 53, 10),
(935, 53, 11),
(936, 53, 12),
(937, 53, 13),
(938, 53, 14),
(939, 53, 15),
(940, 53, 16),
(941, 53, 17),
(942, 53, 18),
(943, 53, 19),
(944, 53, 20),
(945, 53, 21),
(946, 53, 22),
(947, 53, 23),
(948, 53, 24),
(949, 53, 25),
(950, 53, 26),
(951, 53, 27),
(952, 53, 28),
(953, 53, 29),
(954, 53, 30),
(955, 53, 31),
(956, 53, 32),
(957, 53, 33),
(958, 53, 34),
(959, 53, 35),
(960, 53, 36),
(961, 53, 37),
(962, 54, 1),
(963, 54, 2),
(964, 54, 3),
(965, 54, 4),
(966, 54, 5),
(967, 54, 6),
(968, 54, 7),
(969, 54, 8),
(970, 54, 9),
(971, 54, 10),
(972, 54, 11),
(973, 54, 12),
(974, 54, 13),
(975, 54, 14),
(976, 54, 15),
(977, 54, 16),
(978, 54, 17),
(979, 54, 18),
(980, 54, 19),
(981, 54, 20),
(982, 54, 21),
(983, 54, 22),
(984, 54, 23),
(985, 54, 24),
(986, 54, 25),
(987, 54, 26),
(988, 54, 27),
(989, 54, 28),
(990, 54, 29),
(991, 54, 30),
(992, 54, 31),
(993, 55, 1),
(994, 55, 2),
(995, 55, 3),
(996, 55, 4),
(997, 55, 5),
(998, 55, 6),
(999, 55, 7),
(1000, 55, 8),
(1001, 55, 9),
(1002, 55, 10),
(1003, 55, 11),
(1004, 55, 12),
(1005, 55, 13),
(1006, 55, 14),
(1007, 55, 15),
(1008, 55, 16),
(1009, 56, 1),
(1010, 56, 2),
(1011, 56, 3),
(1012, 56, 4),
(1013, 56, 5),
(1014, 56, 6),
(1015, 56, 7),
(1016, 56, 8),
(1017, 56, 9),
(1018, 56, 10),
(1019, 56, 11),
(1020, 56, 12),
(1021, 56, 13),
(1022, 56, 14),
(1023, 56, 15),
(1024, 56, 16),
(1025, 56, 17),
(1026, 56, 18),
(1027, 56, 19),
(1028, 56, 20),
(1029, 56, 21),
(1030, 56, 22),
(1031, 56, 23),
(1032, 56, 24),
(1033, 56, 25),
(1034, 56, 26),
(1035, 56, 27),
(1036, 56, 28),
(1037, 56, 29),
(1038, 56, 30),
(1039, 56, 31),
(1040, 56, 32),
(1041, 56, 33),
(1042, 56, 34),
(1043, 56, 35),
(1044, 56, 36),
(1045, 56, 37),
(1046, 57, 1),
(1047, 57, 2),
(1048, 57, 3),
(1049, 57, 4),
(1050, 57, 5),
(1051, 57, 6),
(1052, 57, 7),
(1053, 57, 8),
(1054, 57, 9),
(1055, 57, 10),
(1056, 57, 11),
(1057, 57, 12),
(1058, 57, 13),
(1059, 57, 14),
(1060, 57, 15),
(1061, 57, 16),
(1062, 57, 17),
(1063, 57, 18),
(1064, 57, 19),
(1065, 57, 20),
(1066, 57, 21),
(1067, 57, 22),
(1068, 57, 23),
(1069, 57, 24),
(1070, 57, 25),
(1071, 57, 26),
(1072, 57, 27),
(1073, 58, 1),
(1074, 58, 2),
(1075, 58, 3),
(1076, 58, 4),
(1077, 58, 5),
(1078, 58, 6),
(1079, 58, 7),
(1080, 58, 8),
(1081, 58, 9),
(1082, 58, 10),
(1083, 58, 11),
(1084, 58, 12),
(1085, 58, 13),
(1086, 58, 14),
(1087, 58, 15),
(1088, 58, 16),
(1089, 58, 17),
(1090, 58, 18),
(1091, 58, 19),
(1092, 58, 20),
(1093, 58, 21),
(1094, 58, 22),
(1095, 58, 23),
(1096, 58, 24),
(1097, 58, 25),
(1098, 58, 26),
(1099, 58, 27),
(1100, 58, 28),
(1101, 58, 29),
(1102, 59, 1),
(1103, 59, 2),
(1104, 59, 3),
(1105, 59, 4),
(1106, 59, 5),
(1107, 59, 6),
(1108, 59, 7),
(1109, 59, 8),
(1110, 59, 9),
(1111, 59, 10),
(1112, 59, 11),
(1113, 59, 12),
(1114, 59, 13),
(1115, 59, 14),
(1116, 59, 15),
(1117, 59, 16),
(1118, 59, 17),
(1119, 59, 18),
(1120, 59, 19),
(1121, 59, 20),
(1122, 59, 21),
(1123, 59, 22),
(1124, 59, 23),
(1125, 59, 24),
(1126, 59, 25),
(1127, 60, 1),
(1128, 60, 2),
(1129, 60, 3),
(1130, 60, 4),
(1131, 60, 5),
(1132, 60, 6),
(1133, 60, 7),
(1134, 60, 8),
(1135, 60, 9),
(1136, 60, 10),
(1137, 60, 11),
(1138, 60, 12),
(1139, 60, 13),
(1140, 60, 14),
(1141, 60, 15),
(1142, 60, 16),
(1143, 60, 17),
(1144, 60, 18),
(1145, 60, 19),
(1146, 60, 20),
(1147, 60, 21),
(1148, 60, 22),
(1149, 60, 23),
(1150, 60, 24),
(1151, 60, 25),
(1152, 60, 26),
(1153, 60, 27),
(1154, 60, 28),
(1155, 60, 29),
(1156, 60, 30),
(1157, 60, 31),
(1158, 60, 32),
(1159, 60, 33),
(1160, 60, 34),
(1161, 60, 35),
(1162, 60, 36),
(1163, 60, 37),
(1164, 60, 38),
(1165, 61, 1),
(1166, 61, 2),
(1167, 61, 3),
(1168, 61, 4),
(1169, 61, 5),
(1170, 61, 6),
(1171, 61, 7),
(1172, 61, 8),
(1173, 61, 9),
(1174, 61, 10),
(1175, 61, 11),
(1176, 61, 12),
(1177, 61, 13),
(1178, 61, 14),
(1179, 61, 15),
(1180, 61, 16),
(1181, 61, 17),
(1182, 61, 18),
(1183, 61, 19),
(1184, 61, 20),
(1185, 61, 21),
(1186, 61, 22),
(1187, 61, 23),
(1188, 61, 24),
(1189, 61, 25),
(1190, 61, 26),
(1191, 61, 27),
(1192, 61, 28),
(1193, 61, 29),
(1194, 61, 30),
(1195, 61, 31),
(1196, 61, 32),
(1197, 61, 33),
(1198, 61, 34),
(1199, 61, 35),
(1200, 62, 1),
(1201, 62, 2),
(1202, 62, 3),
(1203, 62, 4),
(1204, 62, 5),
(1205, 62, 6),
(1206, 62, 7),
(1207, 62, 8),
(1208, 62, 9),
(1209, 62, 10),
(1210, 62, 11),
(1211, 62, 12),
(1212, 62, 13),
(1213, 62, 14),
(1214, 62, 15),
(1215, 62, 16),
(1216, 62, 17),
(1217, 62, 18),
(1218, 62, 19),
(1219, 62, 20),
(1220, 63, 1),
(1221, 63, 2),
(1222, 63, 3),
(1223, 63, 4),
(1224, 63, 5),
(1225, 63, 6),
(1226, 63, 7),
(1227, 63, 8),
(1228, 64, 1),
(1229, 64, 2),
(1230, 64, 3),
(1231, 64, 4),
(1232, 64, 5),
(1233, 64, 6),
(1234, 64, 7),
(1235, 64, 8),
(1236, 64, 9),
(1237, 64, 10),
(1238, 64, 11),
(1239, 64, 12),
(1240, 64, 13),
(1241, 64, 14),
(1242, 64, 15),
(1243, 64, 16),
(1244, 64, 17),
(1245, 64, 18),
(1246, 64, 19),
(1247, 64, 20),
(1248, 64, 21),
(1249, 64, 22),
(1250, 64, 23),
(1251, 64, 24),
(1252, 64, 25),
(1253, 65, 1),
(1254, 65, 2),
(1255, 65, 3),
(1256, 65, 4),
(1257, 65, 5),
(1258, 65, 6),
(1259, 65, 7),
(1260, 65, 8),
(1261, 65, 9),
(1262, 65, 10),
(1263, 65, 11),
(1264, 65, 12),
(1265, 65, 13),
(1266, 65, 14),
(1267, 65, 15),
(1268, 65, 16),
(1269, 65, 17),
(1270, 65, 18),
(1271, 65, 19),
(1272, 65, 20),
(1273, 65, 21),
(1274, 65, 22),
(1275, 65, 23),
(1276, 65, 24),
(1277, 65, 25),
(1278, 65, 26),
(1279, 65, 27),
(1280, 65, 28),
(1281, 65, 29),
(1282, 65, 30),
(1283, 65, 31),
(1284, 65, 32),
(1285, 65, 33),
(1286, 65, 34),
(1287, 65, 35),
(1288, 65, 36),
(1289, 65, 37),
(1290, 65, 38),
(1291, 65, 39),
(1292, 65, 40),
(1293, 65, 41),
(1294, 65, 42),
(1295, 65, 43),
(1296, 65, 44),
(1297, 65, 45),
(1298, 65, 46),
(1299, 65, 47),
(1300, 65, 48),
(1301, 65, 49),
(1302, 65, 50),
(1303, 65, 51),
(1304, 65, 52),
(1305, 65, 53),
(1306, 65, 54),
(1307, 65, 55),
(1308, 65, 56),
(1309, 65, 57),
(1310, 65, 58),
(1311, 65, 59),
(1312, 65, 60),
(1313, 65, 61),
(1314, 65, 62),
(1315, 65, 63),
(1316, 65, 64),
(1317, 65, 65),
(1318, 65, 66),
(1319, 65, 67),
(1320, 65, 68),
(1321, 65, 69),
(1322, 65, 70),
(1323, 65, 71),
(1324, 65, 72),
(1325, 65, 73),
(1326, 65, 74),
(1327, 65, 75),
(1328, 65, 76),
(1329, 65, 77),
(1330, 65, 78),
(1331, 65, 79),
(1332, 65, 80),
(1333, 65, 81),
(1334, 65, 82),
(1335, 65, 83),
(1336, 65, 84),
(1337, 65, 85),
(1338, 65, 86),
(1339, 65, 87),
(1340, 65, 88),
(1341, 65, 89),
(1342, 65, 90),
(1343, 65, 91),
(1344, 65, 92),
(1345, 65, 93),
(1346, 65, 94),
(1347, 65, 95),
(1348, 65, 96),
(1349, 65, 97),
(1350, 65, 98),
(1351, 66, 1),
(1352, 66, 2),
(1353, 66, 3),
(1354, 66, 4),
(1355, 66, 5),
(1356, 66, 6),
(1357, 66, 7),
(1358, 66, 8),
(1359, 66, 9),
(1360, 66, 10),
(1361, 66, 11),
(1362, 66, 12),
(1363, 66, 13),
(1364, 66, 14),
(1365, 66, 15),
(1366, 66, 16),
(1367, 66, 17),
(1368, 66, 18),
(1369, 66, 19),
(1370, 66, 20),
(1371, 66, 21),
(1372, 66, 22),
(1373, 66, 23),
(1374, 67, 1),
(1375, 67, 2),
(1376, 67, 3),
(1377, 67, 4),
(1378, 67, 5),
(1379, 67, 6),
(1380, 67, 7),
(1381, 68, 1),
(1382, 68, 2),
(1383, 68, 3),
(1384, 68, 4),
(1385, 68, 5),
(1386, 68, 6),
(1387, 68, 7),
(1388, 68, 8),
(1389, 68, 9),
(1390, 68, 10),
(1391, 68, 11),
(1392, 68, 12),
(1393, 68, 13),
(1394, 68, 14),
(1395, 68, 15),
(1396, 68, 16),
(1397, 68, 17),
(1398, 68, 18),
(1399, 68, 19),
(1400, 68, 20),
(1401, 68, 21),
(1402, 68, 22),
(1403, 68, 23),
(1404, 68, 24),
(1405, 68, 25),
(1406, 68, 26),
(1407, 68, 27),
(1408, 68, 28),
(1409, 68, 29),
(1410, 68, 30),
(1411, 68, 31),
(1412, 68, 32),
(1413, 68, 33),
(1414, 68, 34),
(1415, 68, 35),
(1416, 68, 36),
(1417, 68, 37),
(1418, 68, 38),
(1419, 68, 39),
(1420, 69, 1),
(1421, 69, 2),
(1422, 69, 3),
(1423, 69, 4),
(1424, 69, 5),
(1425, 69, 6),
(1426, 69, 7),
(1427, 69, 8),
(1428, 69, 9),
(1429, 69, 10),
(1430, 69, 11),
(1431, 69, 12),
(1432, 69, 13),
(1433, 69, 14),
(1434, 69, 15),
(1435, 69, 16),
(1436, 69, 17),
(1437, 69, 18),
(1438, 69, 19),
(1439, 69, 20),
(1440, 69, 21),
(1441, 69, 22),
(1442, 69, 23),
(1443, 69, 24),
(1444, 69, 25),
(1445, 69, 26),
(1446, 69, 27),
(1447, 69, 28),
(1448, 69, 29),
(1449, 69, 30),
(1450, 69, 31),
(1451, 69, 32),
(1452, 69, 33),
(1453, 69, 34),
(1454, 69, 35),
(1455, 69, 36),
(1456, 69, 37),
(1457, 69, 38),
(1458, 69, 39),
(1459, 70, 1),
(1460, 70, 2),
(1461, 70, 3),
(1462, 70, 4),
(1463, 70, 5),
(1464, 70, 6),
(1465, 70, 7),
(1466, 70, 8),
(1467, 70, 9),
(1468, 70, 10),
(1469, 70, 11),
(1470, 70, 12),
(1471, 70, 13),
(1472, 70, 14),
(1473, 70, 15),
(1474, 70, 16),
(1475, 70, 17),
(1476, 70, 18),
(1477, 70, 19),
(1478, 70, 20),
(1479, 70, 21),
(1480, 70, 22),
(1481, 70, 23),
(1482, 70, 24),
(1483, 70, 25),
(1484, 70, 26),
(1485, 70, 27),
(1486, 70, 28),
(1487, 70, 29),
(1488, 70, 30),
(1489, 70, 31),
(1490, 70, 32),
(1491, 70, 33),
(1492, 70, 34),
(1493, 70, 35),
(1494, 70, 36),
(1495, 70, 37),
(1496, 71, 1),
(1497, 71, 2),
(1498, 71, 3),
(1499, 71, 4),
(1500, 71, 5),
(1501, 71, 6),
(1502, 71, 7),
(1503, 71, 8),
(1504, 71, 9),
(1505, 71, 10),
(1506, 71, 11),
(1507, 71, 12),
(1508, 71, 13),
(1509, 72, 1),
(1510, 72, 2),
(1511, 72, 3),
(1512, 72, 4),
(1513, 72, 5),
(1514, 72, 6),
(1515, 72, 7),
(1516, 72, 8),
(1517, 72, 9),
(1518, 72, 10),
(1519, 72, 11),
(1520, 72, 12),
(1521, 72, 13),
(1522, 72, 14),
(1523, 72, 15),
(1524, 72, 16),
(1525, 73, 1),
(1526, 73, 2),
(1527, 73, 3),
(1528, 73, 4),
(1529, 73, 5),
(1530, 73, 6),
(1531, 73, 7),
(1532, 73, 8),
(1533, 73, 9),
(1534, 73, 10),
(1535, 73, 11),
(1536, 73, 12),
(1537, 74, 1),
(1538, 74, 2),
(1539, 74, 3),
(1540, 74, 4),
(1541, 74, 5),
(1542, 74, 6),
(1543, 74, 7),
(1544, 74, 8),
(1545, 74, 9),
(1546, 74, 10),
(1547, 74, 11),
(1548, 74, 12),
(1549, 74, 13),
(1550, 74, 14),
(1551, 74, 15),
(1552, 74, 16),
(1553, 74, 17),
(1554, 74, 18),
(1555, 74, 19),
(1556, 74, 20),
(1557, 74, 21),
(1558, 74, 22),
(1559, 74, 23),
(1560, 74, 24),
(1561, 74, 25),
(1562, 74, 26),
(1563, 74, 27),
(1564, 74, 28),
(1565, 74, 29),
(1566, 74, 30),
(1567, 74, 31),
(1568, 74, 32),
(1569, 75, 1),
(1570, 75, 2),
(1571, 75, 3),
(1572, 75, 4),
(1573, 75, 5),
(1574, 75, 6),
(1575, 75, 7),
(1576, 75, 8),
(1577, 77, 1),
(1578, 77, 2),
(1579, 77, 3),
(1580, 77, 4),
(1581, 77, 5),
(1582, 77, 6),
(1583, 77, 7),
(1584, 77, 8),
(1585, 77, 9),
(1586, 77, 10),
(1587, 76, 1),
(1588, 76, 2),
(1589, 76, 3),
(1590, 76, 4),
(1591, 76, 5),
(1592, 76, 6),
(1593, 78, 1),
(1594, 78, 2),
(1595, 78, 3),
(1596, 78, 4),
(1597, 78, 5),
(1598, 78, 6),
(1599, 78, 7),
(1600, 78, 8),
(1601, 78, 9);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `judul_komik`
--
ALTER TABLE `judul_komik`
ADD PRIMARY KEY (`id_komik`);
--
-- Indexes for table `judul_novel`
--
ALTER TABLE `judul_novel`
ADD PRIMARY KEY (`id_novel`);
--
-- Indexes for table `rating_komik`
--
ALTER TABLE `rating_komik`
ADD PRIMARY KEY (`id_rate_komik`);
--
-- Indexes for table `rating_novel`
--
ALTER TABLE `rating_novel`
ADD PRIMARY KEY (`id_rate_novel`);
--
-- Indexes for table `request`
--
ALTER TABLE `request`
ADD PRIMARY KEY (`id_request`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `volume_komik`
--
ALTER TABLE `volume_komik`
ADD PRIMARY KEY (`id_volume`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `judul_komik`
--
ALTER TABLE `judul_komik`
MODIFY `id_komik` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;
--
-- AUTO_INCREMENT for table `judul_novel`
--
ALTER TABLE `judul_novel`
MODIFY `id_novel` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `rating_komik`
--
ALTER TABLE `rating_komik`
MODIFY `id_rate_komik` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `rating_novel`
--
ALTER TABLE `rating_novel`
MODIFY `id_rate_novel` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `request`
--
ALTER TABLE `request`
MODIFY `id_request` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `volume_komik`
--
ALTER TABLE `volume_komik`
MODIFY `id_volume` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1602;
/*!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 */;
|
-- MySQL dump 10.13 Distrib 8.0.23, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: dokument_react
-- ------------------------------------------------------
-- Server version 8.0.18
/*!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 */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `tasks`
--
DROP TABLE IF EXISTS `tasks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idtasks_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tasks`
--
LOCK TABLES `tasks` WRITE;
/*!40000 ALTER TABLE `tasks` DISABLE KEYS */;
INSERT INTO `tasks` VALUES (1,'Ovo je moj prvi task'),(2,'Mockupiraj sučelje'),(3,'Kreiraj react projekt'),(4,'Kreiraj Express API'),(5,'Kreiraj rute za API'),(6,'Kreiraj MySql bazu'),(7,'test'),(8,'111'),(9,'ff'),(10,'ff'),(11,'123'),(12,'a sad'),(13,'5');
/*!40000 ALTER TABLE `tasks` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `testna_tablica`
--
DROP TABLE IF EXISTS `testna_tablica`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `testna_tablica` (
`idtestna_tablica` int(11) DEFAULT NULL,
`naslov` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `testna_tablica`
--
LOCK TABLES `testna_tablica` WRITE;
/*!40000 ALTER TABLE `testna_tablica` DISABLE KEYS */;
INSERT INTO `testna_tablica` VALUES (1,'prvi redak'),(1,'prvi redak');
/*!40000 ALTER TABLE `testna_tablica` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `timesheet`
--
DROP TABLE IF EXISTS `timesheet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `timesheet` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`taskId` int(11) DEFAULT NULL,
`date` varchar(45) DEFAULT NULL,
`hours` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`),
KEY `taskId_idx` (`taskId`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `timesheet`
--
LOCK TABLES `timesheet` WRITE;
/*!40000 ALTER TABLE `timesheet` DISABLE KEYS */;
INSERT INTO `timesheet` VALUES (2,2,'15.02.2021.',2),(3,2,'16.02.2021.',2),(4,NULL,'17.02.2021.',NULL),(5,NULL,'18.02.2021.',NULL),(6,NULL,'19.02.2021.',NULL),(7,NULL,'20.02.2021.',NULL),(8,NULL,'21.02.2021.',NULL),(9,1,'15.02.2021.',3),(10,1,'16.02.2021.',5),(11,9,'17.02.2021.',2),(12,1,'21.02.2021.',1),(13,1,'16.02.2021.',5),(14,1,'16.02.2021.',5),(15,1,'17.02.2021.',1),(16,1,'15.02.2021.',3),(17,1,'15.02.2021.',3),(18,6,'17.02.2021.',1),(19,5,'19.02.2021.',5),(20,6,'20.02.2021.',1),(21,8,'15.02.2021.',1);
/*!40000 ALTER TABLE `timesheet` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2021-03-23 1:03:59
|
-- --------------------------------------------------------
-- Hôte : localhost
-- Version du serveur: 5.7.19 - MySQL Community Server (GPL)
-- SE du serveur: Win64
-- HeidiSQL Version: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Export de la structure de la base pour m5lil_db1
CREATE DATABASE IF NOT EXISTS `m5lil_db1` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
-- Export de la structure de la table m5lil_db1. addproductprices
CREATE TABLE IF NOT EXISTS `addproductprices` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`product_id` int(11) NOT NULL,
`text` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`Quantity` int(11) NOT NULL,
`price` int(11) NOT NULL,
`days` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.addproductprices : 0 rows
/*!40000 ALTER TABLE `addproductprices` DISABLE KEYS */;
/*!40000 ALTER TABLE `addproductprices` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. addresses
CREATE TABLE IF NOT EXISTS `addresses` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`area_id` int(11) NOT NULL,
`first_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`last_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address1` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address2` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`postal_code` int(11) NOT NULL,
`phone1` int(11) NOT NULL,
`phone2` int(11) NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci,
`lng` double DEFAULT NULL,
`lat` double DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.addresses : 0 rows
/*!40000 ALTER TABLE `addresses` DISABLE KEYS */;
/*!40000 ALTER TABLE `addresses` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. areas
CREATE TABLE IF NOT EXISTS `areas` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`area_type` enum('Country','State','City') COLLATE utf8mb4_unicode_ci NOT NULL,
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`parent_id` int(10) unsigned DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.areas : 0 rows
/*!40000 ALTER TABLE `areas` DISABLE KEYS */;
/*!40000 ALTER TABLE `areas` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. attachments
CREATE TABLE IF NOT EXISTS `attachments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`size` int(11) NOT NULL,
`mime` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`attachable_id` int(11) NOT NULL,
`attachable_type` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.attachments : 0 rows
/*!40000 ALTER TABLE `attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `attachments` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. branches
CREATE TABLE IF NOT EXISTS `branches` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`area_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`address` text COLLATE utf8mb4_unicode_ci NOT NULL,
`latitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`longitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`website` text COLLATE utf8mb4_unicode_ci,
`phone` int(11) DEFAULT NULL,
`email` text COLLATE utf8mb4_unicode_ci,
`status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.branches : 0 rows
/*!40000 ALTER TABLE `branches` DISABLE KEYS */;
/*!40000 ALTER TABLE `branches` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. categories
CREATE TABLE IF NOT EXISTS `categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.categories : 0 rows
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. categories_sliders
CREATE TABLE IF NOT EXISTS `categories_sliders` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`catid` int(10) unsigned NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `categories_sliders_catid_foreign` (`catid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.categories_sliders : 0 rows
/*!40000 ALTER TABLE `categories_sliders` DISABLE KEYS */;
/*!40000 ALTER TABLE `categories_sliders` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. comments
CREATE TABLE IF NOT EXISTS `comments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`commentable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`commentable_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.comments : 1 rows
/*!40000 ALTER TABLE `comments` DISABLE KEYS */;
INSERT INTO `comments` (`id`, `commentable_type`, `commentable_id`, `body`, `user_id`, `status`, `created_at`, `updated_at`) VALUES
(1, 'App\\Models\\Forums', '1', 'nice', '1', '0', '2019-02-20 12:36:01', '2019-02-20 12:36:02');
/*!40000 ALTER TABLE `comments` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. complains
CREATE TABLE IF NOT EXISTS `complains` (
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`about_id` int(11) NOT NULL,
`about_type` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`complain_type_id` int(11) NOT NULL,
`date` text COLLATE utf8mb4_unicode_ci NOT NULL,
`details` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('pending','solved','rejected') COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.complains : 0 rows
/*!40000 ALTER TABLE `complains` DISABLE KEYS */;
/*!40000 ALTER TABLE `complains` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. complain_comments
CREATE TABLE IF NOT EXISTS `complain_comments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`complaint_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.complain_comments : 0 rows
/*!40000 ALTER TABLE `complain_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `complain_comments` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. complain_types
CREATE TABLE IF NOT EXISTS `complain_types` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.complain_types : 0 rows
/*!40000 ALTER TABLE `complain_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `complain_types` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. currencies
CREATE TABLE IF NOT EXISTS `currencies` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`iso` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`dir` enum('left','right') COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.currencies : 0 rows
/*!40000 ALTER TABLE `currencies` DISABLE KEYS */;
/*!40000 ALTER TABLE `currencies` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. deposits
CREATE TABLE IF NOT EXISTS `deposits` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`service_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`payment_method_id` int(10) unsigned NOT NULL,
`status` enum('pending','Paid','Refund') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`products` text COLLATE utf8mb4_unicode_ci NOT NULL,
`invoice_date` date NOT NULL,
`delivery_date` date NOT NULL,
`total_amount` double NOT NULL,
`total_discount` double NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.deposits : 0 rows
/*!40000 ALTER TABLE `deposits` DISABLE KEYS */;
/*!40000 ALTER TABLE `deposits` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. experiences
CREATE TABLE IF NOT EXISTS `experiences` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.experiences : 0 rows
/*!40000 ALTER TABLE `experiences` DISABLE KEYS */;
/*!40000 ALTER TABLE `experiences` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. homecomponents
CREATE TABLE IF NOT EXISTS `homecomponents` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`icon` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.homecomponents : 2 rows
/*!40000 ALTER TABLE `homecomponents` DISABLE KEYS */;
INSERT INTO `homecomponents` (`id`, `icon`, `title`, `body`, `created_at`, `updated_at`) VALUES
(1, 'icon-star', 'hhhhhhh', 'hhhhhhhh', '2019-02-19 21:03:25', '2019-02-19 21:04:45'),
(2, 'icon-like', 'tetttt', 'etedftzeft', '2019-02-19 21:05:09', '2019-02-19 21:05:09');
/*!40000 ALTER TABLE `homecomponents` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. home_sliders
CREATE TABLE IF NOT EXISTS `home_sliders` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.home_sliders : 0 rows
/*!40000 ALTER TABLE `home_sliders` DISABLE KEYS */;
/*!40000 ALTER TABLE `home_sliders` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. industries
CREATE TABLE IF NOT EXISTS `industries` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.industries : 0 rows
/*!40000 ALTER TABLE `industries` DISABLE KEYS */;
/*!40000 ALTER TABLE `industries` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. menus
CREATE TABLE IF NOT EXISTS `menus` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`icon` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`order` int(11) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.menus : 8 rows
/*!40000 ALTER TABLE `menus` DISABLE KEYS */;
INSERT INTO `menus` (`id`, `title`, `url`, `icon`, `order`, `parent_id`, `created_at`, `updated_at`) VALUES
(4, 'Staff', NULL, 'ion-ios-person-outline', 2, NULL, '2019-02-20 03:18:32', '2019-02-20 21:34:30'),
(5, 'Staff', 'backend.staff.index', NULL, NULL, 4, '2019-02-20 03:19:34', '2019-02-20 03:19:34'),
(6, 'Roles', 'backend.roles.index', NULL, NULL, 4, '2019-02-20 03:20:33', '2019-02-20 03:20:33'),
(7, 'Pages', 'backend.pages.index', 'ion-ios-book-outline', 1, NULL, '2019-02-20 03:21:38', '2019-02-20 21:34:11'),
(8, 'Attachments', 'backend.attachments.index', 'ion-ios-folder-outline', 3, NULL, '2019-02-20 03:45:28', '2019-02-20 03:45:28'),
(9, 'Complaints', NULL, 'ion-ios-photos-outline', 4, NULL, '2019-02-20 03:47:49', '2019-02-20 03:47:49'),
(10, 'Complaints', 'backend.complaints.index', NULL, NULL, 9, '2019-02-20 03:49:09', '2019-02-20 03:49:09'),
(11, 'Complain Types', 'backend.complaint_types.index', NULL, NULL, 9, '2019-02-20 03:50:09', '2019-02-20 03:50:09');
/*!40000 ALTER TABLE `menus` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. messages
CREATE TABLE IF NOT EXISTS `messages` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`roomid` int(10) unsigned NOT NULL,
`parent` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `messages_roomid_foreign` (`roomid`),
KEY `messages_parent_foreign` (`parent`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.messages : 0 rows
/*!40000 ALTER TABLE `messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `messages` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. migrations
CREATE TABLE IF NOT EXISTS `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.migrations : 56 rows
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2018_09_24_170126_create_tags_table', 1),
(4, '2018_09_24_171300_create_categories_table', 1),
(5, '2018_09_24_171330_create_sub_categories_table', 1),
(6, '2018_09_24_171331_create_sub_sub_categories_table', 1),
(7, '2018_09_24_171332_create_sub_sub_sub_categories_table', 1),
(8, '2018_09_24_171455_create_service_tags_table', 1),
(9, '2018_09_24_171510_create_service_attachments_table', 1),
(10, '2018_09_24_171551_create_smsapiconfigs_table', 1),
(11, '2018_09_24_180629_create_services_extras_table', 1),
(12, '2018_09_30_125614_create_experiences_table', 1),
(13, '2018_09_30_125805_create_user_experiences_table', 1),
(14, '2018_10_01_170548_create_categories_sliders_table', 1),
(15, '2018_10_01_173000_create_home_sliders_table', 1),
(16, '2018_10_09_025338_create_rooms_table', 1),
(17, '2018_10_09_212229_create_messages_table', 1),
(18, '2018_12_18_042407_create_permission_tables', 1),
(19, '2018_12_19_081730_staff', 1),
(20, '2018_12_21_025322_create_settings_table', 1),
(21, '2018_12_22_035218_create_pages_table', 1),
(22, '2018_12_28_115042_create_sections_table', 1),
(23, '2018_12_28_115043_create_addresses_table', 1),
(24, '2018_12_28_115043_create_attachments_table', 1),
(25, '2018_12_28_115043_create_comments_table', 1),
(26, '2018_12_28_115043_create_complains_table', 1),
(27, '2018_12_28_115043_create_currencies_table', 1),
(28, '2018_12_28_115043_create_orders_table', 1),
(29, '2018_12_28_115043_create_photos_table', 1),
(30, '2018_12_28_115043_create_plans_table', 1),
(31, '2018_12_28_115043_create_products_table', 1),
(32, '2018_12_28_115043_create_reviews_table', 1),
(33, '2018_12_28_115043_create_services_table', 1),
(34, '2018_12_28_115043_create_subscription_table', 1),
(35, '2018_12_28_115043_create_threads_table', 1),
(36, '2018_12_28_115847_create_industries_table', 1),
(37, '2018_12_28_115906_create_complain_types_table', 1),
(38, '2018_12_28_121055_create_branches_table', 1),
(39, '2018_12_28_121801_create_complain_comments_table', 1),
(40, '2018_12_28_160631_create_deposits_table', 1),
(41, '2018_12_28_182639_create_areas_table', 1),
(42, '2018_12_29_102442_create_payment_methods_table', 1),
(43, '2018_12_31_153614_create_newsletters_table', 1),
(44, '2018_12_31_153642_create_withdraws_table', 1),
(45, '2019_01_31_113917_create_position_sliders_table', 1),
(46, '2019_01_31_115357_create_ratings_table', 1),
(47, '2019_02_06_234708_create_addproductprices_table', 1),
(48, '2019_02_07_031830_create_notifications_table', 1),
(49, '2019_02_09_182642_create_productfavs_table', 1),
(50, '2019_02_10_004525_create_sliders_table', 1),
(51, '2019_02_13_092202_create_homecomponents_table', 1),
(52, '2019_02_20_023639_create_menus_table', 2),
(53, '2020_02_20_023639_create_menus_table', 3),
(54, '2021_02_20_023639_create_menus_table', 4),
(55, '2019_02_20_074914_create_servicewebsites_table', 5),
(56, '2019_02_20_231521_create_thread_sections_table', 6);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. model_has_permissions
CREATE TABLE IF NOT EXISTS `model_has_permissions` (
`permission_id` int(10) unsigned NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.model_has_permissions : 0 rows
/*!40000 ALTER TABLE `model_has_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `model_has_permissions` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. model_has_roles
CREATE TABLE IF NOT EXISTS `model_has_roles` (
`role_id` int(10) unsigned NOT NULL,
`model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`model_id` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`role_id`,`model_id`,`model_type`),
KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.model_has_roles : 1 rows
/*!40000 ALTER TABLE `model_has_roles` DISABLE KEYS */;
INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(3, 'App\\Models\\Staff', 1);
/*!40000 ALTER TABLE `model_has_roles` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. newsletters
CREATE TABLE IF NOT EXISTS `newsletters` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `newsletters_email_unique` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.newsletters : 0 rows
/*!40000 ALTER TABLE `newsletters` DISABLE KEYS */;
/*!40000 ALTER TABLE `newsletters` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. notifications
CREATE TABLE IF NOT EXISTS `notifications` (
`id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_id` bigint(20) unsigned NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`read_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.notifications : 6 rows
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
INSERT INTO `notifications` (`id`, `type`, `notifiable_type`, `notifiable_id`, `data`, `read_at`, `created_at`, `updated_at`) VALUES
('70bbd906-4c1b-4393-99ae-07e98112a1ce', 'App\\Notifications\\AddProductStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 ayoub tamous \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u0645\\u0646\\u062a\\u062c \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/products"}', '2019-02-18 00:25:59', '2019-02-16 12:13:12', '2019-02-16 12:13:12'),
('4c50c0bb-b45f-4777-8070-baebf71095fc', 'App\\Notifications\\AddServiceStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 ayoub tamous \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u062e\\u062f\\u0645\\u0647 \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/services"}', NULL, '2019-02-18 15:41:32', '2019-02-18 15:41:32'),
('8933a246-d099-4b17-9980-13b7ac79b553', 'App\\Notifications\\AddServiceStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 ayoub tamous \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u062e\\u062f\\u0645\\u0647 \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/services"}', '2019-02-18 17:01:53', '2019-02-18 16:56:34', '2019-02-18 16:56:34'),
('76042351-885a-417c-956f-d35018349f4e', 'App\\Notifications\\AddServiceStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 ayoub tamous \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u062e\\u062f\\u0645\\u0647 \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/services"}', NULL, '2019-02-19 22:05:15', '2019-02-19 22:05:15'),
('d33c1ab8-9e93-4800-af9f-0abb682d8bbd', 'App\\Notifications\\AddServiceStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 \\u0646\\u0628\\u0631\\u0633 \\u0645\\u0631\\u0628\\u0627\\u0646 \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u062e\\u062f\\u0645\\u0647 \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/services"}', NULL, '2019-02-19 22:32:06', '2019-02-19 22:32:06'),
('e60dd9b3-d1a5-4947-abab-15ca016f8c9b', 'App\\Notifications\\AddProductStaffNoth', 'App\\Models\\Staff', 1, '{"msg":"\\u0642\\u0627\\u0645 ayoub tamous \\u0628\\u0625\\u0636\\u0627\\u0641\\u0629 \\u0645\\u0646\\u062a\\u062c \\u062c\\u062f\\u064a\\u062f \\u0642\\u0645 \\u0628\\u062a\\u0641\\u062d\\u0635\\u0647 ","link":"admin\\/products"}', NULL, '2019-02-20 20:04:23', '2019-02-20 20:04:23');
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. orders
CREATE TABLE IF NOT EXISTS `orders` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`status` enum('pending','accepted','shipped') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`shipping_address_id` int(11) NOT NULL,
`currency_id` int(11) NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
`invoice_date` date NOT NULL,
`delivery_date` date NOT NULL,
`total_amount` double NOT NULL,
`total_discount` double NOT NULL,
`total_shipping` double NOT NULL,
`total` double NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.orders : 0 rows
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. pages
CREATE TABLE IF NOT EXISTS `pages` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` text COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` text COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
`cover` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`position` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.pages : 1 rows
/*!40000 ALTER TABLE `pages` DISABLE KEYS */;
INSERT INTO `pages` (`id`, `title`, `slug`, `body`, `status`, `cover`, `created_at`, `updated_at`, `position`) VALUES
(8, '{"ar":"\\u0645\\u0646 \\u0646\\u062d\\u0646","en":"whowe"}', 'page/whewe', '{"ar":"<p>this is body<\\/p>","en":"<p>this is body<br><\\/p>"}', 'active', 'page_attachment1550607437101.jpg', '2019-02-19 20:17:17', '2019-02-19 20:17:17', 0);
/*!40000 ALTER TABLE `pages` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. password_resets
CREATE TABLE IF NOT EXISTS `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
KEY `password_resets_email_index` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.password_resets : 0 rows
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. payment_methods
CREATE TABLE IF NOT EXISTS `payment_methods` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notes` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.payment_methods : 0 rows
/*!40000 ALTER TABLE `payment_methods` DISABLE KEYS */;
/*!40000 ALTER TABLE `payment_methods` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. permissions
CREATE TABLE IF NOT EXISTS `permissions` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=596 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.permissions : 105 rows
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(491, 'view-staff', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(492, 'add-staff', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(493, 'edit-staff', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(494, 'delete-staff', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(495, 'ajax-staff', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(496, 'view-pages', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(497, 'add-pages', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(498, 'edit-pages', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(499, 'delete-pages', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(500, 'ajax-pages', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(501, 'view-users', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(502, 'add-users', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(503, 'edit-users', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(504, 'delete-users', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(505, 'ajax-users', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(506, 'view-roles', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(507, 'add-roles', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(508, 'edit-roles', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(509, 'delete-roles', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(510, 'ajax-roles', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(511, 'view-advertisements', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(512, 'add-advertisements', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(513, 'edit-advertisements', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(514, 'delete-advertisements', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(515, 'ajax-advertisements', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(516, 'view-attachments', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(517, 'add-attachments', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(518, 'edit-attachments', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(519, 'delete-attachments', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(520, 'ajax-attachments', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(521, 'view-services', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(522, 'add-services', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(523, 'edit-services', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(524, 'delete-services', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(525, 'ajax-services', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(526, 'view-threads', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(527, 'add-threads', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(528, 'edit-threads', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(529, 'delete-threads', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(530, 'ajax-threads', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(531, 'view-withdraws', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(532, 'add-withdraws', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(533, 'edit-withdraws', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(534, 'delete-withdraws', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(535, 'ajax-withdraws', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(536, 'view-settings', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(537, 'add-settings', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(538, 'edit-settings', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(539, 'delete-settings', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(540, 'ajax-settings', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(541, 'view-products', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(542, 'add-products', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(543, 'edit-products', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(544, 'delete-products', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(545, 'ajax-products', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(546, 'view-sections', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(547, 'add-sections', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(548, 'edit-sections', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(549, 'delete-sections', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(550, 'ajax-sections', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(551, 'view-orders', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(552, 'add-orders', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(553, 'edit-orders', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(554, 'delete-orders', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(555, 'ajax-orders', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(556, 'view-complaints', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(557, 'add-complaints', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(558, 'edit-complaints', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(559, 'delete-complaints', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(560, 'ajax-complaints', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(561, 'view-deposits', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(562, 'add-deposits', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(563, 'edit-deposits', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(564, 'delete-deposits', 'staff', '2019-02-19 21:16:08', '2019-02-19 21:16:08'),
(565, 'ajax-deposits', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(566, 'view-newsletters', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(567, 'add-newsletters', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(568, 'edit-newsletters', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(569, 'delete-newsletters', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(570, 'ajax-newsletters', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(571, 'view-messages', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(572, 'add-messages', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(573, 'edit-messages', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(574, 'delete-messages', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(575, 'ajax-messages', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(576, 'view-comments', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(577, 'add-comments', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(578, 'edit-comments', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(579, 'delete-comments', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(580, 'ajax-comments', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(581, 'view-sliders', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(582, 'add-sliders', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(583, 'edit-sliders', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(584, 'delete-sliders', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(585, 'ajax-sliders', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(586, 'view-rating', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(587, 'add-rating', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(588, 'edit-rating', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(589, 'delete-rating', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(590, 'ajax-rating', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(591, 'view-websiteservices', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(592, 'add-websiteservices', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(593, 'edit-websiteservices', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(594, 'delete-websiteservices', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09'),
(595, 'ajax-websiteservices', 'staff', '2019-02-19 21:16:09', '2019-02-19 21:16:09');
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. photos
CREATE TABLE IF NOT EXISTS `photos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`model_id` int(11) NOT NULL,
`model_type` int(11) NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`size` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.photos : 0 rows
/*!40000 ALTER TABLE `photos` DISABLE KEYS */;
/*!40000 ALTER TABLE `photos` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. plans
CREATE TABLE IF NOT EXISTS `plans` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`price` double NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.plans : 0 rows
/*!40000 ALTER TABLE `plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `plans` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. position_sliders
CREATE TABLE IF NOT EXISTS `position_sliders` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.position_sliders : 9 rows
/*!40000 ALTER TABLE `position_sliders` DISABLE KEYS */;
INSERT INTO `position_sliders` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'سليدر المنتجات (الاعلى)', 'products', '2019-02-18 14:51:04', '2019-02-18 14:51:04'),
(2, 'سليدر المنتجات (الأسفل)', 'products', '2019-02-19 19:00:13', '2019-02-19 19:00:13'),
(3, 'سليدر الخدمات (الأعلى)', 'services', '2019-02-19 19:00:32', '2019-02-19 19:00:32'),
(4, 'سليدر الخدمات (الاسفل)', 'services', '2019-02-19 19:01:00', '2019-02-19 19:01:00'),
(5, 'سليدر المنتجات الرقميه (الأعلى)', 'shop', '2019-02-19 19:02:07', '2019-02-19 19:02:07'),
(6, 'سليدر المنتجات الرقميه (الاسفل)', 'shop', '2019-02-19 19:02:43', '2019-02-19 19:02:43'),
(7, 'سليدر الرئيسيه (الأعلى)', 'home', '2019-02-19 19:03:55', '2019-02-19 19:03:55'),
(8, 'سليدر الرئيسيه (الاسفل)', 'home', '2019-02-19 19:04:32', '2019-02-19 19:04:32'),
(9, 'سليدر الترحيب', 'welcome', '2019-02-19 19:05:21', '2019-02-19 19:05:21');
/*!40000 ALTER TABLE `position_sliders` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. productfavs
CREATE TABLE IF NOT EXISTS `productfavs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`product_id` int(10) unsigned NOT NULL,
`user_id` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `productfavs_product_id_foreign` (`product_id`),
KEY `productfavs_user_id_foreign` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.productfavs : 3 rows
/*!40000 ALTER TABLE `productfavs` DISABLE KEYS */;
INSERT INTO `productfavs` (`id`, `product_id`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2019-02-17 20:34:59', '2019-02-17 20:34:59'),
(2, 1, 1, '2019-02-17 20:35:50', '2019-02-17 20:35:50'),
(3, 2, 1, '2019-02-17 20:37:59', '2019-02-17 20:37:59');
/*!40000 ALTER TABLE `productfavs` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. products
CREATE TABLE IF NOT EXISTS `products` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name_and_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`section_id` int(11) DEFAULT NULL,
`sub_section` int(11) DEFAULT NULL,
`category` int(11) DEFAULT NULL,
`Quantity` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` double NOT NULL,
`user_id` int(11) NOT NULL,
`branch_id` int(11) DEFAULT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sku` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`branch_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`attachments` longtext COLLATE utf8mb4_unicode_ci,
`trans` enum('1','2') COLLATE utf8mb4_unicode_ci NOT NULL,
`in_stock` enum('Yes','No') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Yes',
`status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.products : 2 rows
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` (`id`, `name_and_type`, `body`, `section_id`, `sub_section`, `category`, `Quantity`, `price`, `user_id`, `branch_id`, `slug`, `sku`, `branch_name`, `attachments`, `trans`, `in_stock`, `status`, `created_at`, `updated_at`) VALUES
(1, 'test_name', 'body desc', 1, 2, 3, '12', 300, 1, NULL, 'test_name', '100null', 'bmv_sad', '[{"img":"product_attachment15503191921206.jpg"},{"img":"product_attachment1550319192454.jpg"},{"img":"product_attachment1550319192781.jpg"},{"img":"product_attachment15503191921207.jpg"}]', '1', 'Yes', 'active', '2019-02-16 12:13:12', '2019-02-17 20:19:40'),
(3, 'new', 'test', 1, 2, 3, '7', 15, 1, NULL, 'new', '8م', 'bmv_sad', '[{"img":"product_attachment15506930621311.jpg"},{"img":"product_attachment1550693062175.jpg"},{"img":"product_attachment1550693062140.jpg"}]', '1', 'Yes', 'active', '2019-02-20 20:04:22', '2019-02-20 20:05:30');
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. ratings
CREATE TABLE IF NOT EXISTS `ratings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.ratings : 0 rows
/*!40000 ALTER TABLE `ratings` DISABLE KEYS */;
/*!40000 ALTER TABLE `ratings` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. reviews
CREATE TABLE IF NOT EXISTS `reviews` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`reviewable_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`reviewable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`stars` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('Active','Inactive') COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.reviews : 0 rows
/*!40000 ALTER TABLE `reviews` DISABLE KEYS */;
/*!40000 ALTER TABLE `reviews` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. roles
CREATE TABLE IF NOT EXISTS `roles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.roles : 0 rows
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. role_has_permissions
CREATE TABLE IF NOT EXISTS `role_has_permissions` (
`permission_id` int(10) unsigned NOT NULL,
`role_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`permission_id`,`role_id`),
KEY `role_has_permissions_role_id_foreign` (`role_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.role_has_permissions : 1 rows
/*!40000 ALTER TABLE `role_has_permissions` DISABLE KEYS */;
INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(11, 3);
/*!40000 ALTER TABLE `role_has_permissions` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. rooms
CREATE TABLE IF NOT EXISTS `rooms` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent` int(10) unsigned NOT NULL,
`child` int(10) unsigned NOT NULL,
`service` int(10) unsigned NOT NULL,
`parentblock` int(11) NOT NULL,
`childblock` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `rooms_parent_foreign` (`parent`),
KEY `rooms_child_foreign` (`child`),
KEY `rooms_service_foreign` (`service`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.rooms : 0 rows
/*!40000 ALTER TABLE `rooms` DISABLE KEYS */;
/*!40000 ALTER TABLE `rooms` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. sections
CREATE TABLE IF NOT EXISTS `sections` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` tinyint(4) DEFAULT NULL,
`title` text COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`fixed_price` int(11) NOT NULL DEFAULT '0',
`order` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.sections : 3 rows
/*!40000 ALTER TABLE `sections` DISABLE KEYS */;
INSERT INTO `sections` (`id`, `parent_id`, `title`, `slug`, `description`, `fixed_price`, `order`, `created_at`, `updated_at`) VALUES
(1, NULL, '{"ar":"\\u0627\\u0644\\u0633\\u064a\\u0627\\u0631\\u0627\\u062a","en":"cars"}', 'cars', '{"ar":"test","en":"test"}', 0, 1, NULL, NULL),
(2, 1, '{"ar":"\\u0627\\u0644\\u0633\\u064a\\u0627\\u0631\\u0627\\u062a \\u0627\\u0644\\u0623\\u0645\\u0631\\u064a\\u0643\\u064a\\u0629","en":"usa"}', 'cars', '{"ar":"test","en":"test"}', 0, 1, NULL, NULL),
(3, 2, '{"ar":"BMV","en":"BMV"}', 'cars', '{"ar":"test","en":"test"}', 0, 1, NULL, NULL);
/*!40000 ALTER TABLE `sections` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. services
CREATE TABLE IF NOT EXISTS `services` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`section_id` int(10) unsigned NOT NULL,
`sub_section` int(11) NOT NULL,
`sub_sub_section` int(11) DEFAULT NULL,
`category` int(11) DEFAULT NULL,
`area_id` int(10) unsigned DEFAULT NULL,
`to` int(11) NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` text COLLATE utf8mb4_unicode_ci NOT NULL,
`attachment` longtext COLLATE utf8mb4_unicode_ci,
`price` int(11) DEFAULT NULL,
`experiences` longtext COLLATE utf8mb4_unicode_ci,
`skills` longtext COLLATE utf8mb4_unicode_ci,
`lng` double DEFAULT NULL,
`lat` double DEFAULT NULL,
`per` enum('Hour','Service') COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.services : 2 rows
/*!40000 ALTER TABLE `services` DISABLE KEYS */;
INSERT INTO `services` (`id`, `user_id`, `section_id`, `sub_section`, `sub_sub_section`, `category`, `area_id`, `to`, `name`, `slug`, `body`, `attachment`, `price`, `experiences`, `skills`, `lng`, `lat`, `per`, `status`, `created_at`, `updated_at`) VALUES
(4, 1, 1, 2, 3, NULL, NULL, 4, 'create complate website', 'create-complate-website', 'create website laravel', '[{"img":"service_attachment1550613913377.jpg"}]', 3000, 'laravel', '1,2,3', NULL, NULL, 'Hour', 'inactive', '2019-02-19 22:05:13', '2019-02-19 22:05:13'),
(5, 3, 1, 2, 3, NULL, NULL, 4, 'convert psd to html', 'convert-psd-to-html', 'convert file psd to html websit', '[{"img":"service_attachment1550615526252.jpg"},{"img":"service_attachment15506155261167.jpg"},{"img":"service_attachment15506155261061.jpg"},{"img":"service_attachment1550615526740.jpg"}]', 1222, 'sdfksdnjkfbdsjb', '1', NULL, NULL, 'Hour', 'inactive', '2019-02-19 22:32:06', '2019-02-19 22:32:06');
/*!40000 ALTER TABLE `services` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. services_extras
CREATE TABLE IF NOT EXISTS `services_extras` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` double(8,2) NOT NULL,
`description` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`serviceid` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `services_extras_serviceid_foreign` (`serviceid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.services_extras : 0 rows
/*!40000 ALTER TABLE `services_extras` DISABLE KEYS */;
/*!40000 ALTER TABLE `services_extras` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. servicewebsites
CREATE TABLE IF NOT EXISTS `servicewebsites` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`icon` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.servicewebsites : 2 rows
/*!40000 ALTER TABLE `servicewebsites` DISABLE KEYS */;
INSERT INTO `servicewebsites` (`id`, `title`, `icon`, `body`, `created_at`, `updated_at`) VALUES
(1, 'hhhhhhhh', 'icon-star', 'test', '2019-02-20 08:08:16', '2019-02-20 21:24:15'),
(2, 'tttttttttttt', 'icon-like', 'ttttttttttttttttttttttttttttttttttt', '2019-02-20 21:24:55', '2019-02-20 21:24:55');
/*!40000 ALTER TABLE `servicewebsites` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. service_attachments
CREATE TABLE IF NOT EXISTS `service_attachments` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`serviceid` int(10) unsigned NOT NULL,
`path` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`filetype` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `service_attachments_serviceid_foreign` (`serviceid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.service_attachments : 0 rows
/*!40000 ALTER TABLE `service_attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `service_attachments` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. service_tags
CREATE TABLE IF NOT EXISTS `service_tags` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`serviceid` int(10) unsigned NOT NULL,
`tagid` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `service_tags_serviceid_foreign` (`serviceid`),
KEY `service_tags_tagid_foreign` (`tagid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.service_tags : 0 rows
/*!40000 ALTER TABLE `service_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `service_tags` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. settings
CREATE TABLE IF NOT EXISTS `settings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`set_slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`set_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` text COLLATE utf8mb4_unicode_ci NOT NULL,
`type` int(11) NOT NULL DEFAULT '1',
`sec` enum('General','Website') COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.settings : 18 rows
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
INSERT INTO `settings` (`id`, `set_slug`, `set_name`, `value`, `type`, `sec`) VALUES
(52, 'صفحة الفيس بوك', 'facebook', 'Ka7tAz4XJP', 1, 'Website'),
(51, 'صفحة تويتر', 'twitter', 'DtDDchGRCF', 1, 'Website'),
(50, 'خط الطول', 'lng', '#', 1, 'Website'),
(49, 'خط العرض', 'lat', '#', 1, 'Website'),
(48, 'الرقم البريدي', 'postal', '#', 1, 'Website'),
(47, 'العنوان', 'address', '#', 1, 'Website'),
(46, 'ارقام هواتف', 'phone', '#', 1, 'Website'),
(45, 'رابط الأدمن', 'admin_url', 'admin/', 1, 'General'),
(44, 'البريد الإلكتروني', 'email', '#', 1, 'Website'),
(42, 'شعار الموقع', 'logo', '1550619295.png', 0, 'General'),
(43, 'ايقونة التفضيل', 'fav_icon', '#', 0, 'General'),
(41, 'حالة الموقع', 'statue', 'online', 0, 'Website'),
(40, 'وصف الميتا تاج', 'site_meta_description', 'الوصف الذى سوف يظهر فى محركات البحث إسفل إسم الموقع', 2, 'Website'),
(39, 'كود إحصائيات جوجل', 'analytics', 'code', 2, 'Website'),
(38, 'نص الحقوق', 'copyright', 'جميع الحقوق محفوظة - الرياض 2016', 1, 'Website'),
(37, 'وصف الموقع', 'description', 'وصف للموقع', 2, 'General'),
(35, 'site title ar', 'site_title_ar', 'سريع', 1, 'General'),
(36, 'site title en', 'site_title_en', 'Sareeea', 1, 'General');
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. sliders
CREATE TABLE IF NOT EXISTS `sliders` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`images` longtext COLLATE utf8mb4_unicode_ci,
`slider_position` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sliders_slider_position_foreign` (`slider_position`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.sliders : 5 rows
/*!40000 ALTER TABLE `sliders` DISABLE KEYS */;
INSERT INTO `sliders` (`id`, `title`, `body`, `images`, `slider_position`, `created_at`, `updated_at`) VALUES
(1, 'title', 'body test', 'slider_image15506151271118.jpg', 1, '2019-02-18 15:16:17', '2019-02-18 15:16:17'),
(2, 'sliderwelcome', 'thi is slider welcom', 'slider_image15506046981154.jpg', 9, '2019-02-19 19:06:25', '2019-02-19 19:31:38'),
(8, 'title', 'tetstt', 'slider_image15506151271118.jpg', 8, '2019-02-19 22:25:15', '2019-02-19 22:25:15'),
(7, 'slll', 'tttttt', 'slider_image15506047891476.jpg', 9, '2019-02-19 19:33:09', '2019-02-19 19:33:09'),
(6, 'عنوان', 'tetetet', 'slider_image1550614752621.jpg', 7, '2019-02-19 19:17:45', '2019-02-19 22:19:12');
/*!40000 ALTER TABLE `sliders` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. smsapiconfigs
CREATE TABLE IF NOT EXISTS `smsapiconfigs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`pass` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sender` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.smsapiconfigs : 0 rows
/*!40000 ALTER TABLE `smsapiconfigs` DISABLE KEYS */;
/*!40000 ALTER TABLE `smsapiconfigs` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. staff
CREATE TABLE IF NOT EXISTS `staff` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`last_login_at` timestamp NULL DEFAULT NULL,
`last_login_ip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `staff_username_unique` (`username`),
UNIQUE KEY `staff_email_unique` (`email`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.staff : 1 rows
/*!40000 ALTER TABLE `staff` DISABLE KEYS */;
INSERT INTO `staff` (`id`, `name`, `username`, `email`, `email_verified_at`, `password`, `last_login_at`, `last_login_ip`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'devloper', 'devloper', '<EMAIL>', NULL, '$2y$10$SOw/23kv0CQQGviKsk66pepqS.1weCsU1eV3D8X.Hb42SgNlr7TGS', '2019-02-20 19:39:11', '::1', NULL, NULL, '2019-02-20 19:39:11');
/*!40000 ALTER TABLE `staff` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. subscriptions
CREATE TABLE IF NOT EXISTS `subscriptions` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`status` enum('Active','Inactive') COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(11) NOT NULL,
`plan_id` int(11) NOT NULL,
`renew_at` date NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.subscriptions : 0 rows
/*!40000 ALTER TABLE `subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `subscriptions` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. sub_categories
CREATE TABLE IF NOT EXISTS `sub_categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`catid` int(10) unsigned NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sub_categories_catid_foreign` (`catid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.sub_categories : 0 rows
/*!40000 ALTER TABLE `sub_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `sub_categories` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. sub_sub_categories
CREATE TABLE IF NOT EXISTS `sub_sub_categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`subcatid` int(10) unsigned NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sub_sub_categories_subcatid_foreign` (`subcatid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.sub_sub_categories : 0 rows
/*!40000 ALTER TABLE `sub_sub_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `sub_sub_categories` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. sub_sub_sub_categories
CREATE TABLE IF NOT EXISTS `sub_sub_sub_categories` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`subsubcatid` int(10) unsigned NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sub_sub_sub_categories_subsubcatid_foreign` (`subsubcatid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.sub_sub_sub_categories : 0 rows
/*!40000 ALTER TABLE `sub_sub_sub_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `sub_sub_sub_categories` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. tags
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.tags : 9 rows
/*!40000 ALTER TABLE `tags` DISABLE KEYS */;
INSERT INTO `tags` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'HTML', NULL, NULL),
(2, 'CSS', NULL, NULL),
(3, 'JavaScript', NULL, NULL),
(4, 'PHP', NULL, NULL),
(5, 'Mysql', NULL, NULL),
(6, 'Laravel', NULL, NULL),
(7, 'Symfony', NULL, NULL),
(8, 'Nodejs', NULL, NULL),
(9, 'Angulare', NULL, NULL);
/*!40000 ALTER TABLE `tags` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. threads
CREATE TABLE IF NOT EXISTS `threads` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`section_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`body` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.threads : 2 rows
/*!40000 ALTER TABLE `threads` DISABLE KEYS */;
INSERT INTO `threads` (`id`, `section_id`, `user_id`, `title`, `slug`, `body`, `created_at`, `updated_at`) VALUES
(3, 1, 1, 'how to ?', NULL, '<p>tetsttdt</p>', '2019-02-21 00:13:03', '2019-02-21 00:13:03');
/*!40000 ALTER TABLE `threads` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. thread_sections
CREATE TABLE IF NOT EXISTS `thread_sections` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`body` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.thread_sections : 0 rows
/*!40000 ALTER TABLE `thread_sections` DISABLE KEYS */;
INSERT INTO `thread_sections` (`id`, `title`, `body`, `slug`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, '{"ar":"\\u0633\\u0624\\u0627\\u0644 \\u0648 \\u062c\\u0648\\u0627\\u0628","en":"games"}', '{"ar":"bfhdh","en":"fbjkb"}', NULL, NULL, 'active', '2019-02-20 23:56:21', '2019-02-21 00:02:46');
/*!40000 ALTER TABLE `thread_sections` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. users
CREATE TABLE IF NOT EXISTS `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'null',
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`dirthyear` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`dirthmonth` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`dirthday` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`gender` int(11) DEFAULT NULL,
`country` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`city` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`experienceyears` int(11) DEFAULT NULL,
`certificates` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`skills` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci,
`image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user.png',
`cover` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cover.png',
`mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`job` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_ip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`account_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`verfiy_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`verfied` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sell` tinyint(4) NOT NULL DEFAULT '0',
`upload_products` tinyint(4) NOT NULL DEFAULT '0',
`paypal_mail` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`facebook` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`twitter` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`db` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.users : 3 rows
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `slug`, `dirthyear`, `dirthmonth`, `dirthday`, `gender`, `country`, `city`, `email_verified_at`, `experienceyears`, `certificates`, `skills`, `description`, `image`, `cover`, `mobile`, `job`, `last_ip`, `account_type`, `status`, `verfiy_code`, `verfied`, `sell`, `upload_products`, `paypal_mail`, `facebook`, `twitter`, `db`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', 'null', '<EMAIL>', <PASSWORD>', 'ayoub', NULL, NULL, NULL, NULL, 'المغرب', 'KASBA TADLA', NULL, NULL, NULL, NULL, 'he , my name is ayoub full stack web devloper', 'user.png', 'cover.png', NULL, 'full stack', NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, NULL, 'kZ2e8EUN4RrAg9f5Bmwvpj7qG4drmQRORbxHgJaR5IsAipavsv5gKWvSBeuX', NULL, NULL),
(3, '<NAME>', 'nipo', '<EMAIL>', <PASSWORD>', 'nipo', '1994', '8', '11', 0, '40', 'KASBA TADLA', NULL, NULL, NULL, NULL, NULL, 'user.png', 'cover.png', '+212645554343453', NULL, '::1', '0', '1', '', '1', 0, 0, NULL, NULL, NULL, NULL, 's6zco74xLlPyaTojnWmD2Ki9OwdzRX3rCgf3v3Nh9lFZiKk0sPbnHy3HF7zc', '2019-02-19 22:29:37', NULL),
(4, 'devloper', 'devoper', '<EMAIL>', '$2y$10$.TCk1aDdjA5ZrQHDVG736OaRseT3lGKByCjNfS4YXm9Qie3K1zXq6', NULL, '1913', '7', '10', 0, '1', 'devloper', NULL, NULL, NULL, NULL, NULL, 'user.png', 'cover.png', '+21277767656565655', NULL, '::1', '0', '1', '7fc6e', '0', 0, 0, NULL, NULL, NULL, NULL, NULL, '2019-02-19 22:37:33', NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. user_experiences
CREATE TABLE IF NOT EXISTS `user_experiences` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` int(10) unsigned NOT NULL,
`experienceid` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_experiences_userid_foreign` (`userid`),
KEY `user_experiences_experienceid_foreign` (`experienceid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.user_experiences : 0 rows
/*!40000 ALTER TABLE `user_experiences` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_experiences` ENABLE KEYS */;
-- Export de la structure de la table m5lil_db1. withdraws
CREATE TABLE IF NOT EXISTS `withdraws` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`amount` int(11) NOT NULL,
`method` text COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('Pending','Approved','Sent') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Export de données de la table m5lil_db1.withdraws : 0 rows
/*!40000 ALTER TABLE `withdraws` DISABLE KEYS */;
/*!40000 ALTER TABLE `withdraws` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
<filename>GITCLASS/Banco de Dados/Exercicios SQL Casa/Query SQL Pessoas.sql
INSERT INTO pessoas
(Nome, Nascimento, Sexo, Peso, Altura, Nacionalidade)
values
('John', '1975-04-01', 'M', 85.90, 2.15, 'EUA'),
('Enzo', '2014-02-01', 'M', 30.60, 1.30, 'EUA'),
('Jared', '2013-07-06', 'M', 32.90, 1.15, 'Canada'),
('Valentina', '2015-04-01', 'F', 30.50, 1.20, 'Italia');
go
select * from pessoas;
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 26 Sep 2021 pada 02.59
-- Versi server: 10.4.6-MariaDB
-- Versi PHP: 7.3.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `absensi_cn`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `data`
--
CREATE TABLE `data` (
`id` bigint(20) UNSIGNED NOT NULL,
`date` date NOT NULL,
`day` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`time_in` time NOT NULL,
`activity` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`jurusan_id` bigint(20) UNSIGNED NOT NULL,
`attedance` enum('hadir','izin','sakit') COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `data`
--
INSERT INTO `data` (`id`, `date`, `day`, `time_in`, `activity`, `created_at`, `updated_at`, `user_id`, `jurusan_id`, `attedance`) VALUES
(4, '2021-09-22', 'Wednesday', '22:32:00', NULL, '2021-09-22 08:32:43', '2021-09-22 08:32:43', 1, 2, 'izin'),
(5, '2021-09-22', 'Wednesday', '22:37:00', NULL, '2021-09-22 08:37:13', '2021-09-22 08:37:13', 1, 2, 'sakit'),
(6, '2021-09-23', 'Thursday', '23:06:00', 'mencuci piring', '2021-09-23 09:06:18', '2021-09-23 09:06:18', 1, 3, 'hadir'),
(7, '2021-09-23', 'Thursday', '23:14:00', NULL, '2021-09-23 09:14:23', '2021-09-23 09:14:23', 1, 1, 'izin'),
(8, '2021-09-24', 'Friday', '19:16:00', 'coba ahh', '2021-09-24 12:16:46', '2021-09-24 12:16:46', 1, 2, 'hadir'),
(9, '2021-09-24', 'Friday', '19:16:00', NULL, '2021-09-24 12:16:58', '2021-09-24 12:16:58', 1, 1, 'izin');
-- --------------------------------------------------------
--
-- Struktur dari tabel `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `jurusans`
--
CREATE TABLE `jurusans` (
`id` bigint(20) UNSIGNED NOT NULL,
`nama` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `jurusans`
--
INSERT INTO `jurusans` (`id`, `nama`) VALUES
(1, 'Rekayasa Perangkat Lunak'),
(2, 'Teknik Komputer dan Jaringan'),
(3, 'Multimedia'),
(7, 'Otomatisasi & Tata Kelola Perkantoran'),
(8, 'Bisnis Daring dan Pemasaran');
-- --------------------------------------------------------
--
-- Struktur dari tabel `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(26, '2014_10_12_000000_create_users_table', 1),
(27, '2014_10_12_100000_create_password_resets_table', 1),
(28, '2019_08_19_000000_create_failed_jobs_table', 1),
(29, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(30, '2021_09_12_065400_create_jurusans_table', 1),
(31, '2021_09_12_065751_create_data_table', 1),
(32, '2021_09_12_070832_add_role_to_users_table', 1),
(33, '2021_09_12_070909_add_jurusan_to_data_table', 1),
(34, '2021_09_14_071409_add_attendance_to_data_table', 1),
(35, '2021_09_23_99999_create_cruds_table', 2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `personal_access_tokens`
--
CREATE TABLE `personal_access_tokens` (
`id` bigint(20) UNSIGNED NOT NULL,
`tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`tokenable_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`abilities` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`last_used_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`role` enum('user','admin','guru') COLLATE utf8mb4_unicode_ci NOT NULL,
`photo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `role`, `photo`) VALUES
(1, 'Jarvis Academy User', '<EMAIL>', NULL, '$2y$10$iR0hXixE8iMwb/oK64biselqHDVXuPop2ZHToLjuBBQ51KWpAXcvq', NULL, '2021-09-17 00:19:13', '2021-09-24 08:45:21', 'user', '1632498321.jpg'),
(2, 'Jarvis Academy Admin', '<EMAIL>', NULL, '$2y$10$QLxpThqVotPtCxBjHS9gp.ofCyjMecd29KY/dAyxQWihUdQgWJmKO', NULL, '2021-09-17 00:20:25', '2021-09-24 08:53:40', 'admin', '1632498820.jpg'),
(3, 'Guru', '<EMAIL>', NULL, '$2y$10$8rbJxOxMsBPhDCsgiUmga.d02.BkmmFXFDol9CNgX1aSYTl7tnCiy', NULL, '2021-09-24 01:28:19', '2021-09-24 01:28:19', 'guru', NULL),
(4, '<NAME>', '<EMAIL>', NULL, '$2y$10$R/H3KtNKaJ1A8Pk.tUhwH.QrI4sl8MWJhTd2CMP.nw/tqUEJrmEZi', NULL, '2021-09-24 02:23:37', '2021-09-24 02:23:37', 'user', NULL),
(5, '<NAME>', '<EMAIL>', NULL, '$2y$10$KAMzptJIf4SmTIN1GOKsCe3kRNpfUmX8Sv5fwe1AaNh1xFA9r67qK', NULL, '2021-09-24 02:23:38', '2021-09-24 02:23:38', 'user', NULL);
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `data`
--
ALTER TABLE `data`
ADD PRIMARY KEY (`id`),
ADD KEY `data_user_id_foreign` (`user_id`),
ADD KEY `data_jurusan_id_foreign` (`jurusan_id`);
--
-- Indeks untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indeks untuk tabel `jurusans`
--
ALTER TABLE `jurusans`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indeks untuk tabel `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);
--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `data`
--
ALTER TABLE `data`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `jurusans`
--
ALTER TABLE `jurusans`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
--
-- AUTO_INCREMENT untuk tabel `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `data`
--
ALTER TABLE `data`
ADD CONSTRAINT `data_jurusan_id_foreign` FOREIGN KEY (`jurusan_id`) REFERENCES `jurusans` (`id`),
ADD CONSTRAINT `data_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
COMMIT;
/*!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 */;
|
CREATE DATABASE loginapp CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES ON loginapp.* TO 'loginapp'@'%' IDENTIFIED BY 'loginapp';
USE loginapp;
CREATE TABLE IF NOT EXISTS credential (
id INT AUTO_INCREMENT PRIMARY KEY,
username varchar(255) NOT NULL,
password varchar(255) NOT NULL,
role varchar(255)
) ENGINE=INNODB;
insert into credential(username,password,role) values ('user1','{noop}password1','USER');
insert into credential(username,password,role) values ('user2','{noop}password2','USER');
insert into credential(username,password,role) values ('admin1','{noop}admin<PASSWORD>','ADMIN');
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 15, 2019 at 01:34 AM
-- Server version: 5.7.24
-- PHP Version: 7.1.26
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `songs`
--
-- --------------------------------------------------------
--
-- Table structure for table `songlist`
--
CREATE TABLE `songlist` (
`id` int(11) NOT NULL,
`name` varchar(40) NOT NULL,
`author` varchar(40) NOT NULL,
`link` varchar(40) NOT NULL,
`genre` varchar(40) NOT NULL,
`views` int(11) DEFAULT NULL,
`created_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `songlist`
--
INSERT INTO `songlist` (`id`, `name`, `author`, `link`, `genre`, `views`, `created_at`) VALUES
(1, 'test2', 'author2', 'GllEDACUbNo', 'rap', 5, '2019-02-15 10:21:21'),
(2, 'Candy Shop', '50Cent', 'SRcnnId15BA', 'rap', 500000, '2019-02-15 10:23:11'),
(3, 'Just A Lil Bit', '50Cent', 'GllEDACUbNo', 'rap', 1500000, '2019-02-15 10:27:05');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `songlist`
--
ALTER TABLE `songlist`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `songlist`
--
ALTER TABLE `songlist`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
/*!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 */;
|
<filename>deploy/owncloud_install.sql
-- mysql create db for owncloud with user e password
CREATE DATABASE owncloud ;
CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'owncloud' ;
GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' ;
FLUSH PRIVILEGES ;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.