sql stringlengths 6 1.05M |
|---|
-- @testpoint:opengauss关键字function(非保留),作为模式名
--关键字不带引号-成功
drop schema if exists function;
create schema function;
drop schema function;
--关键字带双引号-成功
drop schema if exists "function";
create schema "function";
drop schema "function";
--关键字带单引号-合理报错
drop schema if exists 'function';
create schema 'function';
--关键字带反引号-合理报错
drop schema if exists `function`;
create schema `function`;
|
-- CreateTable
CREATE TABLE "User" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"username" TEXT NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"dataId" INTEGER NOT NULL,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "UserData" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"bio" TEXT NOT NULL DEFAULT E'',
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "UserSocialLink" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"userId" INTEGER,
"userDataId" INTEGER,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Shop" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"name" TEXT NOT NULL,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Category" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"name" TEXT NOT NULL,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Discount" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"categoryId" INTEGER NOT NULL,
"shopId" INTEGER NOT NULL,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Coupon" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"discountId" INTEGER NOT NULL,
"userId" INTEGER,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "PublicFile" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3),
"url" TEXT NOT NULL,
"key" TEXT NOT NULL,
PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "User.username_unique" ON "User"("username");
-- CreateIndex
CREATE UNIQUE INDEX "User.email_unique" ON "User"("email");
-- CreateIndex
CREATE UNIQUE INDEX "User_dataId_unique" ON "User"("dataId");
-- CreateIndex
CREATE UNIQUE INDEX "Shop.name_unique" ON "Shop"("name");
-- AddForeignKey
ALTER TABLE "User" ADD FOREIGN KEY ("dataId") REFERENCES "UserData"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "UserSocialLink" ADD FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "UserSocialLink" ADD FOREIGN KEY ("userDataId") REFERENCES "UserData"("id") ON DELETE SET NULL ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Discount" ADD FOREIGN KEY ("categoryId") REFERENCES "Category"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Discount" ADD FOREIGN KEY ("shopId") REFERENCES "Shop"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Coupon" ADD FOREIGN KEY ("discountId") REFERENCES "Discount"("id") ON DELETE CASCADE ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Coupon" ADD FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
<filename>Modules/import/officine2/sql/clients.sql
select
p.inopat,
p.cmatricule,
p.lmatricule,
p.lcarteinvalide,
p.ltierspayant,
p.cnom,
p.cprenom,
p.cadresse,
p.ccodepost,
p.clocalite,
p.cpays,
p.ctelephone,
p.cgsm,
p.cfax,
p.cemail,
p.isexe,
p.cchambre,
p.cadresse_f,
p.ccodepost_f,
p.clocalite_f,
p.cpays_f,
p.inoclient,
p.inopatref,
r.mremarque,
ddv.tcreation
from
d_patient p
left join d_remarques r on r.inoremarque = p.inoremarque and r.ityperemarque = 1
left join (select inopatient, max(tcreation) tcreation
from d_vente
group by inopatient) ddv on ddv.inopatient = p.inopat
where p.inopat not in (select distinct pr.inopatref
from d_patient pr
where pr.inopatref <> 0 and pr.inopatref <> pr.inopat) |
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 11-01-2017 a las 16:47:52
-- Versión del servidor: 5.7.14
-- Versión de PHP: 5.6.25
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 */;
--
-- Base de datos: `saludex`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_almacen`
--
CREATE TABLE `t_almacen` (
`almacen_id` int(11) NOT NULL,
`almacen_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`sucursal_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL,
`almacen_fecha_alta` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_almacen`
--
INSERT INTO `t_almacen` (`almacen_id`, `almacen_nombre`, `sucursal_id`, `usuario_id`, `almacen_fecha_alta`) VALUES
(1, 'ALMACEN 10', 1, 1, '2016-12-06 16:48:59'),
(2, 'ALMACEN 2', 1, 1, '2016-12-06 17:45:53'),
(3, 'NUE<NAME>', 1, 1, '2016-12-12 17:25:27'),
(4, 'ALM 10', 2, 1, '2017-01-03 11:20:50');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_cliente`
--
CREATE TABLE `t_cliente` (
`cliente_id` int(11) NOT NULL,
`cliente_razon` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`cliente_rfc` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`cliente_direccion` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`cliente_num_externo` int(10) DEFAULT NULL,
`cliente_num_interno` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_cp` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
`cliente_colonia` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`cliente_ciudad` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`cliente_estado` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`cliente_nombre_comercial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_correo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_status_id` int(11) NOT NULL DEFAULT '1',
`cliente_fecha_alta` datetime NOT NULL,
`usuario_id` int(11) NOT NULL,
`cliente_dias_credito` int(11) DEFAULT NULL,
`cliente_limite_credito` float DEFAULT NULL,
`cliente_telefono` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_celular` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_numero_cliente` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`cliente_observaciones` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_cliente`
--
INSERT INTO `t_cliente` (`cliente_id`, `cliente_razon`, `cliente_rfc`, `cliente_direccion`, `cliente_num_externo`, `cliente_num_interno`, `cliente_cp`, `cliente_colonia`, `cliente_ciudad`, `cliente_estado`, `cliente_nombre_comercial`, `cliente_correo`, `cliente_status_id`, `cliente_fecha_alta`, `usuario_id`, `cliente_dias_credito`, `cliente_limite_credito`, `cliente_telefono`, `cliente_celular`, `cliente_numero_cliente`, `cliente_observaciones`) VALUES
(1, '<NAME>', 'SBB961118TIA', 'MONTES URDIALES', 620, 'PISO 2', '11000', 'LOMAS DE CHAPULTEPEC', '<NAME>', 'DISTRITO FEDERAL', NULL, NULL, 2, '2016-11-30 11:38:13', 1, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'CLIENTE PRUEBA 1XY', 'XAXAXAXAXAXA', 'DIRECCION DE PRUEBA', 0, '', '0123456', 'COLONIA DE PRUEBA', 'MONTERREY', 'NUEVO LEON', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(3, 'dewiohdewiodoewdew', 'dewiodjewiodjewiodje', 'ewdioewjdewiodjewiodjiewodw', 0, '', 'ediewjdkjjkk', 'ljkljmkljkljkljkl', 'lkjkljkljkljkljklj', 'lkjkljkljkljkljklj', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(4, 'cliente prueba 45', 'dewdewdewdewewf', 'dewdewdewfewf', 0, '', 'dewdewdewdwe', 'ewdewdewdeewf', 'dewdewdewewfew', 'dewdewdewdefwwf', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(5, 'cliente prueba 23', 'dewdewdewdewdew', 'dewddewdewdewdewd', 0, '', 'ewdewdewdewd', 'dewdwedwedwedewd', 'ewdewdewdewdewdew', 'dewdewdewdewdew', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(6, 'dqwqwdqdq', 'wdqwddqwdqw', 'qwdqwdqdqwdq', 0, '', 'wdqwdqwd', 'qwdqwdqw', 'dqwqwdqwd', 'dqwdqwdqw', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(7, 'fhty', 'CCCCCCCCCCC', 'DIRECCION DIRECCCION', 0, '', '93939393', '<NAME>', 'MONTERREY', '<NAME>', 'EL NOMBRE COMERCIAL DEL CLIENTE', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(8, 'XXXXXXXXXXX', 'XXXXXXXXXX', 'XXXXXXXXXXX', 0, '', 'XXXXXXXXX', 'XXXXXXXXX', 'XXXXXXXXXX', 'XXXXXXXXXXXX', '', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(9, '5 t5freferferfedddddsqws', 'tyjtyj tyj', 'thr hthrthtrhrthtrh', 0, '', 'rhDERFER', 'rh rthrth', 'trh rthtrh', 'rt gtrghrtgtrgr', 'f erferfer f', '', 1, '0000-00-00 00:00:00', 0, 0, 0, '', '', '', ''),
(10, 'LA RAZON SOCIAL DEL CLIENTE', 'SURFCDELCLIENTE', 'LA DIRECCION DEL CLIENTE', 0, '', 'CPCPCPCPCPC', 'COLONIA DEL CLIENTE', 'CIUDAD DEL CLIENTE', 'ESTADO DEL CLIENTE', '', '', 1, '0000-00-00 00:00:00', 1, 0, 0, '', '', '', ''),
(11, 'LA RAZON SOCIAL DEL CLIENTEd', 'dewfewfewewfww', 'fewfewewfewfewf', 0, '', 'ewfewfewfewe', 'fewfewfewfewew', 'wefewfewefewfew', 'ewfewfewfewfew', '', '', 1, '0000-00-00 00:00:00', 1, 0, 0, '', '', '', ''),
(12, 'fewfewffeewfewfewf', 'ewfewfewfewfew', 'fewfewfewfewfewf', 0, '', 'ewfewfewfewf', 'fewfewfewfewfeww', 'fewfewfewfewfew', 'fewfewfewfewf', '', '', 1, '0000-00-00 00:00:00', 1, 0, 0, '', '', '', ''),
(13, 'g 4rgergergergerger', 'r34t534rt345f', 'evrfer gergr', 0, '', 'reg erg erg', 'ferg ergergerg', 'fsgf ergergerg', 'g ergergergeg', '', '', 1, '0000-00-00 00:00:00', 1, 0, 0, '', '', '', '');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_cliente_status`
--
CREATE TABLE `t_cliente_status` (
`cliente_status_id` int(11) NOT NULL,
`cliente_status_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_cliente_status`
--
INSERT INTO `t_cliente_status` (`cliente_status_id`, `cliente_status_nombre`) VALUES
(1, 'ACTIVO'),
(2, 'SUSPENDIDO'),
(3, 'INACTIVO');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_empresa`
--
CREATE TABLE `t_empresa` (
`empresa_id` int(11) NOT NULL,
`empresa_razon` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`empresa_rfc` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`empresa_direccion` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`empresa_num_externo` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
`empresa_num_interno` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`empresa_colonia` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`empresa_cp` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
`empresa_ciudad` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`empresa_estado` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`empresa_nombre_comercial` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`usuario_id` int(11) NOT NULL,
`empresa_fecha_alta` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_empresa`
--
INSERT INTO `t_empresa` (`empresa_id`, `empresa_razon`, `empresa_rfc`, `empresa_direccion`, `empresa_num_externo`, `empresa_num_interno`, `empresa_colonia`, `empresa_cp`, `empresa_ciudad`, `empresa_estado`, `empresa_nombre_comercial`, `usuario_id`, `empresa_fecha_alta`) VALUES
(1, 'EMPRESA 1', 'XXXXXXXXXXXX', 'DEW DEWDEWDEWDEW', 'E DEWDEW', '', 'ED EWDEWDEWDEW', 'D EWDEW', 'DEW DEWDEW', 'WEDEWDEWD', 'EMP1', 1, NULL),
(2, 'EMPRESA 2', 'XAXAXAAXXAXA', 'DIRECCION DE EMPRESA 2', '100', '', 'COLONIA DE EM', '00000', 'CIUDAD 2', 'ESTADO 2', 'EMP2', 1, '2016-12-05 17:21:25');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_existencia`
--
CREATE TABLE `t_existencia` (
`existencia_id` int(11) NOT NULL,
`producto_id` int(11) NOT NULL,
`almacen_id` int(11) NOT NULL,
`existencia_cantidad` int(11) NOT NULL DEFAULT '0',
`existencia_maximo` int(11) NOT NULL DEFAULT '0',
`existencia_minimo` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_existencia`
--
INSERT INTO `t_existencia` (`existencia_id`, `producto_id`, `almacen_id`, `existencia_cantidad`, `existencia_maximo`, `existencia_minimo`) VALUES
(1, 1, 1, 5, 0, 0),
(2, 2, 1, 5, 0, 0),
(3, 3, 1, 5, 0, 0),
(4, 4, 1, 5, 0, 0),
(5, 1, 2, 5, 0, 0),
(6, 2, 2, 5, 0, 0),
(7, 3, 2, 5, 0, 0),
(8, 4, 2, 5, 0, 0),
(12, 5, 1, 5, 0, 0),
(13, 5, 2, 5, 0, 0),
(15, 6, 1, 5, 0, 0),
(16, 6, 2, 5, 0, 0),
(17, 1, 3, 5, 0, 0),
(18, 5, 3, 5, 0, 0),
(19, 6, 3, 5, 0, 0),
(20, 2, 3, 5, 0, 0),
(21, 3, 3, 5, 0, 0),
(22, 4, 3, 5, 0, 0),
(23, 1, 4, 5, 0, 0),
(24, 5, 4, 5, 0, 0),
(25, 6, 4, 5, 0, 0),
(26, 2, 4, 5, 0, 0),
(27, 3, 4, 5, 0, 0),
(28, 4, 4, 5, 0, 0);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_partidavt`
--
CREATE TABLE `t_partidavt` (
`partidavt_id` int(11) NOT NULL,
`producto_id` int(11) NOT NULL,
`partidavt_precio` float NOT NULL,
`partidavt_descuento` int(11) NOT NULL DEFAULT '0',
`partidavt_cantidad` int(11) NOT NULL DEFAULT '1',
`partidavt_iva` int(11) NOT NULL,
`partidavt_pref` float NOT NULL,
`usuario_id` int(11) NOT NULL,
`partidavt_fecha` datetime DEFAULT NULL,
`partidavt_comentario` text COLLATE utf8_unicode_ci,
`venta_id` int(11) NOT NULL,
`partidavt_descripcion` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_partidavt`
--
INSERT INTO `t_partidavt` (`partidavt_id`, `producto_id`, `partidavt_precio`, `partidavt_descuento`, `partidavt_cantidad`, `partidavt_iva`, `partidavt_pref`, `usuario_id`, `partidavt_fecha`, `partidavt_comentario`, `venta_id`, `partidavt_descripcion`) VALUES
(74, 2, 690, 0, 1, 0, 690, 1, '2016-12-20 15:54:39', NULL, 1, NULL),
(76, 6, 80, 0, 1, 0, 80, 1, '2016-12-20 15:54:43', NULL, 1, NULL),
(77, 5, 300, 0, 1, 0, 300, 1, '2016-12-20 15:54:44', NULL, 1, NULL),
(79, 4, 250, 0, 1, 16, 100, 1, '2016-12-20 15:54:59', NULL, 1, NULL),
(84, 2, 690, 0, 1, 0, 690, 1, '2016-12-22 12:08:32', NULL, 2, 'SEGUNDO PRODUCTO'),
(85, 5, 300, 0, 1, 0, 300, 1, '2016-12-22 12:08:32', NULL, 2, 'OTRO PRODUCTO'),
(86, 4, 100, 0, 1, 16, 100, 1, '2016-12-22 12:20:25', NULL, 2, 'SEGUNDO SERVICIO'),
(91, 5, 300, 0, 1, 0, 300, 1, '2016-12-22 12:23:01', NULL, 2, 'OTRO PRODUCTO'),
(93, 3, 100, 0, 1, 0, 100, 1, '2016-12-27 12:30:02', '', 5, 'PRIMER SERVICIO'),
(94, 4, 100, 0, 1, 16, 100, 1, '2016-12-27 12:30:02', 'servicio', 5, '<NAME>'),
(98, 2, 690, 0, 1, 0, 690, 1, '2016-12-27 16:22:51', NULL, 5, 'SEGUNDO PRODUCTO'),
(99, 3, 100, 0, 1, 0, 100, 1, '2016-12-28 17:44:02', 'Y LE PUSE UNOS COMENTARIOS', 4, 'A ESTE LE MODIFIQUE LA DESCRIPCION'),
(100, 2, 690, 0, 1, 0, 690, 1, '2017-01-02 13:47:30', NULL, 6, 'SEGUNDO PRODUCTO'),
(101, 6, 80, 0, 1, 0, 80, 1, '2017-01-02 13:47:31', NULL, 6, 'PRODUCTO PRODUCTO'),
(102, 5, 300, 0, 1, 0, 300, 1, '2017-01-02 13:47:31', NULL, 6, 'OTRO PRODUCTO'),
(103, 1, 70, 0, 1, 0, 70, 1, '2017-01-03 11:07:05', NULL, 7, 'PRIMER PRODUCTO'),
(104, 2, 690, 0, 1, 0, 690, 1, '2017-01-03 11:07:05', NULL, 7, 'SEGUNDO PRODUCTO'),
(105, 5, 300, 0, 1, 0, 300, 1, '2017-01-03 11:07:05', NULL, 7, 'OTRO PRODUCTO'),
(106, 6, 80, 0, 1, 0, 80, 1, '2017-01-03 11:07:06', NULL, 7, 'PRODUCTO PRODUCTO'),
(107, 2, 690, 0, 4, 0, 690, 1, '2017-01-06 11:15:44', NULL, 9, 'SEGUNDO PRODUCTO'),
(108, 6, 80, 0, 1, 0, 80, 1, '2017-01-06 11:15:46', NULL, 9, 'PRODUCTO PRODUCTO');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_partidavt_surtido`
--
CREATE TABLE `t_partidavt_surtido` (
`partidavt_surtido_id` int(11) NOT NULL,
`partidavt_surtido_cantidad` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL,
`partidavt_surtido_fecha` datetime DEFAULT NULL,
`partidavt_id` int(11) NOT NULL,
`remision_id` int(11) NOT NULL,
`almacen_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_pedido`
--
CREATE TABLE `t_pedido` (
`pedido_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL,
`pedido_fecha` datetime DEFAULT NULL,
`pedido_status_id` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_pedido`
--
INSERT INTO `t_pedido` (`pedido_id`, `usuario_id`, `pedido_fecha`, `pedido_status_id`) VALUES
(1, 1, '2016-12-21 12:15:12', 1),
(2, 1, '2016-12-21 16:26:21', 1),
(3, 1, '2016-12-27 10:40:15', 2),
(4, 1, '2016-12-27 16:58:31', 2),
(5, 1, '2016-12-28 17:45:19', 2),
(6, 1, '2017-01-02 13:47:41', 2),
(7, 1, '2017-01-03 11:07:12', 2);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_pedido_status`
--
CREATE TABLE `t_pedido_status` (
`pedido_status_id` int(11) NOT NULL,
`pedido_status_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`pedido_status_color` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_pedido_status`
--
INSERT INTO `t_pedido_status` (`pedido_status_id`, `pedido_status_nombre`, `pedido_status_color`) VALUES
(1, 'PENDIENTE', 'silver'),
(2, 'SURTIENDO', 'success'),
(3, 'CANCELADO', 'danger');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_permiso`
--
CREATE TABLE `t_permiso` (
`permiso_id` int(11) NOT NULL,
`permiso_descripcion` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`permiso_valor` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`permiso_modulo` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_permiso`
--
INSERT INTO `t_permiso` (`permiso_id`, `permiso_descripcion`, `permiso_valor`, `permiso_modulo`) VALUES
(2, 'Acceso Modulo Clientes', '1100', 'CLIENTES'),
(4, 'Acceso Modulo Productos', '2100', 'PRODUCTOS'),
(6, 'Acceso Modulo Almacen', '3100', 'ALMACEN'),
(8, 'Acceso Control de Usuarios', '4100', 'CONFIGURACION'),
(9, 'Acceso Perfiles de Usuario', '4200', 'CONFIGURACION'),
(10, 'Acceso Control de Departamentos', '4300', 'CONFIGURACION'),
(11, 'Acceso Control Empresa', '4400', 'CONFIGURACION'),
(12, 'Acceso Control Sucursal', '4500', 'CONFIGURACION'),
(13, 'Acceso Control Almacen', '4600', 'CONFIGURACION'),
(14, 'Acceso Modulo Proveedores', '5100', 'PROVEEDORES'),
(15, 'Acceso Modulo Ventas', '6100', 'VENTAS');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_producto`
--
CREATE TABLE `t_producto` (
`producto_id` int(11) NOT NULL,
`producto_codigob` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
`producto_fecha_alta` datetime DEFAULT NULL,
`usuario_id` int(11) NOT NULL,
`producto_descripcion` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`producto_ppublico` float NOT NULL,
`producto_pfarm` float NOT NULL,
`producto_pref` float NOT NULL,
`producto_ultimo_costo` float DEFAULT NULL,
`producto_costo_prom` float DEFAULT NULL,
`producto_iva` int(11) NOT NULL DEFAULT '0',
`producto_limitado` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`producto_sustancia` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`producto_ieps` int(11) NOT NULL DEFAULT '0',
`producto_controlado` int(11) NOT NULL DEFAULT '0',
`producto_status_id` int(11) NOT NULL DEFAULT '1',
`producto_tipo_id` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_producto`
--
INSERT INTO `t_producto` (`producto_id`, `producto_codigob`, `producto_fecha_alta`, `usuario_id`, `producto_descripcion`, `producto_ppublico`, `producto_pfarm`, `producto_pref`, `producto_ultimo_costo`, `producto_costo_prom`, `producto_iva`, `producto_limitado`, `producto_sustancia`, `producto_ieps`, `producto_controlado`, `producto_status_id`, `producto_tipo_id`) VALUES
(1, '1234567890', '2016-12-06 16:48:39', 1, 'PRIMER PRODUCTO', 90, 80, 70, NULL, NULL, 0, '', '', 0, 0, 1, 1),
(2, '987654321', '2016-12-06 16:49:23', 1, 'SEGUNDO PRODUCTO', 900, 780, 690, NULL, NULL, 0, '', '', 0, 0, 1, 1),
(3, 'SERVICIO1', '2016-12-06 17:13:05', 1, 'PRIMER SERVICIO', 100, 100, 100, NULL, NULL, 0, '', '', 0, 0, 1, 2),
(4, 'SERVICIO2', '2016-12-06 17:18:25', 1, 'SEGUNDO SERVICIO', 100, 100, 100, NULL, NULL, 16, '', '', 0, 0, 1, 2),
(5, '828282828282', '2016-12-06 18:20:57', 1, 'OTRO PRODUCTO', 900, 500, 300, NULL, NULL, 0, '', '', 0, 0, 1, 1),
(6, '8283938747', '2016-12-06 18:22:05', 1, 'PRODUCTO PRODUCTO', 100, 90, 80, NULL, NULL, 0, '', '', 0, 0, 1, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_producto_status`
--
CREATE TABLE `t_producto_status` (
`producto_status_id` int(11) NOT NULL,
`producto_status_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_producto_status`
--
INSERT INTO `t_producto_status` (`producto_status_id`, `producto_status_nombre`) VALUES
(1, 'ACTIVO'),
(2, 'INACTIVO');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_producto_tipo`
--
CREATE TABLE `t_producto_tipo` (
`producto_tipo_id` int(11) NOT NULL,
`producto_tipo_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_producto_tipo`
--
INSERT INTO `t_producto_tipo` (`producto_tipo_id`, `producto_tipo_nombre`) VALUES
(1, 'PRODUCTO'),
(2, 'SERVICIO');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_proveedor`
--
CREATE TABLE `t_proveedor` (
`proveedor_id` int(11) NOT NULL,
`proveedor_razon` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`proveedor_rfc` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`proveedor_direccion` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
`proveedor_telefono` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`proveedor_dias_credito` int(11) DEFAULT NULL,
`proveedor_limite_credito` float DEFAULT NULL,
`usuario_id` int(11) NOT NULL,
`proveedor_fecha_alta` datetime DEFAULT NULL,
`proveedor_nombre_comercial` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL,
`proveedor_correo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_proveedor`
--
INSERT INTO `t_proveedor` (`proveedor_id`, `proveedor_razon`, `proveedor_rfc`, `proveedor_direccion`, `proveedor_telefono`, `proveedor_dias_credito`, `proveedor_limite_credito`, `usuario_id`, `proveedor_fecha_alta`, `proveedor_nombre_comercial`, `proveedor_correo`) VALUES
(1, 'PROVEEDOR 1', '<PASSWORD>', '', '', 0, 0, 1, '2016-12-12 12:07:13', '', ''),
(2, 'PROVEEDOR 3', '', '', '', 0, 0, 1, '2016-12-12 12:07:59', '', '');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_remision`
--
CREATE TABLE `t_remision` (
`remision_id` int(11) NOT NULL,
`remision_fecha` datetime DEFAULT NULL,
`usuario_id` int(11) NOT NULL,
`pedido_id` int(11) NOT NULL,
`remision_status_id` int(11) NOT NULL DEFAULT '1',
`almacen_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_remision`
--
INSERT INTO `t_remision` (`remision_id`, `remision_fecha`, `usuario_id`, `pedido_id`, `remision_status_id`, `almacen_id`) VALUES
(1, '2016-12-28 16:49:32', 1, 4, 1, NULL),
(11, '2016-12-28 16:58:38', 1, 3, 1, NULL),
(12, '2016-12-29 16:21:17', 1, 5, 2, NULL),
(13, '2016-12-29 16:22:50', 1, 5, 1, NULL),
(14, '2017-01-03 10:51:51', 1, 6, 1, 4),
(15, '2017-01-06 10:54:32', 1, 7, 1, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_remision_status`
--
CREATE TABLE `t_remision_status` (
`remision_status_id` int(11) NOT NULL,
`remision_status_nombre` varchar(150) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_remision_status`
--
INSERT INTO `t_remision_status` (`remision_status_id`, `remision_status_nombre`) VALUES
(1, 'ABIERTA'),
(2, 'CERRADA'),
(3, 'CANCELADA');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_sucursal`
--
CREATE TABLE `t_sucursal` (
`sucursal_id` int(11) NOT NULL,
`sucursal_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`empresa_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL,
`sucursal_fecha_alta` datetime DEFAULT NULL,
`sucursal_direccion` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_num_externo` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_num_interno` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_colonia` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_cp` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_ciudad` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
`sucursal_estado` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_sucursal`
--
INSERT INTO `t_sucursal` (`sucursal_id`, `sucursal_nombre`, `empresa_id`, `usuario_id`, `sucursal_fecha_alta`, `sucursal_direccion`, `sucursal_num_externo`, `sucursal_num_interno`, `sucursal_colonia`, `sucursal_cp`, `sucursal_ciudad`, `sucursal_estado`) VALUES
(1, 'PRINCIPAL', 1, 1, '2016-12-06 10:28:37', '', '', '', '', '', '', ''),
(2, 'MATRIZ 10', 2, 1, '2016-12-06 10:33:53', 'DIRECCION DE LA SUCURSAL', '', '', '', '', '', ''),
(3, 'SUCURSAL 3', 2, 1, '2016-12-14 11:54:47', '', '', '', '', '', '', '');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_usuario`
--
CREATE TABLE `t_usuario` (
`usuario_id` int(11) NOT NULL,
`usuario_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`usuario_apellido` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`usuario_telefono` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`usuario_user` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`usuario_pwd` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`usuario_fecha_alta` datetime DEFAULT NULL,
`usuario_registro` int(11) NOT NULL,
`usuario_perfil_id` int(11) NOT NULL DEFAULT '1',
`usuario_departamento_id` int(11) NOT NULL DEFAULT '1',
`usuario_correo` varchar(200) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_usuario`
--
INSERT INTO `t_usuario` (`usuario_id`, `usuario_nombre`, `usuario_apellido`, `usuario_telefono`, `usuario_user`, `usuario_pwd`, `usuario_fecha_alta`, `usuario_registro`, `usuario_perfil_id`, `usuario_departamento_id`, `usuario_correo`) VALUES
(1, 'Jorge', 'Gomez', '', 'administrador', '<PASSWORD>', '2016-12-07 11:20:38', 1, 1, 1, '<EMAIL>'),
(2, 'George', 'Gmess', '', 'georgegmes', '67660694cfdb99750aa233b55e242edd', '2016-12-07 11:39:07', 1, 6, 1, '<EMAIL>');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_usuario_departamento`
--
CREATE TABLE `t_usuario_departamento` (
`usuario_departamento_id` int(11) NOT NULL,
`usuario_departamento_nombre` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
`usuario_departamento_fecha_alta` datetime DEFAULT NULL,
`usuario_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_usuario_departamento`
--
INSERT INTO `t_usuario_departamento` (`usuario_departamento_id`, `usuario_departamento_nombre`, `usuario_departamento_fecha_alta`, `usuario_id`) VALUES
(1, 'SISTEMAS', '2016-12-07 10:32:30', 1),
(2, 'VENTAS', '2016-12-07 10:49:10', 1),
(3, 'COMPRAS', '2016-12-07 10:49:25', 1),
(8, 'ALMACEN', '2016-12-13 10:48:58', 1),
(9, 'CONTABILIDAD', '2016-12-13 10:49:33', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_usuario_perfil`
--
CREATE TABLE `t_usuario_perfil` (
`usuario_perfil_id` int(11) NOT NULL,
`usuario_perfil_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`usuario_perfil_permisos` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`usuario_id` int(11) NOT NULL,
`usuario_perfil_fecha_alta` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_usuario_perfil`
--
INSERT INTO `t_usuario_perfil` (`usuario_perfil_id`, `usuario_perfil_nombre`, `usuario_perfil_permisos`, `usuario_id`, `usuario_perfil_fecha_alta`) VALUES
(1, 'ADMINISTRADOR', '||1100||2100||3100||4100||4200||4300||4400||4500||4600||5100||6100', 1, '2016-12-07 10:27:15'),
(2, 'VENTAS', NULL, 1, '2016-12-07 10:50:13'),
(3, 'SUPER-USUARIO', NULL, 1, '2016-12-08 14:20:08'),
(6, 'COMPRAS', '||2100', 1, '2016-12-08 17:37:49'),
(7, 'perfil 3', '||1100||2100||3100', 1, '2016-12-21 15:54:40');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_venta`
--
CREATE TABLE `t_venta` (
`venta_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL,
`venta_fecha` datetime DEFAULT NULL,
`sucursal_id` int(11) DEFAULT NULL,
`venta_status_id` int(11) NOT NULL DEFAULT '1',
`pedido_id` int(11) DEFAULT NULL,
`cliente_id` int(11) DEFAULT NULL,
`venta_subtotal` float DEFAULT NULL,
`venta_iva` float DEFAULT NULL,
`venta_total` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_venta`
--
INSERT INTO `t_venta` (`venta_id`, `usuario_id`, `venta_fecha`, `sucursal_id`, `venta_status_id`, `pedido_id`, `cliente_id`, `venta_subtotal`, `venta_iva`, `venta_total`) VALUES
(1, 1, '2016-12-13 08:23:42', NULL, 5, 2, 2, 1320, 40, 1360),
(2, 1, '2016-12-21 17:42:50', 2, 3, NULL, 10, 1390, 16, 1406),
(3, 1, '2016-12-21 17:52:45', 1, 5, 3, 11, NULL, NULL, NULL),
(4, 1, '2016-12-27 10:39:50', 3, 4, 5, 1, 100, 0, 100),
(5, 1, '2016-12-27 11:29:01', 1, 4, 4, 10, 890, 16, 906),
(6, 1, '2017-01-02 13:47:12', 2, 4, 6, 5, 1070, 0, 1070),
(7, 1, '2017-01-03 11:06:48', 2, 4, 7, 2, 1140, 0, 1140),
(8, 1, '2017-01-06 11:11:48', NULL, 1, NULL, NULL, NULL, NULL, NULL),
(9, 1, '2017-01-06 11:13:34', 2, 2, NULL, 4, 2840, 0, 2840);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `t_venta_status`
--
CREATE TABLE `t_venta_status` (
`venta_status_id` int(11) NOT NULL,
`venta_status_nombre` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`venta_status_ncorto` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`venta_status_color` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Volcado de datos para la tabla `t_venta_status`
--
INSERT INTO `t_venta_status` (`venta_status_id`, `venta_status_nombre`, `venta_status_ncorto`, `venta_status_color`) VALUES
(1, 'COTIZACION', 'COTIZACION', 'default'),
(2, 'COTIZACION CERRADA', 'CERRADA', 'success'),
(3, 'COTIZACION CANCELADA', 'CANCELADA', 'danger'),
(4, 'PEDIDO', 'PEDIDO', 'primary'),
(5, 'PEDIDO CANCELADO', 'PED. CANCEL', 'warning');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `t_almacen`
--
ALTER TABLE `t_almacen`
ADD PRIMARY KEY (`almacen_id`);
--
-- Indices de la tabla `t_cliente`
--
ALTER TABLE `t_cliente`
ADD PRIMARY KEY (`cliente_id`);
--
-- Indices de la tabla `t_cliente_status`
--
ALTER TABLE `t_cliente_status`
ADD PRIMARY KEY (`cliente_status_id`);
--
-- Indices de la tabla `t_empresa`
--
ALTER TABLE `t_empresa`
ADD PRIMARY KEY (`empresa_id`);
--
-- Indices de la tabla `t_existencia`
--
ALTER TABLE `t_existencia`
ADD PRIMARY KEY (`existencia_id`);
--
-- Indices de la tabla `t_partidavt`
--
ALTER TABLE `t_partidavt`
ADD PRIMARY KEY (`partidavt_id`);
--
-- Indices de la tabla `t_partidavt_surtido`
--
ALTER TABLE `t_partidavt_surtido`
ADD PRIMARY KEY (`partidavt_surtido_id`);
--
-- Indices de la tabla `t_pedido`
--
ALTER TABLE `t_pedido`
ADD PRIMARY KEY (`pedido_id`);
--
-- Indices de la tabla `t_pedido_status`
--
ALTER TABLE `t_pedido_status`
ADD PRIMARY KEY (`pedido_status_id`);
--
-- Indices de la tabla `t_permiso`
--
ALTER TABLE `t_permiso`
ADD PRIMARY KEY (`permiso_id`);
--
-- Indices de la tabla `t_producto`
--
ALTER TABLE `t_producto`
ADD PRIMARY KEY (`producto_id`),
ADD UNIQUE KEY `producto_codigob` (`producto_codigob`);
--
-- Indices de la tabla `t_producto_status`
--
ALTER TABLE `t_producto_status`
ADD PRIMARY KEY (`producto_status_id`);
--
-- Indices de la tabla `t_producto_tipo`
--
ALTER TABLE `t_producto_tipo`
ADD PRIMARY KEY (`producto_tipo_id`);
--
-- Indices de la tabla `t_proveedor`
--
ALTER TABLE `t_proveedor`
ADD PRIMARY KEY (`proveedor_id`);
--
-- Indices de la tabla `t_remision`
--
ALTER TABLE `t_remision`
ADD PRIMARY KEY (`remision_id`);
--
-- Indices de la tabla `t_remision_status`
--
ALTER TABLE `t_remision_status`
ADD PRIMARY KEY (`remision_status_id`);
--
-- Indices de la tabla `t_sucursal`
--
ALTER TABLE `t_sucursal`
ADD PRIMARY KEY (`sucursal_id`);
--
-- Indices de la tabla `t_usuario`
--
ALTER TABLE `t_usuario`
ADD PRIMARY KEY (`usuario_id`);
--
-- Indices de la tabla `t_usuario_departamento`
--
ALTER TABLE `t_usuario_departamento`
ADD PRIMARY KEY (`usuario_departamento_id`);
--
-- Indices de la tabla `t_usuario_perfil`
--
ALTER TABLE `t_usuario_perfil`
ADD PRIMARY KEY (`usuario_perfil_id`);
--
-- Indices de la tabla `t_venta`
--
ALTER TABLE `t_venta`
ADD PRIMARY KEY (`venta_id`);
--
-- Indices de la tabla `t_venta_status`
--
ALTER TABLE `t_venta_status`
ADD PRIMARY KEY (`venta_status_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `t_almacen`
--
ALTER TABLE `t_almacen`
MODIFY `almacen_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `t_cliente`
--
ALTER TABLE `t_cliente`
MODIFY `cliente_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT de la tabla `t_cliente_status`
--
ALTER TABLE `t_cliente_status`
MODIFY `cliente_status_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `t_empresa`
--
ALTER TABLE `t_empresa`
MODIFY `empresa_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `t_existencia`
--
ALTER TABLE `t_existencia`
MODIFY `existencia_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
--
-- AUTO_INCREMENT de la tabla `t_partidavt`
--
ALTER TABLE `t_partidavt`
MODIFY `partidavt_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=109;
--
-- AUTO_INCREMENT de la tabla `t_partidavt_surtido`
--
ALTER TABLE `t_partidavt_surtido`
MODIFY `partidavt_surtido_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `t_pedido`
--
ALTER TABLE `t_pedido`
MODIFY `pedido_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `t_pedido_status`
--
ALTER TABLE `t_pedido_status`
MODIFY `pedido_status_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `t_permiso`
--
ALTER TABLE `t_permiso`
MODIFY `permiso_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT de la tabla `t_producto`
--
ALTER TABLE `t_producto`
MODIFY `producto_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT de la tabla `t_producto_status`
--
ALTER TABLE `t_producto_status`
MODIFY `producto_status_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `t_producto_tipo`
--
ALTER TABLE `t_producto_tipo`
MODIFY `producto_tipo_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `t_proveedor`
--
ALTER TABLE `t_proveedor`
MODIFY `proveedor_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `t_remision`
--
ALTER TABLE `t_remision`
MODIFY `remision_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT de la tabla `t_remision_status`
--
ALTER TABLE `t_remision_status`
MODIFY `remision_status_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `t_sucursal`
--
ALTER TABLE `t_sucursal`
MODIFY `sucursal_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `t_usuario`
--
ALTER TABLE `t_usuario`
MODIFY `usuario_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `t_usuario_departamento`
--
ALTER TABLE `t_usuario_departamento`
MODIFY `usuario_departamento_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT de la tabla `t_usuario_perfil`
--
ALTER TABLE `t_usuario_perfil`
MODIFY `usuario_perfil_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `t_venta`
--
ALTER TABLE `t_venta`
MODIFY `venta_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT de la tabla `t_venta_status`
--
ALTER TABLE `t_venta_status`
MODIFY `venta_status_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
/*!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 */;
|
DROP DATABASE IF EXISTS loanmeahome;
CREATE DATABASE loanmeahome; |
<reponame>quocchienit/wambi-project
DELETE FROM `function_list` ;
-- ----------------------------
-- Records of function_list
-- ----------------------------
INSERT INTO `function_list` VALUES ('0', '1', 'funtion out-patient');
|
<filename>database-deploy-logging.sql
CREATE SCHEMA IF NOT EXISTS dbdeploy;
/* Simple lookup table */
CREATE TABLE IF NOT EXISTS dbdeploy.activitytype(
activitytypeid smallint primary key,
activitytype varchar(32)
);
WITH activity_types as (
select 1 as activitytypeid, 'START' as activitytype
union all select 2, 'SUCCESS'
union all select 3, 'FAILURE'
)
INSERT INTO dbdeploy.activitytype(activitytypeid, activitytype)
SELECT activitytypeid, activitytype
FROM activity_types as t
WHERE NOT EXISTS (select activitytypeid from dbdeploy.activitytype as d WHERE t.activitytypeid = d.activitytypeid)
;
/* For deployments that are not repeatable keep track of success and failure here */
CREATE TABLE IF NOT EXISTS dbdeploy.activity(
activityid serial primary key,
activitytimestamp timestamptz default now(),
filename varchar(256),
activitytypeid smallint,
CONSTRAINT FK_activitytypeid foreign key (activitytypeid) references dbdeploy.activitytype(activitytypeid)
);
/* For deployments that are not repeatable keep track of what has been successfully deployed here */
CREATE TABLE IF NOT EXISTS dbdeploy.deployed(
deployedid serial primary key,
filename varchar(256),
deployedtimestamp timestamptz default now()
); |
<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' */;
CREATE TABLE IF NOT EXISTS `mood` (
`id` INT(11) UNSIGNED NOT NULL auto_increment,
`name` char(64) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=188 DEFAULT CHARSET=latin1;
DELETE FROM `mood`;
/*!40000 ALTER TABLE `mood` DISABLE KEYS */;
INSERT INTO `mood` (`id`,`name`) VALUES
(0,'none'),
(1,'absentminded'),
(2,'amazed'),
(3,'amused'),
(4,'angry'),
(5,'approving'),
(6,'bitter'),
(7,'bloodthirsty'),
(8,'brave'),
(9,'callous'),
(10,'careful'),
(11,'careless'),
(12,'casual'),
(13,'clinical'),
(14,'cocky'),
(15,'cold'),
(16,'compassionate'),
(17,'condescending'),
(18,'confident'),
(19,'confused'),
(20,'content'),
(21,'courtly'),
(22,'coy'),
(23,'crude'),
(24,'cruel'),
(25,'curious'),
(26,'cynical'),
(27,'defensive'),
(28,'depressed'),
(29,'devious'),
(30,'dimwitted'),
(31,'disappointes'),
(32,'discreet'),
(33,'disgruntled'),
(34,'disgusted'),
(35,'dismayed'),
(36,'disoriented'),
(37,'distracted'),
(38,'doubtful'),
(39,'dramatic'),
(40,'dreamy'),
(41,'drunk'),
(42,'earnest'),
(43,'ecstatic'),
(44,'embarrassed'),
(45,'emphatic'),
(46,'encouraging'),
(47,'enthusiastic'),
(48,'evil'),
(49,'exasperated'),
(50,'exuberant'),
(51,'fanatical'),
(52,'forgive'),
(53,'frustrated'),
(54,'guilty'),
(55,'happy'),
(56,'honest'),
(57,'hopeful'),
(58,'hopeless'),
(59,'humble'),
(60,'hysterical'),
(61,'imploring'),
(62,'indifferent'),
(63,'indignant'),
(64,'interested'),
(65,'jealous'),
(66,'joyful'),
(67,'lofty'),
(68,'loud'),
(69,'loving'),
(70,'lustful'),
(71,'mean'),
(72,'mischievous'),
(73,'nervous'),
(74,'neutral'),
(75,'offended'),
(76,'optimistic'),
(77,'pedantic'),
(78,'pessimistic'),
(79,'petulant'),
(80,'philosophical'),
(81,'pitying'),
(82,'playful'),
(83,'polite'),
(84,'pompous'),
(85,'proud'),
(86,'provocative'),
(87,'puzzled'),
(88,'regretful'),
(89,'relieved'),
(90,'reluctant'),
(91,'resigned'),
(92,'respectful'),
(93,'romantic'),
(94,'rude'),
(95,'sad'),
(96,'sarcastic'),
(97,'scared'),
(98,'scolding'),
(99,'scornful'),
(100,'serious'),
(101,'shameless'),
(102,'shocked'),
(103,'shy'),
(104,'sincere'),
(105,'sleepy'),
(106,'sly'),
(107,'smug'),
(108,'snobby'),
(109,'sorry'),
(110,'spiteful'),
(111,'stubborn'),
(112,'sullen'),
(113,'suspicious'),
(114,'taunting'),
(115,'terrified'),
(116,'thankful'),
(117,'thoughtful'),
(118,'tolerant'),
(119,'uncertain'),
(120,'unhappy'),
(121,'unwilling'),
(122,'warm'),
(123,'whiny'),
(124,'wicked'),
(125,'wistful'),
(126,'worried'),
(127,'tired'),
(128,'exhausted'),
(129,'friendly'),
(130,'timid'),
(131,'lazy'),
(132,'surprised'),
(133,'innocent'),
(134,'wise'),
(135,'youthful'),
(136,'adventurous'),
(137,'annoyed'),
(138,'perturbed'),
(139,'sedate'),
(140,'calm'),
(141,'suffering'),
(142,'hungry'),
(143,'thirsty'),
(144,'alert'),
(145,'shifty'),
(146,'relaxed'),
(147,'crotchety'),
(148,'surly'),
(149,'painful'),
(150,'wounded'),
(151,'bubbly'),
(152,'heroic'),
(153,'quiet'),
(154,'remorseful'),
(155,'grumpy'),
(156,'logical'),
(157,'emotional'),
(158,'troubled'),
(159,'panicked'),
(160,'nice'),
(161,'cheerful'),
(162,'emotionless'),
(163,'gloomy'),
(164,'ambivalent'),
(165,'envious'),
(166,'vengeful'),
(167,'fearful'),
(168,'enraged'),
(169,'sheepish'),
(170,'belligerent'),
(171,'obnoxious'),
(172,'fastidious'),
(173,'squeamish'),
(174,'dainty'),
(175,'dignified'),
(176,'haughty'),
(177,'obscure'),
(178,'goofy'),
(179,'silly'),
(180,'disdainful'),
(181,'contemptuous'),
(182,'diplomatic'),
(183,'wary'),
(184,'malevolent'),
(185,'hurried'),
(186,'patient'),
(187,'firm');
/*!40000 ALTER TABLE `mood` ENABLE KEYS */;
/*!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 */;
|
##################################################
# Create Database
##################################################
CREATE DATABASE if not exists miniblog;
GRANT all privileges on miniblog.*
to 'miniblog'@'localhost'
identified by 'secret';
##################################################
# Create Table
##################################################
USE miniblog;
CREATE TABLE post (
id int not null auto_increment primary key,
title varchar(255) not null,
body varchar(500) not null,
created timestamp not null
);
##################################################
# Sample Post
##################################################
insert into post (title, body, created) values ('1st Post',
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.', now());
insert into post (title, body, created) values ('2st Post',
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.', now());
insert into post (title, body, created) values ('3st Post',
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.', now());
insert into post (title, body, created) values ('4st Post',
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.', now());
|
<gh_stars>1-10
ALTER TABLE `dlayer`.`user_site_page_content_item_html`
ADD CONSTRAINT `user_site_page_content_item_html_fk1` FOREIGN KEY (`site_id`) REFERENCES `user_site` (`id`),
ADD CONSTRAINT `user_site_page_content_item_html_fk2` FOREIGN KEY (`page_id`) REFERENCES `user_site_page` (`id`),
ADD CONSTRAINT `user_site_page_content_item_html_fk3` FOREIGN KEY (`content_id`) REFERENCES `user_site_page_structure_content` (`id`),
ADD CONSTRAINT `user_site_page_content_item_html_fk4` FOREIGN KEY (`data_id`) REFERENCES `user_site_content_html` (`id`);
|
<reponame>Novitoll/devops-linux-mentoring-program<gh_stars>1-10
GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.56.101' IDENTIFIED BY 's3cr3t' WITH GRANT OPTION;
FLUSH PRIVILEGES; |
<filename>src/test/resources/sql/alter_operator/fbc73c7f.sql
-- file:alter_operator.sql ln:52 expect:true
ALTER OPERATOR === (boolean, boolean) SET (RESTRICT = NONE, JOIN = NONE)
|
USE employees_db
INSERT INTO department (name)
VALUES ('Sales'),
('Engineering'),
('Finance');
USE employees_db;
INSERT INTO role (title, salary, department_id)
VALUES ('Sales Lead', 100000, 1),
('Salesperson', 80000, 1),
('Lead engineer', 150000, 2),
('Software Engineer', 120000, 2);
USE employees_db;
INSERT INTO employee (first_name, last_name, role_id)
VALUES ('John', 'Doe', 1),
('Ashley', 'Rodriguez', 3);
USE employees_db;
INSERT INTO employee (first_name, last_name, role_id, manager_id)
VALUES ('Mike', 'Chan', 2, 1),
('Kevin', 'Tupik', 4, 2); |
<reponame>tewksbg/kvwmap-en<gh_stars>0
-- View zum Austausch der BRWs
BEGIN;
SET search_path = bodenrichtwerte, public;
SET default_with_oids = true;
CREATE OR REPLACE VIEW bw_boris_view AS
SELECT
bw.gutachterausschuss||'_'||LPAD(cast(bodenrichtwertnummer as char(13)), 7 , '0') as brwid,
k.kreisname as kreis_name,
k.kreis as kreis_schluessel,
ag.amt_name as gemeindeverband_name,
k.kreis||ag.amt_schluessel as gemeindeverband_schluessel,
k.kreis||ag.amt_schluessel||bw.gemeinde as gemeinde_schluessel,
NULL as gemeindeteil_schluessel,
bw.gemeinde AS gesl,
g.gemeindename AS gena,
bw.gutachterausschuss AS gasl,
NULL as gabe,
substring(cast(bw.gemarkung as text) from 3 for 4) as genu,
NULL as gema,
bw.ortsteilname AS ortst,
LPAD(cast(bw.bodenrichtwertnummer as char(13)), 7 , '0') as wnum,
CASE
WHEN bw.brwu IS NOT NULL THEN bw.brwu
WHEN bw.brwb IS NOT NULL THEN bw.brwb
ELSE bw.bodenrichtwert
END AS brw,
bw.stichtag AS stag,
'1' AS brke,
bw.bedarfswert as bedw,
bw.postleitzahl as plz,
bw.basiskarte as basbe,
'' AS basma,
'EPSG:25833' AS bezug,
bw.entwicklungszustand AS entw,
bw.beitragszustand AS beit,
bw.nutzungsart AS nuta,
bw.ergaenzende_nutzung AS ergnuta,
bw.bauweise AS bauw,
bw.geschosszahl AS gez,
bw.geschossflaechenzahl AS wgfz,
bw.grundflaechenzahl AS grz,
bw.baumassenzahl AS bmz,
bw.flaeche AS flae,
bw.tiefe AS gtie,
bw.breite AS gbrei,
bw.erschliessungsverhaeltnisse as erve,
bw.verfahrensgrund AS verg,
CASE
WHEN bw.brwu IS NOT NULL AND bw.verfahrensgrund::text = 'San'::text THEN 'SU'::character varying
WHEN bw.brwu IS NOT NULL AND bw.verfahrensgrund::text = 'Entw'::text THEN 'EU'::character varying
WHEN bw.brwb IS NOT NULL AND bw.verfahrensgrund::text = 'San'::text THEN 'SB'::character varying
WHEN bw.brwb IS NOT NULL AND bw.verfahrensgrund::text = 'Entw'::text THEN 'EB'::character varying
ELSE bw.verfahrensgrund_zusatz
END AS verf,
bw.bodenart AS bod,
bw.ackerzahl AS acza,
bw.gruenlandzahl AS grza,
bw.aufwuchs as aufw,
bw.wegeerschliessung as weer,
bw.bemerkungen as bem,
''as frei,
bw.oertliche_bezeichnung as brzname,
'0' AS umdart,
('http://pfad/zur/umrechungstabelle/tabelle'::text || bw.stichtag) || '.pdf' ::text AS lumnum,
bw.zonentyp AS typ,
(bw.stichtag + Interval '1 Days') as guelt_von,
(bw.stichtag + Interval '2 Year') as guelt_bis,
bw.the_geom as geometrie
FROM alb_v_kreise k, bodenrichtwerte.bw_zonen bw
LEFT JOIN alb_v_gemeinden g ON bw.gemeinde = g.gemeinde
LEFT JOIN aemter_gemeinden ag ON ag.gemeinde_schluessel::integer = bw.gemeinde;
COMMIT; |
<filename>api/src/test/resources/dev/sql/user.sql<gh_stars>0
-- MySQL dump 10.16 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: api_dev
-- ------------------------------------------------------
-- Server version 10.1.26-MariaDB-0+deb9u1
/*!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 `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户Id',
`email` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '邮箱',
`username` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '用户名',
`password` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '密码',
`avatar` varchar(1024) DEFAULT 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif' COMMENT '头像',
`resume` varchar(512) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '简介',
`register_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间',
`last_login_time` datetime DEFAULT NULL COMMENT '上一次登录时间',
PRIMARY KEY (`id`),
UNIQUE KEY `ix_user_username` (`username`),
UNIQUE KEY `ix_user_email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='用户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,'<EMAIL>','user','$2a$10$WbjpHk2CQTgKhmuyWUhfVuwI.s1cdECCTsfen8KHIyFbYDnZy2DUm','https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif','A normal user','2018-02-02 00:00:00','2018-02-02 00:00:00');
INSERT INTO `user` VALUES (2,'<EMAIL>','admin','$2a$10$ItmuMLR4wUb5jjkBzg/CwuQADK7d9qbU725e.KyT/lLJEZeykDL62','https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif','IT','2018-02-01 00:00:00','2018-02-01 00:00:00');
INSERT INTO `user` VALUES (3,'<EMAIL>','test','$2a$10$.0gBYBHAtdkxUUQNg3kII.fqGOngF4BLe8JavthZFalt2QIXHlrhm','https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif','To Test','2018-02-03 00:00:00','2018-02-03 00:00:00');
INSERT INTO `user` VALUES (4,'<EMAIL>','sponsor','$2a$10$wGcb2PPhZhkS5wshXbkSA.p4zoWQ3/VlZfQeTZdnEBi4dB3uEsCee','https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif','To Sponsor a contest','2018-02-04 00:00:00','2018-02-04 00:00:00');
/*!40000 ALTER TABLE `user` 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 2018-02-16 19:24:53
|
USE bc_server_db;
CREATE TABLE system_signal_float_info
(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
ctime TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
mtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
/* The name can't be changed */
/* sys_sig_name_lang_id INT unsigned not null, */
permission TINYINT UNSIGNED NOT NULL DEFAULT 6,
accuracy TINYINT UNSIGNED NOT NULL DEFAULT 1,
min_val FLOAT NOT NULL DEFAULT 0x7FFFFFFF,
max_val FLOAT NOT NULL DEFAULT 0x7FFFFFFF,
def_val FLOAT NOT NULL DEFAULT 0x7FFFFFFF,
/* Group language resource is from the sys_group_language_resource.csv */
group_lang_id SMALLINT UNSIGNED NOT NULL DEFAULT 0,
en_statistics BOOLEAN NOT NULL DEFAULT TRUE,
/* ID in system_signal_info table */
system_signal_id INT UNSIGNED NOT NULL,
UNIQUE INDEX i_system_signal_id(system_signal_id)
); |
-- show policies on table
select *
from pg_policies
where tablename = 'projects';
-- show role names
SELECT rolname
FROM pg_roles;
-- drop a policy
-- drop policy "Allow individual insert access" on public.projects;
-- shows the names of all fk constraints
select *
from information_schema.key_column_usage
where position_in_unique_constraint is not null;
-- clean out all user data
-- TRUNCATE auth.users restart identity cascade;
-- truncate public.user_profiles restart identity cascade; |
<reponame>S17cis526/scrumtastic-shawnco<filename>migrations/1-create-projects.sql<gh_stars>0
CREATE TABLE projects(
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
description TEXT,
version TEXT,
repository TEXT,
license TEXT
);
|
ALTER TABLE "articles" ADD status varchar(10) NOT NULL DEFAULT 'DRAFT';
|
-- phpMyAdmin SQL Dump
-- version 4.8.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 25-Maio-2018 às 04:56
-- Versão do servidor: 10.1.31-MariaDB
-- PHP Version: 7.2.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 */;
--
-- Database: `agenda`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `evento`
--
CREATE TABLE `evento` (
`idEvento` int(11) NOT NULL,
`titulo` varchar(100) NOT NULL,
`descricao` text NOT NULL,
`local` varchar(100) NOT NULL,
`dataInicio` date NOT NULL,
`dataTermino` date NOT NULL,
`horaInicio` time NOT NULL,
`horaTermino` time NOT NULL,
`status` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `evento`
--
INSERT INTO `evento` (`idEvento`, `titulo`, `descricao`, `local`, `dataInicio`, `dataTermino`, `horaInicio`, `horaTermino`, `status`) VALUES
(21, 'Teste', 'Nada a declarar', 'Casa', '2018-05-07', '2018-05-08', '10:00:00', '13:30:00', 1),
(22, 'Abc', 'abc', 'casa', '2018-05-07', '2018-05-08', '10:30:00', '11:45:00', 1),
(23, '<NAME>', 'abcder', 'Auditório', '2018-05-24', '2018-05-25', '16:00:00', '17:00:00', 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `participante`
--
CREATE TABLE `participante` (
`idUsuario` int(11) NOT NULL,
`idEvento` int(11) NOT NULL,
`participa` tinyint(1) DEFAULT '0',
`aberto` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `participante`
--
INSERT INTO `participante` (`idUsuario`, `idEvento`, `participa`, `aberto`) VALUES
(2, 23, 0, 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `setor`
--
CREATE TABLE `setor` (
`idSetor` int(11) NOT NULL,
`nome` varchar(255) NOT NULL,
`ramal` char(8) NOT NULL,
`cor` char(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `setor`
--
INSERT INTO `setor` (`idSetor`, `nome`, `ramal`, `cor`) VALUES
(1, 'Informática', '7058', 'brown');
-- --------------------------------------------------------
--
-- Estrutura da tabela `usuario`
--
CREATE TABLE `usuario` (
`idUsuario` int(11) NOT NULL,
`idSetor` int(11) NOT NULL,
`nome` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`senha` varchar(255) NOT NULL,
`responsavel` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `usuario`
--
INSERT INTO `usuario` (`idUsuario`, `idSetor`, `nome`, `email`, `senha`, `responsavel`) VALUES
(2, 1, '<NAME>', '<EMAIL>', '<PASSWORD>', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `evento`
--
ALTER TABLE `evento`
ADD PRIMARY KEY (`idEvento`);
--
-- Indexes for table `participante`
--
ALTER TABLE `participante`
ADD KEY `FK_participanteUsuario` (`idUsuario`),
ADD KEY `FK_participanteEvento` (`idEvento`);
--
-- Indexes for table `setor`
--
ALTER TABLE `setor`
ADD PRIMARY KEY (`idSetor`);
--
-- Indexes for table `usuario`
--
ALTER TABLE `usuario`
ADD PRIMARY KEY (`idUsuario`),
ADD KEY `FK_usuarioSetor` (`idSetor`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `evento`
--
ALTER TABLE `evento`
MODIFY `idEvento` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `setor`
--
ALTER TABLE `setor`
MODIFY `idSetor` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `usuario`
--
ALTER TABLE `usuario`
MODIFY `idUsuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- Constraints for dumped tables
--
--
-- Limitadores para a tabela `participante`
--
ALTER TABLE `participante`
ADD CONSTRAINT `FK_participanteEvento` FOREIGN KEY (`idEvento`) REFERENCES `evento` (`idEvento`),
ADD CONSTRAINT `FK_participanteUsuario` FOREIGN KEY (`idUsuario`) REFERENCES `usuario` (`idUsuario`);
--
-- Limitadores para a tabela `usuario`
--
ALTER TABLE `usuario`
ADD CONSTRAINT `FK_usuarioSetor` FOREIGN KEY (`idSetor`) REFERENCES `setor` (`idSetor`);
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 */;
|
insert into hierarchy (id, name, type) values ('CL_0000694', 'Hours Statistics', 'classification');
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('367ca100-2026-4d8b-91a6-38a4782fd158', 'CL_0000694', 'CI_0006603', null, 'Mean', null, 1);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('2d850daa-a95b-4137-a4d6-438628724efc', 'CL_0000694', 'CI_0006604', null, 'Median', null, 2);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('27f7cc5b-49d9-44fa-8f00-c4e162568c98', 'CL_0000694', 'CI_0006605', null, '10th percentile', null, 3);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('86e52dc2-f145-4e2a-98ec-17bfd4b88804', 'CL_0000694', 'CI_0006606', null, '20th percentile', null, 4);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('1b9babe4-48ca-475f-b79a-f04a71cb0e63', 'CL_0000694', 'CI_0006607', null, '25th percentile', null, 5);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('c917ded4-dadd-46bd-9d72-2b8ee9cee323', 'CL_0000694', 'CI_0006608', null, '30th percentile', null, 6);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('70ebcbb8-77b2-4266-8f45-9046bb0040d5', 'CL_0000694', 'CI_0006609', null, '40th percentile', null, 7);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('645af46b-ccd0-4e16-a5a4-285263adde0b', 'CL_0000694', 'CI_0006610', null, '60th percentile', null, 8);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('52d14088-d4f4-43b5-a837-d6331913332c', 'CL_0000694', 'CI_0006611', null, '70th percentile', null, 9);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('aa7f78ed-383a-4ae5-9f3a-c570a94869f5', 'CL_0000694', 'CI_0006612', null, '75th percentile', null, 10);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('d7a01979-0b03-4844-829e-32c042f8520b', 'CL_0000694', 'CI_0006613', null, '80th percentile', null, 11);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('1f21dd40-3f13-4fda-ba12-206e579cb433', 'CL_0000694', 'CI_0006614', null, '90th percentile', null, 12);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('8bc36dff-8933-46d0-af83-2069b7dd8b50', 'CL_0000694', 'CI_0021538', null, '10th Percentile', null, 13);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('9fb5e414-cc73-448d-a879-5f318cb21e5d', 'CL_0000694', 'CI_0021539', null, '20th Percentile', null, 14);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('f3855e7a-fa6d-43c8-b4b8-673ac6471ca7', 'CL_0000694', 'CI_0021540', null, '25th Percentile', null, 15);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('4b40836f-1e7d-4a00-8313-ee74ba6cb5d2', 'CL_0000694', 'CI_0021541', null, '30th Percentile', null, 16);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('c91cddf0-1e6d-458d-b56e-02d9634732c5', 'CL_0000694', 'CI_0021543', null, '40th Percentile', null, 17);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('ee2e6747-06bf-4cf8-9113-8dc44ffdf673', 'CL_0000694', 'CI_0021544', null, '60th Percentile', null, 18);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('ca52ba4b-6ecb-40b6-97d7-d70122437956', 'CL_0000694', 'CI_0021545', null, '70th Percentile', null, 19);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('72d04013-3f33-4a43-a080-a8d6731394c9', 'CL_0000694', 'CI_0021546', null, '75th Percentile', null, 20);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('eaf751fd-be7d-4c03-8aa0-d4376a09fe6e', 'CL_0000694', 'CI_0021547', null, '80th Percentile', null, 21);
insert into hierarchy_entry (id, hierarchy_id, code, parent, name, hierarchy_level_type_id, display_order) values ('360faf2d-c899-4828-8aaa-3c7cdac4ddf9', 'CL_0000694', 'CI_0021548', null, '90th Percentile', null, 22);
|
create table pm_projects (
id INT,
project_name VARCHAR(50),
project_details TEXT,
created_by VARCHAR(50),
created_time DATE,
active VARCHAR(50)
);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (1, 'Opela', 'Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.', '<NAME>', '2017-02-27 00:32:29', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (2, 'Span', 'Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.
Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '<NAME>', '2017-07-29 08:07:55', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (3, 'Wrapsafe', 'Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '<NAME>', '2017-05-17 11:20:04', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (4, 'Matsoft', 'Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem.', '<NAME>', '2017-04-06 21:22:11', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (5, 'Latlux', 'Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '<NAME>', '2017-10-08 01:41:11', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (6, 'Cookley', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
Sed ante. Vivamus tortor. Duis mattis egestas metus.', '<NAME>', '2017-08-14 06:14:27', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (7, 'Bytecard', 'Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis.
Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem.
Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.', '<NAME>', '2017-03-16 17:34:48', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (8, 'Matsoft', 'Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.', '<NAME>', '2017-01-28 23:45:31', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (9, 'Bigtax', 'Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.', '<NAME>', '2017-11-23 01:07:04', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (10, 'Viva', 'Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.
Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.', '<NAME>', '2017-04-25 19:59:26', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (11, 'Regrant', 'Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.
Curabitur at ipsum ac tellus semper interdum. Mauris ullamcorper purus sit amet nulla. Quisque arcu libero, rutrum ac, lobortis vel, dapibus at, diam.', '<NAME>', '2017-07-25 19:03:09', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (12, 'Rank', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '<NAME>', '2017-09-09 02:04:07', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (13, 'Fixflex', 'Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.', '<NAME>', '2017-04-19 01:53:20', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (14, 'Vagram', 'Phasellus in felis. Donec semper sapien a libero. Nam dui.
Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.', '<NAME>', '2017-08-05 09:10:45', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (15, 'Tresom', 'Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.
Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '<NAME>', '2017-05-15 22:35:35', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (16, 'Matsoft', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
Sed ante. Vivamus tortor. Duis mattis egestas metus.', '<NAME>', '2017-01-10 20:53:54', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (17, 'Trippledex', 'Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis.', '<NAME>', '2017-03-01 17:58:59', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (18, 'Flexidy', 'Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst.
Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat.
Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.', '<NAME>', '2017-07-15 14:07:14', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (19, 'Konklux', 'Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '<NAME>', '2017-04-13 17:52:06', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (20, 'Stronghold', 'Curabitur in libero ut massa volutpat convallis. Morbi odio odio, elementum eu, interdum eu, tincidunt in, leo. Maecenas pulvinar lobortis est.
Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.
Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '<NAME>', '2017-05-07 12:27:45', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (21, 'Duobam', 'Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.
Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.
Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '<NAME>', '2017-11-06 06:54:24', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (22, 'Voyatouch', 'Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.
Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.', '<NAME>', '2017-02-22 13:50:39', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (23, 'Keylex', 'Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.
Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '<NAME>', '2016-12-21 18:47:58', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (24, 'Veribet', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.', '<NAME>', '2017-05-15 10:47:59', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (25, 'Lotstring', 'Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem.', '<NAME>', '2017-08-19 13:52:19', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (26, 'Domainer', 'Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.', '<NAME>', '2017-07-26 16:30:24', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (27, 'Aerified', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '<NAME>', '2017-11-27 14:01:18', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (28, 'Fixflex', 'Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.
Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '<NAME>', '2017-07-21 01:23:59', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (29, 'Voltsillam', 'Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.', '<NAME>', '2017-04-02 14:52:35', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (30, 'Zoolab', 'Fusce consequat. Nulla nisl. Nunc nisl.
Duis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue elementum.', 'Sky Jewell', '2017-06-25 21:34:25', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (31, 'Voyatouch', 'Sed ante. Vivamus tortor. Duis mattis egestas metus.
Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.', '<NAME>', '2017-05-01 03:41:00', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (32, 'Sonair', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.
Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.
Fusce consequat. Nulla nisl. Nunc nisl.', '<NAME>', '2017-07-17 03:47:21', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (33, 'Ronstring', 'Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.
Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.
In congue. Etiam justo. Etiam pretium iaculis justo.', '<NAME>', '2017-01-26 04:42:18', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (34, 'Y-find', 'Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.
Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit.
Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque.', '<NAME>', '2017-08-30 15:53:07', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (35, 'Lotlux', 'Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.
Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.', '<NAME>', '2016-12-31 07:10:29', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (36, 'Subin', 'Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.
Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.
Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.', '<NAME>', '2017-07-21 18:50:05', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (37, 'Tres-Zap', 'Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '<NAME>', '2017-04-07 20:23:03', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (38, 'Konklab', 'Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.
Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.', '<NAME>', '2017-02-12 15:31:05', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (39, 'Vagram', 'Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque.', '<NAME>', '2017-06-17 10:19:11', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (40, 'Job', 'Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.
Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.
Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '<NAME>', '2017-04-26 00:52:13', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (41, 'Domainer', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '<NAME>', '2017-08-22 15:25:34', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (42, 'Temp', 'Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat.', '<NAME>', '2017-04-21 03:28:04', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (43, 'Viva', 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.', '<NAME>', '2017-05-28 01:17:59', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (44, 'Ronstring', 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.', '<NAME>', '2017-10-14 16:30:45', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (45, 'Stringtough', 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.', '<NAME>', '2017-09-10 18:27:27', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (46, 'Andalax', 'In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus.', '<NAME>', '2016-12-19 13:17:14', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (47, 'Sonair', 'Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.
Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.', '<NAME>', '2017-05-04 19:24:30', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (48, 'Andalax', 'Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.', '<NAME>', '2017-08-13 13:30:41', true);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (49, 'Transcof', 'Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.
Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit.
Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque.', '<NAME>', '2017-02-13 15:08:59', false);
insert into pm_projects (id, project_name, project_details, created_by, created_time, active) values (50, 'Konklab', 'Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.
Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.', '<NAME>', '2017-07-29 02:39:19', false);
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Nov 03, 2020 at 07:54 PM
-- Server version: 10.1.44-MariaDB-0ubuntu0.18.04.1
-- PHP Version: 7.3.23-4+ubuntu18.04.1+deb.sury.org+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: `user-registration`
--
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` bigint(20) UNSIGNED NOT NULL,
`version` varchar(255) NOT NULL,
`class` text NOT NULL,
`group` varchar(255) NOT NULL,
`namespace` varchar(255) NOT NULL,
`time` int(11) NOT NULL,
`batch` int(11) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `version`, `class`, `group`, `namespace`, `time`, `batch`) VALUES
(5, '2020-11-01-175909', 'App\\Database\\Migrations\\AddUser', 'default', 'App', 1604311481, 1),
(6, '2020-11-01-180037', 'App\\Database\\Migrations\\AddRole', 'default', 'App', 1604311481, 1);
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` int(5) UNSIGNED NOT NULL,
`name` varchar(191) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `name`) VALUES
(8, 'admin');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(5) UNSIGNED NOT NULL,
`role_id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) NOT NULL,
`email` varchar(191) NOT NULL,
`new_email` varchar(191) DEFAULT NULL,
`password_hash` varchar(191) NOT NULL,
`phone_number` int(11) DEFAULT NULL,
`address` varchar(191) DEFAULT NULL,
`activate_hash` varchar(191) DEFAULT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
`created_at` bigint(20) DEFAULT NULL,
`updated_at` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `role_id`, `name`, `email`, `new_email`, `password_hash`, `phone_number`, `address`, `activate_hash`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 2, '<NAME>', '<EMAIL>', '<EMAIL>', <PASSWORD>', 1152400056, 'sheraton', 'Zva790JYsywTDCbu8tlKV31S2eWLXINr', 1, 1604311615, 1604422890),
(2, 2, 'foo', '<EMAIL>', NULL, '$2y$10$5.WQyg4H5LWsuTNKUEaRSuRtKMihHXSbgfRILDyp.z.8PR9Tr/iX6', 1152400096, NULL, '', 0, NULL, NULL),
(4, 2, 'ahmed', '<EMAIL>', NULL, '$2y$10$5.WQyg4H5LWsuTNKUEaRSuRtKMihHXSbgfRILDyp.z.8PR9Tr/iX6', 1152699956, 'sheraton', NULL, 1, NULL, NULL),
(5, 2, 'memo', '<EMAIL>', '', '$2y$10$5.WQyg4H5LWsuTNKUEaRSuRtKMihHXSbgfRILDyp.z.8PR9Tr/iX6', 1165400080, '1st-settelment', NULL, 1, NULL, NULL),
(6, 0, 'mooo', '<EMAIL>', NULL, '$2y$10$vM3StCIdKu/J/S1gpd/A0O3F6Tmhmqi1r9wQ3dp7nw1GsNL8Sn4Zi', 0, '', 'C5KYEitTo8AebFq2mz7Gk4cBp9j03gNw', 1, 1604398226, 1604418229),
(9, 0, '<NAME>', '<EMAIL>', NULL, '$2y$10$s3NSwQ71WvvmFQe/yQ5yUOdUJvU/uvo7YsWvagpcRy13hKhNAOO1C', 1152400056, 'sheraton', 'FK4perHsmaU5Gj3IAiRLS0Ykqd6XZPnx', 0, 1604423641, 1604423822);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
/*!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>src/o_canvas_inscricao.type.impl.sql
/*
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
create or replace type body o_canvas_inscricao is
/* Construtor */
constructor function o_canvas_inscricao return self as result is
begin
self.set_default_attribute;
return;
end;
/* Gets and sets */
member procedure set_default_attribute(SELF IN OUT NOCOPY o_canvas_inscricao) is
tmp pljson;
begin
self.set_entidade('enrollments');
self.set_metodo('/');
tmp := self.get_variables;
if tmp.exist('entidade') then
tmp.remove('entidade');
end if;
tmp.put('entidade', self.get_entidade);
if tmp.exist('metodo') then
tmp.remove('metodo');
end if;
tmp.put('metodo', self.get_metodo);
end;
/* Requisições */
member function inserir (SELF IN OUT NOCOPY o_canvas_inscricao, p_sis_section_id varchar2, p_json varchar2, r_msg out clob) return pljson is
retorno pljson;
w_msg clob;
begin
self.set_acao('POST');
if p_sis_section_id is null then
r_msg := '{"error": "p_sis_section_id não pode ser nulo"}';
return null;
end if;
if p_json is not null then
self.set_entidade('sections');
self.set_metodo(self.get_metodo || 'sis_section_id:'||p_sis_section_id||'/enrollments');
retorno := self.call_request(p_json, 'Criar Inscrição' , w_msg);
r_msg := r_msg || chr(10) || w_msg;
self.set_default;
return retorno;
else
r_msg := '{"error": "p_json não pode ser nulo"}';
return null;
end if;
exception
when others then
self.set_default;
r_msg := r_msg || chr(10) || 'o_canvas_inscricao.inserir: '|| self.get_entidade || CHR(10) || 'Error:' || util.get_erro;
return null;
end;
member function deletar (SELF IN OUT NOCOPY o_canvas_inscricao, p_sis_course_id varchar2, p_enrollment_id varchar2, p_action varchar2, r_msg out clob) return pljson is
retorno pljson;
w_msg clob;
begin
self.set_acao('DELETE');
if p_sis_course_id is null or p_enrollment_id is null or p_action is null then
r_msg :=
'{
"error": "p_sis_course_id/p_enrollment_id/p_action não pode ser nulo",
"p_sis_course_id": "'||p_sis_course_id||'",
"p_enrollment_id": "'||p_enrollment_id||'",
"p_action": "'||p_action||'"
}';
return null;
end if;
self.set_entidade('courses');
self.set_metodo(self.get_metodo || 'sis_course_id:'||p_sis_course_id||'/enrollments/'||p_enrollment_id||'?task='||p_action);
retorno := self.call_request(null, 'Excluir, concluir ou desativar uma Inscrição', w_msg);
r_msg := r_msg || chr(10) || w_msg;
self.set_default;
return retorno;
exception
when others then
self.set_default;
r_msg := r_msg || chr(10) || 'o_canvas_inscricao.deletar' || CHR(10) || 'Error:' || util.get_erro;
return null;
end;
member function reativar (SELF IN OUT NOCOPY o_canvas_inscricao, p_sis_course_id varchar2, p_enrollment_id varchar2, r_msg out clob) return pljson is
retorno pljson;
w_msg clob;
begin
self.set_acao('PUT');
if p_sis_course_id is null or p_enrollment_id is null then
r_msg :=
'{
"error": "p_sis_course_id/p_enrollment_id não pode ser nulo",
"p_sis_course_id": "'||p_sis_course_id||'",
"p_enrollment_id": "'||p_enrollment_id||'"
}';
return null;
end if;
self.set_entidade('courses');
self.set_metodo(self.get_metodo || 'sis_course_id:'||p_sis_course_id||'/enrollments/'||p_enrollment_id||'/reactivate');
retorno := self.call_request('{}', 'Reativar uma inscrição', w_msg);
r_msg := r_msg || chr(10) || w_msg;
self.set_default;
return retorno;
exception
when others then
self.set_default;
r_msg := r_msg || chr(10) || 'o_canvas_inscricao.reativar ' || CHR(10) || 'Error:' || util.get_erro;
return null;
end;
end;
/
sho err |
<filename>mysql/laravel-crud(1).sql
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 14 Sep 2019 pada 11.53
-- Versi server: 10.3.16-MariaDB
-- Versi PHP: 7.3.6
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: `laravel-crud`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `guru`
--
CREATE TABLE `guru` (
`id` int(11) NOT NULL,
`nama` varchar(100) NOT NULL,
`telpon` varchar(15) NOT NULL,
`alamat` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `guru`
--
INSERT INTO `guru` (`id`, `nama`, `telpon`, `alamat`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', '0829987908', 'SUKABUMI', '2019-09-09 03:04:11', '0000-00-00 00:00:00'),
(2, '<NAME>', '082365478954', 'MALANG', '2019-09-09 03:04:11', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Struktur dari tabel `mapel`
--
CREATE TABLE `mapel` (
`id` int(11) NOT NULL,
`kode` varchar(191) NOT NULL,
`nama` varchar(191) NOT NULL,
`semester` varchar(45) NOT NULL,
`guru_id` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `mapel`
--
INSERT INTO `mapel` (`id`, `kode`, `nama`, `semester`, `guru_id`, `created_at`, `updated_at`) VALUES
(1, 'M-123', 'Matematika', 'ganjil', 1, '2019-08-31 04:54:46', NULL),
(2, 'S-321', 'Ilmiah', 'ganjil', 1, '2019-08-31 04:54:46', NULL),
(3, 'S-11024', 'Ilmu pengetahuan alam', 'Genap', 2, '2019-09-02 04:30:03', NULL),
(4, 'B-12903', 'Bahasa inggris', 'Ganjil', 2, '2019-09-02 04:30:03', NULL),
(5, 'S-09876', 'Ilmu pengetahuan sosial', 'Genap', 2, '2019-09-02 04:31:54', NULL),
(6, 'X-11098', 'Pendidikin warna negaraan', 'Genap', 1, '2019-09-02 04:31:54', NULL),
(7, 'G-097856', 'KOMPUTER JARINGAN', 'Genap', 2, '2019-09-02 04:33:11', NULL),
(8, 'N-87690', 'TEKNIK MESIN', 'Ganjil', 1, '2019-09-02 04:33:11', NULL),
(9, 'H-098782', 'Bahasa Indonesia', 'Akhir', 1, '2019-09-02 08:19:23', NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `mapel_siswa`
--
CREATE TABLE `mapel_siswa` (
`id` int(11) NOT NULL,
`siswa_id` int(11) NOT NULL,
`mapel_id` int(11) NOT NULL,
`nilai` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `mapel_siswa`
--
INSERT INTO `mapel_siswa` (`id`, `siswa_id`, `mapel_id`, `nilai`, `created_at`, `updated_at`) VALUES
(12, 1, 1, 97, '2019-09-01 23:10:44', '2019-09-02 06:10:44'),
(13, 1, 3, 82, '2019-09-01 23:10:52', '2019-09-07 04:52:07'),
(14, 1, 4, 89, '2019-09-01 23:11:04', '2019-09-09 04:31:12'),
(15, 1, 5, 91, '2019-09-01 23:11:13', '2019-09-02 06:11:13'),
(17, 1, 7, 96, '2019-09-01 23:11:42', '2019-09-02 06:11:42'),
(18, 1, 8, 91, '2019-09-01 23:11:53', '2019-09-02 06:11:53'),
(20, 15, 1, 77, '2019-09-01 23:12:52', '2019-09-02 06:12:52'),
(23, 10, 1, 81, '2019-09-01 23:13:27', '2019-09-02 06:13:27'),
(27, 4, 7, 77, '2019-09-01 23:14:23', '2019-09-02 06:14:23'),
(29, 17, 1, 91, '2019-09-01 23:17:18', '2019-09-02 06:17:18'),
(30, 17, 2, 92, '2019-09-01 23:17:27', '2019-09-02 06:17:27'),
(31, 17, 3, 93, '2019-09-01 23:17:34', '2019-09-02 06:17:34'),
(32, 17, 4, 94, '2019-09-01 23:17:40', '2019-09-02 06:17:40'),
(39, 18, 2, 76, '2019-09-02 00:24:56', '2019-09-02 07:24:56'),
(40, 18, 3, 91, '2019-09-02 00:25:06', '2019-09-02 07:25:06'),
(46, 21, 1, 60, '2019-09-06 20:32:27', '2019-09-07 04:52:57'),
(47, 20, 9, 67, '2019-09-08 21:11:44', '2019-09-09 04:11:44'),
(49, 1, 6, 92, '2019-09-11 19:30:03', '2019-09-12 02:30:03'),
(52, 4, 1, 60, '2019-09-11 21:46:56', '2019-09-12 04:46:56'),
(54, 23, 1, 60, '2019-09-11 21:59:09', '2019-09-12 04:59:09'),
(55, 24, 1, 75, '2019-09-13 23:10:49', '2019-09-14 06:10:49'),
(56, 24, 4, 80, '2019-09-13 23:11:16', '2019-09-14 06:11:16');
-- --------------------------------------------------------
--
-- 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
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_26_074818_create_siswa_table', 1);
-- --------------------------------------------------------
--
-- 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 `posts`
--
CREATE TABLE `posts` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
`slug` varchar(255) NOT NULL,
`thumbnail` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `posts`
--
INSERT INTO `posts` (`id`, `user_id`, `title`, `content`, `slug`, `thumbnail`, `created_at`, `updated_at`) VALUES
(1, 1, 'ini berita pertama', '<p>ini berita pertama yang di input secara manual</p>', 'ini berita pertama', '', '2019-09-14 06:42:20', NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `siswa`
--
CREATE TABLE `siswa` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` int(11) NOT NULL,
`nama_depan` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`nama_belakang` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`jenis_kelamin` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`agama` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`alamat` text COLLATE utf8mb4_unicode_ci NOT NULL,
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'NULL',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `siswa`
--
INSERT INTO `siswa` (`id`, `user_id`, `nama_depan`, `nama_belakang`, `jenis_kelamin`, `agama`, `alamat`, `avatar`, `created_at`, `updated_at`) VALUES
(1, 0, 'HUSIN', 'MUHAMAD', 'L', 'ISLAM', 'BUKIT PELANGI TAMAN RINDU', 'pria1.jpg', NULL, '2019-09-11 19:26:06'),
(4, 0, 'RESTI', 'SUSILAWATI', 'P', 'HINDU', 'KALIMALANG BARAT', 'cewe2.jpg', NULL, '2019-09-02 00:32:23'),
(10, 0, 'RESKI', 'AULIAWAN', 'L', 'KRISTEN', 'MALANG', NULL, '2019-08-29 23:12:07', '2019-08-29 23:12:07'),
(15, 8, 'MAHMUD', 'SIMANJUNTAK', 'L', 'BUDHA', 'TERNATE', 'profile10.png', '2019-09-01 19:34:40', '2019-09-01 19:54:37'),
(17, 10, 'MULYETI', 'MARTADINATA', 'P', 'ISLAM', '<NAME>', 'sabyan.jpg', '2019-09-01 23:17:04', '2019-09-11 21:42:53'),
(18, 12, 'ABIID', 'HERMAWAN', 'L', 'ISLAM', 'BO<NAME>ARA', 'profile1.png', '2019-09-02 00:22:53', '2019-09-11 21:02:43'),
(20, 14, '<NAME>', 'SUSILAWATI', 'P', 'KATOLIK', 'BANDUNG BARAT', 'cewe.png', '2019-09-02 02:44:20', '2019-09-02 02:44:20'),
(21, 15, 'RANI', 'RATNASARI', 'P', 'KRISTEN', 'BANDUNG SELATAN', 'cewe3.jpg', '2019-09-02 02:46:54', '2019-09-02 02:46:54'),
(22, 16, 'SINTIA', 'BELLA', 'P', 'KATOLIK', '<NAME>', 'cewe.png', '2019-09-11 21:01:22', '2019-09-11 21:01:22'),
(23, 17, 'HERU', 'JAUHARUDIN', 'L', 'ISLAM', 'BANDUNG', 'pria3.jpg', '2019-09-11 21:44:09', '2019-09-11 21:44:09'),
(24, 18, 'MARWAH', 'SAADAH', 'P', 'ISLAM', 'SOLO', 'cewe.png', '2019-09-13 23:10:30', '2019-09-13 23:10:30');
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`role` varchar(50) COLLATE utf8mb4_unicode_ci 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `role`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'HUSIN', '<EMAIL>', NULL, '$2y$10$IVRZMijf7wKBrx3mUN3Dz.bu61jMnMNC9rBg/SGaTKk60tqPBb5uC', 'RzWJhXWjTgqw1mGhkLtYZCuLWJRXRhEkkq4kSAxCJdVz7Jz1PF4myuIjSgkF', '2019-08-30 19:23:04', '2019-08-30 19:23:04'),
(2, 'admin', 'ADMIN', '<EMAIL>', NULL, '$2y$10$Fd14fmF9oazw89w0esyoFOEzUQe0WrqnENsuwXazm0tzp.r6kiCOO', '6<PASSWORD>hmRh<PASSWORD>', '2019-08-30 19:24:24', '2019-08-30 19:24:24'),
(6, 'siswa', 'BAROK', '<EMAIL>', NULL, '$2y$10$a6updJnmJUnWRhBdDg2kP.INh.Jz.3uWgEqAF4OhFxs5gW/yy3Ldi', 'sfxLvnRFP8RgIZBXL3YpVRxo6GCW4wYLTDy0Skf33F4RVKdzmKd4FpPS8vC8', '2019-08-30 20:18:13', '2019-08-30 20:18:13'),
(8, 'siswa', 'MAHMUD', '<EMAIL>', NULL, '$2y$10$oGXQvcajKKxwunLZfRSM2eeQ7fkc2wWShQFh1BFCQwmOBwU2.I9dG', 'AQ4kgIIFIyA5TtiaVZDSVq1G3FGpd14D7wuATm9RWQhT4WyvRlKKOH5RGH10', '2019-09-01 19:34:40', '2019-09-01 19:34:40'),
(10, 'siswa', 'MULYETI', '<EMAIL>', NULL, '$2y$10$gqsNUV7XdUcSqTq14Vie7ee6uOqmTLMgNRtSqfbeCi6hxHUU1Up2G', '0CurMeRycEz5SaxoAMY6SQfL3zubzE7cKmlGAKZBqlITgxBgbFhNnTbRwizm', '2019-09-01 23:17:04', '2019-09-01 23:17:04'),
(11, 'siswa', 'RISMAH', '<EMAIL>', NULL, '$2y$10$xBX0yFOLCr3FxxODKS5LK.IPHjfETncjXHX1s.koqW.6Dh8Q4QhJy', 'yGiv3MTKhyD3KeJRYEMNsH1jLYfvDTIE5JV6pESXVFZZ3IHiRhUhX4WXRDVa', '2019-09-01 23:56:01', '2019-09-01 23:56:01'),
(12, 'siswa', 'ABIID', '<EMAIL>', NULL, '$2y$10$ajLNrNppVsFRnnEcchohp.lzlcLmFWQotYz5u91bjAJay6uaD6ve2', 'vZgFXdNMZebexD1p8AhtO6i6rNgQt5HguzGkhgzITIoI1A6iFEy66B3pAS1L', '2019-09-02 00:22:53', '2019-09-02 00:22:53'),
(13, 'siswa', 'IPUL', '<EMAIL>', NULL, '$2y$10$DwP0jFXl.m9AN7lHVTDnrOBLmVslP7Eb3vlY6gQwSjqrQ3ZHCKaSW', 'i1j9p640WWcZhGXtJKb1poGclpcwXtZemVmakjjVTPDeGFDbUkGJ2K7b1js2', '2019-09-02 00:27:06', '2019-09-02 00:27:06'),
(14, 'siswa', '<NAME>', '<EMAIL>', NULL, '$2y$10$QxS/3sptdJHk0KLE02v1/.qiLt7b9i8LuhAql1ZiwZDSeFbbL169m', 'm92ONHx8rjDRHCrxaEKskt0gDht8wmBNTn67a1SbzLjMwhRG7LSFDEIbzXTt', '2019-09-02 02:44:20', '2019-09-02 02:44:20'),
(15, 'siswa', 'RANI', '<EMAIL>', NULL, '$2y$10$MU5.GylKwlHLl74wzZZJ2uG4oVP2bjToMCmrNI92n/ASc6r9mpKqu', 'DAJAiYvcqKGcLGKkxTCq7zEU4bTey4qOnvfODkyJDiAN2DmFqiyaGM1oI1ib', '2019-09-02 02:46:54', '2019-09-02 02:46:54'),
(17, 'siswa', 'HERU', '<EMAIL>', NULL, '$2y$10$7orQb1NWM.MXd8a7rIRbZ.AYY6RejOGt0xl8wLQNC0srbhE9pHKLq', 'rpBlSp1rKjcwhwssVoFn7lSXrRVxTFVT6p5CJNfYt49pwzqWWczLpkAFkE1o', '2019-09-11 21:44:09', '2019-09-11 21:44:09'),
(18, 'siswa', 'MARWAH', '<EMAIL>', NULL, '$2y$10$A1MXPnoYLxTD1mw7By0yqum56uM0lPb2sYgGREOuhpzVL5amLQ56a', 'n5tZ54N9gi4mJxMyu2L5nBg9fYwuEAq2fAMziVr7oWVNu4sqLptPKsqHU1R9', '2019-09-13 23:10:30', '2019-09-13 23:10:30');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `guru`
--
ALTER TABLE `guru`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `mapel`
--
ALTER TABLE `mapel`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `mapel_siswa`
--
ALTER TABLE `mapel_siswa`
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 `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `siswa`
--
ALTER TABLE `siswa`
ADD PRIMARY KEY (`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 `guru`
--
ALTER TABLE `guru`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `mapel`
--
ALTER TABLE `mapel`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT untuk tabel `mapel_siswa`
--
ALTER TABLE `mapel_siswa`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;
--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT untuk tabel `posts`
--
ALTER TABLE `posts`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT untuk tabel `siswa`
--
ALTER TABLE `siswa`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
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 */;
|
/*
Warnings:
- You are about to drop the `Item` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `User` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "Item" DROP CONSTRAINT "Item_userId_fkey";
-- DropTable
DROP TABLE "Item";
-- DropTable
DROP TABLE "User";
-- CreateTable
CREATE TABLE "user" (
"id" SERIAL NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"name" TEXT,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "item" (
"id" SERIAL NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
"name" TEXT NOT NULL,
"type" TEXT NOT NULL,
"userId" INTEGER,
PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "user.email_unique" ON "user"("email");
-- AddForeignKey
ALTER TABLE "item" ADD FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
<filename>data_penduduk.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 27, 2020 at 02:45 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.3
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: `data_penduduk`
--
-- --------------------------------------------------------
--
-- Table structure for table `kabupaten`
--
CREATE TABLE `kabupaten` (
`kabupaten_id` int(3) NOT NULL,
`kabupaten_nama` varchar(40) NOT NULL,
`provinsi_id` int(2) NOT NULL,
`penduduk` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `kabupaten`
--
INSERT INTO `kabupaten` (`kabupaten_id`, `kabupaten_nama`, `provinsi_id`, `penduduk`) VALUES
(2, 'Kabupaten Magelang', 3, 5000000),
(3, 'Kabupaten Sleman', 2, 10000000),
(4, 'Kabupaten Bantul', 2, 5200000),
(5, 'Kota Magelang', 3, 2500000),
(6, 'Solo', 3, 5000000);
-- --------------------------------------------------------
--
-- Table structure for table `provinsi`
--
CREATE TABLE `provinsi` (
`provinsi_id` int(2) NOT NULL,
`provinsi_nama` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `provinsi`
--
INSERT INTO `provinsi` (`provinsi_id`, `provinsi_nama`) VALUES
(2, 'Yogyakarta'),
(3, 'Jawa Tengah'),
(4, 'Jawa Barat'),
(5, 'Jawa Timur');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `kabupaten`
--
ALTER TABLE `kabupaten`
ADD PRIMARY KEY (`kabupaten_id`),
ADD KEY `provinsi_id` (`provinsi_id`);
--
-- Indexes for table `provinsi`
--
ALTER TABLE `provinsi`
ADD PRIMARY KEY (`provinsi_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `kabupaten`
--
ALTER TABLE `kabupaten`
MODIFY `kabupaten_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `provinsi`
--
ALTER TABLE `provinsi`
MODIFY `provinsi_id` int(2) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `kabupaten`
--
ALTER TABLE `kabupaten`
ADD CONSTRAINT `kabupaten_ibfk_1` FOREIGN KEY (`provinsi_id`) REFERENCES `provinsi` (`provinsi_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 */;
|
--liquibase formatted sql
--changeset patcher-core:Page_F5CAF3CF206A4454A48FA1466932B969 dbms:postgresql runOnChange:true splitStatements:false stripComments:false
select pkg_patcher.p_remove_page('F5CAF3CF206A4454A48FA1466932B969');
INSERT INTO s_mt.t_page (ck_id, ck_parent, cr_type, cv_name, cn_order, cl_static, cv_url, ck_icon, ck_view, ck_user, ct_change, cl_menu)VALUES('F5CAF3CF206A4454A48FA1466932B969', 'BC4B5C748874439E9CED6E8F76933B84', 2, '7e9709869e4e48ab9344e347eeadcbf2', 20, 0, null, '280', 'system', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000', 1) on conflict (ck_id) do update set ck_parent = excluded.ck_parent, ck_view=excluded.ck_view, cr_type = excluded.cr_type, cv_name = excluded.cv_name, cn_order = excluded.cn_order, cl_static = excluded.cl_static, cv_url = excluded.cv_url, ck_icon = excluded.ck_icon, ck_user = excluded.ck_user, ct_change = excluded.ct_change, cl_menu = excluded.cl_menu;
select pkg_patcher.p_merge_page_action('9375D16F2BF1494A9E231C5734F1D005', 'F5CAF3CF206A4454A48FA1466932B969', 'edit', 516, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_page_action('B62D8310574C466C8E5D9C64BDC8ACF5', 'F5CAF3CF206A4454A48FA1466932B969', 'view', 515, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
INSERT INTO s_mt.t_page_variable (ck_id, ck_page, cv_name, cv_description, cv_value, ck_user, ct_change)VALUES('CAEFC7FE1DA94907AE3CFF57FCD39FE5', 'F5CAF3CF206A4454A48FA1466932B969', 'g_lang_exclude', 'ID слова/фразы', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, cv_name = excluded.cv_name, cv_description = excluded.cv_description, cv_value = excluded.cv_value, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
select pkg_patcher.p_merge_object('0F1117C047384041B24D44E81C50634D', '137', null, 'SYS Localization Panel', 1004001, null, 'Локализация', null, null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000');
select pkg_patcher.p_merge_object('DBCA7FE4E17548A7AFBE21B3E1FF060C', '8', '0F1117C047384041B24D44E81C50634D', 'Dictionary Grid', 10, 'MTGetDefaultLocalization', 'Список слов/фраз', '6a6756ec59b64dcdac246cfdf6a9e28e', 'pkg_json_localization.f_modify_default_localization', 'meta', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000');
select pkg_patcher.p_merge_object('4FA67852465C4A08AF79D402DEA15054', '8', '0F1117C047384041B24D44E81C50634D', 'Translate Grid', 20, 'MTGetLocalization', 'Перевод', '16e495742eee4776af2456e0549b93f3', 'pkg_json_localization.f_modify_localization', 'meta', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000');
select pkg_patcher.p_merge_object('9176BFC191804165ABDA5AB9F967BA3B', '19', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'Add Button', 10, null, 'Добавить', '122d20300ab34c02b78bd1d3945e5eeb', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('F0814387A1CC4C17BEAE4EB59DB3DEFF', '19', '4FA67852465C4A08AF79D402DEA15054', 'Add button', 10, null, 'Добавить', '122d20300ab34c02b78bd1d3945e5eeb', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('F35C4A7DC6584774B5761BC2BD4BBEFB', '16', '4FA67852465C4A08AF79D402DEA15054', 'Edit Button', 20, null, 'Редактировать', null, null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('845C3929F9D74FE2829E1E38D7F57B33', '16', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'Edit Button', 20, null, 'Редактирование', null, null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('1ED129A364054C1A81788D0A1080F689', '9', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'ck_id', 30, null, 'Идентификатор', '356026998685486b99fc07969bd2af68', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('B6512521E118405986D40EA94106B702', '9', '4FA67852465C4A08AF79D402DEA15054', 'cv_lang', 30, null, 'Язык', '8ebf011fbbad4c45bd0e93d6f8f39b20', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('2CD90B3C086047D39DC887E28C949F88', '9', '4FA67852465C4A08AF79D402DEA15054', 'cv_value', 40, null, 'Перевод', '16e495742eee4776af2456e0549b93f3', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('A4B0D06DCC904AD9BF3C7906DAB98744', '9', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'cv_word', 40, null, 'Слово/Фраза', '44cb4487def44b74b32a748751d0263b', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('DDAEA661457B4AA185099E7122BC131B', '9', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'cv_type', 50, null, 'Тип расположения', '4d1ff7c496954fd086b885c399da2831', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('A0949123DBA248CAA93F68905BFEE127', '9', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 'cv_path', 60, null, 'Расположение', '2544bf435d024d16920dfbd2f1b3b5e1', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000');
select pkg_patcher.p_merge_object('196843D6A4AA462F86AB603457CE2100', '31', 'B6512521E118405986D40EA94106B702', 'cv_lang', 10, 'MTGetLang', 'Язык', '8ebf011fbbad4c45bd0e93d6f8f39b20', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000');
select pkg_patcher.p_merge_object('F323F8193613406E85F6962024B2EC9C', '31', 'DDAEA661457B4AA185099E7122BC131B', 'cv_type', 10, 'MTGetLocalNameSpace', 'Тип расположения', '4d1ff7c496954fd086b885c399da2831', null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000');
select pkg_patcher.p_merge_object_attr('6F4D56EB7C894A4E9F8D1DF7C906413D', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', '03FFC6D5E3B942F088207B303A682156', '[{"property": "cv_value", "direction": "ASC"}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'order');
select pkg_patcher.p_merge_object_attr('577F681A02964FAEA35A9A37758DB1CD', 'F323F8193613406E85F6962024B2EC9C', '120', 'cr_namespace', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('C2FDD150508D421A88D9A5CA4F0E2793', '196843D6A4AA462F86AB603457CE2100', '120', 'ck_d_lang', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('5993C11A04EF46ACA87EF0627C138A95', 'F323F8193613406E85F6962024B2EC9C', '125', 'ck_id', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'displayfield');
select pkg_patcher.p_merge_object_attr('C325C789DB214B268A2D6235B6F09D79', '196843D6A4AA462F86AB603457CE2100', '125', 'cv_name', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'displayfield');
select pkg_patcher.p_merge_object_attr('0A11248F02814AAC900AFD8BB4B024AF', '196843D6A4AA462F86AB603457CE2100', '126', '[{"in": "ck_id", "out": null}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'valuefield');
select pkg_patcher.p_merge_object_attr('2437B4E2880D448CB7F8A460FB40916B', 'F323F8193613406E85F6962024B2EC9C', '126', '[{"in": "ck_id", "out": null}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'valuefield');
select pkg_patcher.p_merge_object_attr('259E71D7C79447EC90C302D16FF2CFB8', 'F0814387A1CC4C17BEAE4EB59DB3DEFF', '155', '1', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000', 'mode');
select pkg_patcher.p_merge_object_attr('B3F482EB54D749EC997F625CB5313881', '9176BFC191804165ABDA5AB9F967BA3B', '155', '1', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000', 'mode');
select pkg_patcher.p_merge_object_attr('0DACE209FAD04395BF1105AB690A1E40', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', '401', '25', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000', 'pagesize');
select pkg_patcher.p_merge_object_attr('77E597AD3EDE49A7A64C135BBD6F607B', 'F0814387A1CC4C17BEAE4EB59DB3DEFF', '992', 'plus', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-14T00:00:00.000+0000', 'iconfont');
select pkg_patcher.p_merge_object_attr('CB8A4A151B56470FA19677127C3260D5', '9176BFC191804165ABDA5AB9F967BA3B', '992', 'plus', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-14T00:00:00.000+0000', 'iconfont');
select pkg_patcher.p_merge_object_attr('BD01533E71E64F7281028A75CEE86364', '4FA67852465C4A08AF79D402DEA15054', '03FFC6D5E3B942F088207B303A682156', '[{"property": "ck_d_lang", "direction": "ASC"}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'order');
select pkg_patcher.p_merge_object_attr('C62398B5D473485897E3A31679D6C085', '4FA67852465C4A08AF79D402DEA15054', '572', 'false', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'autoload');
select pkg_patcher.p_merge_object_attr('E0BD2DC35C3A46338F5276A222028B3A', 'B6512521E118405986D40EA94106B702', '433', 'insert', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'editmode');
select pkg_patcher.p_merge_object_attr('83BE1211DF044937B3DB35A24E14B5CD', '1ED129A364054C1A81788D0A1080F689', '433', 'hidden', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'editmode');
select pkg_patcher.p_merge_object_attr('3D4B2FBEAFBC473FAB7C5BDC0D73F65F', 'B6512521E118405986D40EA94106B702', '453', 'true', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-12-17T00:00:00.000+0000', 'required');
select pkg_patcher.p_merge_object_attr('2E5ACFF558E44D499313016E7A2F1162', 'B6512521E118405986D40EA94106B702', '47', 'cv_d_lang', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('11299E2870E04F3A9CAADA82A4757E95', '1ED129A364054C1A81788D0A1080F689', '47', 'ck_id', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('AC25760D1E9C45B5993B15D25FEB3CFB', '2CD90B3C086047D39DC887E28C949F88', '453', 'true', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-12-17T00:00:00.000+0000', 'required');
select pkg_patcher.p_merge_object_attr('7F391E3E3CB440F59085077A02BB340B', 'A4B0D06DCC904AD9BF3C7906DAB98744', '453', 'true', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-12-17T00:00:00.000+0000', 'required');
select pkg_patcher.p_merge_object_attr('B39243CCBFDE444583A8836E613E4BD0', 'A4B0D06DCC904AD9BF3C7906DAB98744', '47', 'cv_value', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('7AC27088CF65401DBFD6AB887F40392C', '2CD90B3C086047D39DC887E28C949F88', '47', 'cv_value', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('37CE0C0699EE47598646A350CAB12B40', 'DDAEA661457B4AA185099E7122BC131B', '453', 'true', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-12-17T00:00:00.000+0000', 'required');
select pkg_patcher.p_merge_object_attr('80DEDCFCCA964BFB9C33C2E3ACB2C245', 'DDAEA661457B4AA185099E7122BC131B', '47', 'cr_namespace', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
select pkg_patcher.p_merge_object_attr('C82AF6ECA5E5447A9B3962786AD9F215', 'A0949123DBA248CAA93F68905BFEE127', '433', 'hidden', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'editmode');
select pkg_patcher.p_merge_object_attr('0D1C41CCB9374BFA8733EC7D6A2E415E', 'A0949123DBA248CAA93F68905BFEE127', '47', 'cv_path', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'column');
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('7255DF42D26C4AED9B479167A9FD242D', 'F5CAF3CF206A4454A48FA1466932B969', '0F1117C047384041B24D44E81C50634D', 10, null, null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('C8E575B2C483413CAF2884477FB6E548', 'F5CAF3CF206A4454A48FA1466932B969', 'DBCA7FE4E17548A7AFBE21B3E1FF060C', 10, '7255DF42D26C4AED9B479167A9FD242D', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('DD14E144DFBA4DE892375B07E70EA17A', 'F5CAF3CF206A4454A48FA1466932B969', '4FA67852465C4A08AF79D402DEA15054', 20, '7255DF42D26C4AED9B479167A9FD242D', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('A78080CAE07D4A1388E108965DD08B11', 'F5CAF3CF206A4454A48FA1466932B969', '9176BFC191804165ABDA5AB9F967BA3B', 10, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('90DDA76E04A5451AA8BD7D1C4EFF490D', 'F5CAF3CF206A4454A48FA1466932B969', 'F0814387A1CC4C17BEAE4EB59DB3DEFF', 10, 'DD14E144DFBA4DE892375B07E70EA17A', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('C9C3FD96155D4DD19F4247B9BC52FB8C', 'F5CAF3CF206A4454A48FA1466932B969', 'F35C4A7DC6584774B5761BC2BD4BBEFB', 20, 'DD14E144DFBA4DE892375B07E70EA17A', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('DA5B9A00E589436382F6E290450D5438', 'F5CAF3CF206A4454A48FA1466932B969', '845C3929F9D74FE2829E1E38D7F57B33', 20, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('59D854A07011489887D06C5B45435C52', 'F5CAF3CF206A4454A48FA1466932B969', '1ED129A364054C1A81788D0A1080F689', 30, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('B1BF3AE7AA30471483F25DFEFC306DC3', 'F5CAF3CF206A4454A48FA1466932B969', 'B6512521E118405986D40EA94106B702', 30, 'DD14E144DFBA4DE892375B07E70EA17A', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('F77E1E55405A4C4298A5DFFBC25CA701', 'F5CAF3CF206A4454A48FA1466932B969', '2CD90B3C086047D39DC887E28C949F88', 40, 'DD14E144DFBA4DE892375B07E70EA17A', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('B9D343B37491446DB8DF4BAAFC2B482A', 'F5CAF3CF206A4454A48FA1466932B969', 'A4B0D06DCC904AD9BF3C7906DAB98744', 40, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('C8BDBD307BA24429AB47D34B8820C81D', 'F5CAF3CF206A4454A48FA1466932B969', 'DDAEA661457B4AA185099E7122BC131B', 50, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('C9B828A2EBFE462C80C8E4C7ACE285D4', 'F5CAF3CF206A4454A48FA1466932B969', 'A0949123DBA248CAA93F68905BFEE127', 60, 'C8E575B2C483413CAF2884477FB6E548', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('8B1B032C07B641819232282953EE1BD4', 'F5CAF3CF206A4454A48FA1466932B969', '196843D6A4AA462F86AB603457CE2100', 10, 'B1BF3AE7AA30471483F25DFEFC306DC3', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
INSERT INTO s_mt.t_page_object (ck_id, ck_page, ck_object, cn_order, ck_parent, ck_master, ck_user, ct_change) VALUES ('77111CDF68074B7F9524AF674FA99C68', 'F5CAF3CF206A4454A48FA1466932B969', 'F323F8193613406E85F6962024B2EC9C', 10, 'C8BDBD307BA24429AB47D34B8820C81D', null, '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-11T00:00:00.000+0000') on conflict (ck_id) do update set ck_page = excluded.ck_page, ck_object = excluded.ck_object, cn_order = excluded.cn_order, ck_parent = excluded.ck_parent, ck_master = excluded.ck_master, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
select pkg_patcher.p_merge_page_object_attr('716EB8E9028B4FE5802950384FC891E3', 'C8E575B2C483413CAF2884477FB6E548', '1204', '[{"in": "ck_id", "out": "g_lang_exclude"}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'setglobal');
select pkg_patcher.p_merge_page_object_attr('C6758F2F825245F5AA19218FFBCC4E1B', '8B1B032C07B641819232282953EE1BD4', '1219', '[{"in": "g_lang_exclude", "out": null}]', '4fd05ca9-3a9e-4d66-82df-886dfa082113', '2019-11-12T00:00:00.000+0000', 'getglobaltostore');
update s_mt.t_page_object set ck_master='C8E575B2C483413CAF2884477FB6E548' where ck_id='DD14E144DFBA4DE892375B07E70EA17A';
INSERT INTO s_mt.t_localization (ck_id, ck_d_lang, cr_namespace, cv_value, ck_user, ct_change)
select t.ck_id, t.ck_d_lang, t.cr_namespace, t.cv_value, t.ck_user, t.ct_change::timestamp from (
select '356026998685486b99fc07969bd2af68' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Идентификатор' as cv_value, '-11' as ck_user, '2019-12-08T15:00:00.000+0000' as ct_change
union all
select '16e495742eee4776af2456e0549b93f3' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Перевод' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select '2544bf435d024d16920dfbd2f1b3b5e1' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Расположение' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select '44cb4487def44b74b32a748751d0263b' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Слово/Фраза' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select '4d1ff7c496954fd086b885c399da2831' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Тип расположения' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select '6a6756ec59b64dcdac246cfdf6a9e28e' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Список слов/фраз' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select '7e9709869e4e48ab9344e347eeadcbf2' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Словарь' as cv_value, '-11' as ck_user, '2019-12-09T21:00:00.000+0000' as ct_change
union all
select 'd0ad23ef13f8493e996cfca8a98d0721' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Редактировать значение' as cv_value, '-11' as ck_user, '2019-12-10T00:00:00.000+0000' as ct_change
union all
select '122d20300ab34c02b78bd1d3945e5eeb' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Добавить' as cv_value, '4fd05ca9-3a9e-4d66-82df-886dfa082113' as ck_user, '2019-12-25T00:00:00.000+0000' as ct_change
union all
select '8ebf011fbbad4c45bd0e93d6f8f39b20' as ck_id, 'ru_RU' as ck_d_lang, 'meta' as cr_namespace, 'Язык' as cv_value, '4fd05ca9-3a9e-4d66-82df-886dfa082113' as ck_user, '2019-12-25T21:00:00.000+0000' as ct_change
) as t
join s_mt.t_d_lang dl
on t.ck_d_lang = dl.ck_id
on conflict on constraint cin_u_localization_1 do update set ck_id = excluded.ck_id, ck_d_lang = excluded.ck_d_lang, cr_namespace = excluded.cr_namespace, cv_value = excluded.cv_value, ck_user = excluded.ck_user, ct_change = excluded.ct_change;
|
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: db:3306
-- Generation Time: Dec 20, 2019 at 12:17 PM
-- Server version: 8.0.18
-- PHP Version: 7.2.23
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: `b6010546915`
--
-- --------------------------------------------------------
--
-- Table structure for table `khonKaen`
--
CREATE TABLE `khonKaen` (
`year` int(4) DEFAULT NULL,
`month` varchar(9) DEFAULT NULL,
`date` int(2) DEFAULT NULL,
`tempMax` decimal(5,2) DEFAULT NULL,
`tempAvg` decimal(4,2) DEFAULT NULL,
`tempMin` decimal(4,2) DEFAULT NULL,
`tempMonthAvg` decimal(4,2) DEFAULT NULL,
`tempDiff` decimal(5,2) DEFAULT NULL,
`sunrise` varchar(14) DEFAULT NULL,
`sunset` varchar(14) DEFAULT NULL,
`length` varchar(8) DEFAULT NULL,
`difference` varchar(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `khonKaen`
--
INSERT INTO `khonKaen` (`year`, `month`, `date`, `tempMax`, `tempAvg`, `tempMin`, `tempMonthAvg`, `tempDiff`, `sunrise`, `sunset`, `length`, `difference`) VALUES
(2017, 'January', 1, '86.00', '74.40', '66.00', '66.00', '0.00', '06:37 ↑ (114°)', '17:47 ↑ (246°)', '11:10:20', '+0:12'),
(2017, 'January', 2, '88.00', '79.10', '68.00', '67.00', '1.00', '06:37 ↑ (114°)', '17:47 ↑ (246°)', '11:10:35', '+0:15'),
(2017, 'January', 3, '90.00', '78.10', '68.00', '67.33', '0.67', '06:37 ↑ (114°)', '17:48 ↑ (246°)', '11:10:51', '+0:15'),
(2017, 'January', 4, '82.00', '75.10', '66.00', '67.00', '-1.00', '06:38 ↑ (113°)', '17:49 ↑ (247°)', '11:11:08', '+0:16'),
(2017, 'January', 5, '88.00', '78.80', '72.00', '68.00', '4.00', '06:38 ↑ (113°)', '17:49 ↑ (247°)', '11:11:25', '+0:17'),
(2017, 'January', 6, '88.00', '77.60', '70.00', '68.33', '1.67', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:11:44', '+0:19'),
(2017, 'January', 7, '91.00', '79.40', '72.00', '68.86', '3.14', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:12:05', '+0:20'),
(2017, 'January', 8, '90.00', '78.60', '72.00', '69.25', '2.75', '06:39 ↑ (113°)', '17:51 ↑ (247°)', '11:12:26', '+0:21'),
(2017, 'January', 9, '90.00', '81.00', '73.00', '69.67', '3.33', '06:39 ↑ (113°)', '17:52 ↑ (247°)', '11:12:49', '+0:22'),
(2017, 'January', 10, '84.00', '76.10', '72.00', '69.90', '2.10', '06:39 ↑ (113°)', '17:52 ↑ (247°)', '11:13:12', '+0:23'),
(2017, 'January', 11, '90.00', '79.10', '72.00', '70.09', '1.91', '06:39 ↑ (113°)', '17:53 ↑ (248°)', '11:13:37', '+0:24'),
(2017, 'January', 12, '91.00', '81.30', '73.00', '70.33', '2.67', '06:39 ↑ (112°)', '17:54 ↑ (248°)', '11:14:03', '+0:25'),
(2017, 'January', 13, '90.00', '80.80', '75.00', '70.69', '4.31', '06:40 ↑ (112°)', '17:54 ↑ (248°)', '11:14:29', '+0:26'),
(2017, 'January', 14, '91.00', '78.80', '68.00', '70.50', '-2.50', '06:40 ↑ (112°)', '17:55 ↑ (248°)', '11:14:57', '+0:27'),
(2017, 'January', 15, '91.00', '78.80', '66.00', '70.20', '-4.20', '06:40 ↑ (112°)', '17:55 ↑ (248°)', '11:15:26', '+0:28'),
(2017, 'January', 16, '90.00', '78.60', '64.00', '69.81', '-5.81', '06:40 ↑ (112°)', '17:56 ↑ (248°)', '11:15:56', '+0:29'),
(2017, 'January', 17, '86.00', '78.70', '73.00', '70.00', '3.00', '06:40 ↑ (111°)', '17:57 ↑ (249°)', '11:16:27', '+0:30'),
(2017, 'January', 18, '88.00', '78.00', '70.00', '70.00', '0.00', '06:40 ↑ (111°)', '17:57 ↑ (249°)', '11:16:59', '+0:31'),
(2017, 'January', 19, '91.00', '78.90', '66.00', '69.79', '-3.79', '06:40 ↑ (111°)', '17:58 ↑ (249°)', '11:17:31', '+0:32'),
(2017, 'January', 20, '90.00', '77.80', '68.00', '69.70', '-1.70', '06:40 ↑ (111°)', '17:58 ↑ (249°)', '11:18:05', '+0:33'),
(2017, 'January', 21, '90.00', '76.20', '64.00', '69.43', '-5.43', '06:40 ↑ (111°)', '17:59 ↑ (250°)', '11:18:40', '+0:34'),
(2017, 'January', 22, '88.00', '75.00', '63.00', '69.14', '-6.14', '06:40 ↑ (110°)', '17:59 ↑ (250°)', '11:19:15', '+0:35'),
(2017, 'January', 23, '84.00', '72.50', '61.00', '68.78', '-7.78', '06:40 ↑ (110°)', '18:00 ↑ (250°)', '11:19:51', '+0:36'),
(2017, 'January', 24, '86.00', '73.20', '61.00', '68.46', '-7.46', '06:40 ↑ (110°)', '18:01 ↑ (250°)', '11:20:28', '+0:37'),
(2017, 'January', 25, '91.00', '77.00', '64.00', '68.28', '-4.28', '06:40 ↑ (110°)', '18:01 ↑ (251°)', '11:21:06', '+0:37'),
(2017, 'January', 26, '88.00', '77.50', '70.00', '68.35', '1.65', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:21:45', '+0:38'),
(2017, 'January', 27, '86.00', '73.80', '61.00', '68.07', '-7.07', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:22:24', '+0:39'),
(2017, 'January', 28, '86.00', '74.50', '66.00', '68.00', '-2.00', '06:40 ↑ (109°)', '18:03 ↑ (251°)', '11:23:05', '+0:40'),
(2017, 'January', 29, '88.00', '73.80', '61.00', '67.76', '-6.76', '06:39 ↑ (108°)', '18:03 ↑ (252°)', '11:23:46', '+0:40'),
(2017, 'January', 30, '91.00', '76.70', '63.00', '67.60', '-4.60', '06:39 ↑ (108°)', '18:04 ↑ (252°)', '11:24:27', '+0:41'),
(2017, 'January', 31, '88.00', '74.50', '61.00', '67.39', '-6.39', '06:39 ↑ (108°)', '18:04 ↑ (252°)', '11:25:09', '+0:42'),
(2017, 'February', 1, '90.00', '75.70', '59.00', '67.13', '-8.13', '06:39 ↑ (108°)', '18:05 ↑ (253°)', '11:25:52', '+0:42'),
(2017, 'February', 2, '88.00', '76.30', '66.00', '67.09', '-1.09', '06:39 ↑ (107°)', '18:05 ↑ (253°)', '11:26:36', '+0:43'),
(2017, 'February', 3, '86.00', '77.00', '70.00', '67.18', '2.82', '06:38 ↑ (107°)', '18:06 ↑ (253°)', '11:27:20', '+0:44'),
(2017, 'February', 4, '93.00', '79.00', '68.00', '67.20', '0.80', '06:38 ↑ (107°)', '18:06 ↑ (253°)', '11:28:05', '+0:44'),
(2017, 'February', 5, '93.00', '78.80', '64.00', '67.11', '-3.11', '06:38 ↑ (106°)', '18:07 ↑ (254°)', '11:28:50', '+0:45'),
(2017, 'February', 6, '93.00', '78.60', '63.00', '67.00', '-4.00', '06:37 ↑ (106°)', '18:07 ↑ (254°)', '11:29:36', '+0:45'),
(2017, 'February', 7, '97.00', '79.10', '63.00', '66.89', '-3.89', '06:37 ↑ (106°)', '18:08 ↑ (254°)', '11:30:22', '+0:46'),
(2017, 'February', 8, '95.00', '78.40', '63.00', '66.79', '-3.79', '06:37 ↑ (105°)', '18:08 ↑ (255°)', '11:31:09', '+0:46'),
(2017, 'February', 9, '90.00', '78.00', '66.00', '66.78', '-0.78', '06:36 ↑ (105°)', '18:08 ↑ (255°)', '11:31:57', '+0:47'),
(2017, 'February', 10, '86.00', '74.10', '64.00', '66.71', '-2.71', '06:36 ↑ (105°)', '18:09 ↑ (255°)', '11:32:45', '+0:47'),
(2017, 'February', 11, '86.00', '73.00', '59.00', '66.52', '-7.52', '06:36 ↑ (104°)', '18:09 ↑ (256°)', '11:33:33', '+0:48'),
(2017, 'February', 12, '84.00', '70.50', '55.00', '66.26', '-11.26', '06:35 ↑ (104°)', '18:10 ↑ (256°)', '11:34:22', '+0:48'),
(2017, 'February', 13, '84.00', '71.30', '57.00', '66.05', '-9.05', '06:35 ↑ (104°)', '18:10 ↑ (256°)', '11:35:11', '+0:49'),
(2017, 'February', 14, '86.00', '73.00', '59.00', '65.89', '-6.89', '06:34 ↑ (103°)', '18:10 ↑ (257°)', '11:36:01', '+0:49'),
(2017, 'February', 15, '86.00', '74.00', '59.00', '65.74', '-6.74', '06:34 ↑ (103°)', '18:11 ↑ (257°)', '11:36:51', '+0:50'),
(2017, 'February', 16, '88.00', '75.60', '61.00', '65.64', '-4.64', '06:33 ↑ (103°)', '18:11 ↑ (258°)', '11:37:41', '+0:50'),
(2017, 'February', 17, '91.00', '76.80', '61.00', '65.54', '-4.54', '06:33 ↑ (102°)', '18:12 ↑ (258°)', '11:38:32', '+0:50'),
(2017, 'February', 18, '91.00', '77.10', '61.00', '65.45', '-4.45', '06:32 ↑ (102°)', '18:12 ↑ (258°)', '11:39:23', '+0:51'),
(2017, 'February', 19, '91.00', '77.00', '61.00', '65.36', '-4.36', '06:32 ↑ (102°)', '18:12 ↑ (259°)', '11:40:15', '+0:51'),
(2017, 'February', 20, '97.00', '79.70', '64.00', '65.33', '-1.33', '06:31 ↑ (101°)', '18:13 ↑ (259°)', '11:41:07', '+0:51'),
(2017, 'February', 21, '97.00', '83.00', '70.00', '65.42', '4.58', '06:31 ↑ (101°)', '18:13 ↑ (259°)', '11:41:59', '+0:52'),
(2017, 'February', 22, '99.00', '83.70', '70.00', '65.51', '4.49', '06:30 ↑ (100°)', '18:13 ↑ (260°)', '11:42:51', '+0:52'),
(2017, 'February', 23, '102.00', '81.50', '0.00', '64.30', '-64.30', '06:30 ↑ (100°)', '18:13 ↑ (260°)', '11:43:44', '+0:52'),
(2017, 'February', 24, '95.00', '85.00', '77.00', '64.53', '12.47', '06:29 ↑ (100°)', '18:14 ↑ (261°)', '11:44:37', '+0:52'),
(2017, 'February', 25, '84.00', '77.30', '70.00', '64.63', '5.38', '06:29 ↑ (99°)', '18:14 ↑ (261°)', '11:45:30', '+0:53'),
(2017, 'February', 26, '82.00', '70.70', '0.00', '63.49', '-63.49', '06:28 ↑ (99°)', '18:14 ↑ (261°)', '11:46:23', '+0:53'),
(2017, 'February', 27, '86.00', '76.00', '64.00', '63.50', '0.50', '06:27 ↑ (98°)', '18:15 ↑ (262°)', '11:47:17', '+0:53'),
(2017, 'February', 28, '91.00', '77.10', '64.00', '63.51', '0.49', '06:27 ↑ (98°)', '18:15 ↑ (262°)', '11:48:11', '+0:53'),
(2017, 'March', 1, '91.00', '76.10', '0.00', '62.45', '-62.45', '06:26 ↑ (98°)', '18:15 ↑ (263°)', '11:49:05', '+0:54'),
(2017, 'March', 2, '90.00', '75.60', '63.00', '62.46', '0.54', '06:25 ↑ (97°)', '18:15 ↑ (263°)', '11:49:59', '+0:54'),
(2017, 'March', 3, '91.00', '74.10', '0.00', '61.45', '-61.45', '06:25 ↑ (97°)', '18:16 ↑ (263°)', '11:50:53', '+0:54'),
(2017, 'March', 4, '97.00', '81.70', '66.00', '61.52', '4.48', '06:24 ↑ (96°)', '18:16 ↑ (264°)', '11:51:48', '+0:54'),
(2017, 'March', 5, '99.00', '83.40', '70.00', '61.66', '8.34', '06:23 ↑ (96°)', '18:16 ↑ (264°)', '11:52:43', '+0:54'),
(2017, 'March', 6, '100.00', '85.20', '72.00', '61.82', '10.18', '06:23 ↑ (96°)', '18:16 ↑ (265°)', '11:53:37', '+0:54'),
(2017, 'March', 7, '97.00', '83.20', '75.00', '62.02', '12.98', '06:22 ↑ (95°)', '18:17 ↑ (265°)', '11:54:32', '+0:54'),
(2017, 'March', 8, '91.00', '80.00', '75.00', '62.21', '12.79', '06:21 ↑ (95°)', '18:17 ↑ (265°)', '11:55:27', '+0:55'),
(2017, 'March', 9, '93.00', '80.00', '72.00', '62.35', '9.65', '06:21 ↑ (94°)', '18:17 ↑ (266°)', '11:56:23', '+0:55'),
(2017, 'March', 10, '97.00', '84.20', '72.00', '62.49', '9.51', '06:20 ↑ (94°)', '18:17 ↑ (266°)', '11:57:18', '+0:55'),
(2017, 'March', 11, '102.00', '87.40', '73.00', '62.64', '10.36', '06:19 ↑ (94°)', '18:17 ↑ (267°)', '11:58:13', '+0:55'),
(2017, 'March', 12, '100.00', '88.40', '77.00', '62.85', '14.15', '06:18 ↑ (93°)', '18:18 ↑ (267°)', '11:59:09', '+0:55'),
(2017, 'March', 13, '104.00', '88.00', '73.00', '62.99', '10.01', '06:18 ↑ (93°)', '18:18 ↑ (267°)', '12:00:04', '+0:55'),
(2017, 'March', 14, '104.00', '86.60', '70.00', '63.08', '6.92', '06:17 ↑ (92°)', '18:18 ↑ (268°)', '12:01:00', '+0:55'),
(2017, 'March', 15, '99.00', '87.30', '77.00', '63.27', '13.73', '06:16 ↑ (92°)', '18:18 ↑ (268°)', '12:01:56', '+0:55'),
(2017, 'March', 16, '90.00', '81.90', '77.00', '63.45', '13.55', '06:15 ↑ (92°)', '18:18 ↑ (269°)', '12:02:51', '+0:55'),
(2017, 'March', 17, '95.00', '80.40', '75.00', '63.61', '11.39', '06:15 ↑ (91°)', '18:19 ↑ (269°)', '12:03:47', '+0:55'),
(2017, 'March', 18, '91.00', '80.40', '72.00', '63.71', '8.29', '06:14 ↑ (91°)', '18:19 ↑ (269°)', '12:04:43', '+0:55'),
(2017, 'March', 19, '95.00', '79.10', '73.00', '63.83', '9.17', '06:13 ↑ (90°)', '18:19 ↑ (270°)', '12:05:39', '+0:55'),
(2017, 'March', 20, '95.00', '82.40', '73.00', '63.95', '9.05', '06:12 ↑ (90°)', '18:19 ↑ (270°)', '12:06:34', '+0:55'),
(2017, 'March', 21, '99.00', '82.70', '75.00', '64.09', '10.91', '06:12 ↑ (90°)', '18:19 ↑ (271°)', '12:07:30', '+0:55'),
(2017, 'March', 22, '97.00', '83.40', '72.00', '64.19', '7.81', '06:11 ↑ (89°)', '18:19 ↑ (271°)', '12:08:26', '+0:55'),
(2017, 'March', 23, '97.00', '85.90', '75.00', '64.32', '10.68', '06:10 ↑ (89°)', '18:20 ↑ (271°)', '12:09:22', '+0:55'),
(2017, 'March', 24, '95.00', '83.20', '75.00', '64.45', '10.55', '06:09 ↑ (88°)', '18:20 ↑ (272°)', '12:10:18', '+0:55'),
(2017, 'March', 25, '95.00', '82.60', '72.00', '64.54', '7.46', '06:09 ↑ (88°)', '18:20 ↑ (272°)', '12:11:13', '+0:55'),
(2017, 'March', 26, '86.00', '78.80', '73.00', '64.64', '8.36', '06:08 ↑ (87°)', '18:20 ↑ (273°)', '12:12:09', '+0:55'),
(2017, 'March', 27, '81.00', '74.40', '68.00', '64.67', '3.33', '06:07 ↑ (87°)', '18:20 ↑ (273°)', '12:13:05', '+0:55'),
(2017, 'March', 28, '91.00', '79.60', '66.00', '64.69', '1.31', '06:06 ↑ (87°)', '18:20 ↑ (274°)', '12:14:00', '+0:55'),
(2017, 'March', 29, '97.00', '84.80', '70.00', '64.75', '5.25', '06:06 ↑ (86°)', '18:21 ↑ (274°)', '12:14:56', '+0:55'),
(2017, 'March', 30, '99.00', '86.10', '75.00', '64.87', '10.13', '06:05 ↑ (86°)', '18:21 ↑ (274°)', '12:15:51', '+0:55'),
(2017, 'March', 31, '93.00', '80.30', '73.00', '64.96', '8.04', '06:04 ↑ (85°)', '18:21 ↑ (275°)', '12:16:47', '+0:55'),
(2017, 'April', 1, '86.00', '78.70', '73.00', '65.04', '7.96', '06:03 ↑ (85°)', '18:21 ↑ (275°)', '12:17:42', '+0:55'),
(2017, 'April', 2, '88.00', '78.00', '68.00', '65.08', '2.92', '06:03 ↑ (85°)', '18:21 ↑ (276°)', '12:18:37', '+0:55'),
(2017, 'April', 3, '91.00', '79.90', '68.00', '65.11', '2.89', '06:02 ↑ (84°)', '18:21 ↑ (276°)', '12:19:32', '+0:55'),
(2017, 'April', 4, '95.00', '82.60', '72.00', '65.18', '6.82', '06:01 ↑ (84°)', '18:22 ↑ (276°)', '12:20:27', '+0:54'),
(2017, 'April', 5, '95.00', '84.10', '77.00', '65.31', '11.69', '06:00 ↑ (83°)', '18:22 ↑ (277°)', '12:21:22', '+0:54'),
(2017, 'April', 6, '93.00', '83.70', '77.00', '65.43', '11.57', '06:00 ↑ (83°)', '18:22 ↑ (277°)', '12:22:17', '+0:54'),
(2017, 'April', 7, '100.00', '86.90', '75.00', '65.53', '9.47', '05:59 ↑ (83°)', '18:22 ↑ (278°)', '12:23:11', '+0:54'),
(2017, 'April', 8, '100.00', '88.50', '75.00', '65.62', '9.38', '05:58 ↑ (82°)', '18:22 ↑ (278°)', '12:24:05', '+0:54'),
(2017, 'April', 9, '102.00', '89.80', '77.00', '65.74', '11.26', '05:57 ↑ (82°)', '18:22 ↑ (278°)', '12:25:00', '+0:54'),
(2017, 'April', 10, '102.00', '90.00', '79.00', '65.87', '13.13', '05:57 ↑ (81°)', '18:23 ↑ (279°)', '12:25:53', '+0:53'),
(2017, 'April', 11, '102.00', '90.40', '79.00', '66.00', '13.00', '05:56 ↑ (81°)', '18:23 ↑ (279°)', '12:26:47', '+0:53'),
(2017, 'April', 12, '100.00', '90.70', '79.00', '66.13', '12.87', '05:55 ↑ (81°)', '18:23 ↑ (279°)', '12:27:41', '+0:53'),
(2017, 'April', 13, '95.00', '82.70', '73.00', '66.19', '6.81', '05:55 ↑ (80°)', '18:23 ↑ (280°)', '12:28:34', '+0:53'),
(2017, 'April', 14, '97.00', '81.20', '0.00', '65.56', '-65.56', '05:54 ↑ (80°)', '18:23 ↑ (280°)', '12:29:27', '+0:53'),
(2017, 'April', 15, '97.00', '85.60', '75.00', '65.65', '9.35', '05:53 ↑ (80°)', '18:23 ↑ (281°)', '12:30:20', '+0:52'),
(2017, 'April', 16, '99.00', '85.40', '75.00', '65.74', '9.26', '05:52 ↑ (79°)', '18:24 ↑ (281°)', '12:31:13', '+0:52'),
(2017, 'April', 17, '99.00', '87.20', '75.00', '65.82', '9.18', '05:52 ↑ (79°)', '18:24 ↑ (281°)', '12:32:05', '+0:52'),
(2017, 'April', 18, '99.00', '86.80', '75.00', '65.91', '9.09', '05:51 ↑ (78°)', '18:24 ↑ (282°)', '12:32:57', '+0:52'),
(2017, 'April', 19, '95.00', '80.50', '0.00', '65.30', '-65.30', '05:50 ↑ (78°)', '18:24 ↑ (282°)', '12:33:49', '+0:51'),
(2017, 'April', 20, '99.00', '87.60', '77.00', '65.41', '11.59', '05:50 ↑ (78°)', '18:25 ↑ (282°)', '12:34:40', '+0:51'),
(2017, 'April', 21, '102.00', '88.20', '73.00', '65.48', '7.52', '05:49 ↑ (77°)', '18:25 ↑ (283°)', '12:35:31', '+0:51'),
(2017, 'April', 22, '102.00', '88.50', '72.00', '65.54', '6.46', '05:49 ↑ (77°)', '18:25 ↑ (283°)', '12:36:22', '+0:50'),
(2017, 'April', 23, '100.00', '88.10', '77.00', '65.64', '11.36', '05:48 ↑ (77°)', '18:25 ↑ (283°)', '12:37:13', '+0:50'),
(2017, 'April', 24, '99.00', '81.40', '72.00', '65.69', '6.31', '05:47 ↑ (76°)', '18:25 ↑ (284°)', '12:38:03', '+0:50'),
(2017, 'April', 25, '91.00', '78.50', '73.00', '65.76', '7.24', '05:47 ↑ (76°)', '18:26 ↑ (284°)', '12:38:53', '+0:49'),
(2017, 'April', 26, '95.00', '83.30', '72.00', '65.81', '6.19', '05:46 ↑ (76°)', '18:26 ↑ (285°)', '12:39:42', '+0:49'),
(2017, 'April', 27, '100.00', '87.40', '77.00', '65.91', '11.09', '05:46 ↑ (75°)', '18:26 ↑ (285°)', '12:40:31', '+0:48'),
(2017, 'April', 28, '91.00', '82.80', '79.00', '66.02', '12.98', '05:45 ↑ (75°)', '18:26 ↑ (285°)', '12:41:19', '+0:48'),
(2017, 'April', 29, '91.00', '82.90', '77.00', '66.11', '10.89', '05:45 ↑ (75°)', '18:27 ↑ (285°)', '12:42:08', '+0:48'),
(2017, 'April', 30, '97.00', '84.80', '75.00', '66.18', '8.82', '05:44 ↑ (74°)', '18:27 ↑ (286°)', '12:42:55', '+0:47'),
(2017, 'May', 1, '99.00', '86.70', '77.00', '66.27', '10.73', '05:44 ↑ (74°)', '18:27 ↑ (286°)', '12:43:42', '+0:47'),
(2017, 'May', 2, '104.00', '89.30', '77.00', '66.36', '10.64', '05:43 ↑ (74°)', '18:27 ↑ (286°)', '12:44:29', '+0:46'),
(2017, 'May', 3, '102.00', '90.20', '79.00', '66.46', '12.54', '05:43 ↑ (73°)', '18:28 ↑ (287°)', '12:45:15', '+0:46'),
(2017, 'May', 4, '100.00', '82.40', '0.00', '65.93', '-65.93', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:46:01', '+0:45'),
(2017, 'May', 5, '95.00', '83.10', '73.00', '65.98', '7.02', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:46:46', '+0:45'),
(2017, 'May', 6, '99.00', '85.50', '75.00', '66.06', '8.94', '05:41 ↑ (73°)', '18:29 ↑ (288°)', '12:47:30', '+0:44'),
(2017, 'May', 7, '90.00', '80.50', '73.00', '66.11', '6.89', '05:41 ↑ (72°)', '18:29 ↑ (288°)', '12:48:14', '+0:43'),
(2017, 'May', 8, '99.00', '84.10', '77.00', '66.20', '10.80', '05:40 ↑ (72°)', '18:29 ↑ (288°)', '12:48:58', '+0:43'),
(2017, 'May', 9, '99.00', '83.90', '75.00', '66.26', '8.74', '05:40 ↑ (72°)', '18:30 ↑ (289°)', '12:49:40', '+0:42'),
(2017, 'May', 10, '91.00', '80.40', '73.00', '66.32', '6.68', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:50:22', '+0:42'),
(2017, 'May', 11, '91.00', '81.50', '73.00', '66.37', '6.63', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:51:04', '+0:41'),
(2017, 'May', 12, '93.00', '84.00', '75.00', '66.43', '8.57', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:51:45', '+0:40'),
(2017, 'May', 13, '91.00', '82.00', '77.00', '66.51', '10.49', '05:38 ↑ (71°)', '18:31 ↑ (290°)', '12:52:25', '+0:40'),
(2017, 'May', 14, '95.00', '83.90', '75.00', '66.57', '8.43', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:53:04', '+0:39'),
(2017, 'May', 15, '93.00', '82.20', '75.00', '66.64', '8.36', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:53:43', '+0:38'),
(2017, 'May', 16, '90.00', '78.50', '75.00', '66.70', '8.30', '05:37 ↑ (70°)', '18:32 ↑ (290°)', '12:54:21', '+0:37'),
(2017, 'May', 17, '82.00', '77.20', '73.00', '66.74', '6.26', '05:37 ↑ (70°)', '18:32 ↑ (291°)', '12:54:58', '+0:37'),
(2017, 'May', 18, '88.00', '78.90', '75.00', '66.80', '8.20', '05:37 ↑ (69°)', '18:32 ↑ (291°)', '12:55:34', '+0:36'),
(2017, 'May', 19, '93.00', '83.10', '77.00', '66.88', '10.12', '05:37 ↑ (69°)', '18:33 ↑ (291°)', '12:56:10', '+0:35'),
(2017, 'May', 20, '95.00', '84.80', '77.00', '66.95', '10.05', '05:36 ↑ (69°)', '18:33 ↑ (291°)', '12:56:45', '+0:34'),
(2017, 'May', 21, '97.00', '86.30', '79.00', '67.04', '11.96', '05:36 ↑ (69°)', '18:33 ↑ (291°)', '12:57:19', '+0:33'),
(2017, 'May', 22, '97.00', '85.90', '77.00', '67.11', '9.89', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:57:52', '+0:33'),
(2017, 'May', 23, '97.00', '84.50', '79.00', '67.19', '11.81', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:58:24', '+0:32'),
(2017, 'May', 24, '95.00', '83.20', '77.00', '67.26', '9.74', '05:36 ↑ (68°)', '18:35 ↑ (292°)', '12:58:55', '+0:31'),
(2017, 'May', 25, '91.00', '81.60', '75.00', '67.31', '7.69', '05:35 ↑ (68°)', '18:35 ↑ (292°)', '12:59:26', '+0:30'),
(2017, 'May', 26, '88.00', '81.10', '75.00', '67.36', '7.64', '05:35 ↑ (68°)', '18:35 ↑ (292°)', '12:59:55', '+0:29'),
(2017, 'May', 27, '90.00', '83.00', '75.00', '67.41', '7.59', '05:35 ↑ (68°)', '18:36 ↑ (293°)', '13:00:24', '+0:28'),
(2017, 'May', 28, '93.00', '84.80', '77.00', '67.48', '9.52', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:00:52', '+0:27'),
(2017, 'May', 29, '91.00', '84.20', '77.00', '67.54', '9.46', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:01:18', '+0:26'),
(2017, 'May', 30, '88.00', '81.10', '77.00', '67.61', '9.39', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:01:44', '+0:25'),
(2017, 'May', 31, '95.00', '83.50', '77.00', '67.67', '9.33', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:02:08', '+0:24'),
(2017, 'June', 1, '95.00', '85.70', '77.00', '67.73', '9.27', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:02:32', '+0:23'),
(2017, 'June', 2, '93.00', '84.60', '81.00', '67.82', '13.18', '05:35 ↑ (67°)', '18:38 ↑ (294°)', '13:02:54', '+0:22'),
(2017, 'June', 3, '95.00', '85.30', '77.00', '67.88', '9.12', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:16', '+0:21'),
(2017, 'June', 4, '97.00', '85.90', '75.00', '67.92', '7.08', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:36', '+0:20'),
(2017, 'June', 5, '95.00', '86.50', '77.00', '67.98', '9.02', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:03:55', '+0:19'),
(2017, 'June', 6, '97.00', '83.90', '77.00', '68.04', '8.96', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:13', '+0:18'),
(2017, 'June', 7, '91.00', '81.00', '75.00', '68.08', '6.92', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:30', '+0:17'),
(2017, 'June', 8, '90.00', '80.60', '75.00', '68.13', '6.87', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:04:46', '+0:15'),
(2017, 'June', 9, '88.00', '80.40', '75.00', '68.17', '6.83', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:01', '+0:14'),
(2017, 'June', 10, '91.00', '82.60', '73.00', '68.20', '4.80', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:15', '+0:13'),
(2017, 'June', 11, '88.00', '79.80', '75.00', '68.24', '6.76', '05:35 ↑ (66°)', '18:41 ↑ (294°)', '13:05:27', '+0:12'),
(2017, 'June', 12, '93.00', '84.70', '79.00', '68.31', '10.69', '05:35 ↑ (66°)', '18:41 ↑ (294°)', '13:05:38', '+0:11'),
(2017, 'June', 13, '93.00', '82.00', '75.00', '68.35', '6.65', '05:35 ↑ (65°)', '18:41 ↑ (295°)', '13:05:49', '+0:10'),
(2017, 'June', 14, '93.00', '80.20', '75.00', '68.39', '6.61', '05:35 ↑ (65°)', '18:41 ↑ (295°)', '13:05:57', '+0:08'),
(2017, 'June', 15, '93.00', '82.80', '77.00', '68.44', '8.56', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:05', '+0:07'),
(2017, 'June', 16, '97.00', '85.50', '75.00', '68.48', '6.52', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:12', '+0:06'),
(2017, 'June', 17, '91.00', '83.70', '73.00', '68.51', '4.49', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:17', '+0:05'),
(2017, 'June', 18, '93.00', '83.50', '77.00', '68.56', '8.44', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:21', '+0:04'),
(2017, 'June', 19, '93.00', '83.60', '77.00', '68.61', '8.39', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:24', '+0:02'),
(2017, 'June', 20, '91.00', '83.90', '79.00', '68.67', '10.33', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:26', '+0:01'),
(2017, 'June', 21, '93.00', '85.30', '77.00', '68.72', '8.28', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:27', '< 1s'),
(2017, 'June', 22, '97.00', '83.50', '77.00', '68.76', '8.24', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:26', '< 1s'),
(2017, 'June', 23, '93.00', '83.70', '77.00', '68.81', '8.19', '05:37 ↑ (65°)', '18:44 ↑ (295°)', '13:06:24', '−0:01'),
(2017, 'June', 24, '93.00', '82.80', '77.00', '68.86', '8.14', '05:37 ↑ (65°)', '18:44 ↑ (295°)', '13:06:21', '−0:03'),
(2017, 'June', 25, '93.00', '80.90', '75.00', '68.89', '6.11', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:17', '−0:04'),
(2017, 'June', 26, '91.00', '80.60', '75.00', '68.93', '6.07', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:11', '−0:05'),
(2017, 'June', 27, '90.00', '81.60', '75.00', '68.96', '6.04', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:04', '−0:06'),
(2017, 'June', 28, '90.00', '82.50', '77.00', '69.01', '7.99', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:05:57', '−0:07'),
(2017, 'June', 29, '90.00', '79.50', '75.00', '69.04', '5.96', '05:39 ↑ (65°)', '18:44 ↑ (295°)', '13:05:48', '−0:09'),
(2017, 'June', 30, '91.00', '80.10', '75.00', '69.07', '5.93', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:37', '−0:10'),
(2017, 'July', 1, '91.00', '81.70', '72.00', '69.09', '2.91', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:26', '−0:11'),
(2017, 'July', 2, '91.00', '82.80', '77.00', '69.13', '7.87', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:05:13', '−0:12'),
(2017, 'July', 3, '90.00', '82.10', '75.00', '69.16', '5.84', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:05:00', '−0:13'),
(2017, 'July', 4, '84.00', '79.60', '75.00', '69.19', '5.81', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:45', '−0:14'),
(2017, 'July', 5, '88.00', '81.00', '73.00', '69.22', '3.78', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:29', '−0:15'),
(2017, 'July', 6, '90.00', '83.00', '77.00', '69.26', '7.74', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:04:12', '−0:17'),
(2017, 'July', 7, '90.00', '82.30', '77.00', '69.30', '7.70', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:03:54', '−0:18'),
(2017, 'July', 8, '90.00', '82.80', '77.00', '69.34', '7.66', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:03:34', '−0:19'),
(2017, 'July', 9, '91.00', '83.00', '77.00', '69.38', '7.62', '05:42 ↑ (66°)', '18:45 ↑ (294°)', '13:03:14', '−0:20'),
(2017, 'July', 10, '90.00', '81.10', '77.00', '69.42', '7.58', '05:42 ↑ (66°)', '18:45 ↑ (293°)', '13:02:53', '−0:21'),
(2017, 'July', 11, '90.00', '81.80', '77.00', '69.46', '7.54', '05:42 ↑ (67°)', '18:45 ↑ (293°)', '13:02:30', '−0:22'),
(2017, 'July', 12, '91.00', '82.20', '73.00', '69.48', '3.52', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:02:07', '−0:23'),
(2017, 'July', 13, '90.00', '79.90', '75.00', '69.51', '5.49', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:42', '−0:24'),
(2017, 'July', 14, '88.00', '80.10', '75.00', '69.53', '5.47', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:17', '−0:25'),
(2017, 'July', 15, '86.00', '79.10', '77.00', '69.57', '7.43', '05:44 ↑ (67°)', '18:44 ↑ (293°)', '13:00:50', '−0:26'),
(2017, 'July', 16, '86.00', '79.40', '75.00', '69.60', '5.40', '05:44 ↑ (67°)', '18:44 ↑ (293°)', '13:00:23', '−0:27'),
(2017, 'July', 17, '86.00', '79.30', '75.00', '69.63', '5.37', '05:44 ↑ (68°)', '18:44 ↑ (292°)', '12:59:55', '−0:28'),
(2017, 'July', 18, '90.00', '81.70', '75.00', '69.65', '5.35', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:59:25', '−0:29'),
(2017, 'July', 19, '86.00', '80.50', '75.00', '69.68', '5.32', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:58:55', '−0:30'),
(2017, 'July', 20, '90.00', '80.70', '75.00', '69.71', '5.29', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:58:24', '−0:31'),
(2017, 'July', 21, '88.00', '79.20', '75.00', '69.73', '5.27', '05:46 ↑ (68°)', '18:43 ↑ (292°)', '12:57:52', '−0:31'),
(2017, 'July', 22, '90.00', '80.70', '75.00', '69.76', '5.24', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:57:19', '−0:32'),
(2017, 'July', 23, '91.00', '80.60', '75.00', '69.78', '5.22', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:56:46', '−0:33'),
(2017, 'July', 24, '91.00', '82.70', '77.00', '69.82', '7.18', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:56:11', '−0:34'),
(2017, 'July', 25, '90.00', '82.70', '77.00', '69.85', '7.15', '05:47 ↑ (69°)', '18:42 ↑ (291°)', '12:55:36', '−0:35'),
(2017, 'July', 26, '82.00', '77.00', '73.00', '69.87', '3.13', '05:47 ↑ (69°)', '18:42 ↑ (290°)', '12:55:00', '−0:36'),
(2017, 'July', 27, '77.00', '75.80', '75.00', '69.89', '5.11', '05:47 ↑ (70°)', '18:42 ↑ (290°)', '12:54:23', '−0:36'),
(2017, 'July', 28, '86.00', '78.20', '75.00', '69.92', '5.08', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:53:45', '−0:37'),
(2017, 'July', 29, '84.00', '79.60', '77.00', '69.95', '7.05', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:53:07', '−0:38'),
(2017, 'July', 30, '90.00', '79.00', '0.00', '69.62', '-69.62', '05:48 ↑ (70°)', '18:41 ↑ (289°)', '12:52:28', '−0:39'),
(2017, 'July', 31, '93.00', '84.20', '77.00', '69.66', '7.34', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:51:48', '−0:39'),
(2017, 'August', 1, '88.00', '79.10', '0.00', '69.33', '-69.33', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:51:08', '−0:40'),
(2017, 'August', 2, '93.00', '81.90', '77.00', '69.36', '7.64', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:50:27', '−0:41'),
(2017, 'August', 3, '91.00', '83.30', '77.00', '69.40', '7.60', '05:49 ↑ (71°)', '18:39 ↑ (288°)', '12:49:45', '−0:41'),
(2017, 'August', 4, '90.00', '83.70', '79.00', '69.44', '9.56', '05:50 ↑ (72°)', '18:39 ↑ (288°)', '12:49:03', '−0:42'),
(2017, 'August', 5, '86.00', '79.70', '75.00', '69.47', '5.53', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:48:20', '−0:42'),
(2017, 'August', 6, '86.00', '80.40', '77.00', '69.50', '7.50', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:47:37', '−0:43'),
(2017, 'August', 7, '90.00', '81.90', '75.00', '69.53', '5.47', '05:50 ↑ (73°)', '18:37 ↑ (287°)', '12:46:53', '−0:43'),
(2017, 'August', 8, '93.00', '81.90', '73.00', '69.55', '3.45', '05:51 ↑ (73°)', '18:37 ↑ (287°)', '12:46:08', '−0:44'),
(2017, 'August', 9, '95.00', '83.10', '73.00', '69.56', '3.44', '05:51 ↑ (73°)', '18:36 ↑ (287°)', '12:45:23', '−0:45'),
(2017, 'August', 10, '93.00', '80.80', '72.00', '69.57', '2.43', '05:51 ↑ (73°)', '18:36 ↑ (286°)', '12:44:38', '−0:45'),
(2017, 'August', 11, '93.00', '81.90', '75.00', '69.60', '5.40', '05:51 ↑ (74°)', '18:35 ↑ (286°)', '12:43:52', '−0:46'),
(2017, 'August', 12, '95.00', '85.60', '77.00', '69.63', '7.37', '05:52 ↑ (74°)', '18:35 ↑ (286°)', '12:43:05', '−0:46'),
(2017, 'August', 13, '97.00', '86.00', '77.00', '69.66', '7.34', '05:52 ↑ (74°)', '18:34 ↑ (285°)', '12:42:18', '−0:46'),
(2017, 'August', 14, '97.00', '84.50', '75.00', '69.69', '5.31', '05:52 ↑ (75°)', '18:33 ↑ (285°)', '12:41:31', '−0:47'),
(2017, 'August', 15, '91.00', '81.90', '73.00', '69.70', '3.30', '05:52 ↑ (75°)', '18:33 ↑ (285°)', '12:40:43', '−0:47'),
(2017, 'August', 16, '90.00', '79.30', '73.00', '69.71', '3.29', '05:52 ↑ (75°)', '18:32 ↑ (284°)', '12:39:55', '−0:48'),
(2017, 'August', 17, '91.00', '80.00', '73.00', '69.73', '3.27', '05:53 ↑ (76°)', '18:32 ↑ (284°)', '12:39:06', '−0:48'),
(2017, 'August', 18, '91.00', '80.50', '72.00', '69.74', '2.26', '05:53 ↑ (76°)', '18:31 ↑ (284°)', '12:38:17', '−0:48'),
(2017, 'August', 19, '84.00', '77.90', '75.00', '69.76', '5.24', '05:53 ↑ (76°)', '18:30 ↑ (283°)', '12:37:28', '−0:49'),
(2017, 'August', 20, '88.00', '78.90', '77.00', '69.79', '7.21', '05:53 ↑ (77°)', '18:30 ↑ (283°)', '12:36:38', '−0:49'),
(2017, 'August', 21, '91.00', '81.90', '75.00', '69.82', '5.18', '05:53 ↑ (77°)', '18:29 ↑ (283°)', '12:35:48', '−0:50'),
(2017, 'August', 22, '95.00', '84.00', '77.00', '69.85', '7.15', '05:53 ↑ (77°)', '18:28 ↑ (282°)', '12:34:58', '−0:50'),
(2017, 'August', 23, '95.00', '85.00', '77.00', '69.88', '7.12', '05:54 ↑ (78°)', '18:28 ↑ (282°)', '12:34:07', '−0:50'),
(2017, 'August', 24, '90.00', '82.40', '79.00', '69.92', '9.08', '05:54 ↑ (78°)', '18:27 ↑ (282°)', '12:33:16', '−0:50'),
(2017, 'August', 25, '90.00', '78.50', '0.00', '69.62', '-69.62', '05:54 ↑ (79°)', '18:26 ↑ (281°)', '12:32:25', '−0:51'),
(2017, 'August', 26, '86.00', '78.20', '73.00', '69.63', '3.37', '05:54 ↑ (79°)', '18:26 ↑ (281°)', '12:31:33', '−0:51'),
(2017, 'August', 27, '90.00', '78.40', '73.00', '69.65', '3.35', '05:54 ↑ (79°)', '18:25 ↑ (281°)', '12:30:41', '−0:51'),
(2017, 'August', 28, '93.00', '79.90', '75.00', '69.67', '5.33', '05:54 ↑ (80°)', '18:24 ↑ (280°)', '12:29:49', '−0:52'),
(2017, 'August', 29, '82.00', '79.00', '75.00', '69.69', '5.31', '05:55 ↑ (80°)', '18:23 ↑ (280°)', '12:28:57', '−0:52'),
(2017, 'August', 30, '88.00', '79.40', '75.00', '69.71', '5.29', '05:55 ↑ (80°)', '18:23 ↑ (279°)', '12:28:04', '−0:52'),
(2017, 'August', 31, '91.00', '82.80', '75.00', '69.74', '5.26', '05:55 ↑ (81°)', '18:22 ↑ (279°)', '12:27:12', '−0:52'),
(2017, 'September', 1, '90.00', '82.00', '77.00', '69.77', '7.23', '05:55 ↑ (81°)', '18:21 ↑ (279°)', '12:26:19', '−0:52'),
(2017, 'September', 2, '91.00', '82.20', '77.00', '69.80', '7.20', '05:55 ↑ (81°)', '18:20 ↑ (278°)', '12:25:26', '−0:53'),
(2017, 'September', 3, '93.00', '83.80', '77.00', '69.83', '7.17', '05:55 ↑ (82°)', '18:20 ↑ (278°)', '12:24:32', '−0:53'),
(2017, 'September', 4, '93.00', '84.00', '79.00', '69.86', '9.14', '05:55 ↑ (82°)', '18:19 ↑ (278°)', '12:23:39', '−0:53'),
(2017, 'September', 5, '90.00', '81.50', '77.00', '69.89', '7.11', '05:55 ↑ (83°)', '18:18 ↑ (277°)', '12:22:45', '−0:53'),
(2017, 'September', 6, '91.00', '78.90', '73.00', '69.90', '3.10', '05:55 ↑ (83°)', '18:17 ↑ (277°)', '12:21:52', '−0:53'),
(2017, 'September', 7, '91.00', '80.90', '77.00', '69.93', '7.07', '05:56 ↑ (83°)', '18:17 ↑ (276°)', '12:20:58', '−0:53'),
(2017, 'September', 8, '91.00', '83.20', '77.00', '69.96', '7.04', '05:56 ↑ (84°)', '18:16 ↑ (276°)', '12:20:04', '−0:54'),
(2017, 'September', 9, '95.00', '83.70', '79.00', '70.00', '9.00', '05:56 ↑ (84°)', '18:15 ↑ (276°)', '12:19:10', '−0:54'),
(2017, 'September', 10, '93.00', '81.60', '75.00', '70.02', '4.98', '05:56 ↑ (85°)', '18:14 ↑ (275°)', '12:18:15', '−0:54'),
(2017, 'September', 11, '95.00', '83.20', '73.00', '70.03', '2.97', '05:56 ↑ (85°)', '18:13 ↑ (275°)', '12:17:21', '−0:54'),
(2017, 'September', 12, '93.00', '83.00', '75.00', '70.05', '4.95', '05:56 ↑ (85°)', '18:13 ↑ (274°)', '12:16:27', '−0:54'),
(2017, 'September', 13, '95.00', '86.00', '77.00', '70.07', '6.93', '05:56 ↑ (86°)', '18:12 ↑ (274°)', '12:15:32', '−0:54'),
(2017, 'September', 14, '93.00', '83.00', '77.00', '70.10', '6.90', '05:56 ↑ (86°)', '18:11 ↑ (274°)', '12:14:37', '−0:54'),
(2017, 'September', 15, '82.00', '78.30', '75.00', '70.12', '4.88', '05:56 ↑ (87°)', '18:10 ↑ (273°)', '12:13:43', '−0:54'),
(2017, 'September', 16, '88.00', '79.80', '75.00', '70.14', '4.86', '05:57 ↑ (87°)', '18:09 ↑ (273°)', '12:12:48', '−0:54'),
(2017, 'September', 17, '90.00', '80.80', '75.00', '70.16', '4.84', '05:57 ↑ (87°)', '18:09 ↑ (272°)', '12:11:53', '−0:54'),
(2017, 'September', 18, '93.00', '82.90', '75.00', '70.18', '4.82', '05:57 ↑ (88°)', '18:08 ↑ (272°)', '12:10:58', '−0:54'),
(2017, 'September', 19, '95.00', '85.50', '77.00', '70.20', '6.80', '05:57 ↑ (88°)', '18:07 ↑ (272°)', '12:10:03', '−0:54'),
(2017, 'September', 20, '90.00', '80.70', '75.00', '70.22', '4.78', '05:57 ↑ (89°)', '18:06 ↑ (271°)', '12:09:08', '−0:54'),
(2017, 'September', 21, '93.00', '83.70', '75.00', '70.24', '4.76', '05:57 ↑ (89°)', '18:05 ↑ (271°)', '12:08:13', '−0:54'),
(2017, 'September', 22, '93.00', '84.80', '79.00', '70.27', '8.73', '05:57 ↑ (89°)', '18:04 ↑ (270°)', '12:07:18', '−0:54'),
(2017, 'September', 23, '91.00', '79.20', '75.00', '70.29', '4.71', '05:57 ↑ (90°)', '18:04 ↑ (270°)', '12:06:23', '−0:54'),
(2017, 'September', 24, '90.00', '81.80', '77.00', '70.31', '6.69', '05:57 ↑ (90°)', '18:03 ↑ (270°)', '12:05:28', '−0:54'),
(2017, 'September', 25, '84.00', '80.00', '77.00', '70.34', '6.66', '05:57 ↑ (91°)', '18:02 ↑ (269°)', '12:04:33', '−0:54'),
(2017, 'September', 26, '91.00', '81.00', '75.00', '70.36', '4.64', '05:58 ↑ (91°)', '18:01 ↑ (269°)', '12:03:38', '−0:54'),
(2017, 'September', 27, '95.00', '83.80', '77.00', '70.38', '6.62', '05:58 ↑ (91°)', '18:00 ↑ (268°)', '12:02:44', '−0:54'),
(2017, 'September', 28, '93.00', '80.70', '77.00', '70.41', '6.59', '05:58 ↑ (92°)', '18:00 ↑ (268°)', '12:01:49', '−0:54'),
(2017, 'September', 29, '91.00', '80.60', '73.00', '70.42', '2.58', '05:58 ↑ (92°)', '17:59 ↑ (268°)', '12:00:54', '−0:54'),
(2017, 'September', 30, '91.00', '80.30', '77.00', '70.44', '6.56', '05:58 ↑ (93°)', '17:58 ↑ (267°)', '11:59:59', '−0:54'),
(2017, 'October', 1, '91.00', '81.10', '75.00', '70.46', '4.54', '05:58 ↑ (93°)', '17:57 ↑ (267°)', '11:59:04', '−0:54'),
(2017, 'October', 2, '88.00', '80.60', '73.00', '70.47', '2.53', '05:58 ↑ (93°)', '17:57 ↑ (266°)', '11:58:10', '−0:54'),
(2017, 'October', 3, '86.00', '78.90', '73.00', '70.47', '2.53', '05:58 ↑ (94°)', '17:56 ↑ (266°)', '11:57:15', '−0:54'),
(2017, 'October', 4, '86.00', '76.50', '73.00', '70.48', '2.52', '05:59 ↑ (94°)', '17:55 ↑ (266°)', '11:56:21', '−0:54'),
(2017, 'October', 5, '79.00', '78.60', '77.00', '70.51', '6.49', '05:59 ↑ (95°)', '17:54 ↑ (265°)', '11:55:26', '−0:54'),
(2017, 'October', 6, '90.00', '79.70', '75.00', '70.52', '4.48', '05:59 ↑ (95°)', '17:53 ↑ (265°)', '11:54:32', '−0:54'),
(2017, 'October', 7, '91.00', '82.00', '75.00', '70.54', '4.46', '05:59 ↑ (95°)', '17:53 ↑ (264°)', '11:53:38', '−0:54'),
(2017, 'October', 8, '90.00', '81.60', '75.00', '70.56', '4.44', '05:59 ↑ (96°)', '17:52 ↑ (264°)', '11:52:44', '−0:54'),
(2017, 'October', 9, '90.00', '81.90', '77.00', '70.58', '6.42', '05:59 ↑ (96°)', '17:51 ↑ (264°)', '11:51:50', '−0:53'),
(2017, 'October', 10, '88.00', '79.70', '77.00', '70.60', '6.40', '06:00 ↑ (97°)', '17:51 ↑ (263°)', '11:50:56', '−0:53'),
(2017, 'October', 11, '88.00', '78.60', '75.00', '70.62', '4.38', '06:00 ↑ (97°)', '17:50 ↑ (263°)', '11:50:03', '−0:53'),
(2017, 'October', 12, '88.00', '77.80', '73.00', '70.62', '2.38', '06:00 ↑ (97°)', '17:49 ↑ (262°)', '11:49:09', '−0:53'),
(2017, 'October', 13, '91.00', '81.40', '75.00', '70.64', '4.36', '06:00 ↑ (98°)', '17:48 ↑ (262°)', '11:48:16', '−0:53'),
(2017, 'October', 14, '91.00', '82.20', '77.00', '70.66', '6.34', '06:00 ↑ (98°)', '17:48 ↑ (262°)', '11:47:23', '−0:53'),
(2017, 'October', 15, '88.00', '80.20', '75.00', '70.68', '4.32', '06:01 ↑ (99°)', '17:47 ↑ (261°)', '11:46:30', '−0:52'),
(2017, 'October', 16, '90.00', '80.40', '73.00', '70.69', '2.31', '06:01 ↑ (99°)', '17:46 ↑ (261°)', '11:45:37', '−0:52'),
(2017, 'October', 17, '79.00', '73.40', '70.00', '70.68', '-0.68', '06:01 ↑ (99°)', '17:46 ↑ (260°)', '11:44:45', '−0:52'),
(2017, 'October', 18, '84.00', '79.10', '73.00', '70.69', '2.31', '06:01 ↑ (100°)', '17:45 ↑ (260°)', '11:43:53', '−0:52'),
(2017, 'October', 19, '90.00', '79.40', '73.00', '70.70', '2.30', '06:02 ↑ (100°)', '17:45 ↑ (260°)', '11:43:01', '−0:51'),
(2017, 'October', 20, '88.00', '80.50', '75.00', '70.71', '4.29', '06:02 ↑ (101°)', '17:44 ↑ (259°)', '11:42:09', '−0:51'),
(2017, 'October', 21, '91.00', '81.40', '75.00', '70.73', '4.27', '06:02 ↑ (101°)', '17:43 ↑ (259°)', '11:41:17', '−0:51'),
(2017, 'October', 22, '90.00', '82.40', '77.00', '70.75', '6.25', '06:02 ↑ (101°)', '17:43 ↑ (259°)', '11:40:26', '−0:51'),
(2017, 'October', 23, '88.00', '81.00', '75.00', '70.76', '4.24', '06:03 ↑ (102°)', '17:42 ↑ (258°)', '11:39:35', '−0:50'),
(2017, 'October', 24, '84.00', '77.90', '70.00', '70.76', '-0.76', '06:03 ↑ (102°)', '17:42 ↑ (258°)', '11:38:45', '−0:50'),
(2017, 'October', 25, '88.00', '79.10', '70.00', '70.76', '-0.76', '06:03 ↑ (102°)', '17:41 ↑ (257°)', '11:37:55', '−0:50'),
(2017, 'October', 26, '90.00', '80.00', '73.00', '70.77', '2.23', '06:04 ↑ (103°)', '17:41 ↑ (257°)', '11:37:05', '−0:49'),
(2017, 'October', 27, '90.00', '80.00', '70.00', '70.76', '-0.76', '06:04 ↑ (103°)', '17:40 ↑ (257°)', '11:36:15', '−0:49'),
(2017, 'October', 28, '90.00', '80.00', '70.00', '70.76', '-0.76', '06:04 ↑ (103°)', '17:40 ↑ (256°)', '11:35:26', '−0:49'),
(2017, 'October', 29, '90.00', '79.00', '70.00', '70.76', '-0.76', '06:04 ↑ (104°)', '17:39 ↑ (256°)', '11:34:37', '−0:48'),
(2017, 'October', 30, '86.00', '74.40', '0.00', '70.52', '-70.52', '06:05 ↑ (104°)', '17:39 ↑ (256°)', '11:33:49', '−0:48'),
(2017, 'October', 31, '86.00', '69.50', '0.00', '70.29', '-70.29', '06:05 ↑ (104°)', '17:38 ↑ (255°)', '11:33:01', '−0:47'),
(2017, 'November', 1, '82.00', '75.20', '70.00', '70.29', '-0.29', '06:06 ↑ (105°)', '17:38 ↑ (255°)', '11:32:13', '−0:47'),
(2017, 'November', 2, '90.00', '78.30', '68.00', '70.28', '-2.28', '06:06 ↑ (105°)', '17:37 ↑ (255°)', '11:31:26', '−0:47'),
(2017, 'November', 3, '88.00', '76.80', '66.00', '70.27', '-4.27', '06:06 ↑ (105°)', '17:37 ↑ (254°)', '11:30:40', '−0:46'),
(2017, 'November', 4, '88.00', '75.80', '66.00', '70.26', '-4.26', '06:07 ↑ (106°)', '17:37 ↑ (254°)', '11:29:54', '−0:46'),
(2017, 'November', 5, '75.00', '72.20', '70.00', '70.26', '-0.26', '06:07 ↑ (106°)', '17:36 ↑ (254°)', '11:29:08', '−0:45'),
(2017, 'November', 6, '84.00', '74.20', '68.00', '70.25', '-2.25', '06:08 ↑ (106°)', '17:36 ↑ (253°)', '11:28:23', '−0:45'),
(2017, 'November', 7, '88.00', '78.80', '70.00', '70.25', '-0.25', '06:08 ↑ (107°)', '17:36 ↑ (253°)', '11:27:38', '−0:44'),
(2017, 'November', 8, '88.00', '77.50', '72.00', '70.25', '1.75', '06:08 ↑ (107°)', '17:35 ↑ (253°)', '11:26:54', '−0:43'),
(2017, 'November', 9, '91.00', '80.70', '72.00', '70.26', '1.74', '06:09 ↑ (107°)', '17:35 ↑ (253°)', '11:26:11', '−0:43'),
(2017, 'November', 10, '91.00', '82.60', '73.00', '70.27', '2.73', '06:09 ↑ (108°)', '17:35 ↑ (252°)', '11:25:28', '−0:42'),
(2017, 'November', 11, '91.00', '82.30', '73.00', '70.28', '2.72', '06:10 ↑ (108°)', '17:34 ↑ (252°)', '11:24:46', '−0:42'),
(2017, 'November', 12, '91.00', '81.30', '72.00', '70.28', '1.72', '06:10 ↑ (108°)', '17:34 ↑ (252°)', '11:24:05', '−0:41'),
(2017, 'November', 13, '93.00', '81.30', '72.00', '70.29', '1.71', '06:11 ↑ (108°)', '17:34 ↑ (251°)', '11:23:24', '−0:40'),
(2017, 'November', 14, '93.00', '81.10', '70.00', '70.29', '-0.29', '06:11 ↑ (109°)', '17:34 ↑ (251°)', '11:22:44', '−0:40'),
(2017, 'November', 15, '95.00', '83.00', '73.00', '70.29', '2.71', '06:12 ↑ (109°)', '17:34 ↑ (251°)', '11:22:04', '−0:39'),
(2017, 'November', 16, '95.00', '84.80', '77.00', '70.32', '6.68', '06:12 ↑ (109°)', '17:34 ↑ (251°)', '11:21:26', '−0:38'),
(2017, 'November', 17, '97.00', '84.40', '75.00', '70.33', '4.67', '06:13 ↑ (110°)', '17:33 ↑ (250°)', '11:20:48', '−0:37'),
(2017, 'November', 18, '97.00', '84.30', '77.00', '70.35', '6.65', '06:13 ↑ (110°)', '17:33 ↑ (250°)', '11:20:10', '−0:37'),
(2017, 'November', 19, '93.00', '83.90', '79.00', '70.38', '8.62', '06:14 ↑ (110°)', '17:33 ↑ (250°)', '11:19:34', '−0:36'),
(2017, 'November', 20, '91.00', '81.60', '73.00', '70.39', '2.61', '06:14 ↑ (110°)', '17:33 ↑ (250°)', '11:18:58', '−0:35'),
(2017, 'November', 21, '90.00', '79.70', '72.00', '70.39', '1.61', '06:15 ↑ (111°)', '17:33 ↑ (249°)', '11:18:24', '−0:34'),
(2017, 'November', 22, '90.00', '75.50', '0.00', '70.17', '-70.17', '06:15 ↑ (111°)', '17:33 ↑ (249°)', '11:17:50', '−0:33'),
(2017, 'November', 23, '90.00', '78.70', '70.00', '70.17', '-0.17', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:17:17', '−0:33'),
(2017, 'November', 24, '86.00', '74.00', '64.00', '70.16', '-6.16', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:16:45', '−0:32'),
(2017, 'November', 25, '86.00', '74.10', '63.00', '70.13', '-7.13', '06:17 ↑ (111°)', '17:33 ↑ (249°)', '11:16:13', '−0:31'),
(2017, 'November', 26, '88.00', '76.60', '64.00', '70.12', '-6.12', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:15:43', '−0:30'),
(2017, 'November', 27, '90.00', '76.10', '64.00', '70.10', '-6.10', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:15:14', '−0:29'),
(2017, 'November', 28, '90.00', '77.50', '68.00', '70.09', '-2.09', '06:19 ↑ (112°)', '17:33 ↑ (248°)', '11:14:46', '−0:28'),
(2017, 'November', 29, '90.00', '80.50', '70.00', '70.09', '-0.09', '06:19 ↑ (112°)', '17:34 ↑ (248°)', '11:14:18', '−0:27'),
(2017, 'November', 30, '93.00', '80.80', '72.00', '70.10', '1.90', '06:20 ↑ (112°)', '17:34 ↑ (248°)', '11:13:52', '−0:26'),
(2017, 'December', 1, '88.00', '78.80', '72.00', '70.10', '1.90', '06:20 ↑ (113°)', '17:34 ↑ (247°)', '11:13:27', '−0:25'),
(2017, 'December', 2, '91.00', '78.00', '66.00', '70.09', '-4.09', '06:21 ↑ (113°)', '17:34 ↑ (247°)', '11:13:03', '−0:24'),
(2017, 'December', 3, '90.00', '76.80', '64.00', '70.07', '-6.07', '06:22 ↑ (113°)', '17:34 ↑ (247°)', '11:12:40', '−0:23'),
(2017, 'December', 4, '91.00', '78.30', '68.00', '70.07', '-2.07', '06:22 ↑ (113°)', '17:34 ↑ (247°)', '11:12:18', '−0:21'),
(2017, 'December', 5, '88.00', '77.10', '70.00', '70.06', '-0.06', '06:23 ↑ (113°)', '17:35 ↑ (247°)', '11:11:57', '−0:20'),
(2017, 'December', 6, '88.00', '74.40', '63.00', '70.04', '-7.04', '06:23 ↑ (113°)', '17:35 ↑ (247°)', '11:11:37', '−0:19'),
(2017, 'December', 7, '91.00', '77.30', '66.00', '70.03', '-4.03', '06:24 ↑ (113°)', '17:35 ↑ (247°)', '11:11:19', '−0:18'),
(2017, 'December', 8, '90.00', '78.50', '70.00', '70.03', '-0.03', '06:24 ↑ (113°)', '17:35 ↑ (246°)', '11:11:01', '−0:17'),
(2017, 'December', 9, '82.00', '74.40', '64.00', '70.01', '-6.01', '06:25 ↑ (114°)', '17:36 ↑ (246°)', '11:10:45', '−0:16'),
(2017, 'December', 10, '88.00', '75.40', '63.00', '69.99', '-6.99', '06:26 ↑ (114°)', '17:36 ↑ (246°)', '11:10:30', '−0:14'),
(2017, 'December', 11, '90.00', '77.90', '70.00', '69.99', '0.01', '06:26 ↑ (114°)', '17:36 ↑ (246°)', '11:10:16', '−0:13'),
(2017, 'December', 12, '91.00', '79.90', '70.00', '69.99', '0.01', '06:27 ↑ (114°)', '17:37 ↑ (246°)', '11:10:04', '−0:12'),
(2017, 'December', 13, '90.00', '80.00', '70.00', '69.99', '0.01', '06:27 ↑ (114°)', '17:37 ↑ (246°)', '11:09:52', '−0:11'),
(2017, 'December', 14, '91.00', '80.20', '72.00', '70.00', '2.00', '06:28 ↑ (114°)', '17:38 ↑ (246°)', '11:09:42', '−0:10'),
(2017, 'December', 15, '90.00', '79.20', '70.00', '70.00', '0.00', '06:28 ↑ (114°)', '17:38 ↑ (246°)', '11:09:34', '−0:08'),
(2017, 'December', 16, '86.00', '76.80', '68.00', '69.99', '-1.99', '06:29 ↑ (114°)', '17:38 ↑ (246°)', '11:09:26', '−0:07'),
(2017, 'December', 17, '79.00', '70.50', '61.00', '69.97', '-8.97', '06:30 ↑ (114°)', '17:39 ↑ (246°)', '11:09:20', '−0:06'),
(2017, 'December', 18, '75.00', '63.90', '54.00', '69.92', '-15.92', '06:30 ↑ (114°)', '17:39 ↑ (246°)', '11:09:15', '−0:05'),
(2017, 'December', 19, '73.00', '61.70', '48.00', '69.86', '-21.86', '06:31 ↑ (114°)', '17:40 ↑ (246°)', '11:09:11', '−0:03'),
(2017, 'December', 20, '73.00', '60.50', '46.00', '69.79', '-23.79', '06:31 ↑ (114°)', '17:40 ↑ (246°)', '11:09:08', '−0:02'),
(2017, 'December', 21, '77.00', '64.30', '50.00', '69.74', '-19.74', '06:32 ↑ (114°)', '17:41 ↑ (246°)', '11:09:07', '−0:01'),
(2017, 'December', 22, '82.00', '69.50', '57.00', '69.70', '-12.70', '06:32 ↑ (114°)', '17:41 ↑ (246°)', '11:09:07', '< 1s'),
(2017, 'December', 23, '88.00', '74.80', '61.00', '69.68', '-8.68', '06:33 ↑ (114°)', '17:42 ↑ (246°)', '11:09:08', '+0:01'),
(2017, 'December', 24, '88.00', '76.00', '64.00', '69.66', '-5.66', '06:33 ↑ (114°)', '17:42 ↑ (246°)', '11:09:11', '+0:02'),
(2017, 'December', 25, '81.00', '69.70', '61.00', '69.64', '-8.64', '06:34 ↑ (114°)', '17:43 ↑ (246°)', '11:09:15', '+0:03'),
(2017, 'December', 26, '77.00', '67.00', '63.00', '69.62', '-6.62', '06:34 ↑ (114°)', '17:43 ↑ (246°)', '11:09:20', '+0:05'),
(2017, 'December', 27, '72.00', '66.80', '61.00', '69.60', '-8.60', '06:34 ↑ (114°)', '17:44 ↑ (246°)', '11:09:26', '+0:06'),
(2017, 'December', 28, '81.00', '72.90', '68.00', '69.59', '-1.59', '06:35 ↑ (114°)', '17:44 ↑ (246°)', '11:09:34', '+0:07'),
(2017, 'December', 29, '90.00', '76.90', '68.00', '69.59', '-1.59', '06:35 ↑ (114°)', '17:45 ↑ (246°)', '11:09:43', '+0:08'),
(2017, 'December', 30, '88.00', '77.80', '68.00', '69.58', '-1.58', '06:36 ↑ (114°)', '17:46 ↑ (246°)', '11:09:53', '+0:10'),
(2017, 'December', 31, '84.00', '74.50', '66.00', '69.57', '-3.57', '06:36 ↑ (114°)', '17:46 ↑ (246°)', '11:10:05', '+0:11'),
(2018, 'January', 1, '84.00', '72.90', '63.00', '63.00', '0.00', '06:36 ↑ (114°)', '17:47 ↑ (246°)', '11:10:18', '+0:12'),
(2018, 'January', 2, '84.00', '73.30', '61.00', '62.00', '-1.00', '06:37 ↑ (114°)', '17:47 ↑ (246°)', '11:10:32', '+0:13'),
(2018, 'January', 3, '86.00', '76.00', '68.00', '64.00', '4.00', '06:37 ↑ (114°)', '17:48 ↑ (246°)', '11:10:47', '+0:15'),
(2018, 'January', 4, '90.00', '77.20', '66.00', '64.50', '1.50', '06:37 ↑ (114°)', '17:49 ↑ (247°)', '11:11:03', '+0:16'),
(2018, 'January', 5, '91.00', '79.10', '68.00', '65.20', '2.80', '06:38 ↑ (113°)', '17:49 ↑ (247°)', '11:11:21', '+0:17'),
(2018, 'January', 6, '91.00', '80.00', '68.00', '65.67', '2.33', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:11:40', '+0:18'),
(2018, 'January', 7, '88.00', '80.00', '73.00', '66.71', '6.29', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:12:00', '+0:20'),
(2018, 'January', 8, '93.00', '81.30', '72.00', '67.38', '4.63', '06:39 ↑ (113°)', '17:51 ↑ (247°)', '11:12:21', '+0:21'),
(2018, 'January', 9, '91.00', '80.10', '72.00', '67.89', '4.11', '06:39 ↑ (113°)', '17:52 ↑ (247°)', '11:12:43', '+0:22'),
(2018, 'January', 10, '75.00', '69.50', '64.00', '67.50', '-3.50', '06:39 ↑ (113°)', '17:52 ↑ (247°)', '11:13:06', '+0:23'),
(2018, 'January', 11, '72.00', '67.50', '64.00', '67.18', '-3.18', '06:39 ↑ (113°)', '17:53 ↑ (248°)', '11:13:31', '+0:24'),
(2018, 'January', 12, '75.00', '65.60', '55.00', '66.17', '-11.17', '06:39 ↑ (112°)', '17:53 ↑ (248°)', '11:13:56', '+0:25'),
(2018, 'January', 13, '81.00', '66.90', '55.00', '65.31', '-10.31', '06:40 ↑ (112°)', '17:54 ↑ (248°)', '11:14:23', '+0:26'),
(2018, 'January', 14, '82.00', '69.90', '59.00', '64.86', '-5.86', '06:40 ↑ (112°)', '17:55 ↑ (248°)', '11:14:50', '+0:27'),
(2018, 'January', 15, '81.00', '68.70', '59.00', '64.47', '-5.47', '06:40 ↑ (112°)', '17:55 ↑ (248°)', '11:15:19', '+0:28'),
(2018, 'January', 16, '88.00', '73.40', '59.00', '64.13', '-5.13', '06:40 ↑ (112°)', '17:56 ↑ (248°)', '11:15:49', '+0:29'),
(2018, 'January', 17, '88.00', '74.90', '63.00', '64.06', '-1.06', '06:40 ↑ (111°)', '17:56 ↑ (249°)', '11:16:19', '+0:30'),
(2018, 'January', 18, '90.00', '75.30', '61.00', '63.89', '-2.89', '06:40 ↑ (111°)', '17:57 ↑ (249°)', '11:16:51', '+0:31'),
(2018, 'January', 19, '90.00', '75.80', '61.00', '63.74', '-2.74', '06:40 ↑ (111°)', '17:58 ↑ (249°)', '11:17:23', '+0:32'),
(2018, 'January', 20, '90.00', '77.70', '64.00', '63.75', '0.25', '06:40 ↑ (111°)', '17:58 ↑ (249°)', '11:17:57', '+0:33'),
(2018, 'January', 21, '91.00', '79.00', '68.00', '63.95', '4.05', '06:40 ↑ (111°)', '17:59 ↑ (250°)', '11:18:31', '+0:34'),
(2018, 'January', 22, '90.00', '79.30', '70.00', '64.23', '5.77', '06:40 ↑ (110°)', '17:59 ↑ (250°)', '11:19:06', '+0:35'),
(2018, 'January', 23, '91.00', '78.00', '64.00', '64.22', '-0.22', '06:40 ↑ (110°)', '18:00 ↑ (250°)', '11:19:42', '+0:36'),
(2018, 'January', 24, '93.00', '78.00', '64.00', '64.21', '-0.21', '06:40 ↑ (110°)', '18:00 ↑ (250°)', '11:20:19', '+0:36'),
(2018, 'January', 25, '93.00', '78.80', '64.00', '64.20', '-0.20', '06:40 ↑ (110°)', '18:01 ↑ (251°)', '11:20:57', '+0:37'),
(2018, 'January', 26, '91.00', '79.60', '68.00', '64.35', '3.65', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:21:36', '+0:38'),
(2018, 'January', 27, '90.00', '79.20', '70.00', '64.56', '5.44', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:22:15', '+0:39'),
(2018, 'January', 28, '93.00', '81.00', '70.00', '64.75', '5.25', '06:40 ↑ (109°)', '18:03 ↑ (251°)', '11:22:55', '+0:39'),
(2018, 'January', 29, '91.00', '81.20', '72.00', '65.00', '7.00', '06:40 ↑ (109°)', '18:03 ↑ (252°)', '11:23:35', '+0:40'),
(2018, 'January', 30, '77.00', '71.10', '64.00', '64.97', '-0.97', '06:39 ↑ (108°)', '18:04 ↑ (252°)', '11:24:17', '+0:41'),
(2018, 'January', 31, '79.00', '72.40', '66.00', '65.00', '1.00', '06:39 ↑ (108°)', '18:04 ↑ (252°)', '11:24:59', '+0:42'),
(2018, 'February', 1, '73.00', '65.70', '59.00', '64.81', '-5.81', '06:39 ↑ (108°)', '18:05 ↑ (252°)', '11:25:42', '+0:42'),
(2018, 'February', 2, '82.00', '70.00', '59.00', '64.64', '-5.64', '06:39 ↑ (107°)', '18:05 ↑ (253°)', '11:26:25', '+0:43'),
(2018, 'February', 3, '77.00', '67.10', '57.00', '64.41', '-7.41', '06:38 ↑ (107°)', '18:06 ↑ (253°)', '11:27:09', '+0:44'),
(2018, 'February', 4, '79.00', '67.50', '57.00', '64.20', '-7.20', '06:38 ↑ (107°)', '18:06 ↑ (253°)', '11:27:54', '+0:44'),
(2018, 'February', 5, '79.00', '67.90', '61.00', '64.11', '-3.11', '06:38 ↑ (106°)', '18:07 ↑ (254°)', '11:28:39', '+0:45'),
(2018, 'February', 6, '77.00', '63.80', '54.00', '63.84', '-9.84', '06:38 ↑ (106°)', '18:07 ↑ (254°)', '11:29:25', '+0:45'),
(2018, 'February', 7, '82.00', '65.10', '0.00', '62.16', '-62.16', '06:37 ↑ (106°)', '18:07 ↑ (254°)', '11:30:11', '+0:46'),
(2018, 'February', 8, '82.00', '70.10', '57.00', '62.03', '-5.03', '06:37 ↑ (105°)', '18:08 ↑ (255°)', '11:30:58', '+0:46'),
(2018, 'February', 9, '88.00', '73.30', '59.00', '61.95', '-2.95', '06:37 ↑ (105°)', '18:08 ↑ (255°)', '11:31:45', '+0:47'),
(2018, 'February', 10, '93.00', '77.90', '66.00', '62.05', '3.95', '06:36 ↑ (105°)', '18:09 ↑ (255°)', '11:32:33', '+0:47'),
(2018, 'February', 11, '90.00', '78.40', '68.00', '62.19', '5.81', '06:36 ↑ (104°)', '18:09 ↑ (256°)', '11:33:21', '+0:48'),
(2018, 'February', 12, '86.00', '75.20', '63.00', '62.21', '0.79', '06:35 ↑ (104°)', '18:10 ↑ (256°)', '11:34:10', '+0:48'),
(2018, 'February', 13, '86.00', '73.30', '59.00', '62.14', '-3.14', '06:35 ↑ (104°)', '18:10 ↑ (256°)', '11:34:59', '+0:49'),
(2018, 'February', 14, '91.00', '75.70', '61.00', '62.11', '-1.11', '06:35 ↑ (103°)', '18:10 ↑ (257°)', '11:35:49', '+0:49'),
(2018, 'February', 15, '99.00', '80.30', '64.00', '62.15', '1.85', '06:34 ↑ (103°)', '18:11 ↑ (257°)', '11:36:39', '+0:49'),
(2018, 'February', 16, '99.00', '81.80', '68.00', '62.28', '5.72', '06:34 ↑ (103°)', '18:11 ↑ (257°)', '11:37:29', '+0:50');
INSERT INTO `khonKaen` (`year`, `month`, `date`, `tempMax`, `tempAvg`, `tempMin`, `tempMonthAvg`, `tempDiff`, `sunrise`, `sunset`, `length`, `difference`) VALUES
(2018, 'February', 17, '95.00', '82.80', '72.00', '62.48', '9.52', '06:33 ↑ (102°)', '18:11 ↑ (258°)', '11:38:20', '+0:50'),
(2018, 'February', 18, '97.00', '84.40', '77.00', '62.78', '14.22', '06:33 ↑ (102°)', '18:12 ↑ (258°)', '11:39:11', '+0:51'),
(2018, 'February', 19, '95.00', '83.30', '73.00', '62.98', '10.02', '06:32 ↑ (102°)', '18:12 ↑ (259°)', '11:40:02', '+0:51'),
(2018, 'February', 20, '99.00', '84.00', '75.00', '63.22', '11.78', '06:32 ↑ (101°)', '18:12 ↑ (259°)', '11:40:54', '+0:51'),
(2018, 'February', 21, '99.00', '82.40', '75.00', '63.44', '11.56', '06:31 ↑ (101°)', '18:13 ↑ (259°)', '11:41:46', '+0:52'),
(2018, 'February', 22, '82.00', '75.90', '73.00', '63.62', '9.38', '06:30 ↑ (100°)', '18:13 ↑ (260°)', '11:42:38', '+0:52'),
(2018, 'February', 23, '84.00', '75.50', '72.00', '63.78', '8.22', '06:30 ↑ (100°)', '18:13 ↑ (260°)', '11:43:31', '+0:52'),
(2018, 'February', 24, '91.00', '78.50', '70.00', '63.89', '6.11', '06:29 ↑ (100°)', '18:14 ↑ (260°)', '11:44:24', '+0:52'),
(2018, 'February', 25, '95.00', '79.20', '0.00', '62.75', '-62.75', '06:29 ↑ (99°)', '18:14 ↑ (261°)', '11:45:17', '+0:53'),
(2018, 'February', 26, '90.00', '80.40', '72.00', '62.91', '9.09', '06:28 ↑ (99°)', '18:14 ↑ (261°)', '11:46:10', '+0:53'),
(2018, 'February', 27, '88.00', '78.00', '68.00', '63.00', '5.00', '06:27 ↑ (99°)', '18:15 ↑ (262°)', '11:47:04', '+0:53'),
(2018, 'February', 28, '97.00', '82.30', '70.00', '63.12', '6.88', '06:27 ↑ (98°)', '18:15 ↑ (262°)', '11:47:58', '+0:53'),
(2018, 'March', 1, '95.00', '83.60', '72.00', '63.27', '8.73', '06:26 ↑ (98°)', '18:15 ↑ (262°)', '11:48:51', '+0:53'),
(2018, 'March', 2, '99.00', '84.40', '72.00', '63.41', '8.59', '06:26 ↑ (97°)', '18:15 ↑ (263°)', '11:49:46', '+0:54'),
(2018, 'March', 3, '100.00', '86.00', '73.00', '63.56', '9.44', '06:25 ↑ (97°)', '18:16 ↑ (263°)', '11:50:40', '+0:54'),
(2018, 'March', 4, '100.00', '85.70', '72.00', '63.70', '8.30', '06:24 ↑ (97°)', '18:16 ↑ (264°)', '11:51:34', '+0:54'),
(2018, 'March', 5, '102.00', '88.40', '73.00', '63.84', '9.16', '06:24 ↑ (96°)', '18:16 ↑ (264°)', '11:52:29', '+0:54'),
(2018, 'March', 6, '95.00', '84.40', '72.00', '63.97', '8.03', '06:23 ↑ (96°)', '18:16 ↑ (264°)', '11:53:24', '+0:54'),
(2018, 'March', 7, '95.00', '83.40', '75.00', '64.14', '10.86', '06:22 ↑ (95°)', '18:17 ↑ (265°)', '11:54:19', '+0:54'),
(2018, 'March', 8, '95.00', '82.20', '73.00', '64.27', '8.73', '06:21 ↑ (95°)', '18:17 ↑ (265°)', '11:55:14', '+0:55'),
(2018, 'March', 9, '82.00', '74.20', '70.00', '64.35', '5.65', '06:21 ↑ (95°)', '18:17 ↑ (266°)', '11:56:09', '+0:55'),
(2018, 'March', 10, '88.00', '74.50', '63.00', '64.33', '-1.33', '06:20 ↑ (94°)', '18:17 ↑ (266°)', '11:57:04', '+0:55'),
(2018, 'March', 11, '91.00', '74.10', '0.00', '63.41', '-63.41', '06:19 ↑ (94°)', '18:17 ↑ (266°)', '11:58:00', '+0:55'),
(2018, 'March', 12, '93.00', '79.40', '66.00', '63.45', '2.55', '06:19 ↑ (93°)', '18:18 ↑ (267°)', '11:58:55', '+0:55'),
(2018, 'March', 13, '91.00', '80.90', '72.00', '63.57', '8.43', '06:18 ↑ (93°)', '18:18 ↑ (267°)', '11:59:51', '+0:55'),
(2018, 'March', 14, '95.00', '79.50', '72.00', '63.68', '8.32', '06:17 ↑ (93°)', '18:18 ↑ (268°)', '12:00:46', '+0:55'),
(2018, 'March', 15, '91.00', '78.10', '70.00', '63.77', '6.23', '06:16 ↑ (92°)', '18:18 ↑ (268°)', '12:01:42', '+0:55'),
(2018, 'March', 16, '97.00', '82.20', '70.00', '63.85', '6.15', '06:16 ↑ (92°)', '18:18 ↑ (269°)', '12:02:38', '+0:55'),
(2018, 'March', 17, '99.00', '85.20', '73.00', '63.97', '9.03', '06:15 ↑ (91°)', '18:18 ↑ (269°)', '12:03:34', '+0:55'),
(2018, 'March', 18, '99.00', '85.90', '75.00', '64.12', '10.88', '06:14 ↑ (91°)', '18:19 ↑ (269°)', '12:04:29', '+0:55'),
(2018, 'March', 19, '100.00', '85.20', '72.00', '64.22', '7.78', '06:13 ↑ (90°)', '18:19 ↑ (270°)', '12:05:25', '+0:55'),
(2018, 'March', 20, '100.00', '83.10', '72.00', '64.32', '7.68', '06:13 ↑ (90°)', '18:19 ↑ (270°)', '12:06:21', '+0:55'),
(2018, 'March', 21, '82.00', '76.20', '72.00', '64.41', '7.59', '06:12 ↑ (90°)', '18:19 ↑ (271°)', '12:07:17', '+0:55'),
(2018, 'March', 22, '86.00', '75.00', '66.00', '64.43', '1.57', '06:11 ↑ (89°)', '18:19 ↑ (271°)', '12:08:13', '+0:55'),
(2018, 'March', 23, '88.00', '74.00', '0.00', '63.65', '-63.65', '06:10 ↑ (89°)', '18:20 ↑ (271°)', '12:09:08', '+0:55'),
(2018, 'March', 24, '93.00', '80.20', '70.00', '63.72', '6.28', '06:10 ↑ (88°)', '18:20 ↑ (272°)', '12:10:04', '+0:55'),
(2018, 'March', 25, '93.00', '82.20', '72.00', '63.82', '8.18', '06:09 ↑ (88°)', '18:20 ↑ (272°)', '12:11:00', '+0:55'),
(2018, 'March', 26, '86.00', '79.20', '73.00', '63.93', '9.07', '06:08 ↑ (88°)', '18:20 ↑ (273°)', '12:11:56', '+0:55'),
(2018, 'March', 27, '90.00', '80.50', '73.00', '64.03', '8.97', '06:07 ↑ (87°)', '18:20 ↑ (273°)', '12:12:51', '+0:55'),
(2018, 'March', 28, '95.00', '82.40', '70.00', '64.10', '5.90', '06:07 ↑ (87°)', '18:20 ↑ (273°)', '12:13:47', '+0:55'),
(2018, 'March', 29, '99.00', '84.50', '73.00', '64.20', '8.80', '06:06 ↑ (86°)', '18:20 ↑ (274°)', '12:14:42', '+0:55'),
(2018, 'March', 30, '88.00', '80.20', '73.00', '64.30', '8.70', '06:05 ↑ (86°)', '18:21 ↑ (274°)', '12:15:38', '+0:55'),
(2018, 'March', 31, '91.00', '81.70', '73.00', '64.40', '8.60', '06:04 ↑ (86°)', '18:21 ↑ (275°)', '12:16:33', '+0:55'),
(2018, 'April', 1, '91.00', '81.70', '73.00', '64.49', '8.51', '06:03 ↑ (85°)', '18:21 ↑ (275°)', '12:17:28', '+0:55'),
(2018, 'April', 2, '93.00', '81.70', '72.00', '64.58', '7.42', '06:03 ↑ (85°)', '18:21 ↑ (275°)', '12:18:24', '+0:55'),
(2018, 'April', 3, '97.00', '83.80', '75.00', '64.69', '10.31', '06:02 ↑ (84°)', '18:21 ↑ (276°)', '12:19:19', '+0:55'),
(2018, 'April', 4, '95.00', '84.30', '75.00', '64.80', '10.20', '06:01 ↑ (84°)', '18:21 ↑ (276°)', '12:20:14', '+0:54'),
(2018, 'April', 5, '97.00', '84.10', '73.00', '64.88', '8.12', '06:00 ↑ (84°)', '18:22 ↑ (277°)', '12:21:08', '+0:54'),
(2018, 'April', 6, '99.00', '79.70', '0.00', '64.21', '-64.21', '06:00 ↑ (83°)', '18:22 ↑ (277°)', '12:22:03', '+0:54'),
(2018, 'April', 7, '73.00', '70.60', '66.00', '64.23', '1.77', '05:59 ↑ (83°)', '18:22 ↑ (277°)', '12:22:58', '+0:54'),
(2018, 'April', 8, '84.00', '72.50', '63.00', '64.21', '-1.21', '05:58 ↑ (82°)', '18:22 ↑ (278°)', '12:23:52', '+0:54'),
(2018, 'April', 9, '90.00', '77.80', '66.00', '64.23', '1.77', '05:58 ↑ (82°)', '18:22 ↑ (278°)', '12:24:46', '+0:54'),
(2018, 'April', 10, '97.00', '83.40', '70.00', '64.29', '5.71', '05:57 ↑ (82°)', '18:22 ↑ (279°)', '12:25:40', '+0:54'),
(2018, 'April', 11, '102.00', '86.60', '73.00', '64.38', '8.62', '05:56 ↑ (81°)', '18:23 ↑ (279°)', '12:26:34', '+0:53'),
(2018, 'April', 12, '100.00', '87.90', '75.00', '64.48', '10.52', '05:55 ↑ (81°)', '18:23 ↑ (279°)', '12:27:28', '+0:53'),
(2018, 'April', 13, '102.00', '89.10', '77.00', '64.60', '12.40', '05:55 ↑ (80°)', '18:23 ↑ (280°)', '12:28:21', '+0:53'),
(2018, 'April', 14, '104.00', '90.00', '77.00', '64.72', '12.28', '05:54 ↑ (80°)', '18:23 ↑ (280°)', '12:29:14', '+0:53'),
(2018, 'April', 15, '99.00', '82.50', '73.00', '64.80', '8.20', '05:53 ↑ (80°)', '18:23 ↑ (281°)', '12:30:07', '+0:52'),
(2018, 'April', 16, '93.00', '83.80', '73.00', '64.88', '8.12', '05:53 ↑ (79°)', '18:24 ↑ (281°)', '12:31:00', '+0:52'),
(2018, 'April', 17, '82.00', '76.20', '70.00', '64.93', '5.07', '05:52 ↑ (79°)', '18:24 ↑ (281°)', '12:31:52', '+0:52'),
(2018, 'April', 18, '93.00', '79.60', '70.00', '64.97', '5.03', '05:51 ↑ (79°)', '18:24 ↑ (282°)', '12:32:45', '+0:52'),
(2018, 'April', 19, '97.00', '82.60', '72.00', '65.04', '6.96', '05:51 ↑ (78°)', '18:24 ↑ (282°)', '12:33:36', '+0:51'),
(2018, 'April', 20, '97.00', '84.00', '72.00', '65.10', '6.90', '05:50 ↑ (78°)', '18:24 ↑ (282°)', '12:34:28', '+0:51'),
(2018, 'April', 21, '100.00', '86.70', '73.00', '65.17', '7.83', '05:49 ↑ (77°)', '18:25 ↑ (283°)', '12:35:19', '+0:51'),
(2018, 'April', 22, '102.00', '88.30', '77.00', '65.28', '11.72', '05:49 ↑ (77°)', '18:25 ↑ (283°)', '12:36:10', '+0:50'),
(2018, 'April', 23, '104.00', '88.30', '75.00', '65.36', '9.64', '05:48 ↑ (77°)', '18:25 ↑ (283°)', '12:37:01', '+0:50'),
(2018, 'April', 24, '104.00', '89.80', '77.00', '65.46', '11.54', '05:48 ↑ (76°)', '18:25 ↑ (284°)', '12:37:51', '+0:50'),
(2018, 'April', 25, '99.00', '87.50', '77.00', '65.57', '11.43', '05:47 ↑ (76°)', '18:26 ↑ (284°)', '12:38:41', '+0:49'),
(2018, 'April', 26, '88.00', '78.50', '73.00', '65.63', '7.37', '05:46 ↑ (76°)', '18:26 ↑ (284°)', '12:39:30', '+0:49'),
(2018, 'April', 27, '95.00', '84.20', '75.00', '65.71', '9.29', '05:46 ↑ (75°)', '18:26 ↑ (285°)', '12:40:19', '+0:49'),
(2018, 'April', 28, '81.00', '76.70', '72.00', '65.76', '6.24', '05:45 ↑ (75°)', '18:26 ↑ (285°)', '12:41:08', '+0:48'),
(2018, 'April', 29, '84.00', '78.30', '73.00', '65.82', '7.18', '05:45 ↑ (75°)', '18:27 ↑ (285°)', '12:41:56', '+0:48'),
(2018, 'April', 30, '90.00', '79.20', '75.00', '65.90', '9.10', '05:44 ↑ (74°)', '18:27 ↑ (286°)', '12:42:44', '+0:47'),
(2018, 'May', 1, '93.00', '82.00', '75.00', '65.98', '9.02', '05:44 ↑ (74°)', '18:27 ↑ (286°)', '12:43:31', '+0:47'),
(2018, 'May', 2, '95.00', '83.50', '73.00', '66.03', '6.97', '05:43 ↑ (74°)', '18:27 ↑ (286°)', '12:44:18', '+0:46'),
(2018, 'May', 3, '95.00', '84.40', '75.00', '66.11', '8.89', '05:43 ↑ (73°)', '18:28 ↑ (287°)', '12:45:04', '+0:46'),
(2018, 'May', 4, '91.00', '81.90', '73.00', '66.16', '6.84', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:45:50', '+0:45'),
(2018, 'May', 5, '93.00', '81.50', '73.00', '66.22', '6.78', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:46:35', '+0:45'),
(2018, 'May', 6, '93.00', '84.70', '75.00', '66.29', '8.71', '05:41 ↑ (73°)', '18:29 ↑ (288°)', '12:47:19', '+0:44'),
(2018, 'May', 7, '95.00', '85.70', '75.00', '66.35', '8.65', '05:41 ↑ (72°)', '18:29 ↑ (288°)', '12:48:04', '+0:44'),
(2018, 'May', 8, '97.00', '87.10', '79.00', '66.45', '12.55', '05:40 ↑ (72°)', '18:29 ↑ (288°)', '12:48:47', '+0:43'),
(2018, 'May', 9, '97.00', '84.00', '79.00', '66.55', '12.45', '05:40 ↑ (72°)', '18:29 ↑ (288°)', '12:49:30', '+0:42'),
(2018, 'May', 10, '97.00', '80.70', '75.00', '66.62', '8.38', '05:40 ↑ (71°)', '18:30 ↑ (289°)', '12:50:12', '+0:42'),
(2018, 'May', 11, '91.00', '81.70', '73.00', '66.66', '6.34', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:50:54', '+0:41'),
(2018, 'May', 12, '93.00', '81.90', '73.00', '66.71', '6.29', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:51:35', '+0:40'),
(2018, 'May', 13, '93.00', '81.10', '72.00', '66.75', '5.25', '05:38 ↑ (71°)', '18:31 ↑ (290°)', '12:52:15', '+0:40'),
(2018, 'May', 14, '95.00', '78.70', '0.00', '66.25', '-66.25', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:52:55', '+0:39'),
(2018, 'May', 15, '95.00', '83.10', '73.00', '66.30', '6.70', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:53:34', '+0:38'),
(2018, 'May', 16, '97.00', '86.60', '77.00', '66.38', '10.62', '05:37 ↑ (70°)', '18:32 ↑ (290°)', '12:54:12', '+0:38'),
(2018, 'May', 17, '95.00', '82.80', '75.00', '66.45', '8.55', '05:37 ↑ (70°)', '18:32 ↑ (290°)', '12:54:49', '+0:37'),
(2018, 'May', 18, '93.00', '79.60', '72.00', '66.49', '5.51', '05:37 ↑ (69°)', '18:32 ↑ (291°)', '12:55:26', '+0:36'),
(2018, 'May', 19, '95.00', '83.00', '73.00', '66.53', '6.47', '05:37 ↑ (69°)', '18:33 ↑ (291°)', '12:56:02', '+0:35'),
(2018, 'May', 20, '97.00', '85.50', '75.00', '66.59', '8.41', '05:36 ↑ (69°)', '18:33 ↑ (291°)', '12:56:37', '+0:34'),
(2018, 'May', 21, '97.00', '82.80', '77.00', '66.67', '10.33', '05:36 ↑ (69°)', '18:33 ↑ (291°)', '12:57:11', '+0:34'),
(2018, 'May', 22, '91.00', '80.70', '72.00', '66.70', '5.30', '05:36 ↑ (69°)', '18:34 ↑ (292°)', '12:57:44', '+0:33'),
(2018, 'May', 23, '90.00', '81.70', '75.00', '66.76', '8.24', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:58:17', '+0:32'),
(2018, 'May', 24, '88.00', '79.20', '75.00', '66.82', '8.18', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:58:48', '+0:31'),
(2018, 'May', 25, '91.00', '82.00', '73.00', '66.86', '6.14', '05:35 ↑ (68°)', '18:35 ↑ (292°)', '12:59:19', '+0:30'),
(2018, 'May', 26, '93.00', '77.70', '0.00', '66.40', '-66.40', '05:35 ↑ (68°)', '18:35 ↑ (292°)', '12:59:48', '+0:29'),
(2018, 'May', 27, '93.00', '81.00', '73.00', '66.45', '6.55', '05:35 ↑ (68°)', '18:35 ↑ (293°)', '13:00:17', '+0:28'),
(2018, 'May', 28, '93.00', '82.00', '73.00', '66.49', '6.51', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:00:45', '+0:27'),
(2018, 'May', 29, '93.00', '75.40', '0.00', '66.05', '-66.05', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:01:12', '+0:26'),
(2018, 'May', 30, '91.00', '81.70', '73.00', '66.09', '6.91', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:01:38', '+0:25'),
(2018, 'May', 31, '93.00', '83.60', '77.00', '66.17', '10.83', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:02:02', '+0:24'),
(2018, 'June', 1, '95.00', '82.30', '73.00', '66.21', '6.79', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:02:26', '+0:23'),
(2018, 'June', 2, '95.00', '83.90', '77.00', '66.28', '10.72', '05:35 ↑ (67°)', '18:38 ↑ (293°)', '13:02:49', '+0:22'),
(2018, 'June', 3, '93.00', '81.40', '73.00', '66.32', '6.68', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:11', '+0:21'),
(2018, 'June', 4, '93.00', '82.70', '77.00', '66.39', '10.61', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:31', '+0:20'),
(2018, 'June', 5, '93.00', '81.80', '75.00', '66.45', '8.55', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:03:51', '+0:19'),
(2018, 'June', 6, '91.00', '81.00', '73.00', '66.49', '6.51', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:09', '+0:18'),
(2018, 'June', 7, '91.00', '82.60', '77.00', '66.56', '10.44', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:26', '+0:17'),
(2018, 'June', 8, '91.00', '82.80', '77.00', '66.62', '10.38', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:04:43', '+0:16'),
(2018, 'June', 9, '91.00', '83.80', '79.00', '66.70', '12.30', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:04:58', '+0:15'),
(2018, 'June', 10, '91.00', '84.50', '79.00', '66.78', '12.22', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:12', '+0:13'),
(2018, 'June', 11, '90.00', '82.00', '75.00', '66.83', '8.17', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:24', '+0:12'),
(2018, 'June', 12, '91.00', '84.20', '77.00', '66.89', '10.11', '05:35 ↑ (66°)', '18:41 ↑ (294°)', '13:05:36', '+0:11'),
(2018, 'June', 13, '93.00', '85.10', '79.00', '66.96', '12.04', '05:35 ↑ (65°)', '18:41 ↑ (295°)', '13:05:46', '+0:10'),
(2018, 'June', 14, '93.00', '85.90', '77.00', '67.02', '9.98', '05:35 ↑ (65°)', '18:41 ↑ (295°)', '13:05:56', '+0:09'),
(2018, 'June', 15, '93.00', '85.30', '79.00', '67.10', '11.90', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:04', '+0:08'),
(2018, 'June', 16, '97.00', '85.30', '77.00', '67.16', '9.84', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:10', '+0:06'),
(2018, 'June', 17, '93.00', '84.90', '79.00', '67.23', '11.77', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:16', '+0:05'),
(2018, 'June', 18, '93.00', '84.30', '77.00', '67.28', '9.72', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:21', '+0:04'),
(2018, 'June', 19, '93.00', '84.30', '77.00', '67.34', '9.66', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:24', '+0:03'),
(2018, 'June', 20, '95.00', '85.20', '75.00', '67.39', '7.61', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:26', '+0:02'),
(2018, 'June', 21, '93.00', '83.00', '77.00', '67.44', '9.56', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:27', '< 1s'),
(2018, 'June', 22, '95.00', '80.80', '0.00', '67.05', '-67.05', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:26', '< 1s'),
(2018, 'June', 23, '95.00', '81.70', '75.00', '67.10', '7.90', '05:37 ↑ (65°)', '18:44 ↑ (295°)', '13:06:25', '−0:01'),
(2018, 'June', 24, '90.00', '82.20', '75.00', '67.14', '7.86', '05:37 ↑ (65°)', '18:44 ↑ (295°)', '13:06:22', '−0:02'),
(2018, 'June', 25, '95.00', '82.10', '73.00', '67.18', '5.82', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:18', '−0:04'),
(2018, 'June', 26, '90.00', '78.20', '73.00', '67.21', '5.79', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:13', '−0:05'),
(2018, 'June', 27, '84.00', '77.80', '70.00', '67.22', '2.78', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:06', '−0:06'),
(2018, 'June', 28, '91.00', '79.90', '72.00', '67.25', '4.75', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:05:59', '−0:07'),
(2018, 'June', 29, '91.00', '80.20', '73.00', '67.28', '5.72', '05:39 ↑ (65°)', '18:44 ↑ (295°)', '13:05:50', '−0:08'),
(2018, 'June', 30, '93.00', '80.90', '75.00', '67.33', '7.67', '05:39 ↑ (65°)', '18:45 ↑ (294°)', '13:05:40', '−0:09'),
(2018, 'July', 1, '93.00', '81.00', '73.00', '67.36', '5.64', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:29', '−0:11'),
(2018, 'July', 2, '93.00', '82.30', '77.00', '67.41', '9.59', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:17', '−0:12'),
(2018, 'July', 3, '95.00', '84.90', '75.00', '67.45', '7.55', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:05:03', '−0:13'),
(2018, 'July', 4, '93.00', '83.90', '77.00', '67.50', '9.50', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:49', '−0:14'),
(2018, 'July', 5, '93.00', '85.00', '77.00', '67.55', '9.45', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:33', '−0:15'),
(2018, 'July', 6, '93.00', '85.30', '77.00', '67.60', '9.40', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:04:16', '−0:16'),
(2018, 'July', 7, '93.00', '84.50', '77.00', '67.65', '9.35', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:03:58', '−0:17'),
(2018, 'July', 8, '82.00', '79.80', '77.00', '67.70', '9.30', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:03:39', '−0:18'),
(2018, 'July', 9, '88.00', '81.70', '75.00', '67.74', '7.26', '05:42 ↑ (66°)', '18:45 ↑ (294°)', '13:03:19', '−0:20'),
(2018, 'July', 10, '91.00', '81.70', '75.00', '67.78', '7.22', '05:42 ↑ (66°)', '18:45 ↑ (293°)', '13:02:58', '−0:21'),
(2018, 'July', 11, '90.00', '81.70', '79.00', '67.84', '11.16', '05:42 ↑ (67°)', '18:45 ↑ (293°)', '13:02:36', '−0:22'),
(2018, 'July', 12, '90.00', '80.50', '75.00', '67.88', '7.12', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:02:13', '−0:23'),
(2018, 'July', 13, '91.00', '79.40', '75.00', '67.91', '7.09', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:48', '−0:24'),
(2018, 'July', 14, '90.00', '80.90', '75.00', '67.95', '7.05', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:23', '−0:25'),
(2018, 'July', 15, '88.00', '81.40', '77.00', '67.99', '9.01', '05:44 ↑ (67°)', '18:45 ↑ (293°)', '13:00:57', '−0:26'),
(2018, 'July', 16, '81.00', '77.40', '75.00', '68.03', '6.97', '05:44 ↑ (67°)', '18:44 ↑ (293°)', '13:00:30', '−0:27'),
(2018, 'July', 17, '81.00', '77.10', '75.00', '68.07', '6.93', '05:44 ↑ (68°)', '18:44 ↑ (292°)', '13:00:02', '−0:28'),
(2018, 'July', 18, '82.00', '78.30', '75.00', '68.10', '6.90', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:59:33', '−0:29'),
(2018, 'July', 19, '84.00', '79.50', '75.00', '68.14', '6.87', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:59:03', '−0:30'),
(2018, 'July', 20, '86.00', '80.70', '77.00', '68.18', '8.82', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:58:32', '−0:30'),
(2018, 'July', 21, '90.00', '82.30', '77.00', '68.22', '8.78', '05:46 ↑ (68°)', '18:44 ↑ (292°)', '12:58:00', '−0:31'),
(2018, 'July', 22, '90.00', '82.50', '77.00', '68.27', '8.73', '05:46 ↑ (68°)', '18:43 ↑ (291°)', '12:57:27', '−0:32'),
(2018, 'July', 23, '91.00', '84.20', '77.00', '68.31', '8.69', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:56:54', '−0:33'),
(2018, 'July', 24, '88.00', '83.00', '77.00', '68.35', '8.65', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:56:19', '−0:34'),
(2018, 'July', 25, '90.00', '79.90', '73.00', '68.37', '4.63', '05:47 ↑ (69°)', '18:42 ↑ (291°)', '12:55:44', '−0:35'),
(2018, 'July', 26, '79.00', '77.40', '75.00', '68.41', '6.59', '05:47 ↑ (69°)', '18:42 ↑ (291°)', '12:55:08', '−0:35'),
(2018, 'July', 27, '81.00', '77.90', '75.00', '68.44', '6.56', '05:47 ↑ (70°)', '18:42 ↑ (290°)', '12:54:32', '−0:36'),
(2018, 'July', 28, '88.00', '80.40', '73.00', '68.46', '4.54', '05:48 ↑ (70°)', '18:42 ↑ (290°)', '12:53:54', '−0:37'),
(2018, 'July', 29, '88.00', '80.30', '73.00', '68.48', '4.52', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:53:16', '−0:38'),
(2018, 'July', 30, '91.00', '81.80', '75.00', '68.51', '6.49', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:52:37', '−0:38'),
(2018, 'July', 31, '88.00', '80.70', '75.00', '68.54', '6.46', '05:48 ↑ (71°)', '18:40 ↑ (289°)', '12:51:58', '−0:39'),
(2018, 'August', 1, '93.00', '82.70', '77.00', '68.58', '8.42', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:51:18', '−0:40'),
(2018, 'August', 2, '91.00', '81.90', '73.00', '68.60', '4.40', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:50:37', '−0:40'),
(2018, 'August', 3, '90.00', '82.10', '75.00', '68.63', '6.37', '05:49 ↑ (71°)', '18:39 ↑ (288°)', '12:49:55', '−0:41'),
(2018, 'August', 4, '91.00', '82.10', '75.00', '68.66', '6.34', '05:50 ↑ (72°)', '18:39 ↑ (288°)', '12:49:13', '−0:42'),
(2018, 'August', 5, '93.00', '81.80', '75.00', '68.69', '6.31', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:48:31', '−0:42'),
(2018, 'August', 6, '93.00', '81.50', '73.00', '68.71', '4.29', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:47:47', '−0:43'),
(2018, 'August', 7, '93.00', '81.20', '75.00', '68.74', '6.26', '05:50 ↑ (73°)', '18:37 ↑ (287°)', '12:47:03', '−0:43'),
(2018, 'August', 8, '93.00', '82.60', '75.00', '68.77', '6.23', '05:51 ↑ (73°)', '18:37 ↑ (287°)', '12:46:19', '−0:44'),
(2018, 'August', 9, '84.00', '79.00', '77.00', '68.81', '8.19', '05:51 ↑ (73°)', '18:36 ↑ (287°)', '12:45:34', '−0:44'),
(2018, 'August', 10, '88.00', '81.00', '77.00', '68.84', '8.16', '05:51 ↑ (73°)', '18:36 ↑ (286°)', '12:44:49', '−0:45'),
(2018, 'August', 11, '88.00', '81.00', '77.00', '68.88', '8.12', '05:51 ↑ (74°)', '18:35 ↑ (286°)', '12:44:03', '−0:45'),
(2018, 'August', 12, '90.00', '83.10', '77.00', '68.92', '8.08', '05:52 ↑ (74°)', '18:35 ↑ (286°)', '12:43:16', '−0:46'),
(2018, 'August', 13, '84.00', '80.20', '77.00', '68.95', '8.05', '05:52 ↑ (74°)', '18:34 ↑ (285°)', '12:42:30', '−0:46'),
(2018, 'August', 14, '88.00', '81.50', '77.00', '68.99', '8.01', '05:52 ↑ (75°)', '18:34 ↑ (285°)', '12:41:42', '−0:47'),
(2018, 'August', 15, '86.00', '80.50', '77.00', '69.02', '7.98', '05:52 ↑ (75°)', '18:33 ↑ (285°)', '12:40:55', '−0:47'),
(2018, 'August', 16, '91.00', '83.30', '75.00', '69.05', '5.95', '05:52 ↑ (75°)', '18:32 ↑ (285°)', '12:40:06', '−0:48'),
(2018, 'August', 17, '86.00', '81.20', '77.00', '69.08', '7.92', '05:53 ↑ (76°)', '18:32 ↑ (284°)', '12:39:18', '−0:48'),
(2018, 'August', 18, '90.00', '81.40', '75.00', '69.11', '5.89', '05:53 ↑ (76°)', '18:31 ↑ (284°)', '12:38:29', '−0:48'),
(2018, 'August', 19, '93.00', '82.50', '75.00', '69.13', '5.87', '05:53 ↑ (76°)', '18:31 ↑ (284°)', '12:37:40', '−0:49'),
(2018, 'August', 20, '91.00', '82.70', '77.00', '69.17', '7.83', '05:53 ↑ (77°)', '18:30 ↑ (283°)', '12:36:50', '−0:49'),
(2018, 'August', 21, '93.00', '82.40', '77.00', '69.20', '7.80', '05:53 ↑ (77°)', '18:29 ↑ (283°)', '12:36:00', '−0:49'),
(2018, 'August', 22, '86.00', '79.00', '75.00', '69.23', '5.77', '05:53 ↑ (77°)', '18:29 ↑ (282°)', '12:35:10', '−0:50'),
(2018, 'August', 23, '91.00', '81.00', '75.00', '69.25', '5.75', '05:54 ↑ (78°)', '18:28 ↑ (282°)', '12:34:19', '−0:50'),
(2018, 'August', 24, '91.00', '81.00', '75.00', '69.28', '5.72', '05:54 ↑ (78°)', '18:27 ↑ (282°)', '12:33:28', '−0:50'),
(2018, 'August', 25, '84.00', '78.70', '73.00', '69.29', '3.71', '05:54 ↑ (78°)', '18:27 ↑ (281°)', '12:32:37', '−0:51'),
(2018, 'August', 26, '79.00', '75.50', '73.00', '69.31', '3.69', '05:54 ↑ (79°)', '18:26 ↑ (281°)', '12:31:46', '−0:51'),
(2018, 'August', 27, '88.00', '80.30', '73.00', '69.32', '3.68', '05:54 ↑ (79°)', '18:25 ↑ (281°)', '12:30:54', '−0:51'),
(2018, 'August', 28, '90.00', '81.20', '75.00', '69.35', '5.65', '05:54 ↑ (80°)', '18:24 ↑ (280°)', '12:30:02', '−0:51'),
(2018, 'August', 29, '81.00', '77.20', '73.00', '69.36', '3.64', '05:54 ↑ (80°)', '18:24 ↑ (280°)', '12:29:10', '−0:52'),
(2018, 'August', 30, '84.00', '79.10', '73.00', '69.38', '3.62', '05:55 ↑ (80°)', '18:23 ↑ (280°)', '12:28:17', '−0:52'),
(2018, 'August', 31, '91.00', '82.70', '75.00', '69.40', '5.60', '05:55 ↑ (81°)', '18:22 ↑ (279°)', '12:27:25', '−0:52'),
(2018, 'September', 1, '93.00', '81.80', '73.00', '69.41', '3.59', '05:55 ↑ (81°)', '18:21 ↑ (279°)', '12:26:32', '−0:52'),
(2018, 'September', 2, '91.00', '82.30', '73.00', '69.43', '3.57', '05:55 ↑ (81°)', '18:21 ↑ (278°)', '12:25:39', '−0:53'),
(2018, 'September', 3, '88.00', '80.40', '75.00', '69.45', '5.55', '05:55 ↑ (82°)', '18:20 ↑ (278°)', '12:24:46', '−0:53'),
(2018, 'September', 4, '93.00', '78.10', '72.00', '69.46', '2.54', '05:55 ↑ (82°)', '18:19 ↑ (278°)', '12:23:52', '−0:53'),
(2018, 'September', 5, '91.00', '79.30', '73.00', '69.48', '3.52', '05:55 ↑ (83°)', '18:18 ↑ (277°)', '12:22:59', '−0:53'),
(2018, 'September', 6, '93.00', '83.10', '73.00', '69.49', '3.51', '05:55 ↑ (83°)', '18:18 ↑ (277°)', '12:22:05', '−0:53'),
(2018, 'September', 7, '95.00', '85.10', '75.00', '69.51', '5.49', '05:56 ↑ (83°)', '18:17 ↑ (276°)', '12:21:11', '−0:53'),
(2018, 'September', 8, '88.00', '80.70', '73.00', '69.53', '3.47', '05:56 ↑ (84°)', '18:16 ↑ (276°)', '12:20:17', '−0:54'),
(2018, 'September', 9, '90.00', '80.60', '75.00', '69.55', '5.45', '05:56 ↑ (84°)', '18:15 ↑ (276°)', '12:19:23', '−0:54'),
(2018, 'September', 10, '90.00', '81.30', '73.00', '69.56', '3.44', '05:56 ↑ (84°)', '18:14 ↑ (275°)', '12:18:29', '−0:54'),
(2018, 'September', 11, '91.00', '81.30', '77.00', '69.59', '7.41', '05:56 ↑ (85°)', '18:14 ↑ (275°)', '12:17:34', '−0:54'),
(2018, 'September', 12, '86.00', '79.50', '75.00', '69.61', '5.39', '05:56 ↑ (85°)', '18:13 ↑ (275°)', '12:16:40', '−0:54'),
(2018, 'September', 13, '90.00', '81.20', '75.00', '69.63', '5.37', '05:56 ↑ (86°)', '18:12 ↑ (274°)', '12:15:45', '−0:54'),
(2018, 'September', 14, '91.00', '80.80', '77.00', '69.66', '7.34', '05:56 ↑ (86°)', '18:11 ↑ (274°)', '12:14:51', '−0:54'),
(2018, 'September', 15, '93.00', '83.10', '75.00', '69.68', '5.32', '05:56 ↑ (86°)', '18:10 ↑ (273°)', '12:13:56', '−0:54'),
(2018, 'September', 16, '93.00', '84.00', '75.00', '69.70', '5.30', '05:57 ↑ (87°)', '18:10 ↑ (273°)', '12:13:01', '−0:54'),
(2018, 'September', 17, '93.00', '81.70', '77.00', '69.73', '7.27', '05:57 ↑ (87°)', '18:09 ↑ (273°)', '12:12:06', '−0:54'),
(2018, 'September', 18, '91.00', '82.10', '73.00', '69.74', '3.26', '05:57 ↑ (88°)', '18:08 ↑ (272°)', '12:11:11', '−0:54'),
(2018, 'September', 19, '88.00', '79.20', '75.00', '69.76', '5.24', '05:57 ↑ (88°)', '18:07 ↑ (272°)', '12:10:16', '−0:54'),
(2018, 'September', 20, '93.00', '80.50', '70.00', '69.76', '0.24', '05:57 ↑ (88°)', '18:06 ↑ (271°)', '12:09:22', '−0:54'),
(2018, 'September', 21, '93.00', '83.00', '73.00', '69.78', '3.22', '05:57 ↑ (89°)', '18:05 ↑ (271°)', '12:08:27', '−0:54'),
(2018, 'September', 22, '93.00', '80.70', '75.00', '69.80', '5.20', '05:57 ↑ (89°)', '18:05 ↑ (270°)', '12:07:32', '−0:54'),
(2018, 'September', 23, '90.00', '79.90', '73.00', '69.81', '3.19', '05:57 ↑ (90°)', '18:04 ↑ (270°)', '12:06:37', '−0:54'),
(2018, 'September', 24, '95.00', '82.40', '73.00', '69.82', '3.18', '05:57 ↑ (90°)', '18:03 ↑ (270°)', '12:05:42', '−0:54'),
(2018, 'September', 25, '95.00', '83.80', '75.00', '69.84', '5.16', '05:57 ↑ (91°)', '18:02 ↑ (269°)', '12:04:47', '−0:54'),
(2018, 'September', 26, '99.00', '85.00', '75.00', '69.86', '5.14', '05:58 ↑ (91°)', '18:01 ↑ (269°)', '12:03:52', '−0:54'),
(2018, 'September', 27, '99.00', '84.00', '77.00', '69.89', '7.11', '05:58 ↑ (91°)', '18:01 ↑ (268°)', '12:02:57', '−0:54'),
(2018, 'September', 28, '91.00', '83.50', '77.00', '69.91', '7.09', '05:58 ↑ (92°)', '18:00 ↑ (268°)', '12:02:02', '−0:54'),
(2018, 'September', 29, '93.00', '83.70', '77.00', '69.94', '7.06', '05:58 ↑ (92°)', '17:59 ↑ (268°)', '12:01:07', '−0:54'),
(2018, 'September', 30, '93.00', '83.90', '77.00', '69.96', '7.04', '05:58 ↑ (93°)', '17:58 ↑ (267°)', '12:00:13', '−0:54'),
(2018, 'October', 1, '91.00', '83.30', '77.00', '69.99', '7.01', '05:58 ↑ (93°)', '17:57 ↑ (267°)', '11:59:18', '−0:54'),
(2018, 'October', 2, '91.00', '81.90', '73.00', '70.00', '3.00', '05:58 ↑ (93°)', '17:57 ↑ (266°)', '11:58:23', '−0:54'),
(2018, 'October', 3, '91.00', '82.70', '75.00', '70.02', '4.98', '05:58 ↑ (94°)', '17:56 ↑ (266°)', '11:57:29', '−0:54'),
(2018, 'October', 4, '90.00', '81.40', '73.00', '70.03', '2.97', '05:59 ↑ (94°)', '17:55 ↑ (266°)', '11:56:34', '−0:54'),
(2018, 'October', 5, '91.00', '82.00', '75.00', '70.05', '4.95', '05:59 ↑ (95°)', '17:54 ↑ (265°)', '11:55:40', '−0:54'),
(2018, 'October', 6, '93.00', '81.40', '72.00', '70.05', '1.95', '05:59 ↑ (95°)', '17:54 ↑ (265°)', '11:54:45', '−0:54'),
(2018, 'October', 7, '93.00', '81.60', '73.00', '70.06', '2.94', '05:59 ↑ (95°)', '17:53 ↑ (264°)', '11:53:51', '−0:54'),
(2018, 'October', 8, '95.00', '82.30', '73.00', '70.07', '2.93', '05:59 ↑ (96°)', '17:52 ↑ (264°)', '11:52:57', '−0:54'),
(2018, 'October', 9, '95.00', '83.30', '75.00', '70.09', '4.91', '05:59 ↑ (96°)', '17:51 ↑ (264°)', '11:52:03', '−0:53'),
(2018, 'October', 10, '93.00', '82.80', '73.00', '70.10', '2.90', '06:00 ↑ (97°)', '17:51 ↑ (263°)', '11:51:09', '−0:53'),
(2018, 'October', 11, '93.00', '81.60', '70.00', '70.10', '-0.10', '06:00 ↑ (97°)', '17:50 ↑ (263°)', '11:50:16', '−0:53'),
(2018, 'October', 12, '91.00', '80.30', '70.00', '70.10', '-0.10', '06:00 ↑ (97°)', '17:49 ↑ (262°)', '11:49:22', '−0:53'),
(2018, 'October', 13, '95.00', '82.60', '73.00', '70.11', '2.89', '06:00 ↑ (98°)', '17:49 ↑ (262°)', '11:48:29', '−0:53'),
(2018, 'October', 14, '95.00', '83.80', '73.00', '70.12', '2.88', '06:00 ↑ (98°)', '17:48 ↑ (262°)', '11:47:36', '−0:53'),
(2018, 'October', 15, '91.00', '80.60', '73.00', '70.13', '2.87', '06:01 ↑ (99°)', '17:47 ↑ (261°)', '11:46:43', '−0:52'),
(2018, 'October', 16, '95.00', '83.70', '75.00', '70.15', '4.85', '06:01 ↑ (99°)', '17:47 ↑ (261°)', '11:45:50', '−0:52'),
(2018, 'October', 17, '95.00', '80.60', '75.00', '70.17', '4.83', '06:01 ↑ (99°)', '17:46 ↑ (261°)', '11:44:57', '−0:52'),
(2018, 'October', 18, '95.00', '81.40', '73.00', '70.18', '2.82', '06:01 ↑ (100°)', '17:45 ↑ (260°)', '11:44:05', '−0:52'),
(2018, 'October', 19, '91.00', '81.20', '73.00', '70.18', '2.82', '06:01 ↑ (100°)', '17:45 ↑ (260°)', '11:43:13', '−0:52'),
(2018, 'October', 20, '91.00', '82.50', '75.00', '70.20', '4.80', '06:02 ↑ (100°)', '17:44 ↑ (259°)', '11:42:21', '−0:51'),
(2018, 'October', 21, '86.00', '78.20', '73.00', '70.21', '2.79', '06:02 ↑ (101°)', '17:43 ↑ (259°)', '11:41:30', '−0:51'),
(2018, 'October', 22, '93.00', '80.10', '73.00', '70.22', '2.78', '06:02 ↑ (101°)', '17:43 ↑ (259°)', '11:40:39', '−0:51'),
(2018, 'October', 23, '95.00', '82.40', '75.00', '70.24', '4.76', '06:03 ↑ (102°)', '17:42 ↑ (258°)', '11:39:48', '−0:50'),
(2018, 'October', 24, '91.00', '80.90', '73.00', '70.25', '2.75', '06:03 ↑ (102°)', '17:42 ↑ (258°)', '11:38:57', '−0:50'),
(2018, 'October', 25, '95.00', '82.60', '75.00', '70.26', '4.74', '06:03 ↑ (102°)', '17:41 ↑ (258°)', '11:38:07', '−0:50'),
(2018, 'October', 26, '93.00', '83.10', '73.00', '70.27', '2.73', '06:03 ↑ (103°)', '17:41 ↑ (257°)', '11:37:17', '−0:49'),
(2018, 'October', 27, '93.00', '83.00', '73.00', '70.28', '2.72', '06:04 ↑ (103°)', '17:40 ↑ (257°)', '11:36:27', '−0:49'),
(2018, 'October', 28, '91.00', '81.90', '72.00', '70.29', '1.71', '06:04 ↑ (103°)', '17:40 ↑ (257°)', '11:35:38', '−0:49'),
(2018, 'October', 29, '91.00', '81.70', '72.00', '70.29', '1.71', '06:04 ↑ (104°)', '17:39 ↑ (256°)', '11:34:49', '−0:48'),
(2018, 'October', 30, '91.00', '80.10', '70.00', '70.29', '-0.29', '06:05 ↑ (104°)', '17:39 ↑ (256°)', '11:34:01', '−0:48'),
(2018, 'October', 31, '90.00', '77.20', '64.00', '70.27', '-6.27', '06:05 ↑ (104°)', '17:38 ↑ (255°)', '11:33:13', '−0:48'),
(2018, 'November', 1, '88.00', '75.00', '61.00', '70.24', '-9.24', '06:05 ↑ (105°)', '17:38 ↑ (255°)', '11:32:25', '−0:47'),
(2018, 'November', 2, '88.00', '73.60', '59.00', '70.20', '-11.20', '06:06 ↑ (105°)', '17:37 ↑ (255°)', '11:31:38', '−0:47'),
(2018, 'November', 3, '90.00', '74.40', '61.00', '70.17', '-9.17', '06:06 ↑ (105°)', '17:37 ↑ (254°)', '11:30:51', '−0:46'),
(2018, 'November', 4, '91.00', '75.70', '63.00', '70.15', '-7.15', '06:07 ↑ (106°)', '17:37 ↑ (254°)', '11:30:05', '−0:46'),
(2018, 'November', 5, '93.00', '77.90', '64.00', '70.13', '-6.13', '06:07 ↑ (106°)', '17:36 ↑ (254°)', '11:29:19', '−0:45'),
(2018, 'November', 6, '93.00', '80.30', '68.00', '70.12', '-2.12', '06:07 ↑ (106°)', '17:36 ↑ (254°)', '11:28:34', '−0:45'),
(2018, 'November', 7, '93.00', '81.40', '72.00', '70.13', '1.87', '06:08 ↑ (107°)', '17:36 ↑ (253°)', '11:27:49', '−0:44'),
(2018, 'November', 8, '91.00', '80.30', '72.00', '70.13', '1.87', '06:08 ↑ (107°)', '17:35 ↑ (253°)', '11:27:05', '−0:44'),
(2018, 'November', 9, '90.00', '78.00', '73.00', '70.14', '2.86', '06:09 ↑ (107°)', '17:35 ↑ (253°)', '11:26:22', '−0:43'),
(2018, 'November', 10, '93.00', '79.80', '73.00', '70.15', '2.85', '06:09 ↑ (108°)', '17:35 ↑ (252°)', '11:25:39', '−0:42'),
(2018, 'November', 11, '95.00', '82.00', '75.00', '70.17', '4.83', '06:10 ↑ (108°)', '17:35 ↑ (252°)', '11:24:56', '−0:42'),
(2018, 'November', 12, '93.00', '81.80', '73.00', '70.18', '2.82', '06:10 ↑ (108°)', '17:34 ↑ (252°)', '11:24:15', '−0:41'),
(2018, 'November', 13, '95.00', '82.50', '73.00', '70.19', '2.81', '06:11 ↑ (108°)', '17:34 ↑ (251°)', '11:23:34', '−0:41'),
(2018, 'November', 14, '93.00', '82.00', '75.00', '70.20', '4.80', '06:11 ↑ (109°)', '17:34 ↑ (251°)', '11:22:53', '−0:40'),
(2018, 'November', 15, '97.00', '83.70', '73.00', '70.21', '2.79', '06:12 ↑ (109°)', '17:34 ↑ (251°)', '11:22:14', '−0:39'),
(2018, 'November', 16, '99.00', '84.20', '75.00', '70.23', '4.78', '06:12 ↑ (109°)', '17:34 ↑ (251°)', '11:21:35', '−0:38'),
(2018, 'November', 17, '100.00', '85.00', '73.00', '70.23', '2.77', '06:13 ↑ (109°)', '17:33 ↑ (250°)', '11:20:57', '−0:38'),
(2018, 'November', 18, '97.00', '84.20', '75.00', '70.25', '4.75', '06:13 ↑ (110°)', '17:33 ↑ (250°)', '11:20:19', '−0:37'),
(2018, 'November', 19, '95.00', '82.30', '72.00', '70.25', '1.75', '06:14 ↑ (110°)', '17:33 ↑ (250°)', '11:19:43', '−0:36'),
(2018, 'November', 20, '97.00', '82.90', '72.00', '70.26', '1.74', '06:14 ↑ (110°)', '17:33 ↑ (250°)', '11:19:07', '−0:35'),
(2018, 'November', 21, '99.00', '83.40', '72.00', '70.26', '1.74', '06:15 ↑ (110°)', '17:33 ↑ (249°)', '11:18:32', '−0:34'),
(2018, 'November', 22, '93.00', '82.30', '73.00', '70.27', '2.73', '06:15 ↑ (111°)', '17:33 ↑ (249°)', '11:17:58', '−0:34'),
(2018, 'November', 23, '90.00', '78.10', '68.00', '70.27', '-2.27', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:17:25', '−0:33'),
(2018, 'November', 24, '91.00', '77.50', '64.00', '70.25', '-6.25', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:16:52', '−0:32'),
(2018, 'November', 25, '91.00', '77.30', '64.00', '70.23', '-6.23', '06:17 ↑ (111°)', '17:33 ↑ (249°)', '11:16:21', '−0:31'),
(2018, 'November', 26, '90.00', '76.60', '64.00', '70.21', '-6.21', '06:17 ↑ (112°)', '17:33 ↑ (248°)', '11:15:51', '−0:30'),
(2018, 'November', 27, '82.00', '73.30', '68.00', '70.20', '-2.20', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:15:21', '−0:29'),
(2018, 'November', 28, '82.00', '73.70', '66.00', '70.19', '-4.19', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:14:53', '−0:28'),
(2018, 'November', 29, '91.00', '79.10', '68.00', '70.18', '-2.18', '06:19 ↑ (112°)', '17:33 ↑ (248°)', '11:14:25', '−0:27'),
(2018, 'November', 30, '95.00', '81.20', '72.00', '70.19', '1.81', '06:20 ↑ (112°)', '17:34 ↑ (248°)', '11:13:59', '−0:26'),
(2018, 'December', 1, '97.00', '81.80', '70.00', '70.19', '-0.19', '06:20 ↑ (112°)', '17:34 ↑ (247°)', '11:13:33', '−0:25'),
(2018, 'December', 2, '97.00', '81.90', '70.00', '70.19', '-0.19', '06:21 ↑ (113°)', '17:34 ↑ (247°)', '11:13:09', '−0:24'),
(2018, 'December', 3, '99.00', '83.10', '70.00', '70.19', '-0.19', '06:21 ↑ (113°)', '17:34 ↑ (247°)', '11:12:45', '−0:23'),
(2018, 'December', 4, '97.00', '82.40', '68.00', '70.18', '-2.18', '06:22 ↑ (113°)', '17:34 ↑ (247°)', '11:12:23', '−0:22'),
(2018, 'December', 5, '97.00', '82.00', '68.00', '70.17', '-2.17', '06:23 ↑ (113°)', '17:35 ↑ (247°)', '11:12:02', '−0:21'),
(2018, 'December', 6, '95.00', '81.10', '68.00', '70.17', '-2.17', '06:23 ↑ (113°)', '17:35 ↑ (247°)', '11:11:42', '−0:19'),
(2018, 'December', 7, '93.00', '80.60', '70.00', '70.17', '-0.17', '06:24 ↑ (113°)', '17:35 ↑ (247°)', '11:11:23', '−0:18'),
(2018, 'December', 8, '86.00', '78.20', '73.00', '70.18', '2.82', '06:24 ↑ (113°)', '17:35 ↑ (247°)', '11:11:06', '−0:17'),
(2018, 'December', 9, '86.00', '76.70', '72.00', '70.18', '1.82', '06:25 ↑ (114°)', '17:36 ↑ (246°)', '11:10:49', '−0:16'),
(2018, 'December', 10, '88.00', '77.60', '68.00', '70.17', '-2.17', '06:25 ↑ (114°)', '17:36 ↑ (246°)', '11:10:34', '−0:15'),
(2018, 'December', 11, '90.00', '80.20', '72.00', '70.18', '1.82', '06:26 ↑ (114°)', '17:36 ↑ (246°)', '11:10:20', '−0:14'),
(2018, 'December', 12, '86.00', '76.30', '70.00', '70.18', '-0.18', '06:27 ↑ (114°)', '17:37 ↑ (246°)', '11:10:07', '−0:12'),
(2018, 'December', 13, '86.00', '73.90', '66.00', '70.17', '-4.17', '06:27 ↑ (114°)', '17:37 ↑ (246°)', '11:09:55', '−0:11'),
(2018, 'December', 14, '88.00', '73.10', '63.00', '70.15', '-7.15', '06:28 ↑ (114°)', '17:38 ↑ (246°)', '11:09:45', '−0:10'),
(2018, 'December', 15, '90.00', '75.40', '63.00', '70.13', '-7.13', '06:28 ↑ (114°)', '17:38 ↑ (246°)', '11:09:35', '−0:09'),
(2018, 'December', 16, '91.00', '77.70', '66.00', '70.11', '-4.11', '06:29 ↑ (114°)', '17:38 ↑ (246°)', '11:09:27', '−0:07'),
(2018, 'December', 17, '90.00', '77.10', '64.00', '70.10', '-6.10', '06:29 ↑ (114°)', '17:39 ↑ (246°)', '11:09:21', '−0:06'),
(2018, 'December', 18, '88.00', '68.50', '0.00', '69.90', '-69.90', '06:30 ↑ (114°)', '17:39 ↑ (246°)', '11:09:15', '−0:05'),
(2018, 'December', 19, '90.00', '75.70', '61.00', '69.87', '-8.87', '06:30 ↑ (114°)', '17:40 ↑ (246°)', '11:09:11', '−0:04'),
(2018, 'December', 20, '93.00', '78.80', '64.00', '69.86', '-5.86', '06:31 ↑ (114°)', '17:40 ↑ (246°)', '11:09:09', '−0:02'),
(2018, 'December', 21, '95.00', '80.80', '68.00', '69.85', '-1.85', '06:32 ↑ (114°)', '17:41 ↑ (246°)', '11:09:07', '−0:01'),
(2018, 'December', 22, '95.00', '83.90', '75.00', '69.87', '5.13', '06:32 ↑ (114°)', '17:41 ↑ (246°)', '11:09:07', '< 1s'),
(2018, 'December', 23, '91.00', '81.10', '70.00', '69.87', '0.13', '06:33 ↑ (114°)', '17:42 ↑ (246°)', '11:09:08', '+0:01'),
(2018, 'December', 24, '90.00', '78.90', '66.00', '69.85', '-3.85', '06:33 ↑ (114°)', '17:42 ↑ (246°)', '11:09:10', '+0:02'),
(2018, 'December', 25, '90.00', '77.20', '63.00', '69.84', '-6.84', '06:33 ↑ (114°)', '17:43 ↑ (246°)', '11:09:14', '+0:03'),
(2018, 'December', 26, '93.00', '77.80', '63.00', '69.82', '-6.82', '06:34 ↑ (114°)', '17:43 ↑ (246°)', '11:09:19', '+0:04'),
(2018, 'December', 27, '91.00', '78.10', '64.00', '69.80', '-5.80', '06:34 ↑ (114°)', '17:44 ↑ (246°)', '11:09:25', '+0:06'),
(2018, 'December', 28, '91.00', '80.10', '68.00', '69.80', '-1.80', '06:35 ↑ (114°)', '17:44 ↑ (246°)', '11:09:32', '+0:07'),
(2018, 'December', 29, '84.00', '75.70', '72.00', '69.80', '2.20', '06:35 ↑ (114°)', '17:45 ↑ (246°)', '11:09:41', '+0:08'),
(2018, 'December', 30, '84.00', '75.00', '68.00', '69.80', '-1.80', '06:36 ↑ (114°)', '17:45 ↑ (246°)', '11:09:51', '+0:09'),
(2018, 'December', 31, '82.00', '71.60', '63.00', '69.78', '-6.78', '06:36 ↑ (114°)', '17:46 ↑ (246°)', '11:10:02', '+0:11'),
(2019, 'January', 1, '82.00', '70.40', '59.00', '59.00', '0.00', '06:36 ↑ (114°)', '17:47 ↑ (246°)', '11:10:14', '+0:12'),
(2019, 'January', 2, '82.00', '70.50', '59.00', '59.00', '0.00', '06:37 ↑ (114°)', '17:47 ↑ (246°)', '11:10:28', '+0:13'),
(2019, 'January', 3, '82.00', '72.40', '61.00', '59.67', '1.33', '06:37 ↑ (114°)', '17:48 ↑ (246°)', '11:10:43', '+0:14'),
(2019, 'January', 4, '81.00', '74.30', '66.00', '61.25', '4.75', '06:37 ↑ (114°)', '17:48 ↑ (247°)', '11:10:59', '+0:16'),
(2019, 'January', 5, '86.00', '77.20', '72.00', '63.40', '8.60', '06:38 ↑ (113°)', '17:49 ↑ (247°)', '11:11:16', '+0:17'),
(2019, 'January', 6, '91.00', '79.20', '68.00', '64.17', '3.83', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:11:35', '+0:18'),
(2019, 'January', 7, '93.00', '80.30', '70.00', '65.00', '5.00', '06:38 ↑ (113°)', '17:50 ↑ (247°)', '11:11:55', '+0:19'),
(2019, 'January', 8, '91.00', '80.10', '70.00', '65.63', '4.38', '06:39 ↑ (113°)', '17:51 ↑ (247°)', '11:12:16', '+0:20'),
(2019, 'January', 9, '90.00', '79.00', '68.00', '65.89', '2.11', '06:39 ↑ (113°)', '17:51 ↑ (247°)', '11:12:37', '+0:21'),
(2019, 'January', 10, '93.00', '79.80', '70.00', '66.30', '3.70', '06:39 ↑ (113°)', '17:52 ↑ (247°)', '11:13:01', '+0:23'),
(2019, 'January', 11, '95.00', '81.50', '70.00', '66.64', '3.36', '06:39 ↑ (113°)', '17:53 ↑ (247°)', '11:13:25', '+0:24'),
(2019, 'January', 12, '95.00', '81.30', '70.00', '66.92', '3.08', '06:39 ↑ (112°)', '17:53 ↑ (248°)', '11:13:50', '+0:25'),
(2019, 'January', 13, '93.00', '79.30', '68.00', '67.00', '1.00', '06:40 ↑ (112°)', '17:54 ↑ (248°)', '11:14:16', '+0:26'),
(2019, 'January', 14, '91.00', '79.30', '66.00', '66.93', '-0.93', '06:40 ↑ (112°)', '17:54 ↑ (248°)', '11:14:44', '+0:27'),
(2019, 'January', 15, '90.00', '79.30', '70.00', '67.13', '2.87', '06:40 ↑ (112°)', '17:55 ↑ (248°)', '11:15:12', '+0:28'),
(2019, 'January', 16, '90.00', '78.80', '68.00', '67.19', '0.81', '06:40 ↑ (112°)', '17:56 ↑ (248°)', '11:15:41', '+0:29'),
(2019, 'January', 17, '88.00', '77.00', '64.00', '67.00', '-3.00', '06:40 ↑ (112°)', '17:56 ↑ (249°)', '11:16:12', '+0:30'),
(2019, 'January', 18, '88.00', '74.90', '64.00', '66.83', '-2.83', '06:40 ↑ (111°)', '17:57 ↑ (249°)', '11:16:43', '+0:31'),
(2019, 'January', 19, '91.00', '77.20', '66.00', '66.79', '-0.79', '06:40 ↑ (111°)', '17:57 ↑ (249°)', '11:17:15', '+0:32'),
(2019, 'January', 20, '91.00', '79.70', '70.00', '66.95', '3.05', '06:40 ↑ (111°)', '17:58 ↑ (249°)', '11:17:49', '+0:33'),
(2019, 'January', 21, '91.00', '79.50', '70.00', '67.10', '2.90', '06:40 ↑ (111°)', '17:59 ↑ (249°)', '11:18:23', '+0:34'),
(2019, 'January', 22, '88.00', '75.20', '61.00', '66.82', '-5.82', '06:40 ↑ (110°)', '17:59 ↑ (250°)', '11:18:58', '+0:34'),
(2019, 'January', 23, '88.00', '73.80', '61.00', '66.57', '-5.57', '06:40 ↑ (110°)', '18:00 ↑ (250°)', '11:19:33', '+0:35'),
(2019, 'January', 24, '90.00', '75.00', '61.00', '66.33', '-5.33', '06:40 ↑ (110°)', '18:00 ↑ (250°)', '11:20:10', '+0:36'),
(2019, 'January', 25, '91.00', '76.30', '63.00', '66.20', '-3.20', '06:40 ↑ (110°)', '18:01 ↑ (250°)', '11:20:48', '+0:37'),
(2019, 'January', 26, '88.00', '76.30', '64.00', '66.12', '-2.12', '06:40 ↑ (109°)', '18:01 ↑ (251°)', '11:21:26', '+0:38'),
(2019, 'January', 27, '86.00', '73.70', '61.00', '65.93', '-4.93', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:22:05', '+0:39'),
(2019, 'January', 28, '88.00', '74.40', '61.00', '65.75', '-4.75', '06:40 ↑ (109°)', '18:02 ↑ (251°)', '11:22:45', '+0:39'),
(2019, 'January', 29, '91.00', '76.80', '63.00', '65.66', '-2.66', '06:40 ↑ (109°)', '18:03 ↑ (252°)', '11:23:25', '+0:40'),
(2019, 'January', 30, '91.00', '78.30', '66.00', '65.67', '0.33', '06:39 ↑ (108°)', '18:03 ↑ (252°)', '11:24:07', '+0:41'),
(2019, 'January', 31, '93.00', '80.10', '68.00', '65.74', '2.26', '06:39 ↑ (108°)', '18:04 ↑ (252°)', '11:24:49', '+0:41'),
(2019, 'February', 1, '91.00', '79.60', '72.00', '65.94', '6.06', '06:39 ↑ (108°)', '18:05 ↑ (252°)', '11:25:31', '+0:42'),
(2019, 'February', 2, '91.00', '78.50', '64.00', '65.88', '-1.88', '06:39 ↑ (107°)', '18:05 ↑ (253°)', '11:26:15', '+0:43'),
(2019, 'February', 3, '95.00', '81.10', '66.00', '65.88', '0.12', '06:39 ↑ (107°)', '18:05 ↑ (253°)', '11:26:59', '+0:43'),
(2019, 'February', 4, '99.00', '83.00', '68.00', '65.94', '2.06', '06:38 ↑ (107°)', '18:06 ↑ (253°)', '11:27:43', '+0:44'),
(2019, 'February', 5, '100.00', '84.00', '73.00', '66.14', '6.86', '06:38 ↑ (107°)', '18:06 ↑ (254°)', '11:28:28', '+0:45'),
(2019, 'February', 6, '99.00', '84.80', '75.00', '66.38', '8.62', '06:38 ↑ (106°)', '18:07 ↑ (254°)', '11:29:14', '+0:45'),
(2019, 'February', 7, '100.00', '83.40', '70.00', '66.47', '3.53', '06:37 ↑ (106°)', '18:07 ↑ (254°)', '11:30:00', '+0:46'),
(2019, 'February', 8, '100.00', '84.30', '70.00', '66.56', '3.44', '06:37 ↑ (106°)', '18:08 ↑ (255°)', '11:30:47', '+0:46'),
(2019, 'February', 9, '104.00', '84.30', '70.00', '66.65', '3.35', '06:37 ↑ (105°)', '18:08 ↑ (255°)', '11:31:34', '+0:47'),
(2019, 'February', 10, '100.00', '85.40', '68.00', '66.68', '1.32', '06:36 ↑ (105°)', '18:09 ↑ (255°)', '11:32:22', '+0:47'),
(2019, 'February', 11, '95.00', '85.20', '79.00', '66.98', '12.02', '06:36 ↑ (105°)', '18:09 ↑ (256°)', '11:33:10', '+0:48'),
(2019, 'February', 12, '93.00', '82.60', '72.00', '67.09', '4.91', '06:35 ↑ (104°)', '18:09 ↑ (256°)', '11:33:58', '+0:48'),
(2019, 'February', 13, '95.00', '83.30', '72.00', '67.20', '4.80', '06:35 ↑ (104°)', '18:10 ↑ (256°)', '11:34:47', '+0:49'),
(2019, 'February', 14, '95.00', '82.80', '73.00', '67.33', '5.67', '06:35 ↑ (104°)', '18:10 ↑ (257°)', '11:35:37', '+0:49'),
(2019, 'February', 15, '95.00', '82.40', '72.00', '67.43', '4.57', '06:34 ↑ (103°)', '18:11 ↑ (257°)', '11:36:27', '+0:49'),
(2019, 'February', 16, '99.00', '84.60', '72.00', '67.53', '4.47', '06:34 ↑ (103°)', '18:11 ↑ (257°)', '11:37:17', '+0:50'),
(2019, 'February', 17, '86.00', '75.80', '68.00', '67.54', '0.46', '06:33 ↑ (102°)', '18:11 ↑ (258°)', '11:38:08', '+0:50'),
(2019, 'February', 18, '95.00', '80.00', '70.00', '67.59', '2.41', '06:33 ↑ (102°)', '18:12 ↑ (258°)', '11:38:59', '+0:50'),
(2019, 'February', 19, '97.00', '81.80', '68.00', '67.60', '0.40', '06:32 ↑ (102°)', '18:12 ↑ (258°)', '11:39:50', '+0:51'),
(2019, 'February', 20, '97.00', '84.70', '72.00', '67.69', '4.31', '06:32 ↑ (101°)', '18:12 ↑ (259°)', '11:40:42', '+0:51'),
(2019, 'February', 21, '100.00', '85.30', '73.00', '67.79', '5.21', '06:31 ↑ (101°)', '18:13 ↑ (259°)', '11:41:33', '+0:51'),
(2019, 'February', 22, '100.00', '85.10', '73.00', '67.89', '5.11', '06:31 ↑ (101°)', '18:13 ↑ (260°)', '11:42:26', '+0:52'),
(2019, 'February', 23, '100.00', '85.20', '72.00', '67.96', '4.04', '06:30 ↑ (100°)', '18:13 ↑ (260°)', '11:43:18', '+0:52'),
(2019, 'February', 24, '100.00', '85.80', '73.00', '68.05', '4.95', '06:29 ↑ (100°)', '18:14 ↑ (260°)', '11:44:11', '+0:52'),
(2019, 'February', 25, '100.00', '86.50', '75.00', '68.18', '6.82', '06:29 ↑ (99°)', '18:14 ↑ (261°)', '11:45:04', '+0:53'),
(2019, 'February', 26, '93.00', '82.90', '75.00', '68.30', '6.70', '06:28 ↑ (99°)', '18:14 ↑ (261°)', '11:45:57', '+0:53'),
(2019, 'February', 27, '95.00', '83.50', '73.00', '68.38', '4.62', '06:28 ↑ (99°)', '18:15 ↑ (262°)', '11:46:51', '+0:53'),
(2019, 'February', 28, '97.00', '85.00', '73.00', '68.46', '4.54', '06:27 ↑ (98°)', '18:15 ↑ (262°)', '11:47:45', '+0:53'),
(2019, 'March', 1, '97.00', '85.90', '75.00', '68.57', '6.43', '06:26 ↑ (98°)', '18:15 ↑ (262°)', '11:48:39', '+0:53'),
(2019, 'March', 2, '99.00', '86.20', '75.00', '68.67', '6.33', '06:26 ↑ (97°)', '18:15 ↑ (263°)', '11:49:33', '+0:54'),
(2019, 'March', 3, '99.00', '87.00', '75.00', '68.77', '6.23', '06:25 ↑ (97°)', '18:16 ↑ (263°)', '11:50:27', '+0:54'),
(2019, 'March', 4, '99.00', '87.20', '77.00', '68.90', '8.10', '06:24 ↑ (97°)', '18:16 ↑ (264°)', '11:51:21', '+0:54'),
(2019, 'March', 5, '99.00', '85.50', '72.00', '68.95', '3.05', '06:24 ↑ (96°)', '18:16 ↑ (264°)', '11:52:16', '+0:54'),
(2019, 'March', 6, '100.00', '85.20', '72.00', '69.00', '3.00', '06:23 ↑ (96°)', '18:16 ↑ (264°)', '11:53:11', '+0:54'),
(2019, 'March', 7, '102.00', '85.70', '70.00', '69.02', '0.98', '06:22 ↑ (95°)', '18:16 ↑ (265°)', '11:54:06', '+0:54'),
(2019, 'March', 8, '102.00', '87.50', '75.00', '69.10', '5.90', '06:22 ↑ (95°)', '18:17 ↑ (265°)', '11:55:01', '+0:55'),
(2019, 'March', 9, '100.00', '86.20', '73.00', '69.16', '3.84', '06:21 ↑ (95°)', '18:17 ↑ (266°)', '11:55:56', '+0:55'),
(2019, 'March', 10, '102.00', '85.40', '72.00', '69.20', '2.80', '06:20 ↑ (94°)', '18:17 ↑ (266°)', '11:56:51', '+0:55'),
(2019, 'March', 11, '102.00', '85.40', '70.00', '69.21', '0.79', '06:20 ↑ (94°)', '18:17 ↑ (266°)', '11:57:47', '+0:55'),
(2019, 'March', 12, '102.00', '86.10', '68.00', '69.20', '-1.20', '06:19 ↑ (93°)', '18:18 ↑ (267°)', '11:58:42', '+0:55'),
(2019, 'March', 13, '102.00', '85.30', '66.00', '69.15', '-3.15', '06:18 ↑ (93°)', '18:18 ↑ (267°)', '11:59:38', '+0:55'),
(2019, 'March', 14, '102.00', '85.80', '70.00', '69.16', '0.84', '06:17 ↑ (93°)', '18:18 ↑ (268°)', '12:00:33', '+0:55'),
(2019, 'March', 15, '99.00', '85.90', '73.00', '69.22', '3.78', '06:17 ↑ (92°)', '18:18 ↑ (268°)', '12:01:29', '+0:55'),
(2019, 'March', 16, '97.00', '85.50', '77.00', '69.32', '7.68', '06:16 ↑ (92°)', '18:18 ↑ (268°)', '12:02:25', '+0:55'),
(2019, 'March', 17, '99.00', '82.30', '0.00', '68.41', '-68.41', '06:15 ↑ (91°)', '18:18 ↑ (269°)', '12:03:20', '+0:55'),
(2019, 'March', 18, '100.00', '87.20', '75.00', '68.49', '6.51', '06:14 ↑ (91°)', '18:19 ↑ (269°)', '12:04:16', '+0:55'),
(2019, 'March', 19, '100.00', '87.80', '75.00', '68.58', '6.42', '06:14 ↑ (91°)', '18:19 ↑ (270°)', '12:05:12', '+0:55'),
(2019, 'March', 20, '100.00', '85.80', '75.00', '68.66', '6.34', '06:13 ↑ (90°)', '18:19 ↑ (270°)', '12:06:08', '+0:55'),
(2019, 'March', 21, '102.00', '88.00', '75.00', '68.74', '6.26', '06:12 ↑ (90°)', '18:19 ↑ (270°)', '12:07:04', '+0:55'),
(2019, 'March', 22, '102.00', '89.40', '73.00', '68.79', '4.21', '06:11 ↑ (89°)', '18:19 ↑ (271°)', '12:07:59', '+0:55'),
(2019, 'March', 23, '106.00', '89.50', '73.00', '68.84', '4.16', '06:11 ↑ (89°)', '18:19 ↑ (271°)', '12:08:55', '+0:55'),
(2019, 'March', 24, '99.00', '86.50', '79.00', '68.96', '10.04', '06:10 ↑ (88°)', '18:20 ↑ (272°)', '12:09:51', '+0:55'),
(2019, 'March', 25, '97.00', '86.10', '77.00', '69.06', '7.94', '06:09 ↑ (88°)', '18:20 ↑ (272°)', '12:10:47', '+0:55'),
(2019, 'March', 26, '99.00', '87.00', '77.00', '69.15', '7.85', '06:08 ↑ (88°)', '18:20 ↑ (273°)', '12:11:42', '+0:55'),
(2019, 'March', 27, '102.00', '86.00', '73.00', '69.20', '3.80', '06:08 ↑ (87°)', '18:20 ↑ (273°)', '12:12:38', '+0:55'),
(2019, 'March', 28, '95.00', '79.20', '73.00', '69.24', '3.76', '06:07 ↑ (87°)', '18:20 ↑ (273°)', '12:13:34', '+0:55'),
(2019, 'March', 29, '97.00', '83.40', '73.00', '69.28', '3.72', '06:06 ↑ (86°)', '18:20 ↑ (274°)', '12:14:29', '+0:55'),
(2019, 'March', 30, '99.00', '86.10', '73.00', '69.33', '3.67', '06:05 ↑ (86°)', '18:21 ↑ (274°)', '12:15:25', '+0:55'),
(2019, 'March', 31, '100.00', '85.90', '77.00', '69.41', '7.59', '06:04 ↑ (86°)', '18:21 ↑ (275°)', '12:16:20', '+0:55'),
(2019, 'April', 1, '97.00', '85.40', '75.00', '69.47', '5.53', '06:04 ↑ (85°)', '18:21 ↑ (275°)', '12:17:15', '+0:55'),
(2019, 'April', 2, '93.00', '83.30', '75.00', '69.53', '5.47', '06:03 ↑ (85°)', '18:21 ↑ (275°)', '12:18:11', '+0:55'),
(2019, 'April', 3, '95.00', '81.20', '75.00', '69.59', '5.41', '06:02 ↑ (84°)', '18:21 ↑ (276°)', '12:19:06', '+0:55'),
(2019, 'April', 4, '95.00', '83.30', '73.00', '69.63', '3.37', '06:01 ↑ (84°)', '18:21 ↑ (276°)', '12:20:01', '+0:54'),
(2019, 'April', 5, '95.00', '82.00', '73.00', '69.66', '3.34', '06:01 ↑ (84°)', '18:22 ↑ (277°)', '12:20:56', '+0:54');
INSERT INTO `khonKaen` (`year`, `month`, `date`, `tempMax`, `tempAvg`, `tempMin`, `tempMonthAvg`, `tempDiff`, `sunrise`, `sunset`, `length`, `difference`) VALUES
(2019, 'April', 6, '97.00', '83.70', '73.00', '69.70', '3.30', '06:00 ↑ (83°)', '18:22 ↑ (277°)', '12:21:50', '+0:54'),
(2019, 'April', 7, '97.00', '85.30', '75.00', '69.75', '5.25', '05:59 ↑ (83°)', '18:22 ↑ (277°)', '12:22:45', '+0:54'),
(2019, 'April', 8, '100.00', '86.80', '77.00', '69.83', '7.17', '05:58 ↑ (82°)', '18:22 ↑ (278°)', '12:23:39', '+0:54'),
(2019, 'April', 9, '102.00', '89.30', '77.00', '69.90', '7.10', '05:58 ↑ (82°)', '18:22 ↑ (278°)', '12:24:34', '+0:54'),
(2019, 'April', 10, '102.00', '90.00', '77.00', '69.97', '7.03', '05:57 ↑ (82°)', '18:22 ↑ (279°)', '12:25:28', '+0:54'),
(2019, 'April', 11, '104.00', '90.70', '79.00', '70.06', '8.94', '05:56 ↑ (81°)', '18:23 ↑ (279°)', '12:26:22', '+0:53'),
(2019, 'April', 12, '104.00', '91.60', '79.00', '70.15', '8.85', '05:56 ↑ (81°)', '18:23 ↑ (279°)', '12:27:15', '+0:53'),
(2019, 'April', 13, '104.00', '92.00', '81.00', '70.25', '10.75', '05:55 ↑ (81°)', '18:23 ↑ (280°)', '12:28:09', '+0:53'),
(2019, 'April', 14, '106.00', '92.50', '82.00', '70.37', '11.63', '05:54 ↑ (80°)', '18:23 ↑ (280°)', '12:29:02', '+0:53'),
(2019, 'April', 15, '99.00', '88.30', '79.00', '70.45', '8.55', '05:54 ↑ (80°)', '18:23 ↑ (280°)', '12:29:55', '+0:52'),
(2019, 'April', 16, '102.00', '88.70', '77.00', '70.51', '6.49', '05:53 ↑ (79°)', '18:24 ↑ (281°)', '12:30:48', '+0:52'),
(2019, 'April', 17, '104.00', '91.30', '79.00', '70.59', '8.41', '05:52 ↑ (79°)', '18:24 ↑ (281°)', '12:31:40', '+0:52'),
(2019, 'April', 18, '104.00', '90.00', '77.00', '70.65', '6.35', '05:51 ↑ (79°)', '18:24 ↑ (282°)', '12:32:32', '+0:52'),
(2019, 'April', 19, '104.00', '90.60', '81.00', '70.74', '10.26', '05:51 ↑ (78°)', '18:24 ↑ (282°)', '12:33:24', '+0:51'),
(2019, 'April', 20, '108.00', '92.90', '79.00', '70.82', '8.18', '05:50 ↑ (78°)', '18:24 ↑ (282°)', '12:34:16', '+0:51'),
(2019, 'April', 21, '108.00', '93.80', '81.00', '70.91', '10.09', '05:50 ↑ (78°)', '18:25 ↑ (283°)', '12:35:07', '+0:51'),
(2019, 'April', 22, '102.00', '85.20', '73.00', '70.93', '2.07', '05:49 ↑ (77°)', '18:25 ↑ (283°)', '12:35:58', '+0:50'),
(2019, 'April', 23, '95.00', '83.60', '75.00', '70.96', '4.04', '05:48 ↑ (77°)', '18:25 ↑ (283°)', '12:36:49', '+0:50'),
(2019, 'April', 24, '102.00', '88.50', '79.00', '71.04', '7.96', '05:48 ↑ (77°)', '18:25 ↑ (284°)', '12:37:39', '+0:50'),
(2019, 'April', 25, '106.00', '91.80', '79.00', '71.10', '7.90', '05:47 ↑ (76°)', '18:26 ↑ (284°)', '12:38:29', '+0:49'),
(2019, 'April', 26, '102.00', '89.80', '79.00', '71.17', '7.83', '05:47 ↑ (76°)', '18:26 ↑ (284°)', '12:39:18', '+0:49'),
(2019, 'April', 27, '100.00', '88.30', '79.00', '71.24', '7.76', '05:46 ↑ (75°)', '18:26 ↑ (285°)', '12:40:08', '+0:49'),
(2019, 'April', 28, '102.00', '89.20', '79.00', '71.31', '7.69', '05:45 ↑ (75°)', '18:26 ↑ (285°)', '12:40:56', '+0:48'),
(2019, 'April', 29, '102.00', '90.00', '79.00', '71.37', '7.63', '05:45 ↑ (75°)', '18:27 ↑ (285°)', '12:41:45', '+0:48'),
(2019, 'April', 30, '104.00', '91.60', '81.00', '71.45', '9.55', '05:44 ↑ (75°)', '18:27 ↑ (286°)', '12:42:32', '+0:47'),
(2019, 'May', 1, '104.00', '91.10', '79.00', '71.51', '7.49', '05:44 ↑ (74°)', '18:27 ↑ (286°)', '12:43:20', '+0:47'),
(2019, 'May', 2, '108.00', '93.00', '79.00', '71.57', '7.43', '05:43 ↑ (74°)', '18:27 ↑ (286°)', '12:44:07', '+0:46'),
(2019, 'May', 3, '106.00', '91.70', '82.00', '71.66', '10.34', '05:43 ↑ (74°)', '18:28 ↑ (287°)', '12:44:53', '+0:46'),
(2019, 'May', 4, '100.00', '88.00', '81.00', '71.73', '9.27', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:45:39', '+0:45'),
(2019, 'May', 5, '104.00', '89.50', '79.00', '71.79', '7.21', '05:42 ↑ (73°)', '18:28 ↑ (287°)', '12:46:24', '+0:45'),
(2019, 'May', 6, '100.00', '87.70', '81.00', '71.87', '9.13', '05:41 ↑ (73°)', '18:29 ↑ (288°)', '12:47:09', '+0:44'),
(2019, 'May', 7, '102.00', '86.30', '79.00', '71.92', '7.08', '05:41 ↑ (72°)', '18:29 ↑ (288°)', '12:47:53', '+0:44'),
(2019, 'May', 8, '97.00', '83.50', '77.00', '71.96', '5.04', '05:40 ↑ (72°)', '18:29 ↑ (288°)', '12:48:37', '+0:43'),
(2019, 'May', 9, '93.00', '80.70', '75.00', '71.98', '3.02', '05:40 ↑ (72°)', '18:29 ↑ (288°)', '12:49:20', '+0:43'),
(2019, 'May', 10, '88.00', '80.30', '75.00', '72.01', '2.99', '05:40 ↑ (71°)', '18:30 ↑ (289°)', '12:50:03', '+0:42'),
(2019, 'May', 11, '93.00', '83.70', '75.00', '72.03', '2.97', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:50:44', '+0:41'),
(2019, 'May', 12, '95.00', '87.20', '79.00', '72.08', '6.92', '05:39 ↑ (71°)', '18:30 ↑ (289°)', '12:51:26', '+0:41'),
(2019, 'May', 13, '91.00', '83.90', '75.00', '72.11', '2.89', '05:39 ↑ (71°)', '18:31 ↑ (289°)', '12:52:06', '+0:40'),
(2019, 'May', 14, '90.00', '81.30', '75.00', '72.13', '2.87', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:52:46', '+0:39'),
(2019, 'May', 15, '95.00', '82.80', '77.00', '72.16', '4.84', '05:38 ↑ (70°)', '18:31 ↑ (290°)', '12:53:25', '+0:39'),
(2019, 'May', 16, '99.00', '83.40', '75.00', '72.18', '2.82', '05:38 ↑ (70°)', '18:32 ↑ (290°)', '12:54:03', '+0:38'),
(2019, 'May', 17, '99.00', '86.20', '77.00', '72.22', '4.78', '05:37 ↑ (70°)', '18:32 ↑ (290°)', '12:54:41', '+0:37'),
(2019, 'May', 18, '100.00', '88.90', '79.00', '72.27', '6.73', '05:37 ↑ (69°)', '18:32 ↑ (291°)', '12:55:17', '+0:36'),
(2019, 'May', 19, '102.00', '90.50', '81.00', '72.33', '8.67', '05:37 ↑ (69°)', '18:33 ↑ (291°)', '12:55:53', '+0:35'),
(2019, 'May', 20, '102.00', '91.10', '81.00', '72.39', '8.61', '05:37 ↑ (69°)', '18:33 ↑ (291°)', '12:56:28', '+0:35'),
(2019, 'May', 21, '102.00', '88.20', '79.00', '72.44', '6.56', '05:36 ↑ (69°)', '18:33 ↑ (291°)', '12:57:03', '+0:34'),
(2019, 'May', 22, '95.00', '81.90', '73.00', '72.44', '0.56', '05:36 ↑ (69°)', '18:34 ↑ (292°)', '12:57:36', '+0:33'),
(2019, 'May', 23, '97.00', '84.00', '73.00', '72.45', '0.55', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:58:09', '+0:32'),
(2019, 'May', 24, '93.00', '81.80', '75.00', '72.47', '2.53', '05:36 ↑ (68°)', '18:34 ↑ (292°)', '12:58:41', '+0:31'),
(2019, 'May', 25, '97.00', '86.00', '79.00', '72.51', '6.49', '05:36 ↑ (68°)', '18:35 ↑ (292°)', '12:59:12', '+0:30'),
(2019, 'May', 26, '97.00', '87.20', '79.00', '72.55', '6.45', '05:35 ↑ (68°)', '18:35 ↑ (292°)', '12:59:41', '+0:29'),
(2019, 'May', 27, '97.00', '83.90', '79.00', '72.60', '6.40', '05:35 ↑ (68°)', '18:35 ↑ (293°)', '13:00:10', '+0:28'),
(2019, 'May', 28, '75.00', '75.00', '75.00', '72.61', '2.39', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:00:39', '+0:28'),
(2019, 'May', 29, '93.00', '82.10', '75.00', '72.63', '2.37', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:01:06', '+0:27'),
(2019, 'May', 30, '93.00', '82.50', '77.00', '72.66', '4.34', '05:35 ↑ (67°)', '18:36 ↑ (293°)', '13:01:32', '+0:26'),
(2019, 'May', 31, '95.00', '84.50', '77.00', '72.69', '4.31', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:01:57', '+0:25'),
(2019, 'June', 1, '93.00', '84.20', '79.00', '72.73', '6.27', '05:35 ↑ (67°)', '18:37 ↑ (293°)', '13:02:21', '+0:24'),
(2019, 'June', 2, '93.00', '84.10', '77.00', '72.76', '4.24', '05:35 ↑ (67°)', '18:38 ↑ (293°)', '13:02:44', '+0:23'),
(2019, 'June', 3, '95.00', '84.70', '77.00', '72.79', '4.21', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:06', '+0:21'),
(2019, 'June', 4, '95.00', '83.30', '77.00', '72.81', '4.19', '05:35 ↑ (66°)', '18:38 ↑ (294°)', '13:03:27', '+0:20'),
(2019, 'June', 5, '97.00', '82.90', '75.00', '72.83', '2.17', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:03:46', '+0:19'),
(2019, 'June', 6, '95.00', '84.50', '77.00', '72.85', '4.15', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:05', '+0:18'),
(2019, 'June', 7, '93.00', '83.50', '75.00', '72.87', '2.13', '05:35 ↑ (66°)', '18:39 ↑ (294°)', '13:04:23', '+0:17'),
(2019, 'June', 8, '95.00', '86.20', '79.00', '72.91', '6.09', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:04:39', '+0:16'),
(2019, 'June', 9, '95.00', '86.30', '77.00', '72.93', '4.07', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:04:54', '+0:15'),
(2019, 'June', 10, '95.00', '86.40', '77.00', '72.96', '4.04', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:09', '+0:14'),
(2019, 'June', 11, '95.00', '86.30', '79.00', '72.99', '6.01', '05:35 ↑ (66°)', '18:40 ↑ (294°)', '13:05:22', '+0:13'),
(2019, 'June', 12, '97.00', '86.70', '77.00', '73.02', '3.98', '05:35 ↑ (66°)', '18:41 ↑ (294°)', '13:05:33', '+0:11'),
(2019, 'June', 13, '97.00', '85.40', '77.00', '73.04', '3.96', '05:35 ↑ (66°)', '18:41 ↑ (295°)', '13:05:44', '+0:10'),
(2019, 'June', 14, '95.00', '87.10', '81.00', '73.09', '7.91', '05:35 ↑ (65°)', '18:41 ↑ (295°)', '13:05:54', '+0:09'),
(2019, 'June', 15, '99.00', '88.30', '81.00', '73.14', '7.86', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:02', '+0:08'),
(2019, 'June', 16, '91.00', '83.20', '77.00', '73.16', '3.84', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:09', '+0:07'),
(2019, 'June', 17, '91.00', '84.70', '77.00', '73.18', '3.82', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:15', '+0:05'),
(2019, 'June', 18, '95.00', '86.00', '79.00', '73.22', '5.78', '05:36 ↑ (65°)', '18:42 ↑ (295°)', '13:06:20', '+0:04'),
(2019, 'June', 19, '99.00', '87.30', '77.00', '73.24', '3.76', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:23', '+0:03'),
(2019, 'June', 20, '100.00', '89.30', '79.00', '73.27', '5.73', '05:36 ↑ (65°)', '18:43 ↑ (295°)', '13:06:25', '+0:02'),
(2019, 'June', 21, '102.00', '91.40', '79.00', '73.31', '5.69', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:27', '+0:01'),
(2019, 'June', 22, '104.00', '89.80', '79.00', '73.34', '5.66', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:26', '< 1s'),
(2019, 'June', 23, '104.00', '87.80', '79.00', '73.37', '5.63', '05:37 ↑ (65°)', '18:43 ↑ (295°)', '13:06:25', '−0:01'),
(2019, 'June', 24, '99.00', '86.00', '77.00', '73.39', '3.61', '05:37 ↑ (65°)', '18:44 ↑ (295°)', '13:06:23', '−0:02'),
(2019, 'June', 25, '100.00', '87.30', '77.00', '73.41', '3.59', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:19', '−0:03'),
(2019, 'June', 26, '99.00', '88.40', '79.00', '73.45', '5.55', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:14', '−0:04'),
(2019, 'June', 27, '95.00', '85.30', '79.00', '73.48', '5.52', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:08', '−0:06'),
(2019, 'June', 28, '95.00', '84.90', '77.00', '73.50', '3.50', '05:38 ↑ (65°)', '18:44 ↑ (295°)', '13:06:01', '−0:07'),
(2019, 'June', 29, '95.00', '85.70', '79.00', '73.53', '5.47', '05:39 ↑ (65°)', '18:44 ↑ (295°)', '13:05:52', '−0:08'),
(2019, 'June', 30, '93.00', '85.60', '81.00', '73.57', '7.43', '05:39 ↑ (65°)', '18:45 ↑ (294°)', '13:05:43', '−0:09'),
(2019, 'July', 1, '95.00', '87.10', '79.00', '73.60', '5.40', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:32', '−0:10'),
(2019, 'July', 2, '86.00', '80.90', '75.00', '73.61', '1.39', '05:39 ↑ (66°)', '18:45 ↑ (294°)', '13:05:20', '−0:11'),
(2019, 'July', 3, '79.00', '75.50', '73.00', '73.60', '-0.60', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:05:07', '−0:13'),
(2019, 'July', 4, '88.00', '79.50', '73.00', '73.60', '-0.60', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:52', '−0:14'),
(2019, 'July', 5, '91.00', '83.50', '77.00', '73.62', '3.38', '05:40 ↑ (66°)', '18:45 ↑ (294°)', '13:04:37', '−0:15'),
(2019, 'July', 6, '95.00', '85.80', '77.00', '73.64', '3.36', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:04:20', '−0:16'),
(2019, 'July', 7, '95.00', '85.10', '77.00', '73.65', '3.35', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:04:03', '−0:17'),
(2019, 'July', 8, '95.00', '86.80', '77.00', '73.67', '3.33', '05:41 ↑ (66°)', '18:45 ↑ (294°)', '13:03:44', '−0:18'),
(2019, 'July', 9, '95.00', '85.20', '79.00', '73.70', '5.30', '05:42 ↑ (66°)', '18:45 ↑ (294°)', '13:03:24', '−0:19'),
(2019, 'July', 10, '95.00', '85.40', '77.00', '73.72', '3.28', '05:42 ↑ (66°)', '18:45 ↑ (294°)', '13:03:03', '−0:20'),
(2019, 'July', 11, '99.00', '85.60', '79.00', '73.74', '5.26', '05:42 ↑ (67°)', '18:45 ↑ (293°)', '13:02:41', '−0:21'),
(2019, 'July', 12, '97.00', '87.30', '77.00', '73.76', '3.24', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:02:18', '−0:22'),
(2019, 'July', 13, '97.00', '86.80', '79.00', '73.79', '5.21', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:54', '−0:24'),
(2019, 'July', 14, '99.00', '87.70', '79.00', '73.82', '5.18', '05:43 ↑ (67°)', '18:45 ↑ (293°)', '13:01:29', '−0:25'),
(2019, 'July', 15, '97.00', '87.00', '79.00', '73.84', '5.16', '05:44 ↑ (67°)', '18:45 ↑ (293°)', '13:01:03', '−0:25'),
(2019, 'July', 16, '99.00', '87.60', '75.00', '73.85', '1.15', '05:44 ↑ (67°)', '18:44 ↑ (293°)', '13:00:36', '−0:26'),
(2019, 'July', 17, '99.00', '87.50', '77.00', '73.86', '3.14', '05:44 ↑ (67°)', '18:44 ↑ (292°)', '13:00:08', '−0:27'),
(2019, 'July', 18, '100.00', '88.50', '79.00', '73.89', '5.11', '05:44 ↑ (68°)', '18:44 ↑ (292°)', '12:59:40', '−0:28'),
(2019, 'July', 19, '100.00', '89.10', '77.00', '73.91', '3.10', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:59:10', '−0:29'),
(2019, 'July', 20, '102.00', '87.90', '77.00', '73.92', '3.08', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:58:39', '−0:30'),
(2019, 'July', 21, '97.00', '84.40', '77.00', '73.94', '3.06', '05:45 ↑ (68°)', '18:44 ↑ (292°)', '12:58:08', '−0:31'),
(2019, 'July', 22, '90.00', '84.10', '77.00', '73.95', '3.05', '05:46 ↑ (68°)', '18:43 ↑ (291°)', '12:57:35', '−0:32'),
(2019, 'July', 23, '95.00', '85.20', '79.00', '73.98', '5.02', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:57:02', '−0:33'),
(2019, 'July', 24, '88.00', '80.80', '75.00', '73.98', '1.02', '05:46 ↑ (69°)', '18:43 ↑ (291°)', '12:56:28', '−0:34'),
(2019, 'July', 25, '90.00', '79.40', '73.00', '73.98', '-0.98', '05:47 ↑ (69°)', '18:43 ↑ (291°)', '12:55:53', '−0:34'),
(2019, 'July', 26, '88.00', '78.90', '75.00', '73.98', '1.02', '05:47 ↑ (69°)', '18:42 ↑ (291°)', '12:55:17', '−0:35'),
(2019, 'July', 27, '93.00', '83.70', '75.00', '73.99', '1.01', '05:47 ↑ (70°)', '18:42 ↑ (290°)', '12:54:41', '−0:36'),
(2019, 'July', 28, '99.00', '86.80', '75.00', '73.99', '1.01', '05:48 ↑ (70°)', '18:42 ↑ (290°)', '12:54:04', '−0:37'),
(2019, 'July', 29, '99.00', '84.70', '77.00', '74.00', '3.00', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:53:26', '−0:37'),
(2019, 'July', 30, '90.00', '82.50', '77.00', '74.02', '2.98', '05:48 ↑ (70°)', '18:41 ↑ (290°)', '12:52:47', '−0:38'),
(2019, 'July', 31, '90.00', '82.00', '75.00', '74.02', '0.98', '05:48 ↑ (71°)', '18:41 ↑ (289°)', '12:52:08', '−0:39'),
(2019, 'August', 1, '86.00', '80.00', '75.00', '74.03', '0.97', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:51:27', '−0:40'),
(2019, 'August', 2, '91.00', '82.30', '75.00', '74.03', '0.97', '05:49 ↑ (71°)', '18:40 ↑ (289°)', '12:50:47', '−0:40'),
(2019, 'August', 3, '93.00', '85.20', '79.00', '74.06', '4.94', '05:49 ↑ (71°)', '18:39 ↑ (289°)', '12:50:05', '−0:41'),
(2019, 'August', 4, '90.00', '81.60', '75.00', '74.06', '0.94', '05:50 ↑ (72°)', '18:39 ↑ (288°)', '12:49:23', '−0:41'),
(2019, 'August', 5, '93.00', '83.00', '77.00', '74.07', '2.93', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:48:41', '−0:42'),
(2019, 'August', 6, '93.00', '85.00', '77.00', '74.09', '2.91', '05:50 ↑ (72°)', '18:38 ↑ (288°)', '12:47:58', '−0:43'),
(2019, 'August', 7, '95.00', '86.60', '77.00', '74.10', '2.90', '05:50 ↑ (72°)', '18:38 ↑ (287°)', '12:47:14', '−0:43'),
(2019, 'August', 8, '97.00', '86.50', '77.00', '74.11', '2.89', '05:51 ↑ (73°)', '18:37 ↑ (287°)', '12:46:30', '−0:44'),
(2019, 'August', 9, '91.00', '83.00', '77.00', '74.13', '2.87', '05:51 ↑ (73°)', '18:37 ↑ (287°)', '12:45:45', '−0:44'),
(2019, 'August', 10, '97.00', '82.30', '75.00', '74.13', '0.87', '05:51 ↑ (73°)', '18:36 ↑ (287°)', '12:45:00', '−0:45'),
(2019, 'August', 11, '95.00', '83.60', '77.00', '74.14', '2.86', '05:51 ↑ (74°)', '18:35 ↑ (286°)', '12:44:14', '−0:45'),
(2019, 'August', 12, '95.00', '84.80', '77.00', '74.16', '2.84', '05:51 ↑ (74°)', '18:35 ↑ (286°)', '12:43:28', '−0:46'),
(2019, 'August', 13, '86.00', '81.40', '79.00', '74.18', '4.82', '05:52 ↑ (74°)', '18:34 ↑ (286°)', '12:42:41', '−0:46'),
(2019, 'August', 14, '93.00', '82.60', '75.00', '74.18', '0.82', '05:52 ↑ (75°)', '18:34 ↑ (285°)', '12:41:54', '−0:47'),
(2019, 'August', 15, '95.00', '83.60', '77.00', '74.19', '2.81', '05:52 ↑ (75°)', '18:33 ↑ (285°)', '12:41:06', '−0:47'),
(2019, 'August', 16, '95.00', '83.70', '79.00', '74.21', '4.79', '05:52 ↑ (75°)', '18:33 ↑ (285°)', '12:40:18', '−0:48'),
(2019, 'August', 17, '95.00', '83.90', '79.00', '74.24', '4.76', '05:52 ↑ (76°)', '18:32 ↑ (284°)', '12:39:30', '−0:48'),
(2019, 'August', 18, '97.00', '83.50', '77.00', '74.25', '2.75', '05:53 ↑ (76°)', '18:31 ↑ (284°)', '12:38:41', '−0:48'),
(2019, 'August', 19, '93.00', '84.90', '77.00', '74.26', '2.74', '05:53 ↑ (76°)', '18:31 ↑ (284°)', '12:37:52', '−0:49'),
(2019, 'August', 20, '91.00', '82.70', '75.00', '74.26', '0.74', '05:53 ↑ (77°)', '18:30 ↑ (283°)', '12:37:02', '−0:49'),
(2019, 'August', 21, '95.00', '83.20', '77.00', '74.27', '2.73', '05:53 ↑ (77°)', '18:29 ↑ (283°)', '12:36:12', '−0:49'),
(2019, 'August', 22, '93.00', '83.60', '77.00', '74.29', '2.71', '05:53 ↑ (77°)', '18:29 ↑ (283°)', '12:35:22', '−0:50'),
(2019, 'August', 23, '90.00', '81.10', '75.00', '74.29', '0.71', '05:54 ↑ (78°)', '18:28 ↑ (282°)', '12:34:32', '−0:50'),
(2019, 'August', 24, '90.00', '80.50', '77.00', '74.30', '2.70', '05:54 ↑ (78°)', '18:27 ↑ (282°)', '12:33:41', '−0:50'),
(2019, 'August', 25, '91.00', '80.30', '75.00', '74.30', '0.70', '05:54 ↑ (78°)', '18:27 ↑ (281°)', '12:32:50', '−0:51'),
(2019, 'August', 26, '88.00', '80.30', '75.00', '74.31', '0.69', '05:54 ↑ (79°)', '18:26 ↑ (281°)', '12:31:58', '−0:51'),
(2019, 'August', 27, '84.00', '78.50', '75.00', '74.31', '0.69', '05:54 ↑ (79°)', '18:25 ↑ (281°)', '12:31:07', '−0:51'),
(2019, 'August', 28, '91.00', '81.90', '75.00', '74.31', '0.69', '05:54 ↑ (79°)', '18:25 ↑ (280°)', '12:30:15', '−0:51'),
(2019, 'August', 29, '88.00', '81.50', '77.00', '74.32', '2.68', '05:54 ↑ (80°)', '18:24 ↑ (280°)', '12:29:23', '−0:52'),
(2019, 'August', 30, '84.00', '77.20', '73.00', '74.32', '-1.32', '05:55 ↑ (80°)', '18:23 ↑ (280°)', '12:28:30', '−0:52'),
(2019, 'August', 31, '88.00', '78.60', '73.00', '74.31', '-1.31', '05:55 ↑ (81°)', '18:22 ↑ (279°)', '12:27:38', '−0:52'),
(2019, 'September', 1, '93.00', '81.70', '73.00', '74.31', '-1.31', '05:55 ↑ (81°)', '18:22 ↑ (279°)', '12:26:45', '−0:52'),
(2019, 'September', 2, '77.00', '75.80', '75.00', '74.31', '0.69', '05:55 ↑ (81°)', '18:21 ↑ (279°)', '12:25:52', '−0:53'),
(2019, 'September', 3, '77.00', '76.30', '75.00', '74.31', '0.69', '05:55 ↑ (82°)', '18:20 ↑ (278°)', '12:24:58', '−0:53'),
(2019, 'September', 4, '88.00', '79.80', '73.00', '74.31', '-1.31', '05:55 ↑ (82°)', '18:19 ↑ (278°)', '12:24:05', '−0:53'),
(2019, 'September', 5, '82.00', '78.30', '73.00', '74.30', '-1.30', '05:55 ↑ (82°)', '18:19 ↑ (277°)', '12:23:12', '−0:53'),
(2019, 'September', 6, '93.00', '81.20', '75.00', '74.31', '0.69', '05:55 ↑ (83°)', '18:18 ↑ (277°)', '12:22:18', '−0:53'),
(2019, 'September', 7, '93.00', '81.00', '77.00', '74.32', '2.68', '05:56 ↑ (83°)', '18:17 ↑ (277°)', '12:21:24', '−0:53'),
(2019, 'September', 8, '97.00', '82.00', '75.00', '74.32', '0.68', '05:56 ↑ (84°)', '18:16 ↑ (276°)', '12:20:30', '−0:53'),
(2019, 'September', 9, '91.00', '82.40', '75.00', '74.32', '0.68', '05:56 ↑ (84°)', '18:15 ↑ (276°)', '12:19:36', '−0:54'),
(2019, 'September', 10, '90.00', '82.20', '77.00', '74.33', '2.67', '05:56 ↑ (84°)', '18:15 ↑ (275°)', '12:18:42', '−0:54'),
(2019, 'September', 11, '84.00', '77.80', '73.00', '74.33', '-1.33', '05:56 ↑ (85°)', '18:14 ↑ (275°)', '12:17:47', '−0:54'),
(2019, 'September', 12, '91.00', '82.10', '75.00', '74.33', '0.67', '05:56 ↑ (85°)', '18:13 ↑ (275°)', '12:16:53', '−0:54'),
(2019, 'September', 13, '93.00', '82.00', '75.00', '74.33', '0.67', '05:56 ↑ (86°)', '18:12 ↑ (274°)', '12:15:58', '−0:54'),
(2019, 'September', 14, '91.00', '83.10', '77.00', '74.34', '2.66', '05:56 ↑ (86°)', '18:11 ↑ (274°)', '12:15:04', '−0:54'),
(2019, 'September', 15, '93.00', '83.60', '77.00', '74.35', '2.65', '05:56 ↑ (86°)', '18:11 ↑ (273°)', '12:14:09', '−0:54'),
(2019, 'September', 16, '93.00', '83.50', '75.00', '74.36', '0.64', '05:56 ↑ (87°)', '18:10 ↑ (273°)', '12:13:14', '−0:54'),
(2019, 'September', 17, '93.00', '83.20', '77.00', '74.37', '2.63', '05:57 ↑ (87°)', '18:09 ↑ (273°)', '12:12:20', '−0:54'),
(2019, 'September', 18, '93.00', '84.30', '77.00', '74.38', '2.62', '05:57 ↑ (88°)', '18:08 ↑ (272°)', '12:11:25', '−0:54'),
(2019, 'September', 19, '91.00', '83.30', '79.00', '74.39', '4.61', '05:57 ↑ (88°)', '18:07 ↑ (272°)', '12:10:30', '−0:54'),
(2019, 'September', 20, '90.00', '80.20', '77.00', '74.40', '2.60', '05:57 ↑ (88°)', '18:06 ↑ (271°)', '12:09:35', '−0:54'),
(2019, 'September', 21, '90.00', '81.40', '75.00', '74.41', '0.59', '05:57 ↑ (89°)', '18:06 ↑ (271°)', '12:08:40', '−0:54'),
(2019, 'September', 22, '90.00', '81.50', '75.00', '74.41', '0.59', '05:57 ↑ (89°)', '18:05 ↑ (271°)', '12:07:45', '−0:54'),
(2019, 'September', 23, '88.00', '80.60', '75.00', '74.41', '0.59', '05:57 ↑ (90°)', '18:04 ↑ (270°)', '12:06:50', '−0:54'),
(2019, 'September', 24, '91.00', '81.60', '73.00', '74.40', '-1.40', '05:57 ↑ (90°)', '18:03 ↑ (270°)', '12:05:55', '−0:54'),
(2019, 'September', 25, '91.00', '81.20', '72.00', '74.40', '-2.40', '05:57 ↑ (90°)', '18:02 ↑ (269°)', '12:05:00', '−0:54'),
(2019, 'September', 26, '91.00', '82.20', '73.00', '74.39', '-1.39', '05:58 ↑ (91°)', '18:02 ↑ (269°)', '12:04:05', '−0:54'),
(2019, 'September', 27, '91.00', '82.80', '73.00', '74.39', '-1.39', '05:58 ↑ (91°)', '18:01 ↑ (269°)', '12:03:11', '−0:54'),
(2019, 'September', 28, '93.00', '82.30', '72.00', '74.38', '-2.38', '05:58 ↑ (92°)', '18:00 ↑ (268°)', '12:02:16', '−0:54'),
(2019, 'September', 29, '91.00', '81.80', '72.00', '74.37', '-2.37', '05:58 ↑ (92°)', '17:59 ↑ (268°)', '12:01:21', '−0:54'),
(2019, 'September', 30, '95.00', '82.30', '72.00', '74.36', '-2.36', '05:58 ↑ (92°)', '17:58 ↑ (267°)', '12:00:26', '−0:54'),
(2019, 'October', 1, '95.00', '83.60', '73.00', '74.35', '-1.35', '05:58 ↑ (93°)', '17:58 ↑ (267°)', '11:59:31', '−0:54'),
(2019, 'October', 2, '95.00', '84.00', '75.00', '74.36', '0.64', '05:58 ↑ (93°)', '17:57 ↑ (267°)', '11:58:36', '−0:54'),
(2019, 'October', 3, '97.00', '84.60', '75.00', '74.36', '0.64', '05:58 ↑ (94°)', '17:56 ↑ (266°)', '11:57:42', '−0:54'),
(2019, 'October', 4, '95.00', '81.00', '75.00', '74.36', '0.64', '05:59 ↑ (94°)', '17:55 ↑ (266°)', '11:56:47', '−0:54'),
(2019, 'October', 5, '91.00', '79.60', '73.00', '74.36', '-1.36', '05:59 ↑ (94°)', '17:55 ↑ (265°)', '11:55:53', '−0:54'),
(2019, 'October', 6, '90.00', '79.60', '72.00', '74.35', '-2.35', '05:59 ↑ (95°)', '17:54 ↑ (265°)', '11:54:58', '−0:54'),
(2019, 'October', 7, '91.00', '81.50', '72.00', '74.34', '-2.34', '05:59 ↑ (95°)', '17:53 ↑ (265°)', '11:54:04', '−0:54'),
(2019, 'October', 8, '93.00', '82.80', '73.00', '74.33', '-1.33', '05:59 ↑ (96°)', '17:52 ↑ (264°)', '11:53:10', '−0:54'),
(2019, 'October', 9, '91.00', '82.80', '75.00', '74.34', '0.66', '05:59 ↑ (96°)', '17:52 ↑ (264°)', '11:52:16', '−0:53'),
(2019, 'October', 10, '93.00', '83.50', '75.00', '74.34', '0.66', '06:00 ↑ (96°)', '17:51 ↑ (263°)', '11:51:22', '−0:53'),
(2019, 'October', 11, '95.00', '83.80', '75.00', '74.34', '0.66', '06:00 ↑ (97°)', '17:50 ↑ (263°)', '11:50:29', '−0:53'),
(2019, 'October', 12, '95.00', '83.80', '75.00', '74.34', '0.66', '06:00 ↑ (97°)', '17:49 ↑ (263°)', '11:49:35', '−0:53'),
(2019, 'October', 13, '93.00', '83.00', '73.00', '74.34', '-1.34', '06:00 ↑ (98°)', '17:49 ↑ (262°)', '11:48:42', '−0:53'),
(2019, 'October', 14, '91.00', '82.00', '70.00', '74.32', '-4.32', '06:00 ↑ (98°)', '17:48 ↑ (262°)', '11:47:49', '−0:53'),
(2019, 'October', 15, '90.00', '79.50', '72.00', '74.32', '-2.32', '06:00 ↑ (98°)', '17:47 ↑ (261°)', '11:46:56', '−0:52'),
(2019, 'October', 16, '90.00', '80.10', '73.00', '74.31', '-1.31', '06:01 ↑ (99°)', '17:47 ↑ (261°)', '11:46:03', '−0:52'),
(2019, 'October', 17, '91.00', '82.60', '73.00', '74.31', '-1.31', '06:01 ↑ (99°)', '17:46 ↑ (261°)', '11:45:10', '−0:52'),
(2019, 'October', 18, '91.00', '81.60', '72.00', '74.30', '-2.30', '06:01 ↑ (100°)', '17:45 ↑ (260°)', '11:44:18', '−0:52'),
(2019, 'October', 19, '90.00', '80.90', '72.00', '74.29', '-2.29', '06:01 ↑ (100°)', '17:45 ↑ (260°)', '11:43:26', '−0:52'),
(2019, 'October', 20, '91.00', '82.00', '72.00', '74.28', '-2.28', '06:02 ↑ (100°)', '17:44 ↑ (259°)', '11:42:34', '−0:51'),
(2019, 'October', 21, '93.00', '81.60', '72.00', '74.28', '-2.28', '06:02 ↑ (101°)', '17:44 ↑ (259°)', '11:41:43', '−0:51'),
(2019, 'October', 22, '97.00', '83.00', '73.00', '74.27', '-1.27', '06:02 ↑ (101°)', '17:43 ↑ (259°)', '11:40:51', '−0:51'),
(2019, 'October', 23, '97.00', '84.70', '73.00', '74.27', '-1.27', '06:02 ↑ (101°)', '17:42 ↑ (258°)', '11:40:00', '−0:51'),
(2019, 'October', 24, '97.00', '85.00', '73.00', '74.26', '-1.26', '06:03 ↑ (102°)', '17:42 ↑ (258°)', '11:39:10', '−0:50'),
(2019, 'October', 25, '93.00', '84.50', '79.00', '74.28', '4.72', '06:03 ↑ (102°)', '17:41 ↑ (258°)', '11:38:19', '−0:50'),
(2019, 'October', 26, '93.00', '83.30', '73.00', '74.27', '-1.27', '06:03 ↑ (103°)', '17:41 ↑ (257°)', '11:37:29', '−0:50'),
(2019, 'October', 27, '95.00', '83.50', '73.00', '74.27', '-1.27', '06:04 ↑ (103°)', '17:40 ↑ (257°)', '11:36:39', '−0:49'),
(2019, 'October', 28, '95.00', '83.80', '75.00', '74.27', '0.73', '06:04 ↑ (103°)', '17:40 ↑ (257°)', '11:35:50', '−0:49'),
(2019, 'October', 29, '91.00', '82.40', '77.00', '74.28', '2.72', '06:04 ↑ (104°)', '17:39 ↑ (256°)', '11:35:01', '−0:48'),
(2019, 'October', 30, '90.00', '79.00', '70.00', '74.27', '-4.27', '06:05 ↑ (104°)', '17:39 ↑ (256°)', '11:34:12', '−0:48'),
(2019, 'October', 31, '88.00', '77.30', '66.00', '74.24', '-8.24', '06:05 ↑ (104°)', '17:38 ↑ (256°)', '11:33:24', '−0:48'),
(2019, 'November', 1, '84.00', '75.30', '72.00', '74.23', '-2.23', '06:05 ↑ (105°)', '17:38 ↑ (255°)', '11:32:37', '−0:47'),
(2019, 'November', 2, '91.00', '80.40', '72.00', '74.23', '-2.23', '06:06 ↑ (105°)', '17:38 ↑ (255°)', '11:31:49', '−0:47'),
(2019, 'November', 3, '91.00', '81.40', '75.00', '74.23', '0.77', '06:06 ↑ (105°)', '17:37 ↑ (255°)', '11:31:02', '−0:46'),
(2019, 'November', 4, '90.00', '80.00', '73.00', '74.22', '-1.22', '06:06 ↑ (106°)', '17:37 ↑ (254°)', '11:30:16', '−0:46'),
(2019, 'November', 5, '91.00', '80.00', '72.00', '74.22', '-2.22', '06:07 ↑ (106°)', '17:36 ↑ (254°)', '11:29:30', '−0:45'),
(2019, 'November', 6, '90.00', '79.00', '68.00', '74.20', '-6.20', '06:07 ↑ (106°)', '17:36 ↑ (254°)', '11:28:45', '−0:45'),
(2019, 'November', 7, '88.00', '78.80', '70.00', '74.18', '-4.18', '06:08 ↑ (107°)', '17:36 ↑ (253°)', '11:28:00', '−0:44'),
(2019, 'November', 8, '88.00', '78.30', '70.00', '74.17', '-4.17', '06:08 ↑ (107°)', '17:35 ↑ (253°)', '11:27:16', '−0:44'),
(2019, 'November', 9, '84.00', '73.40', '64.00', '74.14', '-10.14', '06:09 ↑ (107°)', '17:35 ↑ (253°)', '11:26:32', '−0:43'),
(2019, 'November', 10, '90.00', '75.30', '63.00', '74.10', '-11.10', '06:09 ↑ (107°)', '17:35 ↑ (252°)', '11:25:49', '−0:43'),
(2019, 'November', 11, '88.00', '75.30', '63.00', '74.07', '-11.07', '06:09 ↑ (108°)', '17:35 ↑ (252°)', '11:25:07', '−0:42'),
(2019, 'November', 12, '91.00', '79.80', '70.00', '74.05', '-4.05', '06:10 ↑ (108°)', '17:34 ↑ (252°)', '11:24:25', '−0:41'),
(2019, 'November', 13, '84.00', '77.10', '72.00', '74.05', '-2.05', '06:10 ↑ (108°)', '17:34 ↑ (252°)', '11:23:44', '−0:41'),
(2019, 'November', 14, '88.00', '77.70', '70.00', '74.03', '-4.03', '06:11 ↑ (109°)', '17:34 ↑ (251°)', '11:23:03', '−0:40'),
(2019, 'November', 15, '91.00', '78.70', '66.00', '74.01', '-8.01', '06:11 ↑ (109°)', '17:34 ↑ (251°)', '11:22:23', '−0:39'),
(2019, 'November', 16, '93.00', '78.70', '68.00', '73.99', '-5.99', '06:12 ↑ (109°)', '17:34 ↑ (251°)', '11:21:44', '−0:39'),
(2019, 'November', 17, '97.00', '81.40', '68.00', '73.97', '-5.97', '06:12 ↑ (109°)', '17:33 ↑ (250°)', '11:21:06', '−0:38'),
(2019, 'November', 18, '95.00', '82.30', '73.00', '73.97', '-0.97', '06:13 ↑ (110°)', '17:33 ↑ (250°)', '11:20:29', '−0:37'),
(2019, 'November', 19, '88.00', '80.70', '73.00', '73.97', '-0.97', '06:13 ↑ (110°)', '17:33 ↑ (250°)', '11:19:52', '−0:36'),
(2019, 'November', 20, '90.00', '79.10', '72.00', '73.96', '-1.96', '06:14 ↑ (110°)', '17:33 ↑ (250°)', '11:19:16', '−0:35'),
(2019, 'November', 21, '91.00', '78.10', '66.00', '73.94', '-7.94', '06:14 ↑ (110°)', '17:33 ↑ (249°)', '11:18:41', '−0:35'),
(2019, 'November', 22, '90.00', '78.10', '68.00', '73.92', '-5.92', '06:15 ↑ (111°)', '17:33 ↑ (249°)', '11:18:06', '−0:34'),
(2019, 'November', 23, '91.00', '77.80', '64.00', '73.89', '-9.89', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:17:33', '−0:33'),
(2019, 'November', 24, '93.00', '77.70', '64.00', '73.86', '-9.86', '06:16 ↑ (111°)', '17:33 ↑ (249°)', '11:17:00', '−0:32'),
(2019, 'November', 25, '91.00', '77.90', '64.00', '73.83', '-9.83', '06:17 ↑ (111°)', '17:33 ↑ (249°)', '11:16:29', '−0:31'),
(2019, 'November', 26, '90.00', '78.90', '64.00', '73.80', '-9.80', '06:17 ↑ (111°)', '17:33 ↑ (248°)', '11:15:58', '−0:30'),
(2019, 'November', 27, '91.00', '81.70', '73.00', '73.79', '-0.79', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:15:28', '−0:29'),
(2019, 'November', 28, '90.00', '80.70', '72.00', '73.79', '-1.79', '06:18 ↑ (112°)', '17:33 ↑ (248°)', '11:14:59', '−0:28'),
(2019, 'November', 29, '90.00', '78.10', '68.00', '73.77', '-5.77', '06:19 ↑ (112°)', '17:33 ↑ (248°)', '11:14:32', '−0:27'),
(2019, 'November', 30, '91.00', '80.00', '68.00', '73.75', '-5.75', '06:19 ↑ (112°)', '17:34 ↑ (248°)', '11:14:05', '−0:26'),
(2019, 'December', 1, '91.00', '80.00', '68.00', '73.74', '-5.74', '06:20 ↑ (112°)', '17:34 ↑ (248°)', '11:13:39', '−0:25'),
(2019, 'December', 2, '86.00', '75.90', '68.00', '70.87', '-2.87', '06:21 ↑ (113°)', '17:34 ↑ (247°)', '11:13:14', '−0:24');
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 SCHEMA [DataLock]
|
<filename>src/test/resources/e_fkey.test_141.sql
-- e_fkey.test
--
-- execsql {
-- UPDATE zeus SET a = 'aBc';
-- SELECT * FROM apollo;
-- }
UPDATE zeus SET a = 'aBc';
SELECT * FROM apollo; |
<reponame>Shuttl-Tech/antlr_psql
-- file:identity.sql ln:157 expect:true
SELECT * FROM itest13
|
BEGIN;
-- insert seed data for basic user/platform/project/reward
\i /specs/sql-support/insert_platform_user_project.sql
\i /specs/sql-support/payment_json_build_helpers.sql
select plan(25);
SELECT function_returns(
'payment_service_api', 'pay', ARRAY['json'], 'json'
);
prepare pay_with_data as select * from payment_service_api.pay(__json_data_payment($1::json));
create or replace function test_pay_with_anon()
returns setof text language plpgsql as $$
declare
begin
-- test with anonymous role
set local role anonymous;
set local "request.header.platform-code" to 'a28be766-bb36-4821-82ec-768d2634d78b';
return next throws_like('EXECUTE pay_with_data(''{}'')', '%insufficient_privilege', 'anonymous cannot perform pay operation');
end;
$$;
select test_pay_with_anon();
create or replace function test_pay_with_platform_user()
returns setof text language plpgsql as $$
declare
_count_expected numeric default 0;
begin
set local role platform_user;
set local request.jwt.claim.platform_token to '<PASSWORD>';
-- ip header should be found
return next throws_matching('EXECUTE pay_with_data(''{}'')', '.+x-forwarded-for', 'should raise when ip header not found');
set local "request.header.x-forwarded-for" to '127.0.0.1';
-- should not valid when project is not sub
return next throws_matching('EXECUTE pay_with_data(''{"project_id": "'||__seed_aon_project_id()||'"}'')', 'only_sub_projects', 'should raise when project is not sub mode');
-- test valid data with platform_user
return next lives_ok('EXECUTE pay_with_data(''{"external_id": "1234"}'')', 'platform_user can call pay');
-- test unique external_id payment
return next throws_matching('EXECUTE pay_with_data(''{"external_id": "1234"}'')', '.+uniq_payments_ext_id' ,'platform_user cant use same external_id twice');
-- test document cpf validation
return next throws_matching('EXECUTE pay_with_data(''{"customer_document_number": "987.264.123-23"}'')', 'invalid_document' ,'should be error when document_number is invalid');
-- check if payment has inserted
select count(1) from payment_service.catalog_payments
where user_id = 'd44378a2-3637-447c-9f57-dc20fff574db'
and external_id = '1234'
into _count_expected;
return next ok(_count_expected = 1, 'should have inserted payment');
end;
$$;
select test_pay_with_platform_user();
create or replace function test_pay_with_scoped_user()
returns setof text language plpgsql as $$
declare
_count_expected numeric default 0;
_generated_payment payment_service.catalog_payments;
_generated_subscription payment_service.subscriptions;
begin
-- test valid data with scoped_user
set local role scoped_user;
set local request.jwt.claim.platform_token to '<PASSWORD>';
set local request.jwt.claim.user_id to 'bb8f4478-df41-411c-8ed7-12c034044c0e';
set local "request.header.x-forwarded-for" to '127.0.0.1'; -- ip header should be found
-- test document cpf validation
return next throws_matching('EXECUTE pay_with_data(''{"customer_document_number": "987.264.123-23"}'')', 'invalid_document' ,'should be error when document_number is invalid');
-- test card document cpf validation
return next throws_matching('EXECUTE pay_with_data(''{"card_hash": "foo_hash_card", "payment_method": "credit_card", "credit_card_owner_document": "987.264.123-23"}'')', 'invalid_card_owner_document' ,'should be error when credit_card_owner_document is invalid');
-- should exeute pay with boleto
return next lives_ok('EXECUTE pay_with_data(''{"external_id":"12345"}'')', 'scoped_user can call pay');
-- should exeute pay with credit_card and generate a subscription
return next lives_ok('EXECUTE pay_with_data(''{"credit_card_owner_document": "", "external_id":"12346", "card_hash": "foo_card_hash", "payment_method": "credit_card", "anonymous": true, "subscription": true}'')', 'scoped_user can call pay with credit card');
-- check if payment for user is generated
select count(1) from payment_service.catalog_payments
where user_id = 'd44378a2-3637-447c-9f57-dc20fff574db'
and platform_id = '8187a11e-6fa5-4561-a5e5-83329236fbd6'
into _count_expected;
return next is(
_count_expected::numeric,
1::numeric,
'should not add more payment to passed user_id when is not the same of scoped_user request');
-- check if external id is ignored
select count(1) from payment_service.catalog_payments
where external_id in('12345', '12346')
and platform_id = '8187a11e-6fa5-4561-a5e5-83329236fbd6'
into _count_expected;
return next is(_count_expected::numeric, 0::numeric, 'should ignore external_id when scoped_user');
select count(1) from payment_service.catalog_payments
where user_id = 'bb8f4478-df41-411c-8ed7-12c034044c0e'
and platform_id = '8187a11e-6fa5-4561-a5e5-83329236fbd6'
into _count_expected;
return next is(_count_expected::numeric, 2::numeric, 'should persist payments to scoped_user');
select * from payment_service.catalog_payments
where user_id = 'bb8f4478-df41-411c-8ed7-12c034044c0e'
and data ->> 'payment_method'::text = 'credit_card'
order by created_at desc limit 1
into _generated_payment;
return next is((_generated_payment.data->>'anonymous')::boolean, true, 'should mark with anonymous the last payment');
return next is((_generated_payment.subscription_id is not null), true, 'should generate a subscription on payment');
select * from payment_service.subscriptions where id = _generated_payment.subscription_id
into _generated_subscription;
return next is((_generated_subscription.checkout_data->>'anonymous')::boolean, true, 'should generate subscription with anon in checkout data');
end;
$$;
select test_pay_with_scoped_user();
create or replace function test_repay_error_with_scoped_user()
returns setof text language plpgsql as $$
declare
_payment payment_service.catalog_payments;
_pay_response json;
begin
-- test valid data with scoped_user
set local role scoped_user;
set local request.jwt.claim.platform_token to 'a28be766-bb36-4821-82ec-768d2634d78b';
set local request.jwt.claim.user_id to 'bb8f4478-df41-411c-8ed7-12c034044c0e';
set local "request.header.x-forwarded-for" to '127.0.0.1'; -- ip header should be found
-- generate payment
insert into payment_service.catalog_payments
(id, gateway, platform_id, user_id, project_id, data)
values ('7642bff3-95db-467b-9576-eb23f43ab8ee', 'pagarme', __seed_platform_id(), __seed_first_user_id(), __seed_project_id(), '{}')
returning * into _payment;
return next throws_matching('EXECUTE pay_with_data(''{"payment_id": "7642bff3-95db-467b-9576-eb23f43ab8ee"}'')', 'cant pay this payment' ,'cant repay when not my payment');
-- update payment to my user
update payment_service.catalog_payments
set user_id = __seed_second_user_id()
where id = _payment.id
returning * into _payment;
return next throws_matching('EXECUTE pay_with_data(''{"payment_id": "7642bff3-95db-467b-9576-eb23f43ab8ee"}'')', 'cant pay this payment' ,'cant repay when not in error status');
-- update payment to error status
update payment_service.catalog_payments
set status = 'error'
where id = _payment.id
returning * into _payment;
-- should exeute pay
return next lives_ok('EXECUTE pay_with_data(''{"payment_id": "7642bff3-95db-467b-9576-eb23f43ab8ee", "subscription": true}'')', 'scoped_user can call pay');
-- reload payment
select * from payment_service.catalog_payments
where id = _payment.id
into _payment;
return next is(_payment.status, 'pending', 'put payment in pending again');
return next ok(_payment.subscription_id is null, 'should not generate a subscriptin');
--select * from payment_service_api.pay(
-- __json_data_payment()
--) into _pay_response;
end;
$$;
select test_repay_error_with_scoped_user();
create or replace function test_pay_with_foreign_user()
returns setof text language plpgsql as $$
declare
_count_expected numeric default 0;
_generated_payment payment_service.catalog_payments;
_generated_subscription payment_service.subscriptions;
begin
-- test valid data with scoped_user
set local role scoped_user;
set local request.jwt.claim.platform_token to 'a<PASSWORD>';
set local request.jwt.claim.user_id to '<PASSWORD>';
set local "request.header.x-forwarded-for" to '127.0.0.1'; -- ip header should be found
-- test card document cpf validation
return next lives_ok(
'EXECUTE pay_with_data(''{"subscription": true, "is_international": true, "card_hash": "foo_hash_card", "payment_method": "credit_card", "credit_card_owner_document": "", "customer_document_number": "", "customer_document_type": "", "subscription": "", "customer_address_number": "", "customer_phone_ddi": ""}''::json)',
'should persist payment without vaildate documents and some address field');
-- cant generate boleto for international payments
return next throws_matching(
'EXECUTE pay_with_data(''{"subscription": true, "is_international": true, "payment_method": "boleto", "customer_document_number": "", "customer_document_type": "", "subscription": ""}''::json)',
'invalid_payment_method' ,
'cant generate a boleto when foreign payment');
end;
$$;
select test_pay_with_foreign_user();
select * from finish();
ROLLBACK;
|
<reponame>Salvatore-tech/MusicStore<filename>src/DML/STRUMENTO2_DML.sql
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Basso', 'Cordofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Viola', 'Archi');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Violino', 'Archi');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Tamburo', 'Membranofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Batteria', 'Membranofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Xilofono', 'Idiofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Sassofono', 'Aerofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Chitarra', 'Cordofono');
INSERT INTO STRUMENTO2 (nome, categoria) VALUES ('Clarinetto', 'Aerofono');
|
/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50505
Source Host : localhost:3306
Source Database : zjds
Target Server Type : MYSQL
Target Server Version : 50505
File Encoding : 65001
Date: 2018-11-29 18:03:45
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for base_property
-- ----------------------------
DROP TABLE IF EXISTS `base_property`;
CREATE TABLE `base_property` (
`property_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`property_code` varchar(255) DEFAULT NULL COMMENT '属性编号',
`property_name` varchar(255) DEFAULT NULL COMMENT '属性名称',
`property_show_type` int(11) DEFAULT NULL COMMENT '展示方式',
PRIMARY KEY (`property_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='属性表';
-- ----------------------------
-- Records of base_property
-- ----------------------------
INSERT INTO `base_property` VALUES ('1', 'A01', '毫升', '1');
INSERT INTO `base_property` VALUES ('2', 'A02', '含糖量', '1');
INSERT INTO `base_property` VALUES ('3', 'A03', '颜色', '1');
INSERT INTO `base_property` VALUES ('4', 'A03', '品牌', '1');
|
(select 'a' obj, 'b' link from dual) union all
(select 'a', 'c' from dual) union all
(select 'c', 'd' from dual) union all
(select 'd', 'c' from dual) union all
(select 'd', 'e' from dual) union all
(select 'e', 'e' from dual)
|
<filename>config/queries/db_server_init.sql<gh_stars>1-10
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
|
CREATE TABLE ARTIFACTDEPLOYMENT (
ARTFTYPE varchar(31) NOT NULL,
ARTIFACTPATH varchar(255) NOT NULL,
OBJECTNAME varchar(255) NOT NULL,
ACTIVE int NULL,
CHANGETYPE varchar(255) NULL,
CONTENTHASH varchar(255) NULL default "20140101",
DBSCHEMA varchar(255) NULL,
DEPLOY_USER_ID varchar(32) NULL,
TIME_UPDATED datetime NULL,
ROLLBACKCONTENT varchar(2048) NULL,
CONSTRAINT ARTDEFPK PRIMARY KEY(ARTIFACTPATH,OBJECTNAME)
WITH max_rows_per_page = 0
)
GO
|
<reponame>ace-ecosystem/ACE
ALTER TABLE `events`
MODIFY COLUMN `status` ENUM('OPEN', 'CLOSED', 'IGNORE', 'INTERNAL COLLECTION') NOT NULL ;
|
<reponame>rmcelroyF8/amazon-redshift-utils
/**********************************************************************************************
Purpose: View to flatten stl_vacuum table and provide details like vacuum start and
end times, current status, changed rows and freed blocks all in one row
Current Version: 1.04
History:
Version 1.01
2017-12-24 adedotua created
Version 1.02
2018-12-22 adedotua updated view to account for background auto vacuum process
Version 1.03
2018-12-30 adedotua fixed join condition to make vacuum on dropped tables visible
Version 1.04
2019-04-30 adedotua added is_auto_vacuum flag to indicate whether vacuum was auto vacuum
Version 1.05
2019-10-09 adedotua set vac_end_status as null for autovacuum if end status is unknown
**********************************************************************************************/
CREATE OR REPLACE VIEW admin.v_vacuum_summary as SELECT a.userid,
a.xid,
BTRIM(d.datname) AS database_name,
a.table_id,
BTRIM(c.name) AS tablename,
BTRIM(a.status) AS vac_start_status,
CASE
WHEN (a.status ilike 'skipped%'::TEXT) THEN null
WHEN (f.xid IS NOT NULL) THEN 'Running'::TEXT
WHEN (b.status IS NULL) and a.status not ilike '%[VacuumBG]%' THEN 'Failed'::TEXT
ELSE BTRIM((b.status)::TEXT)
END AS vac_end_status,
a.eventtime AS vac_start_time,
b.eventtime AS vac_end_time,
CASE
WHEN f.xid IS NOT NULL THEN datediff(s,a.eventtime,getdate())
WHEN b.eventtime IS NOT NULL THEN datediff(s,a.eventtime,b.eventtime)
ELSE NULL
END AS vac_duration_secs,
a."rows" AS vac_start_rows,
b."rows" AS vac_end_rows,
a."rows" - b."rows" AS vac_deleted_rows,
a.sortedrows AS vac_start_sorted_rows,
b.sortedrows AS vac_end_sorted_rows,
a."blocks" AS vac_start_blocks,
b."blocks" AS vac_end_blocks,
(b."blocks" - a."blocks") AS vac_block_diff,
NVL(e.empty_blk_cnt,0) AS empty_blk_cnt,
case when a.status ilike '%[VacuumBG]%' then true else false end is_auto_vacuum
FROM
(SELECT * FROM stl_vacuum WHERE status not ilike '%Finished%') a
LEFT JOIN stl_vacuum b on a.xid=b.xid and a.table_id=b.table_id and a.eventtime < b.eventtime
LEFT JOIN (SELECT id,name,db_id FROM stv_tbl_perm WHERE slice = 0) c ON a.table_id = c.id
LEFT JOIN pg_database d ON c.db_id::oid = d.oid
LEFT JOIN (SELECT tbl,COUNT(*) AS empty_blk_cnt FROM stv_blocklist WHERE num_values = 0 GROUP BY tbl) e ON a.table_id = e.tbl
LEFT JOIN (SELECT xid FROM svv_transactions WHERE lockable_object_type = 'transactionid') f on a.xid=f.xid
ORDER BY a.xid;
|
-- ASSIGNMENT 2 --
-- ------------------------------------------------------------------
-- DATABASE SCHEMA :
-- ------------------------------------------------------------------
-- depts([deptcode], deptname)
-- students([rollno], name, bdate, {deptcode}, hostel, parent_inc)
-- faculty([fac_code], fac_name, {fac_dept})
-- crs_offrd([crs_code], crs_name, crs_credits, {crs_fac_cd})
-- crs_regd([{crs_rollno}, {crs_cd}], marks)
-- ------------------------------------------------------------------
-- Q1> Count the number of students in CSE dept.
select count(rollno)
from students
where deptcode ='CSE';
-- Q2> Determine the minimum, maximum and average marks of each courses
select crs_cd, min(marks), max(marks), avg(marks)
from crs_regd
group by crs_cd;
-- Q3> Determine the total credits of the courses registered by a student
select crs_rollno, sum(crs_credits)
from crs_regd, crs_offrd
where crs_regd.crs_cd = crs_offrd.crs_code
group by crs_rollno;
-- Q4> Count the number of students in each hostel whose department is CSE.
select hostel, count(rollno)
from students
where deptcode = 'CSE'
group by hostel;
-- Q5> Display the hostel, rollno, parent_inc of the student who has the max(parent_inc) in a hostel.
select hostel, rollno, parent_inc
from students
where parent_inc
in (select max(parent_inc)
from students
group by hostel);
-- Q6> Display the name and parental income of each student greater than the parental income of some rollno 92005010.
select name, parent_inc
from students
where parent_inc > (select parent_inc
from students
where rollno = 92005010);
-- Q7> Find out marks of students who have marks more than rollno 92005102 for course CH103 and PH106.
select crs_rollno,marks
from crs_regd
where ((marks > (select marks
from crs_regd
where crs_rollno = 92005102 and crs_cd = 'CH103')) and crs_cd = 'CH103')
or
((marks > (select marks
from crs_regd
where crs_rollno = 92005102 and crs_cd = 'PH106')) and crs_cd = 'PH106');
-- END OF ASSIGNMENT 2 --
|
-- phpMyAdmin SQL Dump
-- version 4.4.1.1
-- http://www.phpmyadmin.net
--
-- Host: localhost:8889
-- Generation Time: May 10, 2016 at 04:58 AM
-- Server version: 5.5.42
-- PHP Version: 5.6.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `test_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `profile`
--
CREATE TABLE `profile` (
`user_id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`last_name` varchar(100) NOT NULL,
`public_email` varchar(255) DEFAULT NULL,
`phone` varchar(10) NOT NULL,
`school` varchar(100) NOT NULL,
`skype` varchar(100) NOT NULL,
`gravatar_email` varchar(255) DEFAULT NULL,
`gravatar_id` varchar(32) DEFAULT NULL,
`location` varchar(255) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`bio` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `profile`
--
INSERT INTO `profile` (`user_id`, `name`, `last_name`, `public_email`, `phone`, `school`, `skype`, `gravatar_email`, `gravatar_id`, `location`, `website`, `bio`) VALUES
(26, NULL, '', NULL, '', '', '', NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`username` varchar(25) NOT NULL,
`email` varchar(255) NOT NULL,
`password_hash` varchar(60) NOT NULL,
`auth_key` varchar(32) NOT NULL,
`role` varchar(100) NOT NULL,
`confirmed_at` int(11) DEFAULT NULL,
`unconfirmed_email` varchar(255) DEFAULT NULL,
`blocked_at` int(11) DEFAULT NULL,
`registration_ip` varchar(45) DEFAULT NULL,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`flags` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `username`, `email`, `password_hash`, `auth_key`, `role`, `confirmed_at`, `unconfirmed_email`, `blocked_at`, `registration_ip`, `created_at`, `updated_at`, `flags`) VALUES
(26, 'admin', '<EMAIL>', <PASSWORD>', '<PASSWORD>', '', 1, NULL, NULL, '::1', 1462817993, 1462817993, 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `profile`
--
ALTER TABLE `profile`
ADD PRIMARY KEY (`user_id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `user_unique_username` (`username`),
ADD UNIQUE KEY `user_unique_email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=28;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `profile`
--
ALTER TABLE `profile`
ADD CONSTRAINT `fk_user_profile` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE;
/*!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 */;
|
<reponame>OpenMPDK/SMDK
CREATE TABLE T1 (
ID INTEGER NOT NULL,
POINTS INTEGER NOT NULL,
AGE TINYINT,
PRIMARY KEY (ID)
);
create index idx_1_tree on T1 (POINTS);
create index idx_t1_id_age on T1 (ID, AGE);
create index idx_t1_id_pts on T1 (ID, POINTS);
create index idx1_t1_tree on T1 (AGE, (ID + POINTS));
create index idx2_t1_tree on T1 (AGE/2, ABS(AGE));
CREATE TABLE T2 (
ID INTEGER NOT NULL,
USERNAME VARCHAR(10) NOT NULL,
POINTS INTEGER NOT NULL,
AGE TINYINT NOT NULL,
PRIMARY KEY (ID)
);
create unique index idx_2_tree on T2 (USERNAME,POINTS);
create index idx_t2_tree on T2 (ID, USERNAME);
CREATE TABLE P1 (
ID INTEGER DEFAULT '0' NOT NULL,
DESC VARCHAR(300),
NUM INTEGER NOT NULL,
RATIO FLOAT,
PRIMARY KEY (ID)
);
CREATE INDEX P1_IDX_NUM_TREE ON P1 (NUM);
CREATE INDEX P1_NUM_RATIO_TREE ON P1 (NUM, RATIO);
CREATE INDEX P1_IDX_ID_NUM ON P1 (ID, NUM);
CREATE INDEX P1_IDX_ID_RATIO ON P1 (ID, RATIO);
PARTITION TABLE P1 ON COLUMN ID;
CREATE TABLE T3 (
T3_ID INTEGER DEFAULT '0' NOT NULL,
T3_DESC VARCHAR(300),
T3_NUM1 INTEGER NOT NULL,
T3_NUM2 INTEGER NOT NULL,
PRIMARY KEY (T3_ID)
);
CREATE INDEX T3_IDX_T3NUM_TREE ON T3 (T3_NUM1,T3_NUM2);
CREATE TABLE T_ENG_11096 (a INT, b INT, c INT, d INT);
CREATE INDEX IDX_ENG_11096 ON T_ENG_11096(a, b, c);
|
-- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 02 Bulan Mei 2021 pada 15.40
-- Versi server: 10.4.14-MariaDB
-- Versi PHP: 7.3.23
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: `garuda_mi`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `rapor_admin_setting`
--
CREATE TABLE `rapor_admin_setting` (
`id_setting` int(11) NOT NULL,
`id_tp` int(11) NOT NULL,
`id_smt` int(11) NOT NULL,
`kkm_tunggal` int(1) NOT NULL DEFAULT 0,
`kkm` int(3) DEFAULT NULL,
`bobot_ph` int(3) DEFAULT NULL,
`bobot_pts` int(3) DEFAULT NULL,
`bobot_pas` int(3) DEFAULT NULL,
`bobot_absen` int(3) DEFAULT NULL,
`tgl_rapor_akhir` text NOT NULL DEFAULT 'tanggal rapor',
`tgl_rapor_pts` text NOT NULL DEFAULT 'tanggal rapor'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `rapor_admin_setting`
--
INSERT INTO `rapor_admin_setting` (`id_setting`, `id_tp`, `id_smt`, `kkm_tunggal`, `kkm`, `bobot_ph`, `bobot_pts`, `bobot_pas`, `bobot_absen`, `tgl_rapor_akhir`, `tgl_rapor_pts`) VALUES
(1, 0, 0, 1, 70, 40, 30, 30, NULL, '19 Jan 2021', '22 Jan 2021');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `rapor_admin_setting`
--
ALTER TABLE `rapor_admin_setting`
ADD PRIMARY KEY (`id_setting`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `rapor_admin_setting`
--
ALTER TABLE `rapor_admin_setting`
MODIFY `id_setting` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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 */;
|
-- Teste Pickcells
-- SQL script select disciplinas com maior credito
-- Author : <NAME>
SELECT id_disciplina,
disciplina.disciplina,
creditos
FROM creditos
INNER JOIN tipo_curso ON id_tipo = tipo_curso.id
INNER JOIN curso ON id_curso = curso.id
INNER JOIN disciplina ON id_disciplina = disciplina.id
WHERE obrigatorio AND id_tipo = '{tipoCurso}' and id_curso = '{curso}'
ORDER BY id_disciplina |
<gh_stars>0
-- CREATE DATABASE qanat;
-- use qanat;
-- Station(station_ID,num_plugs,location)
create table Station(
station_ID int not null AUTO_INCREMENT,
num_plugs int not null,
location varchar(50),
primary key (station_ID)
);
-- Plug_Model(model_no, charge_speed)
create table Plug_Model(
model_no varchar(50) not null,
charge_speed int not null,
primary key (model_no)
);
-- Plug(serial_no, model_no)
create table Plug(
serial_no varchar(50) not null,
model_no varchar(50) not null,
primary key (serial_no),
constraint fk_plug_plug_type
foreign key (model_no) references Plug_Model(model_no)
);
-- Car_Type(year,make,model)
create table Car_Type(
make varchar(50) not null,
model varchar(50) not null,
year int not null,
primary key (make,model,year)
);
-- Vehicle(VIN,year,make,model)
create table Vehicle(
VIN varchar(50) not null,
make varchar(50) not null,
model varchar(50) not null,
year int not null,
primary key (VIN),
constraint fk_vehicle_car_type
foreign key (make,model,year) references Car_Type(make,model,year)
);
-- User(user_id,username)
create table User(
user_id int not null AUTO_INCREMENT,
username varchar(50) not null UNIQUE,
password varchar(76) not null,
primary key (user_id)
);
-- Review(review_id,text,rating)
create table Review(
review_id int not null AUTO_INCREMENT,
text varchar(100) not null,
rating int not null,
primary key (review_id)
);
-- Charge_Event(VIN, dt_start, dt_end)
create table Charge_Event(
VIN varchar(50) not null,
dt_start timestamp not null,
dt_end timestamp not null,
primary key (VIN,dt_start),
constraint fk_charge_event_vehicle
foreign key (VIN) references Vehicle(VIN)
);
-- Hosts(serial_no, station_ID)
create table Hosts(
serial_no varchar(50) not null,
station_ID int not null,
primary key (serial_no),
constraint fk_hosts_plug
foreign key (serial_no) references Plug(serial_no),
constraint fk_hosts_station
foreign key (station_ID) references Station(station_ID)
);
-- Supports(model_no,year,make,model)
create table Supports(
model_no varchar(50) not null,
make varchar(50) not null,
model varchar(50) not null,
year int not null,
primary key (model_no,make,model,year),
constraint fk_supports_plug_model
foreign key (model_no) references Plug_Model(model_no),
constraint fk_supports_car_type
foreign key (make,model,year) references Car_Type(make,model,year)
);
-- Owns(VIN, user_id)
create table Owns(
VIN varchar(50) not null,
user_id int not null,
primary key (VIN,user_id),
constraint fk_owns_vehicle
foreign key (VIN) references Vehicle(VIN),
constraint fk_owns_user
foreign key (user_id) references User(user_id)
);
-- Makes(review_id, user_id)
create table Makes(
review_id int not null,
user_id int not null,
primary key (review_id),
constraint fk_makes_review
foreign key (review_id) references Review(review_id),
constraint fk_makes_user
foreign key (user_id) references User(user_id)
);
-- Happens_At(VIN, dt_start, serial_no)
create table Happens_At(
VIN varchar(50) not null,
dt_start timestamp not null,
serial_no varchar(50) not null,
primary key (VIN,dt_start),
constraint fk_happens_at_plug
foreign key (serial_no) references Plug(serial_no),
constraint fk_happens_at_charge_event
foreign key (VIN,dt_start) references Charge_Event(VIN,dt_start)
);
|
<reponame>lukasz50018/OracleDataBaseProject
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE OSOBA_LOG
(
ID_LOG INTEGER NOT NULL ,
DATA_ZMIANY DATE,
ID_OSOBY INTEGER NOT NULL ,
IMIE VARCHAR2 (35) NOT NULL ,
NAZWISKO VARCHAR2 (20) NOT NULL ,
DATA_URODZENIA DATE NOT NULL ,
MIEJSCE_URODZENIA VARCHAR2 (25) NOT NULL ,
NARODOWOSC VARCHAR2 (30) NOT NULL
) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE DRUZYNA
(
ID_DRUZYNY INTEGER NOT NULL ,
NAZWA VARCHAR2 (30) NOT NULL ,
KLUB_ID_KLUBU INTEGER NOT NULL
) ;
ALTER TABLE DRUZYNA
ADD CONSTRAINT DRUZYNA_PK
PRIMARY KEY ( ID_DRUZYNY ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE KLASA_SEDZIEGO
(
ID_KLASY INTEGER NOT NULL ,
NAZWA_KLASY VARCHAR2 (20) NOT NULL
) ;
ALTER TABLE KLASA_SEDZIEGO
ADD CONSTRAINT KLASA_SEDZIEGO_PK
PRIMARY KEY ( ID_KLASY ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE KLUB
(
ID_KLUBU INTEGER NOT NULL ,
NAZWA VARCHAR2 (30) NOT NULL ,
DATA_ZALOZENIA DATE NOT NULL ,
SZEF_ID_OSOBY INTEGER NOT NULL ,
TRENER_ID_OSOBY INTEGER NOT NULL
) ;
ALTER TABLE KLUB
ADD CONSTRAINT KLUB_PK
PRIMARY KEY ( ID_KLUBU ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE MECZ
(
ID_MECZU INTEGER NOT NULL ,
DATA_MECZU DATE NOT NULL ,
CZAS_MECZU VARCHAR2(6) NOT NULL ,
DRUZYNA_ID_DRUZYNY_1 INTEGER NOT NULL ,
DRUZYNA_ID_DRUZYNY_2 INTEGER NOT NULL ,
STADION_ID_STADIONU INTEGER NOT NULL ,
SEDZIA_MECZ_ID_OSOBY_SEDZIA_1 INTEGER NOT NULL ,
SEDZIA_MECZ_ID_OSOBY_SEDZIA_2 INTEGER NOT NULL ,
SEDZIA_MECZ_ID_OSOBY_SEDZIA_3 INTEGER NOT NULL
) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_PK
PRIMARY KEY ( ID_MECZU ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE OSOBA
(
ID_OSOBY INTEGER NOT NULL ,
IMIE VARCHAR2 (35) NOT NULL ,
NAZWISKO VARCHAR2 (20) NOT NULL ,
DATA_URODZENIA DATE NOT NULL ,
MIEJSCE_URODZENIA VARCHAR2 (22) NOT NULL ,
NARODOWOSC VARCHAR2 (30) NOT NULL
) ;
ALTER TABLE OSOBA
ADD CONSTRAINT OSOBA_PK
PRIMARY KEY ( ID_OSOBY ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE POZYCJA
(
ID_POZYCJI INTEGER NOT NULL ,
NAZWA VARCHAR2 (20) NOT NULL
) ;
ALTER TABLE POZYCJA
ADD CONSTRAINT POZYCJA_PK
PRIMARY KEY ( ID_POZYCJI ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE SEDZIA_MECZ
(
ID_SEDZIEGO INTEGER NOT NULL ,
OSOBA_ID_OSOBY INTEGER NOT NULL ,
KLASA_SEDZIEGO_ID_KLASY INTEGER NOT NULL
) ;
ALTER TABLE SEDZIA_MECZ
ADD CONSTRAINT SEDZIA_MECZ_PK
PRIMARY KEY ( ID_SEDZIEGO ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE STADION
(
ID_STADIONU INTEGER NOT NULL ,
NAZWA VARCHAR2 (30) NOT NULL ,
LOKALIZACJA VARCHAR2 (20) NOT NULL ,
KLUB_ID_KLUBU INTEGER NOT NULL
) ;
ALTER TABLE STADION
ADD CONSTRAINT STADION_PK
PRIMARY KEY ( ID_STADIONU ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE TYP_ZDARZENIA
(
ID_TYPU INTEGER NOT NULL ,
NAZWA VARCHAR2 (20) NOT NULL
) ;
ALTER TABLE TYP_ZDARZENIA
ADD CONSTRAINT TYP_ZDARZENIA_PK
PRIMARY KEY ( ID_TYPU ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE ZAWODNIK_MECZ
(
MECZ_ID_MECZU INTEGER NOT NULL ,
POZYCJA_ID_POZYCJI INTEGER NOT NULL ,
ZAWODNIK_ID_OSOBY INTEGER NOT NULL,
DRUZYNA_ID_DRUZYNY INTEGER NOT NULL
) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE TABLE ZDARZENIE
(
ID_ZDARZENIA INTEGER NOT NULL ,
TYP_ZDARZENIA_ID_TYPU INTEGER NOT NULL ,
CZAS VARCHAR(6) NOT NULL ,
ZAWODNIK_1_ID_OSOBY INTEGER NOT NULL ,
ZAWODNIK_2_ID_OSOBY INTEGER ,
MECZ_ID_MECZU INTEGER NOT NULL ,
SEDZIA_MECZ_ID_SEDZIEGO INTEGER NOT NULL
) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_PK
PRIMARY KEY ( ID_ZDARZENIA ) ;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ALTER TABLE DRUZYNA
ADD CONSTRAINT DRUZYNA_KLUB_FK
FOREIGN KEY ( KLUB_ID_KLUBU )
REFERENCES KLUB ( ID_KLUBU ) ;
ALTER TABLE KLUB
ADD CONSTRAINT KLUB_OSOBA_FK
FOREIGN KEY ( SZEF_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE KLUB
ADD CONSTRAINT KLUB_OSOBA_FKv1
FOREIGN KEY ( TRENER_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_DRUZYNA_FK
FOREIGN KEY ( DRUZYNA_ID_DRUZYNY_1 )
REFERENCES DRUZYNA ( ID_DRUZYNY ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_DRUZYNA_FKv1
FOREIGN KEY ( DRUZYNA_ID_DRUZYNY_2 )
REFERENCES DRUZYNA ( ID_DRUZYNY ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_SEDZIA_MECZ_FK
FOREIGN KEY ( SEDZIA_MECZ_ID_OSOBY_SEDZIA_1 )
REFERENCES SEDZIA_MECZ ( ID_SEDZIEGO ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_SEDZIA_MECZ_FKv1
FOREIGN KEY ( SEDZIA_MECZ_ID_OSOBY_SEDZIA_2 )
REFERENCES SEDZIA_MECZ ( ID_SEDZIEGO ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_SEDZIA_MECZ_FKv2
FOREIGN KEY ( SEDZIA_MECZ_ID_OSOBY_SEDZIA_3 )
REFERENCES SEDZIA_MECZ ( ID_SEDZIEGO ) ;
ALTER TABLE MECZ
ADD CONSTRAINT MECZ_STADION_FK
FOREIGN KEY ( STADION_ID_STADIONU )
REFERENCES STADION ( ID_STADIONU ) ;
ALTER TABLE SEDZIA_MECZ
ADD CONSTRAINT SEDZIA_MECZ_KLASA_SEDZIEGO_FK
FOREIGN KEY ( KLASA_SEDZIEGO_ID_KLASY )
REFERENCES KLASA_SEDZIEGO ( ID_KLASY ) ;
ALTER TABLE SEDZIA_MECZ
ADD CONSTRAINT SEDZIA_MECZ_OSOBA_FK
FOREIGN KEY ( OSOBA_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE STADION
ADD CONSTRAINT STADION_KLUB_FK
FOREIGN KEY ( KLUB_ID_KLUBU )
REFERENCES KLUB ( ID_KLUBU ) ;
ALTER TABLE ZAWODNIK_MECZ
ADD CONSTRAINT ZAWODNIK_MECZ_DRUZYNA_FK
FOREIGN KEY ( DRUZYNA_ID_DRUZYNY )
REFERENCES DRUZYNA ( ID_DRUZYNY ) ;
ALTER TABLE ZAWODNIK_MECZ
ADD CONSTRAINT ZAWODNIK_MECZ_MECZ_FK
FOREIGN KEY ( MECZ_ID_MECZU )
REFERENCES MECZ ( ID_MECZU ) ;
ALTER TABLE ZAWODNIK_MECZ
ADD CONSTRAINT ZAWODNIK_MECZ_OSOBA_FK
FOREIGN KEY ( ZAWODNIK_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE ZAWODNIK_MECZ
ADD CONSTRAINT ZAWODNIK_MECZ_POZYCJA_FK
FOREIGN KEY ( POZYCJA_ID_POZYCJI )
REFERENCES POZYCJA ( ID_POZYCJI ) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_MECZ_FK
FOREIGN KEY ( MECZ_ID_MECZU )
REFERENCES MECZ ( ID_MECZU ) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_OSOBA_FK
FOREIGN KEY ( ZAWODNIK_1_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_OSOBA_FKv1
FOREIGN KEY ( ZAWODNIK_2_ID_OSOBY )
REFERENCES OSOBA ( ID_OSOBY ) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_SEDZIA_MECZ_FK
FOREIGN KEY ( SEDZIA_MECZ_ID_SEDZIEGO )
REFERENCES SEDZIA_MECZ ( ID_SEDZIEGO ) ;
ALTER TABLE ZDARZENIE
ADD CONSTRAINT ZDARZENIE_TYP_ZDARZENIA_FK
FOREIGN KEY ( TYP_ZDARZENIA_ID_TYPU )
REFERENCES TYP_ZDARZENIA ( ID_TYPU ) ;
--------------------------------------------------------------------------------
-------------------------------------------------------------------------------- |
CREATE DEFINER=`root`@`localhost` PROCEDURE `prc_timedimbuild`()
BEGIN
DECLARE v_full_date DATETIME;
DELETE FROM tblDimTime;
SET v_full_date = '2009-03-01 00:00:00';
WHILE v_full_date < '2009-03-02 00:00:00' DO
INSERT INTO tblDimTime (
fulltime ,
hour ,
minute ,
second ,
ampm
) VALUES (
TIME(v_full_date),
HOUR(v_full_date),
MINUTE(v_full_date),
SECOND(v_full_date),
DATE_FORMAT(v_full_date,'%p')
);
SET v_full_date = DATE_ADD(v_full_date, INTERVAL 1 SECOND);
END WHILE;
END |
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGet]
@TopicId int=1
AS
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,T.ForumId
,T.ForumName
,T.ForumShortName
FROM
TopicsComplete T
WHERE
T.TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsUpdateLastMessage]
@TopicId int
,@MessageId int
AS
UPDATE Topics
SET
TopicReplies = TopicReplies + 1
,LastMessageId = @MessageId
WHERE
TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesGet]
@TemplateId int
AS
SELECT
TemplateId
,TemplateKey
,TemplateDescription
,TemplateIsCurrent
FROM
Templates
WHERE
TemplateId = @TemplateId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesGetCurrent]
AS
SELECT
TemplateId
,TemplateKey
,TemplateDescription
FROM
Templates
WHERE
TemplateIsCurrent = 1
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesUpdateCurrent]
@TemplateId int
AS
UPDATE T
SET
TemplateIsCurrent =
CASE WHEN TemplateId = @TemplateId THEN 1 ELSE 0 END
FROM
Templates T
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesGetAll]
AS
SELECT
TemplateId
,TemplateKey
,TemplateDescription
,TemplateIsCurrent
FROM
Templates
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByForumLatest]
@ForumId int = 2
,@StartIndex int = 0
,@Length int = 10
AS
SELECT
*
FROM
(SELECT
ROW_NUMBER()
OVER
(ORDER BY T.TopicId desc)
AS RowNumber
,T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
WHERE
T.ForumId = @ForumId
) T
WHERE
RowNumber BETWEEN @StartIndex+1 AND @StartIndex + @Length
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetLatest]
AS
SELECT
TOP 20
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
ORDER BY T.TopicId desc
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersDelete]
@UserId int
AS
UPDATE Users
SET
Active = 0
WHERE
UserId = @UserId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsGetByShortName]
@ShortName varchar(32)
AS
SELECT
F.ForumId
,F.ForumName
,F.ForumShortName
,F.ForumDescription
,F.UserId
,F.ForumCreationDate
,F.ForumTopicCount
,F.ForumMessageCount
,C.CategoryId
,C.CategoryName
FROM
Forums F
INNER JOIN ForumsCategories C ON F.CategoryId = C.CategoryId
WHERE
F.ForumShortName = @ShortName
AND
F.Active = 1
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsUpdateRecount]
@ForumId int = 2
AS
/*
RECOUNTS THE CHILDREN MESSAGES AND TOPICS
*/
DECLARE @ForumTopicCount int, @ForumMessageCount int;
SELECT
@ForumTopicCount = COUNT(TopicId)
,@ForumMessageCount = SUM(TopicReplies)
FROM
Topics
WHERE
ForumId = @ForumId
AND
Active = 1;
UPDATE Forums
SET
ForumTopicCount = ISNULL(@ForumTopicCount, 0)
,ForumMessageCount = ISNULL(@ForumMessageCount, 0)
WHERE
ForumId = @ForumId;
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsUpdateLastMessage]
@TopicId int
,@MessageId int
AS
UPDATE F
SET
F.ForumMessageCount = F.ForumMessageCount + 1
FROM
Topics T
INNER JOIN Forums F ON F.ForumId = T.ForumId
WHERE
T.TopicId = @TopicId;
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsDelete]
@ForumShortName varchar(32)
AS
UPDATE Forums
SET
Active = 0
WHERE
ForumShortName = @ForumShortName
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsInsert]
(
@ForumName varchar(255)
,@ForumShortName varchar(32)
,@ForumDescription varchar(max)
,@CategoryId int
,@UserId int
)
AS
INSERT INTO Forums
(
ForumName
,ForumShortName
,ForumDescription
,CategoryId
,UserId
,ForumCreationDate
,ForumLastEditDate
,ForumLastEditUser
,Active
,ForumTopicCount
,ForumMessageCount
,ForumOrder
)
VALUES
(
@ForumName
,@ForumShortName
,@ForumDescription
,@CategoryId
,@UserId
,GETUTCDATE()
,GETUTCDATE()
,@UserId
,1
,0
,0
,0
)
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsUpdate]
(
@ForumShortName varchar(32)
,@ForumName varchar(255)
,@ForumDescription varchar(max)
,@CategoryId int
,@UserId int
)
AS
UPDATE Forums
SET
ForumName = @ForumName
,ForumDescription = @ForumDescription
,CategoryId = @CategoryId
,ForumLastEditDate = GETUTCDATE()
,ForumLastEditUser = @UserId
WHERE
ForumShortName = @ForumShortName
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsGetUsedShortNames]
(
@ForumShortName varchar(32),
@SearchShortName varchar(32)
)
AS
/*
Gets used short names for forums
returns:
IF NOT USED SHORTNAME: empty result set
IF USED SHORTNAME: resultset with amount of rows used
*/
DECLARE @CurrentValue varchar(32)
SELECT
@CurrentValue = ForumShortName
FROM
Forums
WHERE
ForumShortName = @ForumShortName
IF @CurrentValue IS NULL
SELECT NULL As ForumShortName WHERE 1=0
ELSE
SELECT
ForumShortName
FROM
Forums
WHERE
ForumShortName LIKE @SearchShortName + '%'
OR
ForumShortName = @ForumShortName
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByTag]
@Tag varchar(50)='forum',
@ForumId int=2
AS
--Remove the last char
SET @Tag = SUBSTRING(@Tag, 1, LEN(@Tag)-1)
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
FROM
Tags
INNER JOIN TopicsComplete T ON T.TopicId = Tags.TopicId
WHERE
Tags.Tag LIKE @Tag + '%'
AND
T.ForumId = @ForumId
ORDER BY TopicOrder DESC,TopicViews DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByRelated]
@Tag1 varchar(50)='problem'
,@Tag2 varchar(50)='installation'
,@Tag3 varchar(50)='copy'
,@Tag4 varchar(50)=null
,@Tag5 varchar(50)=null
,@Tag6 varchar(50)=null
,@TopicId int=1
,@Amount int=5
AS
WITH TagsParams (Tag) AS
(
SELECT @Tag1
UNION
SELECT @Tag2
UNION
SELECT @Tag3
UNION
SELECT @Tag4
UNION
SELECT @Tag5
UNION
SELECT @Tag6
)
SELECT
TOP (@Amount)
Ta.TagCount
,Topics.TopicId
,Topics.TopicTitle
,Topics.TopicShortName
,Topics.TopicDescription
,Topics.TopicCreationDate
,Topics.TopicViews
,Topics.TopicReplies
,Topics.ForumId
,Topics.ForumName
,Topics.ForumShortName
,Topics.TopicIsClose
,Topics.TopicOrder
FROM
(
SELECT
T.TopicId
,COUNT(T.Tag) AS TagCount
FROM
Tags T
INNER JOIN TagsParams P ON T.Tag=P.Tag
WHERE
T.Tag=P.Tag
GROUP BY
T.TopicId
)
Ta
INNER JOIN TopicsComplete Topics ON Topics.TopicId = Ta.TopicId
WHERE
Topics.TopicId <> @TopicId
ORDER BY
1 desc, Topics.TopicViews desc
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTagsGetMostViewed]
@ForumId int=2
,@Top bigint=5
AS
SELECT
Tag,
TagViews,
(TagViews*100.00)/SUM(case when TagViews > 0 then TagViews else 1 end) OVER() AS Weight
FROM
(
SELECT
TOP (@Top)
Tags.Tag
,SUM(T.TopicViews) As TagViews
,COUNT(T.TopicId) As TopicCount
FROM
Tags
INNER JOIN Topics T ON Tags.TopicId = T.TopicId
WHERE
T.ForumId = @ForumId
AND
T.Active = 1
GROUP BY
Tags.Tag
ORDER BY SUM(T.TopicViews) desc
) T
ORDER BY Tag
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTagsInsert]
@Tags varchar(256),
@TopicId int,
@PreviousTags varchar(256)=NULL
AS
IF NOT @PreviousTags IS NULL
BEGIN
DELETE FROM Tags
WHERE
Tag IN (SELECT part FROM dbo.Split(@PreviousTags, ' '))
AND
TopicId = @TopicId
END
INSERT INTO Tags
(Tag,TopicId)
SELECT part, @TopicId FROM dbo.Split(@Tags, ' ')
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersUpdate]
@UserId int
,@UserName varchar(50)
,@UserProfile varchar(max)
,@UserSignature varchar(max)
,@UserBirthDate datetime
,@UserWebsite varchar(255)
,@UserTimezone decimal(9,2)
,@UserEmail varchar(100)
,@UserEmailPolicy int
,@UserPhoto varchar(1024)
,@UserExternalProfileUrl varchar(255)
AS
UPDATE Users
SET
UserName = @UserName
,UserProfile = @UserProfile
,UserSignature = @UserSignature
,UserBirthDate = @UserBirthDate
,UserWebsite = @UserWebsite
,UserTimezone = @UserTimezone
,UserEmail = @UserEmail
,UserEmailPolicy = @UserEmailPolicy
,UserPhoto = @UserPhoto
,UserExternalProfileUrl = @UserExternalProfileUrl
WHERE
UserId = @UserId;
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsSubscriptionsGetByTopic]
@TopicId int
AS
SELECT
U.UserId
,U.UserName
,U.UserEmail
,U.UserEmailPolicy
,U.UserGuid
FROM
TopicsSubscriptions S
INNER JOIN Users U ON U.UserId = S.UserId
WHERE
TopicId = @TopicId
AND
U.Active = 1
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsSubscriptionsDelete]
@TopicId int
,@UserId int
,@Userguid char(32)
AS
DELETE S
FROM
TopicsSubscriptions S
INNER JOIN Users U ON U.UserId = S.UserId
WHERE
S.TopicId = @TopicId
AND
S.UserId = @UserId
AND
U.UserGuid = @UserGuid
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersUpdateEmail]
@UserId int
,@UserEmail varchar(100)
,@UserEmailPolicy int
AS
UPDATE Users
SET
UserEmail = @UserEmail
,UserEmailPolicy = @UserEmailPolicy
WHERE
UserId = @UserId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGetTestUser]
AS
SELECT
Top 1
U.UserId
,U.UserName
,U.UserGroupId
,U.UserGuid
,U.UserTimeZone
,U.UserExternalProfileUrl
,U.UserProviderLastCall
,U.UserEmail
FROM
Users U
WHERE
U.Active = 1
ORDER BY
U.UserGroupId DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersInsertFromProvider]
(@UserName varchar(50)
,@UserProfile varchar(max)
,@UserSignature varchar(max)
,@UserGroupId smallint
,@UserBirthDate datetime
,@UserWebsite varchar(255)
,@UserGuid char(32)
,@UserTimezone decimal(9,2)
,@UserEmail varchar(100)
,@UserEmailPolicy int
,@UserPhoto varchar(1024)
,@UserExternalProfileUrl varchar(255)
,@UserProvider varchar(32)
,@UserProviderId varchar(64))
AS
--If it is the first active user -> make it an admin
DECLARE @UserCount int
SELECT @UserCount=COUNT(UserId) FROM Users WHERE Active = 1
IF ISNULL(@UserCount, 0) = 0
SELECT @UserGroupId = MAX(UserGroupId) FROM UsersGroups
INSERT INTO Users
(UserName
,UserProfile
,UserSignature
,UserGroupId
,Active
,UserBirthDate
,UserWebsite
,UserGuid
,UserTimezone
,UserEmail
,UserEmailPolicy
,UserPhoto
,UserRegistrationDate
,UserExternalProfileUrl
,UserProvider
,UserProviderId
,UserProviderLastCall)
VALUES
(@UserName
,@UserProfile
,@UserSignature
,@UserGroupId
,1 --Active
,@UserBirthDate
,@UserWebsite
,@UserGuid
,@UserTimezone
,@UserEmail
,@UserEmailPolicy
,@UserPhoto
,GETUTCDATE() --RegitrationDate
,@UserExternalProfileUrl
,@UserProvider
,@UserProviderId
,GETUTCDATE() --UserProviderLastCall
);
DECLARE @UserId int;
SELECT @UserId = @@IDENTITY;
SELECT
U.UserId
,U.UserName
,U.UserGroupId
,U.UserGuid
,U.UserTimeZone
,U.UserExternalProfileUrl
,U.UserProviderLastCall
,U.UserEmail
FROM
Users U
WHERE
U.UserId = @UserId;
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGetByProvider]
@Provider varchar(32)
,@ProviderId varchar(64)
AS
SELECT
U.UserId
,U.UserName
,U.UserGroupId
,U.UserGuid
,U.UserTimeZone
,U.UserExternalProfileUrl
,U.UserProviderLastCall
,U.UserEmail
FROM
Users U
WHERE
UserProvider = @Provider
AND
UserProviderId = @ProviderId
AND
U.Active = 1
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGetAll]
AS
SELECT
U.UserId
,U.UserName
,U.UserProfile
,U.UserSignature
,U.UserGroupId
,U.UserBirthDate
,U.UserWebsite
,U.UserTimezone
,U.UserPhoto
,U.UserRegistrationDate
,UG.UserGroupId
,UG.UserGroupName
FROM
Users U
INNER JOIN UsersGroups UG ON UG.UserGroupId = U.UserGroupId
WHERE
U.Active = 1
ORDER BY
U.UserName
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGet]
@UserId int=11
AS
SELECT
U.UserId
,U.UserName
,U.UserProfile
,U.UserSignature
,U.UserGroupId
,U.UserBirthDate
,U.UserWebsite
,U.UserTimezone
,U.UserPhoto
,U.UserRegistrationDate
,U.UserExternalProfileUrl
,U.UserEmail
,U.UserEmailPolicy
,UG.UserGroupId
,UG.UserGroupName
FROM
Users U
INNER JOIN UsersGroups UG ON UG.UserGroupId = U.UserGroupId
WHERE
U.UserId = @UserId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsSubscriptionsGetByUser]
@UserId int=21
AS
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.ForumId
,T.ForumName
,T.ForumShortName
FROM
TopicsSubscriptions S
INNER JOIN TopicsComplete T ON T.TopicId = S.TopicId
WHERE
S.UserId = @UserId
ORDER BY
S.TopicId DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsSubscriptionsInsert]
@TopicId int
,@UserId int
AS
IF NOT EXISTS (SELECT TopicId FROM TopicsSubscriptions WHERE TopicId = @TopicId AND UserID = @UserId)
BEGIN
INSERT INTO TopicsSubscriptions
(TopicId, UserId)
VALUES
(@TopicId, @UserId)
END
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesFlag]
(
@TopicId int=1
,@MessageId int=1
,@Ip varchar(15)='127.0.0.1'
)
AS
IF NOT EXISTS (SELECT * FROM Flags WHERE TopicId=@TopicId AND IP=@Ip AND (MessageId=@MessageId OR (@MessageId IS NULL AND MessageId IS NULL)))
BEGIN
INSERT INTO Flags
(TopicId, MessageId, Ip, FlagDate)
VALUES
(@TopicId, @MessageId, @Ip, GETUTCDATE())
END
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersPromote]
@UserId int
AS
DECLARE @UserGroupId int
SELECT @UserGroupId = UserGroupId FROM Users WHERE UserId = @UserId
SELECT @UserGroupId = MIN(UserGroupId) FROM UsersGroups WHERE UserGroupId > @UserGroupId
IF @UserGroupId IS NOT NULL
UPDATE Users
SET
UserGroupId = @UserGroupId
WHERE
UserId = @UserId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersDemote]
@UserId int
AS
DECLARE @UserGroupId int
SELECT @UserGroupId = UserGroupId FROM Users WHERE UserId = @UserId
SELECT @UserGroupId = MAX(UserGroupId) FROM UsersGroups WHERE UserGroupId < @UserGroupId
IF @UserGroupId IS NOT NULL
UPDATE Users
SET
UserGroupId = @UserGroupId
WHERE
UserId = @UserId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGetByName]
@UserName varchar(50)='Jorge'
AS
SELECT
U.UserId
,U.UserName
,U.UserProfile
,U.UserSignature
,U.UserGroupId
,U.UserBirthDate
,U.UserWebsite
,U.UserTimezone
,U.UserPhoto
,U.UserRegistrationDate
,UG.UserGroupId
,UG.UserGroupName
FROM
Users U
INNER JOIN UsersGroups UG ON UG.UserGroupId = U.UserGroupId
WHERE
U.UserName LIKE '%' + @UserName + '%'
AND
U.Active = 1
ORDER BY
U.UserName
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPUsersGroupsGet]
@UserGroupId smallint=1
AS
SELECT
UserGroupId
,UserGroupName
FROM
UsersGroups
WHERE
UserGroupId = @UserGroupId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsClose]
@TopicId int
,@UserId int
,@Ip varchar(15)
AS
UPDATE Topics
SET
TopicIsClose = 1
,TopicLastEditDate = GETUTCDATE()
,TopicLastEditUser = @UserId
,TopicLastEditIp = @Ip
WHERE
TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsOpen]
@TopicId int
,@UserId int
,@Ip varchar(15)
AS
UPDATE Topics
SET
TopicIsClose = 0
,TopicLastEditDate = GETUTCDATE()
,TopicLastEditUser = @UserId
,TopicLastEditIp = @Ip
WHERE
TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsAddVisit]
@TopicId int=2
AS
UPDATE Topics
SET
TopicViews = TopicViews+1
WHERE
TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesInsert]
@TemplateKey varchar(16)
,@TemplateDescription varchar(256)
,@TemplateId int OUTPUT
AS
INSERT INTO Templates
(
TemplateKey
,TemplateDescription
,TemplateDate
,TemplateIsCurrent
)
VALUES
(
@TemplateKey
,@TemplateDescription
,GETUTCDATE()
,0
)
SELECT @TemplateId = @@IDENTITY
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTemplatesDelete]
@TemplateId int
AS
DELETE FROM Templates WHERE TemplateId = @TemplateId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetUnanswered]
AS
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
,T.ForumId
,T.ForumName
,T.ForumShortName
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
WHERE
T.TopicReplies = 0 -- Unanswered
AND
T.TopicOrder IS NULL -- Not sticky
ORDER BY
TopicId DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByUser]
@UserId int
AS
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
WHERE
T.UserId = @UserId
ORDER BY T.TopicId desc
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetMessagesByUser]
@UserId int
AS
/*
Gets the messages posted by the user grouped by topic
*/
SELECT
T.TopicId
,M.MessageId
,M.MessageCreationDate
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
FROM
TopicsComplete T
INNER JOIN Messages M ON M.TopicId = T.TopicId
WHERE
M.UserId = @UserId
ORDER BY T.TopicId desc, M.MessageId desc
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByForumUnanswered]
@ForumId int = 2
AS
SELECT
T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
WHERE
T.ForumId = @ForumId
AND
T.TopicReplies = 0 -- Unanswered
AND
T.TopicOrder IS NULL -- Not sticky
ORDER BY
TopicViews DESC, TopicId DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsGetByForum]
@ForumId int = 2
,@StartIndex int = 0
,@Length int = 10
AS
SELECT
*
FROM
(SELECT
ROW_NUMBER()
OVER
(ORDER BY TopicOrder desc
,TopicViews desc)
AS RowNumber
,T.TopicId
,T.TopicTitle
,T.TopicShortName
,T.TopicDescription
,T.TopicCreationDate
,T.TopicViews
,T.TopicReplies
,T.UserId
,T.TopicTags
,T.TopicIsClose
,T.TopicOrder
,T.LastMessageId
,T.UserName
,M.MessageCreationDate
FROM
TopicsComplete T
LEFT JOIN Messages M ON M.TopicId = T.TopicId AND M.MessageId = T.LastMessageId AND M.Active = 1
WHERE
T.ForumId = @ForumId
) T
WHERE
RowNumber BETWEEN @StartIndex+1 AND @StartIndex + @Length
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesDelete]
@TopicId int
,@MessageId int
,@UserId int
AS
UPDATE Messages
SET
Active = 0
,MessageLastEditDate = GETUTCDATE()
,MessageLastEditUser = @UserId
WHERE
TopicId = @TopicId
AND
MessageId = @MessageId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsCategoriesGetAll]
AS
SELECT
CategoryId
,CategoryName
,CategoryOrder
FROM
ForumsCategories
ORDER BY
CategoryOrder
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPForumsGetByCategory]
AS
SELECT
F.ForumId
,F.ForumName
,F.ForumShortName
,F.ForumDescription
,F.UserId
,F.ForumCreationDate
,F.ForumTopicCount
,F.ForumMessageCount
,C.CategoryId
,C.CategoryName
FROM
ForumsCategories C
INNER JOIN Forums F ON F.CategoryId = C.CategoryId
WHERE
F.Active = 1
ORDER BY
C.CategoryOrder,
F.ForumOrder
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsInsert]
(
@TopicTitle varchar(255)
,@TopicShortName varchar(64)
,@TopicDescription varchar(max)
,@UserId int
,@TopicTags varchar(256)
,@TopicOrder int
,@Forum varchar(32)
,@Ip varchar(15)
,@TopicId int OUTPUT
)
AS
/*
- Inserts topic
- Insert tags
- Updates recount on father
*/
DECLARE @ForumId int
SELECT @ForumId = ForumId FROM Forums WHERE ForumShortName = @Forum
SET @TopicTags = LOWER(@TopicTags)
IF @TopicOrder IS NOT NULL
BEGIN
SELECT @TopicOrder = MAX(TopicOrder)+1 FROM Topics
SELECT @TopicOrder = ISNULL(@TopicOrder, 1)
END
BEGIN TRY
BEGIN TRANSACTION
INSERT INTO dbo.Topics
(
TopicTitle
,TopicShortName
,TopicDescription
,TopicCreationDate
,TopicLastEditDate
,TopicViews
,TopicReplies
,UserId
,TopicTags
,ForumId
,TopicLastEditUser
,TopicLastEditIp
,Active
,TopicIsClose
,TopicOrder
,MessagesIdentity
)
VALUES
(
@TopicTitle
,@TopicShortName
,@TopicDescription
,GETUTCDATE()
,GETUTCDATE()
,0--TopicViews
,0--TopicReplies
,@UserId
,@TopicTags
,@ForumId
,@UserId
,@Ip
,1--Active
,0--TopicIsClose
,@TopicOrder
,0--MessageIdentity
);
SELECT @TopicId = @@IDENTITY;
--Add tags
exec dbo.SPTagsInsert @Tags=@TopicTags, @TopicId=@TopicId;
--Recount
exec dbo.SPForumsUpdateRecount @ForumId=@ForumId;
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
ROLLBACK
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsMove]
@TopicId int
,@ForumId int
,@UserId int
,@Ip varchar(15)
AS
DECLARE @PreviousForumId int
SELECT @PreviousForumId = ForumId FROM Topics WHERE TopicId = @TopicId
BEGIN TRY
BEGIN TRANSACTION
UPDATE Topics
SET
ForumId = @ForumId
,TopicLastEditDate = GETUTCDATE()
,TopicLastEditUser = @UserId
,TopicLastEditIp = @Ip
WHERE
TopicId = @TopicId
exec SPForumsUpdateRecount @ForumId
exec SPForumsUpdateRecount @PreviousForumId
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
ROLLBACK
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsDelete]
@TopicId int
,@UserId int
,@Ip varchar(15)
AS
/*
- SETS THE TOPIC ACTIVE=0
- UPDATES RECOUNT ON FORUM
*/
DECLARE @ForumId int;
SELECT @ForumId = ForumId FROM Topics WHERE TopicId = @TopicId;
UPDATE Topics
SET
Active = 0
,TopicLastEditDate = GETUTCDATE()
,TopicLastEditUser = @UserId
,TopicLastEditIp = @Ip
WHERE
TopicId = @TopicId;
exec dbo.SPForumsUpdateRecount @ForumId;
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesGetByTopicLatest]
@TopicId int=2
AS
SELECT
TOP 20
M.TopicId
,M.MessageId
,M.MessageBody
,M.MessageCreationDate
,M.MessageLastEditDate
,M.ParentId
,UserId
,UserName
,UserSignature
,UserGroupId
,UserGroupName
,M.Active
FROM
dbo.MessagesComplete M
WHERE
M.TopicId = @TopicId
ORDER BY
TopicId, MessageId DESC
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesGetByTopicUpTo]
@TopicId int=1,
@FirstMsg int=14,
@LastMsg int=28
AS
SELECT
ROW_NUMBER()
OVER
(ORDER BY M.TopicId, M.MessageId)
AS RowNumber
,M.TopicId
,M.MessageId
,M.MessageBody
,M.MessageCreationDate
,M.MessageLastEditDate
,M.ParentId
,UserId
,UserName
,UserSignature
,UserGroupId
,UserGroupName
,M.Active
FROM
dbo.MessagesComplete M
WHERE
M.TopicId = @TopicId
AND
M.MessageId > @FirstMsg
AND
M.MessageId <= @LastMsg
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesGetByTopic]
@TopicId int=2
AS
SELECT
ROW_NUMBER()
OVER
(ORDER BY M.TopicId, M.MessageId)
AS RowNumber
,M.TopicId
,M.MessageId
,M.MessageBody
,M.MessageCreationDate
,M.MessageLastEditDate
,M.ParentId
,UserId
,UserName
,UserSignature
,UserGroupId
,UserGroupName
,M.Active
FROM
dbo.MessagesComplete M
WHERE
M.TopicId = @TopicId
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesGetByTopicFrom]
@TopicId int=1,
@FirstMsg int=13,
@Amount int=10
AS
SELECT
*
FROM
(
SELECT
ROW_NUMBER()
OVER
(ORDER BY M.TopicId, M.MessageId)
AS RowNumber
,M.TopicId
,M.MessageId
,M.MessageBody
,M.MessageCreationDate
,M.MessageLastEditDate
,M.ParentId
,UserId
,UserName
,UserSignature
,UserGroupId
,UserGroupName
,M.Active
FROM
dbo.MessagesComplete M
WHERE
M.TopicId = @TopicId
AND
M.MessageId > @FirstMsg
) M
WHERE
RowNumber <= @Amount
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPMessagesInsert]
@TopicId int
,@MessageBody varchar(max)
,@UserId int
,@MessageId int OUTPUT
,@Ip varchar(15)
,@ParentId int
AS
UPDATE T
SET
MessagesIdentity = MessagesIdentity+1
,@MessageId = MessagesIdentity+1
FROM
Topics T
WHERE
TopicId = @TopicId
BEGIN TRY
BEGIN TRANSACTION
INSERT INTO Messages
(
TopicId
,MessageId
,MessageBody
,MessageCreationDate
,MessageLastEditDate
,MessageLastEditUser
,UserId
,Active
,EditIp
,ParentId
)
VALUES
(
@TopicId
,@MessageId
,@MessageBody
,GETUTCDATE()
,GETUTCDATE()
,@UserId
,@UserId
,1
,@Ip
,@ParentId
)
--Update topic
exec SPTopicsUpdateLastMessage @TopicId=@TopicId, @MessageId=@MessageId
--Update forums
exec SPForumsUpdateLastMessage @TopicId=@TopicId, @MessageId=@MessageId
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
ROLLBACK
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPTopicsUpdate]
@TopicId int
,@TopicTitle varchar(256)
,@TopicDescription varchar(max)
,@UserId int
,@TopicTags varchar(256)
,@TopicOrder int
,@Ip varchar(15)
AS
DECLARE @PreviousTags varchar(256)
SELECT @PreviousTags=TopicTags FROM Topics WHERE TopicId=@TopicId
IF @TopicOrder IS NOT NULL
BEGIN
SELECT @TopicOrder = MAX(TopicOrder)+1 FROM Topics
SELECT @TopicOrder = ISNULL(@TopicOrder, 1)
END
BEGIN TRY
BEGIN TRANSACTION
UPDATE T
SET
TopicTitle = @TopicTitle
,TopicDescription = @TopicDescription
,TopicLastEditDate = GETUTCDATE()
,TopicTags = @TopicTags
,TopicLastEditUser = @UserId
,TopicLastEditIp = @Ip
,TopicOrder = @TopicOrder
FROM
Topics T
WHERE
TopicId = @TopicId
--Edit tags
EXEC dbo.[SPTagsInsert] @Tags=@TopicTags, @TopicId=@TopicId, @PreviousTags=@PreviousTags
COMMIT
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
ROLLBACK
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
|
<reponame>saimmehmood/POI_Clustering<gh_stars>0
Steps:
-- Creating 1st Table (poi_latlong):
create Table poi_latlong(
latitude double precision,
longitude double precision,
)
-- Adding geom column:
Alter Table poi_latlong add column geom geometry(POINT,4326)
-- 4326 is SRID - {A spatial reference identifier (SRID) is a unique identifier associated with a specific coordinate system, tolerance, and resolution.}
update poi_latlong set geom = st_setsrid(st_point(longitude,latitude),4326)
-- Creating 2nd Table (driving)
create Table driving (
id integer primary key,
distance text,
time text,
trajectory text
)
-- Changing trajectory column:
ALTER TABLE driving ALTER COLUMN trajectory TYPE Geometry(LINESTRING, 4326)
USING ST_SetSRID(ST_GeomFromText(concat('LINESTRING',
regexp_replace(trajectory, '(\[|\])','', 'g'))), 4326);
-- Trajectory points gets converted into LineString geometry type.
-- Experimenting with ST_DWithin:
select st_astext(geom)
from poi_latlong
where st_dwithin(geom,
ST_GeomFromText('POINT(43.741117 -79.520321)', 4326), 0.02) -- takes 0.02 as 2km (is a radius value)
select st_astext(geom_02)
from poi_latlong
where st_dwithin(geom_02,
ST_GeomFromText('POINT(43.737906 -79.505976)', 26918), 0.003)
-- takes 0.001 as 100m
-- takes 0.01 as 1km
-- Changing SRID doesn't effect specified radius value.
-- Getting points from trajectory LineString:
SELECT ST_AsText(
ST_PointN(
d.trajectory,
generate_series(1, ST_NPoints(d.trajectory))
))
FROM driving d;
-- Storing points in a table.
SELECT ST_AsText(
ST_PointN(
d.trajectory,
generate_series(1, ST_NPoints(d.trajectory))
)) as TrajPoints
into table traj_point
FROM driving d;
-- Now using both trajectories {a set of points} and POIs to relate them based on a threshold value.
select st_astext(tr.trajpoints) as t_coordinates, st_astext(p.geom_02) as POI
from traj_point_01 tr, poi_latlong p
where st_dwithin(tr.trajpoints, p.geom_02, 0.001)
-- 0.001 {100m threshold}
-- Storing Area grid cells:
create table area_grid_cells(
cell_names text,
coordinates text
)
-- Changing coordinates column:
ALTER TABLE area_grid_cells ALTER COLUMN coordinates TYPE Geometry(LINESTRING, 4326)
USING ST_SetSRID(ST_GeomFromText(concat('LINESTRING',
regexp_replace(coordinates, '(\[|\])','', 'g'))), 4326);
-- creating POI table with unique id retrieved from .json files.
create table POI(
p_id text,
latitude double precision,
longitude double precision
)
alter table poi add column geom geometry(POINT,4326)
update poi set geom = st_setsrid(st_point(latitude, longitude), 4326)
-- Creating table for bicycling trajectory data.
create table bicycling_traj (
id_no integer primary key,
total_distance text,
travel_time text,
trajectory_path text
)
alter table bicycling_traj add column geom geometry(LINESTRING, 4326)
-- stroing trajectory data as geometry LINESTRING type.
update bicycling_traj set geom = st_setsrid(ST_GeomFromText(concat('LINESTRING',
regexp_replace(trajectory_path, '(\[|\])','', 'g'))), 4326)
-- Creating new area grid table to store grid coordinates as Polygon.
-- by storing grid coordinates as polygon I can check for both POIs and Trajectories if they fall within corrdinates boundaries.
create table area_grid (
grid_name text,
grid_coordinates text
)
-- adding geom column
alter table area_grid add column geom geometry(POLYGON, 4326)
-- creating Person_ID table to store unique ID's for synthetic users.
create table Person_ID (
P_ID text
)
|
SELECT COUNT(*) AS Count FROM Employees
WHERE ManagerID IS NULL |
<reponame>mgjm-docker/mip-tv-server
SELECT COUNT(*)
FROM uniqueIps
WHERE userid = ?
AND day in ? // INPUT set/array
GROUP BY (userid, day, time);
|
SET DEFINE OFF;
CREATE UNIQUE INDEX AFW_01_CODE_ERR_ORCL_PK ON AFW_01_CODE_ERR_ORACL
(SEQNC)
LOGGING
/
|
---------START---------------
ALTER TABLE EGW_LINEESTIMATE ADD COLUMN councilresolutionnumber character varying(100) ;
ALTER TABLE EGW_LINEESTIMATE ADD COLUMN councilresolutiondate timestamp without time zone;
--rollback ALTER TABLE EGW_LINEESTIMATE DROP COLUMN councilresolutionnumber;
--rollback ALTER TABLE EGW_LINEESTIMATE DROP COLUMN councilresolutiondate;
---------END----------------- |
DROP TABLE songs;
|
<filename>resources/db/patches/mysql/0450~settings.sql<gh_stars>100-1000
# Add missing setting for settings table.
REPLACE INTO settings (section, subsection, name, value, hint, setting) VALUES ('APIs', 'AniDB', 'banned', '0', "Timestamp of WHEN we were 'banned'.", 'AniDB_banned');
|
CREATE PROCEDURE `homes_add_uuid_proc` (IN uuid_in VARCHAR(36))
BEGIN
DECLARE uuid_exists INT;
SELECT EXISTS(SELECT 1 FROM `homes_uuids` WHERE `uuid`=uuid_in LIMIT 1) INTO uuid_exists;
IF uuid_exists = 0 THEN
INSERT INTO `homes_uuids` (`uuid`) VALUES (uuid_in);
END IF;
END; |
ALTER TABLE `prefix_users_entity` DROP KEY `last_action`;
ALTER TABLE `prefix_users_entity` ADD KEY `last_action` (`last_action`);
ALTER TABLE `prefix_users_entity` DROP KEY `last_login`;
ALTER TABLE `prefix_users_entity` ADD KEY `last_login` (`last_login`); |
<filename>src/main/resources/db/migration/V1_1_2__firm_fundamental_migration.sql
drop table IF EXISTS STOCK_FUNDAMENTAL_WEEKLY CASCADE;
CREATE TABLE STOCK_FUNDAMENTAL_WEEKLY
(
ID SERIAL PRIMARY KEY,
CODE varchar(50) NOT NULL,
EXCHANGE varchar(50) NOT NULL,
WEEK_NUMBER INT,
YEAR INT,
ISIN varchar(50),
BOOK_VALUE double precision,
EBITDA double precision,
PE_RATIO double precision,
DIVIDEND_SHARE double precision,
DIVIDEND_YIELD double precision,
EARNING_SHARE double precision,
PROFIT_MARGIN double precision,
OPERTING_MARGIN_TTM double precision,
RETURN_ON_ASSETS_TTM double precision,
RETURN_ON_EQUITY_TTM double precision,
REVENUE_TTM double precision,
REVENUE_PER_SHARE_TTM double precision,
GROSS_PROFIT_TTM double precision,
DILUTED_EPS_TTM double precision,
TRAILING_PE double precision,
PRICE_SALES_TTM double precision
);
drop table IF EXISTS STOCK_FUNDAMENTAL_MONTHLY CASCADE;
CREATE TABLE STOCK_FUNDAMENTAL_MONTHLY
(
ID SERIAL PRIMARY KEY,
CODE varchar(50) NOT NULL,
EXCHANGE varchar(50) NOT NULL,
MONTH_NUMBER INT,
YEAR INT,
ISIN varchar(50),
BOOK_VALUE double precision,
EBITDA double precision,
PE_RATIO double precision,
DIVIDEND_SHARE double precision,
DIVIDEND_YIELD double precision,
EARNING_SHARE double precision,
PROFIT_MARGIN double precision,
OPERTING_MARGIN_TTM double precision,
RETURN_ON_ASSETS_TTM double precision,
RETURN_ON_EQUITY_TTM double precision,
REVENUE_TTM double precision,
REVENUE_PER_SHARE_TTM double precision,
GROSS_PROFIT_TTM double precision,
DILUTED_EPS_TTM double precision,
TRAILING_PE double precision,
PRICE_SALES_TTM double precision
); |
<filename>Techtest.sql
-- phpMyAdmin SQL Dump
-- version 4.5.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
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: `sportido`
--
-- --------------------------------------------------------
--
-- Table structure for table `cart`
--
CREATE TABLE `cart` (
`id` int(11) NOT NULL,
`cart_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`qty` int(11) NOT NULL,
`amount` decimal(5,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cart`
--
INSERT INTO `cart` (`id`, `cart_id`, `user_id`, `product_id`, `qty`, `amount`) VALUES
(1, 1, 1, 1, 7, '999.99'),
(2, 1, 1, 2, 3, '423.00'),
(3, 1, 1, 3, 8, '999.99'),
(4, 1, 1, 4, 3, '999.99'),
(5, 1, 1, 5, 7, '999.99'),
(6, 1, 1, 6, 2, '894.00'),
(7, 1, 1, 7, 8, '999.99'),
(8, 1, 1, 61, 2, '999.99'),
(9, 1, 1, 62, 6, '999.99'),
(10, 1, 1, 63, 9, '999.99'),
(11, 1, 1, 64, 2, '364.00'),
(12, 1, 1, 65, 8, '999.99'),
(13, 1, 1, 29, 2, '999.99'),
(14, 1, 1, 30, 7, '826.00'),
(15, 1, 1, 31, 5, '999.99'),
(16, 2, 2, 1, 5, '999.99'),
(17, 2, 2, 2, 5, '705.00'),
(18, 2, 2, 3, 10, '999.99'),
(19, 2, 2, 4, 11, '999.99'),
(20, 2, 2, 5, 8, '999.99'),
(21, 2, 2, 6, 2, '894.00'),
(22, 2, 2, 7, 7, '999.99'),
(23, 2, 2, 61, 11, '999.99'),
(24, 2, 2, 62, 9, '999.99'),
(25, 2, 2, 63, 9, '999.99'),
(26, 2, 2, 64, 8, '999.99'),
(27, 2, 2, 65, 7, '999.99'),
(28, 2, 2, 29, 4, '999.99'),
(29, 2, 2, 30, 2, '236.00'),
(30, 2, 2, 31, 9, '999.99'),
(31, 3, 3, 1, 6, '999.99'),
(32, 3, 3, 2, 6, '846.00'),
(33, 3, 3, 3, 9, '999.99'),
(34, 3, 3, 4, 5, '999.99'),
(35, 3, 3, 5, 11, '999.99'),
(36, 3, 3, 6, 3, '999.99'),
(37, 3, 3, 7, 8, '999.99'),
(38, 3, 3, 61, 7, '999.99'),
(39, 3, 3, 62, 4, '999.99'),
(40, 3, 3, 63, 8, '999.99'),
(41, 3, 3, 64, 10, '999.99'),
(42, 3, 3, 65, 6, '999.99'),
(43, 3, 3, 29, 9, '999.99'),
(44, 3, 3, 30, 10, '999.99'),
(45, 3, 3, 31, 10, '999.99');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`category_id` int(4) NOT NULL,
`category_name` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`category_id`, `category_name`) VALUES
(1, 'Groceries'),
(2, 'Fruits'),
(3, 'Vegitable');
-- --------------------------------------------------------
--
-- Table structure for table `product`
--
CREATE TABLE `product` (
`product_id` int(11) NOT NULL,
`product_name` varchar(200) NOT NULL,
`category_id` int(11) NOT NULL,
`price` decimal(7,2) NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `product`
--
INSERT INTO `product` (`product_id`, `product_name`, `category_id`, `price`, `is_active`) VALUES
(1, 'Riceland American Jazmine Rice', 1, '673.00', 1),
(2, 'Caress Velvet Bliss Ultra Silkening Beauty Bar - 6 Ct', 1, '141.00', 1),
(3, 'Earth''s Best Organic Fruit Yogurt Smoothie Mixed Berry', 1, '388.00', 1),
(4, 'Boar''s Head Sliced White American Cheese - 120 Ct', 1, '517.00', 1),
(5, 'Back To Nature Gluten Free White Cheddar Rice Thin Crackers', 1, '420.00', 1),
(6, 'Sally Hansen Nail Color Magnetic 903 Silver Elements', 1, '447.00', 1),
(7, 'Twinings Of London Classics Lady Grey Tea - 20 Ct', 1, '877.00', 1),
(8, 'Lea & Perrins Marinade In-a-bag Cracked Peppercorn', 1, '243.00', 1),
(9, '<NAME>''s Fillets Beer Battered - 10 Ct', 1, '282.00', 1),
(10, '<NAME>', 1, '580.00', 1),
(11, 'Honest Tea Peach White Tea', 1, '153.00', 1),
(12, 'Mueller Sport Care Basic Support Level Medium Elastic Knee Support', 1, '725.00', 1),
(13, 'Garnier Nutritioniste Moisture Rescue Fresh Cleansing Foam', 1, '367.00', 1),
(14, 'Pamprin Maximum Strength Multi-symptom Menstrual Pain Relief', 1, '460.00', 1),
(15, 'Suave Naturals Moisturizing Body Wash Creamy Tropical Coconut', 1, '198.00', 1),
(16, 'Burt''s Bees Daily Moisturizing Cream Sensitive', 1, '411.00', 1),
(17, 'Ducal Refried Red Beans', 1, '460.00', 1),
(18, 'Scotch Removable Clear Mounting Squares - 35 Ct', 1, '968.00', 1),
(19, 'Careone Family Comb Set - 8 Ct', 1, '658.00', 1),
(20, 'Plums Black', 1, '287.00', 1),
(21, 'Doctor''s Best Best Curcumin C3 Complex 1000mg Tablets - 120 Ct', 1, '259.00', 1),
(22, 'Betty Crocker Twin Pack Real Potatoes Scalloped 2 Pouches For 2 Meals - 2 Pk', 1, '334.00', 1),
(23, 'Reese Mandarin Oranges Segments In Light Syrup', 1, '794.00', 1),
(24, 'Smart Living Charcoal Lighter Fluid', 1, '166.00', 1),
(25, 'Hood Latte Iced Coffee Drink Vanilla Latte', 1, '147.00', 1),
(26, 'Triaminic Syrup Night Time Cold & Cough Grape 4oz', 1, '137.00', 1),
(27, 'Morton Kosher Salt Coarse', 1, '145.00', 1),
(28, 'Guava', 1, '214.00', 1),
(29, 'Rice Bran Gluten Free Dinner Rolls Plain', 2, '532.00', 1),
(30, 'Nakano Seasoned Rice Vinegar Original', 2, '118.00', 1),
(31, 'Sundown Naturals Essential Electrolytes Tropical Punch, Watermelon And Fruit Punch Gummies - 60 Ct', 2, '695.00', 1),
(32, 'Munchies Sandwich Crackers Cheddar Cheese On Golden Toast Crackers - 8 Pk', 2, '320.00', 1),
(33, 'Amy''s Light & Lean Spaghetti Italiano', 2, '315.00', 1),
(34, 'P.f. Chang''s Home Menu Meal For Two Beef With Broccoli', 2, '514.00', 1),
(35, 'Mom''s Best Naturals Cereal Toasted Cinnamon Squares', 2, '626.00', 1),
(36, 'Ferrara Vanilla Syrup', 2, '588.00', 1),
(37, 'Elmer''s Board Mate Dual Tip Glue Pen', 2, '959.00', 1),
(38, 'Kellogg''s Disney Pixar Cars 2 Cereal', 2, '231.00', 1),
(39, 'Pizza Sauce', 2, '877.00', 1),
(40, 'Bear Naked Fit Almond Crisp 100% Natural Energy Cereal', 2, '891.00', 1),
(41, 'Dove Men + Care Antiperspirant Deodorant Cool Silver', 2, '823.00', 1),
(42, 'Easy-off Oven Cleaner Lemon Scent', 2, '441.00', 1),
(43, 'Choice Organic Teas Black Tea Classic Black - 16 Ct', 2, '537.00', 1),
(44, 'Careone Lubricating Jelly', 2, '361.00', 1),
(45, 'Sacla Italia Sun Dried Pesto Sauce', 2, '993.00', 1),
(46, 'Huggies Natural Care Wipes - 3 Pk', 3, '182.00', 1),
(47, 'Serpis Green Olives Stuffed With Spicy Chorizo', 3, '530.00', 1),
(48, 'Ripken Power Shred Beef Jerky Teriyaki', 3, '203.00', 1),
(49, 'Arnold Bread Jewish Rye Everything', 3, '227.00', 1),
(50, 'Traditional Medicinals Herbal Tea Bags Just For Kids Organic Nighty Night - 18 Ct', 3, '422.00', 1),
(51, 'Perry''s Ice Cream Panda Paws', 3, '432.00', 1),
(52, 'Maty''s All Natural Kids 1+ Caramel Banana Taste Cough Syrup', 3, '792.00', 1),
(53, 'Kraft Anything Dressing <NAME>', 3, '765.00', 1),
(54, 'Eight O''clock Coffee Dark Italian Roast Ground', 3, '448.00', 1),
(55, 'Ahold <NAME>', 3, '746.00', 1),
(56, 'Enzymatic Therapy Acidophilus Pearls Active Cultures Dietary Supplement - 30 Ct', 3, '483.00', 1),
(57, 'Ahold Complete Buttermilk Pancake & Waffle Mix', 3, '976.00', 1),
(58, '<NAME>', 3, '633.00', 1),
(59, 'Say-it Sandwich & Snack Bags- 60 Pk', 3, '133.00', 1),
(60, 'Hillshire Farm Deli Select Smoked Ham With Water Added Ultra Thin', 3, '469.00', 1),
(61, 'Nestle Coffee-mate Fat Free Hazelnut Flavor Coffee Creamer', 3, '945.00', 1),
(62, 'Care<NAME>', 3, '516.00', 1),
(63, '1-day Vaginal Antifungal Prefilled Applicator 1-dose Treatment', 3, '546.00', 1),
(64, 'Preparation H Hemorrhoidal Ointment', 3, '182.00', 1),
(65, 'Roth Kase Mini Cheeseboard Kit Havarti, Gruyere & Pepper Jack - 3 Ct', 3, '972.00', 1),
(66, 'Firm Grip Disposable Nitrile Gloves - 10 Gloves', 3, '614.00', 1),
(67, 'Downy Ultra Infusions Orchid Allure Fabric Softener - 48 Loads', 3, '952.00', 1),
(68, 'Hostess Mini Muffins Chocolate Chip - 20 Ct', 3, '116.00', 1),
(69, 'Gerber Graduates For Toddlers Lil'' Meals Pasta Shells & Cheese', 3, '325.00', 1),
(70, 'Powerbar Protein Plus High Protein Bar Vanilla Yogurt', 3, '274.00', 1),
(71, 'Every Man Jack Shave Cream', 3, '298.00', 1),
(72, 'Ahold Premium Paper Towels Giant Rolls - 8 Ct', 3, '566.00', 1);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`name` varchar(500) NOT NULL,
`type` enum('employee','affiliated','normal') NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '1',
`registration_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `type`, `is_active`, `registration_date`) VALUES
(1, 'Ankit', 'employee', 1, '2016-12-14 10:58:38'),
(2, 'Akhil', 'affiliated', 1, '2016-12-14 10:58:50'),
(3, 'loyal', 'normal', 1, '2016-12-14 10:59:03'),
(4, 'normal_customer', 'normal', 1, '2016-12-14 10:59:16');
-- --------------------------------------------------------
--
-- Table structure for table `user_orders`
--
CREATE TABLE `user_orders` (
`order_id` int(11) NOT NULL,
`cart_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`gross_amount` decimal(7,2) NOT NULL,
`percentage_discount` decimal(3,2) NOT NULL,
`fix_discount` int(5) NOT NULL,
`net_amount` decimal(7,2) NOT NULL,
`order_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_orders`
--
INSERT INTO `user_orders` (`order_id`, `cart_id`, `user_id`, `gross_amount`, `percentage_discount`, `fix_discount`, `net_amount`, `order_date`) VALUES
(1, 3, 3, '14845.86', '0.00', 740, '14105.86', '2013-12-14 16:14:55');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cart`
--
ALTER TABLE `cart`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`category_id`);
--
-- Indexes for table `product`
--
ALTER TABLE `product`
ADD PRIMARY KEY (`product_id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user_orders`
--
ALTER TABLE `user_orders`
ADD PRIMARY KEY (`order_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cart`
--
ALTER TABLE `cart`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `user_orders`
--
ALTER TABLE `user_orders`
MODIFY `order_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
/*!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 TABLE FUNDTRANSFER (
ID int NOT NULL,
bvn bigint,
accNo bigint,
accNoDestination bigint,
amount bigint,
DoC DATE,
Primary Key(ID)
);
INSERT INTO FUNDTRANSFER (ID) VALUES (1);
|
<filename>1.32.0/var/www/html/indicia/modules/indicia_setup/db/version_0_8_0/201202111710_person_attributes.sql
-- Table: person_attributes
-- DROP TABLE person_attributes;
CREATE TABLE person_attributes
(
id serial NOT NULL,
caption character varying(50), -- Display caption for the attribute.
data_type character(1), -- Data type for the attribute. Possible values are T (text), I (integer), F (float), D (date), V (vague date), L (item looked up from a termlist).
created_on timestamp without time zone NOT NULL, -- Date this record was created.
created_by_id integer NOT NULL, -- Foreign key to the users table (creator).
updated_on timestamp without time zone NOT NULL, -- Date this record was last updated.
updated_by_id integer NOT NULL, -- Foreign key to the users table (last updater).
validation_rules character varying, -- Validation rules defined for this attribute, for example: number, required,max[50].
termlist_id integer, -- For attributes which define a term from a termlist, provides the ID of the termlist the term can be selected from.
multi_value boolean DEFAULT false, -- Does this attribute allow multiple values? If set to true, then multiple values for this attribute can be stored against a single record.
public boolean DEFAULT false, -- Flag set to true if this attribute is available for all people on the warehouse or false if only available when the person is a user of a website linked to the attribute.
deleted boolean NOT NULL DEFAULT false, -- Has this record been deleted?
CONSTRAINT pk_person_attributes PRIMARY KEY (id),
CONSTRAINT fk_person_attribute_creator FOREIGN KEY (created_by_id)
REFERENCES users (id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION,
CONSTRAINT fk_person_attribute_updater FOREIGN KEY (updated_by_id)
REFERENCES users (id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION,
CONSTRAINT fk_person_attributes_termlists FOREIGN KEY (termlist_id)
REFERENCES termlists (id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION
)
WITH (
OIDS=FALSE
);
COMMENT ON TABLE person_attributes IS 'List of additional attributes that are defined for the people data.';
COMMENT ON COLUMN person_attributes.caption IS 'Display caption for the attribute.';
COMMENT ON COLUMN person_attributes.data_type IS 'Data type for the attribute. Possible values are T (text), I (integer), F (float), D (date), V (vague date), L (item looked up from a termlist).';
COMMENT ON COLUMN person_attributes.created_on IS 'Date this record was created.';
COMMENT ON COLUMN person_attributes.created_by_id IS 'Foreign key to the users table (creator).';
COMMENT ON COLUMN person_attributes.updated_on IS 'Date this record was last updated.';
COMMENT ON COLUMN person_attributes.updated_by_id IS 'Foreign key to the users table (last updater).';
COMMENT ON COLUMN person_attributes.validation_rules IS 'Validation rules defined for this attribute, for example: number, required,max[50].';
COMMENT ON COLUMN person_attributes.termlist_id IS 'For attributes which define a term from a termlist, provides the ID of the termlist the term can be selected from.';
COMMENT ON COLUMN person_attributes.multi_value IS 'Does this attribute allow multiple values? If set to true, then multiple values for this attribute can be stored against a single record.';
COMMENT ON COLUMN person_attributes.public IS 'Flag set to true if this attribute is available for all people on the warehouse or false if only available when the person is a user of a website linked to the attribute.';
COMMENT ON COLUMN person_attributes.deleted IS 'Has this record been deleted?';
|
<filename>ref/postgresql/f_schd_no.sql<gh_stars>0
CREATE OR REPLACE FUNCTION public.f_schd_no()
RETURNS character varying
LANGUAGE plpgsql
AS $function$
DECLARE
schd_no bigint;
next_val bigint;
BEGIN
SELECT
TO_CHAR(CURRENT_DATE, 'yyyymmdd')::bigint * '100000000'::bigint + 1
INTO
schd_no
;
next_val = NEXTVAL('s_schd_no');
IF next_val < schd_no THEN
EXECUTE 'ALTER SEQUENCE s_schd_no RESTART WITH '||schd_no::varchar;
schd_no = NEXTVAL('s_schd_no');
ELSE
schd_no = next_val;
END IF;
RETURN schd_no::varchar;
END;
$function$
;
|
DROP TABLE urls;
DROP TABLE hits;
CREATE TABLE urls
(
id INT AUTO_INCREMENT PRIMARY KEY,
url VARCHAR(1500) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);
CREATE TABLE hits
(
id INT AUTO_INCREMENT PRIMARY KEY,
url_id INT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
);
CREATE INDEX url_id_idx ON urls (id);
CREATE INDEX hashed_url_idx ON urls (url);
CREATE INDEX hit_url_id_idx ON hits (url_id);
ALTER TABLE hits ADD FOREIGN KEY (url_id) REFERENCES urls (id);
|
<reponame>jonathangreen/simplified-server-core
alter table externalintegrations add column name character varying;
create index "ix_externalintegrations_name" on externalintegrations (name);
alter table externalintegrations add column protocol varchar;
create index "ix_externalintegrations_protocol" on externalintegrations (protocol);
alter table externalintegrations add column goal varchar;
create index "ix_externalintegrations_goal" on externalintegrations (goal);
|
ALTER TABLE `{$NAMESPACE}_file`.`macro_transaction`
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
UPDATE `{$NAMESPACE}_file`.macro_transaction SET metadata = '{}'
WHERE metadata = '';
ALTER TABLE `{$NAMESPACE}_pholio`.`pholio_transaction`
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
UPDATE `{$NAMESPACE}_pholio`.pholio_transaction SET metadata = '{}'
WHERE metadata = '';
ALTER TABLE `{$NAMESPACE}_config`.`config_transaction`
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
UPDATE `{$NAMESPACE}_config`.config_transaction SET metadata = '{}'
WHERE metadata = '';
ALTER TABLE `{$NAMESPACE}_conpherence`.`conpherence_transaction`
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
UPDATE `{$NAMESPACE}_conpherence`.conpherence_transaction SET metadata = '{}'
WHERE metadata = '';
ALTER TABLE `{$NAMESPACE}_phlux`.`phlux_transaction`
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
UPDATE `{$NAMESPACE}_phlux`.phlux_transaction SET metadata = '{}'
WHERE metadata = '';
|
<reponame>vingkan/sql_tools
SELECT * FROM bonus WHERE NOT EXISTS
(
SELECT *
FROM emp
WHERE emp.emp_name = emp_name
AND bonus_amt > emp.salary)
AND
emp_name IN
(
SELECT emp_name
FROM emp
WHERE bonus_amt < emp.salary);
|
<reponame>rnd0101/urbanmediator<filename>urbanmediator/sql/013-patch.sql
ALTER TABLE locations ADD ranking INT DEFAULT 0;
ALTER TABLE notes ADD ranking INT DEFAULT 0;
|
--List the teachers who have NULL for their department.
SELECT name
FROM teacher
WHERE dept IS NULL
--Note the INNER JOIN misses the teachers with no department and the departments with no teacher.
SELECT teacher.name, dept.name
FROM teacher INNER JOIN dept
ON (teacher.dept=dept.id)
--Use a different JOIN so that all teachers are listed.
SELECT teacher.name, dept.name FROM teacher
LEFT JOIN dept on (teacher.dept = dept.i
--Use a different JOIN so that all departments are listed.
SELECT teacher.name, dept.name FROM teacher
RIGHT JOIN dept on (teacher.dept = dept.id)
--Use COALESCE to print the mobile number. Use the number '07986 444 2266' if there is no number given. Show teacher name and mobile number or '07986 444 2266'
SELECT name, COALESCE (mobile, '07986 444 2266') FROM teacher
--Use the COALESCE function and a LEFT JOIN to print the teacher name and department name. Use the string 'None' where there is no department.
SELECT teacher.name, COALESCE (dept.name, 'None') FROM teacher
LEFT JOIN dept ON (teacher.dept=dept.id)
--Use COUNT to show the number of teachers and the number of mobile phones.
SELECT COUNT (name), COUNT (mobile) FROM teacher
--Use COUNT and GROUP BY dept.name to show each department and the number of staff. Use a RIGHT JOIN to ensure that the Engineering department is listed.
SELECT dept.name, COUNT (teacher.name) FROM dept
LEFT JOIN teacher ON dept.id = teacher.dept
GROUP BY dept.name
--Use CASE to show the name of each teacher followed by 'Sci' if the teacher is in dept 1 or 2 and 'Art' otherwise.
SELECT teacher.name, CASE
WHEN (teacher.dept = 1 OR teacher.dept = 2) THEN 'Sci'
ELSE 'Art'
END
FROM teacher
--Use CASE to show the name of each teacher followed by 'Sci' if the teacher is in dept 1 or 2, show 'Art' if the teacher's dept is 3 and 'None' otherwise.
SELECT teacher.name, CASE
WHEN (teacher.dept = 1 OR teacher.dept = 2) THEN 'Sci'
WHEN (teacher.dept = 3) THEN 'Sci'
ELSE 'None'
END
FROM teacher
|
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
----- vwBuild_CustModelLocation View Creation Script ------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
----- created by: TORBEA ------------------------------------------------------------
----- creation on: 11/10/16 ------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
DECLARE @existTest NVARCHAR(MAX)
DECLARE @sqlScript NVARCHAR(MAX)
DECLARE @schema NVARCHAR(25)
SET @schema = 'dbo'
SET @existTest =
'IF EXISTS(SELECT * FROM Information_schema.tables WHERE Table_Name = ''vwBuild_CustModelLocation'' AND TABLE_SCHEMA = ''' + @schema + ''' AND TABLE_TYPE LIKE ''%VIEW%'')
DROP VIEW [' + @schema + '].[vwBuild_CustModelLocation]'
SET @sqlScript =
'CREATE VIEW [' + @schema + '].[vwBuild_CustModelLocation] AS SELECT
[cm].[Customer]
,[Latitude]
,[Longitude]
,[ZipCode]
,[cm].[ModelID]
,[Variable2]
,[Variable1]
,[Variable3]
,COUNT(DISTINCT [SKU]) AS [Unique SKUs]
,SUM([Volume]) AS [Total Sales Volume]
,SUM(DISTINCT [Revenue]) AS [Total Sales Revenue]
,AVG(DISTINCT [Revenue]) AS [Avg Sales Revenue]
,COUNT(DISTINCT [week]) AS [Number of Sales Periods]
FROM [' + @schema + '].[dimCustomer] AS [cust]
INNER JOIN [' + @schema + '].[vwUniqCustomerModels] AS [cm]
ON [cust].[Customer] = [cm].[Customer]
INNER JOIN [' + @schema + '].[salesData] AS [csd]
ON [cm].[Customer] = [csd].[Customer]
GROUP BY [cm].[Customer]
,[Latitude]
,[Longitude]
,[ZipCode]
,[cm].[ModelID]
,[Variable2]
,[Variable1]
,[Variable3]'
EXECUTE sp_executesql @existTest
EXECUTE sp_executesql @sqlScript
|
<reponame>mil0sh/nextjs-hasura-boilerplate
CREATE FUNCTION public.set_current_timestamp_updated_at() RETURNS trigger
LANGUAGE plpgsql
AS $$
DECLARE
_new record;
BEGIN
_new := NEW;
_new."updated_at" = NOW();
RETURN _new;
END;
$$;
CREATE TABLE public.accounts (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
compound_id character varying NOT NULL,
user_id uuid NOT NULL,
provider_type character varying NOT NULL,
provider_id character varying NOT NULL,
provider_account_id character varying NOT NULL,
refresh_token text,
access_token text,
access_token_expires timestamp with time zone,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL
);
CREATE TABLE public.animal_types (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name text NOT NULL
);
CREATE TABLE public.breeds (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
animal_type uuid NOT NULL,
name text NOT NULL,
original_name text,
category text,
official_id text
);
CREATE TABLE public.feeds (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
author_id uuid NOT NULL,
body text NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL
);
CREATE TABLE public.sessions (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
user_id integer NOT NULL,
expires timestamp with time zone NOT NULL,
session_token character varying NOT NULL,
access_token character varying NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL
);
CREATE TABLE public.users (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
name character varying,
email character varying NOT NULL,
email_verified timestamp with time zone,
image character varying,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
role text DEFAULT 'user'::text,
title text DEFAULT 'Dr Vet.Med.'::text,
password text DEFAULT '<PASSWORD>'::text NOT NULL
);
CREATE TABLE public.verification_requests (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
identifier character varying NOT NULL,
token character varying NOT NULL,
expires timestamp with time zone NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL
);
ALTER TABLE ONLY public.accounts
ADD CONSTRAINT accounts_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.animal_types
ADD CONSTRAINT animal_types_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.breeds
ADD CONSTRAINT breeds_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.feeds
ADD CONSTRAINT feeds_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.sessions
ADD CONSTRAINT sessions_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.verification_requests
ADD CONSTRAINT verification_requests_pkey PRIMARY KEY (id);
CREATE TRIGGER set_public_accounts_updated_at BEFORE UPDATE ON public.accounts FOR EACH ROW EXECUTE PROCEDURE public.set_current_timestamp_updated_at();
COMMENT ON TRIGGER set_public_accounts_updated_at ON public.accounts IS 'trigger to set value of column "updated_at" to current timestamp on row update';
CREATE TRIGGER set_public_feeds_updated_at BEFORE UPDATE ON public.feeds FOR EACH ROW EXECUTE PROCEDURE public.set_current_timestamp_updated_at();
COMMENT ON TRIGGER set_public_feeds_updated_at ON public.feeds IS 'trigger to set value of column "updated_at" to current timestamp on row update';
CREATE TRIGGER set_public_sessions_updated_at BEFORE UPDATE ON public.sessions FOR EACH ROW EXECUTE PROCEDURE public.set_current_timestamp_updated_at();
COMMENT ON TRIGGER set_public_sessions_updated_at ON public.sessions IS 'trigger to set value of column "updated_at" to current timestamp on row update';
CREATE TRIGGER set_public_users_updated_at BEFORE UPDATE ON public.users FOR EACH ROW EXECUTE PROCEDURE public.set_current_timestamp_updated_at();
COMMENT ON TRIGGER set_public_users_updated_at ON public.users IS 'trigger to set value of column "updated_at" to current timestamp on row update';
CREATE TRIGGER set_public_verification_requests_updated_at BEFORE UPDATE ON public.verification_requests FOR EACH ROW EXECUTE PROCEDURE public.set_current_timestamp_updated_at();
COMMENT ON TRIGGER set_public_verification_requests_updated_at ON public.verification_requests IS 'trigger to set value of column "updated_at" to current timestamp on row update';
ALTER TABLE ONLY public.breeds
ADD CONSTRAINT breeds_animal_type_fkey FOREIGN KEY (animal_type) REFERENCES public.animal_types(id) ON UPDATE RESTRICT ON DELETE RESTRICT;
|
# 197. Rising Temperature
# https://leetcode.com/problems/rising-temperature/
select a.Id
from Weather a join Weather b
where datediff(a.Date, b.Date) = 1 and a.Temperature > b.Temperature |
<gh_stars>1-10
CREATE TABLE `#__regoffices_countries` (
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`iso` CHAR(2) NULL DEFAULT NULL,
`status` ENUM('P','N','D') NOT NULL DEFAULT 'P',
`regions` INT(11) NOT NULL DEFAULT '0',
`cities` INT(11) NOT NULL DEFAULT '0',
`offices` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE INDEX `iso` (`iso`)
)COMMENT='Таблица с городами'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_countries_lang` (
`country` INT(11) UNSIGNED NOT NULL,
`language` CHAR(5) NOT NULL,
`name` VARCHAR(100) NOT NULL,
`alias` VARCHAR(100) NOT NULL,
`description` MEDIUMTEXT NOT NULL,
`h1` TEXT NOT NULL,
`title` TEXT NOT NULL,
`metadesc` TEXT NOT NULL,
`metakeyw` TEXT NOT NULL,
`metarobots` TINYINT(1) NOT NULL DEFAULT '0',
`created` DATETIME NOT NULL,
`modified` DATETIME NOT NULL,
PRIMARY KEY (`country`, `language`),
UNIQUE INDEX `language_alias` (`language`, `alias`),
CONSTRAINT `FK_regoffices_countries` FOREIGN KEY (`country`) REFERENCES `#__regoffices_countries` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COMMENT='Переводы стран и.'
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_regions` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`admin1code` CHAR(20) NULL DEFAULT NULL,
`status` ENUM('P','N','D') NOT NULL DEFAULT 'P',
`country` INT(10) UNSIGNED NOT NULL,
`citiescount` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE INDEX `admin1code` (`admin1code`),
INDEX `FK_regoffices_regions_regoffices_countries` (`country`),
CONSTRAINT `FK_regoffices_regions_regoffices_countries` FOREIGN KEY (`country`) REFERENCES `#__regoffices_countries` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COMMENT='Регионы стран'
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_regions_lang` (
`region` INT(10) UNSIGNED NOT NULL,
`language` CHAR(5) NOT NULL,
`name` TEXT NOT NULL,
`alias` TEXT NOT NULL,
`description` TEXT NOT NULL,
`h1` TEXT NOT NULL,
`title` TEXT NOT NULL,
`metadesc` TEXT NOT NULL,
`metakeyw` TEXT NOT NULL,
`metarobots` TINYINT(1) NOT NULL DEFAULT '0',
`created` DATETIME NOT NULL,
`modified` DATETIME NOT NULL,
PRIMARY KEY (`region`, `language`),
CONSTRAINT `FK_regoffices_regions_lang_regoffices_regions` FOREIGN KEY (`region`) REFERENCES `#__regoffices_regions` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COMMENT='Названия регионов стран'
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_cities` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`status` ENUM('P','N','D') NOT NULL DEFAULT 'P',
`country` INT(10) UNSIGNED NOT NULL,
`region` INT(10) UNSIGNED NOT NULL,
PRIMARY KEY (`id`),
INDEX `FK_regoffices_cities_regoffices_countries` (`country`),
INDEX `FK_regoffices_cities_regoffices_regions` (`region`),
CONSTRAINT `FK_regoffices_cities_regoffices_regions` FOREIGN KEY (`region`) REFERENCES `#__regoffices_regions` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `FK_regoffices_cities_regoffices_countries` FOREIGN KEY (`country`) REFERENCES `#__regoffices_countries` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COMMENT='Города'
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_cities_lang` (
`city` INT(10) UNSIGNED NOT NULL,
`language` CHAR(5) NOT NULL,
`name` TEXT NOT NULL,
`alias` TEXT NOT NULL,
`description` TEXT NOT NULL,
`h1` TEXT NOT NULL,
`title` TEXT NOT NULL,
`metadesc` TEXT NOT NULL,
`metakeyw` TEXT NOT NULL,
`metarobots` TINYINT(1) NOT NULL DEFAULT '0',
`created` DATETIME NOT NULL,
`modified` DATETIME NOT NULL,
PRIMARY KEY (`city`, `language`),
CONSTRAINT `FK_regoffices_cities_lang_regoffices_cities` FOREIGN KEY (`city`) REFERENCES `#__regoffices_cities` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_offices` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`status` ENUM('P','N','D') NOT NULL DEFAULT 'P',
`country` INT(10) UNSIGNED NOT NULL,
`region` INT(10) UNSIGNED NOT NULL,
`city` INT(10) UNSIGNED NOT NULL,
`lat` DOUBLE NULL DEFAULT NULL,
`lng` DOUBLE NULL DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX `FK_regoffices_offices_regoffices_countries` (`country`),
INDEX `FK_regoffices_offices_regoffices_regions` (`region`),
INDEX `FK_regoffices_offices_regoffices_cities` (`city`),
CONSTRAINT `FK_regoffices_offices_regoffices_countries` FOREIGN KEY (`country`) REFERENCES `#__regoffices_countries` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `FK_regoffices_offices_regoffices_regions` FOREIGN KEY (`region`) REFERENCES `#__regoffices_regions` (`id`) ON UPDATE CASCADE ON DELETE CASCADE,
CONSTRAINT `FK_regoffices_offices_regoffices_cities` FOREIGN KEY (`city`) REFERENCES `#__regoffices_cities` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COMMENT='Офисы'
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
CREATE TABLE `#__regoffices_offices_lang` (
`office` INT(10) UNSIGNED NOT NULL,
`language` CHAR(5) NOT NULL,
`name` TEXT NOT NULL,
`address` TEXT NOT NULL,
`phone` TEXT NOT NULL,
`site` TEXT NOT NULL,
`created` DATETIME NOT NULL,
`modified` DATETIME NOT NULL,
PRIMARY KEY (`office`, `language`),
CONSTRAINT `FK_regoffices_offices_lang_regoffices_offices` FOREIGN KEY (`office`) REFERENCES `#__regoffices_offices` (`id`) ON UPDATE CASCADE ON DELETE CASCADE
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
|
CREATE TABLE IF NOT EXISTS historical_data_daily (
daily_id SERIAL,
ticker TEXT,
date TIMESTAMP,
open REAL,
close REAL,
high REAL,
low REAL,
adjusted_close REAL,
volume INTEGER,
dividend_amount REAL,
split_coefficient REAL
);
|
<reponame>takintsft/fusioninvoice
ALTER TABLE `fi_invoice_items` DROP `item_invoice_taxable`; |
/* alter table [File] add [Description] VARCHAR (MAX) NULL
update [file] set description = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec turpis urna, posuere vel augue a, sollicitudin sagittis nulla. Curabitur tellus nulla, feugiat nec nisl sed, condimentum feugiat enim. Nullam iaculis'
select * from [file]
select * from [user]
alter table [User] add [Job_Tile] VARCHAR (MAX) NULL
update [User] set Job_Tile = 'Editor' where ID = 103
SELECT * FROM [User]
alter table [File] add [Notified] INT
update [file] set notified= 0
update [file] set notified= 1 where id =119;*/
select * from [file]
|
<reponame>xyla-io/almacen
--
-- view
--
create or replace view {SCHEMA}cube_tiktok_ad as
with date_range as (
select decode(start_date_fixed, null, decode(start_date_offset, null, null, dateadd(day, start_date_offset, current_date)), start_date_fixed) as start_date,
decode(end_date_fixed, null, decode(end_date_offset, null, null, dateadd(day, end_date_offset, current_date)), end_date_fixed) as end_date
from {SCHEMA}view_windows
where views = 'cube'
)
select coalesce(product_name, '') as product_name
, ad_campaign_id as campaign_id
, ad_adgroup_id as adset_id
, ad_ad_id as ad_id
, coalesce(product_os, '') as platform
, ad_stat_datetime as effective_date
, sum(ad_stat_cost) as spend
, sum(ad_show_cnt) as impressions
, sum(ad_click_cnt) as clicks
, max(ad_campaign_name) as campaign_name
, max(ad_adgroup_name) as adset_name
, max(ad_ad_name) as ad_name
, max(ad_opt_status) as ad_status
, max(ad_image_mode) as ad_type
, min(crystallized::int)::bool as crystallized
from {SCHEMA}fetch_tiktok_ads
where ad_stat_datetime >= (select start_date from date_range)
and ad_stat_datetime <= (select end_date from date_range)
group by coalesce(product_name, ''), ad_campaign_id, ad_adgroup_id, ad_ad_id, coalesce(product_os, ''), ad_stat_datetime |
<reponame>DaGreat1/platform-samples<gh_stars>1-10
/*
* This pulls a list of all email addresses and the user account it is tied to
* that don't match the list of domains in the WHERE clause. Add however many
* "%domain.com" needed to cover your company's approved domains.
*
* This query should be deprecated by this issue:
* https://github.com/github/roadmap/issues/204
*
* If you want a list of all emails, remove the WHERE clause.
*/
SELECT
u.login,
e.email,
u.suspended_at
FROM
github_enterprise.users u
JOIN github_enterprise.user_emails e ON
e.user_id = u.id
WHERE
u.gravatar_email != e.email
AND e.email not like "%company.com"
AND e.email not like "%.tld"; |
INSERT INTO `opac_news` (`title`, `content`, `lang`, `timestamp`, `expirationdate`, `number`) VALUES ('Bienvenue dans Koha !','Bienvenue dans Koha 3, la toute nouvelle version du système intégré de gestion de bibliothèque (SIGB) open source de référence. Développé initialement en Nouvelle Zélande et déployé pour la première fois en janvier 2000, Koha est un projet international soutenu par des sociétés de services en logiciels libres et par des bibliothécaires du monde entier.','koha','2008-01-14 03:25:58','2099-01-10',1),('Et maintenant ?','Félicitations ! vous avez désormais une version opérationnelle de Koha. Et maintenant, que faire ?\r\n<ul>\r\n<li><a href=\"http://koha-community.org/documentation/\">lisez la documentation de Koha ;</a></li>\r\n<li><a href=\"http://wiki.koha-community.org\">lisez et participez au Wiki de Koha ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">abonnez-vous aux listes de discussion ;</a></li>\r\n<li><a href=\"http://bugs.koha-community.org\">signalez des bugs ;</a></li>\r\n<li><a href=\"http://wiki.koha-community.org/doku.php?id=en:development:git_usage\">proposez des correctifs et des améliorations ;</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">discutez avec les utilisateurs et les développeurs de Koha.</a></li>\r\n</ul>\r\n','koha','2008-01-14 03:34:45','2099-01-10',2);
|
-- Revert lists
BEGIN;
DROP TABLE lists;
COMMIT;
|
CREATE TABLE author(
id BIGSERIAL PRIMARY KEY,
name TEXT UNIQUE NOT NULL,
note TEXT NOT NULL
);
CREATE TABLE quote(
id BIGSERIAL PRIMARY KEY,
author_id BIGINT REFERENCES author (id) NOT NULL,
text TEXT NOT NULL,
note TEXT NOT NULL,
retrieved BOOLEAN NOT NULL
);
|
\c deepface_v5;
update func_role set func_auth_flag = '{"home":"rw","monitor":"rw","search-image":"rw","search-cap":"rw","search-repo":"rw","search-illegalsearch":"rw","search-eventsearch":"rw","face-compare":"rw","face-repocollision":"rw","face-trajectory":"rw","dossier":"rw","stat":"rw","rule":"rw","repo":"rw","event":"rw","whiteevent":"rw","task":"rw","sensor":"rw","sensorgeo":"rw","org":"rw","role":"rw","user":"rw","system-setting":"rw","record":"rw","system-operation":"rw","frequencyanalyze":"rw"}' where func_role_type = 3;
create or replace FUNCTION update_func_role_by_org() RETURNS TRIGGER AS $update_func_role_by_org$
BEGIN
IF (TG_OP = 'INSERT') THEN
INSERT INTO func_role(ts, func_role_id, func_role_name, org_id, func_role_type, func_auth_flag, comment) VALUES(New.ts, uuid_generate_v4(), NEW.org_name || '默认操作员', NEW.org_id, 1, '{"home":"rw","monitor":"rw","search-image":"rw","search-cap":"rw","search-repo":"rw","face-compare":"rw","face-repocollision":"rw","personfile":"rw","stat":"rw"}', '');
INSERT INTO func_role(ts, func_role_id, func_role_name, org_id, func_role_type, func_auth_flag, comment) VALUES(New.ts, uuid_generate_v4(), NEW.org_name || '默认管理员', NEW.org_id, 3, '{"home":"rw","monitor":"rw","search-image":"rw","search-cap":"rw","search-repo":"rw","search-illegalsearch":"rw","search-eventsearch":"rw","face-compare":"rw","face-repocollision":"rw","face-trajectory":"rw","dossier":"rw","stat":"rw","rule":"rw","repo":"rw","event":"rw","whiteevent":"rw","task":"rw","sensor":"rw","sensorgeo":"rw","org":"rw","role":"rw","user":"rw","system-setting":"rw","record":"rw","system-operation":"rw","frequencyanalyze":"rw"}', '');
ELSEIF (TG_OP = 'UPDATE') THEN
UPDATE func_role SET func_role_name = NEW.org_name || '默认操作员' WHERE org_id = NEW.org_id AND func_role.func_role_type = 1;
UPDATE func_role SET func_role_name = NEW.org_name || '默认管理员' WHERE org_id = NEW.org_id AND func_role.func_role_type = 3;
RETURN NEW;
END IF;
RETURN NULL;
END;
$update_func_role_by_org$ LANGUAGE 'plpgsql';
drop trigger update_func_role_by_org ON org_structure;
create TRIGGER update_func_role_by_org AFTER insert OR update OR delete ON org_structure
FOR EACH ROW EXECUTE PROCEDURE update_func_role_by_org();
alter table pedestrian_capture add column has_face boolean not null default false;
alter table nonmotor_capture add column has_face boolean not null default false;
alter table vehicle_capture add column has_face boolean not null default false;
alter table vehicle_capture_index add column has_face boolean not null default false;
alter table vehicle_capture add column symbols_desc varchar (1024) not null default '';
alter table vehicle_capture_index add column symbols_desc varchar (1024) not null default '';
alter table vehicle_capture_index add column symbols json not null default '{}';
--给tasks表添加占用路数字段
alter table tasks add column channel integer not null default 0;
-- 国标平台同步
drop TABLE
IF
EXISTS "platform_sync_gb";
create table "platform_sync_gb" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"device_id" varchar ( 1024 ) primary key not null,
"sensor_id" varchar ( 1024 ) not null,
"online" smallint not null default 0,
"parent_id" varchar ( 1024 ) not null default '',
"name" varchar ( 1024 ) not null,
"longitude" double precision default '-200',
"latitude" double precision default '-200',
"manufacturer" varchar ( 1024 ) not null default '',
"model" varchar ( 1024 ) not null default '',
"owner" varchar ( 1024 ) not null default '',
"civil_code" varchar ( 1024 ) not null default '',
"address" varchar ( 1024 ) not null default '',
"ip_address" varchar ( 1024 ) not null default '',
"port" int not null default 0,
"parental" int not null default 0,
"secrecy" int not null default 0,
--1:未分配,2:已分配
"is_distribute" int not null default 1
);
create TRIGGER update_platform_sync_gb_changetimestamp BEFORE update
ON platform_sync_gb FOR EACH ROW EXECUTE PROCEDURE
update_changetimestamp_column();
-- 设备表添加外部平台状态
alter TABLE sensors ADD COLUMN outer_platform_status INTEGER NOT NULL DEFAULT 0;
--车辆表添加reid索引
create index vehicle_capture_vehicle_reid_ts_idx on vehicle_capture(vehicle_reid,ts desc);
-- Athena任务表
drop TABLE
IF
EXISTS "athena_task";
create table "athena_task" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) primary key not null,
"name" varchar ( 1024 ) not null default '',
"user_id" varchar ( 1024 ) not null,
"org_id" varchar ( 1024 ) not null,
"type" smallint not null default 0,
"inner_type" smallint not null default 0,
"start_ts" bigint not null default 0, -- 起始时间
"end_ts" bigint not null default 0 -- 结束时间
);
create TRIGGER update_athena_task_changetimestamp BEFORE update
ON athena_task FOR EACH ROW EXECUTE PROCEDURE
update_changetimestamp_column();
create index athena_task_user_id_idx on athena_task(user_id);
create index athena_task_org_id_idx on athena_task(org_id);
create index athena_task_type_idx on athena_task(type);
create index athena_task_inner_type_idx on athena_task(inner_type);
-- 车辆频次分析任务表
drop TABLE
IF
EXISTS "vehicle_frequency_task";
create table "vehicle_frequency_task" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) primary key not null default '',
"sensor_ids" text not null default '', -- 很多设备按","拼接, 最多 500 个, 可能会很长
"times_threshold" bigint not null default 0, -- 频次阈值
"plate" varchar ( 1024 ) not null default '' -- 车牌号
);
create TRIGGER update_vehicle_frequency_task_changetimestamp BEFORE update
ON vehicle_frequency_task FOR EACH ROW EXECUTE PROCEDURE
update_changetimestamp_column();
-- Athena写 loki读 车辆频次分析-设备的频次结果 概述表
drop table
IF
EXISTS "vehicle_frequency_summary";
create table "vehicle_frequency_summary" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) not null,
"sensor_id" varchar ( 1024 ) not null,
"sensor_name" varchar ( 1024 ) not null default '',
"count" bigint not null default 0 -- 某 task 下, 某 sensor 分析出了 count 个结果(每个结果是一个 vid)
);
create unique index vehicle_frequency_summary_task_sensor_idx on vehicle_frequency_summary (task_id, sensor_id);
create trigger update_vehicle_frequency_summary_changetimestamp before update
on vehicle_frequency_summary for each row EXECUTE procedure
update_changetimestamp_column();
-- Athena写 loki读 车辆频次分析-设备的频次结果 详情表
-- 由 task_id, sensor_id, sensor_name + vehicle_index表的全部字段组成
drop TABLE
IF
EXISTS "vehicle_frequency_detail";
create table "vehicle_frequency_detail" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) not null,
"sensor_name" varchar ( 1024 ) not null default '',
"max_ts_tag" int2 not null default 0, -- tag标记: 该 reid 是否为同一 vid 下最大的 ts, 默认为 0, 置位 1 时生效
"reid_count" bigint not null default 0, -- 聚合count: 同一 vid 下, reid 的数量, 在max_ts_tag==1 时才会有值
--from vehicle_capture_index
"vehicle_id" varchar ( 36 ) not null default '',
"vehicle_reid" varchar ( 36 ) not null default '',
"vehicle_vid" varchar ( 36 ) not null default '',
"repo_id" varchar ( 36 ) not null default '',
"sensor_id" varchar ( 36 ) not null default '',
"enter_time_millisecond" int8 not null default 0,
"leave_time_millisecond" int8 not null default 0,
--base
"confidence" float4 not null default 0,
"speed" int2 not null default 0,
"direction" int2 not null default 0,
"face_id" varchar ( 256 ) not null default '',
"image_id" varchar ( 36 ) not null default '',
"image_uri" text not null default '',
"cutboard_image_uri" text not null default '',
"cutboard_x" int4 not null default 0,
"cutboard_y" int4 not null default 0,
"cutboard_width" int4 not null default 0,
"cutboard_height" int4 not null default 0,
"cutboard_res_width" int4 not null default 0,
"cutboard_res_height" int4 not null default 0,
--advance
"brand_id" int2 not null default 0,
"sub_brand_id" int2 not null default 0,
"model_year_id" int2 not null default 0,
"type_id" int2 not null default 0,
"side" int2 not null default 0,
"color_id" int2 not null default 0,
"plate_text" varchar ( 32 ) not null default '',
"plate_type_id" int2 not null default 0,
"plate_color_id" int2 not null default 0,
"symbol_int" int8 not null default 0,
"symbol_str" varchar ( 15 ) not null default '',
"illegal_int" int8 not null default 0,
"illegal_str" varchar ( 15 ) not null default '',
"coillegal_int" int8 not null default 0,
"coillegal_str" varchar ( 15 ) not null default '',
"special_int" int8 not null default 0,
"special_str" varchar ( 15 ) not null default '',
"driver_on_the_phone" bool not null default false,
"driver_without_belt" bool not null default false,
"codriver_without_belt" bool not null default false,
"content" text not null default '',
"lane" varchar ( 255 ) not null default '',
"has_face" boolean not null default false
);
create index vehicle_frequency_detail_task_idx on vehicle_frequency_detail (task_id); -- 用于 delete task
create index vehicle_frequency_detail_tag_sensor_task_ts_idx on vehicle_frequency_detail (max_ts_tag, sensor_id, task_id, ts desc); -- 用于 vid list
create index vehicle_frequency_detail_vid_sensor_task_ts_idx on vehicle_frequency_detail (vehicle_vid, sensor_id, task_id, ts desc); -- 用于 reid list
create trigger update_vehicle_frequency_detail_changetimestamp before update
on vehicle_frequency_detail for each row EXECUTE procedure
update_changetimestamp_column();
-- 人员频次分析任务表
drop TABLE
IF
EXISTS "person_frequency_task";
create table "person_frequency_task" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) primary key not null default '',
"sensor_ids" text not null default '', -- 很多设备按","拼接, 最多 500 个, 可能会很长
"times_threshold" bigint not null default 0, -- 频次阈值
"id_no" varchar ( 1024 ) not null default '' -- 身份证号
);
create TRIGGER update_person_frequency_task_changetimestamp BEFORE update
ON person_frequency_task FOR EACH ROW EXECUTE PROCEDURE
update_changetimestamp_column();
-- Athena写 loki读 人员频次分析-设备的频次结果 概述表
drop table
IF
EXISTS "person_frequency_summary";
create table "person_frequency_summary" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) not null,
"sensor_id" varchar ( 1024 ) not null,
"sensor_name" varchar ( 1024 ) not null default '',
"count" bigint not null default 0 -- 某 task 下, 某 sensor 分析出了 count 个结果(每个结果是一个 vid)
);
create unique index person_frequency_summary_task_sensor_idx on person_frequency_summary (task_id, sensor_id);
create trigger update_person_frequency_summary_changetimestamp before update
on person_frequency_summary for each row EXECUTE procedure
update_changetimestamp_column();
-- Athena写 loki读 人员频次分析-设备的频次结果 详情表
-- 由 task_id, sensor_id, sensor_name + faces_index表的全部字段组成
drop TABLE
IF
EXISTS "person_frequency_detail";
create table "person_frequency_detail" (
"uts" timestamp default now() not null,
"ts" bigint not null default 0,
"task_id" varchar ( 1024 ) not null,
"sensor_id" varchar(1024) not null,
"sensor_name" varchar ( 1024 ) not null default '',
"max_ts_tag" int2 not null default 0, -- tag标记: 该 reid 是否为同一 vid 下最大的 ts, 默认为 0, 置位 1 时生效
"reid_count" bigint not null default 0, -- 聚合count: 同一 vid 下, reid 的数量, 在max_ts_tag==1 时才会有值
--from faces_index
face_id varchar(1024) not null default '',
face_reid varchar(1024) not null default '',
face_vid varchar(1024) not null default '',
feature text default '',
confidence real not null default 0,
gender_id smallint not null default 0,
gender_confidence real not null default 0,
age_id smallint not null default 0,
age_confidence real not null default 0,
nation_id smallint not null default 0,
nation_confidence real not null default 0,
glass_id smallint default 0,
glass_confidence real not null default 0,
mask_id smallint not null default 0,
mask_confidence real not null default 0,
hat_id smallint not null default 0,
hat_confidence real not null default 0,
halmet_id smallint not null default 0,
halmet_confidence real not null default 0,
image_type smallint not null default 0,
image_uri varchar(256) default '' ,
thumbnail_image_uri varchar(256) default '',
cutboard_image_uri varchar(256) default '',
cutboard_x int default 0,
cutboard_y int default 0,
cutboard_width int default 0,
cutboard_height int default 0,
cutboard_res_width int default 0,
cutboard_res_height int default 0,
is_warned smallint default 0,
status smallint not null default 1
);
create index person_frequency_detail_task_idx on person_frequency_detail (task_id); -- 用于 delete task
create index person_frequency_detail_tag_sensor_task_ts_idx on person_frequency_detail (max_ts_tag, sensor_id, task_id, ts desc); -- 用于 vid list
create index person_frequency_detail_vid_sensor_task_ts_idx on person_frequency_detail (face_vid, sensor_id, task_id, ts desc); -- 用于 reid list
create trigger update_person_frequency_detail_changetimestamp before update
on person_frequency_detail for each row EXECUTE procedure
update_changetimestamp_column();
--车辆档案表
create table vehicle_file (
vid varchar(1024) primary key not null,
ts bigint not null default 0,
uts timestamp default now() not null,
comment text default '',
image_url text not null default '',
plate_text varchar ( 10 ) not null default '',
plate_color_id int2 not null default 0,
color_id int2 not null default 0,
brand_id int2 not null default 0,
sub_brand_id int2 not null default 0,
model_year_id int2 not null default 0,
type_id int2 not null default 0,
status smallint not null default 1,
tag smallint not null default 0
);
create trigger update_vehicle_file_changetimestamp before update on
vehicle_file for each row execute procedure update_changetimestamp_column();
create index vehicle_vid_ts on vehicle_capture_index (vehicle_vid, ts);
-- 行人、车辆表has_face索引
create index vehicle_has_face_idx on vehicle_capture (has_face);
create index vehicle_index_has_face_idx on vehicle_capture_index (has_face);
create index pedestrian_has_face_idx on pedestrian_capture (has_face);
create index nonmotor_has_face_idx on nonmotor_capture (has_face);
DROP TABLE
IF
EXISTS "vehicle_brand_dict";
CREATE TABLE "vehicle_brand_dict" (
"brand_id" SMALLINT NOT NULL,
"sub_brand_id" SMALLINT NOT NULL,
"year_id" SMALLINT NOT NULL,
"desc" VARCHAR ( 1024 ) NOT NULL
);
|
update clients set EnableLocalLogin = 1 where description = N'Mvc application'
GO
delete from ClientIdPRestrictions
GO
-- insert into ClientIdPRestrictions( ClientId, Provider)
-- select id, 'aad' from clients where Description = N'Mvc application'
-- GO
-- insert into ClientIdPRestrictions( ClientId, Provider)
-- select id, 'Google' from clients where Description = N'Mvc application'
-- GO
-- insert into ClientIdPRestrictions( ClientId, Provider)
-- select id, 'Facebook' from clients where Description = N'Mvc application'
-- GO |
DROP TABLE IF EXISTS HELPDESK_LOCATIONS;
CREATE TABLE HELPDESK_LOCATIONS (LOCATION_ID INTEGER PRIMARY KEY AUTOINCREMENT,
LOCATION VARCHAR(75) NOT NULL);
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('000 - Room 00');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('001 - Room 01');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('001 - Room 02');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('001 - Room 03');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('001 - Room 04');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('002 - Room 01');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('002 - Room 02');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('002 - Room 03');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('002 - Room 04');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('003 - Room 01');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('003 - Room 02');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('003 - Room 03');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('003 - Room 04');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('098 - Room 09');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('123 - Room 12');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('321 - Room 32');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('456 - Room 45');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('654 - Room 65');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('789 - Room 78');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('890 - Room 89');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('987 - Room 98');
INSERT INTO HELPDESK_LOCATIONS (LOCATION)
VALUES ('999 - Room 99'); |
--! Previous: sha1:1e03200a7cd1c8e5db9df39ffa074e95c18a189c
--! Hash: sha1:671fde8515abe65bb5c05302c3e71a6982bfef9d
-- Enter migration here
alter table if exists form_fields rename to form_elements;
DROP FUNCTION IF EXISTS set_form_field_order;
DROP FUNCTION IF EXISTS set_form_element_order;
CREATE FUNCTION public.set_form_element_order("elementIds" integer[]) RETURNS SETOF public.form_elements
LANGUAGE plpgsql SECURITY DEFINER
AS $$
declare
project_id int;
sketch_class_id int;
survey_id int;
formid int;
pos int;
field record;
begin
select
form_elements.form_id
into
formid
from
form_elements
where
id = any("elementIds")
limit 1;
-- raise exception if session is not an admin
select
forms.sketch_class_id
, forms.survey_id
into
sketch_class_id
, survey_id
from
forms
where
forms.id = formid;
if sketch_class_id is not null then
select
sketch_classes.project_id
into
project_id
from
sketch_classes
where
id = sketch_class_id;
end if;
if survey_id is not null then
select
surveys.project_id
into
project_id
from
surveys
where
id = survey_id;
end if;
if session_is_admin(project_id) = false then
raise exception 'Must be project admin';
end if;
pos = 1;
-- select fields in order of fieldIDs
-- loop through each, setting a position
for field in select * from form_elements where form_id = formid order by array_position("elementIds", id) loop
update form_elements set position = pos where id = field.id;
pos = pos + 1;
end loop;
-- return all the fields in this form
return query select * from form_elements where form_elements.form_id = form_id order by position asc;
end
$$;
grant execute on function set_form_element_order to seasketch_user;
comment on function set_form_element_order is '
Sets the positions of all elements in a form at once. Any missing element ids from
the input will be positioned at the end of the form.
Use this instead of trying to manage the position of form elements individually.
';
CREATE OR REPLACE FUNCTION public.create_form_template_from_sketch_class("sketchClassId" integer, "templateName" text, template_type public.form_template_type) RETURNS public.forms
LANGUAGE plpgsql SECURITY DEFINER
AS $$
declare
form forms;
original_id int;
begin
select id into original_id from forms where sketch_class_id = "sketchClassId";
insert into forms (sketch_class_id, is_template, template_name, template_type) values (null, true, "templateName", template_type) returning * into form;
insert into
form_elements (
form_id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
)
select
form.id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
from
form_elements
where
form_id = original_id;
return form;
end
$$;
CREATE OR REPLACE FUNCTION public.create_form_template_from_survey("surveyId" integer, "templateName" text, template_type public.form_template_type) RETURNS public.forms
LANGUAGE plpgsql SECURITY DEFINER
AS $$
declare
form forms;
original_id int;
begin
select id into original_id from forms where survey_id = "surveyId";
insert into forms (survey_id, is_template, template_name, template_type) values (null, true, "templateName", template_type) returning * into form;
insert into
form_elements (
form_id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
)
select
form.id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
from
form_elements
where
form_id = original_id;
return form;
end
$$;
CREATE OR REPLACE FUNCTION public.initialize_sketch_class_form_from_template(sketch_class_id integer, template_id integer) RETURNS public.forms
LANGUAGE plpgsql SECURITY DEFINER
AS $$
declare
form forms;
begin
if session_is_admin((select project_id from sketch_classes where id = sketch_class_id)) = false then
raise exception 'Must be project admin';
end if;
insert into forms (sketch_class_id) values (sketch_class_id) returning * into form;
insert into
form_elements (
form_id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
)
select
form.id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
from
form_elements
where
form_elements.form_id = template_id;
return form;
end
$$;
CREATE OR REPLACE FUNCTION public.initialize_survey_form_from_template(survey_id integer, template_id integer) RETURNS public.forms
LANGUAGE plpgsql SECURITY DEFINER
AS $$
declare
form forms;
begin
if session_is_admin((select project_id from surveys where id = survey_id)) = false then
raise exception 'Must be project admin';
end if;
insert into forms (survey_id) values (survey_id) returning * into form;
insert into
form_elements (
form_id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
)
select
form.id,
name,
description,
type,
is_required,
export_id,
position,
component_settings
from
form_elements
where
form_elements.form_id = template_id;
return form;
end
$$;
CREATE OR REPLACE FUNCTION public.project_id_from_field_id(fid integer) RETURNS integer
LANGUAGE sql STABLE
AS $$
select project_id_for_form_id((select form_id from form_elements where form_elements.id = fid))
$$;
COMMENT ON COLUMN public.form_elements."position" IS '
Determines order of field display. Clients should display fields in ascending
order. Cannot be changed individually. Use `setFormElementOrder()` mutation to
update.
';
COMMENT ON TABLE public.forms IS '
@omit all
Custom user-input Forms are used in two places in SeaSketch. For SketchClasses,
Forms are used to add attributes to spatial features. In Surveys, Forms are used
in support of gathering response data.
Forms have any number of *FormElements* ordered by a `position` field, and form
contents may be hidden depending on the evaluation of *FormConditionalRenderingRules*.
Forms typically belong to either a *Survey* or *SketchClass* exclusively. Some
Forms may be designated as a template, in which case they belong to neither.
Only superusers can create form templates, and clients should provide templates
as an option when creating new forms.
';
COMMENT ON TABLE public.form_elements IS '
@omit all
*FormElements* represent input fields or read-only content in a form. Records contain fields to support
generic functionality like name, description, position, and isRequired. They
also have a JSON `componentSettings` field that can have custom data to support
a particular input type, indicated by the `type` field.
Project administrators have full control over managing form elements through
graphile-generated CRUD mutations.
';
GRANT SELECT ON TABLE public.form_elements TO anon;
GRANT INSERT,DELETE ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(name) ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(description) ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(type) ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(is_required) ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(export_id) ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE("position") ON TABLE public.form_elements TO seasketch_user;
GRANT UPDATE(component_settings) ON TABLE public.form_elements TO seasketch_user;
|
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.5.5
-- Dumped by pg_dump version 9.5.5
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: code_harbor_links; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE code_harbor_links (
id integer NOT NULL,
oauth2token character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: code_harbor_links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE code_harbor_links_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: code_harbor_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE code_harbor_links_id_seq OWNED BY code_harbor_links.id;
--
-- Name: comments; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE comments (
id integer NOT NULL,
user_id integer,
file_id integer,
user_type character varying,
"row" integer,
"column" integer,
text text,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: comments_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE comments_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE comments_id_seq OWNED BY comments.id;
--
-- Name: consumers; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE consumers (
id integer NOT NULL,
name character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone,
oauth_key character varying,
oauth_secret character varying
);
--
-- Name: consumers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE consumers_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: consumers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE consumers_id_seq OWNED BY consumers.id;
--
-- Name: errors; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE errors (
id integer NOT NULL,
execution_environment_id integer,
message text,
created_at timestamp without time zone,
updated_at timestamp without time zone,
submission_id integer
);
--
-- Name: errors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE errors_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: errors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE errors_id_seq OWNED BY errors.id;
--
-- Name: execution_environments; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE execution_environments (
id integer NOT NULL,
docker_image character varying,
name character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone,
run_command character varying,
test_command character varying,
testing_framework character varying,
help text,
exposed_ports character varying,
permitted_execution_time integer,
user_id integer,
user_type character varying,
pool_size integer,
file_type_id integer,
memory_limit integer,
network_enabled boolean
);
--
-- Name: execution_environments_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE execution_environments_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: execution_environments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE execution_environments_id_seq OWNED BY execution_environments.id;
--
-- Name: exercises; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE exercises (
id integer NOT NULL,
description text,
execution_environment_id integer,
title character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone,
user_id integer,
instructions text,
public boolean,
user_type character varying,
token character varying,
hide_file_tree boolean,
allow_file_creation boolean,
allow_auto_completion boolean DEFAULT false
);
--
-- Name: exercises_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE exercises_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: exercises_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE exercises_id_seq OWNED BY exercises.id;
--
-- Name: external_users; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE external_users (
id integer NOT NULL,
consumer_id integer,
email character varying,
external_id character varying,
name character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: external_users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE external_users_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: external_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE external_users_id_seq OWNED BY external_users.id;
--
-- Name: file_templates; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE file_templates (
id integer NOT NULL,
name character varying,
content text,
file_type_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: file_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE file_templates_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: file_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE file_templates_id_seq OWNED BY file_templates.id;
--
-- Name: file_types; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE file_types (
id integer NOT NULL,
editor_mode character varying,
file_extension character varying,
indent_size integer,
name character varying,
user_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone,
executable boolean,
renderable boolean,
user_type character varying,
"binary" boolean
);
--
-- Name: file_types_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE file_types_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: file_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE file_types_id_seq OWNED BY file_types.id;
--
-- Name: files; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE files (
id integer NOT NULL,
content text,
context_id integer,
context_type character varying,
file_id integer,
file_type_id integer,
hidden boolean,
name character varying,
read_only boolean,
created_at timestamp without time zone,
updated_at timestamp without time zone,
native_file character varying,
role character varying,
hashed_content character varying,
feedback_message character varying,
weight double precision,
path character varying,
file_template_id integer
);
--
-- Name: files_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE files_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE files_id_seq OWNED BY files.id;
--
-- Name: hints; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE hints (
id integer NOT NULL,
execution_environment_id integer,
locale character varying,
message text,
name character varying,
regular_expression character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: hints_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE hints_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: hints_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE hints_id_seq OWNED BY hints.id;
--
-- Name: internal_users; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE internal_users (
id integer NOT NULL,
consumer_id integer,
email character varying,
name character varying,
role character varying,
created_at timestamp without time zone,
updated_at timestamp without time zone,
crypted_password character varying,
salt character varying,
failed_logins_count integer DEFAULT 0,
lock_expires_at timestamp without time zone,
unlock_token character varying,
remember_me_token character varying,
remember_me_token_expires_at timestamp without time zone,
reset_password_token character varying,
reset_password_token_expires_at timestamp without time zone,
reset_password_email_sent_at timestamp without time zone,
activation_state character varying,
activation_token character varying,
activation_token_expires_at timestamp without time zone
);
--
-- Name: internal_users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE internal_users_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: internal_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE internal_users_id_seq OWNED BY internal_users.id;
--
-- Name: lti_parameters; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE lti_parameters (
id integer NOT NULL,
external_users_id integer,
consumers_id integer,
exercises_id integer,
lti_parameters jsonb DEFAULT '{}'::jsonb NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: lti_parameters_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE lti_parameters_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: lti_parameters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE lti_parameters_id_seq OWNED BY lti_parameters.id;
--
-- Name: remote_evaluation_mappings; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE remote_evaluation_mappings (
id integer NOT NULL,
user_id integer NOT NULL,
exercise_id integer NOT NULL,
validation_token character varying NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: remote_evaluation_mappings_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE remote_evaluation_mappings_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: remote_evaluation_mappings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE remote_evaluation_mappings_id_seq OWNED BY remote_evaluation_mappings.id;
--
-- Name: request_for_comments; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE request_for_comments (
id integer NOT NULL,
user_id integer NOT NULL,
exercise_id integer NOT NULL,
file_id integer NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone,
user_type character varying,
question text,
solved boolean,
submission_id integer
);
--
-- Name: request_for_comments_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE request_for_comments_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: request_for_comments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE request_for_comments_id_seq OWNED BY request_for_comments.id;
--
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE schema_migrations (
version character varying NOT NULL
);
--
-- Name: submissions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE submissions (
id integer NOT NULL,
exercise_id integer,
score double precision,
user_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone,
cause character varying,
user_type character varying
);
--
-- Name: submissions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE submissions_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: submissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE submissions_id_seq OWNED BY submissions.id;
--
-- Name: testruns; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE testruns (
id integer NOT NULL,
passed boolean,
output text,
file_id integer,
submission_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: testruns_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE testruns_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: testruns_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE testruns_id_seq OWNED BY testruns.id;
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY code_harbor_links ALTER COLUMN id SET DEFAULT nextval('code_harbor_links_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY comments ALTER COLUMN id SET DEFAULT nextval('comments_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY consumers ALTER COLUMN id SET DEFAULT nextval('consumers_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY errors ALTER COLUMN id SET DEFAULT nextval('errors_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY execution_environments ALTER COLUMN id SET DEFAULT nextval('execution_environments_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY exercises ALTER COLUMN id SET DEFAULT nextval('exercises_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY external_users ALTER COLUMN id SET DEFAULT nextval('external_users_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY file_templates ALTER COLUMN id SET DEFAULT nextval('file_templates_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY file_types ALTER COLUMN id SET DEFAULT nextval('file_types_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY files ALTER COLUMN id SET DEFAULT nextval('files_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY hints ALTER COLUMN id SET DEFAULT nextval('hints_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY internal_users ALTER COLUMN id SET DEFAULT nextval('internal_users_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY lti_parameters ALTER COLUMN id SET DEFAULT nextval('lti_parameters_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY remote_evaluation_mappings ALTER COLUMN id SET DEFAULT nextval('remote_evaluation_mappings_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY request_for_comments ALTER COLUMN id SET DEFAULT nextval('request_for_comments_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY submissions ALTER COLUMN id SET DEFAULT nextval('submissions_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY testruns ALTER COLUMN id SET DEFAULT nextval('testruns_id_seq'::regclass);
--
-- Name: code_harbor_links_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY code_harbor_links
ADD CONSTRAINT code_harbor_links_pkey PRIMARY KEY (id);
--
-- Name: comments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY comments
ADD CONSTRAINT comments_pkey PRIMARY KEY (id);
--
-- Name: consumers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY consumers
ADD CONSTRAINT consumers_pkey PRIMARY KEY (id);
--
-- Name: errors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY errors
ADD CONSTRAINT errors_pkey PRIMARY KEY (id);
--
-- Name: execution_environments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY execution_environments
ADD CONSTRAINT execution_environments_pkey PRIMARY KEY (id);
--
-- Name: exercises_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY exercises
ADD CONSTRAINT exercises_pkey PRIMARY KEY (id);
--
-- Name: external_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY external_users
ADD CONSTRAINT external_users_pkey PRIMARY KEY (id);
--
-- Name: file_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY file_templates
ADD CONSTRAINT file_templates_pkey PRIMARY KEY (id);
--
-- Name: file_types_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY file_types
ADD CONSTRAINT file_types_pkey PRIMARY KEY (id);
--
-- Name: files_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY files
ADD CONSTRAINT files_pkey PRIMARY KEY (id);
--
-- Name: hints_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY hints
ADD CONSTRAINT hints_pkey PRIMARY KEY (id);
--
-- Name: internal_users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY internal_users
ADD CONSTRAINT internal_users_pkey PRIMARY KEY (id);
--
-- Name: lti_parameters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY lti_parameters
ADD CONSTRAINT lti_parameters_pkey PRIMARY KEY (id);
--
-- Name: remote_evaluation_mappings_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY remote_evaluation_mappings
ADD CONSTRAINT remote_evaluation_mappings_pkey PRIMARY KEY (id);
--
-- Name: request_for_comments_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY request_for_comments
ADD CONSTRAINT request_for_comments_pkey PRIMARY KEY (id);
--
-- Name: submissions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY submissions
ADD CONSTRAINT submissions_pkey PRIMARY KEY (id);
--
-- Name: testruns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY testruns
ADD CONSTRAINT testruns_pkey PRIMARY KEY (id);
--
-- Name: index_comments_on_file_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_comments_on_file_id ON comments USING btree (file_id);
--
-- Name: index_comments_on_user_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_comments_on_user_id ON comments USING btree (user_id);
--
-- Name: index_errors_on_submission_id; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_errors_on_submission_id ON errors USING btree (submission_id);
--
-- Name: index_files_on_context_id_and_context_type; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_files_on_context_id_and_context_type ON files USING btree (context_id, context_type);
--
-- Name: index_internal_users_on_activation_token; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_internal_users_on_activation_token ON internal_users USING btree (activation_token);
--
-- Name: index_internal_users_on_email; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX index_internal_users_on_email ON internal_users USING btree (email);
--
-- Name: index_internal_users_on_remember_me_token; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_internal_users_on_remember_me_token ON internal_users USING btree (remember_me_token);
--
-- Name: index_internal_users_on_reset_password_token; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_internal_users_on_reset_password_token ON internal_users USING btree (reset_password_token);
--
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
--
-- PostgreSQL database dump complete
--
SET search_path TO "$user", public;
INSERT INTO schema_migrations (version) VALUES ('20140625134118');
INSERT INTO schema_migrations (version) VALUES ('20140626143132');
INSERT INTO schema_migrations (version) VALUES ('20140626144036');
INSERT INTO schema_migrations (version) VALUES ('20140630093736');
INSERT INTO schema_migrations (version) VALUES ('20140630111215');
INSERT INTO schema_migrations (version) VALUES ('20140701120126');
INSERT INTO schema_migrations (version) VALUES ('20140701122345');
INSERT INTO schema_migrations (version) VALUES ('20140702100130');
INSERT INTO schema_migrations (version) VALUES ('20140703070749');
INSERT INTO schema_migrations (version) VALUES ('20140716153147');
INSERT INTO schema_migrations (version) VALUES ('20140717074902');
INSERT INTO schema_migrations (version) VALUES ('20140722125431');
INSERT INTO schema_migrations (version) VALUES ('20140723135530');
INSERT INTO schema_migrations (version) VALUES ('20140723135747');
INSERT INTO schema_migrations (version) VALUES ('20140724155359');
INSERT INTO schema_migrations (version) VALUES ('20140730114343');
INSERT INTO schema_migrations (version) VALUES ('20140730115010');
INSERT INTO schema_migrations (version) VALUES ('20140805161431');
INSERT INTO schema_migrations (version) VALUES ('20140812102114');
INSERT INTO schema_migrations (version) VALUES ('20140812144733');
INSERT INTO schema_migrations (version) VALUES ('20140812150607');
INSERT INTO schema_migrations (version) VALUES ('20140812150925');
INSERT INTO schema_migrations (version) VALUES ('20140813091722');
INSERT INTO schema_migrations (version) VALUES ('20140820170039');
INSERT INTO schema_migrations (version) VALUES ('20140821064318');
INSERT INTO schema_migrations (version) VALUES ('20140823172643');
INSERT INTO schema_migrations (version) VALUES ('20140823173923');
INSERT INTO schema_migrations (version) VALUES ('20140825121336');
INSERT INTO schema_migrations (version) VALUES ('20140825125801');
INSERT INTO schema_migrations (version) VALUES ('20140825154202');
INSERT INTO schema_migrations (version) VALUES ('20140825161350');
INSERT INTO schema_migrations (version) VALUES ('20140825161358');
INSERT INTO schema_migrations (version) VALUES ('20140825161406');
INSERT INTO schema_migrations (version) VALUES ('20140826073318');
INSERT INTO schema_migrations (version) VALUES ('20140826073319');
INSERT INTO schema_migrations (version) VALUES ('20140826073320');
INSERT INTO schema_migrations (version) VALUES ('20140826073321');
INSERT INTO schema_migrations (version) VALUES ('20140826073322');
INSERT INTO schema_migrations (version) VALUES ('20140827065359');
INSERT INTO schema_migrations (version) VALUES ('20140827083957');
INSERT INTO schema_migrations (version) VALUES ('20140829141913');
INSERT INTO schema_migrations (version) VALUES ('20140903093436');
INSERT INTO schema_migrations (version) VALUES ('20140903165113');
INSERT INTO schema_migrations (version) VALUES ('20140904082810');
INSERT INTO schema_migrations (version) VALUES ('20140909115430');
INSERT INTO schema_migrations (version) VALUES ('20140915095420');
INSERT INTO schema_migrations (version) VALUES ('20140915122846');
INSERT INTO schema_migrations (version) VALUES ('20140918063522');
INSERT INTO schema_migrations (version) VALUES ('20140922161120');
INSERT INTO schema_migrations (version) VALUES ('20140922161226');
INSERT INTO schema_migrations (version) VALUES ('20141003072729');
INSERT INTO schema_migrations (version) VALUES ('20141004114747');
INSERT INTO schema_migrations (version) VALUES ('20141009110434');
INSERT INTO schema_migrations (version) VALUES ('20141011145303');
INSERT INTO schema_migrations (version) VALUES ('20141017110211');
INSERT INTO schema_migrations (version) VALUES ('20141031161603');
INSERT INTO schema_migrations (version) VALUES ('20141119131607');
INSERT INTO schema_migrations (version) VALUES ('20150128083123');
INSERT INTO schema_migrations (version) VALUES ('20150128084834');
INSERT INTO schema_migrations (version) VALUES ('20150128093003');
INSERT INTO schema_migrations (version) VALUES ('20150204080832');
INSERT INTO schema_migrations (version) VALUES ('20150310150712');
INSERT INTO schema_migrations (version) VALUES ('20150317083739');
INSERT INTO schema_migrations (version) VALUES ('20150317115338');
INSERT INTO schema_migrations (version) VALUES ('20150327141740');
INSERT INTO schema_migrations (version) VALUES ('20150408155923');
INSERT INTO schema_migrations (version) VALUES ('20150421074734');
INSERT INTO schema_migrations (version) VALUES ('20150818141554');
INSERT INTO schema_migrations (version) VALUES ('20150818142251');
INSERT INTO schema_migrations (version) VALUES ('20150903152727');
INSERT INTO schema_migrations (version) VALUES ('20150922125415');
INSERT INTO schema_migrations (version) VALUES ('20160204094409');
INSERT INTO schema_migrations (version) VALUES ('20160204111716');
INSERT INTO schema_migrations (version) VALUES ('20160302133540');
INSERT INTO schema_migrations (version) VALUES ('20160426114951');
INSERT INTO schema_migrations (version) VALUES ('20160510145341');
INSERT INTO schema_migrations (version) VALUES ('20160512131539');
INSERT INTO schema_migrations (version) VALUES ('20160609185708');
INSERT INTO schema_migrations (version) VALUES ('20160610111602');
INSERT INTO schema_migrations (version) VALUES ('20160624130951');
INSERT INTO schema_migrations (version) VALUES ('20160630154310');
INSERT INTO schema_migrations (version) VALUES ('20160701092140');
INSERT INTO schema_migrations (version) VALUES ('20160704143402');
INSERT INTO schema_migrations (version) VALUES ('20160907123009');
INSERT INTO schema_migrations (version) VALUES ('20170112151637');
INSERT INTO schema_migrations (version) VALUES ('20170202170437');
|
DROP VIEW IF EXISTS `all_variants`;
CREATE
VIEW `all_variants` AS
SELECT
DISTINCT gnomadv2.Variant
FROM gnomadv2
UNION
SELECT
DISTINCT clinvarsumvar.Variant
FROM clinvarsumvar
UNION
SELECT
DISTINCT oosumvar.Variant
FROM oosumvar
GROUP BY
Variant
|
<filename>sql/yjbb/600469.sql<gh_stars>0
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2017-09-30',@EPS = N'-0.36',@EPSDeduct = N'0',@Revenue = N'56.84亿',@RevenueYoy = N'4.36',@RevenueQoq = N'6.72',@Profit = N'-2.01亿',@ProfitYoy = N'-431.15',@ProfiltQoq = N'-1461.46',@NAVPerUnit = N'3.9009',@ROE = N'-8.53',@CashPerUnit = N'-0.7033',@GrossProfitRate = N'9.87',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2017-09-30',@EPS = N'-0.36',@EPSDeduct = N'0',@Revenue = N'56.84亿',@RevenueYoy = N'4.36',@RevenueQoq = N'6.72',@Profit = N'-2.01亿',@ProfitYoy = N'-431.15',@ProfiltQoq = N'-1461.46',@NAVPerUnit = N'3.9009',@ROE = N'-8.53',@CashPerUnit = N'-0.7033',@GrossProfitRate = N'9.87',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2016-12-31',@EPS = N'0.15',@EPSDeduct = N'0.18',@Revenue = N'73.25亿',@RevenueYoy = N'-10.40',@RevenueQoq = N'108.98',@Profit = N'8455.14万',@ProfitYoy = N'-43.38',@ProfiltQoq = N'-360.54',@NAVPerUnit = N'4.3586',@ROE = N'3.78',@CashPerUnit = N'1.3685',@GrossProfitRate = N'14.96',@Distribution = N'10派1',@DividenRate = N'1.37',@AnnounceDate = N'2017-03-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2017-06-30',@EPS = N'-0.2',@EPSDeduct = N'-0.21',@Revenue = N'37.43亿',@RevenueYoy = N'4.46',@RevenueQoq = N'-5.49',@Profit = N'-1.12亿',@ProfitYoy = N'-218.33',@ProfiltQoq = N'105.44',@NAVPerUnit = N'4.0568',@ROE = N'-4.70',@CashPerUnit = N'-0.0320',@GrossProfitRate = N'9.74',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-08-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2016-09-30',@EPS = N'0.11',@EPSDeduct = N'0',@Revenue = N'54.47亿',@RevenueYoy = N'-12.44',@RevenueQoq = N'-8.27',@Profit = N'6056.08万',@ProfitYoy = N'-11.35',@ProfiltQoq = N'-53.78',@NAVPerUnit = N'4.9261',@ROE = N'1.77',@CashPerUnit = N'0.7058',@GrossProfitRate = N'16.37',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2017-03-31',@EPS = N'-0.212',@EPSDeduct = N'0',@Revenue = N'19.24亿',@RevenueYoy = N'18.04',@RevenueQoq = N'-36.37',@Profit = N'-1.19亿',@ProfitYoy = N'-508.91',@ProfiltQoq = N'-23.04',@NAVPerUnit = N'4.1499',@ROE = N'-4.97',@CashPerUnit = N'-0.5372',@GrossProfitRate = N'7.48',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2016-06-30',@EPS = N'0.17',@EPSDeduct = N'0.21',@Revenue = N'35.83亿',@RevenueYoy = N'-13.64',@RevenueQoq = N'23.62',@Profit = N'9507.12万',@ProfitYoy = N'-1.76',@ProfiltQoq = N'25.76',@NAVPerUnit = N'4.8599',@ROE = N'3.16',@CashPerUnit = N'0.3027',@GrossProfitRate = N'18.16',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-08-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2015-09-30',@EPS = N'0.55',@EPSDeduct = N'0',@Revenue = N'49.12亿',@RevenueYoy = N'-18.39',@RevenueQoq = N'-7.51',@Profit = N'2.04亿',@ProfitYoy = N'-33.26',@ProfiltQoq = N'-37.40',@NAVPerUnit = N'7.7954',@ROE = N'7.15',@CashPerUnit = N'2.0341',@GrossProfitRate = N'19.11',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-10-27'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2015-06-30',@EPS = N'0.391',@EPSDeduct = N'0.38',@Revenue = N'33.04亿',@RevenueYoy = N'-17.37',@RevenueQoq = N'10.98',@Profit = N'1.47亿',@ProfitYoy = N'-20.84',@ProfiltQoq = N'69.31',@NAVPerUnit = N'7.6865',@ROE = N'5.17',@CashPerUnit = N'1.4514',@GrossProfitRate = N'19.83',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2016-08-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2016-03-31',@EPS = N'0.078',@EPSDeduct = N'0',@Revenue = N'16.30亿',@RevenueYoy = N'-18.52',@RevenueQoq = N'-11.73',@Profit = N'2909.43万',@ProfitYoy = N'17.19',@ProfiltQoq = N'49.23',@NAVPerUnit = N'8.0759',@ROE = N'1.21',@CashPerUnit = N'0.4291',@GrossProfitRate = N'16.65',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2014-12-31',@EPS = N'0.88',@EPSDeduct = N'0.58',@Revenue = N'81.67亿',@RevenueYoy = N'-4.35',@RevenueQoq = N'6.35',@Profit = N'3.32亿',@ProfitYoy = N'5.98',@ProfiltQoq = N'-78.96',@NAVPerUnit = N'7.4554',@ROE = N'9.63',@CashPerUnit = N'2.3160',@GrossProfitRate = N'22.07',@Distribution = N'10派1.5',@DividenRate = N'0.62',@AnnounceDate = N'2016-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2014-06-30',@EPS = N'0.49',@EPSDeduct = N'0.48',@Revenue = N'39.99亿',@RevenueYoy = N'-6.56',@RevenueQoq = N'-0.40',@Profit = N'1.85亿',@ProfitYoy = N'4.07',@ProfiltQoq = N'-11.07',@NAVPerUnit = N'6.9846',@ROE = N'7.28',@CashPerUnit = N'1.2732',@GrossProfitRate = N'21.99',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2015-08-14'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2014-03-31',@EPS = N'0.262',@EPSDeduct = N'0',@Revenue = N'20.04亿',@RevenueYoy = N'-6.72',@RevenueQoq = N'-6.61',@Profit = N'9809.16万',@ProfitYoy = N'13.79',@ProfiltQoq = N'48.39',@NAVPerUnit = N'6.8495',@ROE = N'3.89',@CashPerUnit = N'-0.2015',@GrossProfitRate = N'19.78',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2015-04-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2013-12-31',@EPS = N'0.84',@EPSDeduct = N'0.82',@Revenue = N'85.38亿',@RevenueYoy = N'-4.13',@RevenueQoq = N'-4.27',@Profit = N'3.13亿',@ProfitYoy = N'13.87',@ProfiltQoq = N'-21.26',@NAVPerUnit = N'6.5937',@ROE = N'13.39',@CashPerUnit = N'0.8346',@GrossProfitRate = N'20.26',@Distribution = N'10派1',@DividenRate = N'1.06',@AnnounceDate = N'2015-04-21'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2013-09-30',@EPS = N'0.699',@EPSDeduct = N'0',@Revenue = N'65.21亿',@RevenueYoy = N'-7.45',@RevenueQoq = N'5.12',@Profit = N'2.62亿',@ProfitYoy = N'8.72',@ProfiltQoq = N'-12.20',@NAVPerUnit = N'6.5036',@ROE = N'11.22',@CashPerUnit = N'0.2868',@GrossProfitRate = N'19.22',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-10-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2013-06-30',@EPS = N'0.475',@EPSDeduct = N'0.471',@Revenue = N'42.80亿',@RevenueYoy = N'-17.14',@RevenueQoq = N'5.54',@Profit = N'1.78亿',@ProfitYoy = N'-6.21',@ProfiltQoq = N'41.88',@NAVPerUnit = N'6.2787',@ROE = N'7.78',@CashPerUnit = N'0.6049',@GrossProfitRate = N'19.40',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2014-08-12'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2013-03-31',@EPS = N'0.23',@EPSDeduct = N'0.177',@Revenue = N'21.48亿',@RevenueYoy = N'-19.81',@RevenueQoq = N'-4.50',@Profit = N'8620.71万',@ProfitYoy = N'-11.75',@ProfiltQoq = N'47.03',@NAVPerUnit = N'6.1402',@ROE = N'3.80',@CashPerUnit = N'0.6335',@GrossProfitRate = N'17.20',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2012-12-31',@EPS = N'0.73',@EPSDeduct = N'0.72',@Revenue = N'89.06亿',@RevenueYoy = N'-11.79',@RevenueQoq = N'11.52',@Profit = N'2.75亿',@ProfitYoy = N'16.61',@ProfiltQoq = N'-14.10',@NAVPerUnit = N'5.8766',@ROE = N'13.19',@CashPerUnit = N'1.8670',@GrossProfitRate = N'18.81',@Distribution = N'10派1',@DividenRate = N'1.22',@AnnounceDate = N'2014-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2012-09-30',@EPS = N'0.61',@EPSDeduct = N'0.592',@Revenue = N'69.08亿',@RevenueYoy = N'-13.22',@RevenueQoq = N'-23.88',@Profit = N'2.27亿',@ProfitYoy = N'5.17',@ProfiltQoq = N'-45.23',@NAVPerUnit = N'5.8253',@ROE = N'10.44',@CashPerUnit = N'1.4995',@GrossProfitRate = N'17.75',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2013-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2012-06-30',@EPS = N'0.464',@EPSDeduct = N'0.457',@Revenue = N'50.11亿',@RevenueYoy = N'-9.31',@RevenueQoq = N'-1.07',@Profit = N'1.74亿',@ProfitYoy = N'17.69',@ProfiltQoq = N'27.57',@NAVPerUnit = N'5.6886',@ROE = N'8.28',@CashPerUnit = N'0.7528',@GrossProfitRate = N'16.29',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2013-07-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2012-03-31',@EPS = N'0.204',@EPSDeduct = N'0.195',@Revenue = N'25.19亿',@RevenueYoy = N'-8.66',@RevenueQoq = N'11.01',@Profit = N'7636.76万',@ProfitYoy = N'0.96',@ProfiltQoq = N'321.38',@NAVPerUnit = N'5.5342',@ROE = N'3.69',@CashPerUnit = N'0.5010',@GrossProfitRate = N'15.28',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2013-04-27'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2011-12-31',@EPS = N'0.624',@EPSDeduct = N'0.62',@Revenue = N'102.30亿',@RevenueYoy = N'25.95',@RevenueQoq = N'-6.81',@Profit = N'2.34亿',@ProfitYoy = N'53.38',@ProfiltQoq = N'-73.47',@NAVPerUnit = N'5.3259',@ROE = N'12.82',@CashPerUnit = N'0.8770',@GrossProfitRate = N'15.85',@Distribution = N'10派1',@DividenRate = N'1.04',@AnnounceDate = N'2013-04-02'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2011-09-30',@EPS = N'0.576',@EPSDeduct = N'0.556',@Revenue = N'79.60亿',@RevenueYoy = N'28.36',@RevenueQoq = N'-12.03',@Profit = N'2.16亿',@ProfitYoy = N'100.29',@ProfiltQoq = N'-5.17',@NAVPerUnit = N'5.2800',@ROE = N'11.39',@CashPerUnit = N'0.1506',@GrossProfitRate = N'15.99',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2012-10-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2011-06-30',@EPS = N'0.394',@EPSDeduct = N'0.384',@Revenue = N'55.26亿',@RevenueYoy = N'31.53',@RevenueQoq = N'0.36',@Profit = N'1.48亿',@ProfitYoy = N'50.76',@ProfiltQoq = N'-4.77',@NAVPerUnit = N'5.1100',@ROE = N'7.83',@CashPerUnit = N'0.3750',@GrossProfitRate = N'16.03',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2012-08-14'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2011-03-31',@EPS = N'0.202',@EPSDeduct = N'0.193',@Revenue = N'27.58亿',@RevenueYoy = N'46.08',@RevenueQoq = N'43.62',@Profit = N'7563.99万',@ProfitYoy = N'17.39',@ProfiltQoq = N'68.85',@NAVPerUnit = N'5.0300',@ROE = N'4.09',@CashPerUnit = N'0.1953',@GrossProfitRate = N'15.46',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2012-04-20'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2010-12-31',@EPS = N'0.407',@EPSDeduct = N'0.367',@Revenue = N'81.22亿',@RevenueYoy = N'44.45',@RevenueQoq = N'-4.02',@Profit = N'1.53亿',@ProfitYoy = N'-50.77',@ProfiltQoq = N'353.43',@NAVPerUnit = N'4.8291',@ROE = N'8.76',@CashPerUnit = N'0.4876',@GrossProfitRate = N'13.65',@Distribution = N'10派1',@DividenRate = N'0.81',@AnnounceDate = N'2012-04-06'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2010-09-30',@EPS = N'0.288',@EPSDeduct = N'0.269',@Revenue = N'62.02亿',@RevenueYoy = N'54.40',@RevenueQoq = N'-13.51',@Profit = N'1.08亿',@ProfitYoy = N'-57.61',@ProfiltQoq = N'-70.52',@NAVPerUnit = N'4.6600',@ROE = N'6.30',@CashPerUnit = N'0.2859',@GrossProfitRate = N'12.18',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2011-10-25'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2010-06-30',@EPS = N'0.261',@EPSDeduct = N'0.246',@Revenue = N'42.01亿',@RevenueYoy = N'69.87',@RevenueQoq = N'22.53',@Profit = N'9795.11万',@ProfitYoy = N'-24.39',@ProfiltQoq = N'-47.99',@NAVPerUnit = N'4.6280',@ROE = N'5.74',@CashPerUnit = N'0.3724',@GrossProfitRate = N'12.31',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2011-07-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2010-03-31',@EPS = N'0.172',@EPSDeduct = N'0.168',@Revenue = N'18.88亿',@RevenueYoy = N'83.70',@RevenueQoq = N'17.56',@Profit = N'6443.59万',@ProfitYoy = N'1023.30',@ProfiltQoq = N'15.79',@NAVPerUnit = N'4.6400',@ROE = N'3.77',@CashPerUnit = N'-0.3339',@GrossProfitRate = N'13.47',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2011-04-22'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2009-12-31',@EPS = N'0.827',@EPSDeduct = N'0.817',@Revenue = N'56.23亿',@RevenueYoy = N'-7.76',@RevenueQoq = N'4.03',@Profit = N'3.10亿',@ProfitYoy = N'419.20',@ProfiltQoq = N'-55.43',@NAVPerUnit = N'4.4700',@ROE = N'20.16',@CashPerUnit = N'0.8904',@GrossProfitRate = N'23.75',@Distribution = N'10派1',@DividenRate = N'0.93',@AnnounceDate = N'2011-03-01'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2009-09-30',@EPS = N'0.679',@EPSDeduct = N'0.669',@Revenue = N'40.17亿',@RevenueYoy = N'-21.24',@RevenueQoq = N'6.79',@Profit = N'2.54亿',@ProfitYoy = N'170.01',@ProfiltQoq = N'0.83',@NAVPerUnit = N'4.3200',@ROE = N'-',@CashPerUnit = N'0.7762',@GrossProfitRate = N'20.89',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2010-10-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2015-12-31',@EPS = N'0.27',@EPSDeduct = N'0.42',@Revenue = N'81.75亿',@RevenueYoy = N'-22.15',@RevenueQoq = N'-10.08',@Profit = N'1.49亿',@ProfitYoy = N'-25.49',@ProfiltQoq = N'-25.91',@NAVPerUnit = N'6.3478',@ROE = N'6.35',@CashPerUnit = N'4.0865',@GrossProfitRate = N'17.84',@Distribution = N'10送5派10',@DividenRate = N'9.07',@AnnounceDate = N'2017-03-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2009-06-30',@EPS = N'0.346',@EPSDeduct = N'0.344',@Revenue = N'24.73亿',@RevenueYoy = N'-29.20',@RevenueQoq = N'40.65',@Profit = N'1.30亿',@ProfitYoy = N'54.96',@ProfiltQoq = N'2058.48',@NAVPerUnit = N'3.9800',@ROE = N'8.96',@CashPerUnit = N'0.5746',@GrossProfitRate = N'18.19',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2010-08-20'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2014-09-30',@EPS = N'0.817',@EPSDeduct = N'0',@Revenue = N'60.19亿',@RevenueYoy = N'-7.70',@RevenueQoq = N'1.22',@Profit = N'3.06亿',@ProfitYoy = N'16.91',@ProfiltQoq = N'38.72',@NAVPerUnit = N'7.3221',@ROE = N'11.74',@CashPerUnit = N'2.1117',@GrossProfitRate = N'22.47',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2015-10-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2009-03-31',@EPS = N'0.015',@EPSDeduct = N'0.014',@Revenue = N'10.28亿',@RevenueYoy = N'-39.14',@RevenueQoq = N'3.27',@Profit = N'573.63万',@ProfitYoy = N'-85.36',@ProfiltQoq = N'103.00',@NAVPerUnit = N'3.7500',@ROE = N'-',@CashPerUnit = N'-0.0732',@GrossProfitRate = N'9.07',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2010-04-23'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2008-09-30',@EPS = N'0.369',@EPSDeduct = N'0.294',@Revenue = N'51.00亿',@RevenueYoy = N'13.88',@RevenueQoq = N'-10.96',@Profit = N'9421.84万',@ProfitYoy = N'-0.24',@ProfiltQoq = N'-76.11',@NAVPerUnit = N'3.9700',@ROE = N'-',@CashPerUnit = N'0.2827',@GrossProfitRate = N'10.72',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2009-10-20'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2008-12-31',@EPS = N'-0.26',@EPSDeduct = N'-0.31',@Revenue = N'60.95亿',@RevenueYoy = N'1.28',@RevenueQoq = N'-38.07',@Profit = N'-9713.55万',@ProfitYoy = N'-191.41',@ProfiltQoq = N'-1902.82',@NAVPerUnit = N'3.7300',@ROE = N'-11.15',@CashPerUnit = N'-0.0784',@GrossProfitRate = N'9.86',@Distribution = N'10派1',@DividenRate = N'0.89',@AnnounceDate = N'2010-03-23'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2008-06-30',@EPS = N'0.328',@EPSDeduct = N'0.254',@Revenue = N'34.93亿',@RevenueYoy = N'14.86',@RevenueQoq = N'6.89',@Profit = N'8360.43万',@ProfitYoy = N'38.32',@ProfiltQoq = N'13.41',@NAVPerUnit = N'3.9400',@ROE = N'8.69',@CashPerUnit = N'1.1708',@GrossProfitRate = N'11.69',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2009-07-21'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2008-03-31',@EPS = N'0.154',@EPSDeduct = N'0.149',@Revenue = N'16.88亿',@RevenueYoy = N'18.61',@RevenueQoq = N'9.64',@Profit = N'3917.56万',@ProfitYoy = N'36.46',@ProfiltQoq = N'231.55',@NAVPerUnit = N'3.7700',@ROE = N'-',@CashPerUnit = N'-0.3154',@GrossProfitRate = N'12.06',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2009-04-21'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2007-12-31',@EPS = N'0.42',@EPSDeduct = N'0.535',@Revenue = N'60.19亿',@RevenueYoy = N'18.54',@RevenueQoq = N'7.16',@Profit = N'1.06亿',@ProfitYoy = N'510.92',@ProfiltQoq = N'-65.25',@NAVPerUnit = N'3.6100',@ROE = N'12.26',@CashPerUnit = N'-0.1986',@GrossProfitRate = N'12.63',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2009-04-21'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2007-06-30',@EPS = N'0.237',@EPSDeduct = N'0.227',@Revenue = N'30.41亿',@RevenueYoy = N'25.66',@RevenueQoq = N'13.66',@Profit = N'6044.14万',@ProfitYoy = N'462.84',@ProfiltQoq = N'10.54',@NAVPerUnit = N'3.4100',@ROE = N'7.20',@CashPerUnit = N'-0.7765',@GrossProfitRate = N'12.75',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2008-07-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2007-03-31',@EPS = N'0.113',@EPSDeduct = N'0',@Revenue = N'14.23亿',@RevenueYoy = N'26.54',@RevenueQoq = N'6.26',@Profit = N'2870.74万',@ProfitYoy = N'86.52',@ProfiltQoq = N'10221.63',@NAVPerUnit = N'3.2860',@ROE = N'-',@CashPerUnit = N'-0.2706',@GrossProfitRate = N'12.65',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2008-04-22'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2006-12-31',@EPS = N'0.07',@EPSDeduct = N'0.102',@Revenue = N'50.77亿',@RevenueYoy = N'37.22',@RevenueQoq = N'1.70',@Profit = N'1739.32万',@ProfitYoy = N'-84.90',@ProfiltQoq = N'-104.09',@NAVPerUnit = N'3.1400',@ROE = N'1.52',@CashPerUnit = N'0.2430',@GrossProfitRate = N'10.88',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2008-02-05'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2006-09-30',@EPS = N'0.069',@EPSDeduct = N'0',@Revenue = N'37.37亿',@RevenueYoy = N'40.24',@RevenueQoq = N'1.70',@Profit = N'1767.68万',@ProfitYoy = N'-83.74',@ProfiltQoq = N'249.13',@NAVPerUnit = N'3.1600',@ROE = N'-',@CashPerUnit = N'-0.3426',@GrossProfitRate = N'11.57',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2007-10-23'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2006-06-30',@EPS = N'0.042',@EPSDeduct = N'0',@Revenue = N'24.20亿',@RevenueYoy = N'38.04',@RevenueQoq = N'15.14',@Profit = N'1073.86万',@ProfitYoy = N'-86.75',@ProfiltQoq = N'-130.23',@NAVPerUnit = N'3.1330',@ROE = N'1.30',@CashPerUnit = N'-0.1820',@GrossProfitRate = N'13.24',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2007-07-18'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2006-03-31',@EPS = N'0.06',@EPSDeduct = N'0',@Revenue = N'11.25亿',@RevenueYoy = N'44.89',@RevenueQoq = N'8.70',@Profit = N'1539.09万',@ProfitYoy = N'-46.73',@ProfiltQoq = N'139.00',@NAVPerUnit = N'3.2700',@ROE = N'-',@CashPerUnit = N'-0.3005',@GrossProfitRate = N'13.63',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2007-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2007-09-30',@EPS = N'0.37',@EPSDeduct = N'0.349',@Revenue = N'44.79亿',@RevenueYoy = N'19.83',@RevenueQoq = N'-11.17',@Profit = N'9444.27万',@ProfitYoy = N'434.28',@ProfiltQoq = N'7.14',@NAVPerUnit = N'3.5400',@ROE = N'-',@CashPerUnit = N'-0.6748',@GrossProfitRate = N'12.82',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2008-10-21'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2005-09-30',@EPS = N'0',@EPSDeduct = N'0',@Revenue = N'26.65亿',@RevenueYoy = N'29.34',@RevenueQoq = N'-6.65',@Profit = N'1.09亿',@ProfitYoy = N'92.44',@ProfiltQoq = N'-46.93',@NAVPerUnit = N'3.1770',@ROE = N'-',@CashPerUnit = N'0.3921',@GrossProfitRate = N'19.95',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2006-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2005-06-30',@EPS = N'0.32',@EPSDeduct = N'0',@Revenue = N'17.53亿',@RevenueYoy = N'36.95',@RevenueQoq = N'25.81',@Profit = N'8105.91万',@ProfitYoy = N'120.24',@ProfiltQoq = N'80.57',@NAVPerUnit = N'3.0660',@ROE = N'10.94',@CashPerUnit = N'0.1862',@GrossProfitRate = N'21.17',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2006-08-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2015-03-31',@EPS = N'0.15',@EPSDeduct = N'0',@Revenue = N'15.66亿',@RevenueYoy = N'-21.82',@RevenueQoq = N'-27.08',@Profit = N'5447.80万',@ProfitYoy = N'-44.46',@ProfiltQoq = N'113.97',@NAVPerUnit = N'7.5691',@ROE = N'1.93',@CashPerUnit = N'0.1843',@GrossProfitRate = N'18.58',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600469',@CutoffDate = N'2005-12-31',@EPS = N'0.45',@EPSDeduct = N'0',@Revenue = N'37.00亿',@RevenueYoy = N'32.09',@RevenueQoq = N'13.50',@Profit = N'1.15亿',@ProfitYoy = N'50.27',@ProfiltQoq = N'-76.74',@NAVPerUnit = N'3.2090',@ROE = N'15.18',@CashPerUnit = N'0.6371',@GrossProfitRate = N'17.88',@Distribution = N'10派1.2',@DividenRate = N'2.76',@AnnounceDate = N'2007-01-30' |
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 11 Nov 2019 pada 09.15
-- Versi Server: 10.1.28-MariaDB
-- PHP Version: 5.6.32
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: `tugasku`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `log`
--
CREATE TABLE `log` (
`id` int(20) NOT NULL,
`nim` varchar(20) NOT NULL,
`no_hp_lama` varchar(50) NOT NULL,
`no_hp_baru` varchar(50) NOT NULL,
`tgl_diubah` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `log`
--
INSERT INTO `log` (`id`, `nim`, `no_hp_lama`, `no_hp_baru`, `tgl_diubah`) VALUES
(1, '161240000551', '0812738282818', '08497576767', '2019-10-29 13:27:38'),
(2, '161240000551', '08497576767', '08497576767', '2019-11-01 17:14:29'),
(3, '161240000523', '0897373733', '0897373733', '2019-11-01 17:14:39'),
(4, '161240000562', '089736327', '089736327', '2019-11-01 17:14:45'),
(5, '161240000534', '0897366272', '0897366272', '2019-11-01 17:14:51'),
(6, '161240000562', '089736327', '089736327', '2019-11-01 17:16:44'),
(7, '161240000562', '089736327', '089736327', '2019-11-01 17:17:04'),
(8, '161240000562', '089736327', '089736327', '2019-11-01 17:17:18'),
(9, '161240000534', '0897366272', '0897366272', '2019-11-01 17:26:08'),
(10, '161240000523', '0897373733', '0897373733', '2019-11-01 17:26:17'),
(11, '161240000551', '08497576767', '08497576767', '2019-11-01 17:26:25'),
(12, '161240000523', '0897373733', '0897373733', '2019-11-01 17:28:10'),
(13, '1612400000666', '089886868', '089886868', '2019-11-11 14:33:07');
-- --------------------------------------------------------
--
-- Struktur dari tabel `mahasiswa`
--
CREATE TABLE `mahasiswa` (
`id` int(20) NOT NULL,
`nim` varchar(20) NOT NULL,
`nama_mhs` varchar(50) NOT NULL,
`jenis_kelamin` varchar(15) NOT NULL,
`alamat` varchar(50) NOT NULL,
`no_hp` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `mahasiswa`
--
INSERT INTO `mahasiswa` (`id`, `nim`, `nama_mhs`, `jenis_kelamin`, `alamat`, `no_hp`) VALUES
(3, '161240000551', '<NAME>', 'Laki-laki', 'demaan', '08497576767'),
(4, '161240000523', 'hikam', 'Perempuan', 'kauman', '0897373733'),
(7, '161240000534', '<NAME>', 'Perempuan', 'karang gondang', '0897366272'),
(9, '161240000567', 'vikry', 'Perempuan', 'jepara', '089766555'),
(10, '1612400000666', 'maria', 'Perempuan', 'jepara', '089886868'),
(11, '161240000512', 'jojo', 'Laki-laki', 'mantingan', '089377483');
--
-- Trigger `mahasiswa`
--
DELIMITER $$
CREATE TRIGGER `membuat_log` BEFORE UPDATE ON `mahasiswa` FOR EACH ROW INSERT INTO log
SET nim = old.nim,
no_hp_lama = old.no_hp,
no_hp_baru = new.no_hp,
tgl_diubah = now()
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Stand-in structure for view `tampil`
-- (Lihat di bawah untuk tampilan aktual)
--
CREATE TABLE `tampil` (
`id` int(20)
,`nim` varchar(20)
,`nama_mhs` varchar(50)
,`jenis_kelamin` varchar(15)
,`alamat` varchar(50)
,`no_hp` varchar(20)
);
-- --------------------------------------------------------
--
-- Struktur untuk view `tampil`
--
DROP TABLE IF EXISTS `tampil`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `tampil` AS (select `mahasiswa`.`id` AS `id`,`mahasiswa`.`nim` AS `nim`,`mahasiswa`.`nama_mhs` AS `nama_mhs`,`mahasiswa`.`jenis_kelamin` AS `jenis_kelamin`,`mahasiswa`.`alamat` AS `alamat`,`mahasiswa`.`no_hp` AS `no_hp` from `mahasiswa`) ;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `log`
--
ALTER TABLE `log`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `log`
--
ALTER TABLE `log`
MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
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 */;
|
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 28, 2019 at 01:11 AM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7
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: `portalcafedb`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`user_id` int(3) NOT NULL,
`username` varchar(10) NOT NULL,
`password` varchar(255) NOT NULL,
`nama` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`user_id`, `username`, `password`, `nama`) VALUES
(1, 'admin', '<PASSWORD>', '<PASSWORD>'),
(2, 'didapras', '<PASSWORD>', '<PASSWORD>'),
(3, 'die', '<PASSWORD>', 'die'),
(6, 'hnr_24', '<PASSWORD>3097f6a3ccbee18e', '<NAME>');
-- --------------------------------------------------------
--
-- Table structure for table `gallery`
--
CREATE TABLE `gallery` (
`gallery_name` varchar(15) NOT NULL,
`gallery_pict` varchar(255) NOT NULL,
`gallery_id` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gallery`
--
INSERT INTO `gallery` (`gallery_name`, `gallery_pict`, `gallery_id`) VALUES
('gambar', 'gambar.jpg', 4),
('azz', 'azz.jpg', 7),
('dsetfgh', 'dsetfgh.png', 9),
('zsedx', 'zsedx.jpg', 10);
-- --------------------------------------------------------
--
-- Table structure for table `product`
--
CREATE TABLE `product` (
`product_id` int(5) NOT NULL,
`product_nama` varchar(20) NOT NULL,
`product_price` int(255) NOT NULL,
`product_desc` text NOT NULL,
`product_type` varchar(15) NOT NULL,
`product_pict` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `product`
--
INSERT INTO `product` (`product_id`, `product_nama`, `product_price`, `product_desc`, `product_type`, `product_pict`) VALUES
(3, 'cxds', 1352, 'afsd', 'makanan', 'cxds.png'),
(4, '213t54y453234', 123425, 'wregrdfdsfa', 'minuman', '213t54y453234.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `ulasan`
--
CREATE TABLE `ulasan` (
`ul_nama` varchar(10) NOT NULL,
`ul_email` varchar(100) NOT NULL,
`ul_ulasan` varchar(500) NOT NULL,
`ul_id` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`user_id`),
ADD UNIQUE KEY `username` (`username`);
--
-- Indexes for table `gallery`
--
ALTER TABLE `gallery`
ADD PRIMARY KEY (`gallery_id`);
--
-- Indexes for table `product`
--
ALTER TABLE `product`
ADD PRIMARY KEY (`product_id`);
--
-- Indexes for table `ulasan`
--
ALTER TABLE `ulasan`
ADD PRIMARY KEY (`ul_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `user_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `gallery`
--
ALTER TABLE `gallery`
MODIFY `gallery_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `product`
--
ALTER TABLE `product`
MODIFY `product_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `ulasan`
--
ALTER TABLE `ulasan`
MODIFY `ul_id` int(10) NOT NULL AUTO_INCREMENT;
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 */;
|
-- 宣言部
DECLARE
depNo SCOTT.DEPT.DEPTNO%TYPE;
depName SCOTT.DEPT.DNAME%TYPE;
-- 処理部
BEGIN
SELECT
DEPTNO,
DNAME
INTO
depNo,
depName
FROM
SCOTT.DEPT
WHERE
DEPTNO = 10;
DBMS_OUTPUT.PUT_LINE('部署コード:' || depNo);
DBMS_OUTPUT.PUT_LINE('部署名:' || depName);
END; |
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Servidor: 1192.168.3.11
-- Tiempo de generación: 07-01-2017 a las 18:47:24
-- Versión del servidor: 10.1.13-MariaDB
-- Versión de PHP: 7.0.5
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 */;
--
-- Base de datos: `comedor`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `alumno`
--
CREATE TABLE `alumno` (
`id` int(11) NOT NULL,
`codigo` char(6) NOT NULL,
`dni` char(8) NOT NULL,
`nombre` varchar(35) NOT NULL,
`apellido` varchar(35) NOT NULL,
`telefono` varchar(12) NOT NULL,
`estado` char(1) NOT NULL,
`carrera_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `alumno`
--
INSERT INTO `alumno` (`id`, `codigo`, `dni`, `nombre`, `apellido`, `telefono`, `estado`, `carrera_id`, `usuario_id`) VALUES
(1, '112134', '47050254', 'Filio', 'Carrasco Sauñe', '962846003', '1', 1, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `beneficios`
--
CREATE TABLE `beneficios` (
`id` int(11) NOT NULL,
`nombre` varchar(20) NOT NULL,
`precio` decimal(10,2) NOT NULL,
`estado` char(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `beneficios`
--
INSERT INTO `beneficios` (`id`, `nombre`, `precio`, `estado`) VALUES
(1, 'Desayuno', '1.00', '0'),
(2, 'Refrigerio Mañana', '1.00', '1'),
(3, 'Almuerzo', '1.00', '1'),
(4, 'Cena Motivador', '1.00', '0'),
(5, 'Refrigerio Tarde', '1.00', '1'),
(6, 'frutas ', '1.00', '1');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `carrera`
--
CREATE TABLE `carrera` (
`id` int(11) NOT NULL,
`codigo` char(8) NOT NULL,
`nombre` varchar(50) NOT NULL,
`siglas` varchar(10) NOT NULL,
`facultad_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `carrera`
--
INSERT INTO `carrera` (`id`, `codigo`, `nombre`, `siglas`, `facultad_id`) VALUES
(1, '111111', 'Ingeniería Informática y Sistemas', 'EAPIIS', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `comensal`
--
CREATE TABLE `comensal` (
`id` int(11) NOT NULL,
`alumno_id` int(11) NOT NULL,
`beneficios_id` int(11) NOT NULL,
`semestre_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `consumo`
--
CREATE TABLE `consumo` (
`id` int(11) NOT NULL,
`fecha` datetime NOT NULL,
`tipo` char(1) NOT NULL,
`tarjeta_id` int(11) NOT NULL,
`periodo_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `facultad`
--
CREATE TABLE `facultad` (
`id` int(11) NOT NULL,
`nombre` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `facultad`
--
INSERT INTO `facultad` (`id`, `nombre`) VALUES
(1, 'Ingenieria');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `menu`
--
CREATE TABLE `menu` (
`id` int(11) NOT NULL,
`nombre` varchar(20) NOT NULL,
`orden` int(11) NOT NULL,
`icono` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `perfil`
--
CREATE TABLE `perfil` (
`id` int(11) NOT NULL,
`nombre` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `perfil`
--
INSERT INTO `perfil` (`id`, `nombre`) VALUES
(1, 'Administrador');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `periodo`
--
CREATE TABLE `periodo` (
`id` int(11) NOT NULL,
`fecha_inicio` date NOT NULL,
`fecha_fin` date NOT NULL,
`estado` char(1) NOT NULL,
`usuario_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `permiso`
--
CREATE TABLE `permiso` (
`id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`perfil_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `recarga`
--
CREATE TABLE `recarga` (
`id` int(11) NOT NULL,
`fecha` date NOT NULL,
`monto` decimal(10,2) NOT NULL,
`tarjeta_id` int(11) NOT NULL,
`periodo_id` int(11) NOT NULL,
`usuario_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `semestre`
--
CREATE TABLE `semestre` (
`id` int(11) NOT NULL,
`periodo` varchar(20) NOT NULL,
`fecha_inicio` date NOT NULL,
`fecha_fin` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `semestre`
--
INSERT INTO `semestre` (`id`, `periodo`, `fecha_inicio`, `fecha_fin`) VALUES
(1, 'SEMESTRE - 2016 - I', '2016-03-14', '2016-08-10'),
(2, 'SEMESTRE - 2016 - II', '2016-08-29', '2016-12-23'),
(3, 'SEMESTRE - 2017 - I', '2017-01-15', '2017-01-17'),
(4, 'SEMESTRE - 2017 - II', '2017-01-15', '2017-01-17'),
(5, 'SEMESTRE - 2015 - II', '2015-09-07', '2015-12-28');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `tarjeta`
--
CREATE TABLE `tarjeta` (
`id` int(11) NOT NULL,
`codigo` varchar(10) NOT NULL,
`alumno_id` int(11) NOT NULL,
`fecha_emision` datetime NOT NULL,
`estado` char(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `tarjeta`
--
INSERT INTO `tarjeta` (`id`, `codigo`, `alumno_id`, `fecha_emision`, `estado`) VALUES
(1, '111111', 1, '2017-01-06 00:00:00', '0'),
(2, '222222', 1, '2017-01-06 19:47:50', '0'),
(3, '333333', 1, '2017-01-06 20:01:52', '0'),
(4, '444444', 1, '2017-01-06 20:02:27', '1'),
(6, '666666', 1, '2017-01-06 20:03:17', '0'),
(11, '555555', 1, '2017-01-06 20:27:42', '0'),
(12, '777777', 1, '2017-01-06 20:29:36', '0');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuario`
--
CREATE TABLE `usuario` (
`id` int(11) NOT NULL,
`dni` char(8) NOT NULL,
`nombre` varchar(35) NOT NULL,
`apellido` varchar(35) NOT NULL,
`email` varchar(30) NOT NULL,
`password` varchar(50) NOT NULL,
`fecha_reg` date NOT NULL,
`estado` char(1) DEFAULT NULL,
`perfil_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `usuario`
--
INSERT INTO `usuario` (`id`, `dni`, `nombre`, `apellido`, `email`, `password`, `fecha_reg`, `estado`, `perfil_id`) VALUES
(1, '47050250', 'Gorge ', '<NAME>', '<EMAIL>', '123456789', '2017-01-06', '1', 1);
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `alumno`
--
ALTER TABLE `alumno`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `codigo` (`codigo`),
ADD UNIQUE KEY `dni` (`dni`),
ADD KEY `carrera_id` (`carrera_id`);
--
-- Indices de la tabla `beneficios`
--
ALTER TABLE `beneficios`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `carrera`
--
ALTER TABLE `carrera`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `codigo` (`codigo`),
ADD KEY `facultad_id` (`facultad_id`);
--
-- Indices de la tabla `comensal`
--
ALTER TABLE `comensal`
ADD PRIMARY KEY (`id`),
ADD KEY `alumno_id` (`alumno_id`),
ADD KEY `beneficios_id` (`beneficios_id`),
ADD KEY `semestre_id` (`semestre_id`);
--
-- Indices de la tabla `consumo`
--
ALTER TABLE `consumo`
ADD PRIMARY KEY (`id`),
ADD KEY `tarjeta_id` (`tarjeta_id`);
--
-- Indices de la tabla `facultad`
--
ALTER TABLE `facultad`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `menu`
--
ALTER TABLE `menu`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `perfil`
--
ALTER TABLE `perfil`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `periodo`
--
ALTER TABLE `periodo`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `permiso`
--
ALTER TABLE `permiso`
ADD PRIMARY KEY (`id`),
ADD KEY `perfil_id` (`perfil_id`),
ADD KEY `menu_id` (`menu_id`);
--
-- Indices de la tabla `recarga`
--
ALTER TABLE `recarga`
ADD PRIMARY KEY (`id`),
ADD KEY `periodo_id` (`periodo_id`),
ADD KEY `tarjeta_id` (`tarjeta_id`);
--
-- Indices de la tabla `semestre`
--
ALTER TABLE `semestre`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `tarjeta`
--
ALTER TABLE `tarjeta`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `codigo` (`codigo`),
ADD KEY `alumno_id` (`alumno_id`);
--
-- Indices de la tabla `usuario`
--
ALTER TABLE `usuario`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `dni` (`dni`),
ADD KEY `perfil_id` (`perfil_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `alumno`
--
ALTER TABLE `alumno`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `beneficios`
--
ALTER TABLE `beneficios`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT de la tabla `carrera`
--
ALTER TABLE `carrera`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `comensal`
--
ALTER TABLE `comensal`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `consumo`
--
ALTER TABLE `consumo`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `facultad`
--
ALTER TABLE `facultad`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `menu`
--
ALTER TABLE `menu`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `perfil`
--
ALTER TABLE `perfil`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `periodo`
--
ALTER TABLE `periodo`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `permiso`
--
ALTER TABLE `permiso`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `recarga`
--
ALTER TABLE `recarga`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `semestre`
--
ALTER TABLE `semestre`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `tarjeta`
--
ALTER TABLE `tarjeta`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT de la tabla `usuario`
--
ALTER TABLE `usuario`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `alumno`
--
ALTER TABLE `alumno`
ADD CONSTRAINT `alumno_ibfk_1` FOREIGN KEY (`carrera_id`) REFERENCES `carrera` (`id`);
--
-- Filtros para la tabla `carrera`
--
ALTER TABLE `carrera`
ADD CONSTRAINT `carrera_ibfk_1` FOREIGN KEY (`facultad_id`) REFERENCES `facultad` (`id`);
--
-- Filtros para la tabla `comensal`
--
ALTER TABLE `comensal`
ADD CONSTRAINT `comensal_ibfk_1` FOREIGN KEY (`alumno_id`) REFERENCES `alumno` (`id`),
ADD CONSTRAINT `comensal_ibfk_2` FOREIGN KEY (`beneficios_id`) REFERENCES `beneficios` (`id`),
ADD CONSTRAINT `comensal_ibfk_3` FOREIGN KEY (`semestre_id`) REFERENCES `semestre` (`id`);
--
-- Filtros para la tabla `consumo`
--
ALTER TABLE `consumo`
ADD CONSTRAINT `consumo_ibfk_1` FOREIGN KEY (`tarjeta_id`) REFERENCES `tarjeta` (`id`);
--
-- Filtros para la tabla `permiso`
--
ALTER TABLE `permiso`
ADD CONSTRAINT `permiso_ibfk_1` FOREIGN KEY (`perfil_id`) REFERENCES `perfil` (`id`),
ADD CONSTRAINT `permiso_ibfk_2` FOREIGN KEY (`menu_id`) REFERENCES `menu` (`id`);
--
-- Filtros para la tabla `recarga`
--
ALTER TABLE `recarga`
ADD CONSTRAINT `recarga_ibfk_1` FOREIGN KEY (`periodo_id`) REFERENCES `periodo` (`id`),
ADD CONSTRAINT `recarga_ibfk_2` FOREIGN KEY (`tarjeta_id`) REFERENCES `tarjeta` (`id`);
--
-- Filtros para la tabla `tarjeta`
--
ALTER TABLE `tarjeta`
ADD CONSTRAINT `tarjeta_ibfk_1` FOREIGN KEY (`alumno_id`) REFERENCES `alumno` (`id`);
--
-- Filtros para la tabla `usuario`
--
ALTER TABLE `usuario`
ADD CONSTRAINT `usuario_ibfk_1` FOREIGN KEY (`perfil_id`) REFERENCES `perfil` (`id`);
/*!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>database/bodycare.sql
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 03, 2020 at 10:16 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.3
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: `bodycare`
--
-- --------------------------------------------------------
--
-- Table structure for table `barang`
--
CREATE TABLE `barang` (
`id_barang` varchar(15) NOT NULL,
`nama_barang` varchar(20) NOT NULL,
`jumlah` int(3) NOT NULL,
`harga` int(8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `dokter`
--
CREATE TABLE `dokter` (
`nama_dokter` varchar(20) NOT NULL,
`email_dokter` varchar(15) NOT NULL,
`password` varchar(12) NOT NULL,
`spesialis` varchar(20) NOT NULL,
`foto_dokter` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `dokter`
--
INSERT INTO `dokter` (`nama_dokter`, `email_dokter`, `password`, `spesialis`, `foto_dokter`) VALUES
('<NAME>', '<EMAIL>', '123', 'Kesehatan Jasmani', 'dokter1.jpg'),
('<NAME>', '<EMAIL>', '123', 'Kesehatan Jantung', 'dokter2.jpg'),
('<NAME>', '<EMAIL>', '123', 'Kesehatan Masyarakat', 'dokter5.jpg'),
('<NAME>', '<EMAIL>', '123', 'Kebugaran', 'dokter3.jpg'),
('Tomoyama', '<EMAIL>', '123', 'Kesehatan Rohani', 'dokter4.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `konsultasi`
--
CREATE TABLE `konsultasi` (
`id_pesan` int(3) NOT NULL,
`pesan` varchar(255) NOT NULL,
`pengirim` varchar(255) NOT NULL,
`penerima` varchar(255) NOT NULL,
`email_member` varchar(15) NOT NULL,
`email_dokter` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `membeli`
--
CREATE TABLE `membeli` (
`tanggal_pembelian` date NOT NULL,
`id_penjualan` int(3) NOT NULL,
`email_member` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `member`
--
CREATE TABLE `member` (
`nama_member` varchar(20) NOT NULL,
`email_member` varchar(15) NOT NULL,
`password` varchar(12) NOT NULL,
`alamat` varchar(255) NOT NULL,
`berat_badan` int(3) NOT NULL,
`tinggi_badan` int(3) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `member`
--
INSERT INTO `member` (`nama_member`, `email_member`, `password`, `alamat`, `berat_badan`, `tinggi_badan`) VALUES
('sukijan', '<EMAIL>', '123', 'SUKBUI', 11, 211),
('sukijan', '<EMAIL>', '123', 'SUKBUI', 11, 211),
('suki', '<EMAIL>', '123', 'SUKBUI', 11, 211);
-- --------------------------------------------------------
--
-- Table structure for table `menjual`
--
CREATE TABLE `menjual` (
`id_penjualan` int(3) NOT NULL,
`tanggal_penjualan` date NOT NULL,
`total_pendapatan` int(8) NOT NULL,
`id_barang` varchar(15) NOT NULL,
`email_penjual` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `penjual`
--
CREATE TABLE `penjual` (
`nama_penjual` varchar(20) NOT NULL,
`email_penjual` varchar(15) NOT NULL,
`password` varchar(12) NOT NULL,
`alamat` varchar(255) NOT NULL,
`no_handphone` varchar(13) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `barang`
--
ALTER TABLE `barang`
ADD PRIMARY KEY (`id_barang`);
--
-- Indexes for table `dokter`
--
ALTER TABLE `dokter`
ADD PRIMARY KEY (`email_dokter`);
--
-- Indexes for table `konsultasi`
--
ALTER TABLE `konsultasi`
ADD PRIMARY KEY (`id_pesan`),
ADD KEY `email_dokter` (`email_dokter`),
ADD KEY `email_member` (`email_member`);
--
-- Indexes for table `membeli`
--
ALTER TABLE `membeli`
ADD KEY `membeli_ibfk_1` (`id_penjualan`),
ADD KEY `membeli_ibfk_2` (`email_member`);
--
-- Indexes for table `member`
--
ALTER TABLE `member`
ADD PRIMARY KEY (`email_member`);
--
-- Indexes for table `menjual`
--
ALTER TABLE `menjual`
ADD PRIMARY KEY (`id_penjualan`),
ADD KEY `menjual_ibfk_1` (`id_barang`),
ADD KEY `menjual_ibfk_2` (`email_penjual`);
--
-- Indexes for table `penjual`
--
ALTER TABLE `penjual`
ADD PRIMARY KEY (`email_penjual`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `konsultasi`
--
ALTER TABLE `konsultasi`
MODIFY `id_pesan` int(3) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `menjual`
--
ALTER TABLE `menjual`
MODIFY `id_penjualan` int(3) NOT NULL AUTO_INCREMENT;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `konsultasi`
--
ALTER TABLE `konsultasi`
ADD CONSTRAINT `konsultasi_ibfk_1` FOREIGN KEY (`email_dokter`) REFERENCES `dokter` (`email_dokter`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `konsultasi_ibfk_2` FOREIGN KEY (`email_member`) REFERENCES `member` (`email_member`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `membeli`
--
ALTER TABLE `membeli`
ADD CONSTRAINT `membeli_ibfk_1` FOREIGN KEY (`id_penjualan`) REFERENCES `menjual` (`id_penjualan`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `membeli_ibfk_2` FOREIGN KEY (`email_member`) REFERENCES `member` (`email_member`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `menjual`
--
ALTER TABLE `menjual`
ADD CONSTRAINT `menjual_ibfk_1` FOREIGN KEY (`id_barang`) REFERENCES `barang` (`id_barang`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `menjual_ibfk_2` FOREIGN KEY (`email_penjual`) REFERENCES `penjual` (`email_penjual`) ON DELETE CASCADE ON UPDATE CASCADE;
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 */;
|
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 1172.16.31.10
-- Generation Time: Mar 20, 2021 at 11:53 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.1
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: `abasvumi`
--
-- --------------------------------------------------------
--
-- Table structure for table `agents`
--
CREATE TABLE `agents` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '1=agents, 2=developers, 3=supplers ',
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `all_services`
--
CREATE TABLE `all_services` (
`id` bigint(20) UNSIGNED NOT NULL,
`external_user_id` bigint(20) UNSIGNED NOT NULL,
`service_category_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`description_bn` text COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) DEFAULT NULL,
`is_featured` int(11) DEFAULT 0,
`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 `all_services`
--
INSERT INTO `all_services` (`id`, `external_user_id`, `service_category_id`, `name`, `name_bn`, `description`, `description_bn`, `image`, `status`, `is_featured`, `created_at`, `updated_at`) VALUES
(11, 9, 4, 'Mobile', 'Mobile bn', ', lkhjnlkjk', 'jkhgbjkgkg', 'abasvumi/uploads/images/all_services/service_1616242554754361970.jpg', 1, 0, '2021-03-20 06:15:54', '2021-03-20 06:15:54'),
(12, 9, 1, 'Mobile template', 'Mobile bn', 'uyuiy', 'ouoy', 'abasvumi/uploads/images/all_services/service_1616242881455488391.jpg', 1, 0, '2021-03-20 06:17:53', '2021-03-20 06:21:21'),
(15, 9, 8, 'game_already_palyed_api.php', 'Mobile bn', 'jhjhg', 'hhhj', 'abasvumi/uploads/images/all_services/service_1616242835890337827.jpg', 1, 0, '2021-03-20 06:20:35', '2021-03-20 06:20:35');
-- --------------------------------------------------------
--
-- Table structure for table `amenitis`
--
CREATE TABLE `amenitis` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`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 `amenitis`
--
INSERT INTO `amenitis` (`id`, `name`, `bn_name`, `icon`, `created_at`, `updated_at`) VALUES
(1, 'Mobile', 'Mobile Bn', 'gfgf', '2021-03-12 03:40:13', '2021-03-12 03:40:13'),
(2, 'erere', 'rerere', 'rerere', '2021-03-19 00:35:58', '2021-03-19 00:35:58');
-- --------------------------------------------------------
--
-- Table structure for table `areas`
--
CREATE TABLE `areas` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`address_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `areas`
--
INSERT INTO `areas` (`id`, `name`, `bn_name`, `image`, `created_at`, `updated_at`, `address_bn`, `address`) VALUES
(1, 'Dhaka Apartments', 'ঢাকা এপার্টমেন্টস', 'img/fake/4a8bba70c17a7e28968382657de170c2.png', '2021-03-10 10:45:37', '2021-03-14 12:38:00', 'মিরপুর, ঢাকা', 'Mirpur, Dhaka'),
(2, 'Chattogram Apartments', 'চট্টগ্রাম এপার্টমেন্টস', 'abasvumi/uploads/images/area/education_161574591679272132.png', '2021-03-10 10:45:37', '2021-03-14 12:37:41', 'মিরপুর, ঢাকা', 'Mirpur, Dhaka'),
(3, 'Dhaka Popular Locations', 'ঢাকা পপুলার লোকেশন্স', 'img/fake/2ca4cc6db9304c80d9adeee11d0af068.png', '2021-03-10 10:45:37', '2021-03-14 12:32:18', 'fdfd', 'fdfdfdfdffffffffff'),
(4, 'Dhaka office', 'ঢাকা অফিস', 'img/fake/601900f2375c524489f4fa0d3d0fd16d.png', '2021-03-10 10:45:37', '2021-03-14 12:32:14', 'fdfd', 'fdf'),
(5, 'Dhaka Commercial', 'ঢাকা কমার্শিয়াল', 'img/fake/52096271f3eca0b8dddd65260eb00a88.png', '2021-03-10 10:45:37', '2021-03-14 12:38:12', 'মিরপুর, ঢাকা', 'Mirpur, Dhaka'),
(6, 'Mobile', 'fdf', 'abasvumi/uploads/images/area/education_16157469871559506474.png', '2021-03-14 12:36:27', '2021-03-14 12:36:27', 'fdfd', 'dfdfd');
-- --------------------------------------------------------
--
-- Table structure for table `area_guides`
--
CREATE TABLE `area_guides` (
`id` bigint(20) UNSIGNED NOT NULL,
`area_id` bigint(20) UNSIGNED DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`video_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`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 `area_guides`
--
INSERT INTO `area_guides` (`id`, `area_id`, `title`, `bn_title`, `description`, `bn_description`, `image`, `video_link`, `type`, `status`, `created_at`, `updated_at`) VALUES
(1, 5, 'Reprehenderit qui harum sed perferendis tenetur. Et repellat ab adipisci et excepturi non.', 'Ipsam qui accusantium similique. Ex qui id autem cupiditate qui eius.', 'Qui dicta ut quo. Quos et veniam ad itaque non. Explicabo doloribus voluptate molestiae earum et earum molestiae. Sit error cum voluptate sit quo odio. Excepturi ut minima quia vel impedit. Ut similique itaque explicabo. Quos rem perspiciatis dolore reiciendis. Ut earum sit odio aperiam dolorem. Sunt ea placeat omnis ea dolore. Excepturi officiis modi cupiditate molestiae culpa quia voluptatem. Sit illum rem rem voluptatum deserunt quae. Hic eos veniam quia laudantium vel pariatur.', 'Expedita dolore quibusdam et autem. Voluptatem et quos nisi minus fuga ut. Quis itaque voluptas incidunt ut natus sed expedita. Et voluptas placeat ut enim quo. Aut architecto omnis fuga possimus. Totam voluptatem qui fuga sit atque. Similique nihil amet et incidunt quis omnis. Beatae molestiae eos delectus mollitia error ea. Cupiditate doloribus ea quod illum tenetur dolores. Non quidem asperiores vero odit qui ullam.', 'img/fake/b91bbb6b4677e15ff9dbcbf9e79609fc.png', 'https://www.youtube.com/watch?v=errT-_IvDVg', '1', 1, '2021-03-10 10:45:44', '2021-03-10 10:45:44'),
(2, 4, 'Exercitationem dolores aut deserunt eius maiores ipsa distinctio. Nemo deserunt sequi ducimus.', 'Soluta dolor nihil et distinctio iusto. Ipsum officiis et est animi dolorem rerum tenetur.', 'Quas cum commodi sed aut consequatur commodi. Totam ut fugit est eaque. Quia sint dolores corrupti veritatis dicta. Ut qui blanditiis ut officiis assumenda velit ullam. Et provident cupiditate voluptatem. Voluptas consequatur molestiae et id quis voluptate atque. Amet vel velit quia est commodi laborum. Commodi et cumque et fuga. Enim id et laudantium autem. Non nostrum nobis optio et. Vel voluptatum dolore quaerat dignissimos aspernatur rerum iusto in. Sed cumque itaque cum ad et ipsa.', 'Aspernatur rerum nobis facere ut fugit atque voluptas. Porro illum ipsam expedita quam vel. Laborum ut autem expedita reiciendis eos. Fuga dignissimos animi ad perferendis atque alias repellendus. Saepe suscipit beatae dolor nobis. Ipsam sed quo a quia ex natus et. Ab necessitatibus unde enim nostrum qui et quidem consequatur. Tempora laboriosam dolorem commodi ipsum maiores.', 'img/fake/13ceb9f5e34c716990f5e65210c60f11.png', 'https://www.youtube.com/watch?v=errT-_IvDVg', '1', 1, '2021-03-10 10:45:44', '2021-03-10 10:45:44'),
(3, 4, 'Fugiat hic aliquid commodi maxime ut possimus eligendi. Id ea consequatur reiciendis non.', 'Ad quisquam natus sint et. Et odio autem sunt id. Voluptate et aliquam eveniet.', 'Magnam veniam eius est. Voluptas molestiae soluta dolorum odit. Nemo labore harum repellendus iure. Aut omnis quam aut nulla facilis. Fugit quis sed amet perferendis. Et porro voluptatem voluptate non quas. Nihil quia dicta non ut consectetur aliquid accusamus. Et est soluta excepturi perferendis iure accusantium. Dicta sed fuga id rerum quae quia enim. Repellat autem fugiat fugit autem. Neque architecto exercitationem et delectus magnam. Qui omnis doloremque dignissimos in neque ipsam.', 'Doloremque iste rerum placeat exercitationem. Voluptatem optio saepe alias. Minima nemo ipsa et adipisci hic maxime. Et omnis ex perferendis repellat. A molestias sed consequatur omnis error sed. Facere qui distinctio deleniti sed facilis. At sunt rem rerum. Sint minima molestiae autem et assumenda rerum qui. Repellendus cum consequatur iste quis culpa.', 'img/fake/04f46f177e6adb6af9e901e06040e0af.png', 'https://www.youtube.com/watch?v=errT-_IvDVg', '3', 1, '2021-03-10 10:45:44', '2021-03-10 10:45:44'),
(4, 1, 'Veritatis non possimus dignissimos aliquid. Aut aut fugit temporibus est incidunt.', 'Ullam ut aut distinctio iure. Sint iste aut et. Est ratione saepe nemo voluptas natus.', 'Pariatur natus numquam enim incidunt eum sit ab. Et neque dolores rerum esse corporis quae. Quam nesciunt quia ipsa sunt quis enim quia. Dignissimos vel quia dignissimos laudantium mollitia. Dignissimos quae ea expedita quia quos sapiente. Temporibus est explicabo tempore rerum. Molestias enim omnis ut recusandae tempora. Animi maiores et numquam recusandae velit. Unde velit qui enim pariatur in temporibus placeat.', 'Est illo voluptas eligendi perferendis non quia dolores. Consequuntur sed est vel et. Laudantium similique autem et vero. Officia in sunt amet sint reprehenderit nihil. Mollitia voluptas molestiae illo molestias. Ipsum quidem et est sunt et accusantium temporibus. Hic tempore harum quis quos aspernatur. Quia corrupti commodi voluptates consequatur molestiae est consequatur. Perspiciatis sunt quo reiciendis asperiores nam qui. Earum quo ex in.', 'img/fake/76cd093c238dab052685f12046a8251f.png', 'https://www.youtube.com/watch?v=errT-_IvDVg', '2', 1, '2021-03-10 10:45:44', '2021-03-10 10:45:44'),
(5, 5, 'Vel consequatur voluptatem quo sed. Non magni et possimus. Vel magnam dolorem ut quaerat.', 'Culpa omnis delectus repudiandae aut et. Quia et iste tempora hic dolores ut reiciendis.', 'Minima nihil reprehenderit ratione in. Facilis ullam nisi saepe et unde ipsa sint. Autem vel eum occaecati vel quo omnis ad. Minima ut quam id nesciunt voluptatem repellat voluptatem. Eligendi expedita quod aut esse. Dicta qui molestiae quaerat dolores. Ad impedit voluptas et in dolor explicabo officiis. Voluptate molestiae assumenda neque. Qui qui aliquam id qui sunt reiciendis eveniet. A saepe ullam praesentium mollitia quae sapiente. Quia non ut illum ipsa ex aut placeat.', 'Aut nihil explicabo eaque enim cum ipsum necessitatibus. Aut sint excepturi quo tempora qui quae. Quos qui quo animi sapiente ad. Non ab ipsam veniam tenetur. Iste magni tempora et culpa sed minus. Quibusdam possimus magnam incidunt autem blanditiis placeat. Quisquam in quas enim consectetur laboriosam. Iusto voluptas praesentium aut non voluptates quibusdam. Ipsam omnis provident quia voluptatem voluptas esse.', 'img/fake/f82c0fade4b4d97c3998aa0970cf9d35.png', 'https://www.youtube.com/watch?v=errT-_IvDVg', '3', 1, '2021-03-10 10:45:45', '2021-03-10 10:45:45');
-- --------------------------------------------------------
--
-- Table structure for table `blocks`
--
CREATE TABLE `blocks` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`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 `blocks`
--
INSERT INTO `blocks` (`id`, `name`, `bn_name`, `created_at`, `updated_at`) VALUES
(1, 'B', 'B', '2021-03-10 10:46:20', '2021-03-12 03:44:26'),
(2, 'D', 'D', '2021-03-10 10:46:20', '2021-03-12 10:40:48'),
(4, 'C', 'C', '2021-03-10 10:46:20', '2021-03-12 03:44:34'),
(5, 'A', 'A', '2021-03-10 10:46:20', '2021-03-12 10:41:02');
-- --------------------------------------------------------
--
-- Table structure for table `blogs`
--
CREATE TABLE `blogs` (
`id` bigint(20) UNSIGNED NOT NULL,
`category_id` bigint(20) UNSIGNED DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`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 `blogs`
--
INSERT INTO `blogs` (`id`, `category_id`, `title`, `bn_title`, `description`, `bn_description`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 1, 'Omnis illum ut a aut. Provident id doloribus architecto maxime commodi et.', 'Quia sed qui dolor quia quisquam aliquid ut. Explicabo vitae nihil nulla voluptatem.', 'Nulla asperiores vel iste atque esse. Perspiciatis et at autem sit ea rerum. Quia aperiam explicabo et sit quae occaecati. Et illo quaerat non hic. Optio in ea deserunt cumque. Rerum quidem cum adipisci dolorum. Magni molestiae et voluptas aliquid eos ducimus laboriosam. Sed impedit omnis aut assumenda nulla qui natus quo. Quae sit et facere enim. Omnis omnis et fugit. Similique iure repudiandae et ab rerum velit.', 'Ut amet excepturi ut deserunt qui numquam praesentium. Est quaerat repudiandae qui quibusdam pariatur. Dolorem maiores sit velit quo qui quos. Odio velit possimus iusto illo sunt maiores illo sunt. Voluptatem magnam necessitatibus repellat modi ratione. Occaecati aut eveniet tempore et odio iste adipisci. Quaerat ex vel molestiae perferendis dolor voluptatem harum. Quae similique atque quaerat eius explicabo. Excepturi vel officiis vitae sit rerum libero optio quibusdam. Nam et sint iste.', 'img/fake/8b5ef39833d4fafd1fc51e743f39e4b7.png', 1, '2021-03-10 10:46:19', '2021-03-10 10:46:19'),
(2, 5, 'Quo id aut fugit amet labore ut. Beatae a possimus laboriosam non sit. Quo earum et neque et.', 'Sint dolorem sint tenetur et nobis voluptatem deserunt. Porro sed numquam illum a harum.', 'Nulla dicta molestiae porro ex quia quia est ducimus. Voluptatibus quo dignissimos sed aut consectetur expedita dolores. Velit incidunt illum magnam ut. Provident ut et quo ut sunt. Est rerum et iste ut illo. Dolorem aspernatur quo nam harum id consectetur cupiditate. Molestiae omnis ipsum placeat repudiandae omnis voluptatem aliquid. Qui tempore distinctio molestias rerum est ab voluptatem. Nesciunt non eum doloremque voluptas vel. Et sed velit repellendus excepturi asperiores velit.', 'A dolor molestias commodi. Corrupti autem voluptatem ab quo. Nisi rerum odit perferendis nam voluptate facilis. A vel autem ipsam soluta harum distinctio. Voluptatem quasi voluptate officiis velit voluptatem quidem consequatur animi. Ab eos quo nulla itaque doloribus repellat voluptates. Aliquid incidunt sunt pariatur rerum et ut eveniet. Sed iusto et impedit eum officiis.', 'img/fake/5240e79aca9ff180a224578e029948a6.png', 1, '2021-03-10 10:46:19', '2021-03-10 10:46:19'),
(3, 3, 'Ut minus ut cupiditate odit. Dolorem harum et dolor architecto.', 'Praesentium ab sapiente aliquid. Impedit consequuntur earum repellat at natus expedita.', 'Enim et illo sit explicabo commodi facilis. Nobis laborum et porro ipsam nesciunt maxime. Est quia sapiente possimus aut nihil quibusdam. Corporis rerum excepturi eligendi consequatur. Exercitationem sit odio eos aliquid. Vitae nam dolores consequatur explicabo et consectetur. Debitis placeat rerum accusamus ea officia. Temporibus eos quidem repellendus totam expedita et ab. Quae corporis et fuga qui et est. Quaerat nihil ratione quo.', 'Molestiae pariatur ipsa aut iste totam provident. Et ea odio autem et quisquam libero aut. Quia facere dolorem possimus id molestiae ipsam. Inventore quae et aut totam quos debitis. Doloribus et eligendi doloremque explicabo eligendi. Est commodi excepturi rerum laudantium. Aspernatur aliquam et asperiores est reiciendis velit. Itaque dolorem sint aperiam et eligendi.', 'img/fake/b3f48a7fb59e9d65474d6d4b7c4cf62a.png', 1, '2021-03-10 10:46:20', '2021-03-13 03:16:19'),
(4, 3, 'vvv', 'bbb', 'Aspernatur quo qui qui deserunt inventore. Commodi et voluptas nobis tenetur incidunt. Nostrum vero in iste. Commodi necessitatibus deleniti delectus asperiores quas culpa. Optio ipsa magni neque quisquam id molestiae. Molestiae voluptatem et ad placeat fugit beatae. Sunt et voluptatem aut accusantium a consequuntur consequatur qui. Nostrum optio quod voluptas est ipsam.', 'Ducimus voluptatem laboriosam et quam et qui. Aliquam amet id quo nemo. Doloremque molestias minima minus. Quia ut saepe repudiandae ut est fugit qui. Suscipit voluptas quo dicta porro voluptas sit quisquam. Et sit veritatis hic velit. Dolor veritatis minus rerum quod. Rem dolorem et itaque. Esse est qui provident laborum. Perferendis ipsa quidem soluta ut modi ut vero ut.', 'abasvumi/uploads/images/blog/education_161562713956135729.jpg', 1, '2021-03-10 10:46:20', '2021-03-13 03:20:34'),
(5, 4, 'Natus illo incidunt consectetur et numquam omnis deserunt rem. Dolor ea magnam vitae quo.', 'Laborum omnis velit quis pariatur est. Ab enim perferendis fugit velit. Officiis harum sed nemo.', 'Recusandae sequi enim dicta sed est delectus perspiciatis culpa. Tenetur ipsa voluptate voluptates molestiae. Possimus alias omnis molestiae est praesentium voluptas minima. Velit rerum soluta dolores et. Non omnis iste voluptatem eum repellendus optio et. Quidem dolore illo sunt at quae unde. Incidunt ut et qui nesciunt occaecati ea cumque hic. Nisi omnis quo occaecati dicta molestiae. Occaecati quidem porro qui laborum dolorem. Nihil fuga est amet. Ducimus assumenda voluptatibus ut et.', 'At dicta et sit aut non adipisci maxime. Nostrum in expedita quibusdam error et similique. Natus officia accusantium mollitia odit velit est aut exercitationem. Animi repellat repellendus aut odit. Vel molestiae ea animi voluptatem consequatur nesciunt facilis. Nisi soluta reprehenderit ut officia qui saepe ut. Atque quasi aut eligendi doloribus dolore quis et. Id earum reprehenderit tempora tenetur repudiandae.', 'img/fake/f32dc82a6474ac30ea76e159cd2fa6bc.png', 1, '2021-03-10 10:46:20', '2021-03-10 10:46:20'),
(6, 2, 'sqqds', 'dsds', 'sds', 'dsdsds', 'abasvumi/uploads/images/blog/education_1615627253494077947.jpeg', 1, '2021-03-13 03:20:53', '2021-03-13 03:20:53');
-- --------------------------------------------------------
--
-- Table structure for table `brands`
--
CREATE TABLE `brands` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`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 `brands`
--
INSERT INTO `brands` (`id`, `name`, `name_bn`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Sit esse sint accusantium dolor non. Soluta et ipsam molestias placeat voluptatem accusantium.', 'Placeat illo et consequuntur ut adipisci consectetur cupiditate. Et harum quam expedita dolores.', 'img/fake/56395571954c264adcae32acfa15bac2.png', 1, '2021-03-10 10:45:54', '2021-03-10 10:45:54'),
(2, 'Et dolor vero illum laborum. Aliquam quia et ipsa. Accusantium rerum soluta odio nihil.', 'Ut est alias voluptatibus iusto nulla ea sint. Explicabo rem esse blanditiis.', 'img/fake/c3ebf46df94176de32ab5b3347ef24d7.png', 1, '2021-03-10 10:45:54', '2021-03-10 10:45:54'),
(3, 'Samsung', 'স্যামসাং', 'abasvumi/uploads/images/brand/video_1615622489785257341.jpeg', 1, '2021-03-10 10:45:54', '2021-03-13 02:01:29'),
(5, 'Sed aut earum impedit ullam repudiandae voluptas assumenda. Voluptas ipsam ipsa quo magni ut at.', 'Repellendus quia ad incidunt animi ea. Alias dicta non magnam nam asperiores quaerat nam minima.', 'img/fake/f23d0fecefe8923a37788c24cf8b5805.png', 1, '2021-03-10 10:45:55', '2021-03-10 10:45:55'),
(6, 'Mobile', 'dfdfd', 'abasvumi/uploads/images/brand/video_1615622510520673625.jpg', NULL, '2021-03-13 02:01:50', '2021-03-13 02:01:50');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`is_menu` int(11) NOT NULL DEFAULT 0,
`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 `categories`
--
INSERT INTO `categories` (`id`, `name`, `name_bn`, `status`, `is_menu`, `created_at`, `updated_at`) VALUES
(1, 'Dicta ad.', 'Enim cum.', 1, 1, '2021-03-10 10:45:55', '2021-03-13 02:15:09'),
(2, 'Et atque.', 'Qui sint.', 1, 0, '2021-03-10 10:45:56', '2021-03-10 10:45:56'),
(3, 'Vitae.', 'Illum.', 1, 0, '2021-03-10 10:45:56', '2021-03-10 10:45:56'),
(4, 'Dicta est.', 'Nulla.', 1, 0, '2021-03-10 10:45:56', '2021-03-10 10:45:56'),
(5, 'Eos.', 'Qui sunt.', 1, 0, '2021-03-10 10:45:56', '2021-03-10 10:45:56');
-- --------------------------------------------------------
--
-- Table structure for table `companies`
--
CREATE TABLE `companies` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`mobile_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`mobile_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`favicon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`owner_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`md_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ceo_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`website_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`telephone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`facebook` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`twitter` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`pinterest` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`linkedin` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`youtube` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`instagram` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`privacy_policy` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`terms_condition` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `developers`
--
CREATE TABLE `developers` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `dhaka_neigbors`
--
CREATE TABLE `dhaka_neigbors` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`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 `dhaka_neigbors`
--
INSERT INTO `dhaka_neigbors` (`id`, `name`, `name_bn`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Id.', 'Aut quia.', 1, '2021-03-10 10:45:57', '2021-03-10 10:45:57'),
(2, 'Eligendi.', 'Vel nisi.', 1, '2021-03-10 10:45:57', '2021-03-10 10:45:57'),
(3, 'fgfgfg', 'gfgfgfgf', 1, '2021-03-10 10:45:57', '2021-03-13 04:51:27'),
(4, 'Quia ipsa.', 'Iste.', 1, '2021-03-10 10:45:58', '2021-03-10 10:45:58'),
(5, 'Numquam.', 'Qui.', 1, '2021-03-10 10:45:58', '2021-03-10 10:45:58'),
(6, 'dfdf', 'dfdfd', NULL, '2021-03-13 04:50:49', '2021-03-13 04:50:49'),
(7, 'dfdfd', 'fdfdfdfd', NULL, '2021-03-13 04:51:02', '2021-03-13 04:51:02');
-- --------------------------------------------------------
--
-- Table structure for table `dhaka_neigbor_areas`
--
CREATE TABLE `dhaka_neigbor_areas` (
`id` bigint(20) UNSIGNED NOT NULL,
`dhaka_neigbor_id` bigint(20) UNSIGNED NOT NULL,
`area_id` bigint(20) UNSIGNED NOT NULL,
`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 `dhaka_neigbor_areas`
--
INSERT INTO `dhaka_neigbor_areas` (`id`, `dhaka_neigbor_id`, `area_id`, `created_at`, `updated_at`) VALUES
(1, 2, 2, '2021-03-13 05:35:09', '2021-03-13 05:35:09'),
(2, 2, 2, '2021-03-13 05:36:36', '2021-03-13 05:36:36');
-- --------------------------------------------------------
--
-- Table structure for table `districts`
--
CREATE TABLE `districts` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`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 `districts`
--
INSERT INTO `districts` (`id`, `division_id`, `name`, `bn_name`, `url`, `lat`, `lon`, `slug`, `status`, `created_at`, `updated_at`) VALUES
(1, 1, 'Comilla', 'কুমিল্লা', 'www.comilla.gov.bd', '23.4682747', '91.1788135', 'comilla', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(2, 1, 'Feni', 'ফেনী', 'www.feni.gov.bd', '23.023231', '91.3840844', 'feni', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(3, 1, 'Brahmanbaria', 'ব্রাহ্মণবাড়িয়া', 'www.brahmanbaria.gov.bd', '23.9570904', '91.1119286', 'brahmanbaria', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(4, 1, 'Rangamati', 'রাঙ্গামাটি', 'www.rangamati.gov.bd', NULL, NULL, 'rangamati', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(5, 1, 'Noakhali', 'নোয়াখালী', 'www.noakhali.gov.bd', '22.869563', '91.099398', 'noakhali', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(6, 1, 'Chandpur', 'চাঁদপুর', 'www.chandpur.gov.bd', '23.2332585', '90.6712912', 'chandpur', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(7, 1, 'Lakshmipur', 'লক্ষ্মীপুর', 'www.lakshmipur.gov.bd', '22.942477', '90.841184', 'lakshmipur', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(8, 1, 'Chattogram', 'চট্টগ্রাম', 'www.chittagong.gov.bd', '22.335109', '91.834073', 'chattogram', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(9, 1, 'Coxsbazar', 'কক্সবাজার', 'www.coxsbazar.gov.bd', NULL, NULL, 'coxsbazar', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(10, 1, 'Khagrachhari', 'খাগড়াছড়ি', 'www.khagrachhari.gov.bd', '23.119285', '91.984663', 'khagrachhari', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(11, 1, 'Bandarban', 'বান্দরবান', 'www.bandarban.gov.bd', '22.1953275', '92.2183773', 'bandarban', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(12, 2, 'Sirajganj', 'সিরাজগঞ্জ', 'www.sirajganj.gov.bd', '24.4533978', '89.7006815', 'sirajganj', 1, '2021-03-10 10:44:38', '2021-03-10 10:44:38'),
(13, 2, 'Pabna', 'পাবনা', 'www.pabna.gov.bd', '23.998524', '89.233645', 'pabna', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(14, 2, 'Bogura', 'বগুড়া', 'www.bogra.gov.bd', '24.8465228', '89.377755', 'bogura', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(15, 2, 'Rajshahi', 'রাজশাহী', 'www.rajshahi.gov.bd', NULL, NULL, 'rajshahi', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(16, 2, 'Natore', 'নাটোর', 'www.natore.gov.bd', '24.420556', '89.000282', 'natore', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(17, 2, 'Joypurhat', 'জয়পুরহাট', 'www.joypurhat.gov.bd', NULL, NULL, 'joypurhat', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(18, 2, 'Chapainawabganj', 'চাঁপাইনবাবগঞ্জ', 'www.chapainawabganj.gov.bd', '24.5965034', '88.2775122', 'chapainawabganj', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(19, 2, 'Naogaon', 'নওগাঁ', 'www.naogaon.gov.bd', NULL, NULL, 'naogaon', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(20, 3, 'Jashore', 'যশোর', 'www.jessore.gov.bd', '23.16643', '89.2081126', 'jashore', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(21, 3, 'Satkhira', 'সাতক্ষীরা', 'www.satkhira.gov.bd', NULL, NULL, 'satkhira', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(22, 3, 'Meherpur', 'মেহেরপুর', 'www.meherpur.gov.bd', '23.762213', '88.631821', 'meherpur', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(23, 3, 'Narail', 'নড়াইল', 'www.narail.gov.bd', '23.172534', '89.512672', 'narail', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(24, 3, 'Chuadanga', 'চুয়াডাঙ্গা', 'www.chuadanga.gov.bd', '23.6401961', '88.841841', 'chuadanga', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(25, 3, 'Kushtia', 'কুষ্টিয়া', 'www.kushtia.gov.bd', '23.901258', '89.120482', 'kushtia', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(26, 3, 'Magura', 'মাগুরা', 'www.magura.gov.bd', '23.487337', '89.419956', 'magura', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(27, 3, 'Khulna', 'খুলনা', 'www.khulna.gov.bd', '22.815774', '89.568679', 'khulna', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(28, 3, 'Bagerhat', 'বাগেরহাট', 'www.bagerhat.gov.bd', '22.651568', '89.785938', 'bagerhat', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(29, 3, 'Jhenaidah', 'ঝিনাইদহ', 'www.jhenaidah.gov.bd', '23.5448176', '89.1539213', 'jhenaidah', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(30, 4, 'Jhalakathi', 'ঝালকাঠি', 'www.jhalakathi.gov.bd', NULL, NULL, 'jhalakathi', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(31, 4, 'Patuakhali', 'পটুয়াখালী', 'www.patuakhali.gov.bd', '22.3596316', '90.3298712', 'patuakhali', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(32, 4, 'Pirojpur', 'পিরোজপুর', 'www.pirojpur.gov.bd', NULL, NULL, 'pirojpur', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(33, 4, 'Barisal', 'বরিশাল', 'www.barisal.gov.bd', NULL, NULL, 'barisal', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(34, 4, 'Bhola', 'ভোলা', 'www.bhola.gov.bd', '22.685923', '90.648179', 'bhola', 1, '2021-03-10 10:44:39', '2021-03-10 10:44:39'),
(35, 4, 'Barguna', 'বরগুনা', 'www.barguna.gov.bd', NULL, NULL, 'barguna', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(36, 5, 'Sylhet', 'সিলেট', 'www.sylhet.gov.bd', '24.8897956', '91.8697894', 'sylhet', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(37, 5, 'Moulvibazar', 'মৌলভীবাজার', 'www.moulvibazar.gov.bd', '24.482934', '91.777417', 'moulvibazar', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(38, 5, 'Habiganj', 'হবিগঞ্জ', 'www.habiganj.gov.bd', '24.374945', '91.41553', 'habiganj', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(39, 5, 'Sunamganj', 'সুনামগঞ্জ', 'www.sunamganj.gov.bd', '25.0658042', '91.3950115', 'sunamganj', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(40, 6, 'Narsingdi', 'নরসিংদী', 'www.narsingdi.gov.bd', '23.932233', '90.71541', 'narsingdi', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(41, 6, 'Gazipur', 'গাজীপুর', 'www.gazipur.gov.bd', '24.0022858', '90.4264283', 'gazipur', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(42, 6, 'Shariatpur', 'শরীয়তপুর', 'www.shariatpur.gov.bd', NULL, NULL, 'shariatpur', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(43, 6, 'Narayanganj', 'নারায়ণগঞ্জ', 'www.narayanganj.gov.bd', '23.63366', '90.496482', 'narayanganj', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(44, 6, 'Tangail', 'টাঙ্গাইল', 'www.tangail.gov.bd', NULL, NULL, 'tangail', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(45, 6, 'Kishoreganj', 'কিশোরগঞ্জ', 'www.kishoreganj.gov.bd', '24.444937', '90.776575', 'kishoreganj', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(46, 6, 'Manikganj', 'মানিকগঞ্জ', 'www.manikganj.gov.bd', NULL, NULL, 'manikganj', 1, '2021-03-10 10:44:40', '2021-03-10 10:44:40'),
(47, 6, 'Dhaka', 'ঢাকা', 'www.dhaka.gov.bd', '23.7115253', '90.4111451', 'dhaka', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(48, 6, 'Munshiganj', 'মুন্সিগঞ্জ', 'www.munshiganj.gov.bd', NULL, NULL, 'munshiganj', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(49, 6, 'Rajbari', 'রাজবাড়ী', 'www.rajbari.gov.bd', '23.7574305', '89.6444665', 'rajbari', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(50, 6, 'Madaripur', 'মাদারীপুর', 'www.madaripur.gov.bd', '23.164102', '90.1896805', 'madaripur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(51, 6, 'Gopalganj', 'গোপালগঞ্জ', 'www.gopalganj.gov.bd', '23.0050857', '89.8266059', 'gopalganj', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(52, 6, 'Faridpur', 'ফরিদপুর', 'www.faridpur.gov.bd', '23.6070822', '89.8429406', 'faridpur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(53, 7, 'Panchagarh', 'পঞ্চগড়', 'www.panchagarh.gov.bd', '26.3411', '88.5541606', 'panchagarh', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(54, 7, 'Dinajpur', 'দিনাজপুর', 'www.dinajpur.gov.bd', '25.6217061', '88.6354504', 'dinajpur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(55, 7, 'Lalmonirhat', 'লালমনিরহাট', 'www.lalmonirhat.gov.bd', NULL, NULL, 'lalmonirhat', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(56, 7, 'Nilphamari', 'নীলফামারী', 'www.nilphamari.gov.bd', '25.931794', '88.856006', 'nilphamari', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(57, 7, 'Gaibandha', 'গাইবান্ধা', 'www.gaibandha.gov.bd', '25.328751', '89.528088', 'gaibandha', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(58, 7, 'Thakurgaon', 'ঠাকুরগাঁও', 'www.thakurgaon.gov.bd', '26.0336945', '88.4616834', 'thakurgaon', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(59, 7, 'Rangpur', 'রংপুর', 'www.rangpur.gov.bd', '25.7558096', '89.244462', 'rangpur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(60, 7, 'Kurigram', 'কুড়িগ্রাম', 'www.kurigram.gov.bd', '25.805445', '89.636174', 'kurigram', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(61, 8, 'Sherpur', 'শেরপুর', 'www.sherpur.gov.bd', '25.0204933', '90.0152966', 'sherpur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(62, 8, 'Mymensingh', 'ময়মনসিংহ', 'www.mymensingh.gov.bd', NULL, NULL, 'mymensingh', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(63, 8, 'Jamalpur', 'জামালপুর', 'www.jamalpur.gov.bd', '24.937533', '89.937775', 'jamalpur', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(64, 8, 'Netrokona', 'নেত্রকোণা', 'www.netrokona.gov.bd', '24.870955', '90.727887', 'netrokona', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41');
-- --------------------------------------------------------
--
-- Table structure for table `divisions`
--
CREATE TABLE `divisions` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`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 `divisions`
--
INSERT INTO `divisions` (`id`, `name`, `bn_name`, `slug`, `url`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Chattagram', 'চট্টগ্রাম', 'chattagram', 'www.chittagongdiv.gov.bd', 1, '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(2, 'Rajshahi', 'রাজশাহী', 'rajshahi', 'www.rajshahidiv.gov.bd', 1, '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(3, 'Khulna', 'খুলনা', 'khulna', 'www.khulnadiv.gov.bd', 1, '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(4, 'Barisal', 'বরিশাল', 'barisal', 'www.barisaldiv.gov.bd', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(5, 'Sylhet', 'সিলেট', 'sylhet', 'www.sylhetdiv.gov.bd', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(6, 'Dhaka', 'ঢাকা', 'dhaka', 'www.dhakadiv.gov.bd', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(7, 'Rangpur', 'রংপুর', 'rangpur', 'www.rangpurdiv.gov.bd', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37'),
(8, 'Mymensingh', 'ময়মনসিংহ', 'mymensingh', 'www.mymensinghdiv.gov.bd', 1, '2021-03-10 10:44:37', '2021-03-10 10:44:37');
-- --------------------------------------------------------
--
-- Table structure for table `educational_institutes`
--
CREATE TABLE `educational_institutes` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`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 `educational_institutes`
--
INSERT INTO `educational_institutes` (`id`, `division_id`, `district_id`, `thana_id`, `name`, `bn_name`, `description`, `bn_description`, `lat`, `lon`, `type`, `image`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 'Mobile', 'df<PASSWORD>', '<PASSWORD>', 'fdf', '4534343', '343434343', '1', 'abasvumi/uploads/images/education/education_1615660328394360255.png', '2021-03-13 12:32:08', '2021-03-13 12:32:08'),
(2, 1, 1, 1, 'Mobilefdf', 'fdfdfd', 'dfdfd', 'fdfdfd', '34454545', '4324234334', '1', 'abasvumi/uploads/images/education/education_1615660383626690179.png', '2021-03-13 12:33:03', '2021-03-13 12:33:03');
-- --------------------------------------------------------
--
-- Table structure for table `external_users`
--
CREATE TABLE `external_users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_type` int(11) DEFAULT NULL COMMENT '1=agents, 2=developers, 3=supplers',
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`biography` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`biography_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`facebook_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`twitter_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`linkedin_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 0,
`is_featured` int(11) NOT NULL DEFAULT 0,
`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 `external_users`
--
INSERT INTO `external_users` (`id`, `name`, `name_bn`, `email`, `password`, `phone`, `address`, `user_type`, `image`, `address_bn`, `biography`, `biography_bn`, `facebook_link`, `twitter_link`, `linkedin_link`, `status`, `is_featured`, `created_at`, `updated_at`) VALUES
(1, 'Ms. <NAME>', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233085', 'Et est minus tenetur quia. Fugiat enim nulla aut. Qui ratione expedita est hic aut.', 3, '', 'Consequuntur perspiciatis soluta est nesciunt. Laborum dolor alias quibusdam dicta non et.', 'Et est minus tenetur quia. Fugiat enim nulla aut. Qui ratione expedita est hic aut.Et est minus tenetur quia. Fugiat enim nulla aut. Qui ratione expedita est hic aut.\r\n<NAME>\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Etiamrisus tortor, accumsan\r\n\r\navatar-2\r\n<NAME>\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Etiamrisus tortor, accumsan', 'Et est minus tenetur quia. Fugiat enim nulla aut. Qui ratione expedita est hic aut.Et est minus tenetur quia. Fugiat enim nulla aut. Qui ratione expedita est hic aut.\r\n<NAME>\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Etiamrisus tortor, accumsan\r\n\r\navatar-2\r\n<NAME>\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Etiamrisus tortor, accumsan', 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:35', '2021-03-10 10:44:35'),
(2, '<NAME>', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233016', 'Aliquam sed maiores dolorem. Officia culpa repellendus eaque fugiat quia quia.', 3, '', 'Placeat consectetur aut optio in ut cum. Voluptatem eos tenetur aut reiciendis.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:35', '2021-03-10 10:44:35'),
(3, '<NAME>', NULL, 'amara4<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233059', 'Ex ipsam eos placeat qui. Qui incidunt et ut qui et quas. Ut labore voluptatem ex.', 1, '', 'Blanditiis eum ea voluptatum autem rerum vel. Illum illo et facilis. Nulla qui illo ratione.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:35', '2021-03-10 10:44:35'),
(4, '<NAME>.', 'uyuyi', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233073', 'Ut corrupti animi qui. Nisi in in et fuga veniam. Aut error rerum doloribus eos.', 2, 'abasvumi/uploads/images/ExternalUser/1616249711.jpg', 'Sit laborum sed provident voluptas velit voluptatem doloremque. Ex ut eius distinctio et nobis aut.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 1, '2021-03-10 10:44:36', '2021-03-20 08:15:11'),
(5, '<NAME>', 'fd', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233079', 'Illum quidem et dolores. Reprehenderit dolorum ut delectus ratione eligendi.', 1, 'abasvumi/uploads/images/ExternalUser/1615753397.png', 'Dolorem iste animi saepe aut. Quasi odio ex ab provident fuga.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 1, '2021-03-10 10:44:36', '2021-03-14 14:23:17'),
(6, '<NAME>', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233091', 'Dolorem sint maiores culpa velit. Ratione voluptas et qui. Est suscipit aperiam tempore.', 2, '', 'Ipsam incidunt maiores deleniti est et est nihil dolorem. Recusandae corrupti quo fugit nihil.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(7, '<NAME>', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233092', 'Omnis nihil aspernatur eos eum. Quod temporibus dolorum eum eum perferendis. Ea omnis et neque est.', 3, '', 'Quo quis aut est laudantium quos laboriosam quas. Rem et unde qui enim.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 1, '2021-03-10 10:44:36', '2021-03-12 15:38:08'),
(8, 'Dr. <NAME> Sr.', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233021', 'Facere excepturi quia dolores. Repellat id eos omnis ullam. Nulla neque inventore harum voluptas.', 2, '', 'Veniam aut rerum et et. Provident perspiciatis quo officiis. Quam autem et vel voluptate.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(9, '<NAME>', 'টায়ারেল বাহরিনগার', '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233024', 'Natus odio debitis corporis et. Debitis id aut qui et illum dolores rerum. Ex itaque ut vero.', 1, 'abasvumi/uploads/images/ExternalUser/1615753252.png', 'Odio eligendi veritatis labore libero et. Occaecati corrupti sunt non nisi eaque.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 1, 1, '2021-03-10 10:44:36', '2021-03-15 11:40:09'),
(10, '<NAME>', NULL, '<EMAIL>', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '01730233059', 'Ratione recusandae ipsa velit voluptate corrupti. Aut earum nihil fugiat doloribus qui a.', 3, '', 'Unde architecto sit aut eos. Omnis doloremque ad commodi ut.', NULL, NULL, 'https://facebook.com', 'https://twitter.com', 'https://linkedin.com', 0, 0, '2021-03-10 10:44:36', '2021-03-10 10:44:36');
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(100) 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;
-- --------------------------------------------------------
--
-- Table structure for table `hospitals`
--
CREATE TABLE `hospitals` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `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 for table `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_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2020_01_08_152553_create_service_types_table', 1),
(6, '2020_12_12_011948_create_roles_table', 1),
(7, '2020_12_13_044332_create_agents_table', 1),
(8, '2020_12_13_045137_create_developers_table', 1),
(9, '2020_12_13_045248_create_divisions_table', 1),
(10, '2020_12_13_045403_create_districts_table', 1),
(11, '2020_12_13_045601_create_thanas_table', 1),
(12, '2020_12_13_045910_create_educational_institutes_table', 1),
(13, '2020_12_13_050043_create_restaurants_table', 1),
(14, '2020_12_13_050113_create_hospitals_table', 1),
(15, '2020_12_13_050134_create_parks_table', 1),
(16, '2020_12_13_050147_create_videos_table', 1),
(17, '2020_12_13_050745_create_areas_table', 1),
(18, '2020_12_13_050819_create_area_guides_table', 1),
(19, '2020_12_13_050841_create_blocks_table', 1),
(20, '2020_12_13_051014_create_amenitis_table', 1),
(21, '2020_12_13_051156_create_services_table', 1),
(22, '2020_12_13_051216_create_categories_table', 1),
(23, '2020_12_13_051240_create_blogs_table', 1),
(24, '2020_12_13_051342_create_testimonials_table', 1),
(25, '2020_12_13_051402_create_companies_table', 1),
(26, '2020_12_13_051500_create_real_estate_solutions_table', 1),
(27, '2020_12_15_072544_create_religious_institutions_table', 1),
(28, '2021_01_02_091425_add_bn_name_to_amenitis_table', 1),
(29, '2021_01_22_172650_create_suppliers_table', 1),
(30, '2021_02_03_121825_create_serviceimages_table', 1),
(31, '2021_02_24_155034_create_external_users_table', 1),
(32, '2021_02_24_161020_create_properties_table', 1),
(33, '2021_02_24_161031_create_prosucts_table', 1),
(34, '2021_02_24_163940_create_product_categories_table', 1),
(35, '2021_02_24_164114_create_all_services_table', 1),
(36, '2021_02_24_164206_create_units_table', 1),
(37, '2021_02_24_164322_create_service_categories_table', 1),
(38, '2021_02_26_181622_create_property_images_table', 1),
(39, '2021_03_01_172114_create_products_table', 1),
(40, '2021_03_02_190202_create_upazilas_table', 1),
(41, '2021_03_02_192001_create_property_locations_table', 1),
(42, '2021_03_04_163438_create_settings_table', 1),
(43, '2021_03_04_163553_create_dhaka_neigbors_table', 1),
(44, '2021_03_04_163620_create_popular_places_table', 1),
(45, '2021_03_04_163935_create_subscribes_table', 1),
(46, '2021_03_05_065436_create_brands_table', 1),
(47, '2021_03_07_165020_create_dhaka_neigbor_areas_table', 1),
(48, '2021_03_12_100144_create_property_types_table', 2);
-- --------------------------------------------------------
--
-- Table structure for table `parks`
--
CREATE TABLE `parks` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `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;
-- --------------------------------------------------------
--
-- Table structure for table `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;
--
-- Dumping data for table `personal_access_tokens`
--
INSERT INTO `personal_access_tokens` (`id`, `tokenable_type`, `tokenable_id`, `name`, `token`, `abilities`, `last_used_at`, `created_at`, `updated_at`) VALUES
(1, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-13 12:33:32', '2021-03-13 12:22:58', '2021-03-13 12:33:32'),
(2, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-14 14:20:53', '2021-03-13 12:36:18', '2021-03-14 14:20:53'),
(3, 'App\\Models\\ExternalUser', 5, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-14 14:53:59', '2021-03-14 14:22:29', '2021-03-14 14:53:59'),
(4, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-15 10:23:03', '2021-03-15 10:23:03', '2021-03-15 10:23:03'),
(5, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-15 10:35:16', '2021-03-15 10:34:10', '2021-03-15 10:35:16'),
(6, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>342', '[\"*\"]', '2021-03-15 10:35:49', '2021-03-15 10:35:48', '2021-03-15 10:35:49'),
(7, 'App\\Models\\ExternalUser', 9, 'admin', '8a24792e21bda0f1fb4a125f60a2057bd58d47976700b94fd01e56a83304ae36', '[\"*\"]', '2021-03-15 10:43:08', '2021-03-15 10:38:22', '2021-03-15 10:43:08'),
(8, 'App\\Models\\ExternalUser', 9, 'admin', 'a6cc8385464c9913fa70865c2b92c0190802973d8110493a29aa6562c8f2d59b', '[\"*\"]', '2021-03-15 10:45:49', '2021-03-15 10:45:48', '2021-03-15 10:45:49'),
(9, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>b<PASSWORD>66<PASSWORD>bd66fb0e4386a525c9dd6e899f', '[\"*\"]', '2021-03-15 10:47:24', '2021-03-15 10:47:23', '2021-03-15 10:47:24'),
(10, 'App\\Models\\ExternalUser', 9, 'admin', 'f342c6ad1e31008f5ba2778b69caff3c781d18496bbab01<PASSWORD>c387e471051dc', '[\"*\"]', '2021-03-17 20:47:31', '2021-03-15 10:48:10', '2021-03-17 20:47:31'),
(11, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>bb<PASSWORD>', '[\"*\"]', '2021-03-19 07:13:00', '2021-03-19 00:30:58', '2021-03-19 07:13:00'),
(12, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 07:15:02', '2021-03-19 07:15:02'),
(13, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>ff36b6fa<PASSWORD>effb<PASSWORD>e<PASSWORD>1d3<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 07:15:13', '2021-03-19 07:15:13'),
(14, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>9db9d2f91f7875155de1f5afea0044eaa0df98154027bd8d5a6dfc', '[\"*\"]', NULL, '2021-03-19 07:15:58', '2021-03-19 07:15:58'),
(15, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 07:16:05', '2021-03-19 07:16:05'),
(16, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 07:16:14', '2021-03-19 07:16:14'),
(17, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', '2021-03-19 11:17:37', '2021-03-19 07:16:31', '2021-03-19 11:17:37'),
(18, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>f0e8f7f596f63885ddb87caaf35ea740129013b4c<PASSWORD>e669<PASSWORD>ed6a', '[\"*\"]', '2021-03-19 11:30:06', '2021-03-19 11:17:49', '2021-03-19 11:30:06'),
(19, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 11:31:35', '2021-03-19 11:31:35'),
(20, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 11:31:40', '2021-03-19 11:31:40'),
(21, 'App\\Models\\ExternalUser', 9, 'admin', '<PASSWORD>', '[\"*\"]', NULL, '2021-03-19 11:32:45', '2021-03-19 11:32:45'),
(22, 'App\\Models\\ExternalUser', 9, 'admin', '58324825a91a6bdaf040f0f792a23bf0ab426f757f5010e8f4fb38e2d6451c5c', '[\"*\"]', '2021-03-20 08:11:08', '2021-03-19 11:33:03', '2021-03-20 08:11:08'),
(23, 'App\\Models\\ExternalUser', 4, 'admin', 'a63f4595b<PASSWORD>421ce66b412c1bc8fdf1bacd17dfa34e07296f624a68ed410eb', '[\"*\"]', '2021-03-20 16:32:11', '2021-03-20 08:14:36', '2021-03-20 16:32:11');
-- --------------------------------------------------------
--
-- Table structure for table `popular_places`
--
CREATE TABLE `popular_places` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`property` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`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 `popular_places`
--
INSERT INTO `popular_places` (`id`, `name`, `name_bn`, `property`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Dhaka', 'Dhaka Bn', '735', 'abasvumi/uploads/img/pro_5.jpg', 1, '2021-03-10 10:46:07', '2021-03-10 10:46:07'),
(2, 'Rajshahi', 'Rajshahi', '829', 'abasvumi/uploads/img/pro_4.jpg', 1, '2021-03-10 10:46:07', '2021-03-10 10:46:07'),
(3, 'Chittagong', 'Chittagong Bn', '141', 'abasvumi/uploads/img/pro_3.jpg', 1, '2021-03-10 10:46:07', '2021-03-10 10:46:07'),
(4, 'Sylhet', 'Sylhet', '518', 'abasvumi/uploads/img/pro_2.jpeg', 1, '2021-03-10 10:46:08', '2021-03-10 10:46:08'),
(5, 'Id deserunt ex quam officiis dolorem. Facere unde laboriosam sapiente at repudiandae beatae aut.', 'Adipisci illum commodi modi. Autem veritatis exercitationem odit expedita. Et aut sit quia ut.', '380', 'abasvumi/uploads/img/pro_1.jpg', 1, '2021-03-10 10:46:08', '2021-03-10 10:46:08');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` bigint(20) UNSIGNED NOT NULL,
`external_user_id` bigint(20) UNSIGNED NOT NULL,
`product_category_id` bigint(20) UNSIGNED NOT NULL,
`unit_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`description_bn` text COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) NOT NULL COMMENT '1 = pending, 2= approve',
`is_featured` int(11) DEFAULT NULL,
`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 `products`
--
INSERT INTO `products` (`id`, `external_user_id`, `product_category_id`, `unit_id`, `name`, `name_bn`, `description`, `description_bn`, `image`, `price`, `status`, `is_featured`, `created_at`, `updated_at`) VALUES
(1, 6, 1, 2, 'Rerum expedita eum molestiae nihil.', 'Illo mollitia alias atque accusantium aspernatur ab consequatur.', 'Commodi et impedit neque numquam quam. Libero atque aut sunt et iure voluptas aperiam. Beatae perferendis ut ipsum est architecto inventore. Aliquid enim animi praesentium qui dolores. Accusamus voluptas placeat necessitatibus sit modi iusto ipsum. Commodi aut sed est minus cupiditate ducimus.', 'Ex et qui et error eum laboriosam enim. Eius id dolorem non ut excepturi magnam. Error perferendis aut fugit. Qui dolores rerum quam voluptas in inventore. Neque magnam est beatae corporis qui.', 'abasvumi/uploads/images/products/service_161624343185817415.jpg', '658758', 1, NULL, '2021-03-10 10:46:45', '2021-03-20 06:30:31'),
(2, 8, 3, 2, 'Officiis ipsum id et et culpa quisquam alias.', 'Odit et ullam at similique quia aspernatur. Deserunt quia neque quas tenetur.', 'In aut aut corporis quia eos. Error voluptatum odit molestiae. Non magni rerum nam quos iusto earum. Dolores aut et amet non et quibusdam. Voluptatum ratione deleniti nulla laborum incidunt assumenda. Occaecati qui quidem eum et et. Enim et iste consequatur dolorum enim rerum.', 'Fugit veniam nostrum reprehenderit nemo laboriosam ipsum voluptatem. Voluptate quae autem ea amet eligendi ad sit. Fugiat ab aut eaque et ullam. Exercitationem rerum et mollitia sit iure ratione in.', 'abasvumi/uploads/images/products/service_1616243824637446091.jpg', '45655688', 1, NULL, '2021-03-10 10:46:45', '2021-03-20 06:37:04');
-- --------------------------------------------------------
--
-- Table structure for table `product_categories`
--
CREATE TABLE `product_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) DEFAULT NULL,
`is_menu` int(11) NOT NULL DEFAULT 0,
`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 `product_categories`
--
INSERT INTO `product_categories` (`id`, `name`, `name_bn`, `status`, `is_menu`, `created_at`, `updated_at`) VALUES
(1, 'Corporis.', 'Est et.', 1, 1, '2021-03-10 10:46:34', '2021-03-12 15:55:42'),
(2, 'Labore.', 'Ducimus.', 1, 0, '2021-03-10 10:46:35', '2021-03-10 10:46:35'),
(3, 'Fuga.', 'Quae.', 1, 0, '2021-03-10 10:46:35', '2021-03-10 10:46:35'),
(4, 'Et.', 'Vel esse.', 1, 0, '2021-03-10 10:46:35', '2021-03-10 10:46:35'),
(5, 'Veritatis.', 'Iste fuga.', 1, 0, '2021-03-10 10:46:35', '2021-03-10 10:46:35');
-- --------------------------------------------------------
--
-- Table structure for table `properties`
--
CREATE TABLE `properties` (
`id` bigint(20) UNSIGNED NOT NULL,
`property_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`external_user_id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`area_id` bigint(20) UNSIGNED DEFAULT NULL,
`block_id` bigint(20) UNSIGNED DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`short_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`short_description_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`price` double DEFAULT NULL,
`interest_rate` double DEFAULT NULL,
`sqft` double DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`beds` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`baths` int(11) DEFAULT NULL,
`purpose` tinyint(4) DEFAULT NULL COMMENT '1 = Sale, 2 = Rent',
`advanced` tinyint(4) DEFAULT NULL COMMENT '0 = Any, 1 = Video Tour',
`property_type` tinyint(4) DEFAULT NULL COMMENT '1 = Apartment, 2 = Penthouse, 3 = Plaza, 4 = Plot, 5 = Room, 6 = Duplex, 7 = Building',
`garage` int(11) DEFAULT NULL,
`balcony` int(11) DEFAULT NULL,
`amenit_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`education_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`hospital_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`restaurant_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`religious_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`park_ids` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`video_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_no_show` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`approval_status` tinyint(1) NOT NULL DEFAULT 0,
`is_featured` int(11) NOT NULL DEFAULT 0,
`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 `properties`
--
INSERT INTO `properties` (`id`, `property_id`, `external_user_id`, `division_id`, `district_id`, `thana_id`, `area_id`, `block_id`, `title`, `bn_title`, `short_description`, `short_description_bn`, `description`, `bn_description`, `address`, `address_bn`, `status`, `price`, `interest_rate`, `sqft`, `lat`, `lon`, `beds`, `baths`, `purpose`, `advanced`, `property_type`, `garage`, `balcony`, `amenit_ids`, `education_ids`, `hospital_ids`, `restaurant_ids`, `religious_ids`, `park_ids`, `video_link`, `contact_no`, `contact_no_show`, `contact_email`, `approval_status`, `is_featured`, `created_at`, `updated_at`) VALUES
(7, 'Abasvumi-ID754549', 4, 1, 1, 1, 3, 4, 'Duis nobis asperiore', 'Labore aute harum re', 'hg', 'rtr', 'This wonderful flat covers an area of 1550 Square Feet is situated in this notable building that you can see in our enlisted image. It can be a perfect home for your family which comes within your affordability. The flat has got 3 beds, 3 baths along with living room and a cozy kitchen. All the rooms are well spacious and lets you have the whole feel of solace and calmness with closed ones. This nice apartment is surely a reasonable deal for you comparing to the area the home is situated. The flat comes with an asking price of BDT 10,000,000. The locality has a wide variety of schools, colleges, Universities, hospitals and shops. An ample parking space comes with the offered flat for your vehicle accommodation. \r\n\r\nCome and see this apartment Contact us at your earliest to know more about this apartment.', 'এই দুর্দান্ত ফ্ল্যাটটি 1550 স্কয়ার ফিটের একটি অঞ্চল জুড়ে এই উল্লেখযোগ্য ভবনে অবস্থিত যা আপনি আমাদের তালিকাভুক্ত চিত্রটিতে দেখতে পারেন। এটি আপনার পরিবারের জন্য একটি নিখুঁত বাড়ি হতে পারে যা আপনার সাধ্যের মধ্যে আসে। ফ্ল্যাটে 3 টি শয্যা, 3 টি স্নানের পাশাপাশি লিভিং রুম এবং একটি আরামদায়ক রান্নাঘর রয়েছে। সমস্ত কক্ষগুলি বেশ প্রশস্ত এবং আপনাকে বন্ধ হওয়াগুলি দিয়ে স্বাচ্ছন্দ্য এবং শান্তির পুরো অনুভূতি পেতে দেয়। বাড়িটি যে জায়গার সাথে রয়েছে তার সাথে তুলনা করার জন্য এই দুর্দান্ত অ্যাপার্টমেন্টটি অবশ্যই আপনার পক্ষে যুক্তিসঙ্গত চুক্তি। ফ্ল্যাটটি 10,000,000 ডলারের জিজ্ঞাসা মূল্য নিয়ে আসে। লোকালয়ে বিভিন্ন স্কুল, কলেজ, বিশ্ববিদ্যালয়, হাসপাতাল এবং দোকান রয়েছে। আপনার যানবাহনের থাকার জন্য প্রস্তাবিত ফ্ল্যাট সহ একটি পর্যাপ্ত পার্কিং স্পেস আসে।\r\n\r\nআসুন এবং এই অ্যাপার্টমেন্টটি দেখুন এই অ্যাপার্টমেন্ট সম্পর্কে আরও জানতে আপনার তাড়াতাড়ি আমাদের সাথে যোগাযোগ করুন।', 'Mirput, Dhaka, Bangladesh', 'rtr', '0', 10000, 10000, 10, '34454545', '4324234334', NULL, 1, 1, NULL, 1, 1, 1, '[1,2]', '[1]', '[]', '[]', '[]', '[]', 'https://www.youtube.com/watch?v=yDmGQ_Wqb94', '343434', '2', '<EMAIL>', 0, 0, '2021-03-19 11:53:04', '2021-03-20 15:36:32');
-- --------------------------------------------------------
--
-- Table structure for table `property_images`
--
CREATE TABLE `property_images` (
`id` bigint(20) UNSIGNED NOT NULL,
`property_id` bigint(20) UNSIGNED DEFAULT NULL,
`external_user_id` bigint(20) UNSIGNED DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image_type_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '1=thumnail,2= details image',
`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 `property_images`
--
INSERT INTO `property_images` (`id`, `property_id`, `external_user_id`, `image`, `image_type_id`, `created_at`, `updated_at`) VALUES
(21, 7, 9, 'abasvumi/uploads/properties/property_16161763641957133779.jpg', '2', '2021-03-19 11:52:44', '2021-03-19 11:53:04'),
(22, 7, 9, 'abasvumi/uploads/properties/property_1616176369334638433.jpg', '2', '2021-03-19 11:52:49', '2021-03-19 11:53:04'),
(23, 7, 9, 'abasvumi/uploads/properties/property_1616176373752386346.jpg', '2', '2021-03-19 11:52:53', '2021-03-19 11:53:04'),
(38, 0, 9, 'abasvumi/uploads/properties/property_1616181521953119840.jpg', '1', '2021-03-19 13:18:41', '2021-03-19 13:18:41'),
(40, 0, 9, 'abasvumi/uploads/properties/property_16161817761042335628.jpg', '1', '2021-03-19 13:22:56', '2021-03-19 13:22:56'),
(41, 0, 9, 'abasvumi/uploads/properties/property_1616181789706471384.jpg', '1', '2021-03-19 13:23:09', '2021-03-19 13:23:09'),
(42, 0, 9, 'abasvumi/uploads/properties/property_16161818691806805794.jpg', '1', '2021-03-19 13:24:29', '2021-03-19 13:24:29'),
(43, 0, 9, 'abasvumi/uploads/properties/property_16161818801307555564.jpg', '1', '2021-03-19 13:24:40', '2021-03-19 13:24:40'),
(44, 0, 9, 'abasvumi/uploads/properties/property_161618191759981936.jpg', '1', '2021-03-19 13:25:17', '2021-03-19 13:25:17'),
(46, 0, 9, 'abasvumi/uploads/properties/property_16161819341971054974.jpg', '2', '2021-03-19 13:25:34', '2021-03-19 13:25:34'),
(47, 0, 9, 'abasvumi/uploads/properties/property_161618194738712956.jpg', '2', '2021-03-19 13:25:47', '2021-03-19 13:25:47'),
(48, 0, 9, 'abasvumi/uploads/properties/property_16161821901538609637.jpg', '1', '2021-03-19 13:29:50', '2021-03-19 13:29:50'),
(50, 7, 9, 'abasvumi/uploads/properties/property_16161822751283892431.jpg', '1', '2021-03-19 13:31:15', '2021-03-19 13:31:20');
-- --------------------------------------------------------
--
-- Table structure for table `property_locations`
--
CREATE TABLE `property_locations` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED NOT NULL,
`district_id` bigint(20) UNSIGNED NOT NULL,
`upazila_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `property_types`
--
CREATE TABLE `property_types` (
`id` bigint(20) UNSIGNED NOT NULL,
`category_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '1=recidential,2=commertial',
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`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 `property_types`
--
INSERT INTO `property_types` (`id`, `category_id`, `name`, `bn_name`, `status`, `created_at`, `updated_at`) VALUES
(1, '1', 'Office', 'অফিস', 1, '2021-03-12 04:53:21', '2021-03-12 10:43:02'),
(2, '1', 'Mobile', '656', 1, '2021-03-17 19:30:21', '2021-03-17 19:30:21'),
(3, '1', 'Mobile template', '65656', 1, '2021-03-17 19:30:27', '2021-03-17 19:30:27');
-- --------------------------------------------------------
--
-- Table structure for table `prosucts`
--
CREATE TABLE `prosucts` (
`id` bigint(20) UNSIGNED NOT NULL,
`external_user_id` bigint(20) UNSIGNED NOT NULL,
`product_category_id` bigint(20) UNSIGNED NOT NULL,
`unit_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
`description_bn` text COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `real_estate_solutions`
--
CREATE TABLE `real_estate_solutions` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `religious_institutions`
--
CREATE TABLE `religious_institutions` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `restaurants`
--
CREATE TABLE `restaurants` (
`id` bigint(20) UNSIGNED NOT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `serviceimages`
--
CREATE TABLE `serviceimages` (
`id` bigint(20) UNSIGNED NOT NULL,
`parent_id` bigint(20) UNSIGNED DEFAULT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image_type_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '1=thumnail,2= details image',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `services`
--
CREATE TABLE `services` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`agent_id` bigint(20) UNSIGNED DEFAULT NULL,
`developer_id` bigint(20) UNSIGNED DEFAULT NULL,
`division_id` bigint(20) UNSIGNED DEFAULT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`thana_id` bigint(20) UNSIGNED DEFAULT NULL,
`area_id` bigint(20) UNSIGNED DEFAULT NULL,
`block_id` bigint(20) UNSIGNED DEFAULT NULL,
`service_type_id` bigint(20) UNSIGNED DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`purpose` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`price` decimal(8,2) DEFAULT NULL,
`interest_rate` decimal(8,2) DEFAULT NULL,
`sqft` decimal(8,2) DEFAULT NULL,
`lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`baths` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`garage` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`balcony` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`amenities` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`educational_institutes` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`hospitals` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`restaurants` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`parks` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`religious` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`properties_thumbnail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`video_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`admin_contact_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`agent_contact_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`developer_contact_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_no_show` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`approval_status` tinyint(1) NOT NULL DEFAULT 0,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `service_categories`
--
CREATE TABLE `service_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`is_menu` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `service_categories`
--
INSERT INTO `service_categories` (`id`, `name`, `name_bn`, `status`, `created_at`, `updated_at`, `is_menu`) VALUES
(1, 'Corporis.', 'Est et.', 1, '2021-03-10 10:46:21', '2021-03-12 15:59:21', 1),
(2, 'Rem.', 'Veritatis.', 1, '2021-03-10 10:46:21', '2021-03-12 15:59:26', 1),
(3, 'Rerum.', 'Quaerat.', 0, '2021-03-10 10:46:21', '2021-03-13 04:46:25', NULL),
(4, 'Possimus.', 'Illo.', 1, '2021-03-10 10:46:21', '2021-03-10 10:46:21', 0),
(5, 'Nulla.', 'Aliquam.', 1, '2021-03-10 10:46:21', '2021-03-10 10:46:21', 0),
(7, 'trtr', 'rtrtrtr', NULL, '2021-03-13 04:47:36', '2021-03-13 04:47:36', 0),
(8, 'dfdfdf', 'dfdfdf', NULL, '2021-03-13 04:49:10', '2021-03-13 04:49:10', 0),
(9, 'fdfd', 'fdfdfd', NULL, '2021-03-13 04:49:21', '2021-03-13 04:49:21', 0),
(10, 'Mobile template', 'fdfd', NULL, '2021-03-13 04:50:20', '2021-03-13 04:50:20', 0);
-- --------------------------------------------------------
--
-- Table structure for table `service_types`
--
CREATE TABLE `service_types` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`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 `service_types`
--
INSERT INTO `service_types` (`id`, `name`, `bn_name`, `created_at`, `updated_at`) VALUES
(1, 'Mobile', 'erere', '2021-03-12 03:43:08', '2021-03-12 03:43:08');
-- --------------------------------------------------------
--
-- Table structure for table `settings`
--
CREATE TABLE `settings` (
`id` bigint(20) UNSIGNED NOT NULL,
`favicon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`home_title` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`home_title_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`home_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`home_description_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total_agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total_developer` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total_supplier` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total_sale` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`total_rent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`footer_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`footer_text_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`facebook_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`twitter_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`google_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`linkedin_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`mobile` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`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 `settings`
--
INSERT INTO `settings` (`id`, `favicon`, `logo`, `home_title`, `home_title_bn`, `home_description`, `home_description_bn`, `total_agent`, `total_developer`, `total_supplier`, `total_sale`, `total_rent`, `footer_text`, `footer_text_bn`, `facebook_link`, `twitter_link`, `google_link`, `linkedin_link`, `email`, `mobile`, `address`, `address_bn`, `created_at`, `updated_at`) VALUES
(9, 'abasvumi/uploads/images/setting/setting_16155896201024787977.png', 'abasvumi/uploads/images/setting/setting_16155895911788254374.png', 'Welcome To Abasvumi', 'আপনাকে স্বাগতম', 'For sale or rent your property.', 'আপনার সম্পত্তি বিক্রয় বা ভাড়া দেওয়ার জন্য।', '434', '243', '434', '434', '4343', '2021 , Abasvumi.', '2021 , Abasvumi.', 'https://facebook.com', 'https://facebook.com', 'https://facebook.com', 'https://facebook.com', '<EMAIL>', '01730233032', 'dfdfdfd', 'Mirpur, Dhaka ,Bangladesh', '2021-03-12 16:51:18', '2021-03-12 16:54:39');
-- --------------------------------------------------------
--
-- Table structure for table `subscribes`
--
CREATE TABLE `subscribes` (
`id` bigint(20) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `suppliers`
--
CREATE TABLE `suppliers` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`phone` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`experiance` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `testimonials`
--
CREATE TABLE `testimonials` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`designation` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`designation_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`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 `testimonials`
--
INSERT INTO `testimonials` (`id`, `name`, `name_bn`, `description_bn`, `description`, `designation`, `designation_bn`, `image`, `created_at`, `updated_at`) VALUES
(1, 'xds', 'dfd', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas in pulvinar neque. Nulla finibus lobortis pulvinar. Donec a consectetur nulla. Nulla posuere sapien vitae.', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas in pulvinar neque. Nulla finibus lobortis pulvinar. Donec a consectetur nulla. Nulla posuere sapien vitae.', 'Developers', 'Developers', 'abasvumi/uploads/img/test_img.jpg', NULL, NULL),
(2, 'ere', 'rere', 'rer', 'rer', 'rer', 'ere', 'abasvumi/uploads/img/test_img_2.jpg', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `thanas`
--
CREATE TABLE `thanas` (
`id` bigint(20) UNSIGNED NOT NULL,
`district_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(4) NOT NULL DEFAULT 1,
`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 `thanas`
--
INSERT INTO `thanas` (`id`, `district_id`, `name`, `bn_name`, `url`, `slug`, `status`, `created_at`, `updated_at`) VALUES
(1, 1, 'Debidwar', 'দেবিদ্বার', 'debidwar.comilla.gov.bd', 'debidwar', 1, '2021-03-10 10:44:41', '2021-03-10 10:44:41'),
(2, 1, 'Barura', 'বরুড়া', 'barura.comilla.gov.bd', 'barura', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(3, 1, 'Brahmanpara', 'ব্রাহ্মণপাড়া', 'brahmanpara.comilla.gov.bd', 'brahmanpara', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(4, 1, 'Chandina', 'চান্দিনা', 'chandina.comilla.gov.bd', 'chandina', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(5, 1, 'Chauddagram', 'চৌদ্দগ্রাম', 'chauddagram.comilla.gov.bd', 'chauddagram', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(6, 1, 'Daudkandi', 'দাউদকান্দি', 'daudkandi.comilla.gov.bd', 'daudkandi', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(7, 1, 'Homna', 'হোমনা', 'homna.comilla.gov.bd', 'homna', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(8, 1, 'Laksam', 'লাকসাম', 'laksam.comilla.gov.bd', 'laksam', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(9, 1, 'Muradnagar', 'মুরাদনগর', 'muradnagar.comilla.gov.bd', 'muradnagar', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(10, 1, 'Nangalkot', 'নাঙ্গলকোট', 'nangalkot.comilla.gov.bd', 'nangalkot', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(11, 1, '<NAME>', 'কুমিল্লা সদর', 'comillasadar.comilla.gov.bd', 'comilla-sadar', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(12, 1, 'Meghna', 'মেঘনা', 'meghna.comilla.gov.bd', 'meghna', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(13, 1, 'Monohargonj', 'মনোহরগঞ্জ', 'monohargonj.comilla.gov.bd', 'monohargonj', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(14, 1, 'Sadarsouth', 'সদর দক্ষিণ', 'sadarsouth.comilla.gov.bd', 'sadarsouth', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(15, 1, 'Titas', 'তিতাস', 'titas.comilla.gov.bd', 'titas', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(16, 1, 'Burichang', 'বুড়িচং', 'burichang.comilla.gov.bd', 'burichang', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(17, 1, 'Lalmai', 'লালমাই', 'lalmai.comilla.gov.bd', 'lalmai', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(18, 2, 'Chhagalnaiya', 'ছাগলনাইয়া', 'chhagalnaiya.feni.gov.bd', 'chhagalnaiya', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(19, 2, '<NAME>', 'ফেনী সদর', 'sadar.feni.gov.bd', 'feni-sadar', 1, '2021-03-10 10:44:42', '2021-03-10 10:44:42'),
(20, 2, 'Sonagazi', 'সোনাগাজী', 'sonagazi.feni.gov.bd', 'sonagazi', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(21, 2, 'Fulgazi', 'ফুলগাজী', 'fulgazi.feni.gov.bd', 'fulgazi', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(22, 2, 'Parshuram', 'পরশুরাম', 'parshuram.feni.gov.bd', 'parshuram', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(23, 2, 'Daganbhuiyan', 'দাগনভূঞা', 'daganbhuiyan.feni.gov.bd', 'daganbhuiyan', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(24, 3, '<NAME>', 'ব্রাহ্মণবাড়িয়া সদর', 'sadar.brahmanbaria.gov.bd', 'brahmanbaria-sadar', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(25, 3, 'Kasba', 'কসবা', 'kasba.brahmanbaria.gov.bd', 'kasba', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(26, 3, 'Nasirnagar', 'নাসিরনগর', 'nasirnagar.brahmanbaria.gov.bd', 'nasirnagar', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(27, 3, 'Sarail', 'সরাইল', 'sarail.brahmanbaria.gov.bd', 'sarail', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(28, 3, 'Ashuganj', 'আশুগঞ্জ', 'ashuganj.brahmanbaria.gov.bd', 'ashuganj', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(29, 3, 'Akhaura', 'আখাউড়া', 'akhaura.brahmanbaria.gov.bd', 'akhaura', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(30, 3, 'Nabinagar', 'নবীনগর', 'nabinagar.brahmanbaria.gov.bd', 'nabinagar', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(31, 3, 'Bancharampur', 'বাঞ্ছারামপুর', 'bancharampur.brahmanbaria.gov.bd', 'bancharampur', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(32, 3, 'Bijoynagar', 'বিজয়নগর', 'bijoynagar.brahmanbaria.gov.bd ', 'bijoynagar', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(33, 4, '<NAME>', 'রাঙ্গামাটি সদর', 'sadar.rangamati.gov.bd', 'rangamati-sadar', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(34, 4, 'Kaptai', 'কাপ্তাই', 'kaptai.rangamati.gov.bd', 'kaptai', 1, '2021-03-10 10:44:43', '2021-03-10 10:44:43'),
(35, 4, 'Kawkhali', 'কাউখালী', 'kawkhali.rangamati.gov.bd', 'kawkhali', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(36, 4, 'Baghaichari', 'বাঘাইছড়ি', 'baghaichari.rangamati.gov.bd', 'baghaichari', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(37, 4, 'Barkal', 'বরকল', 'barkal.rangamati.gov.bd', 'barkal', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(38, 4, 'Langadu', 'লংগদু', 'langadu.rangamati.gov.bd', 'langadu', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(39, 4, 'Rajasthali', 'রাজস্থলী', 'rajasthali.rangamati.gov.bd', 'rajasthali', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(40, 4, 'Belaichari', 'বিলাইছড়ি', 'belaichari.rangamati.gov.bd', 'belaichari', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(41, 4, 'Juraichari', 'জুরাছড়ি', 'juraichari.rangamati.gov.bd', 'juraichari', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(42, 4, 'Naniarchar', 'নানিয়ারচর', 'naniarchar.rangamati.gov.bd', 'naniarchar', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(43, 5, 'Noakhali Sadar', 'নোয়াখালী সদর', 'sadar.noakhali.gov.bd', 'noakhali-sadar', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(44, 5, 'Companiganj', 'কোম্পানীগঞ্জ', 'companiganj.noakhali.gov.bd', 'companiganj', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(45, 5, 'Begumganj', 'বেগমগঞ্জ', 'begumganj.noakhali.gov.bd', 'begumganj', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(46, 5, 'Hatia', 'হাতিয়া', 'hatia.noakhali.gov.bd', 'hatia', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(47, 5, 'Subarnachar', 'সুবর্ণচর', 'subarnachar.noakhali.gov.bd', 'subarnachar', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(48, 5, 'Kabirhat', 'কবিরহাট', 'kabirhat.noakhali.gov.bd', 'kabirhat', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(49, 5, 'Senbug', 'সেনবাগ', 'senbug.noakhali.gov.bd', 'senbug', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(50, 5, 'Chatkhil', 'চাটখিল', 'chatkhil.noakhali.gov.bd', 'chatkhil', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(51, 5, 'Sonaimori', 'সোনাইমুড়ী', 'sonaimori.noakhali.gov.bd', 'sonaimori', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(52, 6, 'Haimchar', 'হাইমচর', 'haimchar.chandpur.gov.bd', 'haimchar', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(53, 6, 'Kachua', 'কচুয়া', 'kachua.chandpur.gov.bd', 'kachua', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(54, 6, 'Shahrasti', 'শাহরাস্তি ', 'shahrasti.chandpur.gov.bd', 'shahrasti', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(55, 6, '<NAME>', 'চাঁদপুর সদর', 'sadar.chandpur.gov.bd', 'chandpur-sadar', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(56, 6, 'Matlab South', 'মতলব দক্ষিণ', 'matlabsouth.chandpur.gov.bd', 'matlab-south', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(57, 6, 'Hajiganj', 'হাজীগঞ্জ', 'hajiganj.chandpur.gov.bd', 'hajiganj', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(58, 6, 'Matlab North', 'মতলব উত্তর', 'matlabnorth.chandpur.gov.bd', 'matlab-north', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(59, 6, 'Faridgonj', 'ফরিদগঞ্জ', 'faridgonj.chandpur.gov.bd', 'faridgonj', 1, '2021-03-10 10:44:44', '2021-03-10 10:44:44'),
(60, 7, '<NAME>', 'লক্ষ্মীপুর সদর', 'sadar.lakshmipur.gov.bd', 'lakshmipur-sadar', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(61, 7, 'Kamalnagar', 'কমলনগর', 'kamalnagar.lakshmipur.gov.bd', 'kamalnagar', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(62, 7, 'Raipur', 'রায়পুর', 'raipur.lakshmipur.gov.bd', 'raipur', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(63, 7, 'Ramgati', 'রামগতি', 'ramgati.lakshmipur.gov.bd', 'ramgati', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(64, 7, 'Ramganj', 'রামগঞ্জ', 'ramganj.lakshmipur.gov.bd', 'ramganj', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(65, 8, 'Rangunia', 'রাঙ্গুনিয়া', 'rangunia.chittagong.gov.bd', 'rangunia', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(66, 8, 'Sitakunda', 'সীতাকুন্ড', 'sitakunda.chittagong.gov.bd', 'sitakunda', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(67, 8, 'Mirsharai', 'মীরসরাই', 'mirsharai.chittagong.gov.bd', 'mirsharai', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(68, 8, 'Patiya', 'পটিয়া', 'patiya.chittagong.gov.bd', 'patiya', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(69, 8, 'Sandwip', 'সন্দ্বীপ', 'sandwip.chittagong.gov.bd', 'sandwip', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(70, 8, 'Banshkhali', 'বাঁশখালী', 'banshkhali.chittagong.gov.bd', 'banshkhali', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(71, 8, 'Boalkhali', 'বোয়ালখালী', 'boalkhali.chittagong.gov.bd', 'boalkhali', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(72, 8, 'Anwara', 'আনোয়ারা', 'anwara.chittagong.gov.bd', 'anwara', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(73, 8, 'Chandanaish', 'চন্দনাইশ', 'chandanaish.chittagong.gov.bd', 'chandanaish', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(74, 8, 'Satkania', 'সাতকানিয়া', 'satkania.chittagong.gov.bd', 'satkania', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(75, 8, 'Lohagara', 'লোহাগাড়া', 'lohagara.chittagong.gov.bd', 'lohagara', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(76, 8, 'Hathazari', 'হাটহাজারী', 'hathazari.chittagong.gov.bd', 'hathazari', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(77, 8, 'Fatikchhari', 'ফটিকছড়ি', 'fatikchhari.chittagong.gov.bd', 'fatikchhari', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(78, 8, 'Raozan', 'রাউজান', 'raozan.chittagong.gov.bd', 'raozan', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(79, 8, 'Karnafuli', 'কর্ণফুলী', 'karnafuli.chittagong.gov.bd', 'karnafuli', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(80, 9, '<NAME>', 'কক্সবাজার সদর', 'sadar.coxsbazar.gov.bd', 'coxsbazar-sadar', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(81, 9, 'Chakaria', 'চকরিয়া', 'chakaria.coxsbazar.gov.bd', 'chakaria', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(82, 9, 'Kutubdia', 'কুতুবদিয়া', 'kutubdia.coxsbazar.gov.bd', 'kutubdia', 1, '2021-03-10 10:44:45', '2021-03-10 10:44:45'),
(83, 9, 'Ukhiya', 'উখিয়া', 'ukhiya.coxsbazar.gov.bd', 'ukhiya', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(84, 9, 'Moheshkhali', 'মহেশখালী', 'moheshkhali.coxsbazar.gov.bd', 'moheshkhali', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(85, 9, 'Pekua', 'পেকুয়া', 'pekua.coxsbazar.gov.bd', 'pekua', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(86, 9, 'Ramu', 'রামু', 'ramu.coxsbazar.gov.bd', 'ramu', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(87, 9, 'Teknaf', 'টেকনাফ', 'teknaf.coxsbazar.gov.bd', 'teknaf', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(88, 10, '<NAME>', 'খাগড়াছড়ি সদর', 'sadar.khagrachhari.gov.bd', 'khagrachhari-sadar', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(89, 10, 'Dighinala', 'দিঘীনালা', 'dighinala.khagrachhari.gov.bd', 'dighinala', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(90, 10, 'Panchari', 'পানছড়ি', 'panchari.khagrachhari.gov.bd', 'panchari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(91, 10, 'Laxmichhari', 'লক্ষীছড়ি', 'laxmichhari.khagrachhari.gov.bd', 'laxmichhari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(92, 10, 'Mohalchari', 'মহালছড়ি', 'mohalchari.khagrachhari.gov.bd', 'mohalchari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(93, 10, 'Manikchari', 'মানিকছড়ি', 'manikchari.khagrachhari.gov.bd', 'manikchari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(94, 10, 'Ramgarh', 'রামগড়', 'ramgarh.khagrachhari.gov.bd', 'ramgarh', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(95, 10, 'Matiranga', 'মাটিরাঙ্গা', 'matiranga.khagrachhari.gov.bd', 'matiranga', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(96, 10, 'Guimara', 'গুইমারা', 'guimara.khagrachhari.gov.bd', 'guimara', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(97, 11, '<NAME>', 'বান্দরবান সদর', 'sadar.bandarban.gov.bd', 'bandarban-sadar', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(98, 11, 'Alikadam', 'আলীকদম', 'alikadam.bandarban.gov.bd', 'alikadam', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(99, 11, 'Naikhongchhari', 'নাইক্ষ্যংছড়ি', 'naikhongchhari.bandarban.gov.bd', 'naikhongchhari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(100, 11, 'Rowangchhari', 'রোয়াংছড়ি', 'rowangchhari.bandarban.gov.bd', 'rowangchhari', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(101, 11, 'Lama', 'লামা', 'lama.bandarban.gov.bd', 'lama', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(102, 11, 'Ruma', 'রুমা', 'ruma.bandarban.gov.bd', 'ruma', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(103, 11, 'Thanchi', 'থানচি', 'thanchi.bandarban.gov.bd', 'thanchi', 1, '2021-03-10 10:44:46', '2021-03-10 10:44:46'),
(104, 12, 'Belkuchi', 'বেলকুচি', 'belkuchi.sirajganj.gov.bd', 'belkuchi', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(105, 12, 'Chauhali', 'চৌহালি', 'chauhali.sirajganj.gov.bd', 'chauhali', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(106, 12, 'Kamarkhand', 'কামারখন্দ', 'kamarkhand.sirajganj.gov.bd', 'kamarkhand', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(107, 12, 'Kazipur', 'কাজীপুর', 'kazipur.sirajganj.gov.bd', 'kazipur', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(108, 12, 'Raigonj', 'রায়গঞ্জ', 'raigonj.sirajganj.gov.bd', 'raigonj', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(109, 12, 'Shahjadpur', 'শাহজাদপুর', 'shahjadpur.sirajganj.gov.bd', 'shahjadpur', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(110, 12, '<NAME>', 'সিরাজগঞ্জ সদর', 'sirajganjsadar.sirajganj.gov.bd', 'sirajganj-sadar', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(111, 12, 'Tarash', 'তাড়াশ', 'tarash.sirajganj.gov.bd', 'tarash', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(112, 12, 'Ullapara', 'উল্লাপাড়া', 'ullapara.sirajganj.gov.bd', 'ullapara', 1, '2021-03-10 10:44:47', '2021-03-10 10:44:47'),
(113, 13, 'Sujanagar', 'সুজানগর', 'sujanagar.pabna.gov.bd', 'sujanagar', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(114, 13, 'Ishurdi', 'ঈশ্বরদী', 'ishurdi.pabna.gov.bd', 'ishurdi', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(115, 13, 'Bhangura', 'ভাঙ্গুড়া', 'bhangura.pabna.gov.bd', 'bhangura', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(116, 13, '<NAME>', 'পাবনা সদর', 'pabnasadar.pabna.gov.bd', 'pabna-sadar', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(117, 13, 'Bera', 'বেড়া', 'bera.pabna.gov.bd', 'bera', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(118, 13, 'Atghoria', 'আটঘরিয়া', 'atghoria.pabna.gov.bd', 'atghoria', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(119, 13, 'Chatmohar', 'চাটমোহর', 'chatmohar.pabna.gov.bd', 'chatmohar', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(120, 13, 'Santhia', 'সাঁথিয়া', 'santhia.pabna.gov.bd', 'santhia', 1, '2021-03-10 10:44:48', '2021-03-10 10:44:48'),
(121, 13, 'Faridpur', 'ফরিদপুর', 'faridpur.pabna.gov.bd', 'faridpur', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(122, 14, 'Kahaloo', 'কাহালু', 'kahaloo.bogra.gov.bd', 'kahaloo', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(123, 14, '<NAME>', 'বগুড়া সদর', 'sadar.bogra.gov.bd', 'bogra-sadar', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(124, 14, 'Shariakandi', 'সারিয়াকান্দি', 'shariakandi.bogra.gov.bd', 'shariakandi', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(125, 14, 'Shajahanpur', 'শাজাহানপুর', 'shajahanpur.bogra.gov.bd', 'shajahanpur', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(126, 14, 'Dupchanchia', 'দুপচাচিঁয়া', 'dupchanchia.bogra.gov.bd', 'dupchanchia', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(127, 14, 'Adamdighi', 'আদমদিঘি', 'adamdighi.bogra.gov.bd', 'adamdighi', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(128, 14, 'Nondigram', 'নন্দিগ্রাম', 'nondigram.bogra.gov.bd', 'nondigram', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(129, 14, 'Sonatala', 'সোনাতলা', 'sonatala.bogra.gov.bd', 'sonatala', 1, '2021-03-10 10:44:49', '2021-03-10 10:44:49'),
(130, 14, 'Dhunot', 'ধুনট', 'dhunot.bogra.gov.bd', 'dhunot', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(131, 14, 'Gabtali', 'গাবতলী', 'gabtali.bogra.gov.bd', 'gabtali', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(132, 14, 'Sherpur', 'শেরপুর', 'sherpur.bogra.gov.bd', 'sherpur', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(133, 14, 'Shibganj', 'শিবগঞ্জ', 'shibganj.bogra.gov.bd', 'shibganj', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(134, 15, 'Paba', 'পবা', 'paba.rajshahi.gov.bd', 'paba', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(135, 15, 'Durgapur', 'দুর্গাপুর', 'durgapur.rajshahi.gov.bd', 'durgapur', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(136, 15, 'Mohonpur', 'মোহনপুর', 'mohonpur.rajshahi.gov.bd', 'mohonpur', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(137, 15, 'Charghat', 'চারঘাট', 'charghat.rajshahi.gov.bd', 'charghat', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(138, 15, 'Puthia', 'পুঠিয়া', 'puthia.rajshahi.gov.bd', 'puthia', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(139, 15, 'Bagha', 'বাঘা', 'bagha.rajshahi.gov.bd', 'bagha', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(140, 15, 'Godagari', 'গোদাগাড়ী', 'godagari.rajshahi.gov.bd', 'godagari', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(141, 15, 'Tanore', 'তানোর', 'tanore.rajshahi.gov.bd', 'tanore', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(142, 15, 'Bagmara', 'বাগমারা', 'bagmara.rajshahi.gov.bd', 'bagmara', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(143, 16, '<NAME>', 'নাটোর সদর', 'natoresadar.natore.gov.bd', 'natore-sadar', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(144, 16, 'Singra', 'সিংড়া', 'singra.natore.gov.bd', 'singra', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(145, 16, 'Baraigram', 'বড়াইগ্রাম', 'baraigram.natore.gov.bd', 'baraigram', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(146, 16, 'Bagatipara', 'বাগাতিপাড়া', 'bagatipara.natore.gov.bd', 'bagatipara', 1, '2021-03-10 10:44:50', '2021-03-10 10:44:50'),
(147, 16, 'Lalpur', 'লালপুর', 'lalpur.natore.gov.bd', 'lalpur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(148, 16, 'Gurudaspur', 'গুরুদাসপুর', 'gurudaspur.natore.gov.bd', 'gurudaspur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(149, 16, 'Naldanga', 'নলডাঙ্গা', 'naldanga.natore.gov.bd', 'naldanga', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(150, 17, 'Akkelpur', 'আক্কেলপুর', 'akkelpur.joypurhat.gov.bd', 'akkelpur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(151, 17, 'Kalai', 'কালাই', 'kalai.joypurhat.gov.bd', 'kalai', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(152, 17, 'Khetlal', 'ক্ষেতলাল', 'khetlal.joypurhat.gov.bd', 'khetlal', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(153, 17, 'Panchbibi', 'পাঁচবিবি', 'panchbibi.joypurhat.gov.bd', 'panchbibi', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(154, 17, '<NAME>', 'জয়পুরহাট সদর', 'joypurhatsadar.joypurhat.gov.bd', 'joypurhat-sadar', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(155, 18, '<NAME>', 'চাঁপাইনবাবগঞ্জ সদর', 'chapainawabganjsadar.chapainawabganj.gov.bd', 'chapainawabganj-sadar', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(156, 18, 'Gomostapur', 'গোমস্তাপুর', 'gomostapur.chapainawabganj.gov.bd', 'gomostapur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(157, 18, 'Nachol', 'নাচোল', 'nachol.chapainawabganj.gov.bd', 'nachol', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(158, 18, 'Bholahat', 'ভোলাহাট', 'bholahat.chapainawabganj.gov.bd', 'bholahat', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(159, 18, 'Shibganj', 'শিবগঞ্জ', 'shibganj.chapainawabganj.gov.bd', 'shibganj', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(160, 19, 'Mohadevpur', 'মহাদেবপুর', 'mohadevpur.naogaon.gov.bd', 'mohadevpur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(161, 19, 'Badalgachi', 'বদলগাছী', 'badalgachi.naogaon.gov.bd', 'badalgachi', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(162, 19, 'Patnitala', 'পত্নিতলা', 'patnitala.naogaon.gov.bd', 'patnitala', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(163, 19, 'Dhamoirhat', 'ধামইরহাট', 'dhamoirhat.naogaon.gov.bd', 'dhamoirhat', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(164, 19, 'Niamatpur', 'নিয়ামতপুর', 'niamatpur.naogaon.gov.bd', 'niamatpur', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(165, 19, 'Manda', 'মান্দা', 'manda.naogaon.gov.bd', 'manda', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(166, 19, 'Atrai', 'আত্রাই', 'atrai.naogaon.gov.bd', 'atrai', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(167, 19, 'Raninagar', 'রাণীনগর', 'raninagar.naogaon.gov.bd', 'raninagar', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(168, 19, '<NAME>', 'নওগাঁ সদর', 'naogaonsadar.naogaon.gov.bd', 'naogaon-sadar', 1, '2021-03-10 10:44:51', '2021-03-10 10:44:51'),
(169, 19, 'Porsha', 'পোরশা', 'porsha.naogaon.gov.bd', 'porsha', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(170, 19, 'Sapahar', 'সাপাহার', 'sapahar.naogaon.gov.bd', 'sapahar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(171, 20, 'Manirampur', 'মণিরামপুর', 'manirampur.jessore.gov.bd', 'manirampur', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(172, 20, 'Abhaynagar', 'অভয়নগর', 'abhaynagar.jessore.gov.bd', 'abhaynagar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(173, 20, 'Bagherpara', 'বাঘারপাড়া', 'bagherpara.jessore.gov.bd', 'bagherpara', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(174, 20, 'Chougachha', 'চৌগাছা', 'chougachha.jessore.gov.bd', 'chougachha', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(175, 20, 'Jhikargacha', 'ঝিকরগাছা', 'jhikargacha.jessore.gov.bd', 'jhikargacha', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(176, 20, 'Keshabpur', 'কেশবপুর', 'keshabpur.jessore.gov.bd', 'keshabpur', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(177, 20, '<NAME>', 'যশোর সদর', 'sadar.jessore.gov.bd', 'jessore-sadar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(178, 20, 'Sharsha', 'শার্শা', 'sharsha.jessore.gov.bd', 'sharsha', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(179, 21, 'Assasuni', 'আশাশুনি', 'assasuni.satkhira.gov.bd', 'assasuni', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(180, 21, 'Debhata', 'দেবহাটা', 'debhata.satkhira.gov.bd', 'debhata', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(181, 21, 'Kalaroa', 'কলারোয়া', 'kalaroa.satkhira.gov.bd', 'kalaroa', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(182, 21, '<NAME>', 'সাতক্ষীরা সদর', 'satkhirasadar.satkhira.gov.bd', 'satkhira-sadar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(183, 21, 'Shyamnagar', 'শ্যামনগর', 'shyamnagar.satkhira.gov.bd', 'shyamnagar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(184, 21, 'Tala', 'তালা', 'tala.satkhira.gov.bd', 'tala', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(185, 21, 'Kaliganj', 'কালিগঞ্জ', 'kaliganj.satkhira.gov.bd', 'kaliganj', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(186, 22, 'Mujibnagar', 'মুজিবনগর', 'mujibnagar.meherpur.gov.bd', 'mujibnagar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(187, 22, '<NAME>', 'মেহেরপুর সদর', 'meherpursadar.meherpur.gov.bd', 'meherpur-sadar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(188, 22, 'Gangni', 'গাংনী', 'gangni.meherpur.gov.bd', 'gangni', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(189, 23, '<NAME>', 'নড়াইল সদর', 'narailsadar.narail.gov.bd', 'narail-sadar', 1, '2021-03-10 10:44:52', '2021-03-10 10:44:52'),
(190, 23, 'Lohagara', 'লোহাগড়া', 'lohagara.narail.gov.bd', 'lohagara', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(191, 23, 'Kalia', 'কালিয়া', 'kalia.narail.gov.bd', 'kalia', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(192, 24, '<NAME>', 'চুয়াডাঙ্গা সদর', 'chuadangasadar.chuadanga.gov.bd', 'chuadanga-sadar', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(193, 24, 'Alamdanga', 'আলমডাঙ্গা', 'alamdanga.chuadanga.gov.bd', 'alamdanga', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(194, 24, 'Damurhuda', 'দামুড়হুদা', 'damurhuda.chuadanga.gov.bd', 'damurhuda', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(195, 24, 'Jibannagar', 'জীবননগর', 'jibannagar.chuadanga.gov.bd', 'jibannagar', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(196, 25, '<NAME>', 'কুষ্টিয়া সদর', 'kushtiasadar.kushtia.gov.bd', 'kushtia-sadar', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(197, 25, 'Kumarkhali', 'কুমারখালী', 'kumarkhali.kushtia.gov.bd', 'kumarkhali', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(198, 25, 'Khoksa', 'খোকসা', 'khoksa.kushtia.gov.bd', 'khoksa', 1, '2021-03-10 10:44:53', '2021-03-10 10:44:53'),
(199, 25, 'Mirpur', 'মিরপুর', 'mirpurkushtia.kushtia.gov.bd', 'mirpur', 1, '2021-03-10 10:44:54', '2021-03-10 10:44:54'),
(200, 25, 'Daulatpur', 'দৌলতপুর', 'daulatpur.kushtia.gov.bd', 'daulatpur', 1, '2021-03-10 10:44:54', '2021-03-10 10:44:54'),
(201, 25, 'Bheramara', 'ভেড়ামারা', 'bheramara.kushtia.gov.bd', 'bheramara', 1, '2021-03-10 10:44:54', '2021-03-10 10:44:54'),
(202, 26, 'Shalikha', 'শালিখা', 'shalikha.magura.gov.bd', 'shalikha', 1, '2021-03-10 10:44:54', '2021-03-10 10:44:54'),
(203, 26, 'Sreepur', 'শ্রীপুর', 'sreepur.magura.gov.bd', 'sreepur', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(204, 26, '<NAME>', 'মাগুরা সদর', 'magurasadar.magura.gov.bd', 'magura-sadar', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(205, 26, 'Mohammadpur', 'মহম্মদপুর', 'mohammadpur.magura.gov.bd', 'mohammadpur', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(206, 27, 'Paikgasa', 'পাইকগাছা', 'paikgasa.khulna.gov.bd', 'paikgasa', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(207, 27, 'Fultola', 'ফুলতলা', 'fultola.khulna.gov.bd', 'fultola', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(208, 27, 'Digholia', 'দিঘলিয়া', 'digholia.khulna.gov.bd', 'digholia', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(209, 27, 'Rupsha', 'রূপসা', 'rupsha.khulna.gov.bd', 'rupsha', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(210, 27, 'Terokhada', 'তেরখাদা', 'terokhada.khulna.gov.bd', 'terokhada', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(211, 27, 'Dumuria', 'ডুমুরিয়া', 'dumuria.khulna.gov.bd', 'dumuria', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(212, 27, 'Botiaghata', 'বটিয়াঘাটা', 'botiaghata.khulna.gov.bd', 'botiaghata', 1, '2021-03-10 10:44:55', '2021-03-10 10:44:55'),
(213, 27, 'Dakop', 'দাকোপ', 'dakop.khulna.gov.bd', 'dakop', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(214, 27, 'Koyra', 'কয়রা', 'koyra.khulna.gov.bd', 'koyra', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(215, 28, 'Fakirhat', 'ফকিরহাট', 'fakirhat.bagerhat.gov.bd', 'fakirhat', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(216, 28, '<NAME>', 'বাগেরহাট সদর', 'sadar.bagerhat.gov.bd', 'bagerhat-sadar', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(217, 28, 'Mollahat', 'মোল্লাহাট', 'mollahat.bagerhat.gov.bd', 'mollahat', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(218, 28, 'Sarankhola', 'শরণখোলা', 'sarankhola.bagerhat.gov.bd', 'sarankhola', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(219, 28, 'Rampal', 'রামপাল', 'rampal.bagerhat.gov.bd', 'rampal', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(220, 28, 'Morrelganj', 'মোড়েলগঞ্জ', 'morrelganj.bagerhat.gov.bd', 'morrelganj', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(221, 28, 'Kachua', 'কচুয়া', 'kachua.bagerhat.gov.bd', 'kachua', 1, '2021-03-10 10:44:56', '2021-03-10 10:44:56'),
(222, 28, 'Mongla', 'মোংলা', 'mongla.bagerhat.gov.bd', 'mongla', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(223, 28, 'Chitalmari', 'চিতলমারী', 'chitalmari.bagerhat.gov.bd', 'chitalmari', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(224, 29, '<NAME>', 'ঝিনাইদহ সদর', 'sadar.jhenaidah.gov.bd', 'jhenaidah-sadar', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(225, 29, 'Shailkupa', 'শৈলকুপা', 'shailkupa.jhenaidah.gov.bd', 'shailkupa', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(226, 29, 'Harinakundu', 'হরিণাকুন্ডু', 'harinakundu.jhenaidah.gov.bd', 'harinakundu', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(227, 29, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.jhenaidah.gov.bd', 'kaliganj', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(228, 29, 'Kotchandpur', 'কোটচাঁদপুর', 'kotchandpur.jhenaidah.gov.bd', 'kotchandpur', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(229, 29, 'Moheshpur', 'মহেশপুর', 'moheshpur.jhenaidah.gov.bd', 'moheshpur', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(230, 30, '<NAME>', 'ঝালকাঠি সদর', 'sadar.jhalakathi.gov.bd', 'jhalakathi-sadar', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(231, 30, 'Kathalia', 'কাঠালিয়া', 'kathalia.jhalakathi.gov.bd', 'kathalia', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(232, 30, 'Nalchity', 'নলছিটি', 'nalchity.jhalakathi.gov.bd', 'nalchity', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(233, 30, 'Rajapur', 'রাজাপুর', 'rajapur.jhalakathi.gov.bd', 'rajapur', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(234, 31, 'Bauphal', 'বাউফল', 'bauphal.patuakhali.gov.bd', 'bauphal', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(235, 31, '<NAME>', 'পটুয়াখালী সদর', 'sadar.patuakhali.gov.bd', 'patuakhali-sadar', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(236, 31, 'Dumki', 'দুমকি', 'dumki.patuakhali.gov.bd', 'dumki', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(237, 31, 'Dashmina', 'দশমিনা', 'dashmina.patuakhali.gov.bd', 'dashmina', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(238, 31, 'Kalapara', 'কলাপাড়া', 'kalapara.patuakhali.gov.bd', 'kalapara', 1, '2021-03-10 10:44:57', '2021-03-10 10:44:57'),
(239, 31, 'Mirzaganj', 'মির্জাগঞ্জ', 'mirzaganj.patuakhali.gov.bd', 'mirzaganj', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(240, 31, 'Galachipa', 'গলাচিপা', 'galachipa.patuakhali.gov.bd', 'galachipa', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(241, 31, 'Rangabali', 'রাঙ্গাবালী', 'rangabali.patuakhali.gov.bd', 'rangabali', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(242, 32, '<NAME>', 'পিরোজপুর সদর', 'sadar.pirojpur.gov.bd', 'pirojpur-sadar', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(243, 32, 'Nazirpur', 'নাজিরপুর', 'nazirpur.pirojpur.gov.bd', 'nazirpur', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(244, 32, 'Kawkhali', 'কাউখালী', 'kawkhali.pirojpur.gov.bd', 'kawkhali', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(245, 32, 'Zianagar', 'জিয়ানগর', 'zianagar.pirojpur.gov.bd', 'zianagar', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(246, 32, 'Bhandaria', 'ভান্ডারিয়া', 'bhandaria.pirojpur.gov.bd', 'bhandaria', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(247, 32, 'Mathbaria', 'মঠবাড়ীয়া', 'mathbaria.pirojpur.gov.bd', 'mathbaria', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(248, 32, 'Nesarabad', 'নেছারাবাদ', 'nesarabad.pirojpur.gov.bd', 'nesarabad', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(249, 33, '<NAME>', 'বরিশাল সদর', 'barisalsadar.barisal.gov.bd', 'barisal-sadar', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(250, 33, 'Bakerganj', 'বাকেরগঞ্জ', 'bakerganj.barisal.gov.bd', 'bakerganj', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(251, 33, 'Babuganj', 'বাবুগঞ্জ', 'babuganj.barisal.gov.bd', 'babuganj', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(252, 33, 'Wazirpur', 'উজিরপুর', 'wazirpur.barisal.gov.bd', 'wazirpur', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(253, 33, 'Banaripara', 'বানারীপাড়া', 'banaripara.barisal.gov.bd', 'banaripara', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(254, 33, 'Gournadi', 'গৌরনদী', 'gournadi.barisal.gov.bd', 'gournadi', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(255, 33, 'Agailjhara', 'আগৈলঝাড়া', 'agailjhara.barisal.gov.bd', 'agailjhara', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(256, 33, 'Mehendiganj', 'মেহেন্দিগঞ্জ', 'mehendiganj.barisal.gov.bd', 'mehendiganj', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(257, 33, 'Muladi', 'মুলাদী', 'muladi.barisal.gov.bd', 'muladi', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(258, 33, 'Hizla', 'হিজলা', 'hizla.barisal.gov.bd', 'hizla', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(259, 34, '<NAME>', 'ভোলা সদর', 'sadar.bhola.gov.bd', 'bhola-sadar', 1, '2021-03-10 10:44:58', '2021-03-10 10:44:58'),
(260, 34, '<NAME>', 'বোরহান উদ্দিন', 'borhanuddin.bhola.gov.bd', 'borhan-sddin', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(261, 34, 'Charfesson', 'চরফ্যাশন', 'charfesson.bhola.gov.bd', 'charfesson', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(262, 34, 'Doulatkhan', 'দৌলতখান', 'doulatkhan.bhola.gov.bd', 'doulatkhan', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(263, 34, 'Monpura', 'মনপুরা', 'monpura.bhola.gov.bd', 'monpura', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(264, 34, 'Tazumuddin', 'তজুমদ্দিন', 'tazumuddin.bhola.gov.bd', 'tazumuddin', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(265, 34, 'Lalmohan', 'লালমোহন', 'lalmohan.bhola.gov.bd', 'lalmohan', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(266, 35, 'Amtali', 'আমতলী', 'amtali.barguna.gov.bd', 'amtali', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(267, 35, '<NAME>', 'বরগুনা সদর', 'sadar.barguna.gov.bd', 'barguna-sadar', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(268, 35, 'Betagi', 'বেতাগী', 'betagi.barguna.gov.bd', 'betagi', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(269, 35, 'Bamna', 'বামনা', 'bamna.barguna.gov.bd', 'bamna', 1, '2021-03-10 10:44:59', '2021-03-10 10:44:59'),
(270, 35, 'Pathorghata', 'পাথরঘাটা', 'pathorghata.barguna.gov.bd', 'pathorghata', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(271, 35, 'Taltali', 'তালতলি', 'taltali.barguna.gov.bd', 'taltali', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(272, 36, 'Balaganj', 'বালাগঞ্জ', 'balaganj.sylhet.gov.bd', 'balaganj', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(273, 36, 'Beanibazar', 'বিয়ানীবাজার', 'beanibazar.sylhet.gov.bd', 'beanibazar', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(274, 36, 'Bishwanath', 'বিশ্বনাথ', 'bishwanath.sylhet.gov.bd', 'bishwanath', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(275, 36, 'Companiganj', 'কোম্পানীগঞ্জ', 'companiganj.sylhet.gov.bd', 'companiganj', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(276, 36, 'Fenchuganj', 'ফেঞ্চুগঞ্জ', 'fenchuganj.sylhet.gov.bd', 'fenchuganj', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(277, 36, 'Golapganj', 'গোলাপগঞ্জ', 'golapganj.sylhet.gov.bd', 'golapganj', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(278, 36, 'Gowainghat', 'গোয়াইনঘাট', 'gowainghat.sylhet.gov.bd', 'gowainghat', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(279, 36, 'Jaintiapur', 'জৈন্তাপুর', 'jaintiapur.sylhet.gov.bd', 'jaintiapur', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(280, 36, 'Kanaighat', 'কানাইঘাট', 'kanaighat.sylhet.gov.bd', 'kanaighat', 1, '2021-03-10 10:45:00', '2021-03-10 10:45:00'),
(281, 36, '<NAME>', 'সিলেট সদর', 'sylhetsadar.sylhet.gov.bd', 'sylhet-sadar', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(282, 36, 'Zakiganj', 'জকিগঞ্জ', 'zakiganj.sylhet.gov.bd', 'zakiganj', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(283, 36, 'Dakshinsurma', 'দক্ষিণ সুরমা', 'dakshinsurma.sylhet.gov.bd', 'dakshinsurma', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(284, 36, 'Osmaninagar', 'ওসমানী নগর', 'osmaninagar.sylhet.gov.bd', 'osmaninagar', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(285, 37, 'Barlekha', 'বড়লেখা', 'barlekha.moulvibazar.gov.bd', 'barlekha', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(286, 37, 'Kamolganj', 'কমলগঞ্জ', 'kamolganj.moulvibazar.gov.bd', 'kamolganj', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(287, 37, 'Kulaura', 'কুলাউড়া', 'kulaura.moulvibazar.gov.bd', 'kulaura', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(288, 37, '<NAME>', 'মৌলভীবাজার সদর', 'moulvibazarsadar.moulvibazar.gov.bd', 'moulvibazar-sadar', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(289, 37, 'Rajnagar', 'রাজনগর', 'rajnagar.moulvibazar.gov.bd', 'rajnagar', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(290, 37, 'Sreemangal', 'শ্রীমঙ্গল', 'sreemangal.moulvibazar.gov.bd', 'sreemangal', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(291, 37, 'Juri', 'জুড়ী', 'juri.moulvibazar.gov.bd', 'juri', 1, '2021-03-10 10:45:01', '2021-03-10 10:45:01'),
(292, 38, 'Nabiganj', 'নবীগঞ্জ', 'nabiganj.habiganj.gov.bd', 'nabiganj', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(293, 38, 'Bahubal', 'বাহুবল', 'bahubal.habiganj.gov.bd', 'bahubal', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(294, 38, 'Ajmiriganj', 'আজমিরীগঞ্জ', 'ajmiriganj.habiganj.gov.bd', 'ajmiriganj', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(295, 38, 'Baniachong', 'বানিয়াচং', 'baniachong.habiganj.gov.bd', 'baniachong', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(296, 38, 'Lakhai', 'লাখাই', 'lakhai.habiganj.gov.bd', 'lakhai', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(297, 38, 'Chunarughat', 'চুনারুঘাট', 'chunarughat.habiganj.gov.bd', 'chunarughat', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(298, 38, '<NAME>', 'হবিগঞ্জ সদর', 'habiganjsadar.habiganj.gov.bd', 'habiganj-sadar', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(299, 38, 'Madhabpur', 'মাধবপুর', 'madhabpur.habiganj.gov.bd', 'madhabpur', 1, '2021-03-10 10:45:02', '2021-03-10 10:45:02'),
(300, 39, '<NAME>', 'সুনামগঞ্জ সদর', 'sadar.sunamganj.gov.bd', 'sunamganj-sadar', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(301, 39, 'South Sunamganj', 'দক্ষিণ সুনামগঞ্জ', 'southsunamganj.sunamganj.gov.bd', 'south-sunamganj', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(302, 39, 'Bishwambarpur', 'বিশ্বম্ভরপুর', 'bishwambarpur.sunamganj.gov.bd', 'bishwambarpur', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(303, 39, 'Chhatak', 'ছাতক', 'chhatak.sunamganj.gov.bd', 'chhatak', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(304, 39, 'Jagannathpur', 'জগন্নাথপুর', 'jagannathpur.sunamganj.gov.bd', 'jagannathpur', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(305, 39, 'Dowarabazar', 'দোয়ারাবাজার', 'dowarabazar.sunamganj.gov.bd', 'dowarabazar', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(306, 39, 'Tahirpur', 'তাহিরপুর', 'tahirpur.sunamganj.gov.bd', 'tahirpur', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(307, 39, 'Dharmapasha', 'ধর্মপাশা', 'dharmapasha.sunamganj.gov.bd', 'dharmapasha', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(308, 39, 'Jamalganj', 'জামালগঞ্জ', 'jamalganj.sunamganj.gov.bd', 'jamalganj', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(309, 39, 'Shalla', 'শাল্লা', 'shalla.sunamganj.gov.bd', 'shalla', 1, '2021-03-10 10:45:03', '2021-03-10 10:45:03'),
(310, 39, 'Derai', 'দিরাই', 'derai.sunamganj.gov.bd', 'derai', 1, '2021-03-10 10:45:04', '2021-03-10 10:45:04'),
(311, 40, 'Belabo', 'বেলাবো', 'belabo.narsingdi.gov.bd', 'belabo', 1, '2021-03-10 10:45:04', '2021-03-10 10:45:04'),
(312, 40, 'Monohardi', 'মনোহরদী', 'monohardi.narsingdi.gov.bd', 'monohardi', 1, '2021-03-10 10:45:04', '2021-03-10 10:45:04'),
(313, 40, '<NAME>', 'নরসিংদী সদর', 'narsingdisadar.narsingdi.gov.bd', 'narsingdi-sadar', 1, '2021-03-10 10:45:04', '2021-03-10 10:45:04'),
(314, 40, 'Palash', 'পলাশ', 'palash.narsingdi.gov.bd', 'palash', 1, '2021-03-10 10:45:05', '2021-03-10 10:45:05'),
(315, 40, 'Raipura', 'রায়পুরা', 'raipura.narsingdi.gov.bd', 'raipura', 1, '2021-03-10 10:45:06', '2021-03-10 10:45:06'),
(316, 40, 'Shibpur', 'শিবপুর', 'shibpur.narsingdi.gov.bd', 'shibpur', 1, '2021-03-10 10:45:06', '2021-03-10 10:45:06'),
(317, 41, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.gazipur.gov.bd', 'kaliganj', 1, '2021-03-10 10:45:06', '2021-03-10 10:45:06'),
(318, 41, 'Kaliakair', 'কালিয়াকৈর', 'kaliakair.gazipur.gov.bd', 'kaliakair', 1, '2021-03-10 10:45:06', '2021-03-10 10:45:06'),
(319, 41, 'Kapasia', 'কাপাসিয়া', 'kapasia.gazipur.gov.bd', 'kapasia', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(320, 41, '<NAME>', 'গাজীপুর সদর', 'sadar.gazipur.gov.bd', 'gazipur-sadar', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(321, 41, 'Sreepur', 'শ্রীপুর', 'sreepur.gazipur.gov.bd', 'sreepur', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(322, 42, '<NAME>', 'শরিয়তপুর সদর', 'sadar.shariatpur.gov.bd', 'shariatpur-sadar', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(323, 42, 'Naria', 'নড়িয়া', 'naria.shariatpur.gov.bd', 'naria', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(324, 42, 'Zajira', 'জাজিরা', 'zajira.shariatpur.gov.bd', 'zajira', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(325, 42, 'Gosairhat', 'গোসাইরহাট', 'gosairhat.shariatpur.gov.bd', 'gosairhat', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(326, 42, 'Bhedarganj', 'ভেদরগঞ্জ', 'bhedarganj.shariatpur.gov.bd', 'bhedarganj', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(327, 42, 'Damudya', 'ডামুড্যা', 'damudya.shariatpur.gov.bd', 'damudya', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(328, 43, 'Araihazar', 'আড়াইহাজার', 'araihazar.narayanganj.gov.bd', 'araihazar', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(329, 43, 'Bandar', 'বন্দর', 'bandar.narayanganj.gov.bd', 'bandar', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(330, 43, '<NAME>', 'নারায়নগঞ্জ সদর', 'narayanganjsadar.narayanganj.gov.bd', 'narayanganj-sadar', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(331, 43, 'Rupganj', 'রূপগঞ্জ', 'rupganj.narayanganj.gov.bd', 'rupganj', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(332, 43, 'Sonargaon', 'সোনারগাঁ', 'sonargaon.narayanganj.gov.bd', 'sonargaon', 1, '2021-03-10 10:45:07', '2021-03-10 10:45:07'),
(333, 44, 'Basail', 'বাসাইল', 'basail.tangail.gov.bd', 'basail', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(334, 44, 'Bhuapur', 'ভুয়াপুর', 'bhuapur.tangail.gov.bd', 'bhuapur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(335, 44, 'Delduar', 'দেলদুয়ার', 'delduar.tangail.gov.bd', 'delduar', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(336, 44, 'Ghatail', 'ঘাটাইল', 'ghatail.tangail.gov.bd', 'ghatail', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(337, 44, 'Gopalpur', 'গোপালপুর', 'gopalpur.tangail.gov.bd', 'gopalpur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(338, 44, 'Madhupur', 'মধুপুর', 'madhupur.tangail.gov.bd', 'madhupur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(339, 44, 'Mirzapur', 'মির্জাপুর', 'mirzapur.tangail.gov.bd', 'mirzapur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(340, 44, 'Nagarpur', 'নাগরপুর', 'nagarpur.tangail.gov.bd', 'nagarpur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(341, 44, 'Sakhipur', 'সখিপুর', 'sakhipur.tangail.gov.bd', 'sakhipur', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(342, 44, '<NAME>', 'টাঙ্গাইল সদর', 'tangailsadar.tangail.gov.bd', 'tangail-sadar', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(343, 44, 'Kalihati', 'কালিহাতী', 'kalihati.tangail.gov.bd', 'kalihati', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(344, 44, 'Dhanbari', 'ধনবাড়ী', 'dhanbari.tangail.gov.bd', 'dhanbari', 1, '2021-03-10 10:45:08', '2021-03-10 10:45:08'),
(345, 45, 'Itna', 'ইটনা', 'itna.kishoreganj.gov.bd', 'itna', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(346, 45, 'Katiadi', 'কটিয়াদী', 'katiadi.kishoreganj.gov.bd', 'katiadi', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(347, 45, 'Bhairab', 'ভৈরব', 'bhairab.kishoreganj.gov.bd', 'bhairab', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(348, 45, 'Tarail', 'তাড়াইল', 'tarail.kishoreganj.gov.bd', 'tarail', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(349, 45, 'Hossainpur', 'হোসেনপুর', 'hossainpur.kishoreganj.gov.bd', 'hossainpur', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(350, 45, 'Pakundia', 'পাকুন্দিয়া', 'pakundia.kishoreganj.gov.bd', 'pakundia', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(351, 45, 'Kuliarchar', 'কুলিয়ারচর', 'kuliarchar.kishoreganj.gov.bd', 'kuliarchar', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(352, 45, '<NAME>', 'কিশোরগঞ্জ সদর', 'kishoreganjsadar.kishoreganj.gov.bd', 'kishoreganj-sadar', 1, '2021-03-10 10:45:09', '2021-03-10 10:45:09'),
(353, 45, 'Karimgonj', 'করিমগঞ্জ', 'karimgonj.kishoreganj.gov.bd', 'karimgonj', 1, '2021-03-10 10:45:10', '2021-03-10 10:45:10'),
(354, 45, 'Bajitpur', 'বাজিতপুর', 'bajitpur.kishoreganj.gov.bd', 'bajitpur', 1, '2021-03-10 10:45:10', '2021-03-10 10:45:10'),
(355, 45, 'Austagram', 'অষ্টগ্রাম', 'austagram.kishoreganj.gov.bd', 'austagram', 1, '2021-03-10 10:45:10', '2021-03-10 10:45:10'),
(356, 45, 'Mithamoin', 'মিঠামইন', 'mithamoin.kishoreganj.gov.bd', 'mithamoin', 1, '2021-03-10 10:45:10', '2021-03-10 10:45:10'),
(357, 45, 'Nikli', 'নিকলী', 'nikli.kishoreganj.gov.bd', 'nikli', 1, '2021-03-10 10:45:10', '2021-03-10 10:45:10'),
(358, 46, 'Harirampur', 'হরিরামপুর', 'harirampur.manikganj.gov.bd', 'harirampur', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(359, 46, 'Saturia', 'সাটুরিয়া', 'saturia.manikganj.gov.bd', 'saturia', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(360, 46, '<NAME>', 'মানিকগঞ্জ সদর', 'sadar.manikganj.gov.bd', 'manikganj-sadar', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(361, 46, 'Gior', 'ঘিওর', 'gior.manikganj.gov.bd', 'gior', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(362, 46, 'Shibaloy', 'শিবালয়', 'shibaloy.manikganj.gov.bd', 'shibaloy', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(363, 46, 'Doulatpur', 'দৌলতপুর', 'doulatpur.manikganj.gov.bd', 'doulatpur', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(364, 46, 'Singiar', 'সিংগাইর', 'singiar.manikganj.gov.bd', 'singiar', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(365, 47, 'Savar', 'সাভার', 'savar.dhaka.gov.bd', 'savar', 1, '2021-03-10 10:45:11', '2021-03-10 10:45:11'),
(366, 47, 'Dhamrai', 'ধামরাই', 'dhamrai.dhaka.gov.bd', 'dhamrai', 1, '2021-03-10 10:45:12', '2021-03-10 10:45:12'),
(367, 47, 'Keraniganj', 'কেরাণীগঞ্জ', 'keraniganj.dhaka.gov.bd', 'keraniganj', 1, '2021-03-10 10:45:12', '2021-03-10 10:45:12'),
(368, 47, 'Nawabganj', 'নবাবগঞ্জ', 'nawabganj.dhaka.gov.bd', 'nawabganj', 1, '2021-03-10 10:45:12', '2021-03-10 10:45:12'),
(369, 47, 'Dohar', 'দোহার', 'dohar.dhaka.gov.bd', 'dohar', 1, '2021-03-10 10:45:12', '2021-03-10 10:45:12'),
(370, 48, '<NAME>', 'মুন্সিগঞ্জ সদর', 'sadar.munshiganj.gov.bd', 'munshiganj-sadar', 1, '2021-03-10 10:45:12', '2021-03-10 10:45:12'),
(371, 48, 'Sreenagar', 'শ্রীনগর', 'sreenagar.munshiganj.gov.bd', 'sreenagar', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(372, 48, 'Sirajdikhan', 'সিরাজদিখান', 'sirajdikhan.munshiganj.gov.bd', 'sirajdikhan', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(373, 48, 'Louhajanj', 'লৌহজং', 'louhajanj.munshiganj.gov.bd', 'louhajanj', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(374, 48, 'Gajaria', 'গজারিয়া', 'gajaria.munshiganj.gov.bd', 'gajaria', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(375, 48, 'Tongibari', 'টংগীবাড়ি', 'tongibari.munshiganj.gov.bd', 'tongibari', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(376, 49, '<NAME>', 'রাজবাড়ী সদর', 'sadar.rajbari.gov.bd', 'rajbari-sadar', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(377, 49, 'Goalanda', 'গোয়ালন্দ', 'goalanda.rajbari.gov.bd', 'goalanda', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(378, 49, 'Pangsa', 'পাংশা', 'pangsa.rajbari.gov.bd', 'pangsa', 1, '2021-03-10 10:45:13', '2021-03-10 10:45:13'),
(379, 49, 'Baliakandi', 'বালিয়াকান্দি', 'baliakandi.rajbari.gov.bd', 'baliakandi', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(380, 49, 'Kalukhali', 'কালুখালী', 'kalukhali.rajbari.gov.bd', 'kalukhali', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(381, 50, '<NAME>', 'মাদারীপুর সদর', 'sadar.madaripur.gov.bd', 'madaripur-sadar', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(382, 50, 'Shibchar', 'শিবচর', 'shibchar.madaripur.gov.bd', 'shibchar', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(383, 50, 'Kalkini', 'কালকিনি', 'kalkini.madaripur.gov.bd', 'kalkini', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(384, 50, 'Rajoir', 'রাজৈর', 'rajoir.madaripur.gov.bd', 'rajoir', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(385, 51, '<NAME>', 'গোপালগঞ্জ সদর', 'sadar.gopalganj.gov.bd', 'gopalganj-sadar', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(386, 51, 'Kashiani', 'কাশিয়ানী', 'kashiani.gopalganj.gov.bd', 'kashiani', 1, '2021-03-10 10:45:14', '2021-03-10 10:45:14'),
(387, 51, 'Tungipara', 'টুংগীপাড়া', 'tungipara.gopalganj.gov.bd', 'tungipara', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(388, 51, 'Kotalipara', 'কোটালীপাড়া', 'kotalipara.gopalganj.gov.bd', 'kotalipara', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(389, 51, 'Muksudpur', 'মুকসুদপুর', 'muksudpur.gopalganj.gov.bd', 'muksudpur', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(390, 52, '<NAME>', 'ফরিদপুর সদর', 'sadar.faridpur.gov.bd', 'faridpur-sadar', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(391, 52, 'Alfadanga', 'আলফাডাঙ্গা', 'alfadanga.faridpur.gov.bd', 'alfadanga', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(392, 52, 'Boalmari', 'বোয়ালমারী', 'boalmari.faridpur.gov.bd', 'boalmari', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(393, 52, 'Sadarpur', 'সদরপুর', 'sadarpur.faridpur.gov.bd', 'sadarpur', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(394, 52, 'Nagarkanda', 'নগরকান্দা', 'nagarkanda.faridpur.gov.bd', 'nagarkanda', 1, '2021-03-10 10:45:15', '2021-03-10 10:45:15'),
(395, 52, 'Bhanga', 'ভাঙ্গা', 'bhanga.faridpur.gov.bd', 'bhanga', 1, '2021-03-10 10:45:16', '2021-03-10 10:45:16'),
(396, 52, 'Charbhadrasan', 'চরভদ্রাসন', 'charbhadrasan.faridpur.gov.bd', 'charbhadrasan', 1, '2021-03-10 10:45:16', '2021-03-10 10:45:16'),
(397, 52, 'Madhukhali', 'মধুখালী', 'madhukhali.faridpur.gov.bd', 'madhukhali', 1, '2021-03-10 10:45:16', '2021-03-10 10:45:16'),
(398, 52, 'Saltha', 'সালথা', 'saltha.faridpur.gov.bd', 'saltha', 1, '2021-03-10 10:45:16', '2021-03-10 10:45:16'),
(399, 53, '<NAME>', 'পঞ্চগড় সদর', 'panchagarhsadar.panchagarh.gov.bd', 'panchagarh-sadar', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(400, 53, 'Debiganj', 'দেবীগঞ্জ', 'debiganj.panchagarh.gov.bd', 'debiganj', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(401, 53, 'Boda', 'বোদা', 'boda.panchagarh.gov.bd', 'boda', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(402, 53, 'Atwari', 'আটোয়ারী', 'atwari.panchagarh.gov.bd', 'atwari', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17');
INSERT INTO `thanas` (`id`, `district_id`, `name`, `bn_name`, `url`, `slug`, `status`, `created_at`, `updated_at`) VALUES
(403, 53, 'Tetulia', 'তেতুলিয়া', 'tetulia.panchagarh.gov.bd', 'tetulia', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(404, 54, 'Nawabganj', 'নবাবগঞ্জ', 'nawabganj.dinajpur.gov.bd', 'nawabganj', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(405, 54, 'Birganj', 'বীরগঞ্জ', 'birganj.dinajpur.gov.bd', 'birganj', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(406, 54, 'Ghoraghat', 'ঘোড়াঘাট', 'ghoraghat.dinajpur.gov.bd', 'ghoraghat', 1, '2021-03-10 10:45:17', '2021-03-10 10:45:17'),
(407, 54, 'Birampur', 'বিরামপুর', 'birampur.dinajpur.gov.bd', 'birampur', 1, '2021-03-10 10:45:18', '2021-03-10 10:45:18'),
(408, 54, 'Parbatipur', 'পার্বতীপুর', 'parbatipur.dinajpur.gov.bd', 'parbatipur', 1, '2021-03-10 10:45:18', '2021-03-10 10:45:18'),
(409, 54, 'Bochaganj', 'বোচাগঞ্জ', 'bochaganj.dinajpur.gov.bd', 'bochaganj', 1, '2021-03-10 10:45:18', '2021-03-10 10:45:18'),
(410, 54, 'Kaharol', 'কাহারোল', 'kaharol.dinajpur.gov.bd', 'kaharol', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(411, 54, 'Fulbari', 'ফুলবাড়ী', 'fulbari.dinajpur.gov.bd', 'fulbari', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(412, 54, '<NAME>', 'দিনাজপুর সদর', 'dinajpursadar.dinajpur.gov.bd', 'dinajpur-sadar', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(413, 54, 'Hakimpur', 'হাকিমপুর', 'hakimpur.dinajpur.gov.bd', 'hakimpur', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(414, 54, 'Khansama', 'খানসামা', 'khansama.dinajpur.gov.bd', 'khansama', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(415, 54, 'Birol', 'বিরল', 'birol.dinajpur.gov.bd', 'birol', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(416, 54, 'Chirirbandar', 'চিরিরবন্দর', 'chirirbandar.dinajpur.gov.bd', 'chirirbandar', 1, '2021-03-10 10:45:19', '2021-03-10 10:45:19'),
(417, 55, '<NAME>', 'লালমনিরহাট সদর', 'sadar.lalmonirhat.gov.bd', 'lalmonirhat-sadar', 1, '2021-03-10 10:45:20', '2021-03-10 10:45:20'),
(418, 55, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.lalmonirhat.gov.bd', 'kaliganj', 1, '2021-03-10 10:45:20', '2021-03-10 10:45:20'),
(419, 55, 'Hatibandha', 'হাতীবান্ধা', 'hatibandha.lalmonirhat.gov.bd', 'hatibandha', 1, '2021-03-10 10:45:20', '2021-03-10 10:45:20'),
(420, 55, 'Patgram', 'পাটগ্রাম', 'patgram.lalmonirhat.gov.bd', 'patgram', 1, '2021-03-10 10:45:20', '2021-03-10 10:45:20'),
(421, 55, 'Aditmari', 'আদিতমারী', 'aditmari.lalmonirhat.gov.bd', 'aditmari', 1, '2021-03-10 10:45:20', '2021-03-10 10:45:20'),
(422, 56, 'Syedpur', 'সৈয়দপুর', 'syedpur.nilphamari.gov.bd', 'syedpur', 1, '2021-03-10 10:45:21', '2021-03-10 10:45:21'),
(423, 56, 'Domar', 'ডোমার', 'domar.nilphamari.gov.bd', 'domar', 1, '2021-03-10 10:45:21', '2021-03-10 10:45:21'),
(424, 56, 'Dimla', 'ডিমলা', 'dimla.nilphamari.gov.bd', 'dimla', 1, '2021-03-10 10:45:21', '2021-03-10 10:45:21'),
(425, 56, 'Jaldhaka', 'জলঢাকা', 'jaldhaka.nilphamari.gov.bd', 'jaldhaka', 1, '2021-03-10 10:45:21', '2021-03-10 10:45:21'),
(426, 56, 'Kishorganj', 'কিশোরগঞ্জ', 'kishorganj.nilphamari.gov.bd', 'kishorganj', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(427, 56, '<NAME>', 'নীলফামারী সদর', 'nilphamarisadar.nilphamari.gov.bd', 'nilphamari-sadar', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(428, 57, 'Sadullapur', 'সাদুল্লাপুর', 'sadullapur.gaibandha.gov.bd', 'sadullapur', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(429, 57, '<NAME>', 'গাইবান্ধা সদর', 'gaibandhasadar.gaibandha.gov.bd', 'gaibandha-sadar', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(430, 57, 'Palashbari', 'পলাশবাড়ী', 'palashbari.gaibandha.gov.bd', 'palashbari', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(431, 57, 'Saghata', 'সাঘাটা', 'saghata.gaibandha.gov.bd', 'saghata', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(432, 57, 'Gobindaganj', 'গোবিন্দগঞ্জ', 'gobindaganj.gaibandha.gov.bd', 'gobindaganj', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(433, 57, 'Sundarganj', 'সুন্দরগঞ্জ', 'sundarganj.gaibandha.gov.bd', 'sundarganj', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(434, 57, 'Phulchari', 'ফুলছড়ি', 'phulchari.gaibandha.gov.bd', 'phulchari', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(435, 58, '<NAME>', 'ঠাকুরগাঁও সদর', 'thakurgaonsadar.thakurgaon.gov.bd', 'thakurgaon-sadar', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(436, 58, 'Pirganj', 'পীরগঞ্জ', 'pirganj.thakurgaon.gov.bd', 'pirganj', 1, '2021-03-10 10:45:22', '2021-03-10 10:45:22'),
(437, 58, 'Ranisankail', 'রাণীশংকৈল', 'ranisankail.thakurgaon.gov.bd', 'ranisankail', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(438, 58, 'Haripur', 'হরিপুর', 'haripur.thakurgaon.gov.bd', 'haripur', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(439, 58, 'Baliadangi', 'বালিয়াডাঙ্গী', 'baliadangi.thakurgaon.gov.bd', 'baliadangi', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(440, 59, 'R<NAME>', 'রংপুর সদর', 'rangpursadar.rangpur.gov.bd', 'rangpur-sadar', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(441, 59, 'Gangachara', 'গংগাচড়া', 'gangachara.rangpur.gov.bd', 'gangachara', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(442, 59, 'Taragonj', 'তারাগঞ্জ', 'taragonj.rangpur.gov.bd', 'taragonj', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(443, 59, 'Badargonj', 'বদরগঞ্জ', 'badargonj.rangpur.gov.bd', 'badargonj', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(444, 59, 'Mithapukur', 'মিঠাপুকুর', 'mithapukur.rangpur.gov.bd', 'mithapukur', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(445, 59, 'Pirgonj', 'পীরগঞ্জ', 'pirgonj.rangpur.gov.bd', 'pirgonj', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(446, 59, 'Kaunia', 'কাউনিয়া', 'kaunia.rangpur.gov.bd', 'kaunia', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(447, 59, 'Pirgacha', 'পীরগাছা', 'pirgacha.rangpur.gov.bd', 'pirgacha', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(448, 60, '<NAME>', 'কুড়িগ্রাম সদর', 'kurigramsadar.kurigram.gov.bd', 'kurigram-sadar', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(449, 60, 'Nageshwari', 'নাগেশ্বরী', 'nageshwari.kurigram.gov.bd', 'nageshwari', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(450, 60, 'Bhurungamari', 'ভুরুঙ্গামারী', 'bhurungamari.kurigram.gov.bd', 'bhurungamari', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(451, 60, 'Phulbari', 'ফুলবাড়ী', 'phulbari.kurigram.gov.bd', 'phulbari', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(452, 60, 'Rajarhat', 'রাজারহাট', 'rajarhat.kurigram.gov.bd', 'rajarhat', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(453, 60, 'Ulipur', 'উলিপুর', 'ulipur.kurigram.gov.bd', 'ulipur', 1, '2021-03-10 10:45:23', '2021-03-10 10:45:23'),
(454, 60, 'Chilmari', 'চিলমারী', 'chilmari.kurigram.gov.bd', 'chilmari', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(455, 60, 'Rowmari', 'রৌমারী', 'rowmari.kurigram.gov.bd', 'rowmari', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(456, 60, 'Charrajibpur', 'চর রাজিবপুর', 'charrajibpur.kurigram.gov.bd', 'charrajibpur', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(457, 61, '<NAME>', 'শেরপুর সদর', 'sherpursadar.sherpur.gov.bd', 'sherpur-sadar', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(458, 61, 'Nalitabari', 'নালিতাবাড়ী', 'nalitabari.sherpur.gov.bd', 'nalitabari', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(459, 61, 'Sreebordi', 'শ্রীবরদী', 'sreebordi.sherpur.gov.bd', 'sreebordi', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(460, 61, 'Nokla', 'নকলা', 'nokla.sherpur.gov.bd', 'nokla', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(461, 61, 'Jhenaigati', 'ঝিনাইগাতী', 'jhenaigati.sherpur.gov.bd', 'jhenaigati', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(462, 62, 'Fulbaria', 'ফুলবাড়ীয়া', 'fulbaria.mymensingh.gov.bd', 'fulbaria', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(463, 62, 'Trishal', 'ত্রিশাল', 'trishal.mymensingh.gov.bd', 'trishal', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(464, 62, 'Bhaluka', 'ভালুকা', 'bhaluka.mymensingh.gov.bd', 'bhaluka', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(465, 62, 'Muktagacha', 'মুক্তাগাছা', 'muktagacha.mymensingh.gov.bd', 'muktagacha', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(466, 62, '<NAME>', 'ময়মনসিংহ সদর', 'mymensinghsadar.mymensingh.gov.bd', 'mymensingh-sadar', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(467, 62, 'Dhobaura', 'ধোবাউড়া', 'dhobaura.mymensingh.gov.bd', 'dhobaura', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(468, 62, 'Phulpur', 'ফুলপুর', 'phulpur.mymensingh.gov.bd', 'phulpur', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(469, 62, 'Haluaghat', 'হালুয়াঘাট', 'haluaghat.mymensingh.gov.bd', 'haluaghat', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(470, 62, 'Gouripur', 'গৌরীপুর', 'gouripur.mymensingh.gov.bd', 'gouripur', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(471, 62, 'Gafargaon', 'গফরগাঁও', 'gafargaon.mymensingh.gov.bd', 'gafargaon', 1, '2021-03-10 10:45:24', '2021-03-10 10:45:24'),
(472, 62, 'Iswarganj', 'ঈশ্বরগঞ্জ', 'iswarganj.mymensingh.gov.bd', 'iswarganj', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(473, 62, 'Nandail', 'নান্দাইল', 'nandail.mymensingh.gov.bd', 'nandail', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(474, 62, 'Tarakanda', 'তারাকান্দা', 'tarakanda.mymensingh.gov.bd', 'tarakanda', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(475, 63, '<NAME>', 'জামালপুর সদর', 'jamalpursadar.jamalpur.gov.bd', 'jamalpur-sadar', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(476, 63, 'Melandah', 'মেলান্দহ', 'melandah.jamalpur.gov.bd', 'melandah', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(477, 63, 'Islampur', 'ইসলামপুর', 'islampur.jamalpur.gov.bd', 'islampur', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(478, 63, 'Dewangonj', 'দেওয়ানগঞ্জ', 'dewangonj.jamalpur.gov.bd', 'dewangonj', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(479, 63, 'Sarishabari', 'সরিষাবাড়ী', 'sarishabari.jamalpur.gov.bd', 'sarishabari', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(480, 63, 'Madarganj', 'মাদারগঞ্জ', 'madarganj.jamalpur.gov.bd', 'madarganj', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(481, 63, 'Bokshiganj', 'বকশীগঞ্জ', 'bokshiganj.jamalpur.gov.bd', 'bokshiganj', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(482, 64, 'Barhatta', 'বারহাট্টা', 'barhatta.netrokona.gov.bd', 'barhatta', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(483, 64, 'Durgapur', 'দুর্গাপুর', 'durgapur.netrokona.gov.bd', 'durgapur', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(484, 64, 'Kendua', 'কেন্দুয়া', 'kendua.netrokona.gov.bd', 'kendua', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(485, 64, 'Atpara', 'আটপাড়া', 'atpara.netrokona.gov.bd', 'atpara', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(486, 64, 'Madan', 'মদন', 'madan.netrokona.gov.bd', 'madan', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(487, 64, 'Khaliajuri', 'খালিয়াজুরী', 'khaliajuri.netrokona.gov.bd', 'khaliajuri', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(488, 64, 'Kalmakanda', 'কলমাকান্দা', 'kalmakanda.netrokona.gov.bd', 'kalmakanda', 1, '2021-03-10 10:45:25', '2021-03-10 10:45:25'),
(489, 64, 'Mohongonj', 'মোহনগঞ্জ', 'mohongonj.netrokona.gov.bd', 'mohongonj', 1, '2021-03-10 10:45:26', '2021-03-10 10:45:26'),
(490, 64, 'Purbadhala', 'পূর্বধলা', 'purbadhala.netrokona.gov.bd', 'purbadhala', 1, '2021-03-10 10:45:26', '2021-03-10 10:45:26'),
(491, 64, '<NAME>', 'নেত্রকোণা সদর', 'netrokonasadar.netrokona.gov.bd', 'netrokona-sadar', 1, '2021-03-10 10:45:26', '2021-03-10 10:45:26');
-- --------------------------------------------------------
--
-- Table structure for table `units`
--
CREATE TABLE `units` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name_bn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(4) DEFAULT NULL,
`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 `units`
--
INSERT INTO `units` (`id`, `name`, `name_bn`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Sit ex.', 'Eligendi.', 1, '2021-03-10 10:46:34', '2021-03-10 10:46:34'),
(2, 'Quo quia.', 'Omnis.', 1, '2021-03-10 10:46:34', '2021-03-10 10:46:34'),
(3, 'Sint enim.', 'Ut qui.', 1, '2021-03-10 10:46:34', '2021-03-10 10:46:34'),
(4, 'Suscipit.', 'Veritatis.', 1, '2021-03-10 10:46:34', '2021-03-10 10:46:34'),
(5, 'Aut.', 'Sit ullam.', 1, '2021-03-10 10:46:34', '2021-03-10 10:46:34');
-- --------------------------------------------------------
--
-- Table structure for table `upazilas`
--
CREATE TABLE `upazilas` (
`id` bigint(20) UNSIGNED NOT NULL,
`district_id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`bn_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`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 `upazilas`
--
INSERT INTO `upazilas` (`id`, `district_id`, `name`, `bn_name`, `url`, `created_at`, `updated_at`) VALUES
(1, 1, 'Debidwar', 'দেবিদ্বার', 'debidwar.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(2, 1, 'Barura', 'বরুড়া', 'barura.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(3, 1, 'Brahmanpara', 'ব্রাহ্মণপাড়া', 'brahmanpara.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(4, 1, 'Chandina', 'চান্দিনা', 'chandina.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(5, 1, 'Chauddagram', 'চৌদ্দগ্রাম', 'chauddagram.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(6, 1, 'Daudkandi', 'দাউদকান্দি', 'daudkandi.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(7, 1, 'Homna', 'হোমনা', 'homna.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(8, 1, 'Laksam', 'লাকসাম', 'laksam.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(9, 1, 'Muradnagar', 'মুরাদনগর', 'muradnagar.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(10, 1, 'Nangalkot', 'নাঙ্গলকোট', 'nangalkot.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(11, 1, '<NAME>', 'কুমিল্লা সদর', 'comillasadar.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(12, 1, 'Meghna', 'মেঘনা', 'meghna.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(13, 1, 'Monohargonj', 'মনোহরগঞ্জ', 'monohargonj.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(14, 1, 'Sadarsouth', 'সদর দক্ষিণ', 'sadarsouth.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(15, 1, 'Titas', 'তিতাস', 'titas.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(16, 1, 'Burichang', 'বুড়িচং', 'burichang.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(17, 1, 'Lalmai', 'লালমাই', 'lalmai.comilla.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(18, 2, 'Chhagalnaiya', 'ছাগলনাইয়া', 'chhagalnaiya.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(19, 2, '<NAME>', 'ফেনী সদর', 'sadar.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(20, 2, 'Sonagazi', 'সোনাগাজী', 'sonagazi.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(21, 2, 'Fulgazi', 'ফুলগাজী', 'fulgazi.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(22, 2, 'Parshuram', 'পরশুরাম', 'parshuram.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(23, 2, 'Daganbhuiyan', 'দাগনভূঞা', 'daganbhuiyan.feni.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(24, 3, '<NAME>', 'ব্রাহ্মণবাড়িয়া সদর', 'sadar.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(25, 3, 'Kasba', 'কসবা', 'kasba.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(26, 3, 'Nasirnagar', 'নাসিরনগর', 'nasirnagar.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(27, 3, 'Sarail', 'সরাইল', 'sarail.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(28, 3, 'Ashuganj', 'আশুগঞ্জ', 'ashuganj.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(29, 3, 'Akhaura', 'আখাউড়া', 'akhaura.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(30, 3, 'Nabinagar', 'নবীনগর', 'nabinagar.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(31, 3, 'Bancharampur', 'বাঞ্ছারামপুর', 'bancharampur.brahmanbaria.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(32, 3, 'Bijoynagar', 'বিজয়নগর', 'bijoynagar.brahmanbaria.gov.bd ', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(33, 4, '<NAME>', 'রাঙ্গামাটি সদর', 'sadar.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(34, 4, 'Kaptai', 'কাপ্তাই', 'kaptai.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(35, 4, 'Kawkhali', 'কাউখালী', 'kawkhali.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(36, 4, 'Baghaichari', 'বাঘাইছড়ি', 'baghaichari.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(37, 4, 'Barkal', 'বরকল', 'barkal.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(38, 4, 'Langadu', 'লংগদু', 'langadu.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(39, 4, 'Rajasthali', 'রাজস্থলী', 'rajasthali.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(40, 4, 'Belaichari', 'বিলাইছড়ি', 'belaichari.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(41, 4, 'Juraichari', 'জুরাছড়ি', 'juraichari.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(42, 4, 'Naniarchar', 'নানিয়ারচর', 'naniarchar.rangamati.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(43, 5, '<NAME>', 'নোয়াখালী সদর', 'sadar.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(44, 5, 'Companiganj', 'কোম্পানীগঞ্জ', 'companiganj.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(45, 5, 'Begumganj', 'বেগমগঞ্জ', 'begumganj.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(46, 5, 'Hatia', 'হাতিয়া', 'hatia.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(47, 5, 'Subarnachar', 'সুবর্ণচর', 'subarnachar.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(48, 5, 'Kabirhat', 'কবিরহাট', 'kabirhat.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(49, 5, 'Senbug', 'সেনবাগ', 'senbug.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(50, 5, 'Chatkhil', 'চাটখিল', 'chatkhil.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(51, 5, 'Sonaimori', 'সোনাইমুড়ী', 'sonaimori.noakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(52, 6, 'Haimchar', 'হাইমচর', 'haimchar.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(53, 6, 'Kachua', 'কচুয়া', 'kachua.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(54, 6, 'Shahrasti', 'শাহরাস্তি ', 'shahrasti.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(55, 6, '<NAME>', 'চাঁদপুর সদর', 'sadar.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(56, 6, 'Matlab South', 'মতলব দক্ষিণ', 'matlabsouth.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(57, 6, 'Hajiganj', 'হাজীগঞ্জ', 'hajiganj.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(58, 6, 'Matlab North', 'মতলব উত্তর', 'matlabnorth.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(59, 6, 'Faridgonj', 'ফরিদগঞ্জ', 'faridgonj.chandpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(60, 7, '<NAME>', 'লক্ষ্মীপুর সদর', 'sadar.lakshmipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(61, 7, 'Kamalnagar', 'কমলনগর', 'kamalnagar.lakshmipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(62, 7, 'Raipur', 'রায়পুর', 'raipur.lakshmipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(63, 7, 'Ramgati', 'রামগতি', 'ramgati.lakshmipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(64, 7, 'Ramganj', 'রামগঞ্জ', 'ramganj.lakshmipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(65, 8, 'Rangunia', 'রাঙ্গুনিয়া', 'rangunia.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(66, 8, 'Sitakunda', 'সীতাকুন্ড', 'sitakunda.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(67, 8, 'Mirsharai', 'মীরসরাই', 'mirsharai.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(68, 8, 'Patiya', 'পটিয়া', 'patiya.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(69, 8, 'Sandwip', 'সন্দ্বীপ', 'sandwip.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(70, 8, 'Banshkhali', 'বাঁশখালী', 'banshkhali.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(71, 8, 'Boalkhali', 'বোয়ালখালী', 'boalkhali.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(72, 8, 'Anwara', 'আনোয়ারা', 'anwara.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(73, 8, 'Chandanaish', 'চন্দনাইশ', 'chandanaish.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(74, 8, 'Satkania', 'সাতকানিয়া', 'satkania.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(75, 8, 'Lohagara', 'লোহাগাড়া', 'lohagara.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(76, 8, 'Hathazari', 'হাটহাজারী', 'hathazari.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(77, 8, 'Fatikchhari', 'ফটিকছড়ি', 'fatikchhari.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(78, 8, 'Raozan', 'রাউজান', 'raozan.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(79, 8, 'Karnafuli', 'কর্ণফুলী', 'karnafuli.chittagong.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(80, 9, '<NAME>', 'কক্সবাজার সদর', 'sadar.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(81, 9, 'Chakaria', 'চকরিয়া', 'chakaria.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(82, 9, 'Kutubdia', 'কুতুবদিয়া', 'kutubdia.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(83, 9, 'Ukhiya', 'উখিয়া', 'ukhiya.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(84, 9, 'Moheshkhali', 'মহেশখালী', 'moheshkhali.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(85, 9, 'Pekua', 'পেকুয়া', 'pekua.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(86, 9, 'Ramu', 'রামু', 'ramu.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(87, 9, 'Teknaf', 'টেকনাফ', 'teknaf.coxsbazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(88, 10, '<NAME>', 'খাগড়াছড়ি সদর', 'sadar.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(89, 10, 'Dighinala', 'দিঘীনালা', 'dighinala.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(90, 10, 'Panchari', 'পানছড়ি', 'panchari.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(91, 10, 'Laxmichhari', 'লক্ষীছড়ি', 'laxmichhari.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(92, 10, 'Mohalchari', 'মহালছড়ি', 'mohalchari.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(93, 10, 'Manikchari', 'মানিকছড়ি', 'manikchari.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(94, 10, 'Ramgarh', 'রামগড়', 'ramgarh.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(95, 10, 'Matiranga', 'মাটিরাঙ্গা', 'matiranga.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(96, 10, 'Guimara', 'গুইমারা', 'guimara.khagrachhari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(97, 11, '<NAME>', 'বান্দরবান সদর', 'sadar.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(98, 11, 'Alikadam', 'আলীকদম', 'alikadam.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(99, 11, 'Naikhongchhari', 'নাইক্ষ্যংছড়ি', 'naikhongchhari.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(100, 11, 'Rowangchhari', 'রোয়াংছড়ি', 'rowangchhari.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(101, 11, 'Lama', 'লামা', 'lama.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(102, 11, 'Ruma', 'রুমা', 'ruma.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(103, 11, 'Thanchi', 'থানচি', 'thanchi.bandarban.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(104, 12, 'Belkuchi', 'বেলকুচি', 'belkuchi.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(105, 12, 'Chauhali', 'চৌহালি', 'chauhali.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(106, 12, 'Kamarkhand', 'কামারখন্দ', 'kamarkhand.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(107, 12, 'Kazipur', 'কাজীপুর', 'kazipur.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(108, 12, 'Raigonj', 'রায়গঞ্জ', 'raigonj.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(109, 12, 'Shahjadpur', 'শাহজাদপুর', 'shahjadpur.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(110, 12, '<NAME>', 'সিরাজগঞ্জ সদর', 'sirajganjsadar.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(111, 12, 'Tarash', 'তাড়াশ', 'tarash.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(112, 12, 'Ullapara', 'উল্লাপাড়া', 'ullapara.sirajganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(113, 13, 'Sujanagar', 'সুজানগর', 'sujanagar.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(114, 13, 'Ishurdi', 'ঈশ্বরদী', 'ishurdi.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(115, 13, 'Bhangura', 'ভাঙ্গুড়া', 'bhangura.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(116, 13, '<NAME>', 'পাবনা সদর', 'pabnasadar.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(117, 13, 'Bera', 'বেড়া', 'bera.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(118, 13, 'Atghoria', 'আটঘরিয়া', 'atghoria.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(119, 13, 'Chatmohar', 'চাটমোহর', 'chatmohar.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(120, 13, 'Santhia', 'সাঁথিয়া', 'santhia.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(121, 13, 'Faridpur', 'ফরিদপুর', 'faridpur.pabna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(122, 14, 'Kahaloo', 'কাহালু', 'kahaloo.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(123, 14, '<NAME>', 'বগুড়া সদর', 'sadar.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(124, 14, 'Shariakandi', 'সারিয়াকান্দি', 'shariakandi.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(125, 14, 'Shajahanpur', 'শাজাহানপুর', 'shajahanpur.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(126, 14, 'Dupchanchia', 'দুপচাচিঁয়া', 'dupchanchia.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(127, 14, 'Adamdighi', 'আদমদিঘি', 'adamdighi.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(128, 14, 'Nondigram', 'নন্দিগ্রাম', 'nondigram.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(129, 14, 'Sonatala', 'সোনাতলা', 'sonatala.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(130, 14, 'Dhunot', 'ধুনট', 'dhunot.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(131, 14, 'Gabtali', 'গাবতলী', 'gabtali.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(132, 14, 'Sherpur', 'শেরপুর', 'sherpur.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(133, 14, 'Shibganj', 'শিবগঞ্জ', 'shibganj.bogra.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(134, 15, 'Paba', 'পবা', 'paba.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(135, 15, 'Durgapur', 'দুর্গাপুর', 'durgapur.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(136, 15, 'Mohonpur', 'মোহনপুর', 'mohonpur.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(137, 15, 'Charghat', 'চারঘাট', 'charghat.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(138, 15, 'Puthia', 'পুঠিয়া', 'puthia.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(139, 15, 'Bagha', 'বাঘা', 'bagha.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(140, 15, 'Godagari', 'গোদাগাড়ী', 'godagari.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(141, 15, 'Tanore', 'তানোর', 'tanore.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(142, 15, 'Bagmara', 'বাগমারা', 'bagmara.rajshahi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(143, 16, '<NAME>', 'নাটোর সদর', 'natoresadar.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(144, 16, 'Singra', 'সিংড়া', 'singra.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(145, 16, 'Baraigram', 'বড়াইগ্রাম', 'baraigram.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(146, 16, 'Bagatipara', 'বাগাতিপাড়া', 'bagatipara.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(147, 16, 'Lalpur', 'লালপুর', 'lalpur.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(148, 16, 'Gurudaspur', 'গুরুদাসপুর', 'gurudaspur.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(149, 16, 'Naldanga', 'নলডাঙ্গা', 'naldanga.natore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(150, 17, 'Akkelpur', 'আক্কেলপুর', 'akkelpur.joypurhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(151, 17, 'Kalai', 'কালাই', 'kalai.joypurhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(152, 17, 'Khetlal', 'ক্ষেতলাল', 'khetlal.joypurhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(153, 17, 'Panchbibi', 'পাঁচবিবি', 'panchbibi.joypurhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(154, 17, '<NAME>', 'জয়পুরহাট সদর', 'joypurhatsadar.joypurhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(155, 18, '<NAME>', 'চাঁপাইনবাবগঞ্জ সদর', 'chapainawabganjsadar.chapainawabganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(156, 18, 'Gomostapur', 'গোমস্তাপুর', 'gomostapur.chapainawabganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(157, 18, 'Nachol', 'নাচোল', 'nachol.chapainawabganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(158, 18, 'Bholahat', 'ভোলাহাট', 'bholahat.chapainawabganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(159, 18, 'Shibganj', 'শিবগঞ্জ', 'shibganj.chapainawabganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(160, 19, 'Mohadevpur', 'মহাদেবপুর', 'mohadevpur.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(161, 19, 'Badalgachi', 'বদলগাছী', 'badalgachi.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(162, 19, 'Patnitala', 'পত্নিতলা', 'patnitala.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(163, 19, 'Dhamoirhat', 'ধামইরহাট', 'dhamoirhat.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(164, 19, 'Niamatpur', 'নিয়ামতপুর', 'niamatpur.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(165, 19, 'Manda', 'মান্দা', 'manda.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(166, 19, 'Atrai', 'আত্রাই', 'atrai.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(167, 19, 'Raninagar', 'রাণীনগর', 'raninagar.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(168, 19, '<NAME>', 'নওগাঁ সদর', 'naogaonsadar.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(169, 19, 'Porsha', 'পোরশা', 'porsha.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(170, 19, 'Sapahar', 'সাপাহার', 'sapahar.naogaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(171, 20, 'Manirampur', 'মণিরামপুর', 'manirampur.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(172, 20, 'Abhaynagar', 'অভয়নগর', 'abhaynagar.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(173, 20, 'Bagherpara', 'বাঘারপাড়া', 'bagherpara.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(174, 20, 'Chougachha', 'চৌগাছা', 'chougachha.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(175, 20, 'Jhikargacha', 'ঝিকরগাছা', 'jhikargacha.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(176, 20, 'Keshabpur', 'কেশবপুর', 'keshabpur.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(177, 20, '<NAME>', 'যশোর সদর', 'sadar.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(178, 20, 'Sharsha', 'শার্শা', 'sharsha.jessore.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(179, 21, 'Assasuni', 'আশাশুনি', 'assasuni.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(180, 21, 'Debhata', 'দেবহাটা', 'debhata.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(181, 21, 'Kalaroa', 'কলারোয়া', 'kalaroa.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(182, 21, '<NAME>', 'সাতক্ষীরা সদর', 'satkhirasadar.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(183, 21, 'Shyamnagar', 'শ্যামনগর', 'shyamnagar.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(184, 21, 'Tala', 'তালা', 'tala.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(185, 21, 'Kaliganj', 'কালিগঞ্জ', 'kaliganj.satkhira.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(186, 22, 'Mujibnagar', 'মুজিবনগর', 'mujibnagar.meherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(187, 22, '<NAME>', 'মেহেরপুর সদর', 'meherpursadar.meherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(188, 22, 'Gangni', 'গাংনী', 'gangni.meherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(189, 23, '<NAME>', 'নড়াইল সদর', 'narailsadar.narail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(190, 23, 'Lohagara', 'লোহাগড়া', 'lohagara.narail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(191, 23, 'Kalia', 'কালিয়া', 'kalia.narail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(192, 24, '<NAME>', 'চুয়াডাঙ্গা সদর', 'chuadangasadar.chuadanga.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(193, 24, 'Alamdanga', 'আলমডাঙ্গা', 'alamdanga.chuadanga.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(194, 24, 'Damurhuda', 'দামুড়হুদা', 'damurhuda.chuadanga.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(195, 24, 'Jibannagar', 'জীবননগর', 'jibannagar.chuadanga.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(196, 25, '<NAME>', 'কুষ্টিয়া সদর', 'kushtiasadar.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(197, 25, 'Kumarkhali', 'কুমারখালী', 'kumarkhali.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(198, 25, 'Khoksa', 'খোকসা', 'khoksa.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(199, 25, 'Mirpur', 'মিরপুর', 'mirpurkushtia.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(200, 25, 'Daulatpur', 'দৌলতপুর', 'daulatpur.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(201, 25, 'Bheramara', 'ভেড়ামারা', 'bheramara.kushtia.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(202, 26, 'Shalikha', 'শালিখা', 'shalikha.magura.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(203, 26, 'Sreepur', 'শ্রীপুর', 'sreepur.magura.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(204, 26, '<NAME>', 'মাগুরা সদর', 'magurasadar.magura.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(205, 26, 'Mohammadpur', 'মহম্মদপুর', 'mohammadpur.magura.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(206, 27, 'Paikgasa', 'পাইকগাছা', 'paikgasa.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(207, 27, 'Fultola', 'ফুলতলা', 'fultola.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(208, 27, 'Digholia', 'দিঘলিয়া', 'digholia.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(209, 27, 'Rupsha', 'রূপসা', 'rupsha.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(210, 27, 'Terokhada', 'তেরখাদা', 'terokhada.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(211, 27, 'Dumuria', 'ডুমুরিয়া', 'dumuria.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(212, 27, 'Botiaghata', 'বটিয়াঘাটা', 'botiaghata.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(213, 27, 'Dakop', 'দাকোপ', 'dakop.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(214, 27, 'Koyra', 'কয়রা', 'koyra.khulna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(215, 28, 'Fakirhat', 'ফকিরহাট', 'fakirhat.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(216, 28, '<NAME>', 'বাগেরহাট সদর', 'sadar.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(217, 28, 'Mollahat', 'মোল্লাহাট', 'mollahat.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(218, 28, 'Sarankhola', 'শরণখোলা', 'sarankhola.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(219, 28, 'Rampal', 'রামপাল', 'rampal.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(220, 28, 'Morrelganj', 'মোড়েলগঞ্জ', 'morrelganj.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(221, 28, 'Kachua', 'কচুয়া', 'kachua.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(222, 28, 'Mongla', 'মোংলা', 'mongla.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(223, 28, 'Chitalmari', 'চিতলমারী', 'chitalmari.bagerhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(224, 29, '<NAME>', 'ঝিনাইদহ সদর', 'sadar.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(225, 29, 'Shailkupa', 'শৈলকুপা', 'shailkupa.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(226, 29, 'Harinakundu', 'হরিণাকুন্ডু', 'harinakundu.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(227, 29, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(228, 29, 'Kotchandpur', 'কোটচাঁদপুর', 'kotchandpur.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(229, 29, 'Moheshpur', 'মহেশপুর', 'moheshpur.jhenaidah.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(230, 30, '<NAME>', 'ঝালকাঠি সদর', 'sadar.jhalakathi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(231, 30, 'Kathalia', 'কাঠালিয়া', 'kathalia.jhalakathi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(232, 30, 'Nalchity', 'নলছিটি', 'nalchity.jhalakathi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(233, 30, 'Rajapur', 'রাজাপুর', 'rajapur.jhalakathi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(234, 31, 'Bauphal', 'বাউফল', 'bauphal.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(235, 31, '<NAME>', 'পটুয়াখালী সদর', 'sadar.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(236, 31, 'Dumki', 'দুমকি', 'dumki.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(237, 31, 'Dashmina', 'দশমিনা', 'dashmina.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(238, 31, 'Kalapara', 'কলাপাড়া', 'kalapara.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(239, 31, 'Mirzaganj', 'মির্জাগঞ্জ', 'mirzaganj.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(240, 31, 'Galachipa', 'গলাচিপা', 'galachipa.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(241, 31, 'Rangabali', 'রাঙ্গাবালী', 'rangabali.patuakhali.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(242, 32, '<NAME>', 'পিরোজপুর সদর', 'sadar.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(243, 32, 'Nazirpur', 'নাজিরপুর', 'nazirpur.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(244, 32, 'Kawkhali', 'কাউখালী', 'kawkhali.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(245, 32, 'Zianagar', 'জিয়ানগর', 'zianagar.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(246, 32, 'Bhandaria', 'ভান্ডারিয়া', 'bhandaria.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(247, 32, 'Mathbaria', 'মঠবাড়ীয়া', 'mathbaria.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(248, 32, 'Nesarabad', 'নেছারাবাদ', 'nesarabad.pirojpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(249, 33, '<NAME>', 'বরিশাল সদর', 'barisalsadar.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(250, 33, 'Bakerganj', 'বাকেরগঞ্জ', 'bakerganj.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(251, 33, 'Babuganj', 'বাবুগঞ্জ', 'babuganj.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(252, 33, 'Wazirpur', 'উজিরপুর', 'wazirpur.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(253, 33, 'Banaripara', 'বানারীপাড়া', 'banaripara.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(254, 33, 'Gournadi', 'গৌরনদী', 'gournadi.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(255, 33, 'Agailjhara', 'আগৈলঝাড়া', 'agailjhara.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(256, 33, 'Mehendiganj', 'মেহেন্দিগঞ্জ', 'mehendiganj.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(257, 33, 'Muladi', 'মুলাদী', 'muladi.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(258, 33, 'Hizla', 'হিজলা', 'hizla.barisal.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(259, 34, '<NAME>', 'ভোলা সদর', 'sadar.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(260, 34, '<NAME>', 'বোরহান উদ্দিন', 'borhanuddin.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(261, 34, 'Charfesson', 'চরফ্যাশন', 'charfesson.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(262, 34, 'Doulatkhan', 'দৌলতখান', 'doulatkhan.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(263, 34, 'Monpura', 'মনপুরা', 'monpura.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(264, 34, 'Tazumuddin', 'তজুমদ্দিন', 'tazumuddin.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(265, 34, 'Lalmohan', 'লালমোহন', 'lalmohan.bhola.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(266, 35, 'Amtali', 'আমতলী', 'amtali.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(267, 35, '<NAME>', 'বরগুনা সদর', 'sadar.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(268, 35, 'Betagi', 'বেতাগী', 'betagi.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(269, 35, 'Bamna', 'বামনা', 'bamna.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(270, 35, 'Pathorghata', 'পাথরঘাটা', 'pathorghata.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(271, 35, 'Taltali', 'তালতলি', 'taltali.barguna.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(272, 36, 'Balaganj', 'বালাগঞ্জ', 'balaganj.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(273, 36, 'Beanibazar', 'বিয়ানীবাজার', 'beanibazar.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(274, 36, 'Bishwanath', 'বিশ্বনাথ', 'bishwanath.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(275, 36, 'Companiganj', 'কোম্পানীগঞ্জ', 'companiganj.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(276, 36, 'Fenchuganj', 'ফেঞ্চুগঞ্জ', 'fenchuganj.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(277, 36, 'Golapganj', 'গোলাপগঞ্জ', 'golapganj.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(278, 36, 'Gowainghat', 'গোয়াইনঘাট', 'gowainghat.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(279, 36, 'Jaintiapur', 'জৈন্তাপুর', 'jaintiapur.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(280, 36, 'Kanaighat', 'কানাইঘাট', 'kanaighat.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(281, 36, '<NAME>', 'সিলেট সদর', 'sylhetsadar.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(282, 36, 'Zakiganj', 'জকিগঞ্জ', 'zakiganj.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(283, 36, 'Dakshinsurma', 'দক্ষিণ সুরমা', 'dakshinsurma.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(284, 36, 'Osmaninagar', 'ওসমানী নগর', 'osmaninagar.sylhet.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(285, 37, 'Barlekha', 'বড়লেখা', 'barlekha.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(286, 37, 'Kamolganj', 'কমলগঞ্জ', 'kamolganj.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(287, 37, 'Kulaura', 'কুলাউড়া', 'kulaura.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(288, 37, '<NAME>', 'মৌলভীবাজার সদর', 'moulvibazarsadar.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(289, 37, 'Rajnagar', 'রাজনগর', 'rajnagar.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(290, 37, 'Sreemangal', 'শ্রীমঙ্গল', 'sreemangal.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(291, 37, 'Juri', 'জুড়ী', 'juri.moulvibazar.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(292, 38, 'Nabiganj', 'নবীগঞ্জ', 'nabiganj.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(293, 38, 'Bahubal', 'বাহুবল', 'bahubal.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(294, 38, 'Ajmiriganj', 'আজমিরীগঞ্জ', 'ajmiriganj.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(295, 38, 'Baniachong', 'বানিয়াচং', 'baniachong.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(296, 38, 'Lakhai', 'লাখাই', 'lakhai.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(297, 38, 'Chunarughat', 'চুনারুঘাট', 'chunarughat.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(298, 38, '<NAME>', 'হবিগঞ্জ সদর', 'habiganjsadar.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(299, 38, 'Madhabpur', 'মাধবপুর', 'madhabpur.habiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(300, 39, '<NAME>', 'সুনামগঞ্জ সদর', 'sadar.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(301, 39, '<NAME>', 'দক্ষিণ সুনামগঞ্জ', 'southsunamganj.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(302, 39, 'Bishwambarpur', 'বিশ্বম্ভরপুর', 'bishwambarpur.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(303, 39, 'Chhatak', 'ছাতক', 'chhatak.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(304, 39, 'Jagannathpur', 'জগন্নাথপুর', 'jagannathpur.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(305, 39, 'Dowarabazar', 'দোয়ারাবাজার', 'dowarabazar.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(306, 39, 'Tahirpur', 'তাহিরপুর', 'tahirpur.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(307, 39, 'Dharmapasha', 'ধর্মপাশা', 'dharmapasha.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(308, 39, 'Jamalganj', 'জামালগঞ্জ', 'jamalganj.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(309, 39, 'Shalla', 'শাল্লা', 'shalla.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(310, 39, 'Derai', 'দিরাই', 'derai.sunamganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(311, 40, 'Belabo', 'বেলাবো', 'belabo.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(312, 40, 'Monohardi', 'মনোহরদী', 'monohardi.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(313, 40, '<NAME>', 'নরসিংদী সদর', 'narsingdisadar.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(314, 40, 'Palash', 'পলাশ', 'palash.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(315, 40, 'Raipura', 'রায়পুরা', 'raipura.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(316, 40, 'Shibpur', 'শিবপুর', 'shibpur.narsingdi.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(317, 41, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.gazipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(318, 41, 'Kaliakair', 'কালিয়াকৈর', 'kaliakair.gazipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(319, 41, 'Kapasia', 'কাপাসিয়া', 'kapasia.gazipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(320, 41, '<NAME>', 'গাজীপুর সদর', 'sadar.gazipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(321, 41, 'Sreepur', 'শ্রীপুর', 'sreepur.gazipur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(322, 42, '<NAME>', 'শরিয়তপুর সদর', 'sadar.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(323, 42, 'Naria', 'নড়িয়া', 'naria.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(324, 42, 'Zajira', 'জাজিরা', 'zajira.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(325, 42, 'Gosairhat', 'গোসাইরহাট', 'gosairhat.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(326, 42, 'Bhedarganj', 'ভেদরগঞ্জ', 'bhedarganj.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(327, 42, 'Damudya', 'ডামুড্যা', 'damudya.shariatpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(328, 43, 'Araihazar', 'আড়াইহাজার', 'araihazar.narayanganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(329, 43, 'Bandar', 'বন্দর', 'bandar.narayanganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(330, 43, '<NAME>', 'নারায়নগঞ্জ সদর', 'narayanganjsadar.narayanganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(331, 43, 'Rupganj', 'রূপগঞ্জ', 'rupganj.narayanganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(332, 43, 'Sonargaon', 'সোনারগাঁ', 'sonargaon.narayanganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(333, 44, 'Basail', 'বাসাইল', 'basail.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(334, 44, 'Bhuapur', 'ভুয়াপুর', 'bhuapur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(335, 44, 'Delduar', 'দেলদুয়ার', 'delduar.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(336, 44, 'Ghatail', 'ঘাটাইল', 'ghatail.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(337, 44, 'Gopalpur', 'গোপালপুর', 'gopalpur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(338, 44, 'Madhupur', 'মধুপুর', 'madhupur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(339, 44, 'Mirzapur', 'মির্জাপুর', 'mirzapur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(340, 44, 'Nagarpur', 'নাগরপুর', 'nagarpur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(341, 44, 'Sakhipur', 'সখিপুর', 'sakhipur.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(342, 44, '<NAME>', 'টাঙ্গাইল সদর', 'tangailsadar.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(343, 44, 'Kalihati', 'কালিহাতী', 'kalihati.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(344, 44, 'Dhanbari', 'ধনবাড়ী', 'dhanbari.tangail.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(345, 45, 'Itna', 'ইটনা', 'itna.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(346, 45, 'Katiadi', 'কটিয়াদী', 'katiadi.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(347, 45, 'Bhairab', 'ভৈরব', 'bhairab.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(348, 45, 'Tarail', 'তাড়াইল', 'tarail.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(349, 45, 'Hossainpur', 'হোসেনপুর', 'hossainpur.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(350, 45, 'Pakundia', 'পাকুন্দিয়া', 'pakundia.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(351, 45, 'Kuliarchar', 'কুলিয়ারচর', 'kuliarchar.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(352, 45, '<NAME>', 'কিশোরগঞ্জ সদর', 'kishoreganjsadar.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(353, 45, 'Karimgonj', 'করিমগঞ্জ', 'karimgonj.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(354, 45, 'Bajitpur', 'বাজিতপুর', 'bajitpur.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(355, 45, 'Austagram', 'অষ্টগ্রাম', 'austagram.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(356, 45, 'Mithamoin', 'মিঠামইন', 'mithamoin.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(357, 45, 'Nikli', 'নিকলী', 'nikli.kishoreganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(358, 46, 'Harirampur', 'হরিরামপুর', 'harirampur.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(359, 46, 'Saturia', 'সাটুরিয়া', 'saturia.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(360, 46, '<NAME>', 'মানিকগঞ্জ সদর', 'sadar.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(361, 46, 'Gior', 'ঘিওর', 'gior.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(362, 46, 'Shibaloy', 'শিবালয়', 'shibaloy.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(363, 46, 'Doulatpur', 'দৌলতপুর', 'doulatpur.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(364, 46, 'Singiar', 'সিংগাইর', 'singiar.manikganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(365, 47, 'Savar', 'সাভার', 'savar.dhaka.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(366, 47, 'Dhamrai', 'ধামরাই', 'dhamrai.dhaka.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(367, 47, 'Keraniganj', 'কেরাণীগঞ্জ', 'keraniganj.dhaka.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(368, 47, 'Nawabganj', 'নবাবগঞ্জ', 'nawabganj.dhaka.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(369, 47, 'Dohar', 'দোহার', 'dohar.dhaka.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(370, 48, '<NAME>', 'মুন্সিগঞ্জ সদর', 'sadar.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(371, 48, 'Sreenagar', 'শ্রীনগর', 'sreenagar.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(372, 48, 'Sirajdikhan', 'সিরাজদিখান', 'sirajdikhan.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(373, 48, 'Louhajanj', 'লৌহজং', 'louhajanj.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(374, 48, 'Gajaria', 'গজারিয়া', 'gajaria.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(375, 48, 'Tongibari', 'টংগীবাড়ি', 'tongibari.munshiganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(376, 49, '<NAME>', 'রাজবাড়ী সদর', 'sadar.rajbari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(377, 49, 'Goalanda', 'গোয়ালন্দ', 'goalanda.rajbari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(378, 49, 'Pangsa', 'পাংশা', 'pangsa.rajbari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(379, 49, 'Baliakandi', 'বালিয়াকান্দি', 'baliakandi.rajbari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(380, 49, 'Kalukhali', 'কালুখালী', 'kalukhali.rajbari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(381, 50, '<NAME>', 'মাদারীপুর সদর', 'sadar.madaripur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(382, 50, 'Shibchar', 'শিবচর', 'shibchar.madaripur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(383, 50, 'Kalkini', 'কালকিনি', 'kalkini.madaripur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(384, 50, 'Rajoir', 'রাজৈর', 'rajoir.madaripur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(385, 51, '<NAME>', 'গোপালগঞ্জ সদর', 'sadar.gopalganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(386, 51, 'Kashiani', 'কাশিয়ানী', 'kashiani.gopalganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(387, 51, 'Tungipara', 'টুংগীপাড়া', 'tungipara.gopalganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(388, 51, 'Kotalipara', 'কোটালীপাড়া', 'kotalipara.gopalganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(389, 51, 'Muksudpur', 'মুকসুদপুর', 'muksudpur.gopalganj.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(390, 52, '<NAME>', 'ফরিদপুর সদর', 'sadar.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(391, 52, 'Alfadanga', 'আলফাডাঙ্গা', 'alfadanga.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(392, 52, 'Boalmari', 'বোয়ালমারী', 'boalmari.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(393, 52, 'Sadarpur', 'সদরপুর', 'sadarpur.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(394, 52, 'Nagarkanda', 'নগরকান্দা', 'nagarkanda.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(395, 52, 'Bhanga', 'ভাঙ্গা', 'bhanga.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(396, 52, 'Charbhadrasan', 'চরভদ্রাসন', 'charbhadrasan.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(397, 52, 'Madhukhali', 'মধুখালী', 'madhukhali.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(398, 52, 'Saltha', 'সালথা', 'saltha.faridpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(399, 53, '<NAME>', 'পঞ্চগড় সদর', 'panchagarhsadar.panchagarh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(400, 53, 'Debiganj', 'দেবীগঞ্জ', 'debiganj.panchagarh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(401, 53, 'Boda', 'বোদা', 'boda.panchagarh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(402, 53, 'Atwari', 'আটোয়ারী', 'atwari.panchagarh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(403, 53, 'Tetulia', 'তেতুলিয়া', 'tetulia.panchagarh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(404, 54, 'Nawabganj', 'নবাবগঞ্জ', 'nawabganj.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(405, 54, 'Birganj', 'বীরগঞ্জ', 'birganj.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(406, 54, 'Ghoraghat', 'ঘোড়াঘাট', 'ghoraghat.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(407, 54, 'Birampur', 'বিরামপুর', 'birampur.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(408, 54, 'Parbatipur', 'পার্বতীপুর', 'parbatipur.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(409, 54, 'Bochaganj', 'বোচাগঞ্জ', 'bochaganj.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(410, 54, 'Kaharol', 'কাহারোল', 'kaharol.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(411, 54, 'Fulbari', 'ফুলবাড়ী', 'fulbari.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(412, 54, '<NAME>', 'দিনাজপুর সদর', 'dinajpursadar.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(413, 54, 'Hakimpur', 'হাকিমপুর', 'hakimpur.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(414, 54, 'Khansama', 'খানসামা', 'khansama.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(415, 54, 'Birol', 'বিরল', 'birol.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(416, 54, 'Chirirbandar', 'চিরিরবন্দর', 'chirirbandar.dinajpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(417, 55, '<NAME>', 'লালমনিরহাট সদর', 'sadar.lalmonirhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(418, 55, 'Kaliganj', 'কালীগঞ্জ', 'kaliganj.lalmonirhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(419, 55, 'Hatibandha', 'হাতীবান্ধা', 'hatibandha.lalmonirhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(420, 55, 'Patgram', 'পাটগ্রাম', 'patgram.lalmonirhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(421, 55, 'Aditmari', 'আদিতমারী', 'aditmari.lalmonirhat.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(422, 56, 'Syedpur', 'সৈয়দপুর', 'syedpur.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(423, 56, 'Domar', 'ডোমার', 'domar.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(424, 56, 'Dimla', 'ডিমলা', 'dimla.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(425, 56, 'Jaldhaka', 'জলঢাকা', 'jaldhaka.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(426, 56, 'Kishorganj', 'কিশোরগঞ্জ', 'kishorganj.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(427, 56, '<NAME>', 'নীলফামারী সদর', 'nilphamarisadar.nilphamari.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(428, 57, 'Sadullapur', 'সাদুল্লাপুর', 'sadullapur.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(429, 57, '<NAME>', 'গাইবান্ধা সদর', 'gaibandhasadar.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(430, 57, 'Palashbari', 'পলাশবাড়ী', 'palashbari.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(431, 57, 'Saghata', 'সাঘাটা', 'saghata.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(432, 57, 'Gobindaganj', 'গোবিন্দগঞ্জ', 'gobindaganj.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(433, 57, 'Sundarganj', 'সুন্দরগঞ্জ', 'sundarganj.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(434, 57, 'Phulchari', 'ফুলছড়ি', 'phulchari.gaibandha.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(435, 58, '<NAME>', 'ঠাকুরগাঁও সদর', 'thakurgaonsadar.thakurgaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(436, 58, 'Pirganj', 'পীরগঞ্জ', 'pirganj.thakurgaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(437, 58, 'Ranisankail', 'রাণীশংকৈল', 'ranisankail.thakurgaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(438, 58, 'Haripur', 'হরিপুর', 'haripur.thakurgaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(439, 58, 'Baliadangi', 'বালিয়াডাঙ্গী', 'baliadangi.thakurgaon.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(440, 59, '<NAME>', 'রংপুর সদর', 'rangpursadar.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(441, 59, 'Gangachara', 'গংগাচড়া', 'gangachara.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(442, 59, 'Taragonj', 'তারাগঞ্জ', 'taragonj.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(443, 59, 'Badargonj', 'বদরগঞ্জ', 'badargonj.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(444, 59, 'Mithapukur', 'মিঠাপুকুর', 'mithapukur.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(445, 59, 'Pirgonj', 'পীরগঞ্জ', 'pirgonj.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(446, 59, 'Kaunia', 'কাউনিয়া', 'kaunia.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(447, 59, 'Pirgacha', 'পীরগাছা', 'pirgacha.rangpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(448, 60, '<NAME>', 'কুড়িগ্রাম সদর', 'kurigramsadar.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(449, 60, 'Nageshwari', 'নাগেশ্বরী', 'nageshwari.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(450, 60, 'Bhurungamari', 'ভুরুঙ্গামারী', 'bhurungamari.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(451, 60, 'Phulbari', 'ফুলবাড়ী', 'phulbari.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(452, 60, 'Rajarhat', 'রাজারহাট', 'rajarhat.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(453, 60, 'Ulipur', 'উলিপুর', 'ulipur.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(454, 60, 'Chilmari', 'চিলমারী', 'chilmari.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(455, 60, 'Rowmari', 'রৌমারী', 'rowmari.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(456, 60, 'Charrajibpur', 'চর রাজিবপুর', 'charrajibpur.kurigram.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(457, 61, '<NAME>', 'শেরপুর সদর', 'sherpursadar.sherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(458, 61, 'Nalitabari', 'নালিতাবাড়ী', 'nalitabari.sherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(459, 61, 'Sreebordi', 'শ্রীবরদী', 'sreebordi.sherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(460, 61, 'Nokla', 'নকলা', 'nokla.sherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36');
INSERT INTO `upazilas` (`id`, `district_id`, `name`, `bn_name`, `url`, `created_at`, `updated_at`) VALUES
(461, 61, 'Jhenaigati', 'ঝিনাইগাতী', 'jhenaigati.sherpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(462, 62, 'Fulbaria', 'ফুলবাড়ীয়া', 'fulbaria.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(463, 62, 'Trishal', 'ত্রিশাল', 'trishal.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(464, 62, 'Bhaluka', 'ভালুকা', 'bhaluka.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(465, 62, 'Muktagacha', 'মুক্তাগাছা', 'muktagacha.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(466, 62, '<NAME>', 'ময়মনসিংহ সদর', 'mymensinghsadar.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(467, 62, 'Dhobaura', 'ধোবাউড়া', 'dhobaura.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(468, 62, 'Phulpur', 'ফুলপুর', 'phulpur.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(469, 62, 'Haluaghat', 'হালুয়াঘাট', 'haluaghat.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(470, 62, 'Gouripur', 'গৌরীপুর', 'gouripur.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(471, 62, 'Gafargaon', 'গফরগাঁও', 'gafargaon.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(472, 62, 'Iswarganj', 'ঈশ্বরগঞ্জ', 'iswarganj.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(473, 62, 'Nandail', 'নান্দাইল', 'nandail.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(474, 62, 'Tarakanda', 'তারাকান্দা', 'tarakanda.mymensingh.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(475, 63, '<NAME>', 'জামালপুর সদর', 'jamalpursadar.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(476, 63, 'Melandah', 'মেলান্দহ', 'melandah.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(477, 63, 'Islampur', 'ইসলামপুর', 'islampur.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(478, 63, 'Dewangonj', 'দেওয়ানগঞ্জ', 'dewangonj.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(479, 63, 'Sarishabari', 'সরিষাবাড়ী', 'sarishabari.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(480, 63, 'Madarganj', 'মাদারগঞ্জ', 'madarganj.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(481, 63, 'Bokshiganj', 'বকশীগঞ্জ', 'bokshiganj.jamalpur.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(482, 64, 'Barhatta', 'বারহাট্টা', 'barhatta.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(483, 64, 'Durgapur', 'দুর্গাপুর', 'durgapur.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(484, 64, 'Kendua', 'কেন্দুয়া', 'kendua.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(485, 64, 'Atpara', 'আটপাড়া', 'atpara.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(486, 64, 'Madan', 'মদন', 'madan.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(487, 64, 'Khaliajuri', 'খালিয়াজুরী', 'khaliajuri.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(488, 64, 'Kalmakanda', 'কলমাকান্দা', 'kalmakanda.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(489, 64, 'Mohongonj', 'মোহনগঞ্জ', 'mohongonj.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(490, 64, 'Purbadhala', 'পূর্বধলা', 'purbadhala.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36'),
(491, 64, '<NAME>', 'নেত্রকোণা সদর', 'netrokonasadar.netrokona.gov.bd', '2021-03-10 10:44:36', '2021-03-10 10:44:36');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`phone` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`role_id` bigint(20) UNSIGNED 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `phone`, `image`, `role_id`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Abasvumi', '<EMAIL>', '2021-03-10 10:44:07', '01733322211', 'abasvumi/uploads/images/user/1615639813.jpeg', 1, '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'aHTu5MfxB5', '2021-03-10 10:44:07', '2021-03-13 06:50:13');
-- --------------------------------------------------------
--
-- Table structure for table `videos`
--
CREATE TABLE `videos` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`bn_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`video_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `agents`
--
ALTER TABLE `agents`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `agents_email_unique` (`email`);
--
-- Indexes for table `all_services`
--
ALTER TABLE `all_services`
ADD PRIMARY KEY (`id`),
ADD KEY `all_services_external_user_id_foreign` (`external_user_id`),
ADD KEY `all_services_service_category_id_foreign` (`service_category_id`);
--
-- Indexes for table `amenitis`
--
ALTER TABLE `amenitis`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `areas`
--
ALTER TABLE `areas`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `area_guides`
--
ALTER TABLE `area_guides`
ADD PRIMARY KEY (`id`),
ADD KEY `area_guides_area_id_foreign` (`area_id`);
--
-- Indexes for table `blocks`
--
ALTER TABLE `blocks`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `blogs`
--
ALTER TABLE `blogs`
ADD PRIMARY KEY (`id`),
ADD KEY `blogs_category_id_foreign` (`category_id`);
--
-- Indexes for table `brands`
--
ALTER TABLE `brands`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `companies`
--
ALTER TABLE `companies`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `developers`
--
ALTER TABLE `developers`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `developers_email_unique` (`email`),
ADD UNIQUE KEY `developers_phone_unique` (`phone`);
--
-- Indexes for table `dhaka_neigbors`
--
ALTER TABLE `dhaka_neigbors`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `dhaka_neigbor_areas`
--
ALTER TABLE `dhaka_neigbor_areas`
ADD PRIMARY KEY (`id`),
ADD KEY `dhaka_neigbor_areas_dhaka_neigbor_id_foreign` (`dhaka_neigbor_id`),
ADD KEY `dhaka_neigbor_areas_area_id_foreign` (`area_id`);
--
-- Indexes for table `districts`
--
ALTER TABLE `districts`
ADD PRIMARY KEY (`id`),
ADD KEY `districts_division_id_foreign` (`division_id`);
--
-- Indexes for table `divisions`
--
ALTER TABLE `divisions`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `educational_institutes`
--
ALTER TABLE `educational_institutes`
ADD PRIMARY KEY (`id`),
ADD KEY `educational_institutes_division_id_foreign` (`division_id`),
ADD KEY `educational_institutes_district_id_foreign` (`district_id`),
ADD KEY `educational_institutes_thana_id_foreign` (`thana_id`);
--
-- Indexes for table `external_users`
--
ALTER TABLE `external_users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `external_users_email_unique` (`email`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indexes for table `hospitals`
--
ALTER TABLE `hospitals`
ADD PRIMARY KEY (`id`),
ADD KEY `hospitals_division_id_foreign` (`division_id`),
ADD KEY `hospitals_district_id_foreign` (`district_id`),
ADD KEY `hospitals_thana_id_foreign` (`thana_id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `parks`
--
ALTER TABLE `parks`
ADD PRIMARY KEY (`id`),
ADD KEY `parks_division_id_foreign` (`division_id`),
ADD KEY `parks_district_id_foreign` (`district_id`),
ADD KEY `parks_thana_id_foreign` (`thana_id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `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`);
--
-- Indexes for table `popular_places`
--
ALTER TABLE `popular_places`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD KEY `products_external_user_id_foreign` (`external_user_id`),
ADD KEY `products_product_category_id_foreign` (`product_category_id`),
ADD KEY `products_unit_id_foreign` (`unit_id`);
--
-- Indexes for table `product_categories`
--
ALTER TABLE `product_categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `properties`
--
ALTER TABLE `properties`
ADD PRIMARY KEY (`id`),
ADD KEY `properties_external_user_id_foreign` (`external_user_id`),
ADD KEY `properties_division_id_foreign` (`division_id`),
ADD KEY `properties_district_id_foreign` (`district_id`),
ADD KEY `properties_thana_id_foreign` (`thana_id`),
ADD KEY `properties_area_id_foreign` (`area_id`),
ADD KEY `properties_block_id_foreign` (`block_id`);
--
-- Indexes for table `property_images`
--
ALTER TABLE `property_images`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `property_locations`
--
ALTER TABLE `property_locations`
ADD PRIMARY KEY (`id`),
ADD KEY `property_locations_division_id_foreign` (`division_id`),
ADD KEY `property_locations_district_id_foreign` (`district_id`),
ADD KEY `property_locations_upazila_id_foreign` (`upazila_id`);
--
-- Indexes for table `property_types`
--
ALTER TABLE `property_types`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `prosucts`
--
ALTER TABLE `prosucts`
ADD PRIMARY KEY (`id`),
ADD KEY `prosucts_external_user_id_foreign` (`external_user_id`),
ADD KEY `prosucts_product_category_id_foreign` (`product_category_id`),
ADD KEY `prosucts_unit_id_foreign` (`unit_id`);
--
-- Indexes for table `real_estate_solutions`
--
ALTER TABLE `real_estate_solutions`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `religious_institutions`
--
ALTER TABLE `religious_institutions`
ADD PRIMARY KEY (`id`),
ADD KEY `religious_institutions_division_id_foreign` (`division_id`),
ADD KEY `religious_institutions_district_id_foreign` (`district_id`),
ADD KEY `religious_institutions_thana_id_foreign` (`thana_id`);
--
-- Indexes for table `restaurants`
--
ALTER TABLE `restaurants`
ADD PRIMARY KEY (`id`),
ADD KEY `restaurants_division_id_foreign` (`division_id`),
ADD KEY `restaurants_district_id_foreign` (`district_id`),
ADD KEY `restaurants_thana_id_foreign` (`thana_id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `serviceimages`
--
ALTER TABLE `serviceimages`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `services`
--
ALTER TABLE `services`
ADD PRIMARY KEY (`id`),
ADD KEY `services_user_id_foreign` (`user_id`),
ADD KEY `services_agent_id_foreign` (`agent_id`),
ADD KEY `services_developer_id_foreign` (`developer_id`),
ADD KEY `services_division_id_foreign` (`division_id`),
ADD KEY `services_district_id_foreign` (`district_id`),
ADD KEY `services_thana_id_foreign` (`thana_id`),
ADD KEY `services_area_id_foreign` (`area_id`),
ADD KEY `services_block_id_foreign` (`block_id`),
ADD KEY `services_service_type_id_foreign` (`service_type_id`);
--
-- Indexes for table `service_categories`
--
ALTER TABLE `service_categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `service_types`
--
ALTER TABLE `service_types`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `subscribes`
--
ALTER TABLE `subscribes`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `suppliers`
--
ALTER TABLE `suppliers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `testimonials`
--
ALTER TABLE `testimonials`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `thanas`
--
ALTER TABLE `thanas`
ADD PRIMARY KEY (`id`),
ADD KEY `thanas_district_id_foreign` (`district_id`);
--
-- Indexes for table `units`
--
ALTER TABLE `units`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `upazilas`
--
ALTER TABLE `upazilas`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`),
ADD UNIQUE KEY `users_phone_unique` (`phone`);
--
-- Indexes for table `videos`
--
ALTER TABLE `videos`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `agents`
--
ALTER TABLE `agents`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `all_services`
--
ALTER TABLE `all_services`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `amenitis`
--
ALTER TABLE `amenitis`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `areas`
--
ALTER TABLE `areas`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `area_guides`
--
ALTER TABLE `area_guides`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `blocks`
--
ALTER TABLE `blocks`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `blogs`
--
ALTER TABLE `blogs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `brands`
--
ALTER TABLE `brands`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `companies`
--
ALTER TABLE `companies`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `developers`
--
ALTER TABLE `developers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `dhaka_neigbors`
--
ALTER TABLE `dhaka_neigbors`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `dhaka_neigbor_areas`
--
ALTER TABLE `dhaka_neigbor_areas`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `districts`
--
ALTER TABLE `districts`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;
--
-- AUTO_INCREMENT for table `divisions`
--
ALTER TABLE `divisions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `educational_institutes`
--
ALTER TABLE `educational_institutes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `external_users`
--
ALTER TABLE `external_users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `hospitals`
--
ALTER TABLE `hospitals`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;
--
-- AUTO_INCREMENT for table `parks`
--
ALTER TABLE `parks`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `popular_places`
--
ALTER TABLE `popular_places`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `properties`
--
ALTER TABLE `properties`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `property_images`
--
ALTER TABLE `property_images`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;
--
-- AUTO_INCREMENT for table `property_locations`
--
ALTER TABLE `property_locations`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `property_types`
--
ALTER TABLE `property_types`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `prosucts`
--
ALTER TABLE `prosucts`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `real_estate_solutions`
--
ALTER TABLE `real_estate_solutions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `religious_institutions`
--
ALTER TABLE `religious_institutions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `restaurants`
--
ALTER TABLE `restaurants`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `serviceimages`
--
ALTER TABLE `serviceimages`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `service_categories`
--
ALTER TABLE `service_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `service_types`
--
ALTER TABLE `service_types`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `subscribes`
--
ALTER TABLE `subscribes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `suppliers`
--
ALTER TABLE `suppliers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `testimonials`
--
ALTER TABLE `testimonials`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `thanas`
--
ALTER TABLE `thanas`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=492;
--
-- AUTO_INCREMENT for table `units`
--
ALTER TABLE `units`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `upazilas`
--
ALTER TABLE `upazilas`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=492;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `videos`
--
ALTER TABLE `videos`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `all_services`
--
ALTER TABLE `all_services`
ADD CONSTRAINT `all_services_external_user_id_foreign` FOREIGN KEY (`external_user_id`) REFERENCES `external_users` (`id`),
ADD CONSTRAINT `all_services_service_category_id_foreign` FOREIGN KEY (`service_category_id`) REFERENCES `service_categories` (`id`);
--
-- Constraints for table `area_guides`
--
ALTER TABLE `area_guides`
ADD CONSTRAINT `area_guides_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `areas` (`id`);
--
-- Constraints for table `blogs`
--
ALTER TABLE `blogs`
ADD CONSTRAINT `blogs_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`);
--
-- Constraints for table `dhaka_neigbor_areas`
--
ALTER TABLE `dhaka_neigbor_areas`
ADD CONSTRAINT `dhaka_neigbor_areas_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `areas` (`id`),
ADD CONSTRAINT `dhaka_neigbor_areas_dhaka_neigbor_id_foreign` FOREIGN KEY (`dhaka_neigbor_id`) REFERENCES `dhaka_neigbors` (`id`);
--
-- Constraints for table `districts`
--
ALTER TABLE `districts`
ADD CONSTRAINT `districts_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`);
--
-- Constraints for table `educational_institutes`
--
ALTER TABLE `educational_institutes`
ADD CONSTRAINT `educational_institutes_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `educational_institutes_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `educational_institutes_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `hospitals`
--
ALTER TABLE `hospitals`
ADD CONSTRAINT `hospitals_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `hospitals_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `hospitals_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `parks`
--
ALTER TABLE `parks`
ADD CONSTRAINT `parks_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `parks_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `parks_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `products`
--
ALTER TABLE `products`
ADD CONSTRAINT `products_external_user_id_foreign` FOREIGN KEY (`external_user_id`) REFERENCES `external_users` (`id`),
ADD CONSTRAINT `products_product_category_id_foreign` FOREIGN KEY (`product_category_id`) REFERENCES `product_categories` (`id`),
ADD CONSTRAINT `products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`);
--
-- Constraints for table `properties`
--
ALTER TABLE `properties`
ADD CONSTRAINT `properties_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `areas` (`id`),
ADD CONSTRAINT `properties_block_id_foreign` FOREIGN KEY (`block_id`) REFERENCES `blocks` (`id`),
ADD CONSTRAINT `properties_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `properties_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `properties_external_user_id_foreign` FOREIGN KEY (`external_user_id`) REFERENCES `external_users` (`id`),
ADD CONSTRAINT `properties_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `property_locations`
--
ALTER TABLE `property_locations`
ADD CONSTRAINT `property_locations_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `property_locations_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `property_locations_upazila_id_foreign` FOREIGN KEY (`upazila_id`) REFERENCES `upazilas` (`id`);
--
-- Constraints for table `prosucts`
--
ALTER TABLE `prosucts`
ADD CONSTRAINT `prosucts_external_user_id_foreign` FOREIGN KEY (`external_user_id`) REFERENCES `external_users` (`id`),
ADD CONSTRAINT `prosucts_product_category_id_foreign` FOREIGN KEY (`product_category_id`) REFERENCES `product_categories` (`id`),
ADD CONSTRAINT `prosucts_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`);
--
-- Constraints for table `religious_institutions`
--
ALTER TABLE `religious_institutions`
ADD CONSTRAINT `religious_institutions_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `religious_institutions_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `religious_institutions_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `restaurants`
--
ALTER TABLE `restaurants`
ADD CONSTRAINT `restaurants_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `restaurants_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `restaurants_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`);
--
-- Constraints for table `services`
--
ALTER TABLE `services`
ADD CONSTRAINT `services_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `agents` (`id`),
ADD CONSTRAINT `services_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `areas` (`id`),
ADD CONSTRAINT `services_block_id_foreign` FOREIGN KEY (`block_id`) REFERENCES `blocks` (`id`),
ADD CONSTRAINT `services_developer_id_foreign` FOREIGN KEY (`developer_id`) REFERENCES `developers` (`id`),
ADD CONSTRAINT `services_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`),
ADD CONSTRAINT `services_division_id_foreign` FOREIGN KEY (`division_id`) REFERENCES `divisions` (`id`),
ADD CONSTRAINT `services_service_type_id_foreign` FOREIGN KEY (`service_type_id`) REFERENCES `service_types` (`id`),
ADD CONSTRAINT `services_thana_id_foreign` FOREIGN KEY (`thana_id`) REFERENCES `thanas` (`id`),
ADD CONSTRAINT `services_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
--
-- Constraints for table `thanas`
--
ALTER TABLE `thanas`
ADD CONSTRAINT `thanas_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`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 */;
|
<reponame>TinuMurani/FastTrackITFinalProject
CREATE PROCEDURE [dbo].[spPatients_DeleteById]
@Id INT
AS
BEGIN
DELETE FROM Patients WHERE Id = @Id;
END |
CREATE OR REPLACE FUNCTION invite_drain(user_id INTEGER, invite_id TEXT)
RETURNS INTEGER
LANGUAGE plpgsql
AS $$
DECLARE
inviter_id INTEGER;
inviter_sats INTEGER;
gift INTEGER;
BEGIN
PERFORM ASSERT_SERIALIZED();
-- check user was created in last hour
-- check user did not already redeem an invite
PERFORM FROM users
WHERE id = user_id AND users.created_at >= NOW() AT TIME ZONE 'UTC' - INTERVAL '1 HOUR'
AND users."inviteId" IS NULL;
IF NOT FOUND THEN
RAISE EXCEPTION 'SN_INELIGIBLE';
END IF;
-- check that invite has not reached limit
-- check that invite is not revoked
SELECT "Invite"."userId", "Invite".gift INTO inviter_id, gift FROM "Invite"
LEFT JOIN users ON users."inviteId" = invite_id
WHERE "Invite".id = invite_id AND NOT "Invite".revoked
GROUP BY "Invite".id
HAVING COUNT(DISTINCT users.id) < "Invite".limit OR "Invite".limit IS NULL;
IF NOT FOUND THEN
RAISE EXCEPTION 'SN_REVOKED_OR_EXHAUSTED';
END IF;
-- check that inviter has sufficient balance
SELECT (msats / 1000) INTO inviter_sats
FROM users WHERE id = inviter_id;
IF inviter_sats < gift THEN
RAISE EXCEPTION 'SN_REVOKED_OR_EXHAUSTED';
END IF;
-- subtract amount from inviter
UPDATE users SET msats = msats - (1000 * gift) WHERE id = inviter_id;
-- add amount to invitee
UPDATE users SET msats = msats + (1000 * gift), "inviteId" = invite_id WHERE id = user_id;
RETURN 0;
END;
$$; |
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 21-11-2018 a las 12:35:50
-- Versión del servidor: 10.1.36-MariaDB
-- Versión de PHP: 7.2.11
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: `omeganews`
--
CREATE DATABASE IF NOT EXISTS `omeganews` DEFAULT CHARACTER SET utf8 COLLATE utf8_spanish_ci;
USE `omeganews`;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `palabras_clave`
--
CREATE TABLE `palabras_clave` (
`id` int(10) UNSIGNED NOT NULL,
`palabra` varchar(30) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `palabras_clave_publicacion`
--
CREATE TABLE `palabras_clave_publicacion` (
`id_publicacion` int(10) UNSIGNED NOT NULL,
`id_palabra` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `publicaciones`
--
CREATE TABLE `publicaciones` (
`id` int(10) UNSIGNED NOT NULL,
`id_usuario` int(10) UNSIGNED NOT NULL,
`titulo` varchar(250) COLLATE utf8_spanish_ci NOT NULL,
`subtitulo` varchar(250) COLLATE utf8_spanish_ci NOT NULL,
`id_seccion` int(10) UNSIGNED NOT NULL,
`fecha` date NOT NULL,
`texto_noticia` text COLLATE utf8_spanish_ci NOT NULL,
`url_img` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`aprobado` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `secciones`
--
CREATE TABLE `secciones` (
`id` int(10) UNSIGNED NOT NULL,
`nombre` varchar(60) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `tipos_usuario`
--
CREATE TABLE `tipos_usuario` (
`id` int(10) UNSIGNED NOT NULL,
`nombre_tipo` varchar(30) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `tipos_usuario`
--
INSERT INTO `tipos_usuario` (`id`, `nombre_tipo`) VALUES
(1, 'Periodista'),
(2, 'Editor'),
(3, 'Administrador');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios`
--
CREATE TABLE `usuarios` (
`id` int(11) UNSIGNED NOT NULL,
`nombre` varchar(30) COLLATE utf8_spanish_ci NOT NULL,
`usuario` varchar(30) COLLATE utf8_spanish_ci NOT NULL,
`pass` varchar(45) COLLATE utf8_spanish_ci NOT NULL,
`ape1` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`ape2` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`id_tipo_usuario` int(10) UNSIGNED NOT NULL,
`email` varchar(35) COLLATE utf8_spanish_ci NOT NULL,
`telefono` varchar(15) 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` (`id`, `nombre`, `usuario`, `pass`, `ape1`, `ape2`, `id_tipo_usuario`, `email`, `telefono`) VALUES
(8, 'Administrador', 'Admin', '<PASSWORD>', 'De', 'Omega', 3, '<EMAIL>', '<PASSWORD>');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `palabras_clave`
--
ALTER TABLE `palabras_clave`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `palabras_clave_publicacion`
--
ALTER TABLE `palabras_clave_publicacion`
ADD PRIMARY KEY (`id_publicacion`,`id_palabra`),
ADD KEY `FK_PALABRA_CLAVE` (`id_palabra`);
--
-- Indices de la tabla `publicaciones`
--
ALTER TABLE `publicaciones`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_SECCIONES` (`id_seccion`);
--
-- Indices de la tabla `secciones`
--
ALTER TABLE `secciones`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `tipos_usuario`
--
ALTER TABLE `tipos_usuario`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_TIPO_USUARIO` (`id_tipo_usuario`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `palabras_clave`
--
ALTER TABLE `palabras_clave`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `publicaciones`
--
ALTER TABLE `publicaciones`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `secciones`
--
ALTER TABLE `secciones`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `tipos_usuario`
--
ALTER TABLE `tipos_usuario`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `usuarios`
--
ALTER TABLE `usuarios`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `palabras_clave_publicacion`
--
ALTER TABLE `palabras_clave_publicacion`
ADD CONSTRAINT `FK_PALABRA_CLAVE` FOREIGN KEY (`id_palabra`) REFERENCES `palabras_clave` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `FK_PUBLICACIONES` FOREIGN KEY (`id_publicacion`) REFERENCES `publicaciones` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Filtros para la tabla `publicaciones`
--
ALTER TABLE `publicaciones`
ADD CONSTRAINT `FK_SECCIONES` FOREIGN KEY (`id_seccion`) REFERENCES `secciones` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD CONSTRAINT `FK_TIPO_USUARIO` FOREIGN KEY (`id_tipo_usuario`) REFERENCES `tipos_usuario` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE;
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 */;
--
-- Volcado de datos para la tabla `secciones`
--
INSERT INTO `secciones` (`id`, `nombre`) VALUES
(1, 'General'),
(2, 'Deportes'),
(3, 'Otros');
COMMIT;
--
-- Base de datos: `omeganews`
--
--
-- Volcado de datos para la tabla `tipos_usuario`
--
INSERT INTO `tipos_usuario` (`id`, `nombre_tipo`) VALUES
(1, 'Periodista'),
(2, 'Editor'),
(3, 'Administrador');
COMMIT;
--
-- Volcado de datos para la tabla `usuarios`
--
INSERT INTO `usuarios` (`id`, `nombre`, `usuario`, `pass`, `ape1`, `ape2`, `id_tipo_usuario`, `email`, `telefono`) VALUES
(8, 'Administrador', 'Admin', '<PASSWORD>', 'De', 'Omega', 3, '<EMAIL>', '<PASSWORD>');
COMMIT;
|
<gh_stars>1-10
-- new function to return RoleID for Administrators of the Portal passed in as parameter
CREATE FUNCTION [dbo].[dnn_AdministratorRoleId](
@PortalId Int -- Needs to be >= 0, otherwise false is returned
)
RETURNS int
AS
BEGIN
DECLARE @adminRoleId int = 0
SELECT @adminRoleId = AdministratorRoleId FROM dbo.[dnn_Portals] WHERE PortalID = @PortalId
RETURN @adminRoleId
END
|
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 24, 2019 at 04:51 PM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 7.2.12
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: `truyen`
--
-- --------------------------------------------------------
--
-- Table structure for table `chapter`
--
CREATE TABLE `chapter` (
`id` int(255) NOT NULL,
`story_id` int(255) UNSIGNED NOT NULL,
`num` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`view` int(11) UNSIGNED NOT NULL DEFAULT '0',
`content` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `chapter`
--
INSERT INTO `chapter` (`id`, `story_id`, `num`, `name`, `view`, `content`, `created_at`) VALUES
(1, 3, 1, 'Mang thai 7 tháng', 1, '<p class=\"MsoNormal\" style=\"margin-bottom:0in;margin-bottom:.0001pt;line-height:\r\nnormal\"><span style=\"font-size: 20pt; font-family: "Times New Roman", serif;\">Nhiệt độ nóng rực như\r\nthể nham thạch nóng chảy trong lòng núi lửa dường như muốn đốt cháy cô, thứ duy\r\nnhất có thể giải thoát cho cô chỉ có người đàn ông trước mặt.......<br>\r\n<br>\r\nBám chặt vào làn da lành lạnh như đá cẩm thạch, bản năng muốn sống trong cô\r\ncuối cùng cũng khiến cô buông tha cho sự chống cự....<br>\r\n<br>\r\nĐau đớn pha lẫn khoái cảm từng chút từng chút một bốc lên, như một những đợt\r\npháo hoa không ngừng nổ tung trong đầu cô, khiến cho cô như một con thuyền cô\r\nđộc dấn thân vào biển lửa đang cháy rừng rực.....<br>\r\n<br>\r\nCảm giác bấp bênh khi chìm khi nổi, nhưng lại khó mà kiềm chế được bản thân\r\nmình chìm đắm vào đó.<br>\r\n<br>\r\n\"Này, cô tỉnh lại đi.... ở đây lạnh lắm, đừng ngủ ở đây rồi để cảm\r\nlạnh.\"<br>\r\n<br>\r\nVai bị đè nặng khiến cho Ninh Tịch đột nhiên tỉnh lại, đôi mắt mơ màng bắt gặp\r\nánh mắt ân cần của cô y tá, nhất thời cảm thấy chột dạ đến mức mặt mũi đỏ hồng,\r\nxấu hổ đến mức không biết chui vào đâu để trốn.<br>\r\n<br>\r\nĐáng chết, một thời gian dài đã trôi qua kể từ sau cái đêm say rượu làm loạn\r\nđó, cái đêm cô làm loạn với Tô Diễn thi thoảng vẫn xuất hiện trong giấc mơ của\r\ncô.<br>\r\n<br>\r\nCũng may là cô say đến mức bất tỉnh nhân sự chẳng nhớ gì về đêm đó cả, bằng\r\nkhông cô thật không biết nên đối mặt với anh Diễn nữa.<br>\r\n<br>\r\nY tá thấy cô tỉnh táo lại liền đưa cho cô tờ giấy trong tay mình: \"Cô quên\r\nkhông cầm kết quả khám thai này, bác sĩ Trương bảo cô cuối tuần nhớ quay lại\r\nđấy.\"<br>\r\n<br>\r\nNinh Tịch cầm lấy kết quả khám thai, ngọt ngào tươi cười, cô cẩn thận cất nó\r\nvào trong túi xách.<br>\r\n<br>\r\nTô Diễn ra nước ngoài khảo sát thực tế, hôm nay sẽ trở về, Ninh Tịch nghĩ đến\r\ncuộc hẹn buổi tối mà trong lòng không khỏi cảm thấy hồi hộp.<br>\r\n<br>\r\nBởi vì nơi <NAME> đến khá xa xôi hẻo lánh, cho nên khi đã mang thai được 7\r\ntháng cô mới liên lạc được với anh ta.<br>\r\n<br>\r\nNhớ đến vẻ mặt khiếp sợ lúc Tô Diễn biết cô mang thai, Ninh Tịch có chút căng\r\nthẳng.<br>\r\n<br>\r\nChẳng lẽ là vì khi mang thai cô quá nhạy cảm, nên mới có cảm giác <NAME> chẳng\r\nhề vui vẻ như cô đã nghĩ.<br>\r\n<br>\r\nBác sĩ an ủi cô, khi đàn ông có đứa con đầu lòng, tâm lý đều có chút không ổn\r\nđịnh, chưa quen được, ai cũng như thế cả.<br>\r\n<br>\r\nNhưng.... chuyện kết hôn đâu thể để phụ nữ như cô chủ động nói ra được chứ...<o:p></o:p></span></p><p class=\"MsoNormal\" align=\"center\" style=\"margin-bottom:0in;margin-bottom:.0001pt;\r\ntext-align:center;line-height:normal\"><span style=\"font-size: 20pt; font-family: "Times New Roman", serif;\"><o:p> </o:p></span></p><p class=\"MsoNormal\" style=\"margin-bottom:0in;margin-bottom:.0001pt;line-height:\r\nnormal\"><span style=\"font-size: 20pt; font-family: "Times New Roman", serif;\">Ra khỏi bệnh viện, mặt\r\ntrời đã lên cao, ánh nắng chói chang tỏa khắp mọi nơi.<br>\r\n<br>\r\nNinh Tịch gắng sức đỡ lấy eo, cô đang định gọi taxi đột nhiên một chiếc xe đỏ\r\nrực xông thẳng về phía cô. Cô thót tim, hoảng hốt vội lui về sau mấy bước liền.<br>\r\n<br>\r\nTiếng phanh xe vang lên \"két\" một tiếng, chiếc xe sát lướt sàn sạn\r\nsạt qua người cô, sau đó mới dừng lại.<br>\r\n<br>\r\nNinh Tịch sợ thót tim, khó khăn lắm mới đứng vững, ngẩng lên liền nhìn thấy\r\nNinh Tuyết Lạc mặc bộ váy đỏ ôm sát người đầy quyến rũ, mái tóc xoăn gợn sóng\r\nbước xuống từ trên xe.<br>\r\n<br>\r\n“Ninh Tuyết Lạc, mày điên rồi à?”<br>\r\n<br>\r\nNinh Tuyết Lạc nhìn cô, cười đến ẩn ý, cô ta khoanh tay, sải những bước chân\r\ncatwalk đầy uyển chuyển, cô ta đứng trước mặt Ninh Tịch, ỷ vào mình đang đi\r\ngiày cao gót, kiêu ngạo nhìn xuống vùng bụng to ra vì mang thai của cô: “Sao?\r\nSợ tao đâm chết đứa con hoang trong bụng mày à?”<br>\r\n<br>\r\nNinh Tịch vô thức ôm lấy bụng mình, lùi về phía sau một bước, nhìn cô ta với\r\nánh mắt đầy cảnh giác: “Ninh Tuyết Lạc, mày đừng có mà quá đáng!”<br>\r\n<br>\r\nTuy biết rằng từ trước đến nay Ninh Tuyết Lạc vẫn luôn bất hòa với cô, nhưng\r\nNinh Tịch không ngờ cô ta lại có thể độc mồm độc miệng đến như vậy.<br>\r\n<br>\r\n“Tao quá đáng? Mày mới là kẻ quá đáng thì có! Uống say bất tỉnh nhân sự rồi bò\r\nlên giường với thằng nào, chửa hoang rồi còn muốn Tô Diễn chịu trách nhiệm hay\r\nsao, ha ha… Ninh Tịch, mày đúng là không biết xấu hổ!”<br>\r\n<br>\r\nNinh Tịch sững sờ: “Mày đang nói vớ nói vẩn cái gì thế?”<br>\r\n<br>\r\n“Ô, thế mày tin rằng người đã lên giường với mình tối hôm đó là Tô Diễn thật\r\nđấy à?” Ninh Tuyết Lạc cười ngả nghiêng: “Luôn mồm nói mình lớn lên cùng Tô\r\nDiễn, là thanh mai trúc mã, ngay cả đến vóc dáng thân thể của anh ấy như thế\r\nnào mà cũng không biết à?”<br>\r\n<br>\r\nVẻ mặt của Ninh Tịch càng lúc càng trắng, cô sắp đứng không nổi nữa, cả người\r\nnhư đang rơi vào hầm băng.<br>\r\n<br>\r\nKhông sai, người đàn ông tối hôm đó…..<br>\r\n<br>\r\nKhi đó cô chỉ nghĩ là…. sau khi Tô Diễn trưởng thành, có lẽ cao to hơn so với\r\ntưởng tượng của mình.<br>\r\n<br>\r\nBây giờ bị Ninh Tuyết Lạc ác ý nhắc nhở, cô mới đột nhiên nghĩ ra, ngoại trừ\r\nvóc dáng, người đàn ông đêm hôm đó hình như….. đúng là có quá nhiều điểm khác\r\nbiệt hoàn toàn với Tô Diễn.<o:p></o:p></span></p><p>\r\n\r\n\r\n\r\n\r\n\r\n</p><p class=\"MsoNormal\"><span style=\"font-size:20.0pt;line-height:107%;font-family:\r\n"Times New Roman",serif\"><o:p> </o:p></span></p>', NULL),
(2, 3, 2, NULL, 0, '<p></p><div class=\"hidden-xs hidden-sm hidden-md text-center ads-holder ads-taboola ads-taboola-desktop\" style=\"box-sizing: border-box; margin: 10px auto 0px; text-align: center; max-height: 390px; max-width: 1000px !important; color: rgb(78, 78, 78); font-family: "helvetica neue", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(244, 244, 244); text-decoration-style: initial; text-decoration-color: initial;\"><div class=\"ads-780-90-chapter-2\" id=\"ads-780-90-chapter-2\" style=\"box-sizing: border-box; margin: 0px;\"><div id=\"M182108ScriptRootC338407\" style=\"box-sizing: border-box; margin: 0px;\"><div id=\"MarketGidComposite338407\" style=\"box-sizing: border-box; margin: 0px; height: auto; overflow: visible;\"><div class=\"mgbox\" style=\"box-sizing: border-box; margin: 0px auto; background: 0px 0px !important; text-align: center; border-style: solid; border-width: 0px; display: flex; flex-flow: row wrap; padding: 0px !important; position: relative !important; vertical-align: top !important; line-height: 14px; transition: none 0s ease 0s !important; width: 1000px; max-width: 100%; min-width: 90px;\"><div class=\"mgheader\" data-advert-url=\"https://cdn.mgid.com/advert/mgid/main.html\" style=\"box-sizing: border-box; margin: 0px 0px 10px; display: table !important; width: 1000px; padding-bottom: 3px; border-bottom: 1px solid rgb(43, 57, 123) !important;\"></div></div></div></div></div></div><p></p><div class=\"chapter-c\" style=\"box-sizing: border-box; margin: 0px; font-family: "palatino linotype", arial, "times new roman", sans-serif; line-height: 46.8px; color: rgb(43, 43, 43); font-size: 26px; text-align: left; overflow-wrap: break-word; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: "Times New Roman";\">\"Nói cho mày hay! Tối đó mày uống rượu do tao chế, đừng nói dục cầu bất mãn, tao đã có lòng tốt tìm cho mày hai tên cao to rồi, ai ngờ mày lại không biết tốt xấu, tự dưng đi chui vào phòng của thằng nào đó, đã thế còn không chút khách khí cùng người ta...\" Ninh Tuyết Lạc chán ghét mở miệng: \"<NAME> có lòng tốt, sợ mày tỉnh dậy không chịu nổi nên mới nói người cùng mày tối hôm đó là anh ấy thôi!\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Mày...\" Ninh Tịch tức run lên, nghe tới đây, cô không nhịn nổi nữa, liền bóp chặt lấy cổ tay Ninh Tuyết Lạc: \"Sao mày lại làm thế với tao? Tại sao! Mày hại tao như thế còn chưa đủ sao?”</span><span style=\"font-family: "Times New Roman";\"> </span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tuyết Lạc mới đầu còn câng câng lên, định đẩy <NAME> ra, đúng lúc đó lại thấy Tô Diễn phía sau Ninh Tịch, giọng điệu lập tức nhũn xuống, tỏ ra điềm đạm đáng yêu: \"Chị, em biết em sai rồi, chị muốn đánh muốn mắng em thế nào cũng được, nhưng đừng trách anh Diễn...\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tịch ngẩn ra, ngay sau đó, lại thấy Ninh Tuyết Lạc tự nhiên ngã lăn ra đất, trông như bị cô đẩy vậy.</span><span style=\"font-family: "Times New Roman";\"> </span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Ninh Tịch! Em làm gì vậy......\" Tiếng quở trách vang lên.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tịch ngạc nhiên quay lại liên thấy vẻ mặt lạnh lùng của Tô Diễn.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Tô Diễn lách qua người cô, đỡ Ninh Tuyết Lạc dậy: \"Tuyết Lạc, em không sao chứ?\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Cả người Ninh Tuyết Lạc như treo trên người Tô Diễn: \"<NAME>, em không cố ý, em thật sự biết sai rồi... Chuyện thành ra thế này đều tại em có lỗi với chị...\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Được rồi, có chuyện gì cũng có anh ở đây rồi!\" Tô Diễn vỗ vai <NAME>, đưa cô lên xe: \"Để anh nói rõ với Ninh Tịch.\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Đầu Ninh Tịch trống rỗng, cô thấy Tô Diễn đi về phía mình, rồi lại thấy miệng Tô Diễn cứ mở ra rồi khép lại.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Anh ta nói gì đó rất lâu.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Nói về việc những năm tháng họ là thanh mai trúc mã, nói về việc anh đã đấu tranh thế nào khi yêu <NAME>, nói anh cũng tức giận khi biết <NAME> hại cô, nói về việc anh cảm thấy rất khiếp sợ và áy náy khi biết Ninh Tịch mang thai, nói anh đã chấp nhận lời xin lỗi của N<NAME> Lạc...</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Cuối cùng, anh nói: \"<NAME>, xin lỗi, anh không thể lấy em. Không phải anh ghét bỏ em vì chuyện ngày hôm đó hay đứa trẻ trẻ này, mà vì anh không thể phụ lòng Tuyết Lạc, anh cũng không thể lại lừa dối tình cảm của chính mình thêm nữa.”</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Mấy tháng nay, gã đều đưa <NAME> Lạc ra nước ngoài, sớm chiều đều dính lấy nhau không rời, mặc dù bề ngoài gã vì muốn bù đắp lại tổn thương cho <NAME> nên mới nhận tối hôm đó chính gã đã quan hệ với cô, nhưng từ tận sâu trong đáy lòng, gã đã sớm chọn Ninh Tuyết Lạc rồi.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Thế nên sau khi biết tin <NAME> mang thai, gã không đành lòng tới Ninh gia nói rõ chuyện này với hai bác mà muốn nói rõ sự thật với Ninh Tịch trước.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Nói vậy có nghĩa là... Tô Diễn... Ngay từ đầu anh đã biết việc <NAME>ết Lạc bỏ thuốc để hủy hoại trinh tiết của tôi? Vì muốn bao che cho nó, nên anh mới nói với tôi người đàn ông tối hôm đó là anh?\" Ninh Tịch cuối cùng cũng tìm về được giọng nói của mình, hồn bay phách lạc nhìn vẻ mặt bình tĩnh của Tô Diễn.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Ninh Tịch, Tuyết Lạc cô ấy không cố tình, cô ấy còn nhỏ, tính tình manh động....\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><div class=\"hidden-xs text-center ads-middle ads-holder\" style=\"box-sizing: border-box; margin: 0px; text-align: center;\"><br></div><span style=\"font-family: "Times New Roman";\">\"Vậy còn tôi thì sao?\" Ninh Tịch ngẩng lên nhìn Tô Diễn, tràn đầy tuyệt vọng: \"Các người có từng nghĩ tới tôi một chút nào không?\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Tô Diễn câm bặt, một lúc sau, hắn mới vươn tay kéo <NAME>: \"Ở đây nắng quá, chúng ta về nhà trước đã...\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Đừng có chạm vào tôi...\" <NAME> hất tay Tô Diễn ra, cô bỗng cười phá lên.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Sống tới tận giờ, <NAME> bỗng cảm thấy cuộc sống của mình như một trò hề.</span><span style=\"font-family: "Times New Roman";\"> </span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Để tới được thành phố của Tô Diễn, cô đã cố gắng thi vào được đại học B.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Để lấy lòng Tô Diễn, cô từ bỏ cả ước ở làm diễn viên của mình.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Để môn đăng hộ đối với anh ta, cô từ bỏ cả cha mẹ nuôi để về Ninh gia, cả ngày chỉ biết vụng về nịnh nọt cái nhân vật được gọi là nổi tiếng này.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Cuối cùng, chỉ để đổi lại một câu: \"Anh không thể phụ lòng Tuyết Lạc.\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tuyết Lạc, không chỉ chiếm lấy danh phận của cô, cướp mất cha mẹ đẻ của cô, giờ... còn cướp mất người trong lòng cô!</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tuyết Lạc còn nhỏ, làm sai có thể được tha thứ?</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Vậy... Ai sẽ trả giá cho cuộc đời của cô đây?</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Cô thậm chí... ngay đến cả người đàn ông tối hôm đó là ai cũng không biết!</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ninh Tịch bưng mặt, cô run lên bần bật, tuyệt vọng tới cực điểm.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Tô Diễn thấy Ninh Tịch thần tình hoảng loạn lảo đảo đi ra giữa lòng đường, gã liền vứt bỏ điếu thuốc đang kẹp trên tay, muốn đuổi theo, lại bị Ninh Tuyết Lạc ở sau kéo tay áo: \"An<NAME>ễn, anh muốn đi đâu?\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Chính vào lúc Tô Diễn đang chần chừ, chỉ nghe thấy một tiếng động lớn vang lên, Ninh Tịch đang đi trên lối qua đường bị hất tung lên, rồi rơi xuống đất.</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">\"Cứu người... Cứu người với... Đâm phải thai phụ rồi...\"</span><br style=\"box-sizing: border-box; margin: 0px;\"><br style=\"box-sizing: border-box; margin: 0px;\"><span style=\"font-family: "Times New Roman";\">Ánh sáng chói mắt rọi tới, Ninh Tịch thấy bóng người chớp nhoáng và hai gương mặt khiến cô phát tởm, bụng truyền đến cơn đau co rút khiến cô ý thức được một chút gì đó đang mất đi, cô chỉ chớp mắt một cái, máu tươi trên trán chảy đầm đìa, chảy dọc vào mắt cô... cả thế giới rơi vào một mảnh tối đen...</span></div>', 1553350182),
(3, 3, 3, NULL, 0, '<p><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Năm năm sau. Tại hành lang tầng cao nhất quán bar Eton.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Nịch Tịch hầu hạ chủ đầu tư uống rượu cả một đêm, đầu đau muốn nứt ra, vốn định tìm một chỗ yên tĩnh để tỉnh rượu chút không ngờ lại đụng mặt Thường Lị, vì vậy chỉ có thể xốc lại tinh thần chào hỏi cô ta: \"Chị Thường có việc gì à?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Ninh Tịch, chị hỏi, có phải là em đăng kí tham gia thử vai nữ chính của Thiên Hạ đúng không?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Dạ đúng, sao thế?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"font-family: "Times New Roman";\">\"Ngày mai em không được đi!\"</span><span style=\"font-family: "Times New Roman";\"> </span></span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Thường Lị cũng coi như người quản lí của cô, thế mà lại suốt ngày ngăn cô đi thử vai tại các công ty giải trí hàng đầu. Lần này Ninh Tịch cũng không bất ngờ, chỉ hơi nhướng mày hỏi: \"Lý do?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Em giấu chị rồi tự chủ trương còn dám hỏi lí do? Công ty đã sắp xếp để Tuyết Lạc đi thử vai rồi em còn không biết sao?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Chuyện của em với chuyện công ty sắp xếp hình như chẳng có gì mâu thuẫn với nhau.\" N<NAME> cười mà như không nhìn cô ta: \"N<NAME> bảo chị đến tìm tôi sao? Chẳng lẽ cô ta sợ một diễn viên hạng bét như tôi cướp được vai của cô ta sao?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Cô có bản lĩnh cướp vai của Tuyết Lạc? Nói vớ vẩn! Tôi nói cho cô biết, đừng phí công vô ích, bộ phim lần này Ninh gia đã đầu tư ba nghìn vạn, ngầm chỉ định cho Tuyết Lạc rồi!\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Nếu thế chị còn lo lắng cái gì?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Cô là là nghệ sĩ dưới trướng của tôi, phải nghe tôi sắp xếp!\" Thường Lị ra vẻ đương nhiên nói.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"À, hóa ra chị Thường cũng biết tôi là nghệ sĩ dưới trướng của chị cơ đấy.\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"<NAME>, tôi không rảnh để mà cãi nhau với cô, nếu cô rượu mời không uống, thích uống rượu phạt thì cũng đừng có trách tôi!\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Vừa dứt lời, <NAME> đã cảm thấy một lực mạnh mẽ xông tới, bất ngờ không kịp đề phòng khiến cô bị đẩy tới kho hàng trên tầng cao nhất của quán bar, đồng thời di động cũng bị cướp đi.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Ầm\" một tiếng, cửa bị đóng lại.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">...</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Tiếng bước chân ngoài cửa càng lúc càng xa.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Biết là có gào thét cũng vô ích nên Ninh Tịch im lặng không nói một lời, sắc mặt hờ hững theo cánh cửa trượt ngồi xuống đất.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Lúc cô mới vào công ty thì <NAME> Lạc còn thu liễm một chút, cùng lắm cô ta chỉ để Thường Lị sắp xếp cho cô một vài vai phản diện độc ác không quan trọng, gần đây cô ta lại càng ngày càng quá đáng, ngay cả thủ đoạn cấp thấp như vậy cũng dùng tới...</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Nếu không lấy được vai diễn này thì cô phải nghĩ cách rời khỏi công ty giải trí Tinh Huy.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Đang nghĩ lung ta lung tung đột nhiên bên tai truyền đết một loạt tiếng vang nhỏ xíu.</span></p><div class=\"hidden-xs text-center ads-middle ads-holder\" style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br></div><p><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Chẳng lẽ có chuột?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch lần theo hướng âm thanh nhìn, sau đó liền sửng sốt.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Phía sau một đống thùng gỗ, cô nhìn thấy một đứa bé trai...</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Đứa bé kia nhìn bộ dáng khoảng chừng bốn, năm tuổi, mũm mĩm đáng yêu vô cùng, vừa trắng vừa mềm y như bánh bao nhỏ, đứa nhỏ trốn trong góc đang run rẩy, đôi mắt đen nhánh tràn đầy cảnh giác cùng đề phòng.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Chậc, sao trong kho hàng lại có trẻ con được?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Chắc không phải có vị khách nào mang con đến đây chứ?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Này, bánh bao nhỏ, con là ai? Vào đây bằng cách nào?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Lén chạy vào sao?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Cũng bị nhốt sao?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">\"Ăn kẹo không?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">...</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Hỏi một lúc đứa bé kia vẫn không nói tiếng nào, chỉ càng run rẩy hơn trông giống như một con cún nhỏ bị dọa sợ.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Vì vậy <NAME> cũng không hỏi tiếp nữa, dù sao cũng chẳng liên quan đến cô.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Một lớn một nhỏ, mỗi người chiếm một góc phòng im lặng ngồi ngây ngô với nhau.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Đột nhiên bóng đèn trên đỉnh đầu lóe lên một cái, rồi tắt ngúm.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Trong bóng tối, Ninh Tịch tựa như nghe được thanh âm kẽo kẹt, nghe kĩ một chút mới phát hiện nghe giống như tiếng hai hàm răng đánh vào nhau.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch bật cười, mở miệng nói với bánh bao nhỏ: \"Sợ tối à?\"</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Tiếng kẽo kẹt dừng lại một chút rồi kêu to hơn.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ài, sao lá gan lại bé thế chứ?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch phủi mông đứng lên, đi về phía đứa nhỏ...</span><br></p>', 1553350234);
INSERT INTO `chapter` (`id`, `story_id`, `num`, `name`, `view`, `content`, `created_at`) VALUES
(4, 3, 4, NULL, 0, '<p><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Bánh bao nhỏ bị cô dọa sợ đến mức mặt mũi trắng bệch.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Sau đó Ninh Tịch đặt mông xuống ngồi bên cạnh bánh bao nhỏ, không làm gì cả, nhắm mắt lại ngủ một giấc.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Tối nay bị Thường Lị ép đến đây uống rượu với khách, đầu cô bây giờ đau như búa bổ.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Đến lúc Ninh Tịch ngủ được một lúc rồi tỉnh lại, cô cảm thấy một bên chân mình nong nóng, vừa cúi đầu liền nhìn thấy bánh bao nhỏ đã gục xuống bên chân cô từ lúc nào không biết, bàn tay nhỏ bé còn đang túm chặt lấy vạt áo cô.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch bật cười.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Trước đây khi vẫn còn ở quê, cô đã từng nuôi một con mèo, nó cực kì nhát, rất sợ người lại, gặp người lạ một cái là chạy. Nhưng chỉ cần bạn không chú ý đến nó, khiến nó cảm thấy bạn không có gì nguy hiểm, nó sẽ len lén chạy đến bên cạnh bạn, thậm chí còn leo lên đầu gối bạn ngủ ngon lành.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Bánh bao nhỏ cảm nhận được tầm mắt của cô, gương nhỏ nhắn đỏ bừng, nhưng lần này trong mắt thằng bé không còn sự kinh hoảng nữa mà thay vào đó là tràn đầy sự hiếu kì.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Thật giống một con mèo nhỏ, ngay cả ánh mắt cũng giống.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Khóe môi Ninh Tịch khẽ cong lên, tay chân ngứa ngáy, cuối cùng cô nhịn không được giơ tay ra vuốt vuốt cái đầu xù xù của thằng bé.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Cái xoa đầu này khiến cô giật nảy. Sao trán thằng bé lại nóng thế này!</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">“Cháu bị sốt?”</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Thường Lị sẽ nhốt cô trong này cho đến hết buổi thử vai ngày mai, thậm chí còn lâu hơn nữa không chừng.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Trong thời gian đó nếu cứ để thằng bé sốt cao như thế này thì rất nguy hiểm.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Lúc đang lo lắng, cô phát hiện ra có gì đó không đúng, đèn trong phòng này rõ ràng là hỏng rồi tại sao nơi này vẫn có ánh sáng?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ngẩng đầu lên cô mới phát hiện ra trên đầu mình có một cái cửa sổ nho nhỏ ở trên mái nhà, chút ánh sao hiếm hoi hắt qua ô cửa nhỏ tiến vào trong phòng.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch tìm một cái thang bê rồi nó ra chỗ cái cửa sổ.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">“Bánh bao nhỏ, đến đây nào, cô giúp cháu ra ngoài.”</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Thằng bé lắc đầu, ánh mắt rất cương quyết, đây là lần đầu tiên thằng bé có phản ứng lại với những gì cô nói.</span></p><div class=\"hidden-xs text-center ads-middle ads-holder\" style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br></div><p><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch không hiểu ý nó lắm, cười cười bẹo má thằng bé: “Cũng có nghĩa khí lắm đó nha, muốn đồng cam cộng khổ với cô à? Đi lên đi nào, cô không ra được, cháu chui ra ngoài rồi sau đó tìm người đến cứu cô nha.”</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Thấy thằng nhóc vẫn còn do dự, <NAME> liền bế nó đứng dậy đặt nó lên cái thang: “Nhanh nào, đàn ông con trai thì đừng lề mề do dự, còn có cô ở dưới này đỡ cháu mà!”</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Khó khăn lắm mới đưa được đứa bé lên trên, đầu óc <NAME> quay cuồng choáng váng, chân cô mềm nhũn, ngã xuống cùng với cái thang…….</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Bánh bao nhỏ ở trên cửa sổ thấy cảnh này thì trên gương mặt đờ đẫn hiện của nó lên một sự hoảng sợ cực độ….</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch gắng gượng nói ra một chữ: “Đi….đi…”</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Dưới ánh sao, khuôn mặt của cô gái trắng bệch tiều tuỵ, nhưng lại xinh đẹp đến mức khiến người ta kinh ngạc. Đặc biệt là đôi mắt, trong trẻo linh động, như phản chiếu cả một bầu trời sao lấp lánh.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Cô đã sớm không còn là con vịt xấu xí quê mùa của năm đó.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Nhưng mà, cũng có ích gì đâu?</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Ninh Tịch cười khổ, thù lớn còn chưa báo, thế mà cô lại ngã chết ở đây thế này…..</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Nhưng mà lúc gần chết còn cứu được một cái bánh bao nhỏ, này cũng coi như làm một được một chuyện tốt.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Năm đó nếu con của cô vẫn chưa chết, chắc cũng lớn bằng từng này rồi ấy nhỉ….</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Năm năm trước sau vụ tai nạn đó, nhà họ Ninh ngại cô đã làm mất mặt bọn họ nên đã đưa cô sang Mĩ học trong một cái trường toàn những kẻ ăn chơi, mặc kệ cô sống chết thế nào cũng không quan tâm.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Cô thôi học ở đó rồi đăng kí thi vào Viện Đại học Nam California, cô gần như điên cuồng tiếp thu tất cả các loại tri thức ở đó.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Bởi vì cô muốn đánh bại <NAME>, dành lại tất cả thuộc về mình!</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Điều quan trọng nhất chính là - đóng phim, giấc mơ lớn nhất của đời cô.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Sau khi về nước, dựa vào gương mặt xinh đẹp này cùng với kỹ năng diễn xuất, cô bị Thường Lị ngắm trúng, thành công bước chân vào công ty quản lí lớn nhất trong giới giải trí - Tinh Huy.</span><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><br style=\"margin: 0px; color: rgb(43, 43, 43); font-family: "palatino linotype", arial, "times new roman", sans-serif; font-size: 26px;\"><span style=\"color: rgb(43, 43, 43); font-family: "Times New Roman"; font-size: 26px;\">Tiền đồ của cô vốn rất rộng rãi, nhưng Ninh Tuyết Lạc cũng nhanh chân theo đuôi cô vào Tinh Huy, mua chuộc Thường Lị tạo áp lực cho cô……</span><br></p>', 1553351503);
-- --------------------------------------------------------
--
-- Table structure for table `permission`
--
CREATE TABLE `permission` (
`id` int(4) NOT NULL,
`permission` varchar(20) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `permission_role`
--
CREATE TABLE `permission_role` (
`permission_id` int(4) UNSIGNED NOT NULL,
`role_id` int(4) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `role`
--
CREATE TABLE `role` (
`id` int(4) NOT NULL,
`role` varchar(20) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `story`
--
CREATE TABLE `story` (
`id` int(255) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci,
`img` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`evaluate` int(2) UNSIGNED NOT NULL DEFAULT '0',
`num_evaluate` int(11) UNSIGNED NOT NULL DEFAULT '0',
`view` int(11) UNSIGNED NOT NULL DEFAULT '0',
`author` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`author_slug` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`status` int(2) UNSIGNED NOT NULL DEFAULT '1',
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `story`
--
INSERT INTO `story` (`id`, `name`, `slug`, `description`, `img`, `evaluate`, `num_evaluate`, `view`, `author`, `author_slug`, `status`, `created_at`, `updated_at`) VALUES
(3, 'Chọc tức vợ yêu - Mua một tặng một', 'choc-tuc-vo-yeu---mua-mot-tang-mot', NULL, 'choc-tuc-vo-yeu---mua-mot-tang-mot.jpg', 0, 0, 2, 'Qu<NAME>', 'quan-quan-huu-yeu', 1, 1553350182, 1553350182),
(5, 'Tổng tài tại thượng', 'tong-tai-tai-thuong', NULL, NULL, 0, 0, 1, '', '', 1, 1553438452, 1553438452);
-- --------------------------------------------------------
--
-- Table structure for table `story_tag`
--
CREATE TABLE `story_tag` (
`story_id` int(255) UNSIGNED NOT NULL,
`tag_id` int(255) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `story_tag`
--
INSERT INTO `story_tag` (`story_id`, `tag_id`) VALUES
(3, 1),
(5, 1);
-- --------------------------------------------------------
--
-- Table structure for table `tag`
--
CREATE TABLE `tag` (
`id` int(255) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `tag`
--
INSERT INTO `tag` (`id`, `name`, `slug`, `created_at`) VALUES
(1, 'Ngôn tình', 'ngon-tinh', NULL),
(2, 'Sắc ', 'sac', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(255) NOT NULL,
`name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`username` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(60) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL,
`permission_id` int(4) UNSIGNED NOT NULL,
`created_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `name`, `username`, `password`, `email`, `permission_id`, `created_at`) VALUES
(1, '<NAME>', 'duonghuan', '123456', NULL, 1, NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `chapter`
--
ALTER TABLE `chapter`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `permission`
--
ALTER TABLE `permission`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role`
--
ALTER TABLE `role`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `story`
--
ALTER TABLE `story`
ADD PRIMARY KEY (`id`);
ALTER TABLE `story` ADD FULLTEXT KEY `description` (`description`);
ALTER TABLE `story` ADD FULLTEXT KEY `name` (`name`);
ALTER TABLE `story` ADD FULLTEXT KEY `name_2` (`name`);
ALTER TABLE `story` ADD FULLTEXT KEY `name_3` (`name`,`description`);
--
-- Indexes for table `tag`
--
ALTER TABLE `tag`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `chapter`
--
ALTER TABLE `chapter`
MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `permission`
--
ALTER TABLE `permission`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `role`
--
ALTER TABLE `role`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `story`
--
ALTER TABLE `story`
MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `tag`
--
ALTER TABLE `tag`
MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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 */;
|
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Versión del servidor: 10.4.14-MariaDB - mariadb.org binary distribution
-- SO del servidor: Win64
-- HeidiSQL Versión: 11.0.0.5919
-- --------------------------------------------------------
/*!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' */;
-- Volcando estructura para tabla slifeserver.emergency
CREATE TABLE IF NOT EXISTS `emergency` (
`name` mediumtext NOT NULL DEFAULT '',
`lastname` varchar(255) CHARACTER SET latin1 COLLATE latin1_spanish_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- Volcando datos para la tabla slifeserver.emergency: ~1 rows (aproximadamente)
/*!40000 ALTER TABLE `emergency` DISABLE KEYS */;
INSERT INTO `emergency` (`name`, `lastname`) VALUES
('MCN', 'MATOTA');
/*!40000 ALTER TABLE `emergency` 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 */;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.