sql
stringlengths 6
1.05M
|
|---|
<reponame>alphagov-mirror/pay-direct-debit-connector
--liquibase formatted sql
--changeset uk.gov.pay:alter_table_events_add_external_id
ALTER TABLE events DROP COLUMN IF EXISTS external_id;
ALTER TABLE events ADD COLUMN external_id VARCHAR(26);
--rollback ALTER TABLE events DROP COLUMN external_id;
|
<reponame>rizkikaadam/SIDAP
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 16, 2019 at 12:17 AM
-- Server version: 10.1.36-MariaDB
-- PHP Version: 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 */;
--
-- /*Database: `dbsidap`*/
--
-- --------------------------------------------------------
--
-- Table structure for table `atlet`
--
CREATE TABLE `atlet` (
`id` int(128) NOT NULL,
`name` varchar(256) NOT NULL,
`kontingen_id` varchar(128) NOT NULL,
`status` int(1) NOT NULL,
`date_created` int(11) DEFAULT NULL,
`foto` varchar(128) DEFAULT 'default.jpg',
`tmp_lahir` varchar(128) DEFAULT NULL,
`tgl_lahir` date DEFAULT '0000-00-00',
`address_atlet` text,
`cabor_id` int(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `atlet`
--
INSERT INTO `atlet` (`id`, `name`, `kontingen_id`, `status`, `date_created`, `foto`, `tmp_lahir`, `tgl_lahir`, `address_atlet`, `cabor_id`) VALUES
(1, '<NAME>', '1', 1, 0, 'default.jpg', 'bandung', '2019-10-15', 'bandung', 1),
(2, '<NAME>', '2', 1, 0, 'default.jpg', 'semarang', '0000-00-00', 'semarang', 2),
(3, '<NAME>', '1', 1, NULL, 'default.jpg', 'Cianjur', '0000-00-00', '', 1);
-- --------------------------------------------------------
--
-- Table structure for table `cabor`
--
CREATE TABLE `cabor` (
`id` int(128) NOT NULL,
`name_cabor` varchar(128) NOT NULL,
`status` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cabor`
--
INSERT INTO `cabor` (`id`, `name_cabor`, `status`) VALUES
(1, 'Angkat Besi', 1),
(2, 'Judo', 1),
(3, 'Panahan', 0);
-- --------------------------------------------------------
--
-- Table structure for table `kontingen`
--
CREATE TABLE `kontingen` (
`id` int(128) NOT NULL,
`name_kontingen` varchar(128) NOT NULL,
`address` text NOT NULL,
`email` varchar(128) NOT NULL,
`status` int(1) NOT NULL,
`logo` varchar(128) DEFAULT 'default.jpg'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `kontingen`
--
INSERT INTO `kontingen` (`id`, `name_kontingen`, `address`, `email`, `status`, `logo`) VALUES
(1, 'PPLP Jawa Barat', 'Jalan Arcamanik No 21', '<EMAIL>', 1, 'default.jpg'),
(2, 'PPLP Jawa Tengah', 'Semarang', '<EMAIL>', 1, 'default.jpg'),
(3, 'PPLP Jawa Timur', 'Surabaya', '<EMAIL>', 1, 'default.jpg'),
(4, 'PPLP DKI Jakarta', 'JAKARTA', '<EMAIL>', 1, 'default.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `role`
--
CREATE TABLE `role` (
`id` int(11) NOT NULL,
`role` varchar(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `role`
--
INSERT INTO `role` (`id`, `role`) VALUES
(1, 'administrator'),
(2, 'member');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`name` varchar(128) NOT NULL,
`email` varchar(128) NOT NULL,
`image` varchar(128) NOT NULL,
`password` varchar(256) NOT NULL,
`role_id` int(11) NOT NULL,
`is_active` int(1) NOT NULL,
`date_created` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `name`, `email`, `image`, `password`, `role_id`, `is_active`, `date_created`) VALUES
(7, '<NAME>', '<EMAIL>', 'default.jpg', '$2y$10$32Oo6lQN7EiazuGpFEKw5upTfgXACpiWE3btJeCPGRNJ2zZ9wZCnS', 1, 1, 1557903029),
(8, 'd<NAME>', '<EMAIL>', 'default.jpg', '<PASSWORD>34a16891f84e7b', 2, 1, 1558594839),
(9, '<NAME>', '<EMAIL>', 'default.jpg', '$2y$10$D4AQtNnBFtRxg42rJNmoku1kHdTUo3L7gMrH.tZZ0.ecpf8JD9sMu', 2, 1, 1570847073);
-- --------------------------------------------------------
--
-- Table structure for table `user_access_menu`
--
CREATE TABLE `user_access_menu` (
`id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_access_menu`
--
INSERT INTO `user_access_menu` (`id`, `role_id`, `menu_id`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 2, 2),
(4, 1, 3),
(5, 1, 4),
(6, 2, 4),
(7, 1, 5),
(8, 1, 6),
(9, 2, 6);
-- --------------------------------------------------------
--
-- Table structure for table `user_menu`
--
CREATE TABLE `user_menu` (
`id` int(11) NOT NULL,
`menu` varchar(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_menu`
--
INSERT INTO `user_menu` (`id`, `menu`) VALUES
(1, 'Admin'),
(2, 'User'),
(3, 'Menu'),
(4, 'Atlet'),
(5, 'Kontingen'),
(6, 'CABOR');
-- --------------------------------------------------------
--
-- Table structure for table `user_sub_menu`
--
CREATE TABLE `user_sub_menu` (
`id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`title` varchar(128) NOT NULL,
`url` varchar(128) NOT NULL,
`icon` varchar(128) NOT NULL,
`is_active` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_sub_menu`
--
INSERT INTO `user_sub_menu` (`id`, `menu_id`, `title`, `url`, `icon`, `is_active`) VALUES
(1, 1, 'Dashboard', 'admin', 'fas fa-fw fa-tachometer-alt', 1),
(2, 2, 'My Profile', 'user', 'fas fa-fw fa-user', 1),
(3, 2, 'Edit Profile', 'user/edit', 'fas fa-fw fa-user-edit', 1),
(4, 3, 'Menu Management', 'menu', 'fas fa-fw fa-folder', 1),
(5, 3, 'Submenu Management', 'menu/submenu', 'fas fa-fw fa-folder-open', 1),
(6, 4, 'Data Atlet', 'Atlet', 'fa fw-fs fas fa-users', 1),
(7, 4, 'Statistik Atlet', 'Atlet/statistik', 'fa fw-fs fas fa-chart-area', 1),
(8, 5, 'Kontingen', 'Kontingen', 'fa fw-fs far fa-flag', 1),
(9, 6, '<NAME>', 'cabor', '', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `atlet`
--
ALTER TABLE `atlet`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `cabor`
--
ALTER TABLE `cabor`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `kontingen`
--
ALTER TABLE `kontingen`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role`
--
ALTER TABLE `role`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user_access_menu`
--
ALTER TABLE `user_access_menu`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user_menu`
--
ALTER TABLE `user_menu`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user_sub_menu`
--
ALTER TABLE `user_sub_menu`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `atlet`
--
ALTER TABLE `atlet`
MODIFY `id` int(128) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `cabor`
--
ALTER TABLE `cabor`
MODIFY `id` int(128) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `kontingen`
--
ALTER TABLE `kontingen`
MODIFY `id` int(128) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `role`
--
ALTER TABLE `role`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `user_access_menu`
--
ALTER TABLE `user_access_menu`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `user_menu`
--
ALTER TABLE `user_menu`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `user_sub_menu`
--
ALTER TABLE `user_sub_menu`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
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>methiess/PSC-FRAM-Admin
UPDATE BackwardsFRAM SET BackwardsFRAM.TargetFlag=%ESCAPEMENTFLAG%,
BackwardsFRAM.TargetEscAge3=%TARGETESCAPEMENT%,
BackwardsFRAM.Comment=%COMMENT%
WHERE RunID=%RUNID% AND StockID=%STOCKID%;
|
-- Rekrytointitiedonkeruu tohtorit Virta OTP:sta
USE ANTERO
GO
IF NOT EXISTS (
SELECT * FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA='sa' AND TABLE_NAME='sa_virta_otp_rekrytohtorit'
)
BEGIN
CREATE TABLE sa.sa_virta_otp_rekrytohtorit (
[id] [bigint] IDENTITY(1,1) NOT NULL,
[henkilonumero] [varchar](100) NULL,
[rekrykorkeakoulu] [varchar](5) NULL,
[tilastovuosi] [int] NULL,
[tohtoritutkintokorkeakoulu] [varchar](5) NULL,
[tohtoritutkintomaa] [varchar](3) NULL,
[tohtoritutkintosuoritusvuosi] [int] NULL,
loadtime datetime2(4) NULL,
source nvarchar(255) NULL,
username nvarchar(128) NULL,
CONSTRAINT PK__sa_virta_otp_rekrytohtorit PRIMARY KEY CLUSTERED (id ASC)
)
END
GO
ALTER TABLE sa.sa_virta_otp_rekrytohtorit ADD CONSTRAINT DF__sa_virta_otp_rekrytohtorit__loadtime DEFAULT (getdate()) FOR loadtime
GO
ALTER TABLE sa.sa_virta_otp_rekrytohtorit ADD CONSTRAINT DF__sa_virta_otp_rekrytohtorit__username DEFAULT (suser_name()) FOR username
GO
|
<gh_stars>10-100
-- citext provides a case-insensitive text field
CREATE EXTENSION IF NOT EXISTS citext;
-- trgm provides trigram indexes for searching
CREATE EXTENSION IF NOT EXISTS pg_trgm;
-- fuzzystrmatch is needed for levenshtein
CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;
CREATE TABLE IF NOT EXISTS resources (
resource_id uuid PRIMARY KEY,
parent_id uuid REFERENCES resources ON DELETE CASCADE,
kind CITEXT NOT NULL,
name text NOT NULL
);
|
<reponame>American-Retail-Technologies/opensourcepos
ALTER TABLE `ospos_attribute_values` CHANGE `attribute_datetime` `attribute_date` DATE DEFAULT NULL;
|
<reponame>gianadda/ZenPRM<gh_stars>1-10
IF EXISTS (select * from dbo.sysobjects where id = object_id(N'ufnGetEntityFullNameByEntityIdent') and xtype in (N'FN', N'IF', N'TF'))
DROP FUNCTION ufnGetEntityFullNameByEntityIdent
GO
/* ufnGetEntityFullNameByEntityIdent
*
* Returns the entity full name based on the entityident
*
*/
CREATE FUNCTION ufnGetEntityFullNameByEntityIdent(@bntEntityIdent BIGINT)
RETURNS NVARCHAR(MAX)
AS
BEGIN
DECLARE @nvrFullname NVARCHAR(MAX)
SELECT
@nvrFullname = Fullname
FROM
Entity WITH (NOLOCK)
WHERE
Ident = @bntEntityIdent
RETURN COALESCE(@nvrFullname,'')
END
GO
-- SELECT dbo.ufnGetEntityFullNameByEntityIdent(306485)
|
delete from cls.business_object_process_status where business_object_id in (select id from cls.car_dealer_info where dealer_name='@parameter') and business_type_key='CAR_DEALER_ADD_FLOW';#
delete from cls.business_object_process_info where borrower_id in (select id from cls.car_dealer_info where dealer_name='@parameter') and business_type='CAR_DEALER_ADD_FLOW';#
delete from cls.car_manage_team_member where car_dealer_id in (select id from cls.car_dealer_info where dealer_name='@parameter');#
delete from cls.car_dealer_account where dealer_id in (select id from cls.car_dealer_info where dealer_name='@parameter');#
delete from cls.car_fee_info where car_dealer_id in (select id from cls.car_dealer_info where dealer_name='@parameter');#
delete from cls.car_dealer_info where dealer_name='@parameter'
|
-- ----------------------------
-- Records of menu
-- ----------------------------
INSERT INTO `menu` VALUES (80, b'0', '服务监控', 'monitor/server/index', 6, 14, 'codeConsole', 'server', b'0', b'0', 'ServerMonitor', '2019-11-07 13:06:39', 'server:list', 1);
INSERT INTO `menu` VALUES (83, b'0', '图表库', 'components/Echarts', 10, 50, 'chart', 'echarts', b'1', b'0', 'Echarts', '2019-11-21 09:04:32', '', 1);
INSERT INTO `menu` VALUES (90, b'0', '运维管理', '', 0, 20, 'mnt', 'mnt', b'0', b'0', 'Mnt', '2019-11-09 10:31:08', NULL, 1);
INSERT INTO `menu` VALUES (92, b'0', '服务器', 'mnt/server/index', 90, 22, 'server', 'mnt/serverDeploy', b'0', b'0', 'ServerDeploy', '2019-11-10 10:29:25', 'serverDeploy:list', 1);
INSERT INTO `menu` VALUES (93, b'0', '应用管理', 'mnt/app/index', 90, 23, 'app', 'mnt/app', b'0', b'0', 'App', '2019-11-10 11:05:16', 'app:list', 1);
INSERT INTO `menu` VALUES (94, b'0', '部署管理', 'mnt/deploy/index', 90, 24, 'deploy', 'mnt/deploy', b'0', b'0', 'Deploy', '2019-11-10 15:56:55', 'deploy:list', 1);
INSERT INTO `menu` VALUES (97, b'0', '部署备份', 'mnt/deployHistory/index', 90, 25, 'backup', 'mnt/deployHistory', b'0', b'0', 'DeployHistory', '2019-11-10 16:49:44', 'deployHistory:list', 1);
INSERT INTO `menu` VALUES (98, b'0', '数据库管理', 'mnt/database/index', 90, 26, 'database', 'mnt/database', b'0', b'0', 'Database', '2019-11-10 20:40:04', 'database:list', 1);
INSERT INTO `menu` VALUES (102, b'0', '删除', '', 97, 999, '', '', b'0', b'0', '', '2019-11-17 09:32:48', 'deployHistory:del', 2);
INSERT INTO `menu` VALUES (103, b'0', '服务器新增', '', 92, 999, '', '', b'0', b'0', '', '2019-11-17 11:08:33', 'serverDeploy:add', 2);
INSERT INTO `menu` VALUES (104, b'0', '服务器编辑', '', 92, 999, '', '', b'0', b'0', '', '2019-11-17 11:08:57', 'serverDeploy:edit', 2);
INSERT INTO `menu` VALUES (105, b'0', '服务器删除', '', 92, 999, '', '', b'0', b'0', '', '2019-11-17 11:09:15', 'serverDeploy:del', 2);
INSERT INTO `menu` VALUES (106, b'0', '应用新增', '', 93, 999, '', '', b'0', b'0', '', '2019-11-17 11:10:03', 'app:add', 2);
INSERT INTO `menu` VALUES (107, b'0', '应用编辑', '', 93, 999, '', '', b'0', b'0', '', '2019-11-17 11:10:28', 'app:edit', 2);
INSERT INTO `menu` VALUES (108, b'0', '应用删除', '', 93, 999, '', '', b'0', b'0', '', '2019-11-17 11:10:55', 'app:del', 2);
INSERT INTO `menu` VALUES (109, b'0', '部署新增', '', 94, 999, '', '', b'0', b'0', '', '2019-11-17 11:11:22', 'deploy:add', 2);
INSERT INTO `menu` VALUES (110, b'0', '部署编辑', '', 94, 999, '', '', b'0', b'0', '', '2019-11-17 11:11:41', 'deploy:edit', 2);
INSERT INTO `menu` VALUES (111, b'0', '部署删除', '', 94, 999, '', '', b'0', b'0', '', '2019-11-17 11:12:01', 'deploy:del', 2);
INSERT INTO `menu` VALUES (112, b'0', '数据库新增', '', 98, 999, '', '', b'0', b'0', '', '2019-11-17 11:12:43', 'database:add', 2);
INSERT INTO `menu` VALUES (113, b'0', '数据库编辑', '', 98, 999, '', '', b'0', b'0', '', '2019-11-17 11:12:58', 'database:edit', 2);
INSERT INTO `menu` VALUES (114, b'0', '数据库删除', '', 98, 999, '', '', b'0', b'0', '', '2019-11-17 11:13:14', 'database:del', 2);
INSERT INTO `menu` VALUES (115, b'0', '测试生成', 'gen/index', 1, 999, 'Steve-Jobs', 'genTest', b'0', b'0', NULL, '2019-11-25 18:10:29', 'gen:list', 1);
-- ----------------------------
-- Table structure for mnt_app
-- ----------------------------
DROP TABLE IF EXISTS `mnt_app`;
CREATE TABLE `mnt_app` (
`id` bigint(20) NOT NULL COMMENT '应用ID',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '应用名称',
`upload_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上传目录',
`deploy_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部署路径',
`backup_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备份路径',
`port` int(255) NULL DEFAULT NULL COMMENT '应用端口',
`start_script` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '启动脚本',
`deploy_script` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部署脚本',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of mnt_app
-- ----------------------------
INSERT INTO `mnt_app` VALUES (1, 'eladmin-monitor-2.3.jar', '/opt/upload', '/opt/monitor', '/opt/backup', 8777, 'cd /opt/monitor\nnohup java -jar eladmin-monitor-2.3.jar >nohup.out 2>&1 &\n', 'mkdir -p /opt/monitor\nmv -f /opt/upload/eladmin-monitor-2.3.jar /opt/monitor\n', '2019-11-24 20:52:59');
-- ----------------------------
-- Table structure for mnt_database
-- ----------------------------
DROP TABLE IF EXISTS `mnt_database`;
CREATE TABLE `mnt_database` (
`id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '编号',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`jdbc_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'jdbc连接',
`user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '账号',
`pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for mnt_deploy
-- ----------------------------
DROP TABLE IF EXISTS `mnt_deploy`;
CREATE TABLE `mnt_deploy` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`app_id` bigint(20) NULL DEFAULT NULL COMMENT '应用编号',
`create_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `FK6sy157pseoxx4fmcqr1vnvvhy`(`app_id`) USING BTREE,
CONSTRAINT `FK6sy157pseoxx4fmcqr1vnvvhy` FOREIGN KEY (`app_id`) REFERENCES `mnt_app` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for mnt_deploy_history
-- ----------------------------
DROP TABLE IF EXISTS `mnt_deploy_history`;
CREATE TABLE `mnt_deploy_history` (
`id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '编号',
`app_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '应用名称',
`deploy_date` datetime NOT NULL COMMENT '部署日期',
`deploy_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '部署用户',
`ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '服务器IP',
`deploy_id` bigint(20) NULL DEFAULT NULL COMMENT '部署编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for mnt_deploy_server
-- ----------------------------
DROP TABLE IF EXISTS `mnt_deploy_server`;
CREATE TABLE `mnt_deploy_server` (
`deploy_id` bigint(20) NOT NULL,
`server_id` bigint(20) NOT NULL,
PRIMARY KEY (`deploy_id`, `server_id`) USING BTREE,
INDEX `FKeaaha7jew9a02b3bk9ghols53`(`server_id`) USING BTREE,
CONSTRAINT `FK3cehr56tedph6nk3gxsmeq0pb` FOREIGN KEY (`deploy_id`) REFERENCES `mnt_deploy` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `FKeaaha7jew9a02b3bk9ghols53` FOREIGN KEY (`server_id`) REFERENCES `mnt_server` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for mnt_server
-- ----------------------------
DROP TABLE IF EXISTS `mnt_server`;
CREATE TABLE `mnt_server` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'IP地址',
`account` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
`ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
`port` int(11) NULL DEFAULT NULL COMMENT '端口',
`create_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for monitor_server
-- ----------------------------
DROP TABLE IF EXISTS `monitor_server`;
CREATE TABLE `monitor_server` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cpu_core` int(11) NULL DEFAULT NULL COMMENT 'CPU内核数',
`cpu_rate` double NULL DEFAULT NULL COMMENT 'CPU使用率',
`disk_total` double NULL DEFAULT NULL COMMENT '磁盘总量',
`disk_used` double NULL DEFAULT NULL COMMENT '磁盘使用量',
`mem_total` double NULL DEFAULT NULL COMMENT '内存总数',
`mem_used` double NULL DEFAULT NULL COMMENT '内存使用量',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
`port` int(11) NULL DEFAULT NULL COMMENT '访问端口',
`sort` int(11) NULL DEFAULT NULL COMMENT '排序',
`state` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '状态',
`swap_total` double NULL DEFAULT NULL COMMENT '交换区总量',
`swap_used` double NULL DEFAULT NULL COMMENT '交换区使用量',
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '服务地址',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
|
CREATE TABLE IF NOT EXISTS `proxy_endpoint_calls` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`component_id` INTEGER NOT NULL,
`remote_endpoint_id` INTEGER NOT NULL,
`endpoint_name_override` TEXT,
`conditional` TEXT,
`conditional_positive` BOOLEAN DEFAULT 1,
`position` INTEGER NOT NULL,
FOREIGN KEY(`component_id`) REFERENCES `proxy_endpoint_components`(`id`) ON DELETE CASCADE,
FOREIGN KEY(`remote_endpoint_id`) REFERENCES `remote_endpoints`(`id`)
);
|
<gh_stars>10-100
/*
Navicat MySQL Data Transfer
Source Server : 192.168.127.12-hex
Source Server Type : MySQL
Source Server Version : 80017
Source Host : 192.168.127.12:3306
Source Schema : hex
Target Server Type : MySQL
Target Server Version : 80017
File Encoding : 65001
Date: 08/01/2020 20:49:21
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for hex_system_config
-- ----------------------------
DROP TABLE IF EXISTS `hex_system_config`;
CREATE TABLE `hex_system_config` (
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`key` varchar(42) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '键',
`name` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '配置名称',
`options` json NOT NULL COMMENT '配置选项',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `key`(`key`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
|
set define '&'
prompt Execute /fnc_test_a.fnc
@./fnc_test_a.fnc
prompt Execute /fnc_test_b.fnc
@./fnc_test_b.fnc
|
<filename>orcas_integrationstest/tests/test_column_varray_storage/tabellen/tabelle.sql
create table varray_table_new
(
id number,
col1 object type "t_varchararray"
)
varray col1 store as securefile lob
;
create table varray_table_add
(
id number,
col1 object type "t_varchararray"
)
varray col1 store as securefile lob (deduplicate compress high)
;
|
<reponame>produmpling/maoyan-2<gh_stars>1-10
/*
Navicat Premium Data Transfer
Source Server : 本地
Source Server Type : MySQL
Source Server Version : 50723
Source Host : localhost:3306
Source Schema : movie_tickets
Target Server Type : MySQL
Target Server Version : 50723
File Encoding : 65001
Date: 28/04/2019 12:02:47
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for actors
-- ----------------------------
DROP TABLE IF EXISTS `actors`;
CREATE TABLE `actors` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`movie_id` smallint(10) DEFAULT NULL COMMENT '电影id',
`name` varchar(255) DEFAULT NULL COMMENT '名字',
`avatar` varchar(255) DEFAULT NULL COMMENT '头像',
`role` varchar(255) DEFAULT NULL COMMENT '角色',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of actors
-- ----------------------------
BEGIN;
INSERT INTO `actors` VALUES (1, 1, '乔·罗素', 'https://p0.meituan.net/moviemachine/92f533b48482a20b1dc7131363b0d888183832.jpg@128w_170h_1e_1c', '导演');
INSERT INTO `actors` VALUES (2, 1, '安东尼·罗素', 'https://p1.meituan.net/movie/e9caad7b525f59fcd974be52324aa80c65666.jpg@128w_170h_1e_1c', '导演');
INSERT INTO `actors` VALUES (3, 1, '小罗伯特·唐尼', 'https://p1.meituan.net/moviemachine/b014d18273419de881376d3509ced1a7184848.jpg@128w_170h_1e_1c', '钢铁侠 Tony');
INSERT INTO `actors` VALUES (4, 1, '克里斯·埃文斯', 'https://p0.meituan.net/moviemachine/358989d45d38fb6620aff5ee17cdf1a840966.jpg@128w_170h_1e_1c', '美国队长 <NAME>');
INSERT INTO `actors` VALUES (5, 1, '马克·鲁法洛', 'https://p1.meituan.net/movie/1926696ef0b5c45714e13dafb7bfba1557113.jpg@128w_170h_1e_1c', '浩克 Bruce Banner');
INSERT INTO `actors` VALUES (6, 1, '克里斯·海姆斯沃斯', 'https://p0.meituan.net/movie/8e1c78ea168f403280c2ea4023fd8d0292893.jpg@128w_170h_1e_1c', '雷神 Thor');
INSERT INTO `actors` VALUES (7, 1, '斯嘉丽·约翰逊', 'https://p1.meituan.net/movie/b0318792962ba330bf62618ea9b8cc7e154235.jpg@128w_170h_1e_1c', '黑寡妇 Natasha Romanoff');
INSERT INTO `actors` VALUES (9, 1, '杰瑞米·雷纳', 'https://img.91tc.xyz/FlxuuzHeqoGeJ01UqEpyQ3CtCowt', '鹰眼');
COMMIT;
-- ----------------------------
-- Table structure for administrators
-- ----------------------------
DROP TABLE IF EXISTS `administrators`;
CREATE TABLE `administrators` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL COMMENT '登录名',
`password` varchar(255) DEFAULT NULL COMMENT '密码',
`role` varchar(2) DEFAULT NULL COMMENT '角色。1.超级管理员;2.普通管理员',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
`deleted` smallint(2) DEFAULT '0' COMMENT '是否删除。0否,1是',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='管理员';
-- ----------------------------
-- Records of administrators
-- ----------------------------
BEGIN;
INSERT INTO `administrators` VALUES (1, 'admin', 'admin', '1', '1547735288302', '1548769645672', 0);
INSERT INTO `administrators` VALUES (8, 'twy', 'admin', '2', '1548768396356', '1548768396356', 0);
COMMIT;
-- ----------------------------
-- Table structure for banners
-- ----------------------------
DROP TABLE IF EXISTS `banners`;
CREATE TABLE `banners` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '轮播ID',
`sort` smallint(6) DEFAULT '0',
`title` varchar(255) DEFAULT NULL COMMENT '轮播标题',
`url` varchar(255) DEFAULT NULL COMMENT '轮播跳转链接',
`image` varchar(255) NOT NULL COMMENT '轮播图片链接',
`updated_at` varchar(133) DEFAULT NULL COMMENT '更新时间',
`created_at` varchar(133) DEFAULT NULL COMMENT '创建时间',
`created_by` varchar(255) DEFAULT NULL COMMENT '创建者',
`updated_by` varchar(255) DEFAULT NULL COMMENT '更新者',
`deleted` smallint(2) DEFAULT '0' COMMENT '是否已删除。0否;1是',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COMMENT='图片轮播';
-- ----------------------------
-- Records of banners
-- ----------------------------
BEGIN;
INSERT INTO `banners` VALUES (9, 0, '复仇者联盟', './detail/detail?title=复仇者联盟:终局之战&id=1', 'https://img.91tc.xyz/FtnssLNQ0d58tWeGZN2yyD7H3z2Q', NULL, '1556349707522', 'admin', NULL, 0);
COMMIT;
-- ----------------------------
-- Table structure for comments
-- ----------------------------
DROP TABLE IF EXISTS `comments`;
CREATE TABLE `comments` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`user_id` smallint(10) NOT NULL COMMENT '用户ID',
`movie_id` smallint(10) NOT NULL COMMENT '电影ID',
`rating` smallint(10) DEFAULT NULL COMMENT '评分',
`content` text COMMENT '影评内容',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='评论';
-- ----------------------------
-- Records of comments
-- ----------------------------
BEGIN;
INSERT INTO `comments` VALUES (2, 1, 1, 2, '我觉得一般', '1556330737317', NULL);
INSERT INTO `comments` VALUES (3, 1, 1, 3, '挺好看的', '1556330765894', NULL);
COMMIT;
-- ----------------------------
-- Table structure for favorites
-- ----------------------------
DROP TABLE IF EXISTS `favorites`;
CREATE TABLE `favorites` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`movie_id` smallint(10) NOT NULL COMMENT '电影ID',
`user_id` smallint(10) NOT NULL COMMENT '用户ID',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COMMENT='收藏';
-- ----------------------------
-- Records of favorites
-- ----------------------------
BEGIN;
INSERT INTO `favorites` VALUES (15, 2, 1, '1556345729289', NULL);
INSERT INTO `favorites` VALUES (16, 1, 1, '1556418691998', NULL);
COMMIT;
-- ----------------------------
-- Table structure for movies
-- ----------------------------
DROP TABLE IF EXISTS `movies`;
CREATE TABLE `movies` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`sort` smallint(2) DEFAULT '0' COMMENT '排序值',
`name` varchar(255) DEFAULT NULL COMMENT '电影标题',
`en_name` varchar(255) DEFAULT NULL COMMENT '英文名',
`types` varchar(255) DEFAULT NULL COMMENT '类型',
`rating` smallint(2) DEFAULT '0' COMMENT '评分',
`cover` varchar(255) DEFAULT NULL COMMENT '封面',
`summary` varchar(255) DEFAULT NULL COMMENT '摘要',
`description` text COMMENT '简介',
`onsale` smallint(2) DEFAULT '1' COMMENT '是否上映。1是;0否',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
`duration` smallint(10) DEFAULT NULL COMMENT '持续时间,单位是分钟',
`deleted` smallint(2) DEFAULT '0' COMMENT '是否已删除。1是;0否',
`actors` varchar(255) DEFAULT NULL COMMENT '主演',
`likes` smallint(10) DEFAULT '0' COMMENT '想看',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='电影';
-- ----------------------------
-- Records of movies
-- ----------------------------
BEGIN;
INSERT INTO `movies` VALUES (1, 0, '复仇者联盟:终局之战', 'Avengers: Endgame', '科幻', 8, 'https://p0.meituan.net/moviemachine/f7d2ad70eb79d6d9b8a197713db9b8c41711752.jpg@464w_644h_1e_1c', 'Avengers: Endgame', '改编自漫威漫画,也是漫威电影宇宙第22部影片。复仇者联盟的一众超级英雄,必须抱着牺牲一切的信念,与史上最强大反派灭霸殊死一搏,阻止其摧毁宇宙的邪恶计划。', 0, '1556026459850', '1556026459850', 180, 0, '1,2,3', 123);
INSERT INTO `movies` VALUES (2, 0, '反贪风暴', 'P Storm', '犯罪', 7, 'https://p1.meituan.net/movie/c63849c7a9de360a7b192bc322792a111705236.jpg@464w_644h_1e_1c', 'P Storm', '廉政公署收到报案人廖雨萍(周秀娜 饰)的实名举报,举报正在坐牢的富二代曹元元(林峯 饰)涉嫌行贿监狱里的监督沈济全(谭耀文 饰)以及惩教员,首席调查主任陆志廉(古天乐 饰)决定深入虎穴,卧底狱中。在监狱里,被陆志廉送入监狱的前警司黄文彬(林家栋 饰)以及曹元元两大帮派势成水火,陆志廉趁机接近曹元元取得信任。同时监狱外的廉政公署总调查主任程德明(郑嘉颖 饰)、国内反贪局行动处处长洪亮(丁海峰 饰)也陆港联手,通力合作,最终成功破获贪腐行贿大案。', 1, '1556026459850', '1556352216336', 98, 0, '主演: 古天乐,郑嘉颖,林峯', 110);
INSERT INTO `movies` VALUES (3, 0, '何以为家', 'كفرناحوم', '剧情', 8, 'https://img.91tc.xyz/Fic_YQHGewjVzd5fm0hNii3bxsZT', '黎巴嫩,法国,美国', '法庭上,十二岁的男孩赞恩(赞恩·阿尔·拉菲亚 饰)向法官状告他的亲生父母,原因是,他们给了他生命。是什么样的经历让一个孩子做出如此不可思议的举动?故事中,赞恩的父母在无力抚养和教育的状况下依然不停生育,作为家中的长子赞恩,弱小的肩膀承担了无数生活的重压。当妹妹被强行卖给商贩为妻时,赞恩愤怒离家,之后遇到一对没有合法身份的母子,相互扶持勉强生活。然而生活并没有眷顾赞恩,重重磨难迫使他做出了令人震惊的举动……', 1, '1556351097865', '1556351097865', 116, 0, '主演:赞恩·阿尔·拉菲亚', 0);
COMMIT;
-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`theater_id` smallint(10) NOT NULL COMMENT '影院ID',
`theater_name` varchar(255) DEFAULT NULL COMMENT '影院名称',
`movie_id` smallint(10) DEFAULT NULL COMMENT '电影ID',
`movie_name` varchar(255) DEFAULT NULL COMMENT '电影名称',
`user_id` smallint(10) DEFAULT NULL COMMENT '用户ID',
`price` smallint(10) DEFAULT NULL COMMENT '票价',
`date` varchar(255) DEFAULT NULL COMMENT '日期',
`start_time` varchar(255) DEFAULT NULL COMMENT '影片开始时间',
`room` varchar(255) DEFAULT NULL COMMENT '影厅',
`seats` varchar(255) DEFAULT NULL COMMENT '座位',
`status` smallint(2) DEFAULT NULL COMMENT '订单状态。1待付款;2已付款',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COMMENT='订单';
-- ----------------------------
-- Records of orders
-- ----------------------------
BEGIN;
INSERT INTO `orders` VALUES (8, 1, '万达影城', 1, '复仇者联盟:终局之战', 1, 80, '2019-04-27T03:03:53.952Z', '12:30', '001', '03排11座,03排13座', 2, '1556334286605', '1556335411635');
INSERT INTO `orders` VALUES (9, 1, '万达影城', 1, '复仇者联盟:终局之战', 1, 40, '2019-04-27T05:34:21.173Z', '12:30', '001', '03排10座', 2, '1556343279829', '1556343556013');
INSERT INTO `orders` VALUES (10, 1, '万达影城', 1, '复仇者联盟:终局之战', 1, 40, '2019-04-27T05:39:38.151Z', '12:30', '001', '04排10座', 2, '1556343603051', '1556343755476');
INSERT INTO `orders` VALUES (11, 1, '万达影城', 1, '复仇者联盟:终局之战', 1, 40, '2019-04-27T05:42:28.498Z', '12:30', '001', '04排8座', 2, '1556343768595', '1556343772271');
INSERT INTO `orders` VALUES (12, 1, '万达影城', 1, '反贪风暴', 1, 20, '2019-04-27T06:04:07.304Z', '10:30', '001', '07排10座,07排11座', 2, '1556345059991', '1556345073826');
INSERT INTO `orders` VALUES (14, 1, '万达影城', 1, '复仇者联盟:终局之战', 1, 120, '2019-04-27T07:46:09.389Z', '11:30', '001', '05排9座,05排10座', 2, '1556418714669', '1556418717643');
COMMIT;
-- ----------------------------
-- Table structure for stills
-- ----------------------------
DROP TABLE IF EXISTS `stills`;
CREATE TABLE `stills` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`movie_id` smallint(10) NOT NULL COMMENT '电影id',
`image` varchar(255) DEFAULT NULL COMMENT '图片',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COMMENT='剧照';
-- ----------------------------
-- Records of stills
-- ----------------------------
BEGIN;
INSERT INTO `stills` VALUES (1, 1, 'https://p0.meituan.net/mmdb/c51f1a38223e5f5c6dfd4003cb6d2162707679.jpg');
INSERT INTO `stills` VALUES (2, 1, 'https://p0.meituan.net/mmdb/52fe9cc1720ba7d9baf7d903f5a875c3726416.jpg');
INSERT INTO `stills` VALUES (3, 1, 'https://p1.meituan.net/mmdb/657358a233901b10a6ce9a99274ad1e3627308.jpg');
INSERT INTO `stills` VALUES (4, 1, 'https://p0.meituan.net/mmdb/091cce1c7b09d0fa6b5430172f98a3bb695656.jpg');
INSERT INTO `stills` VALUES (5, 1, 'https://p0.meituan.net/mmdb/0caabaa470948c953670ae0b8473349a722733.jpg');
INSERT INTO `stills` VALUES (6, 1, 'https://p0.meituan.net/mmdb/0ee5d79b189892d76508a15ace99b558679625.jpg');
INSERT INTO `stills` VALUES (7, 3, 'https://img.91tc.xyz/Fl9uMqFFU1lpQvuygYrDFp2hGOLq');
INSERT INTO `stills` VALUES (11, 3, 'https://img.91tc.xyz/FiSpd15U6HZtB-e181sCN0ynpsgP');
COMMIT;
-- ----------------------------
-- Table structure for system
-- ----------------------------
DROP TABLE IF EXISTS `system`;
CREATE TABLE `system` (
`id` smallint(2) NOT NULL AUTO_INCREMENT,
`program_name` varchar(255) DEFAULT NULL COMMENT '项目名',
`is_review` smallint(2) DEFAULT '0' COMMENT '是否提审。1是;0否',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='系统配置';
-- ----------------------------
-- Records of system
-- ----------------------------
BEGIN;
INSERT INTO `system` VALUES (1, '影票多多', 0);
COMMIT;
-- ----------------------------
-- Table structure for theaters
-- ----------------------------
DROP TABLE IF EXISTS `theaters`;
CREATE TABLE `theaters` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`sort` smallint(2) DEFAULT '0' COMMENT '排序值',
`name` varchar(255) DEFAULT NULL COMMENT '电影院名称',
`city` varchar(255) DEFAULT NULL COMMENT '城市',
`location` varchar(255) DEFAULT NULL COMMENT '地址',
`labels` varchar(255) DEFAULT NULL COMMENT '标签',
`deleted` smallint(2) DEFAULT '0' COMMENT '是否已删除。1是;0否',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
`min_price` decimal(10,0) DEFAULT NULL COMMENT '最低票价',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='影院';
-- ----------------------------
-- Records of theaters
-- ----------------------------
BEGIN;
INSERT INTO `theaters` VALUES (1, 0, '万达影城', '广州', '广州市天河区万科广场', '改签,小吃,IMAX厅', 0, '1556030254733', '1556030254733', 39);
INSERT INTO `theaters` VALUES (2, 0, '烽禾影城', '广州', '黄埔区科学城科学大道193号高德汇购物中心5层', '可停车,儿童优惠', 1, NULL, '1556352307975', 30);
INSERT INTO `theaters` VALUES (3, 0, '烽禾影城', '广州', '黄埔区科学城科学大道193号高德汇购物中心5层', '可停车,儿童优惠', 0, '1556352337077', NULL, 30);
COMMIT;
-- ----------------------------
-- Table structure for timetable
-- ----------------------------
DROP TABLE IF EXISTS `timetable`;
CREATE TABLE `timetable` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`movie_id` smallint(10) NOT NULL COMMENT '电影id',
`theater_id` smallint(10) DEFAULT NULL COMMENT '影院id',
`play_date` varchar(255) DEFAULT NULL COMMENT '播放日期',
`times` json DEFAULT NULL COMMENT '排期',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='排期';
-- ----------------------------
-- Records of timetable
-- ----------------------------
BEGIN;
INSERT INTO `timetable` VALUES (1, 1, 1, '2019-04-28T13:51:28.254Z', '[{\"room\": \"001\", \"price\": \"60\", \"effects\": \"英语3D\", \"end_time\": \"13:30\", \"start_time\": \"11:30\"}, {\"room\": \"001\", \"price\": \"60\", \"effects\": \"英语3D\", \"end_time\": \"15:30\", \"start_time\": \"13:30\"}]');
INSERT INTO `timetable` VALUES (2, 1, 1, '2019-04-29T13:51:28.254Z', '[{\"room\": \"001\", \"price\": \"40\", \"effects\": \"英语3D\", \"end_time\": \"14:30\", \"start_time\": \"12:30\"}, {\"room\": \"001\", \"price\": \"50\", \"effects\": \"英语3D\", \"end_time\": \"15:30\", \"start_time\": \"13:30\"}]');
COMMIT;
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` smallint(10) NOT NULL AUTO_INCREMENT,
`openid` varchar(100) NOT NULL COMMENT '微信openid',
`unionid` varchar(100) DEFAULT NULL COMMENT '微信unionid',
`nick_name` varchar(255) NOT NULL COMMENT '昵称',
`gender` smallint(2) DEFAULT NULL COMMENT '性别',
`country` varchar(100) DEFAULT NULL COMMENT '国家',
`province` varchar(100) DEFAULT NULL COMMENT '省份',
`city` varchar(100) DEFAULT NULL COMMENT '城市',
`avatar` varchar(500) DEFAULT NULL COMMENT '头像',
`created_at` varchar(13) DEFAULT NULL COMMENT '创建时间',
`updated_at` varchar(13) DEFAULT NULL COMMENT '更新时间',
`deleted` smallint(2) DEFAULT '0' COMMENT '是否已删除',
`status` smallint(2) DEFAULT '1' COMMENT '用户状态。1.正常;2.冻结',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='用户';
-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
INSERT INTO `users` VALUES (1, 'o9rvm5etbIGEu87oI2BXM9Ktu2z4', NULL, '雍', 1, 'China', 'Guangdong', 'Guangzhou', 'https://wx.qlogo.cn/mmopen/vi_32/ajNVdqHZLLA44r4Z1ptibrqgVbZOYQjclH2DAEU6dsUsFhqdFRiaBb1qgVT0oNdKecZ2CpZj7QuTJibte3Cz2Icibg/132', '1556186178500', '1556186178500', 0, 1);
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
|
SET search_path = pg_catalog;
DROP FOREIGN DATA WRAPPER test_fdw_5;
|
<reponame>FuriousLlama/PSP<gh_stars>1-10
/*
Script generated by Aqua Data Studio 22.0.0 on Sep-03-2021 04:37:22 PM
Database: PIMS_S10_00
Schema: dbo
Objects: DATATYPE, DEFAULT, RULE, SEQUENCE, TABLE, VIEW, SYNONYM, PROCEDURE, FUNCTION, INDEX, TRIGGER, DATABASETRIGGER, DATABASE_AUDIT_SPEC
*/
ALTER TABLE "dbo"."PIMS_WORKFLOW_MODEL"
DROP CONSTRAINT "PIM_WFLMDT_PIM_WFLMDL_FK"
GO
ALTER TABLE "dbo"."PIMS_USER_ROLE"
DROP CONSTRAINT "PIM_USER_PIM_USERRL_FK"
GO
ALTER TABLE "dbo"."PIMS_USER_ROLE"
DROP CONSTRAINT "PIM_ROLE_PIM_USERRL_FK"
GO
ALTER TABLE "dbo"."PIMS_USER_ORGANIZATION"
DROP CONSTRAINT "PIM_USER_PIM_USRORG_FK"
GO
ALTER TABLE "dbo"."PIMS_USER_ORGANIZATION"
DROP CONSTRAINT "PIM_ROLE_PIM_USRORG_FK"
GO
ALTER TABLE "dbo"."PIMS_USER_ORGANIZATION"
DROP CONSTRAINT "PIM_ORG_PIM_USRORG_FK"
GO
ALTER TABLE "dbo"."PIMS_USER"
DROP CONSTRAINT "PIM_PERSON_PIM_USER_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"
DROP CONSTRAINT "PIM_TSKTMP_PIM_TSKTAM_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"
DROP CONSTRAINT "PIM_ACTMDL_PIM_TSKTAM_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE"
DROP CONSTRAINT "PIM_TSKTMT_PIM_TSKTMP_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK"
DROP CONSTRAINT "PIM_USER_PIM_TASK_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK"
DROP CONSTRAINT "PIM_TSKTMP_PIM_TASK_FK"
GO
ALTER TABLE "dbo"."PIMS_TASK"
DROP CONSTRAINT "PIM_ACTVTY_PIM_TASK_FK"
GO
ALTER TABLE "dbo"."PIMS_ROLE_CLAIM"
DROP CONSTRAINT "PIM_ROLE_PIM_ROLCLM_FK"
GO
ALTER TABLE "dbo"."PIMS_ROLE_CLAIM"
DROP CONSTRAINT "PIM_CLMTYP_PIM_ROLCLM_FK"
GO
ALTER TABLE "dbo"."PIMS_PROVINCE_STATE"
DROP CONSTRAINT "PIM_CNTRY_PIM_PROVNC_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_SERVICE_FILE"
DROP CONSTRAINT "PIM_PRSVFT_PIM_PRPSVC_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"
DROP CONSTRAINT "PIM_PRPSVC_PIM_PRPRSF_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PRPRSF_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PRPORG_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION"
DROP CONSTRAINT "PIM_ORG_PIM_PRPORG_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_LEASE"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PROPLS_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_LEASE"
DROP CONSTRAINT "PIM_LEASE_PIM_PROPLS_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_EVALUATION"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PRPEVL_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ACTIVITY"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PRPACT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ACTIVITY"
DROP CONSTRAINT "PIM_ACTVTY_PIM_PRPACT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_REGION_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_PRPTYP_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_PRPTNR_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_PRPSTS_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_PRPCLT_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_PIDSRT_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_DSTRCT_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_ARUNIT_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY"
DROP CONSTRAINT "PIM_ADDRSS_PIM_PRPRTY_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"
DROP CONSTRAINT "PIM_WFLMDL_PIM_PRWKMD_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"
DROP CONSTRAINT "PIM_PROJCT_PIM_PRWKMD_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_PROPERTY"
DROP CONSTRAINT "PIM_PRPRTY_PIM_PRJPRP_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_PROPERTY"
DROP CONSTRAINT "PIM_PROJCT_PIM_PRJPRP_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_NOTE"
DROP CONSTRAINT "PIM_PROJCT_PIM_PROJNT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT"
DROP CONSTRAINT "PIM_PROJTR_PIM_PROJCT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT"
DROP CONSTRAINT "PIM_PRJTYP_PIM_PROJCT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT"
DROP CONSTRAINT "PIM_PRJSTY_PIM_PROJCT_FK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT"
DROP CONSTRAINT "PIM_PRJRSK_PIM_PROJCT_FK"
GO
ALTER TABLE "dbo"."PIMS_PERSON_ORGANIZATION"
DROP CONSTRAINT "PIM_PERSON_PIM_PERORG_FK"
GO
ALTER TABLE "dbo"."PIMS_PERSON_ORGANIZATION"
DROP CONSTRAINT "PIM_ORG_PIM_PERORG_FK"
GO
ALTER TABLE "dbo"."PIMS_PERSON"
DROP CONSTRAINT "PIM_ADDRSS_PIM_PERSON_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_REGION_PIM_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_ORGTYP_PIM_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_ORGIDT_PIM_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_ORG_PIM_PRNT_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_DSTRCT_PIM_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION"
DROP CONSTRAINT "PIM_ADDRSS_PIM_ORG_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY"
DROP CONSTRAINT "PIM_LSTYPE_PIM_LSACTV_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY"
DROP CONSTRAINT "PIM_LSSTYP_PIM_LSACTV_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY"
DROP CONSTRAINT "PIM_LSACPR_PIM_LSACTV_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY"
DROP CONSTRAINT "PIM_LEASE_PIM_LSACTV_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_PERSON_PIM_LEASE_TENANT_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_PERSON_PIM_LEASE_PM_CONTACT_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_ORG_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_LSSTSY_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_LSPRTY_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_LSPRST_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_LSPRGT_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_LEASE"
DROP CONSTRAINT "PIM_LSPMTF_PIM_LEASE_FK"
GO
ALTER TABLE "dbo"."PIMS_EXPECTED_AMOUNT"
DROP CONSTRAINT "PIM_LSACPR_PIM_EXPAMT_FK"
GO
ALTER TABLE "dbo"."PIMS_EXPECTED_AMOUNT"
DROP CONSTRAINT "PIM_LEASE_PIM_EXPAMT_FK"
GO
ALTER TABLE "dbo"."PIMS_DISTRICT"
DROP CONSTRAINT "PIM_REGION_PIM_DSTRCT_FK"
GO
ALTER TABLE "dbo"."PIMS_CONTACT_METHOD"
DROP CONSTRAINT "PIM_PERSON_PIM_CNTMTH_FK"
GO
ALTER TABLE "dbo"."PIMS_CONTACT_METHOD"
DROP CONSTRAINT "PIM_ORG_PIM_CNTMTH_FK"
GO
ALTER TABLE "dbo"."PIMS_CONTACT_METHOD"
DROP CONSTRAINT "PIM_CNTMTT_PIM_CNTMTH_FK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS"
DROP CONSTRAINT "PIM_REGION_PIM_ADDRSS_FK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS"
DROP CONSTRAINT "PIM_PROVNC_PIM_ADDRSS_FK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS"
DROP CONSTRAINT "PIM_DSTRCT_PIM_ADDRSS_FK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS"
DROP CONSTRAINT "PIM_CNTRY_PIM_ADDRSS_FK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS"
DROP CONSTRAINT "PIM_ADUSGT_PIM_ADDRSS_FK"
GO
ALTER TABLE "dbo"."PIMS_ACTIVITY"
DROP CONSTRAINT "PIM_PRWKMD_PIM_ACTVTY_FK"
GO
ALTER TABLE "dbo"."PIMS_ACTIVITY"
DROP CONSTRAINT "PIM_PROJCT_PIM_ACTVTY_FK"
GO
ALTER TABLE "dbo"."PIMS_ACTIVITY"
DROP CONSTRAINT "PIM_ACTMDL_PIM_ACTVTY_FK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"
DROP CONSTRAINT "PIM_ORG_PIM_ACRQOR_FK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"
DROP CONSTRAINT "PIM_ACRQST_PIM_ACRQOR_FK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST"
DROP CONSTRAINT "PIM_USER_PIM_ACRQST_FK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST"
DROP CONSTRAINT "PIM_ROLE_PIM_ACRQST_FK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST"
DROP CONSTRAINT "PIM_ARQSTT_PIM_ACRQST_FK"
GO
ALTER TABLE "dbo"."PIMS_WORKFLOW_MODEL_HIST"
DROP CONSTRAINT "PIMS_WFLMDL_H_UK"
GO
ALTER TABLE "dbo"."PIMS_USER_ROLE_HIST"
DROP CONSTRAINT "PIMS_USERRL_H_UK"
GO
ALTER TABLE "dbo"."PIMS_USER_ROLE"
DROP CONSTRAINT "USERRL_USER_ROLE_TUC"
GO
ALTER TABLE "dbo"."PIMS_USER_ORGANIZATION_HIST"
DROP CONSTRAINT "PIMS_USRORG_H_UK"
GO
ALTER TABLE "dbo"."PIMS_USER_ORGANIZATION"
DROP CONSTRAINT "USRORG_USER_ROLE_ORGANIZATION_TUC"
GO
ALTER TABLE "dbo"."PIMS_USER_HIST"
DROP CONSTRAINT "PIMS_USER_H_UK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE_HIST"
DROP CONSTRAINT "PIMS_TSKTMP_H_UK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_HIST"
DROP CONSTRAINT "PIMS_TSKTAM_H_UK"
GO
ALTER TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"
DROP CONSTRAINT "TSKTAM_TASK_TEMPLATE_ACTIVITY_MODEL_TUC"
GO
ALTER TABLE "dbo"."PIMS_TASK_HIST"
DROP CONSTRAINT "PIMS_TASK_H_UK"
GO
ALTER TABLE "dbo"."PIMS_TASK"
DROP CONSTRAINT "TASK_TEMPLATE_ACTIVITY_USER_TUC"
GO
ALTER TABLE "dbo"."PIMS_ROLE_HIST"
DROP CONSTRAINT "PIMS_ROLE_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ROLE_CLAIM_HIST"
DROP CONSTRAINT "PIMS_ROLCLM_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ROLE_CLAIM"
DROP CONSTRAINT "ROLCLM_ROLE_CLAIM_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_SERVICE_FILE_HIST"
DROP CONSTRAINT "PIMS_PRPSVC_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST"
DROP CONSTRAINT "PIMS_PRPRSF_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"
DROP CONSTRAINT "PRPRSF_PROPERTY_SERVICE_FILE_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION_HIST"
DROP CONSTRAINT "PIMS_PRPORG_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION"
DROP CONSTRAINT "PRPORG_PROPERTY_ORGANIZATION_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_LEASE_HIST"
DROP CONSTRAINT "PIMS_PROPLS_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_HIST"
DROP CONSTRAINT "PIMS_PRPRTY_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_EVALUATION_HIST"
DROP CONSTRAINT "PIMS_PRPEVL_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ACTIVITY_HIST"
DROP CONSTRAINT "PIMS_PRPACT_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROPERTY_ACTIVITY"
DROP CONSTRAINT "PRPACT_PROPERTY_ACTIVITY_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL_HIST"
DROP CONSTRAINT "PIMS_PRWKMD_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"
DROP CONSTRAINT "PRWKMD_PROJECT_WORKFLOW_MODEL_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_PROPERTY_HIST"
DROP CONSTRAINT "PIMS_PRJPRP_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_PROPERTY"
DROP CONSTRAINT "PRJPRP_PROJECT_PROPERTY_TUC"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_NOTE_HIST"
DROP CONSTRAINT "PIMS_PROJNT_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PROJECT_HIST"
DROP CONSTRAINT "PIMS_PROJCT_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PERSON_ORGANIZATION_HIST"
DROP CONSTRAINT "PIMS_PERORG_H_UK"
GO
ALTER TABLE "dbo"."PIMS_PERSON_ORGANIZATION"
DROP CONSTRAINT "PERORG_PERSON_ORGANIZATION_TUC"
GO
ALTER TABLE "dbo"."PIMS_PERSON_HIST"
DROP CONSTRAINT "PIMS_PERSON_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ORGANIZATION_HIST"
DROP CONSTRAINT "PIMS_ORG_H_UK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_HIST"
DROP CONSTRAINT "PIMS_LEASE_H_UK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY_PERIOD_HIST"
DROP CONSTRAINT "PIMS_LSACPR_H_UK"
GO
ALTER TABLE "dbo"."PIMS_LEASE_ACTIVITY_HIST"
DROP CONSTRAINT "PIMS_LSACTV_H_UK"
GO
ALTER TABLE "dbo"."PIMS_EXPECTED_AMOUNT_HIST"
DROP CONSTRAINT "PIMS_EXPAMT_H_UK"
GO
ALTER TABLE "dbo"."PIMS_CONTACT_METHOD_HIST"
DROP CONSTRAINT "PIMS_CNTMTH_H_UK"
GO
ALTER TABLE "dbo"."PIMS_CLAIM_HIST"
DROP CONSTRAINT "PIMS_CLMTYP_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ADDRESS_HIST"
DROP CONSTRAINT "PIMS_ADDRSS_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ACTIVITY_MODEL_HIST"
DROP CONSTRAINT "PIMS_ACTMDL_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ACTIVITY_HIST"
DROP CONSTRAINT "PIMS_ACTVTY_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION_HIST"
DROP CONSTRAINT "PIMS_ACRQOR_H_UK"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"
DROP CONSTRAINT "ACRQOR_ORGANIZATION_ACCESS_REQUEST_TUC"
GO
ALTER TABLE "dbo"."PIMS_ACCESS_REQUEST_HIST"
DROP CONSTRAINT "PIMS_ACRQST_H_UK"
GO
DROP TRIGGER "dbo"."PIMS_WFLMDL_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_USERRL_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_USRORG_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_USER_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTMT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTAM_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTMP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_TASK_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLCLM_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLE_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_REGION_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROVNC_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPTYP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPTNR_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPSTS_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRSVFT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPSVC_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRSF_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPORG_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROPLS_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPEVL_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PIDSRT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPCLT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPACT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRTY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRWKMD_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJTYP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJTR_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJSTY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJRSK_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJPRP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJNT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJCT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERORG_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERSON_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORGTYP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORG_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORGIDT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSTYPE_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSSTYP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSSTSY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRTY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRST_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRGT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPMTF_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACPR_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACTV_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_LEASE_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_EXPAMT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_DSTRCT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTRY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTMTT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTMTH_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_CLMTYP_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ARUNIT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ADUSGT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ADDRSS_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTMDL_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTVTY_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ARQSTT_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQOR_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQST_I_S_U_TR"
GO
DROP TRIGGER "dbo"."PIMS_WFLMDL_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USRORG_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USERRL_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USER_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTMP_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTAM_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TASK_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLE_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_WFLMDT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLCLM_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_WFLMDL_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRWKMD_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USERRL_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPSVC_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USRORG_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRTY_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_USER_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRSF_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTMT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPORG_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTAM_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPEVL_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TSKTMP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPACT_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_TASK_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROPLS_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLCLM_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJNT_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_ROLE_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJCT_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_REGION_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJPRP_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROVNC_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERSON_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPTYP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERORG_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPTNR_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORG_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPSTS_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACTV_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRSVFT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACPR_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPSVC_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LEASE_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRSF_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_EXPAMT_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPORG_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTMTH_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROPLS_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CLMTYP_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPEVL_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ADDRSS_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PIDSRT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTVTY_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPCLT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTMDL_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPACT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQST_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRPRTY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQOR_A_S_IUD_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRWKMD_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJTYP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJTR_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJSTY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJRSK_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PRJPRP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJNT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PROJCT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERORG_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_PERSON_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORGTYP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORG_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ORGIDT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSTYPE_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSSTYP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSSTSY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRTY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRST_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPRGT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSPMTF_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACPR_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LSACTV_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_LEASE_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_EXPAMT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_DSTRCT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTRY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTMTT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CNTMTH_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_CLMTYP_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ARUNIT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ADUSGT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ADDRSS_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTMDL_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACTVTY_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ARQSTT_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQOR_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_ACRQST_I_S_I_TR"
GO
DROP TRIGGER "dbo"."PIMS_WFLMDT_I_S_U_TR"
GO
DROP INDEX "dbo"."PIMS_WORKFLOW_MODEL"."WFLMDL_WORKFLOW_MODEL_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_USER_ORGANIZATION"."USRORG_USER_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_USER_ORGANIZATION"."USRORG_ROLE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_USER_ORGANIZATION"."USRORG_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_USER"."USER_PERSON_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_USER_ROLE"."USERRL_USER_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_USER_ROLE"."USERRL_ROLE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK_TEMPLATE"."TSKTMP_TASK_TEMPLATE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"."TSKTAM_TASK_TEMPLATE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"."TSKTAM_ACTIVITY_MODEL_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK"."TASK_USER_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK"."TASK_TASK_TEMPLATE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_TASK"."TASK_ACTIVITY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ROLE"."ROLE_ROLE_UID_IDX"
GO
DROP INDEX "dbo"."PIMS_ROLE_CLAIM"."ROLCLM_ROLE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ROLE_CLAIM"."ROLCLM_CLAIM_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"."PRWKMD_WORKFLOW_MODEL_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"."PRWKMD_PROJECT_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_SERVICE_FILE"."PRPSVC_PROPERTY_SERVICE_FILE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_REGION_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_TENURE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_STATUS_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_DATA_SOURCE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_CLASSIFICATION_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_PROPERTY_AREA_UNIT_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_DISTRICT_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY"."PRPRTY_ADDRESS_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"."PRPRSF_PROPERTY_SERVICE_FILE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"."PRPRSF_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_ORGANIZATION"."PRPORG_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_ORGANIZATION"."PRPORG_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_EVALUATION"."PRPEVL_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_ACTIVITY"."PRPACT_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_ACTIVITY"."PRPACT_ACTIVITY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROVINCE_STATE"."PROVNC_COUNTRY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_LEASE"."PROPLS_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROPERTY_LEASE"."PROPLS_LEASE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT_NOTE"."PROJNT_PROJECT_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT"."PROJCT_PROJECT_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT"."PROJCT_PROJECT_TIER_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT"."PROJCT_PROJECT_STATUS_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT"."PROJCT_PROJECT_RISK_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT_PROPERTY"."PRJPRP_PROPERTY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PROJECT_PROPERTY"."PRJPRP_PROJECT_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PERSON"."PERSON_ADDRESS_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PERSON_ORGANIZATION"."PERORG_PERSON_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_PERSON_ORGANIZATION"."PERORG_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_REGION_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_PRNT_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_ORG_IDENTIFIER_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_ORGANIZATION_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_DISTRICT_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ORGANIZATION"."ORG_ADDRESS_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE_ACTIVITY"."LSACTV_LEASE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE_ACTIVITY"."LSACTV_LEASE_SUBTYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE_ACTIVITY"."LSACTV_LEASE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE_ACTIVITY"."LSACTV_LEASE_ACTIVITY_PERIOD_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_TENANT_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_PROP_MGMT_ORG_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_PROPERTY_MANAGER_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_LEASE_STATUS_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_LEASE_PURPOSE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_LEASE_PURPOSE_SUBTYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_LEASE_PROGRAM_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_LEASE"."LEASE_LEASE_PMT_FREQ_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_EXPECTED_AMOUNT"."EXPAMT_LEASE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_EXPECTED_AMOUNT"."EXPAMT_LEASE_ACTIVITY_PERIOD_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_DISTRICT"."DSTRCT_REGION_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_CONTACT_METHOD"."CNTMTH_PERSON_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_CONTACT_METHOD"."CNTMTH_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_CONTACT_METHOD"."CNTMTH_CONTACT_METHOD_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ADDRESS"."ADDRSS_REGION_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ADDRESS"."ADDRSS_PROVINCE_STATE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ADDRESS"."ADDRSS_DISTRICT_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ADDRESS"."ADDRSS_COUNTRY_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ADDRESS"."ADDRSS_ADDRESS_USAGE_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ACTIVITY"."ACTVTY_WORKFLOW_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACTIVITY"."ACTVTY_PROJECT_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACTIVITY"."ACTVTY_ACTIVITY_MODEL_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACCESS_REQUEST"."ACRQST_USER_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACCESS_REQUEST"."ACRQST_ROLE_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACCESS_REQUEST"."ACRQST_ACCESS_REQUEST_STATUS_TYPE_CODE_IDX"
GO
DROP INDEX "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"."ACRQOR_ORGANIZATION_ID_IDX"
GO
DROP INDEX "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"."ACRQOR_ACCESS_REQUEST_ID_IDX"
GO
DROP PROCEDURE "dbo"."pims_error_handling"
GO
DROP VIEW "dbo"."PIMS_PROPERTY_LOCATION_VW"
GO
DROP VIEW "dbo"."PIMS_PROPERTY_BOUNDARY_VW"
GO
IF OBJECT_ID('dbo.__EFMigrationsHistory') IS NOT NULL
DROP TABLE "dbo"."__EFMigrationsHistory"
GO
IF OBJECT_ID('dbo.PIMS_WORKFLOW_MODEL_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_WORKFLOW_MODEL_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_WORKFLOW_MODEL_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_WORKFLOW_MODEL_HIST"
GO
IF OBJECT_ID('dbo.PIMS_WORKFLOW_MODEL') IS NOT NULL
DROP TABLE "dbo"."PIMS_WORKFLOW_MODEL"
GO
IF OBJECT_ID('dbo.PIMS_USER_ROLE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER_ROLE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_USER_ROLE') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER_ROLE"
GO
IF OBJECT_ID('dbo.PIMS_USER_ORGANIZATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER_ORGANIZATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_USER_ORGANIZATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER_ORGANIZATION"
GO
IF OBJECT_ID('dbo.PIMS_USER_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER_HIST"
GO
IF OBJECT_ID('dbo.PIMS_USER') IS NOT NULL
DROP TABLE "dbo"."PIMS_USER"
GO
IF OBJECT_ID('dbo.PIMS_TASK_TEMPLATE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_TEMPLATE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_TASK_TEMPLATE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_TEMPLATE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_HIST"
GO
IF OBJECT_ID('dbo.PIMS_TASK_TEMPLATE_ACTIVITY_MODEL') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL"
GO
IF OBJECT_ID('dbo.PIMS_TASK_TEMPLATE') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_TEMPLATE"
GO
IF OBJECT_ID('dbo.PIMS_TASK_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK_HIST"
GO
IF OBJECT_ID('dbo.PIMS_TASK') IS NOT NULL
DROP TABLE "dbo"."PIMS_TASK"
GO
IF OBJECT_ID('dbo.PIMS_ROLE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ROLE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ROLE_CLAIM_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ROLE_CLAIM_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ROLE_CLAIM') IS NOT NULL
DROP TABLE "dbo"."PIMS_ROLE_CLAIM"
GO
IF OBJECT_ID('dbo.PIMS_ROLE') IS NOT NULL
DROP TABLE "dbo"."PIMS_ROLE"
GO
IF OBJECT_ID('dbo.PIMS_REGION') IS NOT NULL
DROP TABLE "dbo"."PIMS_REGION"
GO
IF OBJECT_ID('dbo.PIMS_PROVINCE_STATE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROVINCE_STATE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_TENURE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_TENURE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_STATUS_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_STATUS_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_SERVICE_FILE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_SERVICE_FILE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_SERVICE_FILE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_SERVICE_FILE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_SERVICE_FILE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_SERVICE_FILE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_PROPERTY_SERVICE_FILE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_ORGANIZATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_ORGANIZATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_ORGANIZATION"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_LEASE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_LEASE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_LEASE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_LEASE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_EVALUATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_EVALUATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_EVALUATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_EVALUATION"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_DATA_SOURCE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_DATA_SOURCE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_CLASSIFICATION_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_CLASSIFICATION_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_ACTIVITY_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_ACTIVITY_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY_ACTIVITY') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY_ACTIVITY"
GO
IF OBJECT_ID('dbo.PIMS_PROPERTY') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROPERTY"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_WORKFLOW_MODEL_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_WORKFLOW_MODEL') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_TIER_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_TIER_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_STATUS_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_STATUS_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_RISK_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_RISK_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_PROPERTY_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_PROPERTY_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_PROPERTY') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_PROPERTY"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_NOTE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_NOTE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_NOTE') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_NOTE"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PROJECT') IS NOT NULL
DROP TABLE "dbo"."PIMS_PROJECT"
GO
IF OBJECT_ID('dbo.PIMS_PERSON_ORGANIZATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PERSON_ORGANIZATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PERSON_ORGANIZATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_PERSON_ORGANIZATION"
GO
IF OBJECT_ID('dbo.PIMS_PERSON_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_PERSON_HIST"
GO
IF OBJECT_ID('dbo.PIMS_PERSON') IS NOT NULL
DROP TABLE "dbo"."PIMS_PERSON"
GO
IF OBJECT_ID('dbo.PIMS_ORG_IDENTIFIER_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_ORG_IDENTIFIER_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_ORGANIZATION_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_ORGANIZATION_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_ORGANIZATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ORGANIZATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ORGANIZATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_ORGANIZATION"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_SUBTYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_SUBTYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_STATUS_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_STATUS_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_PURPOSE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_PURPOSE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_PURPOSE_SUBTYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_PURPOSE_SUBTYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_PROGRAM_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_PROGRAM_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_PMT_FREQ_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_PMT_FREQ_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_HIST"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_ACTIVITY_PERIOD_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_ACTIVITY_PERIOD_HIST"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_ACTIVITY_PERIOD') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_ACTIVITY_PERIOD"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_ACTIVITY_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_ACTIVITY_HIST"
GO
IF OBJECT_ID('dbo.PIMS_LEASE_ACTIVITY') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE_ACTIVITY"
GO
IF OBJECT_ID('dbo.PIMS_LEASE') IS NOT NULL
DROP TABLE "dbo"."PIMS_LEASE"
GO
IF OBJECT_ID('dbo.PIMS_EXPECTED_AMOUNT_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_EXPECTED_AMOUNT_HIST"
GO
IF OBJECT_ID('dbo.PIMS_EXPECTED_AMOUNT') IS NOT NULL
DROP TABLE "dbo"."PIMS_EXPECTED_AMOUNT"
GO
IF OBJECT_ID('dbo.PIMS_DISTRICT') IS NOT NULL
DROP TABLE "dbo"."PIMS_DISTRICT"
GO
IF OBJECT_ID('dbo.PIMS_COUNTRY') IS NOT NULL
DROP TABLE "dbo"."PIMS_COUNTRY"
GO
IF OBJECT_ID('dbo.PIMS_CONTACT_METHOD_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_CONTACT_METHOD_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_CONTACT_METHOD_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_CONTACT_METHOD_HIST"
GO
IF OBJECT_ID('dbo.PIMS_CONTACT_METHOD') IS NOT NULL
DROP TABLE "dbo"."PIMS_CONTACT_METHOD"
GO
IF OBJECT_ID('dbo.PIMS_CLAIM_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_CLAIM_HIST"
GO
IF OBJECT_ID('dbo.PIMS_CLAIM') IS NOT NULL
DROP TABLE "dbo"."PIMS_CLAIM"
GO
IF OBJECT_ID('dbo.PIMS_AREA_UNIT_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_AREA_UNIT_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_ADDRESS_USAGE_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_ADDRESS_USAGE_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_ADDRESS_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ADDRESS_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ADDRESS') IS NOT NULL
DROP TABLE "dbo"."PIMS_ADDRESS"
GO
IF OBJECT_ID('dbo.PIMS_ACTIVITY_MODEL_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACTIVITY_MODEL_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ACTIVITY_MODEL') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACTIVITY_MODEL"
GO
IF OBJECT_ID('dbo.PIMS_ACTIVITY_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACTIVITY_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ACTIVITY') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACTIVITY"
GO
IF OBJECT_ID('dbo.PIMS_ACCESS_REQUEST_STATUS_TYPE') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACCESS_REQUEST_STATUS_TYPE"
GO
IF OBJECT_ID('dbo.PIMS_ACCESS_REQUEST_ORGANIZATION_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ACCESS_REQUEST_ORGANIZATION') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION"
GO
IF OBJECT_ID('dbo.PIMS_ACCESS_REQUEST_HIST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACCESS_REQUEST_HIST"
GO
IF OBJECT_ID('dbo.PIMS_ACCESS_REQUEST') IS NOT NULL
DROP TABLE "dbo"."PIMS_ACCESS_REQUEST"
GO
IF OBJECT_ID('dbo.PIMSX_TableDefinitions') IS NOT NULL
DROP TABLE "dbo"."PIMSX_TableDefinitions"
GO
DROP SEQUENCE "dbo"."PIMS_WORKFLOW_MODEL_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_WORKFLOW_MODEL_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_TASK_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_ROLE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_ROLE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_ORGANIZATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_USER_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_TEMPLATE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_TEMPLATE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_TEMPLATE_ACTIVITY_MODEL_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_TASK_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_STRUCTURE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ROLE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ROLE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ROLE_CLAIM_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ROLE_CLAIM_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_STRUCTURE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_SERVICE_FILE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_SERVICE_FILE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_PROPERTY_SERVICE_FILE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_ORGANIZATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_LEASE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_LEASE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_EVALUATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_EVALUATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_ACTIVITY_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROPERTY_ACTIVITY_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_WORKFLOW_MODEL_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_PROPERTY_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_PROPERTY_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_NUMBER_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_NOTE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_NOTE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PROJECT_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PERSON_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PERSON_ORGANIZATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PERSON_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_PERSON_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ORGANIZATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_ACTIVITY_PERIOD_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_ACTIVITY_PERIOD_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_ACTIVITY_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_LEASE_ACTIVITY_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_L_FILE_NO_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_EXPECTED_AMOUNT_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_EXPECTED_AMOUNT_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_CONTACT_METHOD_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_CONTACT_METHOD_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_CLAIM_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_CLAIM_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_PREDOMINATE_USE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_OCCUPANT_TYPE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_FISCAL_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_EVALUATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_BUILDING_CONSTRUCTION_TYPE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ASSET_EVALUATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ADDRESS_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ADDRESS_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_TASK_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_SERVICE_FILE_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_MODEL_TASK_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_MODEL_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_MODEL_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACTIVITY_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACCESS_REQUEST_ORGANIZATION_H_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACCESS_REQUEST_ID_SEQ"
GO
DROP SEQUENCE "dbo"."PIMS_ACCESS_REQUEST_H_ID_SEQ"
GO
|
SELECT '< HIVE-675: Add database/schema support for Hive QL >' AS ' ';
ALTER TABLE `DBS` MODIFY `DESC` VARCHAR(4000);
ALTER TABLE `DBS` ADD `DB_LOCATION_URI` VARCHAR(4000) NOT NULL DEFAULT '';
|
<filename>fixtures/doctests/rowtypes/018/input.sql
SELECT c.* FROM inventory_item c;
|
ALTER TABLE DataElementOperand RENAME TO DataElementOperand_Old;
CREATE TABLE DataElementOperand (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, dataElement TEXT, categoryOptionCombo TEXT, FOREIGN KEY (dataElement) REFERENCES DataElement (uid) DEFERRABLE INITIALLY DEFERRED, FOREIGN KEY (categoryOptionCombo) REFERENCES CategoryOptionCombo (uid) DEFERRABLE INITIALLY DEFERRED);
INSERT INTO DataElementOperand (_id, uid, dataElement, categoryOptionCombo) SELECT _id, uid, dataElement, categoryOptionCombo FROM DataElementOperand_Old;
DROP TABLE DataElementOperand_Old;
|
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Feb 29, 2020 at 02:24 AM
-- Server version: 10.4.8-MariaDB
-- PHP Version: 7.1.33
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: `kas`
--
-- --------------------------------------------------------
--
-- Table structure for table `tabel_transaksi`
--
CREATE TABLE `tabel_transaksi` (
`id` int(4) NOT NULL,
`tanggal` date NOT NULL,
`keterangan` text NOT NULL,
`jenis` enum('i','o') NOT NULL,
`jumlah` int(9) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `tabel_transaksi`
--
INSERT INTO `tabel_transaksi` (`id`, `tanggal`, `keterangan`, `jenis`, `jumlah`) VALUES
(1, '0000-00-00', 'Beli air', 'o', 230000),
(2, '2020-02-18', 'Beli Semen', 'o', 25000),
(3, '2020-02-20', 'Parkir', 'i', 2300021),
(4, '2020-02-20', 'Parkir', 'i', 2300021),
(5, '2020-02-20', 'Parkir', 'i', 2300021),
(6, '2020-02-20', 'Parkir', 'i', 2300021),
(7, '2020-02-20', 'Parkir', 'i', 2300021),
(8, '2020-02-20', 'Parkir', 'i', 2300021),
(9, '2020-02-20', 'Parkir', 'i', 2300021),
(10, '2020-02-20', 'Parkir', 'i', 2300021),
(11, '2020-02-20', 'Parkir', 'i', 2300021),
(12, '2020-02-20', 'Parkir', 'i', 2300021),
(13, '2020-02-20', 'Parkir', 'i', 2300021),
(14, '2020-02-20', 'Parkir', 'i', 2300021),
(15, '2020-02-20', 'Parkir', 'i', 2300021),
(16, '2020-02-20', 'Parkir', 'i', 2300021);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tabel_transaksi`
--
ALTER TABLE `tabel_transaksi`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tabel_transaksi`
--
ALTER TABLE `tabel_transaksi`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
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 */;
|
DROP TABLE IF EXISTS `test_043`;
|
<gh_stars>0
-- !preview conn=con
SELECT
msgid,
timestamp,
seg_id,
lat,
lon
FROM
-- `world-fishing-827.pipe_production_v20201001.messages_scored_*`
`world-fishing-827.pipe_production_v20201001.messages_scored_20210518`
--WHERE _TABLE_SUFFIX = '20210518'
LIMIT 10;
|
-- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 18, 2018 at 04:03 PM
-- Server version: 10.1.32-MariaDB
-- PHP Version: 7.2.5
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: `cbc`
--
-- --------------------------------------------------------
--
-- Table structure for table `expenses`
--
CREATE TABLE `expenses` (
`id` int(11) NOT NULL,
`date` datetime NOT NULL,
`receiver` varchar(100) NOT NULL,
`service_type` varchar(100) NOT NULL,
`voucher_number` int(11) NOT NULL,
`amount` int(11) NOT NULL,
`ministry` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `expenses`
--
INSERT INTO `expenses` (`id`, `date`, `receiver`, `service_type`, `voucher_number`, `amount`, `ministry`) VALUES
(1, '2018-07-10 13:00:00', 'Marion Quizan', 'Main Service', 1, 5000, 'YDC');
-- --------------------------------------------------------
--
-- 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);
-- --------------------------------------------------------
--
-- Table structure for table `ministries`
--
CREATE TABLE `ministries` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`type` varchar(100) NOT NULL,
`funds` double NOT NULL,
`updated_at` datetime NOT NULL,
`created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ministries`
--
INSERT INTO `ministries` (`id`, `name`, `type`, `funds`, `updated_at`, `created_at`) VALUES
(1, 'Care', 'Main', 300, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 'Ladies', 'Main', 1000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 'M & M', 'Main', 1500, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(4, 'YDC', 'Main', 160000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(5, 'Choir', 'Main', 300, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(6, 'Prayer Breakfast', 'Main', 2000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(7, 'Circle of Faith', 'Main', 100, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(8, 'Creative Team', 'Main', 1200, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(9, 'DVBS', 'Main', 500, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(10, 'Care', 'Main', 2000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(11, 'Ladies', 'Main', 1000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(12, 'M & M', 'Main', 1500, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(13, 'YDC', 'Main', 160000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(14, 'Choir', 'Main', 300, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(15, 'Prayer Breakfast', 'Main', 2000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(16, 'Circle of Faith', 'Main', 100, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(17, 'Creative Team', 'Main', 1200, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(18, 'DVBS', 'Main', 500, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(19, 'Tithes', 'Sub', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(20, 'Offering', 'Sub', 300, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(21, 'FirstFruit', 'Sub', 500000, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(22, 'Mission', 'Sub', 10, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Table structure for table `particulars`
--
CREATE TABLE `particulars` (
`voucher_id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`amount` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) 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 `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT 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`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'mikhael.maclang', '<EMAIL>', <PASSWORD>$9XrcNsYm2n/VnXn3qsUWeO4JSPDjajIlnSyMxnzEdD9MRbSCSOdQ2', NULL, '2018-07-04 09:43:53', '2018-07-04 09:43:53');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `expenses`
--
ALTER TABLE `expenses`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ministries`
--
ALTER TABLE `ministries`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `expenses`
--
ALTER TABLE `expenses`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `ministries`
--
ALTER TABLE `ministries`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED 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 */;
|
ALTER TABLE prediksjon_input
ALTER input_created TYPE timestamptz USING input_created AT TIME ZONE 'UTC';
ALTER TABLE prediksjon_output
ALTER input_created TYPE timestamptz USING input_created AT TIME ZONE 'UTC';
ALTER TABLE prediksjon_output
ALTER prediksjon_created TYPE timestamptz USING prediksjon_created AT TIME ZONE 'UTC';
|
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW [dbo].[vw_Jira_Status_Category] AS
SELECT [Status_Category_Id]
,[Name]
,[Key]
,[Color_Name]
,[Update_Refresh_Id]
FROM [dbo].[tbl_Jira_Status_Category]
GO
GRANT SELECT ON [dbo].[vw_Jira_Status_Category] TO [JiraRefreshRole]
GO
|
CREATE OR REPLACE VIEW edges AS
SELECT sr.scp AS from_node_id, sr.ref_sgr AS to_node_id
FROM scopus_references sr
JOIN scopus_publications sp ON sp.scp = sr.ref_sgr
-- Use any order for determinism
ORDER BY sr.scp, sr.ref_sgr
LIMIT 1000;
CREATE OR REPLACE VIEW nodes("node_id:ID", "pub_year:short", citation_type, "has_issn:boolean") AS
SELECT sp.scp AS "node_id:ID", spg.pub_year, sp.citation_type, (ss.issn_main != '') AS has_issn
FROM scopus_publications sp
JOIN scopus_publication_groups spg
ON sp.sgr = spg.sgr
LEFT JOIN scopus_sources ss
ON ss.ernie_source_id = sp.ernie_source_id
WHERE sp.scp IN (SELECT from_node_id FROM edges) OR sp.scp IN (SELECT to_node_id FROM edges);
SELECT *
FROM nodes;
-- 3m:34s
SELECT *
FROM edges;
-- 0.1s
|
SELECT name
FROM people AS people
JOIN stars AS stars ON people.id = stars.person_id
JOIN movies AS movies ON movies.id = stars.movie_id
WHERE movies.year = 2004
ORDER BY people.birth ASC;
|
DROP TABLE "public"."sessions";
|
IF EXISTS (select * from dbo.sysobjects where id = object_id(N'uspGetEntityInteractionByIdent')
AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE uspGetEntityInteractionByIdent
GO
/* uspGetEntityInteractionByIdent 506, 1
*
*
*
*
*/
CREATE PROCEDURE [dbo].[uspGetEntityInteractionByIdent]
@bntFromEntityIdent BIGINT,
@bntToEntityIdent BIGINT,
@bntASUserIdent BIGINT
AS
SET NOCOUNT ON
SELECT
EI.Ident,
EI.FromEntityIdent,
EI.ToEntityIdent,
EI.InteractionText,
EI.Important,
EI.AddASUserIdent,
CONVERT(VARCHAR(10),EI.AddDateTime,101) as [AddDateTime],
EI.AddDateTime as [AddDateTimeFull],
EI.EditASUserIdent,
COALESCE(editU.FullName,'') as [EditUsername],
EI.EditDateTime,
EI.Active,
U.FullName as [Username]
FROM
EntityInteraction EI WITH (NOLOCK)
INNER JOIN
ASUser U WITH (NOLOCK)
ON EI.AddASUserIdent = U.Ident
LEFT OUTER JOIN
ASUser editU WITH (NOLOCK)
ON EI.EditASUserIdent = editU.Ident
WHERE
EI.FromEntityIdent = @bntFromEntityIdent
AND EI.ToEntityIdent = @bntToEntityIdent
AND EI.Active = 1
ORDER BY
EI.AddDateTime DESC
GO
--EXEC uspGetEntityInteractionByIdent 306485, 306495, 1
|
<reponame>dram/metasfresh
-- 2019-07-19T14:24:53.764Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Window SET InternalName='C_OLCand',Updated=TO_TIMESTAMP('2019-07-19 16:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=540095
;
-- 2019-07-19T14:27:01.243Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2019-07-19 16:27:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=570748
;
-- 2019-07-19T14:27:02.936Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2019-07-19 16:27:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=569300
;
-- 2019-07-19T14:31:36.366Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-07-19 16:31:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=554456
;
-- 2019-07-19T14:31:47.400Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-07-19 16:31:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=554455
;
|
<gh_stars>0
drop table users if exists;
create table users (
id int,
name varchar(20),
unknownObject varchar(20)
);
insert into users (id, name, unknownObject) values(1, 'User1', 'unknownObject');
|
/*
Navicat MySQL Data Transfer
Source Server : discuz
Source Server Version : 50644
Source Host : 172.16.31.10:3306
Source Database : user-center
Target Server Type : MYSQL
Target Server Version : 50644
File Encoding : 65001
Date: 2020-02-12 16:23:04
*/
CREATE DATABASE IF NOT EXISTS `auth-center` DEFAULT CHARACTER SET = utf8;
Use `auth-center`;
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_name` varchar(50) NOT NULL,
`mobile` varchar(11) DEFAULT NULL,
`password` varchar(60) NOT NULL,
`email` varchar(255) DEFAULT NULL,
`nick_name` varchar(255) DEFAULT NULL,
`photo` varchar(1024) DEFAULT NULL,
`enabled` tinyint(1) NOT NULL DEFAULT '1',
`type` varchar(16) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`open_id` varchar(32) DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_username` (`user_name`),
KEY `idx_mobile` (`mobile`),
KEY `idx_open_id` (`open_id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES ('1', 'admin', '1832322322', '$2a$10$TJkwVdlpbHKnV45.nBxbgeFHmQRmyWlshg94lFu2rKxVtT2OMniDO', '<EMAIL>', '管理员', null, '1', 'WebApp', null, null, '2020-02-12 16:55:31', null, '123', '0');
-- ----------------------------
-- Table structure for sys_role_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role_rel`;
CREATE TABLE `sys_user_role_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_user_id` (`user_id`),
KEY `idx_role_id` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_role_user
-- ----------------------------
INSERT INTO `sys_user_role_rel` VALUES ('1', '1', '1', null, null, '2020-02-12 17:08:12', '2020-02-12 17:08:14', '0');
-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(32) NOT NULL COMMENT '角色code',
`name` varchar(50) NOT NULL COMMENT '角色名',
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`type` varchar(16) NOT NULL,
`tenant_id` varchar(32) DEFAULT '' COMMENT '租户字段',
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_code` (`code`),
KEY `idx_type` (`type`),
KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES ('1', 'ADMIN', 'admin', '2020-02-12 17:32:00', '2020-02-12 17:32:03', null, null, 'app', '1');
-- ----------------------------
-- Table structure for sys_role_menu_rel
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu_rel`;
CREATE TABLE `sys_role_menu_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`role_id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_user_id` (`user_id`),
KEY `idx_role_id` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_role_menu_rel
-- ----------------------------
INSERT INTO `sys_role_menu_rel` VALUES ('1', '1', '1', null, null, null, null, '0');
INSERT INTO `sys_role_menu_rel` VALUES ('2', '1', '2', null, null, null, null, '0');
INSERT INTO `sys_role_menu_rel` VALUES ('3', '1', '3', null, null, null, null, '0');
-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL,
`menu_route` varchar(1024) DEFAULT NULL COMMENT '前端路由id',
`url` varchar(1024) DEFAULT NULL COMMENT 'url资源信息',
`method` varchar(10) DEFAULT NULL COMMENT '请求方法',
`icon` varchar(1024) DEFAULT NULL ,
`sort` int(11) NOT NULL,
`type` varchar(16) NOT NULL COMMENT 'menu:菜单 resource 资源信息',
`describe` varchar(64) DEFAULT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
`tenant_id` varchar(32) DEFAULT '' COMMENT '租户字段',
PRIMARY KEY (`id`),
KEY `idx_parent_id` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of
-- ----------------------------
-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_org`;
CREATE TABLE `sys_org` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL,
`icon` varchar(1024) DEFAULT NULL ,
`sort` int(11) NOT NULL,
`type` varchar(16) NOT NULL COMMENT 'menu:菜单 resource 资源信息',
`describe` varchar(64) DEFAULT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_parent_id` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_org
-- ----------------------------
INSERT INTO `sys_org` VALUES ('1', '-1', 'init', null, '1', '1', '初始组织', 'admin', '', '2020-02-26 09:37:57', '2020-02-26 09:38:00', '0');
-- ----------------------------
-- Table structure for sys_org_role_rel
-- ----------------------------
DROP TABLE IF EXISTS `sys_org_role_rel`;
CREATE TABLE `sys_org_role_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`org_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for sys_org_user_rel
-- ----------------------------
DROP TABLE IF EXISTS `sys_org_user_rel`;
CREATE TABLE `sys_org_user_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`org_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of sys_org_user_rel
-- ----------------------------
INSERT INTO `sys_org_user_rel` VALUES ('1', '1', '1', 'admin', null, '2020-02-26 09:41:54', null, '0');
-- ----------------------------
-- Table structure for sys_org_auth_data_rel
-- ----------------------------
DROP TABLE IF EXISTS `sys_org_auth_data_rel`;
CREATE TABLE `sys_org_auth_data_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`org_id` int(11) NOT NULL,
`auth_data_id` int(11) NOT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Table structure for sys_auth_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_auth_data`;
CREATE TABLE `sys_auth_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL,
`icon` varchar(1024) DEFAULT NULL ,
`sort` int(11) NOT NULL,
`type` varchar(16) NOT NULL COMMENT '类型',
`describe` varchar(64) DEFAULT NULL,
`create_user` varchar(255) DEFAULT NULL,
`update_user` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`delete_flag` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
SET FOREIGN_KEY_CHECKS=1;
|
<gh_stars>1-10
\set version '0.1'
-- this first line is very important for Puppet management, do not remove it, and increase version number on any change on the file
-- clean everything before indexing
VACUUM ANALYZE;
-- New indexes for activemq
CREATE INDEX IF NOT EXISTS tmp_activemq_msgs_p_desc_idx ON activemq_msgs (id DESC);
CREATE INDEX IF NOT EXISTS tmp_activemq_msgs_pc_asc_idx ON activemq_msgs (id ASC, container);
CREATE INDEX IF NOT EXISTS tmp_activemq_msgs_pcx_asc_idx ON activemq_msgs (id ASC, xid NULLS FIRST, container);
CREATE INDEX IF NOT EXISTS tmp_activemq_msgs_pcp_idx ON activemq_msgs (id, container, priority);
CREATE INDEX IF NOT EXISTS tmp_activemq_msgs_pxpc_asc_desc_idx ON activemq_msgs (id ASC,xid NULLS FIRST, priority DESC, container);
CREATE INDEX IF NOT EXISTS tmp_activemq_acks_c_idx ON activemq_acks (container);
--- tuning autovacuum for activemq_msgs table
ALTER TABLE activemq_msgs SET (autovacuum_vacuum_cost_limit = 2000);
ALTER TABLE activemq_msgs SET (autovacuum_vacuum_cost_delay = 10);
ALTER TABLE activemq_msgs SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE activemq_msgs SET (autovacuum_vacuum_threshold = 5000);
ALTER TABLE activemq_msgs SET (autovacuum_analyze_threshold = 1000);
ALTER TABLE activemq_msgs SET (autovacuum_analyze_scale_factor = 0.01);
INSERT INTO tmp_activemq_optimizations (change_date, filename, version)
VALUES (now(), 'postgresql_optimizations.sql', :'version');
|
<gh_stars>10-100
DROP TABLE SQLMAN_TEST1;
DROP TABLE SQLMAN_TEST2;
DROP TABLE SQLMAN_TEST3;
|
<filename>web/v1/redshift/sql-runner/sql/standard/02-page-views/01-main/06-a-iab.sql
/*
Copyright 2020-2021 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
DROP TABLE IF EXISTS {{.scratch_schema}}.pv_addon_iab{{.entropy}};
CREATE TABLE IF NOT EXISTS {{.scratch_schema}}.pv_addon_iab{{.entropy}} (
page_view_id CHAR(36),
category VARCHAR,
primary_impact VARCHAR,
reason VARCHAR,
spider_or_robot BOOLEAN
)
DISTSTYLE KEY
DISTKEY (page_view_id)
SORTKEY (page_view_id);
{{if eq .iab true}}
INSERT INTO {{.scratch_schema}}.pv_addon_iab{{.entropy}} (
SELECT
pv.page_view_id,
iab.category,
iab.primary_impact,
iab.reason,
iab.spider_or_robot
FROM {{.input_schema}}.com_iab_snowplow_spiders_and_robots_1 iab
INNER JOIN {{.scratch_schema}}.pv_page_view_events{{.entropy}} pv
ON iab.root_id = pv.event_id
AND iab.root_tstamp = pv.collector_tstamp
WHERE iab.root_tstamp >= (SELECT lower_limit FROM {{.scratch_schema}}.pv_run_limits{{.entropy}})
AND iab.root_tstamp <= (SELECT upper_limit FROM {{.scratch_schema}}.pv_run_limits{{.entropy}})
);
{{end}}
|
select fn_db_add_column('vnic_profiles', 'migratable', 'BOOLEAN DEFAULT FALSE NOT NULL');
|
SELECT round(avgWeighted(x, y)) FROM (SELECT 1023 AS x, 1000000000 AS y UNION ALL SELECT 10 AS x, -9223372036854775808 AS y);
|
Select
count(*) as total_pr_this_year,
mla_purchase_requests.pr_of_department_short_name
from
(
select
mla_purchase_requests.*,
year(mla_purchase_requests.requested_on) as pr_year,
concat (mla_users.firstname,' ',mla_users.lastname ) as requester_name,
mla_users.department_id as pr_of_department_id,
mla_users.department_name as pr_of_department,
mla_users.department_short_name as pr_of_department_short_name,
mla_users.department_status as pr_of_department_status
from
(
select
mla_purchase_requests.*,
mla_purchase_requests_workflows.status as pr_last_status,
mla_purchase_requests_workflows.updated_by as pr_last_status_by,
mla_purchase_requests_workflows.updated_on as pr_last_status_on
from mla_purchase_requests
left join mla_purchase_requests_workflows
on mla_purchase_requests_workflows.id = mla_purchase_requests.last_workflow_id
)
as mla_purchase_requests
left join
(
/**USER-DEPARTMENT beginns*/
select
mla_users.title,
mla_users.firstname,
mla_users.lastname,
mla_departments_members_1.*
from mla_users
join
( select
mla_departments_members.department_id,
mla_departments_members.user_id,
mla_departments.name as department_name,
mla_departments.short_name as department_short_name,
mla_departments.status as department_status
from mla_departments_members
join mla_departments on mla_departments_members.department_id = mla_departments.id
) as mla_departments_members_1
on mla_users.id = mla_departments_members_1.user_id
/**USER-DEPARTMENT ends*/
)
as mla_users
on mla_users.user_id = mla_purchase_requests.requested_by
)
as mla_purchase_requests
where 1
and pr_year = year(now())
AND mla_purchase_requests.pr_of_department_id
= (SELECT department_id from mla_departments_members
where user_id = 46 Limit 1)
|
# three/EPILOGUE.sql
|
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 09, 2021 at 07:26 AM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 7.4.13
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: `telephonedirectory`
--
-- --------------------------------------------------------
--
-- Table structure for table `newconact`
--
CREATE TABLE `newconact` (
`id` int(5) NOT NULL,
`firstname` varchar(10) NOT NULL,
`lastname` varchar(10) NOT NULL,
`hometown` varchar(10) NOT NULL,
`tpnumber` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `newconact`
--
INSERT INTO `newconact` (`id`, `firstname`, `lastname`, `hometown`, `tpnumber`) VALUES
(1, 'sean', 'paul', 'colombo', 'bndndf'),
(2, 'sean', 'paul', 'colombo', 'vdvsfr'),
(3, 'sean', 'paul', 'colombo', 'vavgsr');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `newconact`
--
ALTER TABLE `newconact`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `newconact`
--
ALTER TABLE `newconact`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>0
IF EXISTS (SELECT 1 FROM sys.procedures WHERE [name] = 'GetDirectoryByID')
BEGIN
DROP PROCEDURE [dbo].[GetDirectoryByID]
END
GO
CREATE PROCEDURE [dbo].[GetDirectoryByID]
@ID UNIQUEIDENTIFIER
AS
BEGIN
DECLARE @local_ID UNIQUEIDENTIFIER = @ID
SET NOCOUNT ON;
SELECT
[ID],
[ParentID],
[Name],
[CreationDate],
[UpdatedDate]
FROM [dbo].[Directory] WITH(NOLOCK)
WHERE
ID = @local_ID
END
GO
|
<reponame>ordnos/Care_Guide
--create database care_guide;
-- Criando a tabela users
CREATE TABLE `usuarios` (
`id` integer AUTO_INCREMENT primary key NOT NULL,
`nome` varchar(30) DEFAULT NULL,
`email` varchar(40) DEFAULT NULL,
`senha` varchar(32) DEFAULT NULL
)
-- Criando tabela de posts
CREATE TABLE `posts` (
`id` integer PRIMARY KEY AUTO_INCREMENT NOT NULL,
`titulo` varchar(100) DEFAULT NULL,
`conteudo` TEXT,
`whatsapp` integer NULL,
`usuario` integer DEFAULT NULL,
FOREIGN KEY (usuario) REFERENCES usuarios(id)
)
-- Criando a tabela reference
/*CREATE TABLE referencias (
id_ref integer AUTO_INCREMENT primary key,
cargo varchar(30),
sobre varchar(50),
facebook varchar(50),
instagram varchar(50),
youtube varchar(50),
site varchar(50),
autor integer,
FOREIGN KEY (autor) REFERENCES usuarios(id_usuario)
)*/
|
<filename>structure.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.1.0-dev
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 30, 2020 at 01:10 PM
-- Server version: 10.1.35-MariaDB
-- PHP Version: 7.2.9
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: `bsr`
--
-- --------------------------------------------------------
--
-- Table structure for table `table`
--
CREATE TABLE `table` (
`id` int(11) NOT NULL,
`column_1` varchar(64) CHARACTER SET utf8mb4 NOT NULL,
`column_2` varchar(64) CHARACTER SET utf8mb4 NOT NULL,
`column_3` varchar(64) CHARACTER SET utf8mb4 NOT NULL,
`column_4` varchar(64) CHARACTER SET utf8mb4 NOT NULL,
`column_5` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
`column_6` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL,
`column_7` text CHARACTER SET utf8mb4,
`column_8` int(11) NOT NULL,
`column_9` tinyint(1) NOT NULL,
`column_10` tinyint(1) NOT NULL,
`column_11` tinyint(1) NOT NULL DEFAULT '0',
`column_12` tinyint(1) NOT NULL DEFAULT '0',
`column_13` tinyint(1) NOT NULL,
`column_14` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`column_15` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
`column_16` timestamp NULL DEFAULT NULL,
`column_17` varchar(16) CHARACTER SET utf8mb4 DEFAULT NULL,
`column_18` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `table`
--
ALTER TABLE `table`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `table`
--
ALTER TABLE `table`
MODIFY `id` int(11) 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 */;
|
<filename>migrations/00018_create-miner-views-idx.sql
CREATE UNIQUE INDEX IF NOT EXISTS idx_unique_fil_miner_view_days_v3 ON fil_miner_view_days_v3(miner,date);
CREATE UNIQUE INDEX IF NOT EXISTS idx_unique_fil_miner_view_days_v4 ON fil_miner_view_days_v4(miner,date);
|
<reponame>syedpeera/ShoppingCart
/*
create table RegForm(uname varchar2(25),pword varchar2(25),fname varchar2(20),lname varchar2(20),email varchar2(30),phoneno number(12));
*/
|
-- Copy scraped data into database
-- Need to manually create supporters and tags first
\c ga_site;
BEGIN;
COPY events_event
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/events.tab'
WITH (
FORMAT csv,
HEADER true,
DELIMITER E'\t',
QUOTE '~',
NULL ''
);
COPY news_news
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/news.tab'
WITH (
FORMAT csv,
HEADER true,
DELIMITER E'\t',
QUOTE '~',
ESCAPE E'\\',
NULL ''
);
COPY events_event_supporters
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/event_supporters_oids_2.tab'
WITH (
FORMAT csv,
DELIMITER E'\t',
QUOTE '~',
ESCAPE E'\\',
NULL ''
);
COPY events_event_tags
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/event_tags_oids_2.tab'
WITH (
FORMAT csv,
DELIMITER E'\t',
QUOTE '~',
ESCAPE E'\\',
NULL ''
);
COPY news_news_supporters
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/news_supporters_oids_2.tab'
WITH (
FORMAT csv,
DELIMITER E'\t',
QUOTE '~',
ESCAPE E'\\',
NULL ''
);
COPY news_news_tags
FROM '/home/cameron/dev/galaxy/galaxy-content-site/scrape/data/news_tags_oids_2.tab'
WITH (
FORMAT csv,
DELIMITER E'\t',
QUOTE '~',
ESCAPE E'\\',
NULL ''
);
COMMIT;
|
/*
create table order_item
(
id int8 auto_increment,
amount int8,
quantity int8,
perfume_id int8,
primary key (id)
);
create table orders
(
id int8 auto_increment,
address varchar(255),
city varchar(255),
date date,
email varchar(255),
first_name varchar(255),
last_name varchar(255),
phone_number varchar(255),
post_index int4,
total_price float8,
primary key (id)
);
create table orders_order_items
(
order_id int8 not null,
order_items_id int8 not null
);
create table perfume
(
id int8 not null auto_increment,
country varchar(255),
description varchar(255),
filename varchar(255),
fragrance_base_notes varchar(255),
fragrance_middle_notes varchar(255),
fragrance_top_notes varchar(255),
perfume_gender varchar(255),
perfume_title varchar(255),
perfumer varchar(255),
price int4,
type varchar(255),
volume varchar(255),
year int4,
perfume_rating float8,
primary key (id)
);
create table perfume_reviews
(
perfume_id int8 not null,
reviews_id int8 not null
);
create table review
(
id int8 auto_increment,
author varchar(255),
date date,
message varchar(255),
rating int4,
primary key (id)
);
create table user_role
(
user_id int8 not null,
roles varchar(255)
);
create table users
(
id int8 not null,
activation_code varchar(255),
active boolean not null,
address varchar(255),
city varchar(255),
email varchar(255),
first_name varchar(255),
last_name varchar(255),
password varchar(255),
password_reset_code varchar(255),
phone_number varchar(255),
post_index varchar(255),
provider varchar(255),
primary key (id)
);*/
|
/* leave this
l:see LICENSE file
g:utility
v:100328.1000\s.zaglio: support of proc,func,view...
v:100321\s.zaglio: support for quoted table name
v:100228\s.zaglio: added more help
v:100219\s.zaglio: now print if @comment is null and delete if is '';+help
v:100129\s.zaglio: creation
todo: using MS original methos is slow. Need to be rewritten
t:
create table test(t1 int,t2 int)
exec sp__printf 'print comment of test'
exec sp__comment 'test'
exec sp__printf 'set comment of test'
exec sp__comment 'test','test comment'
exec sp__printf 'print comment of test'
exec sp__comment 'test'
exec sp__printf 'delete comment of test'
exec sp__comment 'test','' -- delete comment
exec sp__printf 'print comment of test'
exec sp__comment 'test'
exec sp__comment '[test]','test comment on table'
exec sp__comment 'test.t1','test comment on t1',@dbg=1
exec sp__comment 'test.t2','test comment on t2'
print dbo.fn__comment('test')
select * from dbo.fn__comments('test')
drop table test
t:
exec sp__comment 'sp__comment','test of sp comment',@dbg=1
exec sp__comment 'sp__comment.@path','name of object to comment',@dbg=1
print dbo.fn__comment('sp__comment.@path')
exec sp__comment 'fn__comment.@path','name of object to comment',@dbg=1
print dbo.fn__comment('fn__comment.@path')
select * from dbo.fn__comments('sp__comment')
*/
CREATE proc [dbo].[sp__comment]
@path sysname=null,
@comment nvarchar(4000)=null out,
@dbg bit=0
as
begin
set nocount on
declare
@proc sysname,
@schema sysname,@sch_type sysname,
@obj sysname,@obj_type sysname,
@sub sysname,@sub_type sysname,
@old_comment nvarchar(4000),
@msg nvarchar(4000),@id int,
@prop sysname,@xtype nvarchar(2)
select @proc='sp__comment'
if @obj is null and @comment is null goto help
select @prop=prop,@schema=sch,@sch_type=sch_type,
@obj_type=obj_type,@obj=obj,
@sub_type=sub_type,@sub=sub
from dbo.fn__comment_types(@path)
if @dbg=1
begin
exec sp__printf 'prp=%s, sc=%s, tbl=%s, col=%s, @xt=%s, @id=%d',
@prop,@schema,@obj,@sub,@xtype,@id
exec sp__printf '\t\t\t\tsct=%s, ttbl=%s, tcol=%s',
@sch_type,@obj_type,@sub_type
end
select @old_comment=convert(nvarchar(4000),value )
from fn_listextendedproperty (
@prop,
@sch_type, @schema,
@obj_type, @obj,
@sub_type, @sub);
if @comment is null begin select @comment=@old_comment exec sp__printf @old_comment goto ret end
if @comment=''
begin
select @comment=@old_comment
if not @comment is null
begin
exec sp__printf '-- deleting comment "%s" for obj "%s"',@comment,@obj
exec sp_dropextendedproperty
@name = @prop,
@level0type = @sch_type, @level0name = @schema,
@level1type = @obj_type, @level1name = @obj,
@level2type = @sub_type, @level2name = @sub
end
goto ret
end
if @old_comment is null
exec sp_addextendedproperty
@name = @prop, @value = @comment,
@level0type = @sch_type, @level0name = @schema,
@level1type = @obj_type, @level1name = @obj,
@level2type = @sub_type, @level2name = @sub
else
begin
if @dbg=1 exec sp__printf '-- replace comment "%s" of "%s"',@old_comment,@obj
exec sp_updateextendedproperty
@name = @prop, @value = @comment,
@level0type = @sch_type, @level0name = @schema,
@level1type = @obj_type, @level1name = @obj,
@level2type = @sub_type, @level2name = @sub
end
goto ret
help:
select @msg ='Usage\n'
+'\t@obj can be table; table.column;(no sp,fn,view)'
exec sp__usage @proc,'
Parameters
@obj can be table; table.column;(no sp,fn,view)
Examples
exec sp__comment ''table'',''comment for table'' -- se comment on table
exec sp__comment ''table.col'',''comment for column'' -- se comment on column of table
exec sp__comment ''table'',''new comment'' -- change comment
exec sp__comment ''table'' -- print comment
exec sp__comment ''table'','''' -- remove comment
See also
sp__into_tbl @tbl show columns info of a table with comments
Note
Actually is not possible get/set comments on view/proc/func
'
ret:
end -- proc sp__comment
|
CREATE TABLE IF NOT EXISTS `user_logins` (
`user_login_id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL,
`ip_address` VARBINARY(16) NOT NULL,
`register` TINYINT NOT NULL,
`geo_info` JSON NOT NULL,
`user_login_flags` INT NOT NULL,
`datetime` DATETIME NOT NULL COMMENT 'These are saved with UTC_TIMESTAMP().',
PRIMARY KEY (`user_login_id`),
UNIQUE INDEX `user_login_id_UNIQUE` (`user_login_id` ASC))
ENGINE = InnoDB
DEFAULT CHARACTER SET = latin1
COLLATE = latin1_bin;
CREATE TABLE IF NOT EXISTS `user_details` (
`user_id` INT NOT NULL,
`about` TEXT COLLATE latin1_bin,
`socials` JSON DEFAULT NULL,
PRIMARY KEY (`user_id`),
UNIQUE KEY `user_id_UNIQUE` (`user_id`))
ENGINE=InnoDB
DEFAULT CHARSET=latin1
COLLATE=latin1_bin;
DROP PROCEDURE IF EXISTS AddUserDetails;
DELIMITER //
CREATE PROCEDURE AddUserDetails()
BEGIN
DECLARE n INT;
DECLARE i INT;
-- the * 2 is not necessary and technically just there incase you are dumb like i am and you delete a row on accident, better off not having any accidental issues.
-- the extra loops aren't much less efficient either since it only inserts if the row doesn't already exist, i don't know how this'll be in a bigger sample size but i'll see then ^_^
SELECT (COUNT(*) * 2) FROM users INTO n;
SET i = 0;
WHILE i < n DO
INSERT INTO user_details (user_id) SELECT i FROM DUAL WHERE
EXISTS(SELECT * FROM users WHERE id = i)
AND
NOT EXISTS(SELECT * FROM user_details WHERE user_id = i LIMIT 1);
SET i = i + 1;
END WHILE;
END //
DELIMITER ;
CALL AddUserDetails();
CREATE TABLE IF NOT EXISTS `user_history` (
`user_history_id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL,
`modmode` INT NOT NULL COMMENT 'These are mod + mode. e.g: std+vn = 0.',
`global_rank` INT NOT NULL,
`pp` INT NOT NULL,
`rscore` INT NOT NULL,
`datetime` DATETIME NOT NULL COMMENT 'These are saved with UTC_TIMESTAMP().',
PRIMARY KEY (`user_history_id`),
UNIQUE INDEX `user_history_id_UNIQUE` (`user_history_id` ASC))
ENGINE = InnoDB
DEFAULT CHARACTER SET = latin1
COLLATE = latin1_bin;
DROP PROCEDURE IF EXISTS AddUserHistory;
DELIMITER //
CREATE PROCEDURE AddUserHistory()
BEGIN
DECLARE n INT;
DECLARE i INT;
DECLARE modmodes INT;
DECLARE modmodesI INT;
SELECT COUNT(*) FROM users INTO n;
SET i = 0;
SET modmodes = 7;
-- this is kinda shitty its O(n^2) but it's okay since it'll be happening as a separate process in the background and won't be blocking.
-- this whole daily stats thing is somewhat questionable since it'll scale really badly storage wise since each user is worth 8 rows (user * 8 modmodes)
WHILE i < n DO
SET modmodesI = 0;
WHILE modmodesI <= modmodes DO
INSERT INTO `user_history` (`user_id`,`modmode`,`global_rank`,`pp`,`rscore`,`datetime`)
SELECT i, modmodesI,
(SELECT (SELECT COUNT(*)+1 FROM stats ss JOIN users uu USING(id) WHERE ss.pp > s.pp AND ss.mode = s.mode AND uu.priv & 1) FROM stats s WHERE id = i AND mode = modmodesI),
(SELECT pp FROM stats WHERE id = i AND mode = modmodesI),
(SELECT rscore FROM stats WHERE id = i AND mode = modmodesI),
utc_timestamp() FROM DUAL WHERE EXISTS(SELECT * FROM users WHERE id = i );
SET modmodesI = modmodesI + 1;
END WHILE;
SET i = i + 1;
END WHILE;
END //
DELIMITER ;
CREATE EVENT IF NOT EXISTS `AddUserHistory`
ON SCHEDULE EVERY 1 DAY
STARTS TIMESTAMP(NOW() + INTERVAL 1 MINUTE)
DO CALL AddUserHistory();
|
CREATE VIEW topics_count_by_department AS
SELECT department, count(department)
FROM topics
GROUP BY department;
|
<reponame>Shuttl-Tech/antlr_psql<filename>src/test/resources/sql/alter_table/62d97422.sql
-- file:replica_identity.sql ln:39 expect:true
ALTER TABLE test_replica_identity REPLICA IDENTITY USING INDEX test_replica_identity_partial
|
-- Change name to be plural like other tables.
ALTER TABLE edi_processing
RENAME TO edi_processings;
-- Also change constraint name that's based on table name.
ALTER TABLE edi_processings
RENAME CONSTRAINT edi_processing_pkey TO edi_processings_key;
-- Add missing comments.
COMMENT ON TABLE edi_processings IS 'Stores metrics for the processing of EDIs.';
COMMENT ON COLUMN edi_processings.id IS 'UUID that uniquely identifies the record.';
COMMENT ON COLUMN edi_processings.edi_type IS 'The type of EDI being processed (e.g., "858", "998", etc.).';
COMMENT ON COLUMN edi_processings.num_edis_processed IS 'The number of successfully processed EDIs of the given type.';
COMMENT ON COLUMN edi_processings.process_started_at IS 'Timestamp when this processing started.';
COMMENT ON COLUMN edi_processings.process_ended_at IS 'Timestamp when this processing ended.';
COMMENT ON COLUMN edi_processings.created_at IS 'Timestamp when the record was first created.';
COMMENT ON COLUMN edi_processings.updated_at IS 'Timestamp when the record was last updated.';
|
CREATE OR REPLACE VIEW erc20.view_token_balances_latest AS
SELECT distinct on (wallet_address, token_address)
wallet_address,
token_address,
t.symbol as token_symbol,
amount_raw,
amount_raw / 10^coalesce(t.decimals, null) amount,
amount_raw / 10^coalesce(t.decimals, null) * p.price amount_usd,
timestamp as last_transfer_timestamp
FROM erc20.token_balances
left join erc20.tokens t on t.contract_address = token_address
left join prices.usd p on p.contract_address = token_address and p.minute = date_trunc('hour', NOW())
order by wallet_address, token_address, timestamp desc
|
TRUNCATE TABLE MINUTE_ENTRY_TYPE DROP STORAGE
/
INSERT INTO MINUTE_ENTRY_TYPE (MINUTE_ENTRY_TYPE_CODE,DESCRIPTION,SORT_ID,UPDATE_USER,UPDATE_TIMESTAMP,OBJ_ID,VER_NBR)
VALUES ('1','General Comments',1,'admin',SYSDATE,SYS_GUID(),1)
/
INSERT INTO MINUTE_ENTRY_TYPE (MINUTE_ENTRY_TYPE_CODE,DESCRIPTION,SORT_ID,UPDATE_USER,UPDATE_TIMESTAMP,OBJ_ID,VER_NBR)
VALUES ('2','Attendance',2,'admin',SYSDATE,SYS_GUID(),1)
/
INSERT INTO MINUTE_ENTRY_TYPE (MINUTE_ENTRY_TYPE_CODE,DESCRIPTION,SORT_ID,UPDATE_USER,UPDATE_TIMESTAMP,OBJ_ID,VER_NBR)
VALUES ('3','Protocol',3,'admin',SYSDATE,SYS_GUID(),1)
/
INSERT INTO MINUTE_ENTRY_TYPE (MINUTE_ENTRY_TYPE_CODE,DESCRIPTION,SORT_ID,UPDATE_USER,UPDATE_TIMESTAMP,OBJ_ID,VER_NBR)
VALUES ('4','Other Business',4,'admin',SYSDATE,SYS_GUID(),1)
/
INSERT INTO MINUTE_ENTRY_TYPE (MINUTE_ENTRY_TYPE_CODE,DESCRIPTION,SORT_ID,UPDATE_USER,UPDATE_TIMESTAMP,OBJ_ID,VER_NBR)
VALUES ('5','Adverse Events',5,'admin',SYSDATE,SYS_GUID(),1)
/
|
-- stored procedure
-- add create user
create or alter procedure [dbo].[sp_createdbuser] (
@db nvarchar(max),
@login nvarchar(max),
@user nvarchar(max),
@pass nvarchar(max),
@canCreate bit,
@canWrite bit,
@canRead bit
) as begin
if exists (select * from master.sys.databases where name = @db)
print 'database ' + @db + ' already exists'
else exec ('create database ' + @db)
if exists (select * from master.sys.sql_logins where name = @login)
print 'login ' + @login + ' already exists'
else exec('create login ' + @login + ' with password = ''' + @pass + ''', check_policy = OFF')
exec('use ' + @db + ';'
+ ' if exists(select * from sys.database_principals where name = ''' + @user + ''') print ''user ' + @user + ' already exists'''
+ ' else create user ' + @user + ' for login ' + @login + ' with default_schema = dbo')
if @canCreate = 1 exec('use ' + @db + '; alter role db_ddladmin add member ' + @user)
if @canWrite = 1 exec('use ' + @db + '; alter role db_datawriter add member ' + @user)
if @canRead = 1 exec('use ' + @db + '; alter role db_datareader add member ' + @user)
end
go
-- usage
-- exec createdbuser 'DatabaseName', 'test-login', 'test-user-name', 'test-pass', false, true, true
drop procedure sp_createdbuser
/*
drop login testlogin
*/
|
<gh_stars>0
SELECT
Document.id as id,
Document.courseId as courseId,
Document.name as name,
Document.tags as tags,
Course.name as courseName,
Course.codeUE as courseCodeUE
FROM Document
LEFT JOIN Course
ON Course.id = Document.courseId
|
-- Required for invoking XML data types.
SET QUOTED_IDENTIFIER ON;
GO
-- Stored procedure for generating drop foreign key statements.
CREATE OR ALTER PROCEDURE usp_generate_drop_create_fk_cmd
(
@tableName NVARCHAR(50),
@dropCmd NVARCHAR(MAX) OUTPUT,
@createCmd NVARCHAR(MAX) OUTPUT
)
AS
BEGIN
SELECT @dropCmd += N'ALTER TABLE ' + QUOTENAME(cs.name) + '.' + QUOTENAME(ct.name)
+ ' DROP CONSTRAINT ' + QUOTENAME(fk.name) + ';'
FROM sys.foreign_keys AS fk
INNER JOIN sys.tables AS ct
ON fk.parent_object_id = ct.object_id
INNER JOIN sys.schemas AS cs
ON ct.schema_id = cs.schema_id
WHERE fk.referenced_object_id = (SELECT object_id FROM sys.tables AS ct WHERE ct.name = @tableName);
SELECT @createCmd += N'ALTER TABLE '
+ QUOTENAME(cs.name) + '.' + QUOTENAME(ct.name)
+ ' ADD CONSTRAINT ' + QUOTENAME(fk.name)
+ ' FOREIGN KEY (' + STUFF((SELECT ',' + QUOTENAME(c.name)
FROM sys.columns AS c
INNER JOIN sys.foreign_key_columns AS fkc
ON fkc.parent_column_id = c.column_id
AND fkc.parent_object_id = c.object_id
WHERE fkc.constraint_object_id = fk.object_id
ORDER BY fkc.constraint_column_id
FOR XML PATH(N''), TYPE).value(N'.[1]', N'nvarchar(max)'), 1, 1, N'')
+ ') REFERENCES ' + QUOTENAME(rs.name) + '.' + QUOTENAME(rt.name)
+ '(' + STUFF((SELECT ',' + QUOTENAME(c.name)
FROM sys.columns AS c
INNER JOIN sys.foreign_key_columns AS fkc
ON fkc.referenced_column_id = c.column_id
AND fkc.referenced_object_id = c.object_id
WHERE fkc.constraint_object_id = fk.object_id
ORDER BY fkc.constraint_column_id
FOR XML PATH(N''), TYPE).value(N'.[1]', N'nvarchar(max)'), 1, 1, N'') + ');'
FROM sys.foreign_keys AS fk
INNER JOIN sys.tables AS rt
ON fk.referenced_object_id = rt.object_id
INNER JOIN sys.schemas AS rs
ON rt.schema_id = rs.schema_id
INNER JOIN sys.tables AS ct
ON fk.parent_object_id = ct.object_id
INNER JOIN sys.schemas AS cs
ON ct.schema_id = cs.schema_id
WHERE rt.is_ms_shipped = 0
AND ct.is_ms_shipped = 0
AND fk.referenced_object_id = (SELECT object_id FROM sys.tables AS ct WHERE ct.name = @tableName);
RETURN;
END;
GO
-- Temporary table for holding foreign key dropping and creating statements.
DROP TABLE IF EXISTS #temp_foreign_key_scripts;
CREATE TABLE #temp_foreign_key_scripts
(
drop_script NVARCHAR(MAX),
create_script NVARCHAR(MAX)
);
DECLARE @dropForeignKeysStatement NVARCHAR(MAX) = N'',
@createForeignKeysStatement NVARCHAR(MAX) = N'';
-- Generate commands for dropping and creating foreign keys.
-- Add tables with foreign key references.
EXEC usp_generate_drop_create_fk_cmd N'IDN_OAUTH2_AUTHORIZATION_CODE',
@dropForeignKeysStatement OUTPUT,
@createForeignKeysStatement OUTPUT;
EXEC usp_generate_drop_create_fk_cmd N'IDN_OAUTH2_ACCESS_TOKEN',
@dropForeignKeysStatement OUTPUT,
@createForeignKeysStatement OUTPUT;
INSERT #temp_foreign_key_scripts VALUES (@dropForeignKeysStatement, @createForeignKeysStatement);
-- Drop relevant foreign keys.
EXEC sp_executesql @dropForeignKeysStatement;
-- Add tables that need to be truncated.
TRUNCATE TABLE IDN_AUTH_SESSION_STORE;
TRUNCATE TABLE IDN_AUTH_TEMP_SESSION_STORE;
TRUNCATE TABLE IDN_OAUTH2_AUTHORIZATION_CODE;
TRUNCATE TABLE IDN_OAUTH2_ACCESS_TOKEN_SCOPE;
TRUNCATE TABLE IDN_OAUTH2_ACCESS_TOKEN;
TRUNCATE TABLE IDN_AUTH_SESSION_META_DATA;
TRUNCATE TABLE IDN_AUTH_SESSION_APP_INFO;
TRUNCATE TABLE IDN_AUTH_USER_SESSION_MAPPING;
-- Recreate the foreign keys.
EXEC sp_executesql @createForeignKeysStatement;
SET QUOTED_IDENTIFIER OFF;
GO
|
<reponame>sptrakesh/crrc
drop table if exists contacts cascade;
drop table if exists contact_info cascade;
drop type if exists contact_type;
drop table if exists institutions cascade;
drop table if exists degrees cascade;
drop table if exists programs cascade;
drop table if exists institution_agreements cascade;
drop table if exists agreements cascade;
drop table if exists user_roles cascade;
drop table if exists roles cascade;
drop table if exists users cascade;
create table contacts
(
contact_id bigserial primary key,
name text not null,
work_email text,
home_email text,
other_email text,
work_phone text,
mobile_phone text,
home_phone text,
other_phone text
) without oids;
create index idx_contacts_name on contacts (name);
create table institutions
(
institution_id bigserial primary key,
name text not null,
address text,
city text,
state text,
postal_code text,
country character varying (25) not null default 'USA',
website text,
contact_id bigint references contacts on delete set null deferrable
) without oids;
create unique index unq_institutions_name_city on institutions (name, city);
create index idx_institutions_name on institutions (name);
create index idx_institutions_city on institutions (city);
create index idx_institutions_state on institutions (state);
create index idx_institutions_city_state on institutions (city,state);
create index idx_institutions_contact_id on institutions (contact_id);
create table degrees
(
degree_id bigserial primary key,
title text not null,
duration text
) without oids;
create unique index unq_degrees_title on degrees (title);
create table programs
(
program_id bigserial primary key,
title text not null,
credits text not null,
institution_id bigint references institutions on delete set null deferrable,
degree_id bigint references degrees on delete set null deferrable
) without oids;
create index idx_programs_title on programs (title);
create index idx_programs_institution_id on programs (institution_id);
create unique index unq_programs_title_institution_id on programs (title,institution_id);
create index idx_programs_degree_id on programs (degree_id);
create table agreements
(
agreement_id bigserial primary key,
filename text not null,
mimetype text not null,
filesize integer not null,
document bytea not null,
checksum text not null,
updated timestamp with time zone not null default now()
) without oids;
create unique index unq_agreements_filename on agreements (filename);
create table institution_agreements
(
agreement_id bigint not null references agreements on delete cascade deferrable,
transfer_program_id bigint not null references programs on delete cascade deferrable,
transferee_program_id bigint not null references programs on delete cascade deferrable,
primary key (agreement_id, transfer_program_id, transferee_program_id)
) without oids;
create index idx_institution_agreements_agreement_id on institution_agreements (agreement_id);
create index idx_institution_agreements_transfer_program_id on institution_agreements (transfer_program_id);
create index idx_institution_agreements_transferee_program_id on institution_agreements (transferee_program_id);
create table users
(
user_id integer primary key,
username text not null,
password text not null,
email text,
first_name text,
last_name text,
middle_name text
);
create unique index unq_user_username on users (username);
create unique index unq_user_email on users (email);
create unique index unq_user_userpass on users (username, password);
create table roles
(
role_id integer primary key,
role text
);
create table user_roles
(
user_id integer references users(user_id) on delete cascade,
role_id integer references roles(role_id) on delete cascade,
primary key (user_id, role_id)
);
create index idx_user_roles_user on user_roles (user_id);
create index idx_user_roles_role on user_roles (role_id);
|
<reponame>goldmansachs/obevo-kata
CREATE PROCEDURE SP315(OUT MYCOUNT INTEGER) SPECIFIC SP315_83606 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE18;SELECT COUNT(*)INTO MYCOUNT FROM TABLE214;SELECT COUNT(*)INTO MYCOUNT FROM TABLE136;SELECT COUNT(*)INTO MYCOUNT FROM VIEW91;SELECT COUNT(*)INTO MYCOUNT FROM VIEW10;SELECT COUNT(*)INTO MYCOUNT FROM VIEW22;CALL SP218(MYVAR);CALL SP303(MYVAR);CALL SP217(MYVAR);CALL SP645(MYVAR);END
GO
|
<reponame>Balabaska/yii<filename>DataBaseCDS.sql
create database ChildDevSchool
CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
use ChildDevSchool;
create table user
(
id INT NOT NULL AUTO_INCREMENT,
username VARCHAR(20) NOT NULL,
auth_key VARCHAR(32),
password_hash VARCHAR (64),
password_reset_token VARCHAR (64),
status INTEGER,
created_at INTEGER,
updated_at INTEGER,
CONSTRAINT pk_u PRIMARY KEY (id)
);
create table Ancestors
(
A INT NOT NULL AUTO_INCREMENT,
NAME VARCHAR (64),
NUMBER_PHONE VARCHAR (20),
EMAIL VARCHAR(64),
fk_u INT ,
CONSTRAINT pk_a PRIMARY KEY (A),
CONSTRAINT FOREIGN KEY (fk_u) REFERENCES user(id)
);
create table Courses
(C INT NOT NULL AUTO_INCREMENT,
NAME VARCHAR (64),
DURATION VARCHAR (64),
PLACE VARCHAR (64),
COST INT,
CONSTRAINT pk_c PRIMARY KEY (C)
);
create table Teachers
(
T INT NOT NULL AUTO_INCREMENT,
NAME VARCHAR (64),
NUMBER_PHONE VARCHAR (20),
EMAIL VARCHAR(64),
QUALIFICATION VARCHAR(256),
fk_C INT,
fk_u INT,
CONSTRAINT pk_t PRIMARY KEY (T),
CONSTRAINT FOREIGN KEY (fk_u) REFERENCES user(id),
CONSTRAINT FOREIGN KEY (fk_C) REFERENCES Courses(C)
);
create table Children
(C INT NOT NULL AUTO_INCREMENT,
NAME VARCHAR (64),
NUMBER_PHONE VARCHAR (20),
DATA_OF_BIRTH DATE,
EMAIL VARCHAR (64),
CONSTRAINT pk_C PRIMARY KEY (C)
);
create table Parents_Children
(
PC INT NOT NULL AUTO_INCREMENT,
fk_PR INT ,
fk_CH INT ,
CONSTRAINT pk_PC PRIMARY KEY (PC),
CONSTRAINT FOREIGN KEY (fk_PR) REFERENCES Ancestors(A),
CONSTRAINT FOREIGN KEY (fk_CH) REFERENCES Children(C)
);
create table Requests
(R INT NOT NULL AUTO_INCREMENT,
NAME_PARENT VARCHAR(64),
NUMBER_PHONE VARCHAR(20),
EMAIL VARCHAR (64),
STATUS INT(1),
fk_c INT ,
CONSTRAINT pk_r PRIMARY KEY (R),
CONSTRAINT FOREIGN KEY (fk_c) REFERENCES Courses(C)
);
create table Collectives
(
C INT NOT NULL AUTO_INCREMENT,
fk_CH INT,
fk_CR INT,
CONSTRAINT pk_G PRIMARY KEY (C),
CONSTRAINT FOREIGN KEY (fk_CR) REFERENCES Courses(C),
CONSTRAINT FOREIGN KEY (fk_CH) REFERENCES Children(C)
);
create table Teachers_Courses
(
TC INT NOT NULL AUTO_INCREMENT,
fk_T INT ,
fk_C INT ,
CONSTRAINT pk_PC PRIMARY KEY (TC),
CONSTRAINT FOREIGN KEY (fk_T) REFERENCES Teachers(T),
CONSTRAINT FOREIGN KEY (fk_C) REFERENCES Courses(C)
);
create table Payments
(
P INT NOT NULL AUTO_INCREMENT,
DATA_OF_PAYMENT DATE,
fk_CH INT,
fk_CR INT,
COST INT,
STATUS INT(1),
CONSTRAINT pk_P PRIMARY KEY (P),
CONSTRAINT FOREIGN KEY (fk_CH) REFERENCES Children(C),
CONSTRAINT FOREIGN KEY (fk_CR) REFERENCES Courses(C)
);
create table Reports
(
R INT NOT NULL AUTO_INCREMENT,
CONSTRAINT pk_R PRIMARY KEY (R)
);
|
--TEST: pass exceptional data of date/timetz type to the 2nd parameter
--TEST: 1. [error] exceptional argument of date type
select addtime(timestamptz'2011-10-26 14:59:59', date'0000/000/00',);
select addtime(timestamptz'2011-10-26 14:59:59', date'12\23\2009');
select addtime(timestamptz'2011-10-26 14:59:59', date'01 2-2000');
select addtime(timestamptz'2011-10-26 14:59:59', date'1988-12-12-11');
select addtime(timestamptz'2011-10-26 14:59:59', date'aa/bb/cc');
--TEST: 2. [error] exceptional argument of timestamptz type
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'23:00:00 11/001');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'04:14:07 1/0019/2011');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'03:15,07 1/19/1999');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'03:14:08 hm 1/19/2010');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'03:14:07 3\22\1998');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'03:14:07 a/b/c');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'11:03:22 PM 1993--TEST: 01--23');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'2000=12=12 22:02:33');
select addtime(timestamptz'2011-10-26 14:59:59', timestamptz'2020-23-11 03:14:45pm');
--TEST: 3. [error] exceptional argument of datetimetz type
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'2010-10 10:10:00001.0000001 am');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'20:59:59.999 0012/00031/1999');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'1::2::3:4 12/31/9999');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'23:59:33:44:555 12/31/9999');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'20:23:45.23 12\31\2000');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'20:23:45.23 a/b/c');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'20:33:21.111 1990-10--TEST: 19 ');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'2/12/2022 10:20:cc:400');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz'12/31/1989 23:59:59.123am');
--TEST: 4. [error] empty, null and unmatched number of argument
select addtime(timestamptz'2011-10-26 14:59:59', date'');
select addtime(timestamptz'2011-10-26 14:59:59', datetimetz' ');
|
<filename>INSERT-tb_usuarios.sql
INSERT INTO tb_usuarios(nm_usuario,dc_email,dc_idade,dc_peso,dc_altura,sono_id,cansaco_id,created,updated)
VALUES('<NAME>','<EMAIL>','21','86','1,85m','2','3','2017/03/10','2017/03/10');
INSERT INTO tb_usuarios(nm_usuario,dc_email,dc_idade,dc_peso,dc_altura,sono_id,cansaco_id,created,updated)
VALUES('<NAME>','<EMAIL>','21','78','1,75m','2','4','2017/03/10','2017/03/10');
INSERT INTO tb_usuarios(nm_usuario,dc_email,dc_idade,dc_peso,dc_altura,sono_id,cansaco_id,created,updated)
VALUES('<NAME>','<EMAIL>','28','75','1,65m','2','5','2017/03/10','2017/03/10');
INSERT INTO tb_usuarios(nm_usuario,dc_email,dc_idade,dc_peso,dc_altura,sono_id,cansaco_id,created,updated)
VALUES('<NAME>','<EMAIL>','23','76','1,60m','3','1','2017/03/10','2017/03/10');
|
<reponame>AlejandroIbarraC/Pandemica
--Script in charge of creating store procedure related to the contact table
CREATE PROCEDURE DeleteContactsOlderThan14Days
AS
DECLARE @PersonSsn VARCHAR (15)
SELECT @PersonSsn = CONTACT.Person FROM CONTACT
WHERE CONTACT.Date < GETDATE() - 14
DELETE FROM CONTACT
WHERE CONTACT.Person = @PersonSsn
IF NOT EXISTS(SELECT * FROM CONTACT
WHERE CONTACT.Person = @PersonSsn)
BEGIN
DELETE PERSON
WHERE PERSON.Ssn = @PersonSsn;
END;
GO
CREATE PROCEDURE CheckContacts
AS
BEGIN
WHILE (1 = 1)
BEGIN
WAITFOR DELAY '12:00:00'
EXEC DeleteContactsOlderThan14Days
END
END;
GO
|
<reponame>fmontoto/bot-valevista<filename>list_subscribed_clients.sql
/* users subscribed that are clients in the bank will never get an answer
this query list them
*/
SELECT cached_results.user_id, users.rut, cached_results.rut, result
FROM cached_results INNER JOIN subscribed_users ON cached_results.user_id = subscribed_users.user_id
INNER JOIN users ON cached_results.rut = users.rut AND users.id = cached_results.user_id
WHERE cached_results.result LIKE "Eres cliente%";
|
<filename>dbpi6.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 30-Nov-2021 às 13:23
-- Versão do servidor: 10.4.19-MariaDB
-- versão do PHP: 8.0.6
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 */;
--
-- Banco de dados: `dbpi6`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `doenca`
--
CREATE TABLE `doenca` (
`id_doenca` int(11) NOT NULL,
`nome` varchar(100) NOT NULL,
`descricao` varchar(200) NOT NULL,
`regiao_id` int(11) NOT NULL,
`transmissao_id` int(11) NOT NULL,
`historia_id` int(11) NOT NULL,
`profilaxia_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `doenca`
--
INSERT INTO `doenca` (`id_doenca`, `nome`, `descricao`, `regiao_id`, `transmissao_id`, `historia_id`, `profilaxia_id`) VALUES
(2, 'Doença de Chagas', 'A doença de Chagas (ou Tripanossomíase americana) é a infecção causada pelo protozoário Trypanosoma cruzi.\r\n\r\nApresenta uma fase aguda (doença de Chagas aguda – DCA) que pode ser sintomática ou não, e', 1, 1, 1, 1),
(3, 'Toxoplasmose\r\n', ' toxoplasmose é uma infecção causada por um protozoário chamado “Toxoplasma Gondii”, encontrado nas fezes de gatos e outros felinos, que pode se hospedar em humanos e outros animais. É causada pela in', 2, 2, 2, 2),
(4, 'Malária', 'A malária é uma doença infecciosa febril aguda, causada por protozoários transmitidos pela fêmea infectada do mosquito Anopheles.', 1, 3, 3, 3),
(5, 'Ascaridíase', 'A ascaridíase é a doença causada por vermes parasitas mais disseminada no pelo mundo. A infecção acontece pela ingestão dos ovos do verme Ascaris Lumbricoide, e é popularmente conhecida como lombriga.', 4, 4, 4, 4),
(6, 'Complexo Teníase-cisticercose', 'A teníase e a cisticercose são verminoses transmitidas pela Tênia. O complexo teníase/cisticercose é causado pela mesma espécie de cestódio, em fases diferentes do seu ciclo de vida.', 3, 5, 5, 5),
(7, 'Esquistossomose', 'É uma doença parasitária, diretamente relacionada ao saneamento precário, causada pelo Schistosoma mansoni. A pessoa adquire a infecção quando entra em contato com água doce onde existam caramujos inf', 5, 6, 6, 6),
(8, 'Criptosporidiose', 'Criptosporidiose é uma infecção pelo protozoário Cryptosporidium. O sintoma principal é diarreia aquosa, na maioria das vezes com outros sinais de distúrbios gastrintestinais.', 3, 7, 7, 7),
(9, 'Ancilostomose', 'A ancilostomíase, também chamada de ancilostomose e popularmente conhecida como amarelão, é uma parasitose intestinal que pode ser causada pelo parasita Ancylostoma duodenale ou pelo Necator americanu', 2, 8, 8, 8),
(10, ' Miíase', 'A miíase é uma infecção de pele causada pela presença de larvas de moscas. Na maioria das vezes, a região da pele onde a larva penetra, e pode se desenvolver por um período de 30 a 60 dias, assume um ', 1, 9, 9, 9),
(11, 'Peste bulbônica', 'A peste negra, também conhecida como peste bubônica ou simplesmente a Peste, é uma doença grave e muitas vezes fatal causada pela bactéria Yersinia pestis, que é transmitida através das pulgas de anim', 4, 10, 10, 10),
(12, 'Tungíase', 'Tungíase é uma parasitose causada por fêmeas grávidas de uma espécie de pulga, Tunga penetrans, que habita o solo de zonas arenosas. A contaminação ocorre quando o paciente pisa neste solo sem proteçã', 5, 11, 11, 11);
-- --------------------------------------------------------
--
-- Estrutura da tabela `historia`
--
CREATE TABLE `historia` (
`id_historia` int(11) NOT NULL,
`conteudo` varchar(5000) NOT NULL,
`imagem` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `historia`
--
INSERT INTO `historia` (`id_historia`, `conteudo`, `imagem`) VALUES
(1, 'O nome remetido a doença de Chagas é uma homenagem ao cientista que descobriu e\r\ndescreveu o primeiro caso comprovado desta enfermidade, o famoso <NAME>\r\nJustiniano das Chagas. Formado no curso de medicina, com tese na doença Malária, logo\r\napós sua formatura começou a integrar a equipe de Oswaldo Cruz no estado de Minas Gerais.\r\nEste devido a sua aguçada curiosidade conseguiu descobrir em um primeiro momento uma\r\nnova espécie de tripanossoma, tal qual era transmitido via barbeiro para mamíferos, e\r\npossivelmente também para humanos.\r\nNo dia 14 de abril de 1909, <NAME> relatou, uma menina febril de dois (2) anos\r\nde idade, a qual chamava Berenice, o primeiro caso Clínico de Chagas em humanos. No\r\nentanto, foi considerada a forma indeterminada da doença, isto é, assintomática. A paciente\r\nsó morreu aos 75 anos, após 73 anos da infecção. Contudo, devido a não possibilidade de\r\nnecrópsia, não podemos afirmar com exata precisão se o falecimento foi devido à doença de\r\nChagas, porém, todos os sintomas nos levam a conclusão que foi outras causas a sua morte e\r\nnão a enfermidade.\r\nAtualmente, a doença é considerada um problema médico-social grave em diversos países da\r\nAmérica Latina, inclusive o Brasil. A doença de Chagas atinge principalmente comunidades\r\ncarentes, que possuem condições de vida precárias. Apesar das pessoas com a doença\r\nconseguirem levar uma vida normal, os indivíduos infectados são alvos de preconceitos.\r\nAlém disso, como a doença pode levar a distúrbios cardíacos graves, de forma a\r\nimpossibilitar as pessoas de trabalharem, esse quadro pode levar a aposentadorias precoces,\r\nimpactando negativamente a previdência social.\r\n', '../assets/img/historia/img2.jpg'),
(2, 'O parasita Toxoplasma gondii, responsável por causar a doença foi isolado pela primeira vez\r\nem 1908 diretamente de um roedor africano. Na mesma época, no Brasil, Splendore isolou o\r\nmesmo parasita de coelhos. Porém, o ciclo desse parasita foi publicado apenas em 1970 por\r\nDubey e colaboradores.', '../assets/img/historia/img3.jpg'),
(3, 'A malária continua sendo um dos principais problemas de saúde pública mundialmente. A\r\npartir de dados aferidos pela Organização das Nações Unidas no ano de 2019, estima-se que a\r\nmalária matou no ano de 2018 mais de 405 mil pessoas em todo o mundo. Tal doença foi\r\nprimeiramente citada na era Pré–Cristã, por Hipócrates. Esta enfermidade pode ser chamada\r\nde paludismo, febre palustre, impaludismo, maleita ou sezão. Posteriormente nos primórdios\r\ndo século XIX que a denominação doença passou a ser Malária, pois, escritores italianos\r\nacreditavam que tal enfermidade era desencadeada por vapores nocivos providos dos\r\npântanos tiberianos “mal aria”, isto é, “mau ar”. Mas só o compilado de informações ao longo\r\ndo tempo levou as informações atuais, com a ajuda de médicos como <NAME>\r\n(1880); Gerhardt (1884); <NAME> (1885,1891); Manson (1894); <NAME> (1897);\r\nGrassi, Bastianelli e Bignami (1898,1899), entre outros. Em 1955, iniciou-se o Programa de\r\nErradicação da Malária, desenvolvido pela Organização Mundial de Saúde (OMS).\r\nPosteriormente, em 1995, surgiu o plano de estratégia global da Malária, criado também pela\r\nOMS, que tem como cerne entender melhor sobre a doença e englobar toda sua\r\nproblematização nas atividades de serviços gerais da saúde, de maneira a compreender cada\r\nregião endêmica acometida por esta (ONU NEWS PERSPECTIVA GLOBAL\r\nREPORTAGENS HUMANAS, 2019).\r\n', '../assets/img/historia/img4.jpeg'),
(4, 'A Ascaris lumbricoides foi descrita por Linnaeus em 1758 e é o parasita que causa a doença\r\nchamada ascaridíase, muito conhecida popularmente como lombriga e infecta o intestino\r\ndelgado tanto de humano quanto de suínos. Esse parasito é encontrado em quase todos os\r\npaíses do mundo e ocorre em situações específicas de acordo com as condições ambientais,\r\nclimáticas e muito pela situação socioeconômica do local. No Brasil, as regiões mais afetadas\r\nsão as rurais.', '../assets/img/historia/img5.jpg'),
(5, 'Essas parasitoses são conhecidas a muito tempo. Em 1758 as duas espécies Taenia solium e\r\nT.saginata foram descrita por Linnaeus. Em 1885, Küchenmeister consegue provar através de\r\numa série de experimentos que o cisticerco presente em suínos da origem ao verme nos\r\nhumanos. Esses parasitas consistem em um grave problema de saúde pública, principalmente\r\nnos países mais pobres com condições precárias de saneamento básico.\r\n', '../assets/img/historia/img6.jpg'),
(6, 'Em 1852 Biiharz, verificou um parasita enquanto realizava uma necropsia de um homem.\r\nPosteriormente, ele foi denominado como Distomum haematobium. Mais adiante, em 1858 o\r\nestudioso Weinland determinou o gênero deste helminto como Schistosoma, por apresentar\r\numa fenda (schisto fenda; soma = corpo). Destacamos, que a ideia de fenda está equivocada,\r\npois, na realidade o sulco “fenda” é formado pelas extremidades laterais do macho, o qual se\r\ndobra no sentido ventral. Assim, só em 1907 que Sambon denominou a espécie Schistosoma\r\nmansoni. Porém, foi <NAME>, na Bahia, que confirmou realmente os comportamentos\r\ndessa espécie, mas a nomeação ficou a cargo de Sambon. Por fim, o ciclo biológico foi\r\ndescrito por Leiper no Egito e por Lutz no Brasil, em trabalhos que correram independentes.', '../assets/img/historia/img7.jpg'),
(7, 'A doença criptosporidiose é causada pelo agente etiológico do gênero Cryptosporidium, que\r\nfoi descrito em 1907 e atualmente conta com algumas espécies descritas. A transmissão desse\r\nparasito pode ocorrer de diversas formas, como de pessoa para pessoa, seja por um contato\r\ndireto ou mesmo indireto, assim como de um animal para uma pessoa, que requer um contato\r\ndireto, ou mesmo quando há a ingestão de água ou alimentos que tenham o parasita no\r\nestágio conhecido como oocisto.\r\n', '../assets/img/historia/img8.jpg'),
(8, 'Papiros egípcios de 1.600 A.C., já assinalavam a ocorrência da ancilostomose. Avicena,\r\nmédico persa que viveu no século X da nossa era, foi o primeiro a encontrar os vermes nos\r\nintestinos de doentes e responsabilizá-los pela anemia decorrente, por serem os mesmos\r\nsugadores de sangue. Na Europa era conhecida como Anemia dos Mineiros e no Brasil\r\nantigamente era nomeada de Amarelão. Foi um médico italiano (Dubini), em 1838 que\r\nencontrou no intestino de uma mulher autopsiada o verme causador da ancilostomose,\r\ndescrevendo-o com detalhes e dando o nome de Ancylostoma duodenale. Somente\r\nGriesinger, em 1851, demonstrou o papel patológico desse parasita.\r\nFoi o médico brasileiro, <NAME>, em 1875, que defendendo as ideias de\r\nGriesinger, confirmou plenamente, a penetração das larvas do parasita pela pele e o abrigo\r\ndos mesmos no trato intestinal dos seus hospedeiros.', '../assets/img/historia/img9.jpg'),
(9, 'O termo Miíase tem sua etimologia “Myie = moscas; ase = doença”, isto é, enfermidade\r\ncausada por um animal/Mosca. De modo que, Miíase é a infecção em seres vertebrados vivos\r\npor larvas de dípteros (moscas), tais quais se alimentam do tecido vivo, substâncias corporais\r\nlíquidas ou do alimento consumido por esses hospedeiros. A grande diferença entre a Miíase\r\nPrimária/Obrigatória da Secundária/Facultativa, é que a primeira citada as moscas se\r\nalimentam de tecidos vivos, como tecidos cutâneos e subcutâneos de vários tipos de\r\nmamíferos, devido a esse fato foram/são conhecidas como biontófagas (anteriormente). Já a\r\nMiíase Secundária/Facultativa as moscas se alimentam de matéria orgânica em decomposição\r\n(vida livre), mas eventualmente podem alcançar tecidos necrosados de hospedeiros vivos.\r\nEstes organismos são nomeados como necrobiontófagas (anteriormente).', '../assets/img/historia/img10.png'),
(10, 'A peste bubônica/peste negra foi a pandemia que causou mais mortes no mundo, sendo que o\r\nnome “peste negra” se deu por causa das manchas escuras que os enfermos tinham. Seu início\r\nse deu na Ásia Central e se espalhou por todo mundo, seja pelos mares ou por terra, através\r\ndo seu agente etiológico (pulga). Nos países orientais, a peste teve cerca de 24 milhões de\r\nmortos, sendo que em 1348 a doença chegou no sul da França, mas apenas em 1349 que se\r\nespalhou na Europa, depois de ter chegado na Itália, e nesse continente é estimado que um\r\nterço da população não resistiu a doença.\r\nNessa situação de calamidade, as pessoas passaram a acreditar em explicações religiosas,\r\nchegando a perseguir os judeus, e a acreditar que tudo estava acontecendo por causa de um\r\ncastigo divino. Em meio ao caos, os médicos ficaram com medo de se contaminarem ao\r\ncuidarem dos enfermos, por isso passaram a usar trajes especiais, com uma máscara que\r\nparecia o bico de um corvo. As consequências desse período foram inúmeras, com a perda de\r\ngrandes propriedades pela morte das famílias, o que reduziu drasticamente a produção\r\nagrícola, causando assim escassez de alimentos, houve também a queda do domínio da Igreja\r\ne a ascensão da burguesia.\r\n', '../assets/img/historia/img11.jpg'),
(11, 'As rotas comerciais e marítimas permitiram a disseminação do parasita responsável por\r\ntransmitir a tungíase. Em seus primeiros registros, os espanhóis conheceram esse parasita\r\nquando Cristóvão Colombo chegou em Guanahani, em 12 de outubro de 1492. Apesar das\r\ninformações sobre surtos de tungíase serem raras, em 1863, tropas francesas enfrentaram\r\nproblemas com a doença na América do Norte. A tungíase apresenta alta prevalência no\r\nBrasil, ocorrendo desde a Região Norte até o Sul, predominando em locais com condições de\r\nsaneamento básico precários, áreas rurais e comunidades ribeirinhas. Não é considerada uma\r\nquestão de saúde pública, e dessa forma, faz parte das doenças negligenciadas.\r\n', '../assets/img/historia/img12.png');
-- --------------------------------------------------------
--
-- Estrutura da tabela `profilaxia`
--
CREATE TABLE `profilaxia` (
`id_profilaxia` int(11) NOT NULL,
`tipo` varchar(5000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `profilaxia`
--
INSERT INTO `profilaxia` (`id_profilaxia`, `tipo`) VALUES
(1, '● Melhorias nas condições de vida das pessoas;\r\n● Preservação da fauna e da flora;\r\n● Reformulação das estruturas da cultura agrária brasileira;\r\n● Educação sanitária brasileira;\r\n● Casas de alvenaria para população mais carentes (Poucos recursos financeiros);\r\n● Ampliar programas brasileiro de melhoria da habitação rural e urbanas de pessoas de\r\nbaixa renda - Ressaltamos que programas deste tipo não podem apresentar um caráter\r\nvertical, impondo à população um padrão de casa que não respeita seus hábitos,\r\nnecessidades e cultura.\r\n● Inseticidas eficientes, que promovem a curto prazo a eliminação do principal modo\r\nde transmissão;\r\n● Controle do doador de sangue: Sabendo-se que a transfusão sanguínea e o segundo\r\nmodo de transmissão de importância epidemiológica, a sua profilaxia é feita com\r\nbase nos seguintes critérios: seleção dos doadores por exames sorológicos (ELISA\r\nIUFI, RHA, RFC);\r\n● Controle de transmissão congênita:\r\n● Vacinação: a vacinação da doença de Chagas ainda está em fase de estudos, com\r\nresultados grandemente contraditórios e pouco promissores\r\n● Melhoria da habitação, com adequada higiene e limpeza da mesma;\r\n● Combate ao triatomíneo por meio de inseticidas e outros métodos auxiliares\r\n(combate biológico etc.);\r\n● Identificação e seleção dos doadores de sangue ou esterilização do sangue pela\r\nvioleta-de-genciana.\r\n'),
(2, '● Não se alimentar de carne crua ou malcozida;\r\n● Controlar a população de gatos nas cidades e no campo;\r\n● Alimentar os gatos com carne cozida ou seca ou ração de boa qualidade;\r\n● Incinerar as fezes dos gatos;\r\n● Proteger as caixas de areia para evitar que os gatos defequem nesse local;\r\n● Recomenda-se o exame pré-natal para toxoplasmose em todas as gestantes;\r\n'),
(3, 'Níveis individuais e coletivos.\r\n● Medidas de proteção individual:\r\nProfilaxia do contato– Evitar o contato do mosquito palha com a pele do humano;\r\n➔ Devido ao hábito noturno de alimentação deste mosquito, recomenda-se não se\r\naproximar de áreas de ocorrência deste inseto nos períodos do entardecer e do\r\namanhecer;\r\n➔ Uso de repelente nas partes expostas do corpo;\r\n➔ Telar portas e janelas;\r\n➔ Dormir com mosquiteiro.\r\nRessaltamos, que estas estratégias são recomendadas para pessoas que vivem em áreas\r\nendêmicas dessa doença. Todavia, muitas delas devido a vários fatores plausíveis econômicos\r\nnão conseguem cumprir todas essas recomendações necessárias.\r\n'),
(4, 'A profilaxia, ou seja, as formas de prevenção da doença são várias, são:\r\na eliminação dos ovos do parasita, que deve ser feito lavando bem os alimentos;\r\ninstalação de saneamento básico;\r\nproteger os locais com alimentos;\r\nágua contra insetos (que podem depositar os ovos do parasita) e a educação da população.'),
(5, '● Educação da população;\r\n● Não ingestão de carne crua ou malcozida;\r\n● Impedir o acesso dos animais às fezes humanas;\r\n● Saneamento básico;\r\n● Tratamento dos pacientes infectados;\r\n● Estimular melhorias no sistema de criação animal;\r\n● Inspeção rigorosa das carnes dos abatedouros;\r\n● Vacinação animal.\r\n'),
(6, '● Tratamento da população;\r\n● Quimioterapia em larga escala (oxamniquina) – Reduz a doença drasticamente nas\r\náreas endêmicas. No entanto, após alguns anos da suspensão do tratamento, a doença\r\nvolta rapidamente;\r\n● Educação sanitária;\r\n● Saneamento básico;\r\n● Redes de esgotos;\r\n● Tratamento de água;\r\n● Combate aos caramujos transmissores;\r\n● Produtos cercaricidas de uso tópico;\r\n● Substâncias aplicadas na pele que impedem a penetração da cercária- Não pode ser\r\nuso rotineiro (compostos podem ser absorvidos pela pele e causar efeitos tóxicos).'),
(7, 'A profilaxia, ou seja, as formas de prevenção das doenças são diversas, desde a utilização de\r\nprivadas, proteção dos locais que contenham água, outros cuidados com a higiene pessoal e\r\nlimpeza dos alimentos para que sejam eliminados os possíveis oocistos do parasito.\r\n'),
(8, 'Medidas sanitárias são essenciais para a prevenção da ancilostomose. Como medida\r\nindividual, deve-se evitar andar descalço em solos que podem estar contaminados. Além\r\ndisso, a educação da população é fundamental.'),
(9, '● Proteger áreas descobertas – Principalmente feridas abertas;\r\n● Retirada da larva com vaselina, quando a larva ainda está mais externamente na pele,\r\ne anestesia local para limpeza da área, quando a larva está em um quadro de infecção\r\ngeneralizada;\r\n● Saneamento básico;\r\n● Coleta de lixo;\r\n● Limpeza de estábulos;\r\n● Limpeza nos veículos de transporte de animais;\r\n● Aplicação de inseticidas.\r\n'),
(10, 'A principal forma de profilaxia é observar locais que existam foco de pulgas ou de ratos,\r\ncomo pilhas de entulho, lenha e lixo; ou mesmo não deixar alimentos que roedores podem ter\r\ncontato, além de sempre ter animais de estimação que não tenham pulgas.\r\nTransmissão:\r\nA principal forma de transmissão da peste bubônica é pela picada de pulgas, sendo que o\r\nhomem pode ser infectado por outros animais, como roedores silvestres que contenham essas\r\npulgas, ou mesmo se existe alguma lesão cutânea e a manipulação de um animal infectado. A\r\ntransmissão dessa doença também pode ocorrer de pessoa a pessoa, caso haja contato com o\r\npus do “bubão” (tumor inflamatório cutâneo).\r\n'),
(11, 'Medidas sanitárias são essenciais para a prevenção da tungíase ou bicho-de-pé. Como medida\r\nindividual, deve-se evitar andar descalço principalmente em solos contaminados com fezes\r\ncontendo fêmeas grávidas da pulga Tunga penetrans e uso de luvas ao manusear esterco.\r\nAlém disso, a educação da população é fundamental');
-- --------------------------------------------------------
--
-- Estrutura da tabela `regiao`
--
CREATE TABLE `regiao` (
`id_regiao` int(11) NOT NULL,
`nome_reg` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `regiao`
--
INSERT INTO `regiao` (`id_regiao`, `nome_reg`) VALUES
(1, 'SUDESTE'),
(2, 'SUL'),
(3, 'CENTRO-OESTE'),
(4, 'NORTE'),
(5, 'NORDESTE');
-- --------------------------------------------------------
--
-- Estrutura da tabela `transmissao`
--
CREATE TABLE `transmissao` (
`id_transmissao` int(11) NOT NULL,
`conteudo_trans` varchar(5000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `transmissao`
--
INSERT INTO `transmissao` (`id_transmissao`, `conteudo_trans`) VALUES
(1, 'O Trypanosoma Cruzi é transmitido via ato de alimentação do seu vetor (Mecanismo\r\nClássico de transmissão). De maneira, que este que denominamos popularmente como\r\n“Barbeiro” ao terminar de se alimentar, efetua o ato de defecar, de forma que libera os\r\nprotozoários, colocando-os em contato direto com a ferida da pele da vítima decorrida da\r\npicada anteriormente. Contudo, apesar de ser a transmissão vetorial clássica, existem outras\r\nformas de contaminação, como a de transfusão de sangue ou durante o período de gravidez,\r\nda mãe chagásica para seu filho. Além disso, a transmissão pode decorrer via alimentação,\r\npor meio de alimentos contaminados com os vetores triturados ou por seus dejetos. O\r\ndesmatamento pode agravar e ampliar muito a transmissão vetorial (AGÊNCIA FIOCRUZ\r\nDE NOTÍCIAS, 2013).\r\n'),
(2, 'As principais vias de transmissão da toxoplasmose são:\r\n● Via oral (ingestão de alimentos e água contaminados com cistos ou oocistos de\r\nToxoplasma gondii);\r\n● Congênita (transmitido de mãe para filho durante gestação), sendo raros os casos de\r\ntransmissão por inalação de aerossóis contaminados, inoculação acidental, transfusão\r\nsanguínea e transplante de órgãos.\r\n'),
(3, 'A transmissão é acometida via picada do mosquito fêmea do gênero Anopheles, quando este\r\nestá infectado pelo Plasmodium, que é um tipo de protozoário, tal qual pode ocasionar a\r\nMalária. Tais mosquitos são mais abundantes no período do entardecer e ao amanhecer.\r\nPorém, também são observados picando nos períodos noturnos, só que em menores\r\nproporções. Ressaltamos, que a Malária não pode ser transmitida por meio do consumo da\r\nágua, a qual também não possui um caráter contagioso, isto é, uma pessoa doente não é capaz\r\nde transmitir esta doença diretamente para outros indivíduos, sendo assim sempre necessário\r\no vetor para ocorrer tal ação (MINISTÉRIO DA SAÚDE, 2013/2021). Destacamos que os\r\nprimatas não humanos podem funcionar como um reservatório P. malariae.'),
(4, 'A transmissão dessa doença ocorre por meio da ingestão de alimentos ou água contaminados\r\npor um ovo do parasita, em um estágio específico o L3, ou seja, em um período específico do\r\ndesenvolvimento do parasita. Os sintomas irão depender da quantidade de parasitos e também\r\ndo seu estágio, por exemplo, na forma de larvas, a infecção afeta tanto o fígado quanto os\r\npulmões, já a forma adulta irá resultar em diversas ações que terão como consequência:\r\nsubnutrição, bloqueio no intestino, febre, entre outros.\''),
(5, 'Teníase: o hospedeiro definitivo (humanos) infecta-se ao ingerir carne suína ou bovina, crua\r\nou malcozida, infetada, respectivamente, pelo cisticerco de Taenia solium ou Taenia saginata.\r\nA cisticercose humana é adquirida pela ingestão acidental de ovos viáveis de Taenia solium\r\nque foram eliminados nas fezes de suínos e bovinos contaminados.'),
(6, 'Ocorre a penetração ativa da cercária na pele e na mucosa, esta ação ocorre mais nos pés e\r\nnas pernas, tal fato se deve por áreas que geralmente estão em contato direto com a água\r\ncontaminada. A agitação destes organismos na água, é constatado em grande quantidade no\r\nperíodo das 10:00 hrs da manhã às 16:00 hrs da tarde, quando a luz e o calor solar estão mais\r\nintensos.'),
(7, 'O principal local afetado é a mucosa gastrointestinal'),
(8, 'A doença ancilostomose é causada pelos parasitas Ancylostoma duodenale ou Necator\r\namericanus. A contaminação ocorre quando há contato direto da pele do hospedeiro com solo\r\ncontaminado ou por ingestão acidental das larvas presentes no ambiente. Após penetrar na\r\npele, a larva migra para os vasos sanguíneos, vai para o pulmão e de lá vai para a cavidade\r\noral e é deglutida, chegando no intestino delgado. Quando a transmissão ocorre por ingestão\r\nacidental, essa primeira parte do ciclo é ausente e o parasita vai diretamente para o trato\r\ngastrointestinal.'),
(9, 'Essa doença se desenvolve não a partir de ovos e sim de larvas. De modo que, as fêmeas são\r\nlarvíparas, e preferem depositar suas larvas em tecidos, como já mencionado. Assim, utilizam\r\ndessa fonte para se estruturarem. Após seu período de desenvolvimento, caem no chão e se\r\nenterram em uma terra fofa ou sob folhas, e só no verão saem como pupas, e volta novamente\r\neste ciclo. Lembrando que esses organismos dependem muito de questões de temperatura e\r\nquantidade de alimento disponível (NEVES, 2004).'),
(10, 'A transmissão da Peste na forma bubônica ocorre por meio da picada de pulgas infectadas. Na forma pneumônica, a transmissão se dá por gotículas aerógenas lançadas pela tosse no ambiente.'),
(11, 'A transmissão se dá quando a fêmea grávida da espécie de pulga Tunga penetrans, menor\r\nespécie de pulga conhecida (1mm), penetra na pele humana, quando essa pessoa pisa ou\r\nmanuseia solos contaminados sem proteção nos pés e nas mãos. A fêmea alimenta-se dos\r\nlíquidos e do sangue do hospedeiro e depois de 20 a 30 dias, libera os ovos para o exterior.');
--
-- Índices para tabelas despejadas
--
--
-- Índices para tabela `doenca`
--
ALTER TABLE `doenca`
ADD PRIMARY KEY (`id_doenca`),
ADD KEY `id_profilaxia` (`profilaxia_id`),
ADD KEY `regiao_id` (`regiao_id`),
ADD KEY `transmissao_id` (`transmissao_id`),
ADD KEY `historia_id` (`historia_id`);
--
-- Índices para tabela `historia`
--
ALTER TABLE `historia`
ADD PRIMARY KEY (`id_historia`);
--
-- Índices para tabela `profilaxia`
--
ALTER TABLE `profilaxia`
ADD PRIMARY KEY (`id_profilaxia`);
--
-- Índices para tabela `regiao`
--
ALTER TABLE `regiao`
ADD PRIMARY KEY (`id_regiao`);
--
-- Índices para tabela `transmissao`
--
ALTER TABLE `transmissao`
ADD PRIMARY KEY (`id_transmissao`);
--
-- AUTO_INCREMENT de tabelas despejadas
--
--
-- AUTO_INCREMENT de tabela `doenca`
--
ALTER TABLE `doenca`
MODIFY `id_doenca` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT de tabela `historia`
--
ALTER TABLE `historia`
MODIFY `id_historia` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT de tabela `profilaxia`
--
ALTER TABLE `profilaxia`
MODIFY `id_profilaxia` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT de tabela `regiao`
--
ALTER TABLE `regiao`
MODIFY `id_regiao` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de tabela `transmissao`
--
ALTER TABLE `transmissao`
MODIFY `id_transmissao` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- Restrições para despejos de tabelas
--
--
-- Limitadores para a tabela `doenca`
--
ALTER TABLE `doenca`
ADD CONSTRAINT `doenca_ibfk_3` FOREIGN KEY (`profilaxia_id`) REFERENCES `profilaxia` (`id_profilaxia`),
ADD CONSTRAINT `doenca_ibfk_5` FOREIGN KEY (`regiao_id`) REFERENCES `regiao` (`id_regiao`),
ADD CONSTRAINT `doenca_ibfk_6` FOREIGN KEY (`transmissao_id`) REFERENCES `transmissao` (`id_transmissao`),
ADD CONSTRAINT `doenca_ibfk_7` FOREIGN KEY (`historia_id`) REFERENCES `historia` (`id_historia`);
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.7.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: May 13, 2019 at 07:59 PM
-- Server version: 5.6.38
-- PHP Version: 7.2.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
use tessa_sullivan;
--
-- Database: `tessa_sullivan`
--
-- --------------------------------------------------------
--
-- Table structure for table `clients`
--
CREATE TABLE `clients` (
`id` int(11) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`phone_number` varchar(255) NOT NULL,
`notes` varchar(500) NOT NULL,
`stylist_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `clients`
--
INSERT INTO `clients` (`id`, `first_name`, `last_name`, `phone_number`, `notes`, `stylist_id`) VALUES
(9, 'Judith', 'Monroe', '206=867-5309', 'Double-process, use brand X for color, mix 75% Sapphire and 25% Amethyst', 5),
(10, 'Hannah', 'Chance', '206-555-4930', '', 5),
(11, 'Fiona', 'Hardingham', '425-355-9009', 'Notes', 5),
(12, 'Katherine', 'Kellgren', '832-899-3421', 'Notes', 5);
-- --------------------------------------------------------
--
-- Table structure for table `stylists`
--
CREATE TABLE `stylists` (
`id` int(11) NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`phone_number` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `stylists`
--
INSERT INTO `stylists` (`id`, `first_name`, `last_name`, `phone_number`) VALUES
(5, 'Greg', 'Johnson', '206-867-5309'),
(6, 'Fred', 'Mercury', '253-456-7890');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `clients`
--
ALTER TABLE `clients`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `stylists`
--
ALTER TABLE `stylists`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `clients`
--
ALTER TABLE `clients`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `stylists`
--
ALTER TABLE `stylists`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
|
CREATE DATABASE IF NOT EXISTS `pkmnStoreDev` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `pkmnStoreDev`;
-- MySQL dump 10.13 Distrib 5.5.55, for debian-linux-gnu (x86_64)
--
-- Host: 127.0.0.1 Database: pkmnStoreDev
-- ------------------------------------------------------
-- Server version 5.5.55-0ubuntu0.14.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `pokemons`
--
DROP TABLE IF EXISTS `pokemons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pokemons` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`price` decimal(10,0) NOT NULL,
`stock` int(11) NOT NULL DEFAULT '1',
`createdAt` datetime NOT NULL,
`updatedAt` datetime NOT NULL,
`image` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `pokemons`
--
LOCK TABLES `pokemons` WRITE;
/*!40000 ALTER TABLE `pokemons` DISABLE KEYS */;
INSERT INTO `pokemons` VALUES (88,'Bulbasaur',251,10,'2017-07-08 12:07:00','2017-07-10 14:12:37','7d8a0d660122917ecd4dd31a312b0d3e'),(89,'Charmander',251,5,'2017-07-08 12:10:00','2017-07-10 14:14:01','76b2c08b23a88ceee27c5fcde6545319'),(90,'Squirtle',251,7,'2017-07-08 12:12:00','2017-07-10 14:17:10','94a6147223db931cd27dd1d66703333b'),(91,'Pikachu',200,20,'2017-07-09 15:09:53','2017-07-09 15:09:53',''),(92,'Mew',1000,1,'2017-07-09 15:43:27','2017-07-09 15:43:27',''),(93,'Mewtwo',1000,1,'2017-07-09 15:45:28','2017-07-09 15:45:28',''),(94,'Charmeleon',500,5,'2017-07-09 16:13:26','2017-07-09 16:13:26','');
/*!40000 ALTER TABLE `pokemons` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `purchases`
--
DROP TABLE IF EXISTS `purchases`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `purchases` (
`id` int(11) NOT NULL,
`pokemon_id` int(11) NOT NULL,
`quantity` int(11) NOT NULL,
`card_number` varchar(255) NOT NULL,
`card_expiration_date` int(11) NOT NULL,
`card_holder_name` varchar(255) NOT NULL,
`card_cvv` int(11) NOT NULL,
`status` varchar(255) NOT NULL,
`amount` decimal(10,0) NOT NULL,
`createdAt` datetime NOT NULL,
`updatedAt` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `purchases`
--
LOCK TABLES `purchases` WRITE;
/*!40000 ALTER TABLE `purchases` DISABLE KEYS */;
INSERT INTO `purchases` VALUES (0,88,1,'4024007138010896',1050,'Ash Ketchum',123,'refused',25100,'2017-07-10 14:41:30','2017-07-10 14:41:30');
/*!40000 ALTER TABLE `purchases` 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 2017-07-10 11:44:37
|
# music_db is a database to store all we like about music.
# DEBUG: drop db if exists.
DROP DATABASE IF EXISTS `music_db`;
CREATE DATABASE `music_db`;
USE `music_db`;
CREATE TABLE `group` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(64) NOT NULL,
`start` DATE NOT NULL,
`end` DATE,
`origin` VARCHAR(64)
);
CREATE TABLE `member` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`firstname` VARCHAR(64) NOT NULL,
`lastname` VARCHAR(128) NOT NULL,
`nickname` VARCHAR(64),
`role` VARCHAR(64) NOT NULL,
`birth` DATE NOT NULL,
`death` DATE
);
CREATE TABLE `award` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(64) NOT NULL
);
CREATE TABLE `album` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(64) NOT NULL,
`date` DATE NOT NULL,
`label` VARCHAR(128) NOT NULL,
`genre` VARCHAR(128),
`sales` INT
);
# Ajoute une colone au tableau album.
ALTER TABLE `album` ADD `group_id` INT NOT NULL;
# Ajoute une clef étrangère au tableau album.
# La clef étrangère est group_id et pointe sur le tableau group et la colone id.
ALTER TABLE `album` ADD FOREIGN KEY (`group_id`) REFERENCES `group`(`id`);
ALTER TABLE `award` ADD `album_id` INT NOT NULL;
ALTER TABLE `award` ADD FOREIGN KEY (`album_id`) REFERENCES `album`(`id`);
# La table album_member permet de créer un lien entre les tables album et membre.
CREATE TABLE `album_member` (
`album_id` INT NOT NULL,
`member_id` INT NOT NULL,
FOREIGN KEY (`album_id`) REFERENCES `album`(`id`),
FOREIGN KEY (`member_id`) REFERENCES `member`(`id`),
PRIMARY KEY (`album_id`, `member_id`)
);
# Add data to the database.
INSERT INTO `group` (`name`, `start`, `end`, `origin`) VALUES
("Led Zeppelin", DATE("1968-01-01"), DATE("1980-01-01"), "UK"),
("The Beatles", DATE("1960-01-01"), DATE("1970-01-01"), "UK"),
("PNL", DATE("2004-01-01"), NULL, "FR");
INSERT INTO `member` (`firstname`, `lastname`, `nickname`, `role`, `birth`, `death`) VALUES
("Tarik", "Andrieu", NULL, "singer", DATE("1986-01-01"), NULL),
("Nabil", "Andrieu", NULL, "singer", DATE("1989-01-01"), NULL),
("James", "Page", "Jimmy", "guitar player", DATE("1957-01-01"), NULL),
("Robert", "Plant", NULL, "singer", DATE("1966-01-01"), NULL),
("John", "Baldwin", "<NAME>", "bass player", DATE("1946-01-01"), NULL),
("John", "Bonham", "Bonzo", "drummer", DATE("1948-01-01"), DATE("1980-01-01")),
("John", "Lennon", NULL, "singer", DATE("1940-01-01"), DATE("1980-01-01")),
("James", "McCartney", "Macca", "guitar player", DATE("1942-01-01"), NULL),
("George", "Harrison", NULL, "bass player", DATE("1943-01-01"), DATE("2001-01-01")),
("Richard", "Starkey", NULL, "drummer", DATE("1940-01-01"), NULL);
INSERT INTO `album` (`name`, `date`, `label`, `genre`, `sales`, `group_id`) VALUES
("Led Zeppelin IV", DATE("1971-11-08"), "Atlantic Records", "hard rock", 23000000, 1),
("Led Zeppelin", DATE("1969-01-12"), "Atlantic Records", "hard rock", 10000000, 1),
("Physical Graffiti", DATE("1975-02-24"), "Swan Song Records", "hard rock", 16000000, 1),
("Please Please Me", DATE("1963-03-22"), "Parlophone", "pop", 1000000, 2),
("With The Beatles", DATE("1963-11-22"), "Parlophone", "pop", 500000, 2),
("A Hard Day's Night", DATE("1964-06-26"), "Parlophone", "pop", 4000000, 2),
("<NAME>", DATE("2015-10-30"), "QLF Records", "cloud rap", 200000, 3),
("Dans La Légende", DATE("2016-09-16"), "QLF Records", "cloud rap", 500000, 3);
INSERT INTO `award` (`name`, `album_id`) VALUES
("Gold", 1),
("Platinum", 1),
("Multi-Platinum", 1),
("Gold", 2),
("Platinum", 2),
("Multi-Platinum", 2),
("Gold", 3),
("Platinum", 3),
("Multi-Platinum", 3),
("Gold", 4),
("Platinum", 4),
("Gold", 5),
("Gold", 6),
("Platinum", 6),
("Multi-Platinum", 6),
("Gold", 7),
("Gold", 8),
("Platinum", 8),
("Diamon", 8);
INSERT INTO `album_member` (`album_id`, `member_id`) VALUES
(1, 3),
(1, 4),
(1, 5),
(1, 6),
(2, 3),
(2, 4),
(2, 5),
(2, 6),
(3, 3),
(3, 4),
(3, 5),
(3, 6),
(4, 7),
(4, 8),
(4, 9),
(4, 10),
(5, 7),
(5, 8),
(5, 9),
(5, 10),
(6, 7),
(6, 8),
(6, 9),
(6, 10),
(7, 1),
(7, 2),
(8, 1),
(8, 2);
|
delimiter //
CRETE FUNCTION PRICE (idp INT, detep DETE, q INT) RETURNS FLOAT
DETERMINISTIC
LANGUAGE SQL
SQL SECURITITY DEFINER
COMMENT 'price2'
BEGIN
DECLARE rez FLOAT;
IF q=1 THEN
SET rez = (SELECT pin
FORM prices
WHERE pdate = datap
AND idprod = idp);
ELSE
SET rez = (SELECT pout
FORM prices
WHERE pdate = datap
AND idprod = idp);
END IF;
RETURN(rest);
END;
//
SELECT name,
price2(id, '2017-11-12', 1)-price2(id, '2017-11-11', 1) as pin,
price2(id, '2017-11-12', 2)-price2(id, '2017-11-11', 2) as pout
FORM products
DELIMITER //
CREATE TRIGER priceslog BEFOR DELETE ON prices
FOR EACH ROW
BEGIN
INSERT INTO priceslops
SET idp = OLD.id,
idprod = OLD.idprod,
pin = OLD.
|
<reponame>dataserve/sql-schema-modulizer
CREATE DATABASE dbName;
CREATE TABLE `user` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`password` varchar(128) NOT NULL DEFAULT '',
`mtime` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL,
`ctime` timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
<filename>object_growth_trend.sql
select * from table(dbms_space.object_growth_trend('OWNER','TABLE_NAME','TABLE'))
|
<filename>storage/database-cookbook/relational/sqlserver/operation/creating_alerts_control_table.sql
/******************************************************************************
-- Instructions for using the script
*******************************************************************************/
-- 1) F5 to run script
-- 2) Switch e-mail "<EMAIL>" that should receive the Alerts
-- and replace the profile 'MSSQLServer'
DECLARE
@Ds_Email VARCHAR(MAX)
DECLARE
@Ds_Profile_Email VARCHAR(MAX)
SELECT @Ds_Email = '<EMAIL>'
SELECT @Ds_Profile_Email = 'MSSQLServer'
-- 2) F5 to run script
/********************************************************************************************
-- Database that will be used to store Alerts data. If necessary, change to the desired name.
*********************************************************************************************/
USE [Traces]
-------------------------------------------------------------------------------
-- Create tables
-------------------------------------------------------------------------------
USE [Traces]
IF (OBJECT_ID('[dbo].[Alerta]') IS NOT NULL)
DROP TABLE [dbo].[Alerta]
CREATE TABLE [dbo].[Alerta]
(
[Id_Alerta] INT IDENTITY PRIMARY KEY,
[Id_Alerta_Parametro] INT NOT NULL,
[Ds_Mensagem] VARCHAR(2000),
[Fl_Tipo] TINYINT, -- 0: CLEAR / 1: ALERTA
[Dt_Alerta] DATETIME DEFAULT (GETDATE())
)
IF (OBJECT_ID('[dbo].[Alerta_Parametro]') IS NOT NULL)
DROP TABLE [dbo].[Alerta_Parametro]
CREATE TABLE [dbo].[Alerta_Parametro]
(
[Id_Alerta_Parametro] INT NOT NULL IDENTITY (1,1) PRIMARY KEY,
[Nm_Alerta] VARCHAR(100) NOT NULL,
[Nm_Procedure] VARCHAR(100) NOT NULL,
[Fl_Clear] BIT NOT NULL,
[Vl_Parametro] INT NULL,
[Ds_Metrica] VARCHAR(50) NULL,
[Ds_Profile_Email] VARCHAR(200) NULL,
[Ds_Email] VARCHAR(500) NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[Alerta]
ADD CONSTRAINT FK01_Alerta
FOREIGN KEY ([Id_Alerta_Parametro])
REFERENCES [dbo].[Alerta_Parametro] ([Id_Alerta_Parametro])
-------------------------------------------------------------------------------
-- Inserts the data into the Parameter table
-------------------------------------------------------------------------------
INSERT INTO [dbo].[Alerta_Parametro]([Nm_Alerta], [Nm_Procedure],
[Fl_Clear], [Vl_Parametro],
[Ds_Metrica], [Ds_Profile_Email],
[Ds_Email])
VALUES ('CheckList Database Version', '1.0.0', 0, NULL, NULL,
@Ds_Profile_Email, @Ds_Email),
('Alert Version', '1.0.0', 0, NULL, NULL, NULL, NULL),
('Blocked Process', 'stpAlert_Blocked Process', 1, 2,
'Minutes', @Ds_Profile_Email, @Ds_Email),
('File Log Full', 'stpAlert_File_Log_Full', 1, 85,
'Percentage', @Ds_Profile_Email, @Ds_Email),
('Disk Space', 'stpAlert_Disk Space', 1, 80, 'Percenage',
@Ds_Profile_Email, @Ds_Email),
('CPU Usage', 'stpAlert_CPU usage', 1, 85, 'Percentage',
@Ds_Profile_Email, @Ds_Email),
--('MaxSize Arquivo SQL', 'stpAlerta_MaxSize_Arquivo_SQL', 1, 15, 'Tamanho (MB)', @Ds_Profile_Email, @Ds_Email),
('Tempdb Utilizacao Arquivo MDF',
'stpAlerta_Tempdb_Utilizacao_Arquivo_MDF', 1, 70, 'Percentage',
@Ds_Profile_Email, @Ds_Email),
('Conexion SQL Server', 'stpAlert_Conexion_SQLServer', 1, 2000,
'Amount', @Ds_Profile_Email, @Ds_Email),
('Status Database', 'stpAlert_Error_Data Bases', 1, NULL, NULL,
@Ds_Profile_Email, @Ds_Email),
('Pg Corrupted', 'stpAlert_Error_DB', 0, NULL,
NULL, @Ds_Profile_Email, @Ds_Email),
('Delayed Queries', 'stpAlert_Delayed Queries', 0, 100,
'Amount', @Ds_Profile_Email, @Ds_Email),
('Trace Delayed Queries ', 'stpCreate_Trace', 0, 3, 'Seconds',
@Ds_Profile_Email, @Ds_Email),
('Job Fail', 'stpAlert_Job_Fail', 0, 24, 'Hours',
@Ds_Profile_Email, @Ds_Email),
('SQL Server Restarted', 'stpAlert_SQL_Server_Restarted', 0,
20, 'Minutes', @Ds_Profile_Email, @Ds_Email),
('Database Created', 'stpAlert_Database_Created', 0, 24, 'Hour',
@Ds_Profile_Email, @Ds_Email),
('Database without Backup', 'stpAlert_Database_without_Backup',
0, 24,
'Horas', @Ds_Profile_Email, @Ds_Email),
('Corrupted Database', 'stpAlert_CheckDB', 0, NULL, NULL,
@Ds_Profile_Email, @Ds_Email),
('Processes in Execution',
'stpEnvia_Email_Processes in Execution', 0,
NULL, NULL, @Ds_Profile_Email, @Ds_Email)
-- Checks the result of the table with the parameters of the Alerts
select *
from [dbo].Alerta_Parametro
-- select * from [dbo].Alerta
|
<filename>text_random.package body.sql
create or replace package body text_random
as
function r_syllable (
r_country varchar2 default core_random_v.g_default_country_code
)
return varchar2
as
l_ret_var varchar2(30);
l_syllable_length number := core_random.r_natural(2,3);
l_syllable_onset varchar2(10);
l_syllable_nucleus varchar2(10);
l_syllable_coda varchar2(10);
begin
dbms_application_info.set_action('r_syllable');
if r_country = 'CN' then
l_ret_var := core_random.r_character(r_country => r_country);
else
-- For now we are building the syllable really easy, and only with "English" tonation.
l_syllable_onset := core_random.r_character(core_random_v.g_easy_consonants);
l_syllable_nucleus := core_random.r_character(core_random_v.g_vowels);
-- In case we have "3" length syllable add the coda
if l_syllable_length = 3 then
l_syllable_coda := core_random.r_character(core_random_v.g_easy_consonants);
end if;
l_ret_var := l_syllable_onset || l_syllable_nucleus || l_syllable_coda;
end if;
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_syllable;
function r_word (
r_syllables number default null
, r_length number default null
, r_capitalize boolean default false
, r_country varchar2 default core_random_v.g_default_country_code
)
return varchar2
as
l_ret_var varchar2(1000);
l_syllables number := r_syllables;
begin
dbms_application_info.set_action('r_word');
-- Special case for chinese, else ignore country variable.
if r_country = 'CN' then
l_syllables := core_random.r_natural(1,3);
l_ret_var := core_random.r_string(r_length => l_syllables, r_country => r_country);
else
if l_syllables is null then
l_syllables := core_random.r_natural(1,3);
end if;
for i in 1..l_syllables loop
l_ret_var := l_ret_var || r_syllable;
end loop;
if r_length is not null and r_length < length(l_ret_var) then
l_ret_var := substr(l_ret_var, 1, r_length);
end if;
if r_capitalize then
l_ret_var := initcap(l_ret_var);
end if;
end if;
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_word;
function r_sentence (
r_words number default null
, r_country varchar2 default core_random_v.g_default_country_code
)
return varchar2
as
l_ret_var varchar2(4000);
l_sentence_words number := r_words;
l_country varchar2(10) := r_sentence.r_country;
begin
dbms_application_info.set_action('r_sentence');
if r_words is null then
l_sentence_words := core_random.r_natural(7,15);
end if;
if l_country is not null and l_country != 'CN' then
l_ret_var := text_data.markov_sentence(l_sentence_words, l_country);
else
for i in 1..l_sentence_words loop
if i = 1 then
l_ret_var := initcap(r_word(r_country => r_country));
elsif i = l_sentence_words then
l_ret_var := l_ret_var || ' ' || r_word(r_country => r_country) || '.';
else
l_ret_var := l_ret_var || ' ' || r_word(r_country => r_country);
end if;
end loop;
end if;
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_sentence;
function r_paragraph (
r_sentences number default null
, r_country varchar2 default core_random_v.g_default_country_code
)
return varchar2
as
l_ret_var varchar2(4000);
l_paragraph_sentences number := r_sentences;
l_country varchar2(10) := r_paragraph.r_country;
begin
dbms_application_info.set_action('r_paragraph');
if l_paragraph_sentences is null then
l_paragraph_sentences := core_random.r_natural(3,7);
end if;
-- Special case for chinese
if l_country = 'CN' then
for i in 1..l_paragraph_sentences loop
if i = 1 then
l_ret_var := r_sentence(r_country => l_country);
else
l_ret_var := l_ret_var || ' ' || r_sentence(r_country => l_country);
end if;
end loop;
else
if l_country is not null then
if not util_random.ru_inlist(core_random_v.g_markov_text_implemented, l_country) then
l_country := util_random.ru_pickone(core_random_v.g_markov_text_implemented);
end if;
for i in 1..l_paragraph_sentences loop
if i = 1 then
l_ret_var := r_sentence(null, l_country);
else
l_ret_var := l_ret_var || ' ' || r_sentence(null, l_country);
end if;
end loop;
else
for i in 1..l_paragraph_sentences loop
if i = 1 then
l_ret_var := r_sentence;
else
l_ret_var := l_ret_var || ' ' || r_sentence;
end if;
end loop;
end if;
end if;
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_paragraph;
function r_textgenre (
r_texttype varchar2 default null
)
return varchar2
as
l_ret_var varchar2(500);
l_texttype varchar2(100) := r_texttype;
begin
dbms_application_info.set_action('r_textgenre');
if l_texttype = 'Book' then
l_ret_var := util_random.ru_pickone(text_data.g_book_genres);
elsif l_texttype = 'News' then
l_ret_var := util_random.ru_pickone(text_data.g_news_genres);
else
if core_random.r_bool then
l_ret_var := util_random.ru_pickone(text_data.g_book_genres);
else
l_ret_var := util_random.ru_pickone(text_data.g_news_genres);
end if;
end if;
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_textgenre;
function r_adjective
return varchar2
as
l_ret_var varchar2(100);
begin
dbms_application_info.set_action('r_adjective');
l_ret_var := util_random.ru_pickone(text_data.g_adj_positive_people || ',' || text_data.g_adj_positive_company || ',' || text_data.g_adj_descriptive_company);
dbms_application_info.set_action(null);
return l_ret_var;
exception
when others then
dbms_application_info.set_action(null);
raise;
end r_adjective;
begin
dbms_application_info.set_client_info('text_random');
dbms_session.set_identifier('text_random');
end text_random;
/
|
<gh_stars>10-100
CREATE TABLE IF NOT EXISTS auditlogs
(
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
user_id INT UNSIGNED,
field varchar(191),
value_new text,
value_old text,
action VARCHAR(191) NOT NULL,
entity_type VARCHAR(191),
entity_id INT UNSIGNED,
meta TEXT,
created_at TIMESTAMP,
updated_at TIMESTAMP,
PRIMARY KEY (id)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci;
|
CREATE EXTENSION "uuid-ossp"; -- IF NOT EXISTS
CREATE EXTENSION "pgcrypto"; -- IF NOT EXISTS
create TABLE IF NOT EXISTS application_user(
uuid uuid DEFAULT uuid_generate_v4(), -- --generates a hash non sequential
username VARCHAR NOT NULL,
password VARCHAR NOT NULL,
PRIMARY KEY (uuid)
)
insert into application_user(
username,password) values('admin', crypt('admin','my_salt'))
-- type here valid credentials | credentials that you want
|
/*-------------------*
| <NAME> |
| URI 2740 |
| Liga |
*--------------------*
Selecione os três primeiros colocados da lista com a frase inicial Podium:
e também, os dois últimos times que serão rebaixados para série B com a frase inicial Demoted:
*/
(select 'Podium: ' || l1.team as name
FROM league l1
limit 3)
union all
(select * from (
select 'Demoted: ' || team as name
FROM league
order by position desc
limit 2
) demoted
order by 1);
|
-- file:insert_conflict.sql ln:170 expect:true
drop index expr_key_index
|
CREATE TYPE public.civilite_type AS ENUM (
'monsieur',
'madame'
);
CREATE TYPE public.lieu_vie_type AS ENUM (
'domicile',
'etablissement',
'etablissement_conservation_domicile',
'sdf'
);
CREATE TYPE public.mesure_status_type AS ENUM (
'en_attente',
'en_cours',
'eteinte'
);
CREATE TABLE public.access_tokens (
id integer NOT NULL,
user_id integer NOT NULL,
access_token character varying(255) NOT NULL,
editor_id integer NOT NULL,
editor_url character varying(255) NOT NULL,
expired boolean DEFAULT false,
expired_on timestamp with time zone,
refresh_token character varying(255),
refresh_token_expires_on timestamp with time zone
);
CREATE SEQUENCE public.access_tokens_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.access_tokens_id_seq OWNED BY public.access_tokens.id;
CREATE TABLE public.api_logs (
id integer NOT NULL,
editor_id integer,
token character varying(1200),
request_url character varying(255),
request_method character varying(255),
request_params jsonb,
response jsonb,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP
);
CREATE SEQUENCE public.api_logs_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.api_logs_id_seq OWNED BY public.api_logs.id;
CREATE TABLE public.authorization_codes (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
code character varying(255),
redirect_uri character varying(255),
client_id integer NOT NULL,
user_id integer NOT NULL,
expires_at timestamp with time zone
);
CREATE SEQUENCE public.authorization_codes_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.authorization_codes_id_seq OWNED BY public.authorization_codes.id;
CREATE TABLE public.cause_sortie_mesure (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.champ_mesure (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.civilite (
value text NOT NULL
);
CREATE TABLE public.geolocalisation_code_postal (
id integer NOT NULL,
code_postal character varying(255),
latitude real,
longitude real,
cities character varying(255),
insee character varying(255)
);
CREATE SEQUENCE public."codePostalLatLngs_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public."codePostalLatLngs_id_seq" OWNED BY public.geolocalisation_code_postal.id;
CREATE TABLE public.commentaires (
id integer NOT NULL,
comment text,
mandataire_id integer,
ti_id integer,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
service_id integer
);
CREATE SEQUENCE public.commentaires_co_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.commentaires_co_id_seq OWNED BY public.commentaires.id;
CREATE TABLE public.departements (
id integer NOT NULL,
id_region integer,
code character varying(255) NOT NULL,
nom character varying(255) NOT NULL
);
CREATE SEQUENCE public.departements_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.departements_id_seq OWNED BY public.departements.id;
CREATE TABLE public.direction (
id integer NOT NULL,
region_id integer,
user_id integer,
department_id integer,
type character varying(255)
);
CREATE SEQUENCE public.direction_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.direction_id_seq OWNED BY public.direction.id;
CREATE TABLE public.editor_token_requests (
id integer NOT NULL,
email character varying(255) NOT NULL,
name character varying(255),
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP
);
CREATE SEQUENCE public.editor_token_requests_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.editor_token_requests_id_seq OWNED BY public.editor_token_requests.id;
CREATE TABLE public.editors (
id integer NOT NULL,
name character varying(255) NOT NULL,
api_token character varying(255) NOT NULL,
redirect_uris jsonb DEFAULT '[]'::jsonb
);
CREATE SEQUENCE public.editors_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.editors_id_seq OWNED BY public.editors.id;
CREATE TABLE public.enquete_reponses (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
submitted_at timestamp with time zone,
enquete_id integer,
mandataire_id integer,
service_id integer,
enquete_reponses_informations_mandataire_id integer,
enquete_reponses_prestations_sociale_id integer,
enquete_reponses_agrements_formations_id integer,
enquete_reponses_activite_id integer,
enquete_reponses_populations_id integer,
enquete_reponses_modalites_exercice_id integer,
enquete_reponses_financement_id integer,
enquete_reponses_prepose_personel_formation_id integer,
enquete_reponses_prepose_prestations_sociales_id integer,
status character varying(255) DEFAULT 'draft'::character varying,
uploaded_on timestamp with time zone,
enquete_reponses_service_informations_id integer,
user_type character varying(255) NOT NULL,
enquete_reponses_service_personnel_formation_id integer,
departement_id integer
);
CREATE TABLE public.enquete_reponses_activite (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
curatelle_renforcee_etablissement_debut_annee integer,
curatelle_renforcee_etablissement_fin_annee integer,
curatelle_renforcee_domicile_debut_annee integer,
curatelle_renforcee_domicile_fin_annee integer,
curatelle_simple_etablissement_debut_annee integer,
curatelle_simple_etablissement_fin_annee integer,
curatelle_simple_domicile_debut_annee integer,
curatelle_simple_domicile_fin_annee integer,
tutelle_etablissement_debut_annee integer,
tutelle_etablissement_fin_annee integer,
tutelle_domicile_debut_annee integer,
tutelle_domicile_fin_annee integer,
accompagnement_judiciaire_etablissement_debut_annee integer,
accompagnement_judiciaire_etablissement_fin_annee integer,
accompagnement_judiciaire_domicile_debut_annee integer,
accompagnement_judiciaire_domicile_fin_annee integer,
curatelle_biens_etablissement_debut_annee integer,
curatelle_biens_etablissement_fin_annee integer,
curatelle_biens_domicile_debut_annee integer,
curatelle_biens_domicile_fin_annee integer,
curatelle_personne_etablissement_debut_annee integer,
curatelle_personne_etablissement_fin_annee integer,
curatelle_personne_domicile_debut_annee integer,
curatelle_personne_domicile_fin_annee integer,
revisions_main_levee integer,
revisions_masp integer,
revisions_reconduction integer,
revisions_changement integer,
revisions_autre integer,
sorties_main_levee integer,
sorties_deces integer,
sorties_masp integer,
curatelle_renforcee_etablissement_mesures_nouvelles integer,
curatelle_renforcee_etablissement_sortie_mesures integer,
curatelle_renforcee_domicile_mesures_nouvelles integer,
curatelle_renforcee_domicile_sortie_mesures integer,
curatelle_simple_etablissement_mesures_nouvelles integer,
curatelle_simple_etablissement_sortie_mesures integer,
curatelle_simple_domicile_mesures_nouvelles integer,
curatelle_simple_domicile_sortie_mesures integer,
tutelle_etablissement_mesures_nouvelles integer,
tutelle_etablissement_sortie_mesures integer,
tutelle_domicile_mesures_nouvelles integer,
tutelle_domicile_sortie_mesures integer,
accompagnement_judiciaire_etablissement_mesures_nouvelles integer,
accompagnement_judiciaire_etablissement_sortie_mesures integer,
accompagnement_judiciaire_domicile_mesures_nouvelles integer,
accompagnement_judiciaire_domicile_sortie_mesures integer,
curatelle_biens_etablissement_mesures_nouvelles integer,
curatelle_biens_etablissement_sortie_mesures integer,
curatelle_biens_domicile_mesures_nouvelles integer,
curatelle_biens_domicile_sortie_mesures integer,
curatelle_personne_etablissement_mesures_nouvelles integer,
curatelle_personne_etablissement_sortie_mesures integer,
curatelle_personne_domicile_mesures_nouvelles integer,
curatelle_personne_domicile_sortie_mesures integer,
subroge_tuteur_createur_debut_annee integer,
subroge_tuteur_createur_mesures_nouvelles integer,
subroge_tuteur_createur_sortie_mesures integer,
subroge_tuteur_createur_fin_annee integer,
sauvegarde_justice_debut_annee integer,
sauvegarde_justice_mesures_nouvelles integer,
sauvegarde_justice_sortie_mesures integer,
sauvegarde_justice_fin_annee integer,
mandat_adhoc_majeur_debut_annee integer,
mandat_adhoc_majeur_mesures_nouvelles integer,
mandat_adhoc_majeur_sortie_mesures integer,
mandat_adhoc_majeur_fin_annee integer
);
CREATE SEQUENCE public.enquete_reponses_activite_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_activite_id_seq OWNED BY public.enquete_reponses_activite.id;
CREATE TABLE public.enquete_reponses_agrements_formations (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
annee_agrement integer,
nb_departements character varying(255),
annee_debut_activite integer,
cumul_delegue_service boolean,
cumul_delegue_service_etp character varying(255),
cumul_prepose boolean,
cumul_prepose_etp character varying(255),
debut_activite_avant_2009 boolean,
niveau_qualification integer,
secretaire_specialise boolean,
nb_mesures_dep_finance integer,
nb_mesures_dep_autres integer,
cnc_annee_obtention integer,
cnc_heures_formation real,
secretaire_specialise_etp_n1 real,
secretaire_specialise_etp_n2 real,
secretaire_specialise_etp_n3 real,
secretaire_specialise_etp_n4 real,
secretaire_specialise_etp_n5 real,
secretaire_specialise_etp_n6 real
);
CREATE SEQUENCE public.enquete_reponses_agrements_formations_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_agrements_formations_id_seq OWNED BY public.enquete_reponses_agrements_formations.id;
CREATE TABLE public.enquete_reponses_financement (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
charges_personnel numeric(16,8),
charges_preposes numeric(16,8),
charges_fonctionnement numeric(16,8),
produits_bareme_prelevements numeric(16,8),
autre_produits numeric(16,8),
financement_public numeric(16,8),
aide_sociale_conseil_departemental numeric(16,8)
);
CREATE SEQUENCE public.enquete_reponses_financement_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_financement_id_seq OWNED BY public.enquete_reponses_financement.id;
CREATE SEQUENCE public.enquete_reponses_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_id_seq OWNED BY public.enquete_reponses.id;
CREATE TABLE public.enquete_reponses_informations_mandataire (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
benevole boolean,
forme_juridique character varying(255),
sexe character varying(255),
anciennete character varying(255),
estimation_etp character varying(255),
secretaire_specialise_etp real,
local_professionnel boolean,
departement character varying(255),
region character varying(255),
nom character varying(255),
exerce_seul_activite boolean,
exerce_secretaires_specialises boolean,
tranche_age character varying(255)
);
CREATE SEQUENCE public.enquete_reponses_informations_mandataire_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_informations_mandataire_id_seq OWNED BY public.enquete_reponses_informations_mandataire.id;
CREATE TABLE public.enquete_reponses_modalites_exercice (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
departement character varying(255),
region character varying(255),
raison_sociale character varying(255),
personnalite_juridique_etablissement character varying(255),
total_mesures_etablissements integer,
nombre_lits_journee_hospitalisation jsonb,
actions_information_tuteurs_familiaux boolean,
activite_exercee_par character varying(255),
etablissements_type character varying(255)
);
CREATE SEQUENCE public.enquete_reponses_modalite_exercice_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_modalite_exercice_id_seq OWNED BY public.enquete_reponses_modalites_exercice.id;
CREATE TABLE public.enquete_reponses_populations (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
tutelle_age_inf_25_ans_homme integer,
tutelle_age_inf_25_ans_femme integer,
tutelle_age_25_39_ans_homme integer,
tutelle_age_25_39_ans_femme integer,
tutelle_age_40_59_ans_homme integer,
tutelle_age_40_59_ans_femme integer,
tutelle_age_60_74_ans_homme integer,
tutelle_age_60_74_ans_femme integer,
tutelle_age_sup_75_ans_homme integer,
tutelle_age_sup_75_ans_femme integer,
curatelle_age_inf_25_ans_homme integer,
curatelle_age_inf_25_ans_femme integer,
curatelle_age_25_39_ans_homme integer,
curatelle_age_25_39_ans_femme integer,
curatelle_age_40_59_ans_homme integer,
curatelle_age_40_59_ans_femme integer,
curatelle_age_60_74_ans_homme integer,
curatelle_age_60_74_ans_femme integer,
curatelle_age_sup_75_ans_homme integer,
curatelle_age_sup_75_ans_femme integer,
maj_age_inf_25_ans_homme integer,
maj_age_inf_25_ans_femme integer,
maj_age_25_39_ans_homme integer,
maj_age_25_39_ans_femme integer,
maj_age_40_59_ans_homme integer,
maj_age_40_59_ans_femme integer,
maj_age_60_74_ans_homme integer,
maj_age_60_74_ans_femme integer,
maj_age_sup_75_ans_homme integer,
maj_age_sup_75_ans_femme integer,
sauvegarde_justice_age_inf_25_ans_homme integer,
sauvegarde_justice_age_inf_25_ans_femme integer,
sauvegarde_justice_age_25_39_ans_homme integer,
sauvegarde_justice_age_25_39_ans_femme integer,
sauvegarde_justice_age_40_59_ans_homme integer,
sauvegarde_justice_age_40_59_ans_femme integer,
sauvegarde_justice_age_60_74_ans_homme integer,
sauvegarde_justice_age_60_74_ans_femme integer,
sauvegarde_justice_age_sup_75_ans_homme integer,
sauvegarde_justice_age_sup_75_ans_femme integer,
autre_mesures_age_inf_25_ans_homme integer,
autre_mesures_age_inf_25_ans_femme integer,
autre_mesures_age_25_39_ans_homme integer,
autre_mesures_age_25_39_ans_femme integer,
autre_mesures_age_40_59_ans_homme integer,
autre_mesures_age_40_59_ans_femme integer,
autre_mesures_age_60_74_ans_homme integer,
autre_mesures_age_60_74_ans_femme integer,
autre_mesures_age_sup_75_ans_homme integer,
autre_mesures_age_sup_75_ans_femme integer,
tutelle_anciennete_inf_1_an integer,
tutelle_anciennete_1_3_ans integer,
tutelle_anciennete_3_5_ans integer,
tutelle_anciennete_5_10_ans integer,
tutelle_anciennete_sup_10_ans integer,
curatelle_anciennete_inf_1_an integer,
curatelle_anciennete_1_3_ans integer,
curatelle_anciennete_3_5_ans integer,
curatelle_anciennete_5_10_ans integer,
curatelle_anciennete_sup_10_ans integer,
maj_anciennete_inf_1_an integer,
maj_anciennete_1_3_ans integer,
maj_anciennete_3_5_ans integer,
maj_anciennete_5_10_ans integer,
maj_anciennete_sup_10_ans integer,
sauvegarde_justice_anciennete_inf_1_an integer,
sauvegarde_justice_anciennete_1_3_ans integer,
sauvegarde_justice_anciennete_3_5_ans integer,
sauvegarde_justice_anciennete_5_10_ans integer,
sauvegarde_justice_anciennete_sup_10_ans integer,
autre_mesures_anciennete_inf_1_an integer,
autre_mesures_anciennete_1_3_ans integer,
autre_mesures_anciennete_3_5_ans integer,
autre_mesures_anciennete_5_10_ans integer,
autre_mesures_anciennete_sup_10_ans integer,
tutelle_etablissement_personne_handicapee integer,
tutelle_service_personne_handicapee integer,
tutelle_ehpad integer,
tutelle_autre_etablissement_personne_agee integer,
tutelle_chrs integer,
tutelle_service_hospitalier_soins_longue_duree integer,
tutelle_service_psychiatrique integer,
tutelle_autre_service integer,
curatelle_etablissement_personne_handicapee integer,
curatelle_service_personne_handicapee integer,
curatelle_ehpad integer,
curatelle_autre_etablissement_personne_agee integer,
curatelle_chrs integer,
curatelle_service_hospitalier_soins_longue_duree integer,
curatelle_service_psychiatrique integer,
curatelle_autre_service integer,
maj_etablissement_personne_handicapee integer,
maj_service_personne_handicapee integer,
maj_ehpad integer,
maj_autre_etablissement_personne_agee integer,
maj_chrs integer,
maj_service_hospitalier_soins_longue_duree integer,
maj_service_psychiatrique integer,
maj_autre_service integer,
sauvegarde_justice_etablissement_personne_handicapee integer,
sauvegarde_justice_service_personne_handicapee integer,
sauvegarde_justice_ehpad integer,
sauvegarde_justice_autre_etablissement_personne_agee integer,
sauvegarde_justice_chrs integer,
sauvegarde_justice_service_hospitalier_soins_longue_duree integer,
sauvegarde_justice_service_psychiatrique integer,
sauvegarde_justice_autre_service integer,
autre_mesures_etablissement_personne_handicapee integer,
autre_mesures_service_personne_handicapee integer,
autre_mesures_ehpad integer,
autre_mesures_autre_etablissement_personne_agee integer,
autre_mesures_chrs integer,
autre_mesures_service_hospitalier_soins_longue_duree integer,
autre_mesures_service_psychiatrique integer,
autre_mesures_autre_service integer
);
CREATE SEQUENCE public.enquete_reponses_populations_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_populations_id_seq OWNED BY public.enquete_reponses_populations.id;
CREATE TABLE public.enquete_reponses_prepose_personel_formation (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
nb_preposes_mjpm integer,
nb_preposes_mjpm_etp real,
formation_preposes_mjpm jsonb,
niveaux_qualification jsonb,
nb_preposes_homme integer,
nb_preposes_femme integer,
nb_autre_personnel integer,
nb_autre_personnel_etp real
);
CREATE SEQUENCE public.enquete_reponses_prepose_personel_formation_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_prepose_personel_formation_id_seq OWNED BY public.enquete_reponses_prepose_personel_formation.id;
CREATE TABLE public.enquete_reponses_prepose_prestations_sociales (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
tutelle jsonb,
curatelle_simple jsonb,
curatelle_renforcee jsonb,
sauvegarde_autres_mesures jsonb,
maj jsonb,
aah real,
pch real,
asi real,
rsa real,
als_apl real,
aspa real,
apa real
);
CREATE SEQUENCE public.enquete_reponses_prepose_prestations_sociales_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_prepose_prestations_sociales_id_seq OWNED BY public.enquete_reponses_prepose_prestations_sociales.id;
CREATE TABLE public.enquete_reponses_prestations_sociales (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
aah integer,
pch integer,
asi integer,
rsa integer,
als_apl integer,
aspa integer,
apa integer
);
CREATE SEQUENCE public.enquete_reponses_prestations_sociales_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_prestations_sociales_id_seq OWNED BY public.enquete_reponses_prestations_sociales.id;
CREATE TABLE public.enquete_reponses_service_informations (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
departement character varying(255),
region character varying(255),
nom character varying(255),
nb_structures_concernees integer,
affiliation_federation character varying(255),
type_organisme_gestionnaire character varying(255)
);
CREATE SEQUENCE public.enquete_reponses_service_informations_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_reponses_service_informations_id_seq OWNED BY public.enquete_reponses_service_informations.id;
CREATE TABLE public.enquete_reponses_service_personnel_formation (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
last_update timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
nb_delegues integer,
nb_delegues_etp real,
nb_delegues_cnc integer,
nb_delegues_en_formation integer,
total_heures_delegues_en_formation real,
nb_delegues_non_formes integer,
nb_delegues_niveau1 integer,
nb_delegues_niveau1_etp real,
nb_delegues_niveau2 integer,
nb_delegues_niveau2_etp real,
nb_delegues_niveau3 integer,
nb_delegues_niveau3_etp real,
nb_delegues_niveau4 integer,
nb_delegues_niveau4_etp real,
nb_delegues_niveau5 integer,
nb_delegues_niveau5_etp real,
nb_delegues_niveau6 integer,
nb_delegues_niveau6_etp real,
nb_delegues_homme integer,
nb_delegues_homme_etp real,
nb_delegues_femme integer,
nb_delegues_femme_etp real
);
CREATE SEQUENCE public.enquete_service_personnel_formation_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_service_personnel_formation_id_seq OWNED BY public.enquete_reponses_service_personnel_formation.id;
CREATE TABLE public.enquete_services (
id integer NOT NULL,
service_id integer NOT NULL,
nombre_postes_delegues_etp real,
nombre_delegues integer,
nombre_poste_autre_personnel_etp real,
nombre_delegues_cnc integer,
nombre_delegues_cnc_pjm integer,
nombre_delegues_cnc_maj integer,
nombre_delegues_cnc_dpf integer,
nombre_delegues_en_formation integer,
nombre_delegues_non_formes integer
);
CREATE SEQUENCE public.enquete_services_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquete_services_id_seq OWNED BY public.enquete_services.id;
CREATE TABLE public.enquetes (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
annee character varying(255) NOT NULL,
status character varying(255) NOT NULL,
date_fin timestamp with time zone
);
CREATE SEQUENCE public.enquetes_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.enquetes_id_seq OWNED BY public.enquetes.id;
CREATE TABLE public.etablissements (
id integer NOT NULL,
nofinesset character varying(20),
departement_id integer,
nofinessej character varying(255),
rs character varying(255),
rslongue character varying(255),
complrs character varying(255),
compldistrib character varying(255),
numvoie character varying(255),
typvoie character varying(255),
voie character varying(255),
compvoie character varying(255),
lieuditbp character varying(255),
commune character varying(255),
libdepartement character varying(255),
ligneacheminement character varying(255),
telephone character varying(255),
telecopie character varying(255),
categetab character varying(255),
libcategetab character varying(255),
categagretab character varying(255),
libcategagretab character varying(255),
siret character varying(255),
codeape character varying(255),
codemft character varying(255),
libmft character varying(255),
codesph character varying(255),
libsph character varying(255),
dateouv character varying(255),
dateautor character varying(255),
numuai character varying(255),
coordxet real,
coordyet real,
sourcecoordet character varying(255)
);
CREATE SEQUENCE public.etablissements_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.etablissements_id_seq OWNED BY public.etablissements.id;
CREATE TABLE public.lb_departements (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
lb_user_id integer,
departement_id integer,
departement_financeur boolean
);
CREATE SEQUENCE public.lb_departements_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.lb_departements_id_seq OWNED BY public.lb_departements.id;
CREATE TABLE public.lb_user_etablissements (
id integer NOT NULL,
lb_user_id integer NOT NULL,
etablissement_id integer NOT NULL,
etablissement_rattachement boolean DEFAULT false
);
CREATE SEQUENCE public.lb_user_etablissements_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.lb_user_etablissements_id_seq OWNED BY public.lb_user_etablissements.id;
CREATE TABLE public.lb_users (
id integer NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
email character varying(255),
nom character varying(255),
prenom character varying(255),
type character varying,
siret character varying(255),
adresse1 text,
adresse2 text,
code_postal text,
ville text
);
CREATE SEQUENCE public.lb_users_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.lb_users_id_seq OWNED BY public.lb_users.id;
CREATE TABLE public.lieu_vie_majeur (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.logs_data (
id integer NOT NULL,
user_id integer,
action character varying(255),
result character varying(255),
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP
);
CREATE SEQUENCE public.logs_data_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.logs_data_id_seq OWNED BY public.logs_data.id;
CREATE TABLE public.magistrat (
id integer NOT NULL,
user_id integer NOT NULL,
ti_id integer NOT NULL
);
CREATE SEQUENCE public.magistrat_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.magistrat_id_seq OWNED BY public.magistrat.id;
CREATE TABLE public.mandataire_tis (
id integer NOT NULL,
mandataire_id integer,
ti_id integer,
created_at timestamp with time zone
);
CREATE SEQUENCE public.mandataire_tis_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mandataire_tis_id_seq OWNED BY public.mandataire_tis.id;
CREATE TABLE public.mandataires (
id integer NOT NULL,
code_postal character varying(255) NOT NULL,
ville character varying(255) NOT NULL,
telephone character varying(255) NOT NULL,
adresse character varying(255) NOT NULL,
mesures_en_cours integer DEFAULT 0 NOT NULL,
dispo_max integer,
user_id integer,
telephone_portable character varying(255),
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
email_send timestamp with time zone,
genre character varying(255),
mesures_en_attente integer DEFAULT 0 NOT NULL,
competences text,
department_id integer NOT NULL,
siret character varying(255),
latitude real,
longitude real,
lb_user_id integer
);
CREATE SEQUENCE public.mandataires_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mandataires_id_seq OWNED BY public.mandataires.id;
CREATE TABLE public.mesure_etat (
id integer NOT NULL,
mesure_id integer NOT NULL,
date_changement_etat date NOT NULL,
nature_mesure text NOT NULL,
champ_mesure text,
lieu_vie text NOT NULL,
code_postal character varying(255),
ville character varying(255),
pays character varying(255) NOT NULL,
type_etablissement text
);
CREATE SEQUENCE public.mesure_etat_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mesure_etat_id_seq OWNED BY public.mesure_etat.id;
CREATE TABLE public.mesure_ressources (
id integer NOT NULL,
annee integer,
niveau_ressource numeric NOT NULL,
mesure_id integer NOT NULL
);
CREATE SEQUENCE public.mesure_ressources_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mesure_ressources_id_seq OWNED BY public.mesure_ressources.id;
CREATE TABLE public.mesure_ressources_prestations_sociales (
id integer NOT NULL,
mesure_ressources_id integer NOT NULL,
prestations_sociales text NOT NULL
);
CREATE SEQUENCE public.mesure_ressources_prestations_sociales_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mesure_ressources_prestations_sociales_id_seq OWNED BY public.mesure_ressources_prestations_sociales.id;
CREATE TABLE public.mesure_status (
value text NOT NULL
);
CREATE TABLE public.mesures (
id integer NOT NULL,
code_postal character varying(255),
ville character varying(255),
mandataire_id integer,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
annee_naissance character varying(255),
date_nomination date,
date_fin_mesure date,
etablissement_id integer,
ti_id integer,
numero_dossier character varying(255),
cabinet character varying(255),
numero_rg character varying(255),
department_id integer,
antenne_id integer,
service_id integer,
is_urgent boolean DEFAULT false,
judgment_date date,
latitude real,
longitude real,
pays character varying(255) DEFAULT 'FR'::character varying NOT NULL,
magistrat_id integer,
lieu_vie text,
type_etablissement text,
civilite text,
cause_sortie text,
nature_mesure text,
champ_mesure text,
status text,
date_premier_mesure date,
date_protection_en_cours date,
resultat_revision text
);
CREATE SEQUENCE public.mesures_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.mesures_id_seq OWNED BY public.mesures.id;
CREATE TABLE public.nature_mesure (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.ocmi_mandataires (
nom character varying NOT NULL,
prenom character varying NOT NULL,
email character varying NOT NULL,
siret character varying NOT NULL,
adresse1 character varying NOT NULL,
adresse2 character varying,
code_postal character varying NOT NULL,
ville character varying NOT NULL,
mesures jsonb DEFAULT jsonb_build_array() NOT NULL,
departement_financeur character varying NOT NULL
);
CREATE TABLE public.prestations_sociales (
value text NOT NULL
);
CREATE TABLE public.processus_states (
id character varying(255) NOT NULL,
start_date timestamp with time zone,
end_date timestamp with time zone
);
CREATE TABLE public.regions (
id integer NOT NULL,
nom character varying(255) NOT NULL
);
CREATE SEQUENCE public.regions_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.regions_id_seq OWNED BY public.regions.id;
CREATE TABLE public.resultat_revision_mesure (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.role (
id integer NOT NULL,
name character varying(255) NOT NULL
);
CREATE SEQUENCE public.role_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.role_id_seq OWNED BY public.role.id;
CREATE TABLE public.service_members (
id integer NOT NULL,
user_id integer,
service_id integer,
is_admin boolean DEFAULT false NOT NULL
);
CREATE SEQUENCE public.service_admin_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.service_admin_id_seq OWNED BY public.service_members.id;
CREATE TABLE public.service_antenne (
id integer NOT NULL,
service_id integer NOT NULL,
name character varying(255),
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
code_postal character varying(255),
ville character varying(255),
contact_lastname character varying(255),
contact_firstname character varying(255),
contact_email character varying(255),
contact_phone character varying(255),
mesures_awaiting integer DEFAULT 0 NOT NULL,
mesures_in_progress integer DEFAULT 0 NOT NULL,
mesures_max integer DEFAULT 0 NOT NULL,
adresse character varying(255),
latitude real,
longitude real
);
CREATE SEQUENCE public.service_antenne_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.service_antenne_id_seq OWNED BY public.service_antenne.id;
CREATE TABLE public.service_member_invitations (
id integer NOT NULL,
email character varying(255) NOT NULL,
token character varying(255),
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
sent_at timestamp with time zone,
service_id integer NOT NULL
);
CREATE SEQUENCE public.service_member_invitations_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.service_member_invitations_id_seq OWNED BY public.service_member_invitations.id;
CREATE TABLE public.service_tis (
id integer NOT NULL,
ti_id integer,
service_id integer NOT NULL
);
CREATE SEQUENCE public.service_tis_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.service_tis_id_seq OWNED BY public.service_tis.id;
CREATE TABLE public.services (
id integer NOT NULL,
etablissement character varying(255),
email character varying(255),
nom character varying(255),
prenom character varying(255),
code_postal character varying(255),
ville character varying(255),
telephone character varying(255),
adresse character varying(255),
dispo_max integer,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP,
competences character varying(255),
department_id integer NOT NULL,
mesures_in_progress integer,
mesures_awaiting integer,
latitude real,
longitude real,
siret character varying(255),
org_gestionnaire boolean,
org_nom character varying,
org_adresse character varying,
org_code_postal character varying,
org_ville character varying,
lb_adresse character varying,
lb_code_postal character varying,
lb_ville character varying
);
CREATE SEQUENCE public.services_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.services_id_seq OWNED BY public.services.id;
CREATE TABLE public.tis (
id integer NOT NULL,
etablissement character varying(255) NOT NULL,
email character varying(255),
code_postal character varying(255) NOT NULL,
ville character varying(255) NOT NULL,
telephone character varying(255),
created_at timestamp with time zone DEFAULT now() NOT NULL,
siret character varying(255),
adresse character varying(255),
latitude real,
longitude real,
departement_id integer,
immutable boolean DEFAULT false NOT NULL,
adresse2 character varying(255),
updated_at timestamp with time zone,
date_ouverture date,
date_fermeture date,
date_modification date,
type character varying(255)
);
CREATE SEQUENCE public.tis_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.tis_id_seq OWNED BY public.tis.id;
CREATE TABLE public.type_etablissement (
value text NOT NULL,
label text NOT NULL
);
CREATE TABLE public.user_role (
id integer NOT NULL,
role_id integer,
user_id integer
);
CREATE SEQUENCE public.user_role_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.user_role_id_seq OWNED BY public.user_role.id;
CREATE TABLE public.users (
id integer NOT NULL,
username character varying(255) NOT NULL,
password character varying(255) NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,
type character varying(255),
last_login timestamp with time zone,
active boolean DEFAULT false,
reset_password_token character varying(255),
reset_password_expires timestamp with time zone,
nom character varying(255),
prenom character varying(255),
cabinet character varying(255),
email character varying(255)
);
CREATE SEQUENCE public.users_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
CREATE VIEW public.view_mesure_gestionnaire AS
SELECT
NULL::text AS id,
NULL::integer AS service_id,
NULL::integer AS mandataire_id,
NULL::text AS discriminator,
NULL::character varying AS nom,
NULL::integer AS department_id,
NULL::character varying(255) AS dep_nom,
NULL::integer AS mesures_max,
NULL::integer AS mesures_awaiting,
NULL::integer AS mesures_in_progress,
NULL::integer AS remaining_capacity;
CREATE VIEW public.view_department_availability AS
SELECT v.department_id,
d.id_region AS region_id,
sum(v.mesures_awaiting) AS mesures_awaiting,
sum(v.mesures_in_progress) AS mesures_in_progress,
sum(v.mesures_max) AS mesures_max
FROM public.view_mesure_gestionnaire v,
public.departements d
WHERE (v.department_id = d.id)
GROUP BY v.department_id, d.id_region;
CREATE VIEW public.view_indicateur_inscrit AS
SELECT d.code,
d.nom,
u.type,
count(m.id) AS count
FROM public.mandataires m,
public.users u,
public.departements d
WHERE ((m.department_id = d.id) AND (m.user_id = u.id) AND (u.active = true))
GROUP BY d.code, d.nom, u.type
UNION
SELECT d.code,
d.nom,
u.type,
count(DISTINCT sm.service_id) AS count
FROM public.users u,
public.departements d,
public.service_members sm,
public.services s
WHERE ((u.active = true) AND (u.id = sm.user_id) AND (sm.service_id = s.id) AND (s.department_id = d.id))
GROUP BY d.code, d.nom, u.type
UNION
SELECT d.code,
d.nom,
u.type,
count(DISTINCT m.id) AS count
FROM (((public.tis t
JOIN public.departements d ON ((d.id = t.departement_id)))
JOIN public.magistrat m ON ((m.ti_id = t.id)))
JOIN public.users u ON ((u.id = m.user_id)))
WHERE (u.active = true)
GROUP BY d.code, d.nom, u.type;
CREATE VIEW public.view_indicateur_login AS
SELECT d.code,
d.nom,
u.type,
count(m.id) AS count
FROM public.mandataires m,
public.users u,
public.departements d
WHERE ((m.department_id = d.id) AND (m.user_id = u.id) AND (u.active = true) AND (u.last_login > (now() - '1 mon'::interval)))
GROUP BY d.code, d.nom, u.type
UNION
SELECT d.code,
d.nom,
u.type,
count(DISTINCT sm.service_id) AS count
FROM public.users u,
public.departements d,
public.service_members sm,
public.services s
WHERE ((u.active = true) AND (u.id = sm.user_id) AND (sm.service_id = s.id) AND (s.department_id = d.id) AND (u.last_login > (now() - '1 mon'::interval)))
GROUP BY d.code, d.nom, u.type
UNION
SELECT d.code,
d.nom,
u.type,
count(DISTINCT m.id) AS count
FROM (((public.tis t
JOIN public.departements d ON ((d.id = t.departement_id)))
JOIN public.magistrat m ON ((m.ti_id = t.id)))
JOIN public.users u ON ((u.id = m.user_id)))
WHERE ((u.active = true) AND (u.last_login > (now() - '1 mon'::interval)))
GROUP BY d.code, d.nom, u.type;
CREATE VIEW public.view_mesure_gestionnaire_tis AS
SELECT concat(u.type, '-', m.id) AS id,
NULL::integer AS service_id,
m.id AS mandataire_id,
CASE
WHEN ((u.type)::text = 'individuel'::text) THEN 'MANDATAIRE_IND'::text
ELSE 'MANDATAIRE_PRE'::text
END AS discriminator,
mti.ti_id,
u.nom AS name
FROM public.users u,
public.mandataire_tis mti,
public.mandataires m
WHERE ((u.id = m.user_id) AND (m.id = mti.mandataire_id))
UNION
SELECT concat('service-', sti.service_id) AS id,
sti.service_id,
NULL::integer AS mandataire_id,
'SERVICE'::text AS discriminator,
sti.ti_id,
s.etablissement AS name
FROM public.service_tis sti,
public.services s
WHERE (s.id = sti.service_id);
ALTER TABLE ONLY public.access_tokens ALTER COLUMN id SET DEFAULT nextval('public.access_tokens_id_seq'::regclass);
ALTER TABLE ONLY public.api_logs ALTER COLUMN id SET DEFAULT nextval('public.api_logs_id_seq'::regclass);
ALTER TABLE ONLY public.authorization_codes ALTER COLUMN id SET DEFAULT nextval('public.authorization_codes_id_seq'::regclass);
ALTER TABLE ONLY public.commentaires ALTER COLUMN id SET DEFAULT nextval('public.commentaires_co_id_seq'::regclass);
ALTER TABLE ONLY public.departements ALTER COLUMN id SET DEFAULT nextval('public.departements_id_seq'::regclass);
ALTER TABLE ONLY public.direction ALTER COLUMN id SET DEFAULT nextval('public.direction_id_seq'::regclass);
ALTER TABLE ONLY public.editor_token_requests ALTER COLUMN id SET DEFAULT nextval('public.editor_token_requests_id_seq'::regclass);
ALTER TABLE ONLY public.editors ALTER COLUMN id SET DEFAULT nextval('public.editors_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_activite ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_activite_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_agrements_formations ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_agrements_formations_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_financement ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_financement_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_informations_mandataire ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_informations_mandataire_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_modalites_exercice ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_modalite_exercice_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_populations ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_populations_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_prepose_personel_formation ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_prepose_personel_formation_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_prepose_prestations_sociales ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_prepose_prestations_sociales_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_prestations_sociales ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_prestations_sociales_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_service_informations ALTER COLUMN id SET DEFAULT nextval('public.enquete_reponses_service_informations_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_reponses_service_personnel_formation ALTER COLUMN id SET DEFAULT nextval('public.enquete_service_personnel_formation_id_seq'::regclass);
ALTER TABLE ONLY public.enquete_services ALTER COLUMN id SET DEFAULT nextval('public.enquete_services_id_seq'::regclass);
ALTER TABLE ONLY public.enquetes ALTER COLUMN id SET DEFAULT nextval('public.enquetes_id_seq'::regclass);
ALTER TABLE ONLY public.etablissements ALTER COLUMN id SET DEFAULT nextval('public.etablissements_id_seq'::regclass);
ALTER TABLE ONLY public.geolocalisation_code_postal ALTER COLUMN id SET DEFAULT nextval('public."codePostalLatLngs_id_seq"'::regclass);
ALTER TABLE ONLY public.lb_departements ALTER COLUMN id SET DEFAULT nextval('public.lb_departements_id_seq'::regclass);
ALTER TABLE ONLY public.lb_user_etablissements ALTER COLUMN id SET DEFAULT nextval('public.lb_user_etablissements_id_seq'::regclass);
ALTER TABLE ONLY public.lb_users ALTER COLUMN id SET DEFAULT nextval('public.lb_users_id_seq'::regclass);
ALTER TABLE ONLY public.logs_data ALTER COLUMN id SET DEFAULT nextval('public.logs_data_id_seq'::regclass);
ALTER TABLE ONLY public.magistrat ALTER COLUMN id SET DEFAULT nextval('public.magistrat_id_seq'::regclass);
ALTER TABLE ONLY public.mandataire_tis ALTER COLUMN id SET DEFAULT nextval('public.mandataire_tis_id_seq'::regclass);
ALTER TABLE ONLY public.mandataires ALTER COLUMN id SET DEFAULT nextval('public.mandataires_id_seq'::regclass);
ALTER TABLE ONLY public.mesure_etat ALTER COLUMN id SET DEFAULT nextval('public.mesure_etat_id_seq'::regclass);
ALTER TABLE ONLY public.mesure_ressources ALTER COLUMN id SET DEFAULT nextval('public.mesure_ressources_id_seq'::regclass);
ALTER TABLE ONLY public.mesure_ressources_prestations_sociales ALTER COLUMN id SET DEFAULT nextval('public.mesure_ressources_prestations_sociales_id_seq'::regclass);
ALTER TABLE ONLY public.mesures ALTER COLUMN id SET DEFAULT nextval('public.mesures_id_seq'::regclass);
ALTER TABLE ONLY public.regions ALTER COLUMN id SET DEFAULT nextval('public.regions_id_seq'::regclass);
ALTER TABLE ONLY public.role ALTER COLUMN id SET DEFAULT nextval('public.role_id_seq'::regclass);
ALTER TABLE ONLY public.service_antenne ALTER COLUMN id SET DEFAULT nextval('public.service_antenne_id_seq'::regclass);
ALTER TABLE ONLY public.service_member_invitations ALTER COLUMN id SET DEFAULT nextval('public.service_member_invitations_id_seq'::regclass);
ALTER TABLE ONLY public.service_members ALTER COLUMN id SET DEFAULT nextval('public.service_admin_id_seq'::regclass);
ALTER TABLE ONLY public.service_tis ALTER COLUMN id SET DEFAULT nextval('public.service_tis_id_seq'::regclass);
ALTER TABLE ONLY public.services ALTER COLUMN id SET DEFAULT nextval('public.services_id_seq'::regclass);
ALTER TABLE ONLY public.tis ALTER COLUMN id SET DEFAULT nextval('public.tis_id_seq'::regclass);
ALTER TABLE ONLY public.user_role ALTER COLUMN id SET DEFAULT nextval('public.user_role_id_seq'::regclass);
ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);
ALTER TABLE ONLY public.access_tokens
ADD CONSTRAINT access_tokens_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.api_logs
ADD CONSTRAINT api_logs_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.authorization_codes
ADD CONSTRAINT authorization_codes_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.cause_sortie_mesure
ADD CONSTRAINT cause_sortie_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.champ_mesure
ADD CONSTRAINT champ_mesure_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.civilite
ADD CONSTRAINT civilite_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.geolocalisation_code_postal
ADD CONSTRAINT "codePostalLatLngs_pkey" PRIMARY KEY (id);
ALTER TABLE ONLY public.commentaires
ADD CONSTRAINT commentaires_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.departements
ADD CONSTRAINT departements_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.direction
ADD CONSTRAINT direction_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.editor_token_requests
ADD CONSTRAINT editor_token_requests_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.editors
ADD CONSTRAINT editors_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_activite
ADD CONSTRAINT enquete_reponses_activite_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_agrements_formations
ADD CONSTRAINT enquete_reponses_agrements_formations_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_financement
ADD CONSTRAINT enquete_reponses_financement_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_informations_mandataire
ADD CONSTRAINT enquete_reponses_informations_mandataire_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_modalites_exercice
ADD CONSTRAINT enquete_reponses_modalite_exercice_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_populations
ADD CONSTRAINT enquete_reponses_populations_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_prepose_personel_formation
ADD CONSTRAINT enquete_reponses_prepose_personel_formation_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_prepose_prestations_sociales
ADD CONSTRAINT enquete_reponses_prepose_prestations_sociales_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_prestations_sociales
ADD CONSTRAINT enquete_reponses_prestations_sociales_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_service_informations
ADD CONSTRAINT enquete_reponses_service_informations_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_reponses_service_personnel_formation
ADD CONSTRAINT enquete_service_personnel_formation_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquete_services
ADD CONSTRAINT enquete_services_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.enquetes
ADD CONSTRAINT enquetes_annee_unique UNIQUE (annee);
ALTER TABLE ONLY public.enquetes
ADD CONSTRAINT enquetes_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.etablissements
ADD CONSTRAINT etablissements_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.lb_departements
ADD CONSTRAINT lb_departements_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.lb_user_etablissements
ADD CONSTRAINT lb_user_etablissements_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.lb_users
ADD CONSTRAINT lb_users_email_unique UNIQUE (email);
ALTER TABLE ONLY public.lb_users
ADD CONSTRAINT lb_users_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.lb_users
ADD CONSTRAINT lb_users_siret_unique UNIQUE (siret);
ALTER TABLE ONLY public.lieu_vie_majeur
ADD CONSTRAINT lieu_vie_majeur_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.logs_data
ADD CONSTRAINT logs_data_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.magistrat
ADD CONSTRAINT magistrat_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.magistrat
ADD CONSTRAINT magistrat_user_id_unique UNIQUE (user_id);
ALTER TABLE ONLY public.mandataire_tis
ADD CONSTRAINT mandataire_tis_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_lb_user_id_unique UNIQUE (lb_user_id);
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_siret_unique UNIQUE (siret);
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_user_id_unique UNIQUE (user_id);
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_mesure_id_date_changement_etat_unique UNIQUE (mesure_id, date_changement_etat);
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.mesure_ressources
ADD CONSTRAINT mesure_ressources_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.mesure_ressources_prestations_sociales
ADD CONSTRAINT mesure_ressources_prestations_sociales_mesure_ressources_id_pre UNIQUE (mesure_ressources_id, prestations_sociales);
ALTER TABLE ONLY public.mesure_ressources_prestations_sociales
ADD CONSTRAINT mesure_ressources_prestations_sociales_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.mesure_status
ADD CONSTRAINT mesure_status_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.nature_mesure
ADD CONSTRAINT nature_mesure_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.ocmi_mandataires
ADD CONSTRAINT ocmi_mandataires_pkey PRIMARY KEY (siret);
ALTER TABLE ONLY public.ocmi_mandataires
ADD CONSTRAINT ocmi_mandataires_siret_key UNIQUE (siret);
ALTER TABLE ONLY public.prestations_sociales
ADD CONSTRAINT prestations_sociales_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.processus_states
ADD CONSTRAINT processus_states_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.regions
ADD CONSTRAINT regions_pkey1 PRIMARY KEY (id);
ALTER TABLE ONLY public.resultat_revision_mesure
ADD CONSTRAINT resultat_revision_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.role
ADD CONSTRAINT role_name_unique UNIQUE (name);
ALTER TABLE ONLY public.role
ADD CONSTRAINT role_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.service_members
ADD CONSTRAINT service_admin_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.service_members
ADD CONSTRAINT service_admin_user_id_service_id_unique UNIQUE (user_id, service_id);
ALTER TABLE ONLY public.service_antenne
ADD CONSTRAINT service_antenne_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.service_member_invitations
ADD CONSTRAINT service_member_invitations_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.service_tis
ADD CONSTRAINT service_tis_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.service_tis
ADD CONSTRAINT service_tis_ti_id_service_id_unique UNIQUE (ti_id, service_id);
ALTER TABLE ONLY public.services
ADD CONSTRAINT services_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.services
ADD CONSTRAINT services_siret_unique UNIQUE (siret);
ALTER TABLE ONLY public.tis
ADD CONSTRAINT tis_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.tis
ADD CONSTRAINT tis_siret_unique UNIQUE (siret);
ALTER TABLE ONLY public.type_etablissement
ADD CONSTRAINT type_etablissement_pkey PRIMARY KEY (value);
ALTER TABLE ONLY public.user_role
ADD CONSTRAINT user_role_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_email_unique UNIQUE (email);
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_username_unique UNIQUE (username);
CREATE UNIQUE INDEX enquete_reponses_mandataire ON public.enquete_reponses USING btree (enquete_id, mandataire_id) WHERE (mandataire_id IS NOT NULL);
CREATE UNIQUE INDEX enquete_reponses_service ON public.enquete_reponses USING btree (enquete_id, service_id) WHERE (service_id IS NOT NULL);
CREATE INDEX geolocalisation_code_postal_code_postal_idx ON public.geolocalisation_code_postal USING btree (code_postal);
CREATE INDEX mesures_numero_rg_idx ON public.mesures USING btree (numero_rg, service_id, mandataire_id, ti_id);
CREATE INDEX service_admin_service_id_index ON public.service_members USING btree (service_id);
CREATE INDEX service_admin_user_id_index ON public.service_members USING btree (user_id);
CREATE UNIQUE INDEX tis_siret_idx ON public.tis USING btree (siret);
CREATE INDEX user_role_role_id_index ON public.user_role USING btree (role_id);
CREATE INDEX user_role_user_id_index ON public.user_role USING btree (user_id);
CREATE OR REPLACE VIEW public.view_mesure_gestionnaire AS
SELECT concat('service-', ser.id) AS id,
ser.id AS service_id,
NULL::integer AS mandataire_id,
'SERVICE'::text AS discriminator,
ser.etablissement AS nom,
dep.id AS department_id,
dep.nom AS dep_nom,
ser.dispo_max AS mesures_max,
ser.mesures_awaiting,
ser.mesures_in_progress,
((ser.dispo_max - ser.mesures_awaiting) - ser.mesures_in_progress) AS remaining_capacity
FROM public.services ser,
public.departements dep
WHERE (dep.id = ser.department_id)
GROUP BY ser.id, dep.id, dep.nom, ser.dispo_max
UNION
SELECT concat(u.type, '-', man.id) AS id,
NULL::integer AS service_id,
man.id AS mandataire_id,
CASE
WHEN ((u.type)::text = 'individuel'::text) THEN 'MANDATAIRE_IND'::text
ELSE 'MANDATAIRE_PRE'::text
END AS discriminator,
concat(u.nom, ' ', u.prenom) AS nom,
dep.id AS department_id,
dep.nom AS dep_nom,
man.dispo_max AS mesures_max,
man.mesures_en_attente AS mesures_awaiting,
man.mesures_en_cours AS mesures_in_progress,
((man.dispo_max - man.mesures_en_attente) - man.mesures_en_cours) AS remaining_capacity
FROM public.mandataires man,
public.departements dep,
public.users u
WHERE ((dep.id = man.department_id) AND (man.user_id = u.id));
ALTER TABLE ONLY public.api_logs
ADD CONSTRAINT api_logs_editor_id_foreign FOREIGN KEY (editor_id) REFERENCES public.editors(id);
ALTER TABLE ONLY public.authorization_codes
ADD CONSTRAINT authorization_codes_client_id_foreign FOREIGN KEY (client_id) REFERENCES public.editors(id);
ALTER TABLE ONLY public.authorization_codes
ADD CONSTRAINT authorization_codes_user_id_foreign FOREIGN KEY (user_id) REFERENCES public.users(id);
ALTER TABLE ONLY public.commentaires
ADD CONSTRAINT commentaires_mandataire_id_fkey FOREIGN KEY (mandataire_id) REFERENCES public.mandataires(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.commentaires
ADD CONSTRAINT commentaires_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.commentaires
ADD CONSTRAINT commentaires_ti_id_foreign FOREIGN KEY (ti_id) REFERENCES public.tis(id);
ALTER TABLE ONLY public.departements
ADD CONSTRAINT departements_id_region_foreign FOREIGN KEY (id_region) REFERENCES public.regions(id);
ALTER TABLE ONLY public.direction
ADD CONSTRAINT direction_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.direction
ADD CONSTRAINT direction_region_id_foreign FOREIGN KEY (region_id) REFERENCES public.regions(id);
ALTER TABLE ONLY public.direction
ADD CONSTRAINT direction_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_departement_id_fkey FOREIGN KEY (departement_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_id_foreign FOREIGN KEY (enquete_id) REFERENCES public.enquetes(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_activite_id_foreign FOREIGN KEY (enquete_reponses_activite_id) REFERENCES public.enquete_reponses_activite(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_agrements_formations_id_forei FOREIGN KEY (enquete_reponses_agrements_formations_id) REFERENCES public.enquete_reponses_agrements_formations(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_financement_id_foreign FOREIGN KEY (enquete_reponses_financement_id) REFERENCES public.enquete_reponses_financement(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_informations_mandataire_id_fo FOREIGN KEY (enquete_reponses_informations_mandataire_id) REFERENCES public.enquete_reponses_informations_mandataire(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_modalite_exercice_id_foreign FOREIGN KEY (enquete_reponses_modalites_exercice_id) REFERENCES public.enquete_reponses_modalites_exercice(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_populations_id_foreign FOREIGN KEY (enquete_reponses_populations_id) REFERENCES public.enquete_reponses_populations(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_prepose_personel_formation_id FOREIGN KEY (enquete_reponses_prepose_personel_formation_id) REFERENCES public.enquete_reponses_prepose_personel_formation(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_prepose_prestations_sociales_ FOREIGN KEY (enquete_reponses_prepose_prestations_sociales_id) REFERENCES public.enquete_reponses_prepose_prestations_sociales(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_prestations_sociale_id_foreig FOREIGN KEY (enquete_reponses_prestations_sociale_id) REFERENCES public.enquete_reponses_prestations_sociales(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_reponses_service_informations_id_forei FOREIGN KEY (enquete_reponses_service_informations_id) REFERENCES public.enquete_reponses_service_informations(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_enquete_service_personnel_formation_id_foreign FOREIGN KEY (enquete_reponses_service_personnel_formation_id) REFERENCES public.enquete_reponses_service_personnel_formation(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_mandataire_id_foreign FOREIGN KEY (mandataire_id) REFERENCES public.mandataires(id);
ALTER TABLE ONLY public.enquete_reponses
ADD CONSTRAINT enquete_reponses_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.enquete_services
ADD CONSTRAINT enquete_services_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.etablissements
ADD CONSTRAINT etablissements_departement_id_fkey FOREIGN KEY (departement_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.lb_departements
ADD CONSTRAINT lb_departements_departement_id_fkey FOREIGN KEY (departement_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.lb_departements
ADD CONSTRAINT lb_departements_lb_user_id_fkey FOREIGN KEY (lb_user_id) REFERENCES public.lb_users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.lb_user_etablissements
ADD CONSTRAINT lb_user_etablissements_etablissement_id_foreign FOREIGN KEY (etablissement_id) REFERENCES public.etablissements(id);
ALTER TABLE ONLY public.lb_user_etablissements
ADD CONSTRAINT lb_user_etablissements_lb_user_id_fkey FOREIGN KEY (lb_user_id) REFERENCES public.lb_users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.magistrat
ADD CONSTRAINT magistrat_ti_id_foreign FOREIGN KEY (ti_id) REFERENCES public.tis(id);
ALTER TABLE ONLY public.magistrat
ADD CONSTRAINT magistrat_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mandataire_tis
ADD CONSTRAINT mandataire_tis_mandataire_id_fkey FOREIGN KEY (mandataire_id) REFERENCES public.mandataires(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mandataire_tis
ADD CONSTRAINT mandataire_tis_ti_id_foreign FOREIGN KEY (ti_id) REFERENCES public.tis(id);
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_lb_user_id_fkey FOREIGN KEY (lb_user_id) REFERENCES public.lb_users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mandataires
ADD CONSTRAINT mandataires_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_champ_mesure_fkey FOREIGN KEY (champ_mesure) REFERENCES public.champ_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_lieu_vie_fkey FOREIGN KEY (lieu_vie) REFERENCES public.lieu_vie_majeur(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_mesure_id_fkey FOREIGN KEY (mesure_id) REFERENCES public.mesures(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_nature_mesure_fkey FOREIGN KEY (nature_mesure) REFERENCES public.nature_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesure_etat
ADD CONSTRAINT mesure_etat_type_etablissement_fkey FOREIGN KEY (type_etablissement) REFERENCES public.type_etablissement(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesure_ressources
ADD CONSTRAINT mesure_ressources_mesure_id_fkey FOREIGN KEY (mesure_id) REFERENCES public.mesures(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesure_ressources_prestations_sociales
ADD CONSTRAINT mesure_ressources_prestations_sociale_mesure_ressources_id_fkey FOREIGN KEY (mesure_ressources_id) REFERENCES public.mesure_ressources(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesure_ressources_prestations_sociales
ADD CONSTRAINT mesure_ressources_prestations_sociales_prestations_sociales_ FOREIGN KEY (prestations_sociales) REFERENCES public.prestations_sociales(value) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_antenne_id_foreign FOREIGN KEY (antenne_id) REFERENCES public.service_antenne(id);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_cause_sortie_fkey FOREIGN KEY (cause_sortie) REFERENCES public.cause_sortie_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_champ_mesure_fkey FOREIGN KEY (champ_mesure) REFERENCES public.champ_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_civilite_fkey FOREIGN KEY (civilite) REFERENCES public.civilite(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_etablissement_id_foreign FOREIGN KEY (etablissement_id) REFERENCES public.etablissements(id);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_lieu_vie_fkey FOREIGN KEY (lieu_vie) REFERENCES public.lieu_vie_majeur(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_magistrat_id_foreign FOREIGN KEY (magistrat_id) REFERENCES public.magistrat(id);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_mandataire_id_fkey FOREIGN KEY (mandataire_id) REFERENCES public.mandataires(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_nature_mesure_fkey FOREIGN KEY (nature_mesure) REFERENCES public.nature_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_resultat_revision_fkey FOREIGN KEY (resultat_revision) REFERENCES public.resultat_revision_mesure(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_status_fkey FOREIGN KEY (status) REFERENCES public.mesure_status(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_ti_id_foreign FOREIGN KEY (ti_id) REFERENCES public.tis(id);
ALTER TABLE ONLY public.mesures
ADD CONSTRAINT mesures_type_etablissement_fkey FOREIGN KEY (type_etablissement) REFERENCES public.type_etablissement(value) ON UPDATE RESTRICT ON DELETE RESTRICT;
ALTER TABLE ONLY public.service_members
ADD CONSTRAINT service_admin_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.service_antenne
ADD CONSTRAINT service_antenne_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.service_member_invitations
ADD CONSTRAINT service_member_invitations_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id) ON DELETE CASCADE;
ALTER TABLE ONLY public.service_members
ADD CONSTRAINT service_members_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ONLY public.service_tis
ADD CONSTRAINT service_tis_service_id_foreign FOREIGN KEY (service_id) REFERENCES public.services(id);
ALTER TABLE ONLY public.service_tis
ADD CONSTRAINT service_tis_ti_id_foreign FOREIGN KEY (ti_id) REFERENCES public.tis(id);
ALTER TABLE ONLY public.services
ADD CONSTRAINT services_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.tis
ADD CONSTRAINT tis_departement_id_fkey FOREIGN KEY (departement_id) REFERENCES public.departements(id) ON UPDATE CASCADE;
ALTER TABLE ONLY public.user_role
ADD CONSTRAINT user_role_role_id_foreign FOREIGN KEY (role_id) REFERENCES public.role(id);
ALTER TABLE ONLY public.user_role
ADD CONSTRAINT user_role_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id) ON UPDATE CASCADE ON DELETE CASCADE;
/*
following inserted via
pg_dump -h localhost -p 5434 -U emjpm -d emjpm --column-inserts --data-only \
-t cause_sortie_mesure \
-t champ_mesure \
-t civilite \
-t lieu_vie_majeur \
-t mesure_status \
-t nature_mesure \
-t prestations_sociales \
-t resultat_revision_mesure \
-t type_etablissement \
>> packages/hasura/migrations/1609563558335_init/up.sql
adding -t flags for all the enum tables
https://github.com/hasura/graphql-engine/issues/3142#issuecomment-542367937
*/
--
--
-- Data for Name: cause_sortie_mesure; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.cause_sortie_mesure (value, label) VALUES ('mainlevee', 'mainlevée');
INSERT INTO public.cause_sortie_mesure (value, label) VALUES ('deces', 'décès');
INSERT INTO public.cause_sortie_mesure (value, label) VALUES ('caducite', 'caducité');
INSERT INTO public.cause_sortie_mesure (value, label) VALUES ('dessaisissement_famille', 'désaissement en faveur de la famille');
INSERT INTO public.cause_sortie_mesure (value, label) VALUES ('dessaisissement_autre_mjpm', 'désaississement en faveur d''un autre MJPM');
--
-- Data for Name: champ_mesure; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.champ_mesure (value, label) VALUES ('protection_bien', 'protection des biens');
INSERT INTO public.champ_mesure (value, label) VALUES ('protection_personne', 'protection de la personne');
INSERT INTO public.champ_mesure (value, label) VALUES ('protection_bien_personne', 'protection des biens et de la personne');
--
-- Data for Name: civilite; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.civilite (value) VALUES ('madame');
INSERT INTO public.civilite (value) VALUES ('monsieur');
--
-- Data for Name: lieu_vie_majeur; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.lieu_vie_majeur (value, label) VALUES ('domicile', 'domicile');
INSERT INTO public.lieu_vie_majeur (value, label) VALUES ('etablissement', 'établissement');
INSERT INTO public.lieu_vie_majeur (value, label) VALUES ('etablissement_conservation_domicile', 'établissement avec conservation domicile');
INSERT INTO public.lieu_vie_majeur (value, label) VALUES ('sdf', 'SDF');
--
-- Data for Name: mesure_status; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.mesure_status (value) VALUES ('en_attente');
INSERT INTO public.mesure_status (value) VALUES ('en_cours');
INSERT INTO public.mesure_status (value) VALUES ('eteinte');
--
-- Data for Name: nature_mesure; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.nature_mesure (value, label) VALUES ('curatelle_simple', 'curatelle simple');
INSERT INTO public.nature_mesure (value, label) VALUES ('curatelle_renforcee', 'curatelle renforcée');
INSERT INTO public.nature_mesure (value, label) VALUES ('tutelle', 'tutelle');
INSERT INTO public.nature_mesure (value, label) VALUES ('sauvegarde_justice', 'sauvegarde justice avec mandat spécial');
INSERT INTO public.nature_mesure (value, label) VALUES ('mesure_accompagnement_judiciaire', 'mesure d''accompagnement judiciaire');
INSERT INTO public.nature_mesure (value, label) VALUES ('subroge_curateur', 'subrogé curateur');
INSERT INTO public.nature_mesure (value, label) VALUES ('subroge_tuteur', 'subrogé tuteur');
INSERT INTO public.nature_mesure (value, label) VALUES ('mandat_protection_future', 'mandat protection future');
INSERT INTO public.nature_mesure (value, label) VALUES ('mesure_ad_hoc', 'mesure ad hoc');
--
-- Data for Name: prestations_sociales; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.prestations_sociales (value) VALUES ('AAH');
INSERT INTO public.prestations_sociales (value) VALUES ('PCH');
INSERT INTO public.prestations_sociales (value) VALUES ('ASI');
INSERT INTO public.prestations_sociales (value) VALUES ('RSA');
INSERT INTO public.prestations_sociales (value) VALUES ('ALS');
INSERT INTO public.prestations_sociales (value) VALUES ('APL');
INSERT INTO public.prestations_sociales (value) VALUES ('ASPA');
INSERT INTO public.prestations_sociales (value) VALUES ('APA');
--
-- Data for Name: resultat_revision_mesure; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('mainlevee', 'mainlevée');
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('reconduction', 'reconduction de la mesure');
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('aggravation', 'aggravation');
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('allegement', 'allégement');
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('dessaisissement_famille', 'désaissement en faveur de la famille');
INSERT INTO public.resultat_revision_mesure (value, label) VALUES ('dessaisissement_autre_mjpm', 'désaississement en faveur d''un autre MJPM');
--
-- Data for Name: type_etablissement; Type: TABLE DATA; Schema: public; Owner: emjpm
--
INSERT INTO public.type_etablissement (value, label) VALUES ('etablissement_handicapes', 'établissement ou service pour handicapés');
INSERT INTO public.type_etablissement (value, label) VALUES ('etablissement_personne_agee', 'établissement pour personnes agées');
INSERT INTO public.type_etablissement (value, label) VALUES ('etablissement_conservation_domicile', 'établissement avec conservation domicile');
INSERT INTO public.type_etablissement (value, label) VALUES ('autre_etablissement_s_ms', 'autre établissement social ou médico-social');
INSERT INTO public.type_etablissement (value, label) VALUES ('etablissement_hospitalier', 'établissement hospitalier');
INSERT INTO public.type_etablissement (value, label) VALUES ('etablissement_psychiatrique', 'établissement psychiatrique');
INSERT INTO public.type_etablissement (value, label) VALUES ('autre_etablissement', 'autre établissement');
|
SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS SchoolInfo ;
DROP TABLE IF EXISTS StudentPersonal ;
DROP TABLE IF EXISTS StaffPersonal ;
DROP TABLE IF EXISTS StaffAssignment ;
DROP TABLE IF EXISTS RoomInfo ;
DROP TABLE IF EXISTS TimeTableSubject ;
DROP TABLE IF EXISTS TeachingGroup ;
DROP TABLE IF EXISTS TeachingGroup_Student ;
DROP TABLE IF EXISTS TeachingGroup_Teacher ;
DROP TABLE IF EXISTS TimeTableCell ;
DROP TABLE IF EXISTS TimeTable ;
SET FOREIGN_KEY_CHECKS = 1;
|
CREATE TABLE IF NOT EXISTS Numbers
(
item INT,
quantity INT
) !
CREATE TABLE IF NOT EXISTS Orders
(
orderID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
itemID INT,
quantity INT
) !
CREATE TABLE IF NOT EXISTS Inventory
(
itemID INT NOT NULL PRIMARY KEY,
quantity INT NOT NULL
) !
INSERT INTO Inventory
VALUES (1, 100) !
INSERT INTO Numbers
VALUES (1, 10) !
INSERT INTO Numbers
VALUES (2, 10) !
INSERT INTO Numbers
VALUES (3, 10) !
INSERT INTO Numbers
VALUES (4, 10) !
INSERT INTO Numbers
VALUES (5, 10) !
INSERT INTO Numbers
VALUES (6, 10) !
INSERT INTO Numbers
VALUES (7, 10) !
INSERT INTO Numbers
VALUES (8, 10) !
INSERT INTO Numbers
VALUES (9, 10) !
INSERT INTO Numbers
VALUES (10, 10) !
INSERT INTO Numbers
VALUES (11, 10) !
INSERT INTO Numbers
VALUES (12, 10) !
INSERT INTO Numbers
VALUES (13, 10) !
INSERT INTO Numbers
VALUES (14, 10) !
INSERT INTO Numbers
VALUES (15, 10) !
INSERT INTO Numbers
VALUES (16, 10) !
INSERT INTO Numbers
VALUES (17, 10) !
INSERT INTO Numbers
VALUES (18, 10) !
INSERT INTO Numbers
VALUES (19, 10) !
INSERT INTO Numbers
VALUES (20, 10) !
|
<gh_stars>10-100
/*
Navicat Premium Data Transfer
Source Server : 127.0.0.1_3306
Source Server Type : MySQL
Source Server Version : 50729
Source Host : 127.0.0.1:3306
Source Schema : davinci
Target Server Type : MySQL
Target Server Version : 50729
File Encoding : 65001
Date: 22/01/2020 14:34:19
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for cron_job
-- ----------------------------
DROP TABLE IF EXISTS `cron_job`;
CREATE TABLE `cron_job` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`project_id` bigint(20) NOT NULL,
`job_type` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`job_status` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`cron_expression` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`start_date` datetime(0) NOT NULL,
`end_date` datetime(0) NOT NULL,
`config` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`exec_log` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
`create_by` bigint(20) NOT NULL,
`create_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
`update_by` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`update_time` timestamp(0) NULL DEFAULT NULL,
`parent_id` bigint(20) NULL DEFAULT NULL,
`full_parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`is_folder` tinyint(1) NULL DEFAULT NULL,
`index` int(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `name_UNIQUE`(`name`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci COMMENT = '定时器表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for dashboard
-- ----------------------------
DROP TABLE IF EXISTS `dashboard`;
CREATE TABLE `dashboard` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`dashboard_portal_id` bigint(20) NOT NULL COMMENT 'portal id',
`type` smallint(1) NOT NULL COMMENT '是文件夹还是看板 文件夹 0 看板 1',
`index` int(4) NOT NULL COMMENT '顺序',
`parent_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '所属文件夹id',
`config` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '所有图标配置json',
`full_parent_Id` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '全部上级id',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_dashboard_id`(`dashboard_portal_id`) USING BTREE,
INDEX `idx_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '看板表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of dashboard
-- ----------------------------
INSERT INTO `dashboard` VALUES (1, '软件评测', 1, 0, 0, 0, NULL, NULL, 1, '2020-01-22 12:00:11', NULL, NULL);
INSERT INTO `dashboard` VALUES (2, 'xunxiao-dev', 1, 1, 0, 1, NULL, '1', 1, '2020-01-22 12:00:50', NULL, NULL);
-- ----------------------------
-- Table structure for dashboard_portal
-- ----------------------------
DROP TABLE IF EXISTS `dashboard_portal`;
CREATE TABLE `dashboard_portal` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名字',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`avatar` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '缩略图地址',
`publish` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否发布 发布 1 编辑 0',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id`(`project_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '看板门户表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of dashboard_portal
-- ----------------------------
INSERT INTO `dashboard_portal` VALUES (1, '软件评测', '', 1, '1', 0, 1, '2020-01-22 11:58:34', 1, '2020-01-22 11:59:12');
-- ----------------------------
-- Table structure for davinci_statistic_duration
-- ----------------------------
DROP TABLE IF EXISTS `davinci_statistic_duration`;
CREATE TABLE `davinci_statistic_duration` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户',
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
`start_time` timestamp(0) NULL DEFAULT NULL COMMENT '开始时间',
`end_time` timestamp(0) NULL DEFAULT NULL COMMENT '结束时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '统计持续时间' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of davinci_statistic_duration
-- ----------------------------
INSERT INTO `davinci_statistic_duration` VALUES (1, 1, '<EMAIL>', '2020-01-22 12:00:50', '2020-01-22 12:01:30');
INSERT INTO `davinci_statistic_duration` VALUES (2, 1, '<EMAIL>', '2020-01-22 12:01:39', '2020-01-22 12:01:40');
INSERT INTO `davinci_statistic_duration` VALUES (3, 1, '<EMAIL>', '2020-01-22 12:01:39', '2020-01-22 12:13:17');
INSERT INTO `davinci_statistic_duration` VALUES (4, 1, '<EMAIL>', '2020-01-22 12:18:10', '2020-01-22 12:18:38');
INSERT INTO `davinci_statistic_duration` VALUES (5, 1, '<EMAIL>', '2020-01-22 12:18:40', '2020-01-22 12:18:55');
INSERT INTO `davinci_statistic_duration` VALUES (6, 1, '<EMAIL>', '2020-01-22 12:18:55', '2020-01-22 12:18:55');
INSERT INTO `davinci_statistic_duration` VALUES (7, 1, '<EMAIL>', '2020-01-22 12:18:57', '2020-01-22 12:19:46');
INSERT INTO `davinci_statistic_duration` VALUES (8, 1, '<EMAIL>', '2020-01-22 13:48:29', '2020-01-22 13:49:21');
INSERT INTO `davinci_statistic_duration` VALUES (9, 1, '<EMAIL>', '2020-01-22 13:48:29', '2020-01-22 13:49:21');
INSERT INTO `davinci_statistic_duration` VALUES (10, 1, '<EMAIL>', '2020-01-22 13:49:37', '2020-01-22 13:51:01');
INSERT INTO `davinci_statistic_duration` VALUES (11, 1, '<EMAIL>', '2020-01-22 13:51:17', '2020-01-22 13:51:22');
INSERT INTO `davinci_statistic_duration` VALUES (12, 1, '<EMAIL>', '2020-01-22 13:51:22', '2020-01-22 13:51:22');
INSERT INTO `davinci_statistic_duration` VALUES (13, 1, '<EMAIL>', '2020-01-22 13:51:23', '2020-01-22 13:52:16');
INSERT INTO `davinci_statistic_duration` VALUES (14, 1, '<EMAIL>', '2020-01-22 13:52:17', '2020-01-22 13:53:05');
INSERT INTO `davinci_statistic_duration` VALUES (15, 1, '<EMAIL>', '2020-01-22 13:53:24', '2020-01-22 13:53:39');
INSERT INTO `davinci_statistic_duration` VALUES (16, 1, '<EMAIL>', '2020-01-22 13:58:52', '2020-01-22 13:58:58');
INSERT INTO `davinci_statistic_duration` VALUES (17, 1, '<EMAIL>', '2020-01-22 14:03:58', '2020-01-22 14:04:00');
INSERT INTO `davinci_statistic_duration` VALUES (18, 1, '<EMAIL>', '2020-01-22 14:10:32', '2020-01-22 14:10:34');
INSERT INTO `davinci_statistic_duration` VALUES (19, 1, '<EMAIL>', '2020-01-22 14:21:35', '2020-01-22 14:22:02');
INSERT INTO `davinci_statistic_duration` VALUES (20, 1, '<EMAIL>', '2020-01-22 14:22:05', '2020-01-22 14:22:35');
INSERT INTO `davinci_statistic_duration` VALUES (21, 1, '<EMAIL>', '2020-01-22 14:23:47', '2020-01-22 14:23:48');
INSERT INTO `davinci_statistic_duration` VALUES (22, 1, '<EMAIL>', '2020-01-22 13:58:41', '2020-01-22 13:58:52');
INSERT INTO `davinci_statistic_duration` VALUES (23, 1, '<EMAIL>', '2020-01-22 13:58:52', '2020-01-22 13:58:52');
-- ----------------------------
-- Table structure for davinci_statistic_terminal
-- ----------------------------
DROP TABLE IF EXISTS `davinci_statistic_terminal`;
CREATE TABLE `davinci_statistic_terminal` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户邮箱',
`browser_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '浏览器名称',
`browser_version` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '浏览器版本',
`engine_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '引擎名称',
`engine_version` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '引擎版本',
`os_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '系统名称',
`os_version` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '系统版本',
`device_model` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备模式',
`device_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备类型',
`device_vendor` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备供应商',
`cpu_architecture` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'cpu架构',
`create_time` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '统计终端表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of davinci_statistic_terminal
-- ----------------------------
INSERT INTO `davinci_statistic_terminal` VALUES (1, 1, '<EMAIL>', 'Chrome', '79.0.3945.130', 'Blink', '', 'Windows', '10', '', '', '', 'amd64', '2020-01-22 11:43:55');
INSERT INTO `davinci_statistic_terminal` VALUES (2, 1, '<EMAIL>', 'Chrome', '79.0.3945.130', 'Blink', '', 'Windows', '10', '', '', '', 'amd64', '2020-01-22 13:49:22');
-- ----------------------------
-- Table structure for davinci_statistic_visitor_operation
-- ----------------------------
DROP TABLE IF EXISTS `davinci_statistic_visitor_operation`;
CREATE TABLE `davinci_statistic_visitor_operation` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户邮箱',
`action` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'login/visit/initial/sync/search/linkage/drill/download/print',
`org_id` bigint(20) NULL DEFAULT NULL COMMENT '组织id',
`project_id` bigint(20) NULL DEFAULT NULL COMMENT '项目id',
`project_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '项目名称',
`viz_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'dashboard/display',
`viz_id` bigint(20) NULL DEFAULT NULL,
`viz_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sub_viz_id` bigint(20) NULL DEFAULT NULL,
`sub_viz_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`widget_id` bigint(20) NULL DEFAULT NULL,
`widget_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`variables` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`filters` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`groups` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`create_time` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '统计访客操作表\r\n' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of davinci_statistic_visitor_operation
-- ----------------------------
INSERT INTO `davinci_statistic_visitor_operation` VALUES (1, 1, '<EMAIL>', 'login', 0, 0, '', 'dashboard', 0, '', 0, '', 0, NULL, NULL, NULL, NULL, '2020-01-22 11:44:38');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (2, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 12:00:50');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (3, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 12:18:10');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (4, 1, '<EMAIL>', 'search', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 12:18:16');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (5, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 12:18:40');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (6, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 12:18:40');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (7, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 12:18:57');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (8, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 12:18:57');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (9, 1, '<EMAIL>', 'login', 0, 0, '', 'dashboard', 0, '', 0, '', 0, NULL, NULL, NULL, NULL, '2020-01-22 13:49:28');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (10, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 13:49:37');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (11, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:49:38');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (12, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 13:51:17');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (13, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:51:17');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (14, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 13:51:23');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (15, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:51:23');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (16, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 13:52:17');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (17, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:52:17');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (18, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:52:24');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (19, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:52:35');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (20, 1, '<EMAIL>', 'download', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 13:58:49');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (21, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 14:10:32');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (22, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 14:10:32');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (23, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 0, NULL, NULL, NULL, NULL, '2020-01-22 14:21:35');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (24, 1, '<EMAIL>', 'initial', 1, 1, '软件评测11', 'dashboard', 1, '软件评测', 2, 'xunxiao-dev', 2, 'hjbjjh', '[]', '[]', '[name]', '2020-01-22 14:21:35');
INSERT INTO `davinci_statistic_visitor_operation` VALUES (25, 1, '<EMAIL>', 'visit', 1, 1, '软件评测11', 'display', 1, '软件评测', 0, '', 0, NULL, NULL, NULL, NULL, '2020-01-22 14:26:18');
-- ----------------------------
-- Table structure for display
-- ----------------------------
DROP TABLE IF EXISTS `display`;
CREATE TABLE `display` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`avatar` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图像地址',
`publish` tinyint(1) NOT NULL COMMENT '发布状态 0 编辑 1 发布',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id`(`project_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大屏展示表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of display
-- ----------------------------
INSERT INTO `display` VALUES (1, '软件评测', '', 1, NULL, 1, 1, '2020-01-22 14:04:22', NULL, NULL);
-- ----------------------------
-- Table structure for display_slide
-- ----------------------------
DROP TABLE IF EXISTS `display_slide`;
CREATE TABLE `display_slide` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`display_id` bigint(20) NOT NULL COMMENT '大屏id',
`index` int(12) NOT NULL COMMENT '排序',
`config` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '图表配置信息',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_display_id`(`display_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '大屏图表配置表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of display_slide
-- ----------------------------
INSERT INTO `display_slide` VALUES (1, 1, 0, '{\"slideParams\":{\"width\":1920,\"height\":1080,\"backgroundColor\":[255,255,255,50],\"scaleMode\":\"scaleWidth\",\"backgroundImage\":\"/image/display/1579674359990_e7e511ae-ba64-42ef-bb7b-81e13ba200dd.png\"}}', 1, '2020-01-22 14:04:22', 1, '2020-01-22 14:26:00');
-- ----------------------------
-- Table structure for download_record
-- ----------------------------
DROP TABLE IF EXISTS `download_record`;
CREATE TABLE `download_record` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '下载文件名称',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路径',
`status` smallint(1) NOT NULL COMMENT '状态',
`create_time` datetime(0) NOT NULL,
`last_download_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_user`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '下载记录表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of download_record
-- ----------------------------
INSERT INTO `download_record` VALUES (1, 'xunxiao-dev_20200122135849', 1, 'D:\\IdeaProjects\\lucas\\davinci-boot/userfiles/\\\\download\\20200122\\excel\\1_1579672732501.xlsx', 4, '2020-01-22 13:58:50', '2020-01-22 13:58:53');
-- ----------------------------
-- Table structure for favorite
-- ----------------------------
DROP TABLE IF EXISTS `favorite`;
CREATE TABLE `favorite` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`create_time` datetime(0) NOT NULL ON UPDATE CURRENT_TIMESTAMP(0),
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `idx_user_project`(`user_id`, `project_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目收藏表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for mem_dashboard_widget
-- ----------------------------
DROP TABLE IF EXISTS `mem_dashboard_widget`;
CREATE TABLE `mem_dashboard_widget` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`dashboard_id` bigint(20) NOT NULL COMMENT '看板id',
`widget_Id` bigint(20) NULL DEFAULT NULL COMMENT '图表id',
`x` int(12) NOT NULL COMMENT 'x坐标',
`y` int(12) NOT NULL COMMENT 'y坐标',
`width` int(12) NOT NULL COMMENT '宽',
`height` int(12) NOT NULL COMMENT '高',
`polling` tinyint(1) NOT NULL DEFAULT 0 COMMENT '刷新策略 0 自动刷新 1 手动刷新',
`frequency` int(12) NULL DEFAULT NULL COMMENT '刷新间隔时间',
`config` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '配置信息',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_protal_id`(`dashboard_id`) USING BTREE,
INDEX `idx_widget_id`(`widget_Id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '图表在看板中显示位置配置表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of mem_dashboard_widget
-- ----------------------------
INSERT INTO `mem_dashboard_widget` VALUES (1, 2, 2, 0, 0, 7, 8, 0, 60, '', 1, '2020-01-22 12:18:17', 1, '2020-01-22 14:21:39');
-- ----------------------------
-- Table structure for mem_display_slide_widget
-- ----------------------------
DROP TABLE IF EXISTS `mem_display_slide_widget`;
CREATE TABLE `mem_display_slide_widget` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`display_slide_id` bigint(20) NOT NULL COMMENT '大屏图表关联id',
`widget_id` bigint(20) NULL DEFAULT NULL COMMENT '部件id',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '查询参数',
`type` smallint(1) NOT NULL COMMENT '类型',
`sub_type` smallint(2) NULL DEFAULT NULL COMMENT '子类型',
`index` int(12) NOT NULL DEFAULT 0 COMMENT '顺序',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_slide_id`(`display_slide_id`) USING BTREE,
INDEX `idx_widget_id`(`widget_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '图表在大屏中显示位置配置表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of mem_display_slide_widget
-- ----------------------------
INSERT INTO `mem_display_slide_widget` VALUES (1, 1, 2, 'hjbjjh', '{\"width\":1017,\"height\":682,\"positionX\":100,\"positionY\":301,\"backgroundColor\":[255,255,255,0],\"borderColor\":[0,0,0],\"borderWidth\":null,\"borderStyle\":\"solid\",\"borderRadius\":null,\"polling\":\"false\",\"frequency\":60}', 1, NULL, 2, 1, '2020-01-22 14:04:36', 1, '2020-01-22 14:27:17');
INSERT INTO `mem_display_slide_widget` VALUES (2, 1, 1, 'fdgb', '{\"width\":460,\"height\":250,\"positionX\":410,\"positionY\":177,\"backgroundColor\":[255,255,255,0],\"borderColor\":[0,0,0],\"borderWidth\":null,\"borderStyle\":\"solid\",\"borderRadius\":null,\"polling\":\"false\",\"frequency\":60}', 1, NULL, 1, 1, '2020-01-22 14:25:41', 1, '2020-01-22 14:27:17');
INSERT INTO `mem_display_slide_widget` VALUES (3, 1, NULL, '时间器_t2qt3', '{\"width\":460,\"height\":250,\"positionX\":1129,\"positionY\":104,\"timeFormat\":\"YYYY-MM-DD HH:mm:ss\",\"timeDuration\":1000,\"fontFamily\":null,\"fontColor\":[0,0,0],\"fontSize\":40,\"textAlign\":\"justify\",\"fontWeight\":\"normal\",\"textStyle\":[],\"lineHeight\":40,\"textIndent\":null,\"paddingTop\":null,\"paddingBottom\":null,\"paddingLeft\":null,\"paddingRight\":null,\"backgroundColor\":[255,255,255,0],\"borderColor\":[0,0,0],\"borderWidth\":null,\"borderStyle\":\"solid\",\"borderRadius\":null}', 2, 23, 3, 1, '2020-01-22 14:27:26', 1, '2020-01-22 14:27:29');
-- ----------------------------
-- Table structure for organization
-- ----------------------------
DROP TABLE IF EXISTS `organization`;
CREATE TABLE `organization` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '组织名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组织说明',
`avatar` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像地址',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`project_num` int(20) NULL DEFAULT 0 COMMENT '项目数量',
`member_num` int(20) NULL DEFAULT 0 COMMENT '用户数量',
`role_num` int(20) NULL DEFAULT 0 COMMENT '角色数量',
`allow_create_project` tinyint(1) NULL DEFAULT 1 COMMENT '允许创建的项目数量',
`member_permission` smallint(1) NOT NULL DEFAULT 0 COMMENT '用户权限 0 不可见任何 1 只可见公开',
`create_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
`create_by` bigint(20) NOT NULL DEFAULT 0,
`update_time` timestamp(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '组织表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of organization
-- ----------------------------
INSERT INTO `organization` VALUES (1, '软件评测', 'dsfsddsd', NULL, 1, 1, 3, 1, 1, 1, '2020-01-22 11:48:06', 1, '2020-01-22 11:53:59', 1);
-- ----------------------------
-- Table structure for platform
-- ----------------------------
DROP TABLE IF EXISTS `platform`;
CREATE TABLE `platform` (
`id` bigint(20) NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`platform` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '平台',
`code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '代码',
`checkCode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检测代码',
`checkSystemToken` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检测系统token',
`checkUrl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '检测地址',
`alternateField1` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备用字段',
`alternateField2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`alternateField3` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`alternateField4` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`alternateField5` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '平台表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for project
-- ----------------------------
DROP TABLE IF EXISTS `project`;
CREATE TABLE `project` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '项目名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`pic` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '缩略图',
`org_id` bigint(20) NOT NULL COMMENT '组织id',
`user_id` bigint(20) NOT NULL COMMENT '所有者用户id',
`visibility` tinyint(1) NULL DEFAULT 1 COMMENT '可见性: 公开 1 授权 0',
`star_num` int(11) NULL DEFAULT 0 COMMENT '星星数量',
`is_transfer` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否移交',
`initial_org_id` bigint(20) NOT NULL COMMENT '创建的组织id',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '项目表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of project
-- ----------------------------
INSERT INTO `project` VALUES (1, '软件评测11', 'dfddf', '4', 1, 1, 1, 6, 0, 1, 1, '2020-01-22 11:49:26', 1, '2020-01-22 11:56:50');
-- ----------------------------
-- Table structure for rel_project_admin
-- ----------------------------
DROP TABLE IF EXISTS `rel_project_admin`;
CREATE TABLE `rel_project_admin` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`project_id` bigint(20) NOT NULL,
`user_id` bigint(20) NOT NULL,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `idx_project_user`(`project_id`, `user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目管理员关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_dashboard
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_dashboard`;
CREATE TABLE `rel_role_dashboard` (
`role_id` bigint(20) NOT NULL,
`dashboard_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `dashboard_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色看板关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_dashboard_widget
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_dashboard_widget`;
CREATE TABLE `rel_role_dashboard_widget` (
`role_id` bigint(20) NOT NULL,
`mem_dashboard_widget_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `mem_dashboard_widget_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色看板图表关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_display
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_display`;
CREATE TABLE `rel_role_display` (
`role_id` bigint(20) NOT NULL,
`display_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `display_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色大屏关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_display_slide_widget
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_display_slide_widget`;
CREATE TABLE `rel_role_display_slide_widget` (
`role_id` bigint(20) NOT NULL,
`mem_display_slide_widget_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `mem_display_slide_widget_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色大屏幻灯片部件关联表\r\n幻灯片就类似同一个页面分了多个屏幕\r\n可以左右滑动切换或者怎么切换方式' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_portal
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_portal`;
CREATE TABLE `rel_role_portal` (
`role_id` bigint(20) NOT NULL,
`portal_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `portal_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色门户关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_project
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_project`;
CREATE TABLE `rel_role_project` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`project_id` bigint(20) NOT NULL,
`role_id` bigint(20) NOT NULL,
`source_permission` smallint(1) NOT NULL DEFAULT 1,
`view_permission` smallint(1) NOT NULL DEFAULT 1,
`widget_permission` smallint(1) NOT NULL DEFAULT 1,
`viz_permission` smallint(1) NOT NULL DEFAULT 1,
`schedule_permission` smallint(1) NOT NULL DEFAULT 1,
`share_permission` tinyint(1) NOT NULL DEFAULT 0,
`download_permission` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `idx_role_project`(`project_id`, `role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色项目关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_slide
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_slide`;
CREATE TABLE `rel_role_slide` (
`role_id` bigint(20) NOT NULL,
`slide_id` bigint(20) NOT NULL,
`visible` tinyint(1) NOT NULL DEFAULT 0,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`role_id`, `slide_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色幻灯片关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_role_user
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_user`;
CREATE TABLE `rel_role_user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL,
`role_id` bigint(20) NOT NULL,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `idx_role_user`(`user_id`, `role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色用户关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of rel_role_user
-- ----------------------------
INSERT INTO `rel_role_user` VALUES (1, 1, 1, 1, '2020-01-22 11:52:07', NULL, NULL);
-- ----------------------------
-- Table structure for rel_role_view
-- ----------------------------
DROP TABLE IF EXISTS `rel_role_view`;
CREATE TABLE `rel_role_view` (
`view_id` bigint(20) NOT NULL,
`role_id` bigint(20) NOT NULL,
`row_auth` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`column_auth` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`view_id`, `role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色视图关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for rel_user_organization
-- ----------------------------
DROP TABLE IF EXISTS `rel_user_organization`;
CREATE TABLE `rel_user_organization` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`org_id` bigint(20) NOT NULL COMMENT '组织id',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`role` smallint(1) NOT NULL DEFAULT 0 COMMENT '角色id',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `idx_org_user`(`org_id`, `user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色用户组织表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of rel_user_organization
-- ----------------------------
INSERT INTO `rel_user_organization` VALUES (1, 1, 1, 1);
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`org_id` bigint(20) NOT NULL COMMENT '组织id',
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图表地址',
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_orgid`(`org_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '权限表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES (1, 1, '软件评测', '', 1, '2020-01-22 11:51:15', NULL, NULL, NULL);
-- ----------------------------
-- Table structure for share_download_record
-- ----------------------------
DROP TABLE IF EXISTS `share_download_record`;
CREATE TABLE `share_download_record` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`uuid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`status` smallint(1) NOT NULL,
`create_time` datetime(0) NOT NULL,
`last_download_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '分享下载记录表\r\n(分享的页面里面点击下载了,需要进行记录)' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for source
-- ----------------------------
DROP TABLE IF EXISTS `source`;
CREATE TABLE `source` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`config` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'json配置信息',
`type` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '数据源类型',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`parent_id` bigint(20) NULL DEFAULT NULL,
`full_parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`is_folder` tinyint(1) NULL DEFAULT NULL,
`index` int(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id`(`project_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数据源表\r\n' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of source
-- ----------------------------
INSERT INTO `source` VALUES (1, '测试', '', '{\"ext\":false,\"password\":\"<PASSWORD>\",\"properties\":[],\"url\":\"jdbc:mysql://localhost:3306/davinci\",\"username\":\"root\",\"version\":\"\"}', 'jdbc', 1, 1, '2020-01-22 12:02:52', NULL, NULL, NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for star
-- ----------------------------
DROP TABLE IF EXISTS `star`;
CREATE TABLE `star` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`target` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '表名',
`target_id` bigint(20) NOT NULL COMMENT '主键id',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`star_time` datetime(0) NOT NULL ON UPDATE CURRENT_TIMESTAMP(0),
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_target_id`(`target_id`) USING BTREE,
INDEX `idx_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '星星' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of star
-- ----------------------------
INSERT INTO `star` VALUES (1, 'project', 1, 1, '2020-01-22 13:49:33');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户id',
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '邮箱',
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户名',
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
`admin` tinyint(1) NOT NULL COMMENT '是否为管理员',
`active` tinyint(1) NULL DEFAULT NULL COMMENT '激活状态',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`department` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门名称',
`avatar` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像地址',
`create_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
`create_by` bigint(20) NOT NULL DEFAULT 0,
`update_time` timestamp(0) NOT NULL DEFAULT '1970-01-01 08:00:01',
`update_by` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户表\r\n' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, '<EMAIL>', 'admin', '$2a$10$z1igM3C6kpK2vcKIWd.S8usvBM2VmO2hdbIMJ.5PImFCR2/e4Zrwi', 1, 1, '软件评测', '', '', NULL, '2020-01-22 11:44:30', 0, '1970-01-01 08:00:01', 0);
-- ----------------------------
-- Table structure for view
-- ----------------------------
DROP TABLE IF EXISTS `view`;
CREATE TABLE `view` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`source_id` bigint(20) NOT NULL COMMENT '数据源id',
`sql` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '用户输入的SQL语句',
`model` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '抽取出来的数据表模型',
`variable` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '变量配置信息',
`config` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '配置,暂不知什么配置',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`parent_id` bigint(20) NULL DEFAULT NULL,
`full_parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`is_folder` tinyint(1) NULL DEFAULT NULL,
`index` int(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id`(`project_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '视图表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of view
-- ----------------------------
INSERT INTO `view` VALUES (1, '侧饿饿', '', 1, 1, 'SELECT * FROM organization', '{\"id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"name\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"description\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"avatar\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"user_id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"project_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"role_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"allow_create_project\":{\"sqlType\":\"TINYINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_permission\":{\"sqlType\":\"SMALLINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"create_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"create_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"update_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"update_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"}}', '[{\"name\":\"dev\",\"alias\":\"sharcre\",\"type\":\"query\",\"valueType\":\"string\",\"udf\":false,\"defaultValues\":[],\"key\":\"oFbqK\"}]', '', 1, '2020-01-22 12:06:54', 1, '2020-01-22 12:09:35', NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for widget
-- ----------------------------
DROP TABLE IF EXISTS `widget`;
CREATE TABLE `widget` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '名称',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '说明',
`view_id` bigint(20) NOT NULL COMMENT '视图id',
`project_id` bigint(20) NOT NULL COMMENT '项目id',
`type` bigint(20) NOT NULL COMMENT '展示类型 ',
`publish` tinyint(1) NOT NULL COMMENT '是否发布',
`config` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '配置信息',
`create_by` bigint(20) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_by` bigint(20) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`parent_id` bigint(20) NULL DEFAULT NULL,
`full_parent_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`is_folder` tinyint(1) NULL DEFAULT NULL,
`index` int(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `idx_project_id`(`project_id`) USING BTREE,
INDEX `idx_view_id`(`view_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部件表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of widget
-- ----------------------------
INSERT INTO `widget` VALUES (1, 'fdgb', '', 1, 1, 1, 1, '{\"cols\":[{\"name\":\"name\",\"visualType\":\"string\",\"type\":\"category\",\"field\":{\"alias\":\"\",\"desc\":\"\",\"useExpression\":false},\"format\":{\"formatType\":\"default\"}}],\"rows\":[],\"metrics\":[{\"name\":\"member_num@davinci@CFA4F3B7\",\"visualType\":\"number\",\"type\":\"value\",\"agg\":\"sum\",\"chart\":{\"id\":1,\"name\":\"pivot\",\"title\":\"透视表\",\"icon\":\"icon-table\",\"coordinate\":\"cartesian\",\"rules\":[{\"dimension\":[0,9999],\"metric\":[0,9999]}],\"data\":{\"cols\":{\"title\":\"列\",\"type\":\"category\"},\"rows\":{\"title\":\"行\",\"type\":\"category\"},\"metrics\":{\"title\":\"指标\",\"type\":\"value\"},\"filters\":{\"title\":\"筛选\",\"type\":\"all\"},\"color\":{\"title\":\"颜色\",\"type\":\"category\"}},\"style\":{\"pivot\":{\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\"}}},\"field\":{\"alias\":\"\",\"desc\":\"\",\"useExpression\":false},\"format\":{\"formatType\":\"default\"}},{\"name\":\"project_num@davinci@346F95E6\",\"visualType\":\"number\",\"type\":\"value\",\"agg\":\"sum\",\"chart\":{\"id\":1,\"name\":\"pivot\",\"title\":\"透视表\",\"icon\":\"icon-table\",\"coordinate\":\"cartesian\",\"rules\":[{\"dimension\":[0,9999],\"metric\":[0,9999]}],\"data\":{\"cols\":{\"title\":\"列\",\"type\":\"category\"},\"rows\":{\"title\":\"行\",\"type\":\"category\"},\"metrics\":{\"title\":\"指标\",\"type\":\"value\"},\"filters\":{\"title\":\"筛选\",\"type\":\"all\"},\"color\":{\"title\":\"颜色\",\"type\":\"category\"}},\"style\":{\"pivot\":{\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\"}}},\"field\":{\"alias\":\"\",\"desc\":\"\",\"useExpression\":false},\"format\":{\"formatType\":\"default\"}}],\"filters\":[],\"color\":{\"title\":\"颜色\",\"type\":\"category\",\"value\":{},\"items\":[]},\"chartStyles\":{\"pivot\":{\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\"}},\"selectedChart\":3,\"data\":[],\"pagination\":{\"pageNo\":0,\"pageSize\":0,\"withPaging\":false,\"totalCount\":0},\"renderType\":\"rerender\",\"orders\":[],\"mode\":\"pivot\",\"model\":{\"id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"name\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"description\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"avatar\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"user_id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"project_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"role_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"allow_create_project\":{\"sqlType\":\"TINYINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_permission\":{\"sqlType\":\"SMALLINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"create_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"create_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"update_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"update_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"}},\"controls\":[],\"computed\":[],\"cache\":false,\"expired\":300,\"autoLoadData\":true}', 1, '2020-01-22 12:14:02', 1, '2020-01-22 12:15:41', NULL, NULL, NULL, NULL);
INSERT INTO `widget` VALUES (2, 'hjbjjh', '', 1, 1, 1, 1, '{\"data\":[],\"cols\":[{\"name\":\"name\",\"visualType\":\"string\",\"type\":\"category\",\"field\":{\"alias\":\"大富科技地方\",\"useExpression\":false,\"desc\":\"\"},\"format\":{\"formatType\":\"default\"},\"from\":\"cols\"}],\"rows\":[],\"metrics\":[{\"name\":\"member_num@davinci@5E48FA7F\",\"visualType\":\"number\",\"type\":\"value\",\"agg\":\"sum\",\"chart\":{\"id\":1,\"name\":\"table\",\"title\":\"表格\",\"icon\":\"icon-table\",\"coordinate\":\"other\",\"rules\":[{\"dimension\":[0,9999],\"metric\":[0,9999]}],\"data\":{\"cols\":{\"title\":\"列\",\"type\":\"category\"},\"rows\":{\"title\":\"行\",\"type\":\"category\"},\"metrics\":{\"title\":\"指标\",\"type\":\"value\"},\"filters\":{\"title\":\"筛选\",\"type\":\"all\"}},\"style\":{\"table\":{\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\",\"headerConfig\":[],\"columnsConfig\":[],\"leftFixedColumns\":[],\"rightFixedColumns\":[],\"headerFixed\":true,\"autoMergeCell\":true,\"bordered\":true,\"size\":\"default\",\"withPaging\":true,\"pageSize\":\"20\",\"withNoAggregators\":false},\"spec\":{}}},\"field\":{\"alias\":\"\",\"desc\":\"\",\"useExpression\":false},\"format\":{\"formatType\":\"default\"},\"from\":\"metrics\"},{\"name\":\"project_num@davinci@7FB406F1\",\"visualType\":\"number\",\"type\":\"value\",\"agg\":\"sum\",\"chart\":{\"id\":1,\"name\":\"table\",\"title\":\"表格\",\"icon\":\"icon-table\",\"coordinate\":\"other\",\"rules\":[{\"dimension\":[0,9999],\"metric\":[0,9999]}],\"data\":{\"cols\":{\"title\":\"列\",\"type\":\"category\"},\"rows\":{\"title\":\"行\",\"type\":\"category\"},\"metrics\":{\"title\":\"指标\",\"type\":\"value\"},\"filters\":{\"title\":\"筛选\",\"type\":\"all\"}},\"style\":{\"table\":{\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\",\"lineStyle\":\"solid\",\"lineColor\":\"#D9D9D9\",\"headerBackgroundColor\":\"#f7f7f7\",\"headerConfig\":[],\"columnsConfig\":[],\"leftFixedColumns\":[],\"rightFixedColumns\":[],\"headerFixed\":true,\"autoMergeCell\":true,\"bordered\":true,\"size\":\"default\",\"withPaging\":true,\"pageSize\":\"20\",\"withNoAggregators\":false},\"spec\":{}}},\"field\":{\"alias\":\"\",\"desc\":\"\",\"useExpression\":false},\"format\":{\"formatType\":\"default\"},\"from\":\"metrics\"}],\"filters\":[],\"color\":{\"title\":\"颜色\",\"type\":\"category\",\"value\":{\"all\":\"#509af2\",\"member_num@davinci@5E48FA7F\":\"#509af2\",\"project_num@davinci@7FB406F1\":\"#3acf7a\"},\"items\":[]},\"tip\":{\"title\":\"提示信息\",\"type\":\"value\",\"items\":[]},\"chartStyles\":{\"bar\":{\"barChart\":false,\"border\":{\"color\":\"#000\",\"width\":0,\"type\":\"solid\",\"radius\":0},\"gap\":30,\"width\":null,\"stack\":{\"on\":false,\"percentage\":false,\"group\":[],\"sum\":{\"show\":false,\"font\":{\"fontFamily\":\"PingFang SC\",\"fontStyle\":\"normal\",\"fontSize\":\"14px\",\"fontWeight\":\"normal\",\"fontColor\":\"#666\"}}}},\"label\":{\"showLabel\":false,\"labelPosition\":\"top\",\"labelFontFamily\":\"PingFang SC\",\"labelFontSize\":\"12\",\"labelColor\":\"#666\"},\"xAxis\":{\"showLine\":true,\"lineStyle\":\"solid\",\"lineSize\":\"1\",\"lineColor\":\"#D9D9D9\",\"showLabel\":true,\"labelFontFamily\":\"PingFang SC\",\"labelFontSize\":\"12\",\"labelColor\":\"#666\",\"xAxisInterval\":0,\"xAxisRotate\":0},\"yAxis\":{\"showLine\":true,\"lineStyle\":\"solid\",\"lineSize\":\"1\",\"lineColor\":\"#D9D9D9\",\"showLabel\":true,\"labelFontFamily\":\"PingFang SC\",\"labelFontSize\":\"12\",\"labelColor\":\"#666\",\"showTitleAndUnit\":true,\"titleFontFamily\":\"PingFang SC\",\"titleFontSize\":\"12\",\"titleColor\":\"#666\",\"nameLocation\":\"middle\",\"nameRotate\":90,\"nameGap\":40,\"min\":null,\"max\":null},\"splitLine\":{\"showHorizontalLine\":true,\"horizontalLineStyle\":\"dashed\",\"horizontalLineSize\":\"1\",\"horizontalLineColor\":\"#D9D9D9\",\"showVerticalLine\":false,\"verticalLineStyle\":\"dashed\",\"verticalLineSize\":\"1\",\"verticalLineColor\":\"#D9D9D9\"},\"legend\":{\"showLegend\":true,\"legendPosition\":\"right\",\"selectAll\":true,\"fontFamily\":\"PingFang SC\",\"fontSize\":\"12\",\"color\":\"#666\"},\"spec\":{}},\"selectedChart\":3,\"pagination\":{\"pageNo\":0,\"pageSize\":0,\"withPaging\":false,\"totalCount\":0},\"dimetionAxis\":\"col\",\"renderType\":\"clear\",\"orders\":[],\"mode\":\"chart\",\"model\":{\"id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"name\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"description\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"avatar\":{\"sqlType\":\"VARCHAR\",\"visualType\":\"string\",\"modelType\":\"category\"},\"user_id\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"project_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"role_num\":{\"sqlType\":\"INT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"allow_create_project\":{\"sqlType\":\"TINYINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"member_permission\":{\"sqlType\":\"SMALLINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"create_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"create_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"},\"update_time\":{\"sqlType\":\"TIMESTAMP\",\"visualType\":\"date\",\"modelType\":\"category\"},\"update_by\":{\"sqlType\":\"BIGINT\",\"visualType\":\"number\",\"modelType\":\"value\"}},\"controls\":[],\"computed\":[],\"cache\":false,\"expired\":300,\"autoLoadData\":true}', 1, '2020-01-22 12:16:55', 1, '2020-01-22 13:51:17', NULL, NULL, NULL, NULL);
SET FOREIGN_KEY_CHECKS = 1;
|
ALTER TABLE public.trials
ADD COLUMN runner_state text NOT NULL DEFAULT 'UNSPECIFIED';
|
<gh_stars>1000+
ALTER TABLE TXNS ADD TXN_AGENT_INFO nvarchar(128) NULL;
|
<filename>lifetime-ejb/src/main/resources/db/migration/V6__create_table_lifetime_event.sql
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Author: zuacaldeira
* Created: May 30, 2016
*/
CREATE TABLE IF NOT EXISTS `lifetime`.`lifetime_event` (
`id` INT NOT NULL AUTO_INCREMENT,
`title` VARCHAR(45) NULL,
`event_start` DATE NULL,
`event_end` DATE NULL,
`status` ENUM('CREATED', 'RUNNING', 'PAUSED', 'STOPPED', 'FINISHED') NULL DEFAULT 'CREATED',
`lifetime_user_id` INT NOT NULL,
`lifetime_org_id` INT NOT NULL,
`address_id` INT NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC),
INDEX `fk_lifetime_event_lifetime_user1_idx` (`lifetime_user_id` ASC),
INDEX `fk_lifetime_event_lifetime_org1_idx` (`lifetime_org_id` ASC),
INDEX `fk_lifetime_event_address1_idx` (`address_id` ASC),
CONSTRAINT `fk_lifetime_event_lifetime_user1`
FOREIGN KEY (`lifetime_user_id`)
REFERENCES `lifetime`.`lifetime_user` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_lifetime_event_lifetime_org1`
FOREIGN KEY (`lifetime_org_id`)
REFERENCES `lifetime`.`lifetime_org` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_lifetime_event_address1`
FOREIGN KEY (`address_id`)
REFERENCES `lifetime`.`address` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
|
/*
SQLyog Enterprise - MySQL GUI v7.02
MySQL - 5.6.12-log : Database - snackr_db
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!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 DATABASE /*!32312 IF NOT EXISTS*/`snackr_db` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `snackr_db`;
/*Table structure for table `tbl_input_code` */
DROP TABLE IF EXISTS `tbl_input_code`;
CREATE TABLE `tbl_input_code` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`email` varchar(256) NOT NULL COMMENT 'Customer Email',
`code` varchar(10) NOT NULL COMMENT 'Referral Code',
`created_time` datetime DEFAULT NULL,
`modified_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*Data for the table `tbl_input_code` */
insert into `tbl_input_code`(`id`,`email`,`code`,`created_time`,`modified_time`) values (1,'<EMAIL>','xP0E4r','2015-09-25 16:27:30','2015-09-25 16:27:30'),(2,'<EMAIL>','CZp28c','2015-09-25 16:29:45','2015-09-25 16:29:45'),(3,'<EMAIL>','G1PxUV','2015-09-25 16:33:35','2015-09-25 16:33:35'),(4,'<EMAIL>','ehTIBY','2015-09-25 16:35:17','2015-09-25 16:35:17'),(5,'<EMAIL>','9jlX1P','2015-09-25 16:41:01','2015-09-25 16:41:01');
/*Table structure for table `tbl_referral_code` */
DROP TABLE IF EXISTS `tbl_referral_code`;
CREATE TABLE `tbl_referral_code` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`email` varchar(256) NOT NULL COMMENT 'Code Owner''s Email',
`code` varchar(10) NOT NULL COMMENT 'ReferralCode',
`created_time` datetime DEFAULT NULL,
`modified_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
/*Data for the table `tbl_referral_code` */
insert into `tbl_referral_code`(`id`,`email`,`code`,`created_time`,`modified_time`) values (1,'<EMAIL>','xP0E4r','2015-09-25 15:56:18','2015-09-25 15:56:18'),(2,'<EMAIL>','GlPxUV','2015-09-25 16:14:05','2015-09-25 16:14:05'),(3,'<EMAIL>','CZp28c','2015-09-25 16:28:43','2015-09-25 16:28:43'),(4,'<EMAIL>','45KxbG','2015-09-25 16:29:56','2015-09-25 16:29:56'),(5,'<EMAIL>','6ZKZCw','2015-09-25 16:30:40','2015-09-25 16:30:40'),(6,'<EMAIL>','9jlX1P','2015-09-25 16:33:43','2015-09-25 16:33:43'),(7,'<EMAIL>','ehTIBY','2015-09-25 16:34:32','2015-09-25 16:34:32'),(8,'<EMAIL>','4o6qy4','2015-09-25 16:36:55','2015-09-25 16:36:55'),(9,'<EMAIL>','QgJ4C5','2015-09-25 16:39:12','2015-09-25 16:39:12'),(10,'<EMAIL>','aWGkd5','2015-09-25 16:41:36','2015-09-25 16:41:36'),(11,'<EMAIL>','W4xcOr','2015-09-25 16:41:39','2015-09-25 16:41:39'),(12,'<EMAIL>','DA3tWd','2015-09-25 16:41:44','2015-09-25 16:41:44');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
<reponame>elobo24/prueba_ender_distritohosting
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 11-04-2018 a las 04:12:41
-- Versión del servidor: 10.1.13-MariaDB
-- Versión de PHP: 7.0.8
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: `ender`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `ender`
--
CREATE TABLE `ender` (
`id` bigint(20) UNSIGNED NOT NULL,
`cedula` varchar(8) NOT NULL,
`nombre` varchar(50) NOT NULL,
`apellido` varchar(50) NOT NULL,
`edad` varchar(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `ender`
--
INSERT INTO `ender` (`id`, `cedula`, `nombre`, `apellido`, `edad`) VALUES
(3, '18022016', '<NAME>', '<NAME>', '29');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `ender`
--
ALTER TABLE `ender`
ADD UNIQUE KEY `id` (`id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `ender`
--
ALTER TABLE `ender`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
/*!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>StarcadeDesigns/SQL-Learning<filename>Homework 3/Advent items orders between 3-5.sql<gh_stars>0
select a.name
, s.Name
, i.Name
, s.id
from Adventurer a
join orders o on
a.id = o.AdventurerID
--Store table was not needed in join as the storeID can be found in the orders table for the where
--join Stores s on
-- o.StoreID = s.ID
join items i on
i.ID = o.ItemID
where StoreID between 3 and 5
--Provide me with a list of each adventurer name and each item name that each adventurer has ever purchased from stores with a store # between 3-5.
|
<filename>mimotoV1.0.02014-05-15.sql
-- phpMyAdmin SQL Dump
-- version 3.4.10.1deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 15, 2014 at 02:27 PM
-- Server version: 5.5.34
-- PHP Version: 5.3.10-1ubuntu3.8
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: `mimoto`
--
-- --------------------------------------------------------
--
-- Table structure for table `action_recorder`
--
CREATE TABLE IF NOT EXISTS `action_recorder` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`module` varchar(255) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`identifier` varchar(255) NOT NULL,
`success` char(1) DEFAULT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_action_recorder_module` (`module`),
KEY `idx_action_recorder_user_id` (`user_id`),
KEY `idx_action_recorder_identifier` (`identifier`),
KEY `idx_action_recorder_date_added` (`date_added`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
--
-- Dumping data for table `action_recorder`
--
INSERT INTO `action_recorder` (`id`, `module`, `user_id`, `user_name`, `identifier`, `success`, `date_added`) VALUES
(1, 'ar_admin_login', 1, 'kpizk', '127.0.0.1', '1', '2014-04-16 16:35:55'),
(2, 'ar_admin_login', 0, 'tiendavirtual', '127.0.0.1', '0', '2014-05-02 10:43:36'),
(3, 'ar_admin_login', 0, 'tiendavirtual', '127.0.0.1', '0', '2014-05-02 10:43:42'),
(4, 'ar_admin_login', 0, 'admin@localhost', '127.0.0.1', '0', '2014-05-02 10:43:55'),
(5, 'ar_admin_login', 0, 'admin', '127.0.0.1', '0', '2014-05-02 10:44:05'),
(6, 'ar_admin_login', 0, 'kpizk', '127.0.0.1', '0', '2014-05-02 10:45:04'),
(7, 'ar_admin_login', 0, 'kpizk', '127.0.0.1', '0', '2014-05-02 10:45:09');
-- --------------------------------------------------------
--
-- Table structure for table `address_book`
--
CREATE TABLE IF NOT EXISTS `address_book` (
`address_book_id` int(11) NOT NULL AUTO_INCREMENT,
`customers_id` int(11) NOT NULL,
`entry_gender` char(1) DEFAULT NULL,
`entry_company` varchar(255) DEFAULT NULL,
`entry_firstname` varchar(255) NOT NULL,
`entry_lastname` varchar(255) NOT NULL,
`entry_street_address` varchar(255) NOT NULL,
`entry_suburb` varchar(255) DEFAULT NULL,
`entry_postcode` varchar(255) NOT NULL,
`entry_city` varchar(255) NOT NULL,
`entry_state` varchar(255) DEFAULT NULL,
`entry_country_id` int(11) NOT NULL DEFAULT '0',
`entry_zone_id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`address_book_id`),
KEY `idx_address_book_customers_id` (`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `address_format`
--
CREATE TABLE IF NOT EXISTS `address_format` (
`address_format_id` int(11) NOT NULL AUTO_INCREMENT,
`address_format` varchar(128) NOT NULL,
`address_summary` varchar(48) NOT NULL,
PRIMARY KEY (`address_format_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Dumping data for table `address_format`
--
INSERT INTO `address_format` (`address_format_id`, `address_format`, `address_summary`) VALUES
(1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country'),
(2, '$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country', '$city, $state / $country'),
(3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country'),
(4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country'),
(5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country');
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`admin_id` int(11) NOT NULL AUTO_INCREMENT,
`admin_groups_id` int(11) DEFAULT NULL,
`admin_firstname` varchar(32) NOT NULL DEFAULT '',
`admin_lastname` varchar(32) DEFAULT NULL,
`admin_email_address` varchar(96) NOT NULL DEFAULT '',
`admin_password` varchar(40) NOT NULL DEFAULT '',
`admin_created` datetime DEFAULT NULL,
`admin_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`admin_logdate` datetime DEFAULT NULL,
`admin_lognum` int(11) NOT NULL DEFAULT '0',
`admin_cat_access` text NOT NULL,
`admin_right_access` text NOT NULL,
PRIMARY KEY (`admin_id`),
UNIQUE KEY `admin_email_address` (`admin_email_address`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`admin_id`, `admin_groups_id`, `admin_firstname`, `admin_lastname`, `admin_email_address`, `admin_password`, `admin_created`, `admin_modified`, `admin_logdate`, `admin_lognum`, `admin_cat_access`, `admin_right_access`) VALUES
(1, 1, 'Andres', 'Chabur', 'kpizk@localhost', <PASSWORD>', '2014-04-16 14:27:53', '2014-04-16 15:44:59', '2014-04-16 15:41:28', 17, 'ALL', '');
-- --------------------------------------------------------
--
-- Table structure for table `administrators`
--
CREATE TABLE IF NOT EXISTS `administrators` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_name` varchar(255) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
`user_password` varchar(60) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `administrators`
--
INSERT INTO `administrators` (`id`, `user_name`, `user_password`) VALUES
(1, 'kpizk', <PASSWORD>.');
-- --------------------------------------------------------
--
-- Table structure for table `admin_files`
--
CREATE TABLE IF NOT EXISTS `admin_files` (
`admin_files_id` int(11) NOT NULL AUTO_INCREMENT,
`admin_files_name` varchar(64) NOT NULL DEFAULT '',
`admin_files_is_boxes` tinyint(5) NOT NULL DEFAULT '0',
`admin_files_to_boxes` int(11) NOT NULL DEFAULT '0',
`admin_groups_id` set('1','2') NOT NULL DEFAULT '1',
PRIMARY KEY (`admin_files_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=43 ;
--
-- Dumping data for table `admin_files`
--
INSERT INTO `admin_files` (`admin_files_id`, `admin_files_name`, `admin_files_is_boxes`, `admin_files_to_boxes`, `admin_groups_id`) VALUES
(1, 'administrator.php', 1, 0, '1'),
(2, 'configuration.php', 1, 0, '1'),
(3, 'catalog.php', 1, 0, '1'),
(4, 'modules.php', 1, 0, '1'),
(5, 'customers.php', 1, 0, '1'),
(6, 'taxes.php', 1, 0, '1'),
(7, 'localization.php', 1, 0, '1'),
(8, 'reports.php', 1, 0, '1'),
(9, 'tools.php', 1, 0, '1'),
(10, 'admin_members.php', 0, 1, '1'),
(11, 'admin_files.php', 0, 1, '1'),
(12, 'configuration.php', 0, 2, '1'),
(13, 'categories.php', 0, 3, '1'),
(14, 'products_attributes.php', 0, 3, '1'),
(15, 'manufacturers.php', 0, 3, '1'),
(16, 'reviews.php', 0, 3, '1'),
(17, 'specials.php', 0, 3, '1'),
(18, 'products_expected.php', 0, 3, '1'),
(19, 'modules.php', 0, 4, '1'),
(20, 'customers.php', 0, 5, '1'),
(21, 'orders.php', 0, 5, '1'),
(22, 'countries.php', 0, 6, '1'),
(23, 'zones.php', 0, 6, '1'),
(24, 'geo_zones.php', 0, 6, '1'),
(25, 'tax_classes.php', 0, 6, '1'),
(26, 'tax_rates.php', 0, 6, '1'),
(27, 'currencies.php', 0, 7, '1'),
(28, 'languages.php', 0, 7, '1'),
(29, 'orders_status.php', 0, 7, '1'),
(30, 'stats_products_viewed.php', 0, 8, '1'),
(31, 'stats_products_purchased.php', 0, 8, '1'),
(32, 'stats_customers.php', 0, 8, '1'),
(33, 'backup.php', 0, 9, '1'),
(34, 'banner_manager.php', 0, 9, '1'),
(35, 'cache.php', 0, 9, '1'),
(36, 'define_language.php', 0, 9, '1'),
(37, 'file_manager.php', 0, 9, '1'),
(38, 'mail.php', 0, 9, '1'),
(39, 'newsletters.php', 0, 9, '1'),
(40, 'server_info.php', 0, 9, '1'),
(41, 'whos_online.php', 0, 9, '1'),
(42, 'banner_statistics.php', 0, 9, '1');
-- --------------------------------------------------------
--
-- Table structure for table `admin_groups`
--
CREATE TABLE IF NOT EXISTS `admin_groups` (
`admin_groups_id` int(11) NOT NULL AUTO_INCREMENT,
`admin_groups_name` varchar(64) DEFAULT NULL,
PRIMARY KEY (`admin_groups_id`),
UNIQUE KEY `admin_groups_name` (`admin_groups_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `admin_groups`
--
INSERT INTO `admin_groups` (`admin_groups_id`, `admin_groups_name`) VALUES
(2, 'Customer Relations'),
(1, 'Top Administrator');
-- --------------------------------------------------------
--
-- Table structure for table `banners`
--
CREATE TABLE IF NOT EXISTS `banners` (
`banners_id` int(11) NOT NULL AUTO_INCREMENT,
`banners_title` varchar(64) NOT NULL,
`banners_url` varchar(255) NOT NULL,
`banners_image` varchar(64) NOT NULL,
`banners_group` varchar(10) NOT NULL,
`banners_html_text` text,
`expires_impressions` int(7) DEFAULT '0',
`expires_date` datetime DEFAULT NULL,
`date_scheduled` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
`date_status_change` datetime DEFAULT NULL,
`status` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`banners_id`),
KEY `idx_banners_group` (`banners_group`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `banners`
--
INSERT INTO `banners` (`banners_id`, `banners_title`, `banners_url`, `banners_image`, `banners_group`, `banners_html_text`, `expires_impressions`, `expires_date`, `date_scheduled`, `date_added`, `date_status_change`, `status`) VALUES
(1, 'osCommerce', 'http://www.oscommerce.com', 'banners/oscommerce.gif', '468x50', '', 0, NULL, NULL, '2014-04-16 16:34:50', NULL, 1);
-- --------------------------------------------------------
--
-- Table structure for table `banners_history`
--
CREATE TABLE IF NOT EXISTS `banners_history` (
`banners_history_id` int(11) NOT NULL AUTO_INCREMENT,
`banners_id` int(11) NOT NULL,
`banners_shown` int(5) NOT NULL DEFAULT '0',
`banners_clicked` int(5) NOT NULL DEFAULT '0',
`banners_history_date` datetime NOT NULL,
PRIMARY KEY (`banners_history_id`),
KEY `idx_banners_history_banners_id` (`banners_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `banners_history`
--
INSERT INTO `banners_history` (`banners_history_id`, `banners_id`, `banners_shown`, `banners_clicked`, `banners_history_date`) VALUES
(1, 1, 17, 0, '2014-05-02 10:40:34');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE IF NOT EXISTS `categories` (
`categories_id` int(11) NOT NULL AUTO_INCREMENT,
`categories_image` varchar(64) DEFAULT NULL,
`parent_id` int(11) NOT NULL DEFAULT '0',
`sort_order` int(3) DEFAULT NULL,
`date_added` datetime DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
PRIMARY KEY (`categories_id`),
KEY `idx_categories_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`categories_id`, `categories_image`, `parent_id`, `sort_order`, `date_added`, `last_modified`) VALUES
(1, 'category_hardware.gif', 0, 1, '2014-04-16 16:34:50', NULL),
(2, 'category_software.gif', 0, 2, '2014-04-16 16:34:50', NULL),
(3, 'category_dvd_movies.gif', 0, 3, '2014-04-16 16:34:50', NULL),
(4, 'subcategory_graphic_cards.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(5, 'subcategory_printers.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(6, 'subcategory_monitors.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(7, 'subcategory_speakers.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(8, 'subcategory_keyboards.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(9, 'subcategory_mice.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(10, 'subcategory_action.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(11, 'subcategory_science_fiction.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(12, 'subcategory_comedy.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(13, 'subcategory_cartoons.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(14, 'subcategory_thriller.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(15, 'subcategory_drama.gif', 3, 0, '2014-04-16 16:34:50', NULL),
(16, 'subcategory_memory.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(17, 'subcategory_cdrom_drives.gif', 1, 0, '2014-04-16 16:34:50', NULL),
(18, 'subcategory_simulation.gif', 2, 0, '2014-04-16 16:34:50', NULL),
(19, 'subcategory_action_games.gif', 2, 0, '2014-04-16 16:34:50', NULL),
(20, 'subcategory_strategy.gif', 2, 0, '2014-04-16 16:34:50', NULL),
(21, 'category_gadgets.png', 0, 4, '2014-04-16 16:34:50', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `categories_description`
--
CREATE TABLE IF NOT EXISTS `categories_description` (
`categories_id` int(11) NOT NULL DEFAULT '0',
`language_id` int(11) NOT NULL DEFAULT '1',
`categories_name` varchar(32) NOT NULL,
PRIMARY KEY (`categories_id`,`language_id`),
KEY `idx_categories_name` (`categories_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `categories_description`
--
INSERT INTO `categories_description` (`categories_id`, `language_id`, `categories_name`) VALUES
(10, 1, 'Action'),
(19, 1, 'Action'),
(13, 1, 'Cartoons'),
(17, 1, 'CDROM Drives'),
(12, 1, 'Comedy'),
(15, 1, 'Drama'),
(3, 1, 'DVD Movies'),
(21, 1, 'Gadgets'),
(4, 1, 'Graphics Cards'),
(1, 1, 'Hardware'),
(8, 1, 'Keyboards'),
(16, 1, 'Memory'),
(9, 1, 'Mice'),
(6, 1, 'Monitors'),
(5, 1, 'Printers'),
(11, 1, 'Science Fiction'),
(18, 1, 'Simulation'),
(2, 1, 'Software'),
(7, 1, 'Speakers'),
(20, 1, 'Strategy'),
(14, 1, 'Thriller');
-- --------------------------------------------------------
--
-- Table structure for table `category`
--
CREATE TABLE IF NOT EXISTS `category` (
`id` int(11) NOT NULL,
`label` varchar(255) NOT NULL,
`estado` varchar(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `category`
--
INSERT INTO `category` (`id`, `label`, `estado`) VALUES
(1, 'defecto', 'I'),
(2, 'Condiciones', 'A'),
(3, 'Seguridad', 'A'),
(4, 'Accesorios Externos', 'A'),
(5, 'Sonido', 'A');
-- --------------------------------------------------------
--
-- Table structure for table `cilindraje`
--
CREATE TABLE IF NOT EXISTS `cilindraje` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`descripcion` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Dumping data for table `cilindraje`
--
INSERT INTO `cilindraje` (`id`, `descripcion`) VALUES
(1, '0 - 50 cc'),
(2, '51 - 125 cc'),
(3, '126 - 250 cc'),
(4, '251 - 500 cc'),
(5, '501 cc o más');
-- --------------------------------------------------------
--
-- Table structure for table `ciudad`
--
CREATE TABLE IF NOT EXISTS `ciudad` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`descripcion` varchar(255) NOT NULL,
`departamento_id` int(11) NOT NULL,
`ciudad_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2221 ;
--
-- Dumping data for table `ciudad`
--
INSERT INTO `ciudad` (`id`, `descripcion`, `departamento_id`, `ciudad_id`) VALUES
(1164, 'ABEJORRAL ', 5, 2),
(1165, 'ABREGO ', 54, 3),
(1166, 'ABRIAQUI ', 5, 4),
(1167, 'ACACIAS ', 50, 6),
(1168, 'ACANDI ', 27, 6),
(1169, 'ACEVEDO ', 41, 6),
(1170, 'ACHI ', 13, 6),
(1171, 'AGRADO ', 41, 13),
(1172, '<NAME> -BOGOTA- ', 25, 1),
(1173, 'AGUACHICA ', 20, 11),
(1174, 'AGUADA ', 68, 13),
(1175, 'AGUADAS ', 17, 13),
(1176, 'AGUAZUL ', 85, 10),
(1177, '<NAME> ', 20, 13),
(1178, 'AIPE ', 41, 16),
(1179, 'ALBAN ', 25, 19),
(1180, 'ALBAN ', 52, 19),
(1181, 'ALBANIA ', 18, 29),
(1182, 'ALBANIA ', 68, 20),
(1183, 'ALCALA ', 76, 20),
(1184, 'ALDANA ', 52, 22),
(1185, 'ALEJANDRIA ', 5, 21),
(1186, 'ALGECIRAS ', 41, 20),
(1187, 'ALMAGUER ', 19, 22),
(1188, 'ALMEIDA ', 15, 22),
(1189, 'ALPUJARRA ', 73, 24),
(1190, 'ALTAMIRA ', 41, 26),
(1191, '<NAME> ', 27, 25),
(1192, '<NAME> ', 13, 30),
(1193, 'ALVARADO ', 73, 26),
(1194, 'AMAGA ', 5, 30),
(1195, 'AMALFI ', 5, 31),
(1196, 'AMBALEMA ', 73, 30),
(1197, 'ANAPOIMA ', 25, 35),
(1198, 'ANCUYA ', 52, 36),
(1199, 'ANDALUCIA ', 76, 36),
(1200, 'ANDES ', 5, 34),
(1201, 'ANGELOPOLIS ', 5, 36),
(1202, 'ANGOSTURA ', 5, 38),
(1203, 'ANOLAIMA ', 25, 40),
(1204, 'ANORI ', 5, 40),
(1205, 'ANSERMA ', 17, 42),
(1206, 'ANSERMANUEVO ', 76, 41),
(1207, 'ANZA ', 5, 44),
(1208, 'ANZOATEGUI ', 73, 43),
(1209, 'APARTADO ', 5, 45),
(1210, 'APIA ', 66, 45),
(1211, 'AQUITANIA ', 15, 47),
(1212, 'ARACATACA ', 47, 52),
(1213, 'ARANZAZU ', 17, 50),
(1214, 'ARATOCA ', 68, 51),
(1215, 'ARAUCA ', 81, 1),
(1216, 'ARAUQUITA ', 81, 65),
(1217, 'ARBELAEZ ', 25, 53),
(1218, 'ARBOLEDA ', 52, 51),
(1219, 'ARBOLEDAS ', 54, 51),
(1220, 'ARBOLETES ', 5, 51),
(1221, 'ARCABUCO ', 15, 51),
(1222, 'ARENAL ', 13, 42),
(1223, 'ARGELIA ', 5, 55),
(1224, 'ARGELIA ', 19, 50),
(1225, 'ARGELIA ', 76, 54),
(1226, 'ARIGUANI ', 47, 58),
(1227, 'ARJONA ', 13, 52),
(1228, 'ARMENIA ', 5, 59),
(1229, 'ARMENIA ', 63, 1),
(1230, 'ARMERO ', 73, 55),
(1231, 'ASTREA ', 20, 32),
(1232, 'ATACO ', 73, 67),
(1233, 'AYAPEL ', 23, 68),
(1234, 'BAGADO ', 27, 73),
(1235, '<NAME> ', 27, 75),
(1236, '<NAME> ', 27, 77),
(1237, 'BALBOA ', 19, 75),
(1238, 'BALBOA ', 66, 75),
(1239, 'BARANOA ', 8, 78),
(1240, 'BARAYA ', 41, 78),
(1241, 'BARBACOAS ', 52, 79),
(1242, 'BARBOSA ', 5, 79),
(1243, 'BARBOSA ', 68, 77),
(1244, 'BARICHARA ', 68, 79),
(1245, '<NAME> ', 50, 110),
(1246, 'BARRANCABERMEJA ', 68, 81),
(1247, 'BARRANCAS ', 44, 78),
(1248, '<NAME> ', 13, 74),
(1249, '<NAME> ', 94, 343),
(1250, 'BARRANQUILLA ', 8, 1),
(1251, 'BECERRIL ', 20, 35),
(1252, 'BELALCAZAR ', 17, 88),
(1253, 'BELEN ', 15, 87),
(1254, 'BELEN ', 52, 83),
(1255, '<NAME> ', 18, 94),
(1256, '<NAME> ', 66, 88),
(1257, 'BELLO ', 5, 88),
(1258, 'BELMIRA ', 5, 86),
(1259, 'BELTRAN ', 25, 86),
(1260, 'BERBEO ', 15, 90),
(1261, 'BETANIA ', 5, 91),
(1262, 'BETEITIVA ', 15, 92),
(1263, 'BETULIA ', 5, 93),
(1264, 'BETULIA ', 68, 92),
(1265, 'BITUIMA ', 25, 95),
(1266, 'BOAVITA ', 15, 97),
(1267, 'BOCHALEMA ', 54, 99),
(1268, '<NAME>. ', 11, 1),
(1269, 'BOJACA ', 25, 99),
(1270, 'BOJAYA ', 27, 99),
(1271, 'BOLIVAR ', 19, 100),
(1272, 'BOLIVAR ', 68, 101),
(1273, 'BOLIVAR ', 76, 100),
(1274, 'BOSCONIA ', 20, 60),
(1275, 'BOYACA ', 15, 104),
(1276, 'BRICEÑO ', 5, 107),
(1277, 'BRICEÑO ', 15, 106),
(1278, 'BUCARAMANGA ', 68, 1),
(1279, 'BUCARASICA ', 54, 109),
(1280, 'BUENAVENTURA ', 76, 109),
(1281, 'BUENAVISTA ', 15, 109),
(1282, 'BUENAVISTA ', 23, 79),
(1283, 'BUENAVISTA ', 63, 111),
(1284, 'BUENAVISTA ', 70, 110),
(1285, '<NAME> ', 19, 110),
(1286, 'BUESACO ', 52, 110),
(1287, 'BUGA ', 76, 111),
(1288, 'BUGALAGRANDE ', 76, 113),
(1289, 'BURITICA ', 5, 113),
(1290, 'BUSBANZA ', 15, 114),
(1291, '<NAME> ', 5, 138),
(1292, 'CABRERA ', 25, 120),
(1293, 'CABRERA ', 68, 121),
(1294, 'CABUYARO ', 50, 124),
(1295, 'CACAHUAL ', 94, 886),
(1296, 'CACERES ', 5, 120),
(1297, 'CACHIPAY ', 25, 123),
(1298, 'CACHIRA ', 54, 128),
(1299, 'CACOTA ', 54, 125),
(1300, 'CAICEDO ', 5, 125),
(1301, 'CAICEDONIA ', 76, 122),
(1302, 'CAIMITO ', 70, 124),
(1303, 'CAJAMARCA ', 73, 124),
(1304, 'CAJIBIO ', 19, 130),
(1305, 'CAJICA ', 25, 126),
(1306, 'CALAMAR ', 13, 140),
(1307, 'CALAMAR ', 95, 15),
(1308, 'CALARCA ', 63, 130),
(1309, 'CALDAS ', 5, 129),
(1310, 'CALDAS ', 15, 131),
(1311, 'CALDONO ', 19, 137),
(1312, 'CALI ', 76, 1),
(1313, 'CALIFORNIA ', 68, 132),
(1314, 'CALIMA ', 76, 126),
(1315, 'CALOTO ', 19, 142),
(1316, 'CAMPAMENTO ', 5, 134),
(1317, '<NAME> ', 8, 137),
(1318, 'CAMPOALEGRE ', 41, 132),
(1319, 'CAMPOHERMOSO ', 15, 135),
(1320, 'CANALETE ', 23, 90),
(1321, 'CANDELARIA ', 8, 141),
(1322, 'CANDELARIA ', 76, 130),
(1323, 'CANTAGALLO ', 13, 160),
(1324, 'CAPARRAPI ', 25, 148),
(1325, 'CAPITANEJO ', 68, 147),
(1326, 'CAQUEZA ', 25, 151),
(1327, 'CARACOLI ', 5, 142),
(1328, 'CARAMANTA ', 5, 145),
(1329, 'CARCASI ', 68, 152),
(1330, 'CAREPA ', 5, 147),
(1331, '<NAME> ', 73, 148),
(1332, '<NAME> ', 25, 154),
(1333, '<NAME> ', 5, 148),
(1334, 'CAROLINA ', 5, 150),
(1335, 'CARTAGENA ', 13, 1),
(1336, '<NAME> ', 18, 150),
(1337, 'CARTAGO ', 76, 147),
(1338, 'CARURU ', 97, 161),
(1339, 'CASABIANCA ', 73, 152),
(1340, '<NAME> ', 50, 201),
(1341, 'CAUCASIA ', 5, 154),
(1342, 'CEPITA ', 68, 160),
(1343, 'CERETE ', 23, 162),
(1344, 'CERINZA ', 15, 162),
(1345, 'CERRITO ', 68, 162),
(1346, '<NAME> ', 47, 161),
(1347, 'CHACHAGUI ', 52, 240),
(1348, 'CHAGUANI ', 25, 168),
(1349, 'CHALAN ', 70, 230),
(1350, 'CHAMEZA ', 85, 15),
(1351, 'CHAPARRAL ', 73, 168),
(1352, 'CHARALA ', 68, 167),
(1353, 'CHARTA ', 68, 169),
(1354, 'CHIA ', 25, 175),
(1355, 'CHIGORODO ', 5, 172),
(1356, 'CHIMA ', 23, 168),
(1357, 'CHIMA ', 68, 176),
(1358, 'CHIMICHAGUA ', 20, 175),
(1359, 'CHINACOTA ', 54, 172),
(1360, 'CHINAVITA ', 15, 172),
(1361, 'CHINCHINA ', 17, 174),
(1362, 'CHINU ', 23, 182),
(1363, 'CHIPAQUE ', 25, 178),
(1364, 'CHIPATA ', 68, 179),
(1365, 'CHIQUINQUIRA ', 15, 176),
(1366, 'CHIQUIZA ', 15, 232),
(1367, 'CHIRIGUANA ', 20, 178),
(1368, 'CHISCAS ', 15, 180),
(1369, 'CHITA ', 15, 183),
(1370, 'CHITAGA ', 54, 174),
(1371, 'CHITARAQUE ', 15, 185),
(1372, 'CHIVATA ', 15, 187),
(1373, 'CHIVOLO ', 47, 170),
(1374, 'CHIVOR ', 15, 236),
(1375, 'CHOACHI ', 25, 181),
(1376, 'CHOCONTA ', 25, 183),
(1377, 'CICUCO ', 13, 188),
(1378, 'CIENAGA ', 47, 189),
(1379, '<NAME> ', 23, 189),
(1380, 'CIENEGA ', 15, 189),
(1381, 'CIMITARRA ', 68, 190),
(1382, 'CIRCASIA ', 63, 190),
(1383, 'CISNEROS ', 5, 190),
(1384, '<NAME> ', 5, 101),
(1385, 'CLEMENCIA ', 13, 222),
(1386, 'COCORNA ', 5, 197),
(1387, 'COELLO ', 73, 200),
(1388, 'COGUA ', 25, 200),
(1389, 'COLOMBIA ', 41, 206),
(1390, 'COLON ', 52, 203),
(1391, 'COLON ', 86, 219),
(1392, 'COLOSO ', 70, 204),
(1393, 'COMBITA ', 15, 204),
(1394, 'CONCEPCION ', 5, 206),
(1395, 'CONCEPCION ', 68, 207),
(1396, 'CONCORDIA ', 5, 209),
(1397, 'CONDOTO ', 27, 205),
(1398, 'CONFINES ', 68, 209),
(1399, 'CONSACA ', 52, 207),
(1400, 'CONTADERO ', 52, 210),
(1401, 'CONTRATACION ', 68, 211),
(1402, 'CONVENCION ', 54, 206),
(1403, 'COPACABANA ', 5, 212),
(1404, 'COPER ', 15, 212),
(1405, 'CORDOBA ', 13, 212),
(1406, 'CORDOBA ', 52, 215),
(1407, 'CORDOBA ', 63, 212),
(1408, 'CORINTO ', 19, 212),
(1409, 'COROMORO ', 68, 217),
(1410, 'COROZAL ', 70, 215),
(1411, 'CORRALES ', 15, 215),
(1412, 'COTA ', 25, 214),
(1413, 'COVARACHIA ', 15, 218),
(1414, 'COYAIMA ', 73, 217),
(1415, '<NAME> ', 81, 220),
(1416, 'CUASPUD ', 52, 224),
(1417, 'CUBARA ', 15, 223),
(1418, 'CUCAITA ', 15, 224),
(1419, 'CUCUNUBA ', 25, 224),
(1420, 'CUCUTA ', 54, 1),
(1421, 'CUCUTILLA ', 54, 223),
(1422, 'CUITIVA ', 15, 226),
(1423, 'CUMARAL ', 50, 226),
(1424, 'CUMARIBO ', 99, 773),
(1425, 'CUMBAL ', 52, 227),
(1426, 'CUMBITARA ', 52, 233),
(1427, 'CUNDAY ', 73, 226),
(1428, 'CURITI ', 68, 229),
(1429, 'CURRILLO ', 18, 205),
(1430, 'CURUMANI ', 20, 228),
(1431, 'DABEIBA ', 5, 234),
(1432, 'DAGUA ', 76, 233),
(1433, 'DIBULLA ', 44, 90),
(1434, 'DISTRACCION ', 44, 98),
(1435, 'DOLORES ', 73, 236),
(1436, '<NAME> ', 5, 237),
(1437, 'DOSQUEBRADAS ', 66, 170),
(1438, 'DUITAMA ', 15, 238),
(1439, 'DURANIA ', 54, 239),
(1440, 'EBEJICO ', 5, 240),
(1441, '<NAME> ', 76, 243),
(1442, '<NAME> ', 5, 250),
(1443, '<NAME> ', 47, 245),
(1444, '<NAME> ', 76, 246),
(1445, '<NAME> ', 50, 245),
(1446, '<NAME> ', 27, 135),
(1447, '<NAME> ', 54, 245),
(1448, 'EL CARMEN <NAME> ', 27, 245),
(1449, 'EL <NAME> ', 13, 244),
(1450, 'EL <NAME> ', 68, 235),
(1451, '<NAME> ', 50, 251),
(1452, 'EL CERRITO ', 76, 248),
(1453, '<NAME> ', 52, 250),
(1454, '<NAME> ', 15, 244),
(1455, 'EL COLEGIO ', 25, 245),
(1456, 'EL COPEY ', 20, 238),
(1457, 'EL DONCELLO ', 18, 247),
(1458, 'EL DORADO ', 50, 270),
(1459, 'EL DOVIO ', 76, 250),
(1460, 'EL ENCANTO ', 91, 263),
(1461, '<NAME> ', 15, 248),
(1462, 'EL FLORIAN ', 68, 271),
(1463, 'EL GUACAMAYO ', 68, 245),
(1464, 'EL GUAMO ', 13, 248),
(1465, 'EL MOLINO ', 44, 110),
(1466, 'EL PASO ', 20, 250),
(1467, 'EL PAUJIL ', 18, 256),
(1468, 'EL PEÑON ', 13, 268),
(1469, 'EL PEÑON ', 25, 248),
(1470, 'EL PEÑON ', 68, 250),
(1471, 'EL PIÑON ', 47, 258),
(1472, 'EL PLAYON ', 68, 255),
(1473, '<NAME> ', 47, 268),
(1474, 'EL RETORNO ', 95, 25),
(1475, '<NAME> ', 52, 256),
(1476, '<NAME> ', 52, 258),
(1477, '<NAME> ', 19, 256),
(1478, '<NAME> ', 52, 260),
(1479, '<NAME> ', 54, 250),
(1480, '<NAME> ', 54, 261),
(1481, 'ELIAS ', 41, 244),
(1482, 'ENCINO ', 68, 264),
(1483, 'ENCISO ', 68, 266),
(1484, 'ENTRERRIOS ', 5, 264),
(1485, 'ENVIGADO ', 5, 266),
(1486, 'ESPINAL ', 73, 268),
(1487, 'FACATATIVA ', 25, 269),
(1488, 'FALAN ', 73, 270),
(1489, 'FILADELFIA ', 17, 272),
(1490, 'FILANDIA ', 63, 272),
(1491, 'FIRAVITOBA ', 15, 272),
(1492, 'FLANDES ', 73, 275),
(1493, 'FLORENCIA ', 18, 1),
(1494, 'FLORENCIA ', 19, 290),
(1495, 'FLORESTA ', 15, 276),
(1496, 'FLORIDA ', 76, 275),
(1497, 'FLORIDABLANCA ', 68, 276),
(1498, 'FOMEQUE ', 25, 279),
(1499, 'FONSECA ', 44, 279),
(1500, 'FORTUL ', 81, 300),
(1501, 'FOSCA ', 25, 281),
(1502, '<NAME> ', 52, 520),
(1503, 'FREDONIA ', 5, 282),
(1504, 'FRESNO ', 73, 283),
(1505, 'FRONTINO ', 5, 284),
(1506, '<NAME> ', 50, 287),
(1507, 'FUNDACION ', 47, 288),
(1508, 'FUNES ', 52, 287),
(1509, 'FUNZA ', 25, 286),
(1510, 'FUQUENE ', 25, 288),
(1511, 'FUSAGASUGA ', 25, 290),
(1512, 'GACHALA ', 25, 293),
(1513, 'GACHANCIPA ', 25, 295),
(1514, 'GACHANTIVA ', 15, 293),
(1515, 'GACHETA ', 25, 297),
(1516, 'GALAN ', 68, 296),
(1517, 'GALAPA ', 8, 296),
(1518, 'GALERAS ', 70, 235),
(1519, 'GAMA ', 25, 299),
(1520, 'GAMARRA ', 20, 295),
(1521, 'GAMBITA ', 68, 298),
(1522, 'GAMEZA ', 15, 296),
(1523, 'GARAGOA ', 15, 299),
(1524, 'GARZON ', 41, 298),
(1525, 'GENOVA ', 63, 302),
(1526, 'GIGANTE ', 41, 306),
(1527, 'GINEBRA ', 76, 306),
(1528, 'GIRALDO ', 5, 306),
(1529, 'GIRARDOT ', 25, 307),
(1530, 'GIRARDOTA ', 5, 308),
(1531, 'GIRON ', 68, 307),
(1532, '<NAME> ', 5, 310),
(1533, 'GONZALEZ ', 20, 310),
(1534, 'GRAMALOTE ', 54, 313),
(1535, 'GRANADA ', 5, 313),
(1536, 'GRANADA ', 25, 312),
(1537, 'GRANADA ', 50, 313),
(1538, 'GUACA ', 68, 318),
(1539, 'GUACAMAYAS ', 15, 317),
(1540, 'GUACARI ', 76, 318),
(1541, 'GUACHETA ', 25, 317),
(1542, 'GUACHUCAL ', 52, 317),
(1543, 'GUADALUPE ', 5, 315),
(1544, 'GUADALUPE ', 41, 319),
(1545, 'GUADALUPE ', 68, 320),
(1546, 'GUADUAS ', 25, 320),
(1547, 'GUAITARILLA ', 52, 320),
(1548, 'GUALMATAN ', 52, 323),
(1549, 'GUAMAL ', 47, 318),
(1550, 'GUAMAL ', 50, 318),
(1551, 'GUAMO ', 73, 319),
(1552, 'GUAPI ', 19, 318),
(1553, 'GUAPOTA ', 68, 322),
(1554, 'GUARANDA ', 70, 265),
(1555, 'GUARNE ', 5, 318),
(1556, 'GUASCA ', 25, 322),
(1557, 'GUATAPE ', 5, 321),
(1558, 'GUATAQUI ', 25, 324),
(1559, 'GUATAVITA ', 25, 326),
(1560, 'GUATEQUE ', 15, 322),
(1561, 'GUATICA ', 66, 318),
(1562, 'GUAVATA ', 68, 324),
(1563, '<NAME> ', 25, 328),
(1564, 'GUAYABETAL ', 25, 335),
(1565, 'GUAYATA ', 15, 325),
(1566, 'GUEPSA ', 68, 327),
(1567, 'GUICAN ', 15, 332),
(1568, 'GUTIERREZ ', 25, 339),
(1569, 'HACARI ', 54, 344),
(1570, '<NAME> ', 13, 300),
(1571, 'HATO ', 68, 344),
(1572, '<NAME> ', 85, 125),
(1573, 'HATONUEVO ', 44, 378),
(1574, 'HELICONIA ', 5, 347),
(1575, 'HERRAN ', 54, 347),
(1576, 'HERVEO ', 73, 347),
(1577, 'HISPANIA ', 5, 353),
(1578, 'HOBO ', 41, 349),
(1579, 'HONDA ', 73, 349),
(1580, 'IBAGUE ', 73, 1),
(1581, 'ICONONZO ', 73, 352),
(1582, 'IIES ', 52, 523),
(1583, 'IMUES ', 52, 354),
(1584, 'INIRIDA ', 94, 1),
(1585, 'INZA ', 19, 355),
(1586, 'IPIALES ', 52, 356),
(1587, 'IQUIRA ', 41, 357),
(1588, 'ISNOS ', 41, 359),
(1589, 'ITAGUI ', 5, 360),
(1590, 'ITSMINA ', 27, 361),
(1591, 'ITUANGO ', 5, 361),
(1592, 'IZA ', 15, 362),
(1593, 'JAMBALO ', 19, 364),
(1594, 'JAMUNDI ', 76, 364),
(1595, 'JARDIN ', 5, 364),
(1596, 'JENESANO ', 15, 367),
(1597, 'JERICO ', 5, 368),
(1598, 'JERICO ', 15, 368),
(1599, 'JERUSALEM ', 25, 368),
(1600, '<NAME> ', 68, 683),
(1601, 'JORDAN ', 68, 370),
(1602, '<NAME> ', 8, 372),
(1603, 'JUNIN ', 25, 372),
(1604, 'JURADO ', 27, 372),
(1605, 'LA ARGENTINA ', 41, 378),
(1606, 'LA BELLEZA ', 68, 377),
(1607, '<NAME> ', 25, 377),
(1608, '<NAME> ', 15, 380),
(1609, '<NAME> ', 5, 376),
(1610, 'LA CELIA ', 66, 383),
(1611, '<NAME> ', 91, 405),
(1612, '<NAME> ', 52, 378),
(1613, '<NAME> ', 76, 377),
(1614, '<NAME> ', 17, 380),
(1615, '<NAME> ', 86, 757),
(1616, '<NAME> ', 54, 385),
(1617, '<NAME> ', 5, 380),
(1618, '<NAME> ', 52, 381),
(1619, '<NAME> ', 20, 383),
(1620, '<NAME> ', 94, 885),
(1621, '<NAME> ', 20, 400),
(1622, '<NAME> ', 52, 385),
(1623, '<NAME> ', 50, 503),
(1624, '<NAME> ', 17, 388),
(1625, '<NAME> ', 25, 386),
(1626, 'LA MONTAÑITA ', 18, 410),
(1627, 'LA PALMA ', 25, 394),
(1628, 'LA PAZ ', 20, 621),
(1629, 'LA PAZ ', 68, 397),
(1630, 'LA PEÑA ', 25, 398),
(1631, 'LA PEDRERA ', 91, 407),
(1632, 'LA PLATA ', 41, 396),
(1633, 'LA PLAYA ', 54, 398),
(1634, 'LA PRIMAVERA ', 99, 524),
(1635, 'LA SALINA ', 85, 136),
(1636, 'LA SIERRA ', 19, 392),
(1637, 'LA TEBAIDA ', 63, 401),
(1638, 'LA TOLA ', 52, 390),
(1639, 'LA UNION ', 5, 400),
(1640, 'LA UNION ', 52, 399),
(1641, 'LA UNION ', 70, 400),
(1642, 'LA UNION ', 76, 400),
(1643, 'LA URIBE ', 50, 370),
(1644, 'LA UVITA ', 15, 403),
(1645, 'LA VEGA ', 19, 397),
(1646, 'LA VEGA ', 25, 402),
(1647, 'LA VICTORIA ', 15, 401),
(1648, 'LA VICTORIA ', 76, 403),
(1649, '<NAME> ', 66, 400),
(1650, 'LABATECA ', 54, 377),
(1651, 'LABRANZAGRANDE ', 15, 377),
(1652, 'LANDAZURI ', 68, 385),
(1653, 'LEBRIJA ', 68, 406),
(1654, 'LEIVA ', 52, 405),
(1655, 'LEJANIAS ', 50, 400),
(1656, 'LENGUAZAQUE ', 25, 407),
(1657, 'LERIDA ', 73, 408),
(1658, 'LETICIA ', 91, 1),
(1659, 'LIBANO ', 73, 411),
(1660, 'LIBORINA ', 5, 411),
(1661, 'LINARES ', 52, 411),
(1662, '<NAME> ', 27, 250),
(1663, 'LLORO ', 27, 413),
(1664, 'LOPEZ ', 19, 418),
(1665, 'LORICA ', 23, 417),
(1666, '<NAME> ', 52, 418),
(1667, '<NAME> ', 23, 419),
(1668, '<NAME> ', 70, 418),
(1669, '<NAME> ', 54, 405),
(1670, 'LOS SANTOS ', 68, 418),
(1671, 'LOURDES ', 54, 418),
(1672, 'LURUACO ', 8, 421),
(1673, 'MACANAL ', 15, 425),
(1674, 'MACARAVITA ', 68, 425),
(1675, 'MACEO ', 5, 425),
(1676, 'MACHETA ', 25, 426),
(1677, 'MADRID ', 25, 430),
(1678, 'MAGANGUE ', 13, 430),
(1679, 'MAGUI ', 52, 427),
(1680, 'MAHATES ', 13, 433),
(1681, 'MAICAO ', 44, 430),
(1682, 'MAJAGUAL ', 70, 429),
(1683, 'MALAGA ', 68, 432),
(1684, 'MALAMBO ', 8, 433),
(1685, 'MALLAMA ', 52, 435),
(1686, 'MANATI ', 8, 436),
(1687, 'MANAURE ', 20, 443),
(1688, 'MANAURE ', 44, 560),
(1689, 'MANI ', 85, 139),
(1690, 'MANIZALES ', 17, 1),
(1691, 'MANTA ', 25, 436),
(1692, 'MANZANARES ', 17, 433),
(1693, 'MAPIRIPAN ', 50, 325),
(1694, 'MARGARITA ', 13, 440),
(1695, '<NAME> ', 13, 442),
(1696, 'MARINILLA ', 5, 440),
(1697, 'MARIPI ', 15, 442),
(1698, 'MARIQUITA ', 73, 443),
(1699, 'MARMATO ', 17, 442),
(1700, 'MARQUETALIA ', 17, 444),
(1701, 'MARSELLA ', 66, 440),
(1702, 'MARULANDA ', 17, 446),
(1703, 'MATANZA ', 68, 444),
(1704, 'MEDELLIN ', 5, 1),
(1705, 'MEDINA ', 25, 438),
(1706, 'MELGAR ', 73, 449),
(1707, 'MERCADERES ', 19, 450),
(1708, 'MESETAS ', 50, 330),
(1709, 'MILAN ', 18, 460),
(1710, 'MIRAFLORES ', 15, 455),
(1711, 'MIRAFLORES ', 95, 200),
(1712, 'MIRANDA ', 19, 455),
(1713, 'MIRITI-PARANA ', 91, 460),
(1714, 'MISTRATO ', 66, 456),
(1715, 'MITU ', 97, 1),
(1716, 'MOÑITOS ', 23, 500),
(1717, 'MOCOA ', 86, 1),
(1718, 'MOGOTES ', 68, 464),
(1719, 'MOLAGAVITA ', 68, 684),
(1720, 'MOMIL ', 23, 464),
(1721, 'MOMPOS ', 13, 468),
(1722, 'MONGUA ', 15, 464),
(1723, 'MONGUI ', 15, 466),
(1724, 'MONIQUIRA ', 15, 469),
(1725, 'MONTEBELLO ', 5, 467),
(1726, 'MONTECRISTO ', 13, 458),
(1727, 'MONTELIBANO ', 23, 466),
(1728, 'MONTENEGRO ', 63, 470),
(1729, 'MONTERIA ', 23, 1),
(1730, 'MONTERREY ', 85, 162),
(1731, 'MORALES ', 13, 473),
(1732, 'MORALES ', 19, 473),
(1733, 'MORELIA ', 18, 479),
(1734, '<NAME> ', 94, 888),
(1735, 'MORROA ', 70, 473),
(1736, 'MOSQUERA ', 25, 473),
(1737, 'MOSQUERA ', 52, 473),
(1738, 'MOTAVITA ', 15, 476),
(1739, 'MURILLO ', 73, 461),
(1740, 'MURINDO ', 5, 475),
(1741, 'MUTATA ', 5, 480),
(1742, 'MUTISCUA ', 54, 480),
(1743, 'MUZO ', 15, 480),
(1744, 'NARIÑO ', 5, 483),
(1745, 'NARIÑO ', 25, 483),
(1746, 'NATAGA ', 41, 483),
(1747, 'NATAGAIMA ', 73, 483),
(1748, 'NECHI ', 5, 495),
(1749, 'NECOCLI ', 5, 490),
(1750, 'NEIRA ', 17, 486),
(1751, 'NEIVA ', 41, 1),
(1752, 'NEMOCON ', 25, 486),
(1753, 'NILO ', 25, 488),
(1754, 'NIMAIMA ', 25, 489),
(1755, 'NOBSA ', 15, 491),
(1756, 'NOCAIMA ', 25, 491),
(1757, 'NOVITA ', 27, 491),
(1758, '<NAME> ', 15, 494),
(1759, 'NUNCHIA ', 85, 225),
(1760, 'NUQUI ', 27, 495),
(1761, 'OBANDO ', 76, 497),
(1762, 'OCAÑA ', 54, 498),
(1763, 'OCAMONTE ', 68, 498),
(1764, 'OIBA ', 68, 500),
(1765, 'OICATA ', 15, 500),
(1766, 'OLAYA ', 5, 501),
(1767, '<NAME> ', 52, 490),
(1768, 'ONZAGA ', 68, 502),
(1769, 'OPORAPA ', 41, 503),
(1770, 'ORITO ', 86, 320),
(1771, 'OROCUE ', 85, 230),
(1772, 'ORTEGA ', 73, 504),
(1773, 'OSPINA ', 52, 506),
(1774, '<NAME> ', 25, 506),
(1775, 'OTANCHE ', 15, 507),
(1776, 'OVEJAS ', 70, 508),
(1777, 'PACHAVITA ', 15, 511),
(1778, 'PACHO ', 25, 513),
(1779, 'PACOA ', 97, 511),
(1780, 'PACORA ', 17, 513),
(1781, 'PADILLA ', 19, 513),
(1782, 'PAEZ ', 15, 514),
(1783, 'PAEZ ', 19, 517),
(1784, 'PAICOL ', 41, 518),
(1785, 'PAILITAS ', 20, 517),
(1786, 'PAIME ', 25, 518),
(1787, 'PAIPA ', 15, 516),
(1788, 'PAJARITO ', 15, 518),
(1789, 'PALERMO ', 41, 524),
(1790, 'PALESTINA ', 17, 524),
(1791, 'PALESTINA ', 41, 530),
(1792, 'PALMAR ', 68, 522),
(1793, '<NAME> ', 8, 520),
(1794, '<NAME> ', 68, 524),
(1795, 'PALMIRA ', 76, 520),
(1796, 'PALMITO ', 70, 523),
(1797, 'PALOCABILDO ', 73, 520),
(1798, 'PAMPLONA ', 54, 518),
(1799, 'PAMPLONITA ', 54, 520),
(1800, '<NAME> ', 94, 887),
(1801, 'PANDI ', 25, 524),
(1802, 'PANQUEBA ', 15, 522),
(1803, 'PAPUNAHUA ', 97, 777),
(1804, 'PARAMO ', 68, 533),
(1805, 'PARATEBUENO ', 25, 530),
(1806, 'PASCA ', 25, 535),
(1807, 'PASTO ', 52, 1),
(1808, 'PATIA ', 19, 532),
(1809, 'PAUNA ', 15, 531),
(1810, 'PAYA ', 15, 533),
(1811, '<NAME> ', 85, 250),
(1812, '<NAME> ', 15, 537),
(1813, 'PEÑOL ', 5, 541),
(1814, 'PEDRAZA ', 47, 541),
(1815, 'PELAYA ', 20, 550),
(1816, 'PENSILVANIA ', 17, 541),
(1817, 'PEQUE ', 5, 543),
(1818, 'PEREIRA ', 66, 1),
(1819, 'PESCA ', 15, 542),
(1820, 'PIAMONTE ', 19, 533),
(1821, 'PIEDECUESTA ', 68, 547),
(1822, 'PIEDRAS ', 73, 547),
(1823, 'PIENDAMO ', 19, 548),
(1824, 'PIJAO ', 63, 548),
(1825, '<NAME> ', 47, 545),
(1826, 'PINCHOTE ', 68, 549),
(1827, 'PINILLOS ', 13, 549),
(1828, 'PIOJO ', 8, 549),
(1829, 'PISBA ', 15, 550),
(1830, 'PITAL ', 41, 548),
(1831, 'PITALITO ', 41, 551),
(1832, 'PIVIJAY ', 47, 551),
(1833, 'PLANADAS ', 73, 555),
(1834, '<NAME> ', 23, 555),
(1835, 'PLATO ', 47, 555),
(1836, 'POLICARPA ', 52, 540),
(1837, 'POLONUEVO ', 8, 558),
(1838, 'PONEDERA ', 8, 560),
(1839, 'POPAYAN ', 19, 1),
(1840, 'PORE ', 85, 263),
(1841, 'POTOSI ', 52, 560),
(1842, 'PRADERA ', 76, 563),
(1843, 'PRADO ', 73, 563),
(1844, 'PROVIDENCIA ', 52, 565),
(1845, 'PROVIDENCIA ', 88, 564),
(1846, '<NAME> ', 23, 570),
(1847, '<NAME> ', 66, 572),
(1848, '<NAME> ', 47, 570),
(1849, 'PUEBLORRICO ', 5, 576),
(1850, 'PUERRES ', 52, 573),
(1851, '<NAME> ', 86, 568),
(1852, '<NAME> ', 5, 579),
(1853, '<NAME> ', 15, 572),
(1854, '<NAME> ', 86, 569),
(1855, '<NAME> ', 99, 1),
(1856, '<NAME> ', 8, 573),
(1857, '<NAME> ', 94, 884),
(1858, '<NAME> ', 50, 504),
(1859, '<NAME> ', 23, 574),
(1860, '<NAME> ', 50, 568),
(1861, '<NAME> ', 86, 571),
(1862, '<NAME> ', 86, 573),
(1863, '<NAME> ', 23, 580),
(1864, '<NAME> ', 50, 577),
(1865, '<NAME> ', 50, 573),
(1866, '<NAME> ', 5, 585),
(1867, '<NAME> ', 91, 540),
(1868, '<NAME> ', 18, 592),
(1869, '<NAME> ', 50, 590),
(1870, '<NAME> ', 81, 591),
(1871, '<NAME> ', 25, 572),
(1872, '<NAME> ', 54, 553),
(1873, '<NAME> ', 91, 669),
(1874, '<NAME> ', 19, 573),
(1875, '<NAME> ', 5, 591),
(1876, 'PULI ', 25, 580),
(1877, 'PUPIALES ', 52, 585),
(1878, 'PURACE ', 19, 585),
(1879, 'PURIFICACION ', 73, 585),
(1880, 'PURISIMA ', 23, 586),
(1881, 'QUEBRADANEGRA ', 25, 592),
(1882, 'QUETAME ', 25, 594),
(1883, 'QUIBDO ', 27, 1),
(1884, 'QUIMBAYA ', 63, 594),
(1885, 'QUINCHIA ', 66, 594),
(1886, 'QUIPAMA ', 15, 580),
(1887, 'QUIPILE ', 25, 596),
(1888, '<NAME> ', 25, 599),
(1889, 'RAGONVALIA ', 54, 599),
(1890, 'RAMIRIQUI ', 15, 599),
(1891, 'RAQUIRA ', 15, 600),
(1892, 'RECETOR ', 85, 279),
(1893, 'REGIDOR ', 13, 580),
(1894, 'REMEDIOS ', 5, 604),
(1895, 'REMOLINO ', 47, 605),
(1896, 'REPELON ', 8, 606),
(1897, 'RESTREPO ', 50, 606),
(1898, 'RESTREPO ', 76, 606),
(1899, 'RETIRO ', 5, 607),
(1900, 'RICAURTE ', 25, 612),
(1901, 'RICAURTE ', 52, 612),
(1902, '<NAME> ', 20, 614),
(1903, '<NAME> ', 13, 600),
(1904, 'RIOBLANCO ', 73, 616),
(1905, 'RIOFRIO ', 76, 616),
(1906, 'RIOHACHA ', 44, 1),
(1907, 'RIONEGRO ', 5, 615),
(1908, 'RIOSUCIO ', 17, 614),
(1909, 'RIOSUCIO ', 27, 615),
(1910, 'RISARALDA ', 17, 616),
(1911, 'RIVERA ', 41, 615),
(1912, '<NAME> ', 52, 621),
(1913, 'ROLDANILLO ', 76, 622),
(1914, 'RONCESVALLES ', 73, 622),
(1915, 'RONDON ', 15, 621),
(1916, 'ROSAS ', 19, 622),
(1917, 'ROVIRA ', 73, 624),
(1918, 'SABANAGRANDE ', 8, 634),
(1919, 'SABANALARGA ', 5, 628),
(1920, 'SABANALARGA ', 8, 638),
(1921, 'SABANALARGA ', 85, 300),
(1922, 'SABANETA ', 5, 631),
(1923, 'SABOYA ', 15, 632),
(1924, 'SACAMA ', 85, 315),
(1925, 'SACHICA ', 15, 638),
(1926, 'SAHAGUN ', 23, 660),
(1927, 'SALADOBLANCO ', 41, 660),
(1928, 'SALAMINA ', 17, 653),
(1929, 'SALAMINA ', 47, 675),
(1930, 'SALAZAR ', 54, 660),
(1931, 'SALDAÑA ', 73, 671),
(1932, 'SALENTO ', 63, 690),
(1933, 'SALGAR ', 5, 642),
(1934, 'SAMACA ', 15, 646),
(1935, 'SAMANA ', 17, 662),
(1936, 'SAMANIEGO ', 52, 678),
(1937, 'SAMPUES ', 70, 706),
(1938, '<NAME> ', 41, 668),
(1939, '<NAME> ', 20, 710),
(1940, '<NAME> ', 5, 647),
(1941, '<NAME> ', 88, 1),
(1942, '<NAME> ', 23, 670),
(1943, '<NAME> ', 23, 672),
(1944, '<NAME> ', 73, 675),
(1945, '<NAME> ', 25, 645),
(1946, '<NAME> ', 70, 678),
(1947, '<NAME> ', 25, 649),
(1948, '<NAME> ', 52, 685),
(1949, '<NAME> ', 23, 675),
(1950, '<NAME> ', 54, 670),
(1951, '<NAME> ', 5, 649),
(1952, '<NAME> ', 23, 678),
(1953, '<NAME> ', 50, 680),
(1954, '<NAME> ', 25, 653),
(1955, '<NAME> ', 54, 673),
(1956, '<NAME> ', 13, 620),
(1957, '<NAME> ', 20, 750),
(1958, '<NAME> ', 15, 660),
(1959, '<NAME> ', 13, 647),
(1960, '<NAME> ', 94, 883),
(1961, '<NAME> ', 13, 650),
(1962, '<NAME> ', 5, 652),
(1963, '<NAME> ', 25, 658),
(1964, '<NAME> ', 86, 755),
(1965, '<NAME> ', 13, 654),
(1966, '<NAME> ', 5, 656),
(1967, '<NAME> ', 18, 610),
(1968, '<NAME> ', 5, 658),
(1969, '<NAME> ', 99, 760),
(1970, '<NAME> ', 15, 664),
(1971, '<NAME> ', 95, 1),
(1972, '<NAME> ', 27, 660),
(1973, '<NAME> ', 70, 702),
(1974, '<NAME> ', 50, 683),
(1975, '<NAME> ', 25, 662),
(1976, '<NAME> ', 5, 659),
(1977, '<NAME> ', 44, 650),
(1978, '<NAME> ', 13, 657),
(1979, '<NAME> ', 50, 686),
(1980, '<NAME> ', 52, 687),
(1981, '<NAME> ', 5, 660),
(1982, '<NAME> ', 73, 678),
(1983, '<NAME> ', 50, 223),
(1984, '<NAME> ', 15, 667),
(1985, '<NAME> ', 85, 325),
(1986, '<NAME> ', 70, 708),
(1987, '<NAME> ', 20, 770),
(1988, '<NAME> ', 50, 689),
(1989, '<NAME> ', 13, 667),
(1990, '<NAME> ', 15, 673),
(1991, '<NAME> ', 15, 676),
(1992, '<NAME> ', 70, 713),
(1993, '<NAME> ', 13, 670),
(1994, '<NAME> ', 52, 693),
(1995, '<NAME> ', 15, 681),
(1996, '<NAME> ', 5, 664),
(1997, '<NAME> ', 70, 717),
(1998, '<NAME> ', 76, 670),
(1999, '<NAME> ', 52, 694),
(2000, '<NAME> ', 5, 665),
(2001, '<NAME> ', 23, 686),
(2002, '<NAME> ', 5, 667),
(2003, '<NAME> ', 5, 670),
(2004, '<NAME> ', 15, 693),
(2005, '<NAME> ', 19, 693),
(2006, '<NAME> ', 47, 692),
(2007, '<NAME> ', 5, 674),
(2008, '<NAME> ', 18, 753),
(2009, '<NAME> ', 47, 703),
(2010, 'SANDONA ', 52, 683),
(2011, '<NAME> ', 47, 707),
(2012, '<NAME> ', 5, 679),
(2013, '<NAME> ', 52, 696),
(2014, '<NAME> ', 13, 673),
(2015, '<NAME> ', 73, 686),
(2016, '<NAME> ', 8, 675),
(2017, '<NAME> ', 15, 690),
(2018, '<NAME> ', 41, 676),
(2019, '<NAME> ', 47, 1),
(2020, '<NAME> ', 99, 572),
(2021, '<NAME> ', 13, 683),
(2022, '<NAME> ', 19, 701),
(2023, '<NAME> ', 66, 682),
(2024, '<NAME> ', 5, 686),
(2025, '<NAME> ', 13, 688),
(2026, '<NAME> ', 99, 624),
(2027, '<NAME> ', 15, 696),
(2028, 'SANTACRUZ ', 52, 699),
(2029, '<NAME> ', 5, 42),
(2030, 'SANTANA ', 15, 686),
(2031, '<NAME> ', 19, 698),
(2032, 'SANTIAGO ', 54, 680),
(2033, 'SANTIAGO ', 86, 760),
(2034, '<NAME> ', 5, 690),
(2035, '<NAME> ', 8, 685),
(2036, 'SANTUARIO ', 5, 697),
(2037, 'SANTUARIO ', 66, 687),
(2038, 'SAPUYES ', 52, 720),
(2039, 'SARAVENA ', 81, 736),
(2040, 'SARDINATA ', 54, 720),
(2041, 'SASAIMA ', 25, 718),
(2042, 'SATIVANORTE ', 15, 720),
(2043, 'SATIVASUR ', 15, 723),
(2044, 'SEGOVIA ', 5, 736),
(2045, 'SESQUILE ', 25, 736),
(2046, 'SEVILLA ', 76, 736),
(2047, 'SIACHOQUE ', 15, 740),
(2048, 'SIBATE ', 25, 740),
(2049, 'SIBUNDOY ', 86, 749),
(2050, 'SILOS ', 54, 743),
(2051, 'SILVANIA ', 25, 743),
(2052, 'SILVIA ', 19, 743),
(2053, 'SIMIJACA ', 25, 745),
(2054, 'SIMITI ', 13, 744),
(2055, 'SINCE ', 70, 742),
(2056, 'SINCELEJO ', 70, 1),
(2057, 'SIPI ', 27, 745),
(2058, 'SITIONUEVO ', 47, 745),
(2059, 'SOACHA ', 25, 754),
(2060, 'SOATA ', 15, 753),
(2061, 'SOCHA ', 15, 757),
(2062, 'SOCOTA ', 15, 755),
(2063, 'SOGAMOSO ', 15, 759),
(2064, 'SOLANO ', 18, 756),
(2065, 'SOLEDAD ', 8, 758),
(2066, 'SOLITA ', 18, 785),
(2067, 'SOMONDOCO ', 15, 761),
(2068, 'SONSON ', 5, 756),
(2069, 'SOPETRAN ', 5, 761),
(2070, 'SOPLAVIENTO ', 13, 760),
(2071, 'SOPO ', 25, 758),
(2072, 'SORA ', 15, 762),
(2073, 'SORACA ', 15, 764),
(2074, 'SOTAQUIRA ', 15, 763),
(2075, 'SOTARA ', 19, 760),
(2076, 'SUAN ', 8, 770),
(2077, 'SUAREZ ', 19, 780),
(2078, 'SUAREZ ', 73, 770),
(2079, 'SUAZA ', 41, 770),
(2080, 'SUBACHOQUE ', 25, 769),
(2081, 'SUCRE ', 70, 771),
(2082, 'SUESCA ', 25, 772),
(2083, 'SUPATA ', 25, 777),
(2084, 'SUPIA ', 17, 777),
(2085, 'SUSA ', 25, 779),
(2086, 'SUSACON ', 15, 774),
(2087, 'SUTAMARCHAN ', 15, 776),
(2088, 'SUTATAUSA ', 25, 781),
(2089, 'SUTATENZA ', 15, 778),
(2090, 'TABIO ', 25, 785),
(2091, 'TADO ', 27, 787),
(2092, '<NAME> ', 13, 780),
(2093, 'TAMALAMEQUE ', 20, 787),
(2094, 'TAMARA ', 85, 400),
(2095, 'TAME ', 81, 794),
(2096, 'TAMESIS ', 5, 789),
(2097, 'TAMINANGO ', 52, 786),
(2098, 'TANGUA ', 52, 788),
(2099, 'TARAIRA ', 97, 666),
(2100, 'TARAPACA ', 91, 798),
(2101, 'TARAZA ', 5, 790),
(2102, 'TARQUI ', 41, 791),
(2103, 'TARSO ', 5, 792),
(2104, 'TASCO ', 15, 790),
(2105, 'TAURAMENA ', 85, 410),
(2106, 'TAUSA ', 25, 793),
(2107, 'TELLO ', 41, 799),
(2108, 'TENA ', 25, 797),
(2109, 'TENERIFE ', 47, 798),
(2110, 'TENJO ', 25, 799),
(2111, 'TENZA ', 15, 798),
(2112, 'TEORAMA ', 54, 800),
(2113, 'TERUEL ', 41, 801),
(2114, 'TESALIA ', 41, 797),
(2115, 'TIBACUY ', 25, 805),
(2116, 'TIBANA ', 15, 804),
(2117, 'TIBASOSA ', 15, 806),
(2118, 'TIBIRITA ', 25, 807),
(2119, 'TIBU ', 54, 810),
(2120, 'TIERRALTA ', 23, 807),
(2121, 'TIMANA ', 41, 807),
(2122, 'TIMBIO ', 19, 807),
(2123, 'TIMBIQUI ', 19, 809),
(2124, 'TINJACA ', 15, 808),
(2125, 'TIPACOQUE ', 15, 810),
(2126, 'TIQUISIO ', 13, 810),
(2127, 'TITIRIBI ', 5, 809),
(2128, 'TOCA ', 15, 814),
(2129, 'TOCAIMA ', 25, 815),
(2130, 'TOCANCIPA ', 25, 817),
(2131, 'TOGUI ', 15, 816),
(2132, 'TOLEDO ', 5, 819),
(2133, 'TOLEDO ', 54, 820),
(2134, 'TOLU ', 70, 820),
(2135, 'TOLUVIEJO ', 70, 823),
(2136, 'TOPAGA ', 15, 820),
(2137, 'TOPAIPI ', 25, 823),
(2138, 'TORIBIO ', 19, 821),
(2139, 'TORO ', 76, 823),
(2140, 'TOTA ', 15, 822),
(2141, 'TOTORO ', 19, 824),
(2142, 'TRINIDAD ', 85, 430),
(2143, 'TRUJILLO ', 76, 828),
(2144, 'TUBARA ', 8, 832),
(2145, 'TULUA ', 76, 834),
(2146, 'TUMACO ', 52, 835),
(2147, 'TUNJA ', 15, 1),
(2148, 'TUNUNGUA ', 15, 832),
(2149, 'TUQUERRES ', 52, 838),
(2150, 'TURBACO ', 13, 836),
(2151, 'TURBANA ', 13, 838),
(2152, 'TURBO ', 5, 837),
(2153, 'TURMEQUE ', 15, 835),
(2154, 'TUTA ', 15, 837),
(2155, 'TUTAZA ', 15, 839),
(2156, 'UBALA ', 25, 839),
(2157, 'UBAQUE ', 25, 841),
(2158, 'UBATE ', 25, 843),
(2159, 'ULLOA ', 76, 845),
(2160, 'UMBITA ', 15, 842),
(2161, 'UNE ', 25, 845),
(2162, 'UNGUIA ', 27, 800),
(2163, 'URAMITA ', 5, 842),
(2164, 'URIBIA ', 44, 847),
(2165, 'URRAO ', 5, 847),
(2166, 'URUMITA ', 44, 855),
(2167, 'USIACURI ', 8, 849),
(2168, 'UTICA ', 25, 851),
(2169, 'VALDIVIA ', 5, 854),
(2170, '<NAME> ', 73, 854),
(2171, '<NAME> ', 86, 865),
(2172, 'VALLEDUPAR ', 20, 1),
(2173, 'VALPARAISO ', 5, 856),
(2174, 'VALPARAISO ', 18, 860),
(2175, 'VEGACHI ', 5, 858),
(2176, 'VENADILLO ', 73, 861),
(2177, 'VENECIA ', 5, 861),
(2178, 'VENTAQUEMADA ', 15, 861),
(2179, 'VERGARA ', 25, 862),
(2180, 'VERSALLES ', 76, 863),
(2181, 'VIANI ', 25, 867),
(2182, 'VICTORIA ', 17, 867),
(2183, '<NAME> ', 5, 873),
(2184, 'VIJES ', 76, 869),
(2185, '<NAME> ', 54, 871),
(2186, '<NAME> ', 15, 407),
(2187, '<NAME> ', 54, 874);
INSERT INTO `ciudad` (`id`, `descripcion`, `departamento_id`, `ciudad_id`) VALUES
(2188, 'VILLAGARZON ', 86, 885),
(2189, 'VILLAGOMEZ ', 25, 871),
(2190, 'VILLAHERMOSA ', 73, 870),
(2191, 'VILLAMARIA ', 17, 873),
(2192, 'VILLANUEVA ', 13, 873),
(2193, 'VILLANUEVA ', 44, 874),
(2194, 'VILLANUEVA ', 85, 440),
(2195, 'VILLAPINZON ', 25, 873),
(2196, 'VILLARRICA ', 73, 738),
(2197, 'VILLAVICENCIO ', 50, 1),
(2198, 'VILLAVIEJA ', 41, 872),
(2199, 'VILLETA ', 25, 875),
(2200, 'VIOTA ', 25, 878),
(2201, 'VIRACACHA ', 15, 879),
(2202, '<NAME> ', 50, 711),
(2203, 'VITERBO ', 17, 877),
(2204, 'YACOPI ', 25, 885),
(2205, 'YAGUARA ', 41, 885),
(2206, 'YALI ', 5, 885),
(2207, 'YARUMAL ', 5, 887),
(2208, 'YAVARETE ', 97, 889),
(2209, 'YOLOMBO ', 5, 890),
(2210, 'YONDO ', 5, 893),
(2211, 'YOPAL ', 85, 1),
(2212, 'YOTOCO ', 76, 890),
(2213, 'YUCUANQUER ', 52, 885),
(2214, 'YUMBO ', 76, 892),
(2215, 'ZAMBRANO ', 13, 894),
(2216, 'ZARAGOZA ', 5, 895),
(2217, 'ZARZAL ', 76, 895),
(2218, 'ZETAQUIRA ', 15, 897),
(2219, 'ZIPACON ', 25, 898),
(2220, 'ZIPAQUIRA ', 25, 899);
-- --------------------------------------------------------
--
-- Table structure for table `color`
--
CREATE TABLE IF NOT EXISTS `color` (
`id` int(11) NOT NULL,
`label` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `color`
--
INSERT INTO `color` (`id`, `label`) VALUES
(1, 'Negro'),
(2, 'Blanco'),
(3, 'Azul'),
(4, 'Rojo'),
(5, 'Verde');
-- --------------------------------------------------------
--
-- Table structure for table `configuration`
--
CREATE TABLE IF NOT EXISTS `configuration` (
`configuration_id` int(11) NOT NULL AUTO_INCREMENT,
`configuration_title` varchar(255) NOT NULL,
`configuration_key` varchar(255) NOT NULL,
`configuration_value` text NOT NULL,
`configuration_description` varchar(255) NOT NULL,
`configuration_group_id` int(11) NOT NULL,
`sort_order` int(5) DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
`use_function` varchar(255) DEFAULT NULL,
`set_function` varchar(255) DEFAULT NULL,
PRIMARY KEY (`configuration_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=259 ;
--
-- Dumping data for table `configuration`
--
INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
(1, 'Store Name', 'STORE_NAME', '<NAME>', 'The name of my store', 1, 1, NULL, '2014-04-16 16:34:51', NULL, NULL),
(2, 'Store Owner', 'STORE_OWNER', '<NAME>', 'The name of my store owner', 1, 2, NULL, '2014-04-16 16:34:51', NULL, NULL),
(3, 'E-Mail Address', 'STORE_OWNER_EMAIL_ADDRESS', '<EMAIL>', 'The e-mail address of my store owner', 1, 3, NULL, '2014-04-16 16:34:51', NULL, NULL),
(4, 'E-Mail From', 'EMAIL_FROM', '"<NAME>" <<EMAIL>>', 'The e-mail address used in (sent) e-mails', 1, 4, NULL, '2014-04-16 16:34:51', NULL, NULL),
(5, 'Country', 'STORE_COUNTRY', '223', 'The country my store is located in <br /><br /><strong>Note: Please remember to update the store zone.</strong>', 1, 6, NULL, '2014-04-16 16:34:51', 'tep_get_country_name', 'tep_cfg_pull_down_country_list('),
(6, 'Zone', 'STORE_ZONE', '18', 'The zone my store is located in', 1, 7, NULL, '2014-04-16 16:34:51', 'tep_cfg_get_zone_name', 'tep_cfg_pull_down_zone_list('),
(7, 'Expected Sort Order', 'EXPECTED_PRODUCTS_SORT', 'desc', 'This is the sort order used in the expected products box.', 1, 8, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''asc'', ''desc''), '),
(8, 'Expected Sort Field', 'EXPECTED_PRODUCTS_FIELD', 'date_expected', 'The column to sort by in the expected products box.', 1, 9, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''products_name'', ''date_expected''), '),
(9, 'Switch To Default Language Currency', 'USE_DEFAULT_LANGUAGE_CURRENCY', 'false', 'Automatically switch to the language''s currency when it is changed', 1, 10, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(10, 'Send Extra Order Emails To', 'SEND_EXTRA_ORDER_EMAILS_TO', '', 'Send extra order emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>', 1, 11, NULL, '2014-04-16 16:34:51', NULL, NULL),
(11, 'Use Search-Engine Safe URLs', 'SEARCH_ENGINE_FRIENDLY_URLS', 'false', 'Use search-engine safe urls for all site links', 1, 12, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(12, 'Display Cart After Adding Product', 'DISPLAY_CART', 'true', 'Display the shopping cart after adding a product (or return back to their origin)', 1, 14, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(13, 'Allow Guest To Tell A Friend', 'ALLOW_GUEST_TO_TELL_A_FRIEND', 'false', 'Allow guests to tell a friend about a product', 1, 15, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(14, 'Default Search Operator', 'ADVANCED_SEARCH_DEFAULT_OPERATOR', 'and', 'Default search operators', 1, 17, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''and'', ''or''), '),
(15, 'Store Address and Phone', 'STORE_NAME_ADDRESS', 'Store Name\nAddress\nCountry\nPhone', 'This is the Store Name, Address and Phone used on printable documents and displayed online', 1, 18, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_textarea('),
(16, 'Show Category Counts', 'SHOW_COUNTS', 'true', 'Count recursively how many products are in each category', 1, 19, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(17, 'Tax Decimal Places', 'TAX_DECIMAL_PLACES', '0', 'Pad the tax value this amount of decimal places', 1, 20, NULL, '2014-04-16 16:34:51', NULL, NULL),
(18, 'Display Prices with Tax', 'DISPLAY_PRICE_WITH_TAX', 'false', 'Display prices with tax included (true) or add the tax at the end (false)', 1, 21, NULL, '2014-04-16 16:34:51', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(19, 'First Name', 'ENTRY_FIRST_NAME_MIN_LENGTH', '2', 'Minimum length of first name', 2, 1, NULL, '2014-04-16 16:34:51', NULL, NULL),
(20, 'Last Name', 'ENTRY_LAST_NAME_MIN_LENGTH', '2', 'Minimum length of last name', 2, 2, NULL, '2014-04-16 16:34:51', NULL, NULL),
(21, 'Date of Birth', 'ENTRY_DOB_MIN_LENGTH', '10', 'Minimum length of date of birth', 2, 3, NULL, '2014-04-16 16:34:52', NULL, NULL),
(22, 'E-Mail Address', 'ENTRY_EMAIL_ADDRESS_MIN_LENGTH', '6', 'Minimum length of e-mail address', 2, 4, NULL, '2014-04-16 16:34:52', NULL, NULL),
(23, 'Street Address', 'ENTRY_STREET_ADDRESS_MIN_LENGTH', '5', 'Minimum length of street address', 2, 5, NULL, '2014-04-16 16:34:52', NULL, NULL),
(24, 'Company', 'ENTRY_COMPANY_MIN_LENGTH', '2', 'Minimum length of company name', 2, 6, NULL, '2014-04-16 16:34:52', NULL, NULL),
(25, 'Post Code', 'ENTRY_POSTCODE_MIN_LENGTH', '4', 'Minimum length of post code', 2, 7, NULL, '2014-04-16 16:34:52', NULL, NULL),
(26, 'City', 'ENTRY_CITY_MIN_LENGTH', '3', 'Minimum length of city', 2, 8, NULL, '2014-04-16 16:34:52', NULL, NULL),
(27, 'State', 'ENTRY_STATE_MIN_LENGTH', '2', 'Minimum length of state', 2, 9, NULL, '2014-04-16 16:34:52', NULL, NULL),
(28, 'Telephone Number', 'ENTRY_TELEPHONE_MIN_LENGTH', '3', 'Minimum length of telephone number', 2, 10, NULL, '2014-04-16 16:34:52', NULL, NULL),
(29, 'Password', 'ENTRY_PASSWORD_<PASSWORD>', '5', 'Minimum length of password', 2, 11, NULL, '2014-04-16 16:34:52', NULL, NULL),
(30, 'Credit Card Owner Name', 'CC_OWNER_MIN_LENGTH', '3', 'Minimum length of credit card owner name', 2, 12, NULL, '2014-04-16 16:34:52', NULL, NULL),
(31, 'Credit Card Number', 'CC_NUMBER_MIN_LENGTH', '10', 'Minimum length of credit card number', 2, 13, NULL, '2014-04-16 16:34:52', NULL, NULL),
(32, 'Review Text', 'REVIEW_TEXT_MIN_LENGTH', '50', 'Minimum length of review text', 2, 14, NULL, '2014-04-16 16:34:52', NULL, NULL),
(33, 'Best Sellers', 'MIN_DISPLAY_BESTSELLERS', '1', 'Minimum number of best sellers to display', 2, 15, NULL, '2014-04-16 16:34:52', NULL, NULL),
(34, 'Also Purchased', 'MIN_DISPLAY_ALSO_PURCHASED', '1', 'Minimum number of products to display in the ''This Customer Also Purchased'' box', 2, 16, NULL, '2014-04-16 16:34:52', NULL, NULL),
(35, 'Address Book Entries', 'MAX_ADDRESS_BOOK_ENTRIES', '5', 'Maximum address book entries a customer is allowed to have', 3, 1, NULL, '2014-04-16 16:34:52', NULL, NULL),
(36, 'Search Results', 'MAX_DISPLAY_SEARCH_RESULTS', '20', 'Amount of products to list', 3, 2, NULL, '2014-04-16 16:34:52', NULL, NULL),
(37, 'Page Links', 'MAX_DISPLAY_PAGE_LINKS', '5', 'Number of ''number'' links use for page-sets', 3, 3, NULL, '2014-04-16 16:34:52', NULL, NULL),
(38, 'Special Products', 'MAX_DISPLAY_SPECIAL_PRODUCTS', '9', 'Maximum number of products on special to display', 3, 4, NULL, '2014-04-16 16:34:52', NULL, NULL),
(39, 'New Products Module', 'MAX_DISPLAY_NEW_PRODUCTS', '9', 'Maximum number of new products to display in a category', 3, 5, NULL, '2014-04-16 16:34:52', NULL, NULL),
(40, 'Products Expected', 'MAX_DISPLAY_UPCOMING_PRODUCTS', '10', 'Maximum number of products expected to display', 3, 6, NULL, '2014-04-16 16:34:52', NULL, NULL),
(41, 'Manufacturers List', 'MAX_DISPLAY_MANUFACTURERS_IN_A_LIST', '0', 'Used in manufacturers box; when the number of manufacturers exceeds this number, a drop-down list will be displayed instead of the default list', 3, 7, NULL, '2014-04-16 16:34:52', NULL, NULL),
(42, 'Manufacturers Select Size', 'MAX_MANUFACTURERS_LIST', '1', 'Used in manufacturers box; when this value is ''1'' the classic drop-down list will be used for the manufacturers box. Otherwise, a list-box with the specified number of rows will be displayed.', 3, 7, NULL, '2014-04-16 16:34:52', NULL, NULL),
(43, 'Length of Manufacturers Name', 'MAX_DISPLAY_MANUFACTURER_NAME_LEN', '15', 'Used in manufacturers box; maximum length of manufacturers name to display', 3, 8, NULL, '2014-04-16 16:34:52', NULL, NULL),
(44, 'New Reviews', 'MAX_DISPLAY_NEW_REVIEWS', '6', 'Maximum number of new reviews to display', 3, 9, NULL, '2014-04-16 16:34:52', NULL, NULL),
(45, 'Selection of Random Reviews', 'MAX_RANDOM_SELECT_REVIEWS', '10', 'How many records to select from to choose one random product review', 3, 10, NULL, '2014-04-16 16:34:52', NULL, NULL),
(46, 'Selection of Random New Products', 'MAX_RANDOM_SELECT_NEW', '10', 'How many records to select from to choose one random new product to display', 3, 11, NULL, '2014-04-16 16:34:52', NULL, NULL),
(47, 'Selection of Products on Special', 'MAX_RANDOM_SELECT_SPECIALS', '10', 'How many records to select from to choose one random product special to display', 3, 12, NULL, '2014-04-16 16:34:52', NULL, NULL),
(48, 'Categories To List Per Row', 'MAX_DISPLAY_CATEGORIES_PER_ROW', '3', 'How many categories to list per row', 3, 13, NULL, '2014-04-16 16:34:52', NULL, NULL),
(49, 'New Products Listing', 'MAX_DISPLAY_PRODUCTS_NEW', '10', 'Maximum number of new products to display in new products page', 3, 14, NULL, '2014-04-16 16:34:52', NULL, NULL),
(50, 'Best Sellers', 'MAX_DISPLAY_BESTSELLERS', '10', 'Maximum number of best sellers to display', 3, 15, NULL, '2014-04-16 16:34:53', NULL, NULL),
(51, 'Also Purchased', 'MAX_DISPLAY_ALSO_PURCHASED', '6', 'Maximum number of products to display in the ''This Customer Also Purchased'' box', 3, 16, NULL, '2014-04-16 16:34:53', NULL, NULL),
(52, 'Customer Order History Box', 'MAX_DISPLAY_PRODUCTS_IN_ORDER_HISTORY_BOX', '6', 'Maximum number of products to display in the customer order history box', 3, 17, NULL, '2014-04-16 16:34:53', NULL, NULL),
(53, 'Order History', 'MAX_DISPLAY_ORDER_HISTORY', '10', 'Maximum number of orders to display in the order history page', 3, 18, NULL, '2014-04-16 16:34:53', NULL, NULL),
(54, 'Product Quantities In Shopping Cart', 'MAX_QTY_IN_CART', '99', 'Maximum number of product quantities that can be added to the shopping cart (0 for no limit)', 3, 19, NULL, '2014-04-16 16:34:53', NULL, NULL),
(55, 'Small Image Width', 'SMALL_IMAGE_WIDTH', '100', 'The pixel width of small images', 4, 1, NULL, '2014-04-16 16:34:53', NULL, NULL),
(56, 'Small Image Height', 'SMALL_IMAGE_HEIGHT', '80', 'The pixel height of small images', 4, 2, NULL, '2014-04-16 16:34:53', NULL, NULL),
(57, 'Heading Image Width', 'HEADING_IMAGE_WIDTH', '57', 'The pixel width of heading images', 4, 3, NULL, '2014-04-16 16:34:53', NULL, NULL),
(58, 'Heading Image Height', 'HEADING_IMAGE_HEIGHT', '40', 'The pixel height of heading images', 4, 4, NULL, '2014-04-16 16:34:53', NULL, NULL),
(59, 'Subcategory Image Width', 'SUBCATEGORY_IMAGE_WIDTH', '100', 'The pixel width of subcategory images', 4, 5, NULL, '2014-04-16 16:34:53', NULL, NULL),
(60, 'Subcategory Image Height', 'SUBCATEGORY_IMAGE_HEIGHT', '57', 'The pixel height of subcategory images', 4, 6, NULL, '2014-04-16 16:34:53', NULL, NULL),
(61, 'Calculate Image Size', 'CONFIG_CALCULATE_IMAGE_SIZE', 'true', 'Calculate the size of images?', 4, 7, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(62, 'Image Required', 'IMAGE_REQUIRED', 'true', 'Enable to display broken images. Good for development.', 4, 8, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(63, 'Gender', 'ACCOUNT_GENDER', 'true', 'Display gender in the customers account', 5, 1, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(64, 'Date of Birth', 'ACCOUNT_DOB', 'true', 'Display date of birth in the customers account', 5, 2, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(65, 'Company', 'ACCOUNT_COMPANY', 'true', 'Display company in the customers account', 5, 3, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(66, 'Suburb', 'ACCOUNT_SUBURB', 'true', 'Display suburb in the customers account', 5, 4, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(67, 'State', 'ACCOUNT_STATE', 'true', 'Display state in the customers account', 5, 5, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(68, 'Installed Modules', 'MODULE_PAYMENT_INSTALLED', 'cod.php;paypal_express.php', 'List of payment module filenames separated by a semi-colon. This is automatically updated. No need to edit. (Example: cod.php;paypal_express.php)', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(69, 'Installed Modules', 'MODULE_ORDER_TOTAL_INSTALLED', 'ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_total.php', 'List of order_total module filenames separated by a semi-colon. This is automatically updated. No need to edit. (Example: ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_total.php)', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(70, 'Installed Modules', 'MODULE_SHIPPING_INSTALLED', 'flat.php', 'List of shipping module filenames separated by a semi-colon. This is automatically updated. No need to edit. (Example: ups.php;flat.php;item.php)', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(71, 'Installed Modules', 'MODULE_ACTION_RECORDER_INSTALLED', 'ar_admin_login.php;ar_contact_us.php;ar_reset_password.php;ar_tell_a_friend.php', 'List of action recorder module filenames separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(72, 'Installed Modules', 'MODULE_SOCIAL_BOOKMARKS_INSTALLED', 'sb_email.php;sb_facebook.php;sb_google_plus_share.php;sb_pinterest.php;sb_twitter.php', 'List of social bookmark module filenames separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(73, 'Enable Cash On Delivery Module', 'MODULE_PAYMENT_COD_STATUS', 'True', 'Do you want to accept Cash On Delevery payments?', 6, 1, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(74, 'Payment Zone', 'MODULE_PAYMENT_COD_ZONE', '0', 'If a zone is selected, only enable this payment method for that zone.', 6, 2, NULL, '2014-04-16 16:34:53', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes('),
(75, 'Sort order of display.', 'MODULE_PAYMENT_COD_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:53', NULL, NULL),
(76, 'Set Order Status', 'MODULE_PAYMENT_COD_ORDER_STATUS_ID', '0', 'Set the status of orders made with this payment module to this value', 6, 0, NULL, '2014-04-16 16:34:53', 'tep_get_order_status_name', 'tep_cfg_pull_down_order_statuses('),
(77, 'Enable Flat Shipping', 'MODULE_SHIPPING_FLAT_STATUS', 'True', 'Do you want to offer flat rate shipping?', 6, 0, NULL, '2014-04-16 16:34:53', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(78, 'Shipping Cost', 'MODULE_SHIPPING_FLAT_COST', '5.00', 'The shipping cost for all orders using this shipping method.', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(79, 'Tax Class', 'MODULE_SHIPPING_FLAT_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', 6, 0, NULL, '2014-04-16 16:34:54', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes('),
(80, 'Shipping Zone', 'MODULE_SHIPPING_FLAT_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', 6, 0, NULL, '2014-04-16 16:34:54', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes('),
(81, 'Sort Order', 'MODULE_SHIPPING_FLAT_SORT_ORDER', '0', 'Sort order of display.', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(82, 'Default Currency', 'DEFAULT_CURRENCY', 'USD', 'Default Currency', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(83, 'Default Language', 'DEFAULT_LANGUAGE', 'en', 'Default Language', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(84, 'Default Order Status For New Orders', 'DEFAULT_ORDERS_STATUS_ID', '1', 'When a new order is created, this order status will be assigned to it.', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(85, 'Display Shipping', 'MODULE_ORDER_TOTAL_SHIPPING_STATUS', 'true', 'Do you want to display the order shipping cost?', 6, 1, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(86, 'Sort Order', 'MODULE_ORDER_TOTAL_SHIPPING_SORT_ORDER', '2', 'Sort order of display.', 6, 2, NULL, '2014-04-16 16:34:54', NULL, NULL),
(87, 'Allow Free Shipping', 'MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING', 'false', 'Do you want to allow free shipping?', 6, 3, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(88, 'Free Shipping For Orders Over', 'MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER', '50', 'Provide free shipping for orders over the set amount.', 6, 4, NULL, '2014-04-16 16:34:54', 'currencies->format', NULL),
(89, 'Provide Free Shipping For Orders Made', 'MODULE_ORDER_TOTAL_SHIPPING_DESTINATION', 'national', 'Provide free shipping for orders sent to the set destination.', 6, 5, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''national'', ''international'', ''both''), '),
(90, 'Display Sub-Total', 'MODULE_ORDER_TOTAL_SUBTOTAL_STATUS', 'true', 'Do you want to display the order sub-total cost?', 6, 1, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(91, 'Sort Order', 'MODULE_ORDER_TOTAL_SUBTOTAL_SORT_ORDER', '1', 'Sort order of display.', 6, 2, NULL, '2014-04-16 16:34:54', NULL, NULL),
(92, 'Display Tax', 'MODULE_ORDER_TOTAL_TAX_STATUS', 'true', 'Do you want to display the order tax value?', 6, 1, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(93, 'Sort Order', 'MODULE_ORDER_TOTAL_TAX_SORT_ORDER', '3', 'Sort order of display.', 6, 2, NULL, '2014-04-16 16:34:54', NULL, NULL),
(94, 'Display Total', 'MODULE_ORDER_TOTAL_TOTAL_STATUS', 'true', 'Do you want to display the total order value?', 6, 1, NULL, '2014-04-16 16:34:54', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(95, 'Sort Order', 'MODULE_ORDER_TOTAL_TOTAL_SORT_ORDER', '4', 'Sort order of display.', 6, 2, NULL, '2014-04-16 16:34:54', NULL, NULL),
(96, 'Minimum Minutes Per E-Mail', 'MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES', '15', 'Minimum number of minutes to allow 1 e-mail to be sent (eg, 15 for 1 e-mail every 15 minutes)', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(97, 'Minimum Minutes Per E-Mail', 'MODULE_ACTION_RECORDER_TELL_A_FRIEND_EMAIL_MINUTES', '15', 'Minimum number of minutes to allow 1 e-mail to be sent (eg, 15 for 1 e-mail every 15 minutes)', 6, 0, NULL, '2014-04-16 16:34:54', NULL, NULL),
(98, 'Allowed Minutes', 'MODULE_ACTION_RECORDER_ADMIN_LOGIN_MINUTES', '5', 'Number of minutes to allow login attempts to occur.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(99, 'Allowed Attempts', 'MODULE_ACTION_RECORDER_ADMIN_LOGIN_ATTEMPTS', '3', 'Number of login attempts to allow within the specified period.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(100, 'Allowed Minutes', 'MODULE_ACTION_RECORDER_RESET_PASSWORD_MINUTES', '5', 'Number of minutes to allow password resets to occur.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(101, 'Allowed Attempts', 'MODULE_ACTION_RECORDER_RESET_PASSWORD_ATTEMPTS', '1', 'Number of password reset attempts to allow within the specified period.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(102, 'Enable E-Mail Module', 'MODULE_SOCIAL_BOOKMARKS_EMAIL_STATUS', 'True', 'Do you want to allow products to be shared through e-mail?', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(103, 'Sort Order', 'MODULE_SOCIAL_BOOKMARKS_EMAIL_SORT_ORDER', '10', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(104, 'Enable Google+ Share Module', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_STATUS', 'True', 'Do you want to allow products to be shared through Google+?', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(105, 'Annotation', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_ANNOTATION', 'None', 'The annotation to display next to the button.', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''Inline'', ''Bubble'', ''Vertical-Bubble'', ''None''), '),
(106, 'Width', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_WIDTH', '', 'The maximum width of the button.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(107, 'Height', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_HEIGHT', '15', 'Sets the height of the button.', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''15'', ''20'', ''24'', ''60''), '),
(108, 'Alignment', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_ALIGN', 'Left', 'The alignment of the button assets.', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''Left'', ''Right''), '),
(109, 'Sort Order', 'MODULE_SOCIAL_BOOKMARKS_GOOGLE_PLUS_SHARE_SORT_ORDER', '20', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(110, 'Enable Facebook Module', 'MODULE_SOCIAL_BOOKMARKS_FACEBOOK_STATUS', 'True', 'Do you want to allow products to be shared through Facebook?', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(111, 'Sort Order', 'MODULE_SOCIAL_BOOKMARKS_FACEBOOK_SORT_ORDER', '30', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(112, 'Enable Twitter Module', 'MODULE_SOCIAL_BOOKMARKS_TWITTER_STATUS', 'True', 'Do you want to allow products to be shared through Twitter?', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(113, 'Sort Order', 'MODULE_SOCIAL_BOOKMARKS_TWITTER_SORT_ORDER', '40', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(114, 'Enable Pinterest Module', 'MODULE_SOCIAL_BOOKMARKS_PINTEREST_STATUS', 'True', 'Do you want to allow Pinterest Button?', 6, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(115, 'Layout Position', 'MODULE_SOCIAL_BOOKMARKS_PINTEREST_BUTTON_COUNT_POSITION', 'None', 'Horizontal or Vertical or None', 6, 2, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''Horizontal'', ''Vertical'', ''None''), '),
(116, 'Sort Order', 'MODULE_SOCIAL_BOOKMARKS_PINTEREST_SORT_ORDER', '50', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:34:55', NULL, NULL),
(117, 'Country of Origin', 'SHIPPING_ORIGIN_COUNTRY', '223', 'Select the country of origin to be used in shipping quotes.', 7, 1, NULL, '2014-04-16 16:34:55', 'tep_get_country_name', 'tep_cfg_pull_down_country_list('),
(118, 'Postal Code', 'SHIPPING_ORIGIN_ZIP', 'NONE', 'Enter the Postal Code (ZIP) of the Store to be used in shipping quotes.', 7, 2, NULL, '2014-04-16 16:34:55', NULL, NULL),
(119, 'Enter the Maximum Package Weight you will ship', 'SHIPPING_MAX_WEIGHT', '50', 'Carriers have a max weight limit for a single package. This is a common one for all.', 7, 3, NULL, '2014-04-16 16:34:55', NULL, NULL),
(120, 'Package Tare weight.', 'SHIPPING_BOX_WEIGHT', '3', 'What is the weight of typical packaging of small to medium packages?', 7, 4, NULL, '2014-04-16 16:34:55', NULL, NULL),
(121, 'Larger packages - percentage increase.', 'SHIPPING_BOX_PADDING', '10', 'For 10% enter 10', 7, 5, NULL, '2014-04-16 16:34:55', NULL, NULL),
(122, 'Display Product Image', 'PRODUCT_LIST_IMAGE', '1', 'Do you want to display the Product Image?', 8, 1, NULL, '2014-04-16 16:34:55', NULL, NULL),
(123, 'Display Product Manufacturer Name', 'PRODUCT_LIST_MANUFACTURER', '0', 'Do you want to display the Product Manufacturer Name?', 8, 2, NULL, '2014-04-16 16:34:55', NULL, NULL),
(124, 'Display Product Model', 'PRODUCT_LIST_MODEL', '0', 'Do you want to display the Product Model?', 8, 3, NULL, '2014-04-16 16:34:55', NULL, NULL),
(125, 'Display Product Name', 'PRODUCT_LIST_NAME', '2', 'Do you want to display the Product Name?', 8, 4, NULL, '2014-04-16 16:34:55', NULL, NULL),
(126, 'Display Product Price', 'PRODUCT_LIST_PRICE', '3', 'Do you want to display the Product Price', 8, 5, NULL, '2014-04-16 16:34:55', NULL, NULL),
(127, 'Display Product Quantity', 'PRODUCT_LIST_QUANTITY', '0', 'Do you want to display the Product Quantity?', 8, 6, NULL, '2014-04-16 16:34:55', NULL, NULL),
(128, 'Display Product Weight', 'PRODUCT_LIST_WEIGHT', '0', 'Do you want to display the Product Weight?', 8, 7, NULL, '2014-04-16 16:34:55', NULL, NULL),
(129, 'Display Buy Now column', 'PRODUCT_LIST_BUY_NOW', '4', 'Do you want to display the Buy Now column?', 8, 8, NULL, '2014-04-16 16:34:55', NULL, NULL),
(130, 'Display Category/Manufacturer Filter (0=disable; 1=enable)', 'PRODUCT_LIST_FILTER', '1', 'Do you want to display the Category/Manufacturer Filter?', 8, 9, NULL, '2014-04-16 16:34:55', NULL, NULL),
(131, 'Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', 'PREV_NEXT_BAR_LOCATION', '2', 'Sets the location of the Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', 8, 10, NULL, '2014-04-16 16:34:55', NULL, NULL),
(132, 'Check stock level', 'STOCK_CHECK', 'true', 'Check to see if sufficent stock is available', 9, 1, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(133, 'Subtract stock', 'STOCK_LIMITED', 'true', 'Subtract product in stock by product orders', 9, 2, NULL, '2014-04-16 16:34:55', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(134, 'Allow Checkout', 'STOCK_ALLOW_CHECKOUT', 'true', 'Allow customer to checkout even if there is insufficient stock', 9, 3, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(135, 'Mark product out of stock', 'STOCK_MARK_PRODUCT_OUT_OF_STOCK', '***', 'Display something on screen so customer can see which product has insufficient stock', 9, 4, NULL, '2014-04-16 16:34:56', NULL, NULL),
(136, 'Stock Re-order level', 'STOCK_REORDER_LEVEL', '5', 'Define when stock needs to be re-ordered', 9, 5, NULL, '2014-04-16 16:34:56', NULL, NULL),
(137, 'Store Page Parse Time', 'STORE_PAGE_PARSE_TIME', 'false', 'Store the time it takes to parse a page', 10, 1, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(138, 'Log Destination', 'STORE_PAGE_PARSE_TIME_LOG', '/var/log/www/tep/page_parse_time.log', 'Directory and filename of the page parse time log', 10, 2, NULL, '2014-04-16 16:34:56', NULL, NULL),
(139, 'Log Date Format', 'STORE_PARSE_DATE_TIME_FORMAT', '%d/%m/%Y %H:%M:%S', 'The date format', 10, 3, NULL, '2014-04-16 16:34:56', NULL, NULL),
(140, 'Display The Page Parse Time', 'DISPLAY_PAGE_PARSE_TIME', 'true', 'Display the page parse time (store page parse time must be enabled)', 10, 4, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(141, 'Store Database Queries', 'STORE_DB_TRANSACTIONS', 'false', 'Store the database queries in the page parse time log', 10, 5, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(142, 'Use Cache', 'USE_CACHE', 'false', 'Use caching features', 11, 1, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(143, 'Cache Directory', 'DIR_FS_CACHE', '/var/www/testProyectos/mimoto/catalog/includes/work/', 'The directory where the cached files are saved', 11, 2, NULL, '2014-04-16 16:34:56', NULL, NULL),
(144, 'E-Mail Transport Method', 'EMAIL_TRANSPORT', 'sendmail', 'Defines if this server uses a local connection to sendmail or uses an SMTP connection via TCP/IP. Servers running on Windows and MacOS should change this setting to SMTP.', 12, 1, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''sendmail'', ''smtp''),'),
(145, 'E-Mail Linefeeds', 'EMAIL_LINEFEED', 'LF', 'Defines the character sequence used to separate mail headers.', 12, 2, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''LF'', ''CRLF''),'),
(146, 'Use MIME HTML When Sending Emails', 'EMAIL_USE_HTML', 'false', 'Send e-mails in HTML format', 12, 3, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''),'),
(147, 'Verify E-Mail Addresses Through DNS', 'ENTRY_EMAIL_ADDRESS_CHECK', 'false', 'Verify e-mail address through a DNS server', 12, 4, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(148, 'Send E-Mails', 'SEND_EMAILS', 'true', 'Send out e-mails', 12, 5, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(149, 'Enable download', 'DOWNLOAD_ENABLED', 'false', 'Enable the products download functions.', 13, 1, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(150, 'Download by redirect', 'DOWNLOAD_BY_REDIRECT', 'false', 'Use browser redirection for download. Disable on non-Unix systems.', 13, 2, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(151, 'Expiry delay (days)', 'DOWNLOAD_MAX_DAYS', '7', 'Set number of days before the download link expires. 0 means no limit.', 13, 3, NULL, '2014-04-16 16:34:56', NULL, ''),
(152, 'Maximum number of downloads', 'DOWNLOAD_MAX_COUNT', '5', 'Set the maximum number of downloads. 0 means no download authorized.', 13, 4, NULL, '2014-04-16 16:34:56', NULL, ''),
(153, 'Enable GZip Compression', 'GZIP_COMPRESSION', 'false', 'Enable HTTP GZip compression.', 14, 1, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '),
(154, 'Compression Level', 'GZIP_LEVEL', '5', 'Use this compression level 0-9 (0 = minimum, 9 = maximum).', 14, 2, NULL, '2014-04-16 16:34:56', NULL, NULL),
(155, 'Session Directory', 'SESSION_WRITE_DIRECTORY', '/var/www/testProyectos/mimoto/catalog/includes/work/', 'If sessions are file based, store them in this directory.', 15, 1, NULL, '2014-04-16 16:34:56', NULL, NULL),
(156, 'Force Cookie Use', 'SESSION_FORCE_COOKIE_USE', 'False', 'Force the use of sessions when cookies are only enabled.', 15, 2, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(157, 'Check SSL Session ID', 'SESSION_CHECK_SSL_SESSION_ID', 'False', 'Validate the SSL_SESSION_ID on every secure HTTPS page request.', 15, 3, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(158, 'Check User Agent', 'SESSION_CHECK_USER_AGENT', 'False', 'Validate the clients browser user agent on every page request.', 15, 4, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(159, 'Check IP Address', 'SESSION_CHECK_IP_ADDRESS', 'False', 'Validate the clients IP address on every page request.', 15, 5, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(160, 'Prevent Spider Sessions', 'SESSION_BLOCK_SPIDERS', 'True', 'Prevent known spiders from starting a session.', 15, 6, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(161, 'Recreate Session', 'SESSION_RECREATE', 'True', 'Recreate the session to generate a new session ID when the customer logs on or creates an account (PHP >=4.1 needed).', 15, 7, NULL, '2014-04-16 16:34:56', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(162, 'Last Update Check Time', 'LAST_UPDATE_CHECK_TIME', '', 'Last time a check for new versions of osCommerce was run', 6, 0, NULL, '2014-04-16 16:34:56', NULL, NULL),
(163, 'Enable PayPal Express Checkout', 'MODULE_PAYMENT_PAYPAL_EXPRESS_STATUS', 'True', 'Do you want to accept PayPal Express Checkout payments?', 6, 1, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(164, 'Seller Account', 'MODULE_PAYMENT_PAYPAL_EXPRESS_SELLER_ACCOUNT', '<EMAIL>', 'The email address of the seller account if no API credentials has been setup.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(165, 'API Username', 'MODULE_PAYMENT_PAYPAL_EXPRESS_API_USERNAME', '', 'The username to use for the PayPal API service', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(166, 'API Password', 'MODULE_PAYMENT_PAYPAL_EXPRESS_API_PASSWORD', '', 'The password to use for the PayPal API service', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(167, 'API Signature', 'MODULE_PAYMENT_PAYPAL_EXPRESS_API_SIGNATURE', '', 'The signature to use for the PayPal API service', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(168, 'Transaction Server', 'MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_SERVER', 'Live', 'Use the live or testing (sandbox) gateway server to process transactions?', 6, 0, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''Live'', ''Sandbox''), '),
(169, 'Transaction Method', 'MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_METHOD', 'Sale', 'The processing method to use for each transaction.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''Authorization'', ''Sale''), '),
(170, 'PayPal Account Optional', 'MODULE_PAYMENT_PAYPAL_EXPRESS_ACCOUNT_OPTIONAL', 'False', 'This must also be enabled in your PayPal account, in Profile > Website Payment Preferences.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(171, 'PayPal Instant Update', 'MODULE_PAYMENT_PAYPAL_EXPRESS_INSTANT_UPDATE', 'True', 'Support PayPal shipping and tax calculations on the PayPal.com site during Express Checkout.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(172, 'PayPal Checkout Image', 'MODULE_PAYMENT_PAYPAL_EXPRESS_CHECKOUT_IMAGE', 'Static', 'Use static or dynamic Express Checkout image buttons. Dynamic images are used with PayPal campaigns.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''Static'', ''Dynamic''), '),
(173, 'Debug E-Mail Address', 'MODULE_PAYMENT_PAYPAL_EXPRESS_DEBUG_EMAIL', '', 'All parameters of an invalid transaction will be sent to this email address.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(174, 'Payment Zone', 'MODULE_PAYMENT_PAYPAL_EXPRESS_ZONE', '0', 'If a zone is selected, only enable this payment method for that zone.', 6, 2, NULL, '2014-04-16 16:35:16', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes('),
(175, 'Sort order of display.', 'MODULE_PAYMENT_PAYPAL_EXPRESS_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(176, 'Set Order Status', 'MODULE_PAYMENT_PAYPAL_EXPRESS_ORDER_STATUS_ID', '0', 'Set the status of orders made with this payment module to this value', 6, 0, NULL, '2014-04-16 16:35:16', 'tep_get_order_status_name', 'tep_cfg_pull_down_order_statuses('),
(177, 'PayPal Transactions Order Status Level', 'MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTIONS_ORDER_STATUS_ID', '4', 'Include PayPal transaction information in this order status level', 6, 0, NULL, '2014-04-16 16:35:16', 'tep_get_order_status_name', 'tep_cfg_pull_down_order_statuses('),
(178, 'cURL Program Location', 'MODULE_PAYMENT_PAYPAL_EXPRESS_CURL', '/usr/bin/curl', 'The location to the cURL program application.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(179, 'Installed Modules', 'MODULE_HEADER_TAGS_INSTALLED', 'ht_canonical.php;ht_manufacturer_title.php;ht_category_title.php;ht_product_title.php;ht_robot_noindex.php', 'List of header tag module filenames separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:35:16', NULL, NULL),
(180, 'Enable Category Title Module', 'MODULE_HEADER_TAGS_CATEGORY_TITLE_STATUS', 'True', 'Do you want to allow category titles to be added to the page title?', 6, 1, NULL, '2014-04-16 16:35:16', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(181, 'Sort Order', 'MODULE_HEADER_TAGS_CATEGORY_TITLE_SORT_ORDER', '200', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(182, 'Enable Manufacturer Title Module', 'MODULE_HEADER_TAGS_MANUFACTURER_TITLE_STATUS', 'True', 'Do you want to allow manufacturer titles to be added to the page title?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(183, 'Sort Order', 'MODULE_HEADER_TAGS_MANUFACTURER_TITLE_SORT_ORDER', '100', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(184, 'Enable Product Title Module', 'MODULE_HEADER_TAGS_PRODUCT_TITLE_STATUS', 'True', 'Do you want to allow product titles to be added to the page title?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(185, 'Sort Order', 'MODULE_HEADER_TAGS_PRODUCT_TITLE_SORT_ORDER', '300', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(186, 'Enable Canonical Module', 'MODULE_HEADER_TAGS_CANONICAL_STATUS', 'True', 'Do you want to enable the Canonical module?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(187, 'Sort Order', 'MODULE_HEADER_TAGS_CANONICAL_SORT_ORDER', '400', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(188, 'Enable Robot NoIndex Module', 'MODULE_HEADER_TAGS_ROBOT_NOINDEX_STATUS', 'True', 'Do you want to enable the Robot NoIndex module?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(189, 'Pages', 'MODULE_HEADER_TAGS_ROBOT_NOINDEX_PAGES', 'account.php;account_edit.php;account_history.php;account_history_info.php;account_newsletters.php;account_notifications.php;account_password.php;address_book.php;address_book_process.php;checkout_confirmation.php;checkout_payment.php;checkout_payment_address.php;checkout_process.php;checkout_shipping.php;checkout_shipping_address.php;checkout_success.php;cookie_usage.php;create_account.php;create_account_success.php;login.php;logoff.php;password_forgotten.php;password_reset.php;product_reviews_write.php;shopping_cart.php;ssl_check.php;tell_a_friend.php', 'The pages to add the meta robot noindex tag to.', 6, 0, NULL, '2014-04-16 16:35:17', 'ht_robot_noindex_show_pages', 'ht_robot_noindex_edit_pages('),
(190, 'Sort Order', 'MODULE_HEADER_TAGS_ROBOT_NOINDEX_SORT_ORDER', '500', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(191, 'Installed Modules', 'MODULE_ADMIN_DASHBOARD_INSTALLED', 'd_total_revenue.php;d_total_customers.php;d_orders.php;d_customers.php;d_admin_logins.php;d_security_checks.php;d_latest_news.php;d_latest_addons.php;d_version_check.php;d_reviews.php', 'List of Administration Tool Dashboard module filenames separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(192, 'Enable Administrator Logins Module', 'MODULE_ADMIN_DASHBOARD_ADMIN_LOGINS_STATUS', 'True', 'Do you want to show the latest administrator logins on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(193, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_ADMIN_LOGINS_SORT_ORDER', '500', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(194, 'Enable Customers Module', 'MODULE_ADMIN_DASHBOARD_CUSTOMERS_STATUS', 'True', 'Do you want to show the newest customers on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(195, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_CUSTOMERS_SORT_ORDER', '400', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(196, 'Enable Latest Add-Ons Module', 'MODULE_ADMIN_DASHBOARD_LATEST_ADDONS_STATUS', 'True', 'Do you want to show the latest osCommerce Add-Ons on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(197, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_LATEST_ADDONS_SORT_ORDER', '800', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(198, 'Enable Latest News Module', 'MODULE_ADMIN_DASHBOARD_LATEST_NEWS_STATUS', 'True', 'Do you want to show the latest osCommerce News on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(199, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_LATEST_NEWS_SORT_ORDER', '700', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(200, 'Enable Orders Module', 'MODULE_ADMIN_DASHBOARD_ORDERS_STATUS', 'True', 'Do you want to show the latest orders on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(201, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_ORDERS_SORT_ORDER', '300', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(202, 'Enable Security Checks Module', 'MODULE_ADMIN_DASHBOARD_SECURITY_CHECKS_STATUS', 'True', 'Do you want to run the security checks for this installation?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(203, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_SECURITY_CHECKS_SORT_ORDER', '600', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:17', NULL, NULL),
(204, 'Enable Total Customers Module', 'MODULE_ADMIN_DASHBOARD_TOTAL_CUSTOMERS_STATUS', 'True', 'Do you want to show the total customers chart on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:17', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(205, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_TOTAL_CUSTOMERS_SORT_ORDER', '200', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(206, 'Enable Total Revenue Module', 'MODULE_ADMIN_DASHBOARD_TOTAL_REVENUE_STATUS', 'True', 'Do you want to show the total revenue chart on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(207, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_TOTAL_REVENUE_SORT_ORDER', '100', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(208, 'Enable Version Check Module', 'MODULE_ADMIN_DASHBOARD_VERSION_CHECK_STATUS', 'True', 'Do you want to show the version check results on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(209, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_VERSION_CHECK_SORT_ORDER', '900', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(210, 'Enable Latest Reviews Module', 'MODULE_ADMIN_DASHBOARD_REVIEWS_STATUS', 'True', 'Do you want to show the latest reviews on the dashboard?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(211, 'Sort Order', 'MODULE_ADMIN_DASHBOARD_REVIEWS_SORT_ORDER', '1000', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(212, 'Installed Modules', 'MODULE_BOXES_INSTALLED', 'bm_categories.php;bm_manufacturers.php;bm_search.php;bm_whats_new.php;bm_information.php;bm_shopping_cart.php;bm_manufacturer_info.php;bm_order_history.php;bm_best_sellers.php;bm_product_notifications.php;bm_product_social_bookmarks.php;bm_specials.php;bm_reviews.php;bm_languages.php;bm_currencies.php', 'List of box module filenames separated by a semi-colon. This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(213, 'Enable Best Sellers Module', 'MODULE_BOXES_BEST_SELLERS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(214, 'Content Placement', 'MODULE_BOXES_BEST_SELLERS_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(215, 'Sort Order', 'MODULE_BOXES_BEST_SELLERS_SORT_ORDER', '5030', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(216, 'Enable Categories Module', 'MODULE_BOXES_CATEGORIES_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(217, 'Content Placement', 'MODULE_BOXES_CATEGORIES_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(218, 'Sort Order', 'MODULE_BOXES_CATEGORIES_SORT_ORDER', '1000', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(219, 'Enable Currencies Module', 'MODULE_BOXES_CURRENCIES_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(220, 'Content Placement', 'MODULE_BOXES_CURRENCIES_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(221, 'Sort Order', 'MODULE_BOXES_CURRENCIES_SORT_ORDER', '5090', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(222, 'Enable Information Module', 'MODULE_BOXES_INFORMATION_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(223, 'Content Placement', 'MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(224, 'Sort Order', 'MODULE_BOXES_INFORMATION_SORT_ORDER', '1050', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(225, 'Enable Languages Module', 'MODULE_BOXES_LANGUAGES_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(226, 'Content Placement', 'MODULE_BOXES_LANGUAGES_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(227, 'Sort Order', 'MODULE_BOXES_LANGUAGES_SORT_ORDER', '5080', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(228, 'Enable Manufacturer Info Module', 'MODULE_BOXES_MANUFACTURER_INFO_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(229, 'Content Placement', 'MODULE_BOXES_MANUFACTURER_INFO_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(230, 'Sort Order', 'MODULE_BOXES_MANUFACTURER_INFO_SORT_ORDER', '5010', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(231, 'Enable Manufacturers Module', 'MODULE_BOXES_MANUFACTURERS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(232, 'Content Placement', 'MODULE_BOXES_MANUFACTURERS_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(233, 'Sort Order', 'MODULE_BOXES_MANUFACTURERS_SORT_ORDER', '1020', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(234, 'Enable Order History Module', 'MODULE_BOXES_ORDER_HISTORY_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(235, 'Content Placement', 'MODULE_BOXES_ORDER_HISTORY_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(236, 'Sort Order', 'MODULE_BOXES_ORDER_HISTORY_SORT_ORDER', '5020', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(237, 'Enable Product Notifications Module', 'MODULE_BOXES_PRODUCT_NOTIFICATIONS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(238, 'Content Placement', 'MODULE_BOXES_PRODUCT_NOTIFICATIONS_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(239, 'Sort Order', 'MODULE_BOXES_PRODUCT_NOTIFICATIONS_SORT_ORDER', '5040', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:18', NULL, NULL),
(240, 'Enable Product Social Bookmarks Module', 'MODULE_BOXES_PRODUCT_SOCIAL_BOOKMARKS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:18', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(241, 'Content Placement', 'MODULE_BOXES_PRODUCT_SOCIAL_BOOKMARKS_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(242, 'Sort Order', 'MODULE_BOXES_PRODUCT_SOCIAL_BOOKMARKS_SORT_ORDER', '5050', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(243, 'Enable Reviews Module', 'MODULE_BOXES_REVIEWS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''True'', ''False''), ');
INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
(244, 'Content Placement', 'MODULE_BOXES_REVIEWS_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(245, 'Sort Order', 'MODULE_BOXES_REVIEWS_SORT_ORDER', '5070', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(246, 'Enable Search Module', 'MODULE_BOXES_SEARCH_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(247, 'Content Placement', 'MODULE_BOXES_SEARCH_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(248, 'Sort Order', 'MODULE_BOXES_SEARCH_SORT_ORDER', '1030', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(249, 'Enable Shopping Cart Module', 'MODULE_BOXES_SHOPPING_CART_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(250, 'Content Placement', 'MODULE_BOXES_SHOPPING_CART_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(251, 'Sort Order', 'MODULE_BOXES_SHOPPING_CART_SORT_ORDER', '5000', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(252, 'Enable Specials Module', 'MODULE_BOXES_SPECIALS_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(253, 'Content Placement', 'MODULE_BOXES_SPECIALS_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(254, 'Sort Order', 'MODULE_BOXES_SPECIALS_SORT_ORDER', '5060', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(255, 'Enable What''s New Module', 'MODULE_BOXES_WHATS_NEW_STATUS', 'True', 'Do you want to add the module to your shop?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(256, 'Content Placement', 'MODULE_BOXES_WHATS_NEW_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', 6, 1, NULL, '2014-04-16 16:35:19', NULL, 'tep_cfg_select_option(array(''Left Column'', ''Right Column''), '),
(257, 'Sort Order', 'MODULE_BOXES_WHATS_NEW_SORT_ORDER', '1040', 'Sort order of display. Lowest is displayed first.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL),
(258, 'Installed Template Block Groups', 'TEMPLATE_BLOCK_GROUPS', 'boxes;header_tags', 'This is automatically updated. No need to edit.', 6, 0, NULL, '2014-04-16 16:35:19', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `configuration_group`
--
CREATE TABLE IF NOT EXISTS `configuration_group` (
`configuration_group_id` int(11) NOT NULL AUTO_INCREMENT,
`configuration_group_title` varchar(64) NOT NULL,
`configuration_group_description` varchar(255) NOT NULL,
`sort_order` int(5) DEFAULT NULL,
`visible` int(1) DEFAULT '1',
PRIMARY KEY (`configuration_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
--
-- Dumping data for table `configuration_group`
--
INSERT INTO `configuration_group` (`configuration_group_id`, `configuration_group_title`, `configuration_group_description`, `sort_order`, `visible`) VALUES
(1, 'My Store', 'General information about my store', 1, 1),
(2, 'Minimum Values', 'The minimum values for functions / data', 2, 1),
(3, 'Maximum Values', 'The maximum values for functions / data', 3, 1),
(4, 'Images', 'Image parameters', 4, 1),
(5, 'Customer Details', 'Customer account configuration', 5, 1),
(6, 'Module Options', 'Hidden from configuration', 6, 0),
(7, 'Shipping/Packaging', 'Shipping options available at my store', 7, 1),
(8, 'Product Listing', 'Product Listing configuration options', 8, 1),
(9, 'Stock', 'Stock configuration options', 9, 1),
(10, 'Logging', 'Logging configuration options', 10, 1),
(11, 'Cache', 'Caching configuration options', 11, 1),
(12, 'E-Mail Options', 'General setting for E-Mail transport and HTML E-Mails', 12, 1),
(13, 'Download', 'Downloadable products options', 13, 1),
(14, 'GZip Compression', 'GZip compression options', 14, 1),
(15, 'Sessions', 'Session options', 15, 1);
-- --------------------------------------------------------
--
-- Table structure for table `counter`
--
CREATE TABLE IF NOT EXISTS `counter` (
`startdate` char(8) DEFAULT NULL,
`counter` int(12) DEFAULT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `counter`
--
INSERT INTO `counter` (`startdate`, `counter`, `id`) VALUES
('20140502', 17, 1);
-- --------------------------------------------------------
--
-- Table structure for table `counter_history`
--
CREATE TABLE IF NOT EXISTS `counter_history` (
`month` char(8) DEFAULT NULL,
`counter` int(12) DEFAULT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `countries`
--
CREATE TABLE IF NOT EXISTS `countries` (
`countries_id` int(11) NOT NULL AUTO_INCREMENT,
`countries_name` varchar(255) NOT NULL,
`countries_iso_code_2` char(2) NOT NULL,
`countries_iso_code_3` char(3) NOT NULL,
`address_format_id` int(11) NOT NULL,
PRIMARY KEY (`countries_id`),
KEY `IDX_COUNTRIES_NAME` (`countries_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=240 ;
--
-- Dumping data for table `countries`
--
INSERT INTO `countries` (`countries_id`, `countries_name`, `countries_iso_code_2`, `countries_iso_code_3`, `address_format_id`) VALUES
(1, 'Afghanistan', 'AF', 'AFG', 1),
(2, 'Albania', 'AL', 'ALB', 1),
(3, 'Algeria', 'DZ', 'DZA', 1),
(4, 'American Samoa', 'AS', 'ASM', 1),
(5, 'Andorra', 'AD', 'AND', 1),
(6, 'Angola', 'AO', 'AGO', 1),
(7, 'Anguilla', 'AI', 'AIA', 1),
(8, 'Antarctica', 'AQ', 'ATA', 1),
(9, 'Antigua and Barbuda', 'AG', 'ATG', 1),
(10, 'Argentina', 'AR', 'ARG', 1),
(11, 'Armenia', 'AM', 'ARM', 1),
(12, 'Aruba', 'AW', 'ABW', 1),
(13, 'Australia', 'AU', 'AUS', 1),
(14, 'Austria', 'AT', 'AUT', 5),
(15, 'Azerbaijan', 'AZ', 'AZE', 1),
(16, 'Bahamas', 'BS', 'BHS', 1),
(17, 'Bahrain', 'BH', 'BHR', 1),
(18, 'Bangladesh', 'BD', 'BGD', 1),
(19, 'Barbados', 'BB', 'BRB', 1),
(20, 'Belarus', 'BY', 'BLR', 1),
(21, 'Belgium', 'BE', 'BEL', 1),
(22, 'Belize', 'BZ', 'BLZ', 1),
(23, 'Benin', 'BJ', 'BEN', 1),
(24, 'Bermuda', 'BM', 'BMU', 1),
(25, 'Bhutan', 'BT', 'BTN', 1),
(26, 'Bolivia', 'BO', 'BOL', 1),
(27, 'Bosnia and Herzegowina', 'BA', 'BIH', 1),
(28, 'Botswana', 'BW', 'BWA', 1),
(29, 'Bouvet Island', 'BV', 'BVT', 1),
(30, 'Brazil', 'BR', 'BRA', 1),
(31, 'British Indian Ocean Territory', 'IO', 'IOT', 1),
(32, 'Brunei Darussalam', 'BN', 'BRN', 1),
(33, 'Bulgaria', 'BG', 'BGR', 1),
(34, 'Burkina Faso', 'BF', 'BFA', 1),
(35, 'Burundi', 'BI', 'BDI', 1),
(36, 'Cambodia', 'KH', 'KHM', 1),
(37, 'Cameroon', 'CM', 'CMR', 1),
(38, 'Canada', 'CA', 'CAN', 1),
(39, 'Cape Verde', 'CV', 'CPV', 1),
(40, 'Cayman Islands', 'KY', 'CYM', 1),
(41, 'Central African Republic', 'CF', 'CAF', 1),
(42, 'Chad', 'TD', 'TCD', 1),
(43, 'Chile', 'CL', 'CHL', 1),
(44, 'China', 'CN', 'CHN', 1),
(45, 'Christmas Island', 'CX', 'CXR', 1),
(46, 'Cocos (Keeling) Islands', 'CC', 'CCK', 1),
(47, 'Colombia', 'CO', 'COL', 1),
(48, 'Comoros', 'KM', 'COM', 1),
(49, 'Congo', 'CG', 'COG', 1),
(50, 'Cook Islands', 'CK', 'COK', 1),
(51, 'Costa Rica', 'CR', 'CRI', 1),
(52, 'C<NAME>''Ivoire', 'CI', 'CIV', 1),
(53, 'Croatia', 'HR', 'HRV', 1),
(54, 'Cuba', 'CU', 'CUB', 1),
(55, 'Cyprus', 'CY', 'CYP', 1),
(56, 'Czech Republic', 'CZ', 'CZE', 1),
(57, 'Denmark', 'DK', 'DNK', 1),
(58, 'Djibouti', 'DJ', 'DJI', 1),
(59, 'Dominica', 'DM', 'DMA', 1),
(60, 'Dominican Republic', 'DO', 'DOM', 1),
(61, 'East Timor', 'TP', 'TMP', 1),
(62, 'Ecuador', 'EC', 'ECU', 1),
(63, 'Egypt', 'EG', 'EGY', 1),
(64, 'El Salvador', 'SV', 'SLV', 1),
(65, 'Equatorial Guinea', 'GQ', 'GNQ', 1),
(66, 'Eritrea', 'ER', 'ERI', 1),
(67, 'Estonia', 'EE', 'EST', 1),
(68, 'Ethiopia', 'ET', 'ETH', 1),
(69, 'Falkland Islands (Malvinas)', 'FK', 'FLK', 1),
(70, 'Faroe Islands', 'FO', 'FRO', 1),
(71, 'Fiji', 'FJ', 'FJI', 1),
(72, 'Finland', 'FI', 'FIN', 1),
(73, 'France', 'FR', 'FRA', 1),
(74, 'France, Metropolitan', 'FX', 'FXX', 1),
(75, 'French Guiana', 'GF', 'GUF', 1),
(76, 'French Polynesia', 'PF', 'PYF', 1),
(77, 'French Southern Territories', 'TF', 'ATF', 1),
(78, 'Gabon', 'GA', 'GAB', 1),
(79, 'Gambia', 'GM', 'GMB', 1),
(80, 'Georgia', 'GE', 'GEO', 1),
(81, 'Germany', 'DE', 'DEU', 5),
(82, 'Ghana', 'GH', 'GHA', 1),
(83, 'Gibraltar', 'GI', 'GIB', 1),
(84, 'Greece', 'GR', 'GRC', 1),
(85, 'Greenland', 'GL', 'GRL', 1),
(86, 'Grenada', 'GD', 'GRD', 1),
(87, 'Guadeloupe', 'GP', 'GLP', 1),
(88, 'Guam', 'GU', 'GUM', 1),
(89, 'Guatemala', 'GT', 'GTM', 1),
(90, 'Guinea', 'GN', 'GIN', 1),
(91, 'Guinea-bissau', 'GW', 'GNB', 1),
(92, 'Guyana', 'GY', 'GUY', 1),
(93, 'Haiti', 'HT', 'HTI', 1),
(94, 'Heard and Mc Donald Islands', 'HM', 'HMD', 1),
(95, 'Honduras', 'HN', 'HND', 1),
(96, 'Hong Kong', 'HK', 'HKG', 1),
(97, 'Hungary', 'HU', 'HUN', 1),
(98, 'Iceland', 'IS', 'ISL', 1),
(99, 'India', 'IN', 'IND', 1),
(100, 'Indonesia', 'ID', 'IDN', 1),
(101, 'Iran (Islamic Republic of)', 'IR', 'IRN', 1),
(102, 'Iraq', 'IQ', 'IRQ', 1),
(103, 'Ireland', 'IE', 'IRL', 1),
(104, 'Israel', 'IL', 'ISR', 1),
(105, 'Italy', 'IT', 'ITA', 1),
(106, 'Jamaica', 'JM', 'JAM', 1),
(107, 'Japan', 'JP', 'JPN', 1),
(108, 'Jordan', 'JO', 'JOR', 1),
(109, 'Kazakhstan', 'KZ', 'KAZ', 1),
(110, 'Kenya', 'KE', 'KEN', 1),
(111, 'Kiribati', 'KI', 'KIR', 1),
(112, 'Korea, Democratic People''s Republic of', 'KP', 'PRK', 1),
(113, 'Korea, Republic of', 'KR', 'KOR', 1),
(114, 'Kuwait', 'KW', 'KWT', 1),
(115, 'Kyrgyzstan', 'KG', 'KGZ', 1),
(116, 'Lao People''s Democratic Republic', 'LA', 'LAO', 1),
(117, 'Latvia', 'LV', 'LVA', 1),
(118, 'Lebanon', 'LB', 'LBN', 1),
(119, 'Lesotho', 'LS', 'LSO', 1),
(120, 'Liberia', 'LR', 'LBR', 1),
(121, 'Libyan Arab Jamahiriya', 'LY', 'LBY', 1),
(122, 'Liechtenstein', 'LI', 'LIE', 1),
(123, 'Lithuania', 'LT', 'LTU', 1),
(124, 'Luxembourg', 'LU', 'LUX', 1),
(125, 'Macau', 'MO', 'MAC', 1),
(126, 'Macedonia, The Former Yugoslav Republic of', 'MK', 'MKD', 1),
(127, 'Madagascar', 'MG', 'MDG', 1),
(128, 'Malawi', 'MW', 'MWI', 1),
(129, 'Malaysia', 'MY', 'MYS', 1),
(130, 'Maldives', 'MV', 'MDV', 1),
(131, 'Mali', 'ML', 'MLI', 1),
(132, 'Malta', 'MT', 'MLT', 1),
(133, 'Marshall Islands', 'MH', 'MHL', 1),
(134, 'Martinique', 'MQ', 'MTQ', 1),
(135, 'Mauritania', 'MR', 'MRT', 1),
(136, 'Mauritius', 'MU', 'MUS', 1),
(137, 'Mayotte', 'YT', 'MYT', 1),
(138, 'Mexico', 'MX', 'MEX', 1),
(139, 'Micronesia, Federated States of', 'FM', 'FSM', 1),
(140, 'Moldova, Republic of', 'MD', 'MDA', 1),
(141, 'Monaco', 'MC', 'MCO', 1),
(142, 'Mongolia', 'MN', 'MNG', 1),
(143, 'Montserrat', 'MS', 'MSR', 1),
(144, 'Morocco', 'MA', 'MAR', 1),
(145, 'Mozambique', 'MZ', 'MOZ', 1),
(146, 'Myanmar', 'MM', 'MMR', 1),
(147, 'Namibia', 'NA', 'NAM', 1),
(148, 'Nauru', 'NR', 'NRU', 1),
(149, 'Nepal', 'NP', 'NPL', 1),
(150, 'Netherlands', 'NL', 'NLD', 1),
(151, 'Netherlands Antilles', 'AN', 'ANT', 1),
(152, 'New Caledonia', 'NC', 'NCL', 1),
(153, 'New Zealand', 'NZ', 'NZL', 1),
(154, 'Nicaragua', 'NI', 'NIC', 1),
(155, 'Niger', 'NE', 'NER', 1),
(156, 'Nigeria', 'NG', 'NGA', 1),
(157, 'Niue', 'NU', 'NIU', 1),
(158, 'Norfolk Island', 'NF', 'NFK', 1),
(159, 'Northern Mariana Islands', 'MP', 'MNP', 1),
(160, 'Norway', 'NO', 'NOR', 1),
(161, 'Oman', 'OM', 'OMN', 1),
(162, 'Pakistan', 'PK', 'PAK', 1),
(163, 'Palau', 'PW', 'PLW', 1),
(164, 'Panama', 'PA', 'PAN', 1),
(165, 'Papua New Guinea', 'PG', 'PNG', 1),
(166, 'Paraguay', 'PY', 'PRY', 1),
(167, 'Peru', 'PE', 'PER', 1),
(168, 'Philippines', 'PH', 'PHL', 1),
(169, 'Pitcairn', 'PN', 'PCN', 1),
(170, 'Poland', 'PL', 'POL', 1),
(171, 'Portugal', 'PT', 'PRT', 1),
(172, 'Puerto Rico', 'PR', 'PRI', 1),
(173, 'Qatar', 'QA', 'QAT', 1),
(174, 'Reunion', 'RE', 'REU', 1),
(175, 'Romania', 'RO', 'ROM', 1),
(176, 'Russian Federation', 'RU', 'RUS', 1),
(177, 'Rwanda', 'RW', 'RWA', 1),
(178, 'Saint Kitts and Nevis', 'KN', 'KNA', 1),
(179, 'Saint Lucia', 'LC', 'LCA', 1),
(180, 'Saint Vincent and the Grenadines', 'VC', 'VCT', 1),
(181, 'Samoa', 'WS', 'WSM', 1),
(182, 'San Marino', 'SM', 'SMR', 1),
(183, '<NAME>', 'ST', 'STP', 1),
(184, 'Saudi Arabia', 'SA', 'SAU', 1),
(185, 'Senegal', 'SN', 'SEN', 1),
(186, 'Seychelles', 'SC', 'SYC', 1),
(187, 'Sierra Leone', 'SL', 'SLE', 1),
(188, 'Singapore', 'SG', 'SGP', 4),
(189, 'Slovakia (Slovak Republic)', 'SK', 'SVK', 1),
(190, 'Slovenia', 'SI', 'SVN', 1),
(191, 'Solomon Islands', 'SB', 'SLB', 1),
(192, 'Somalia', 'SO', 'SOM', 1),
(193, 'South Africa', 'ZA', 'ZAF', 1),
(194, 'South Georgia and the South Sandwich Islands', 'GS', 'SGS', 1),
(195, 'Spain', 'ES', 'ESP', 3),
(196, 'Sri Lanka', 'LK', 'LKA', 1),
(197, 'St. Helena', 'SH', 'SHN', 1),
(198, 'St. Pierre and Miquelon', 'PM', 'SPM', 1),
(199, 'Sudan', 'SD', 'SDN', 1),
(200, 'Suriname', 'SR', 'SUR', 1),
(201, 'Svalbard and Jan Mayen Islands', 'SJ', 'SJM', 1),
(202, 'Swaziland', 'SZ', 'SWZ', 1),
(203, 'Sweden', 'SE', 'SWE', 1),
(204, 'Switzerland', 'CH', 'CHE', 1),
(205, 'Syrian Arab Republic', 'SY', 'SYR', 1),
(206, 'Taiwan', 'TW', 'TWN', 1),
(207, 'Tajikistan', 'TJ', 'TJK', 1),
(208, 'Tanzania, United Republic of', 'TZ', 'TZA', 1),
(209, 'Thailand', 'TH', 'THA', 1),
(210, 'Togo', 'TG', 'TGO', 1),
(211, 'Tokelau', 'TK', 'TKL', 1),
(212, 'Tonga', 'TO', 'TON', 1),
(213, 'Trinidad and Tobago', 'TT', 'TTO', 1),
(214, 'Tunisia', 'TN', 'TUN', 1),
(215, 'Turkey', 'TR', 'TUR', 1),
(216, 'Turkmenistan', 'TM', 'TKM', 1),
(217, 'Turks and Caicos Islands', 'TC', 'TCA', 1),
(218, 'Tuvalu', 'TV', 'TUV', 1),
(219, 'Uganda', 'UG', 'UGA', 1),
(220, 'Ukraine', 'UA', 'UKR', 1),
(221, 'United Arab Emirates', 'AE', 'ARE', 1),
(222, 'United Kingdom', 'GB', 'GBR', 1),
(223, 'United States', 'US', 'USA', 2),
(224, 'United States Minor Outlying Islands', 'UM', 'UMI', 1),
(225, 'Uruguay', 'UY', 'URY', 1),
(226, 'Uzbekistan', 'UZ', 'UZB', 1),
(227, 'Vanuatu', 'VU', 'VUT', 1),
(228, 'Vatican City State (Holy See)', 'VA', 'VAT', 1),
(229, 'Venezuela', 'VE', 'VEN', 1),
(230, 'Viet Nam', 'VN', 'VNM', 1),
(231, 'Virgin Islands (British)', 'VG', 'VGB', 1),
(232, 'Virgin Islands (U.S.)', 'VI', 'VIR', 1),
(233, 'Wallis and Futuna Islands', 'WF', 'WLF', 1),
(234, 'Western Sahara', 'EH', 'ESH', 1),
(235, 'Yemen', 'YE', 'YEM', 1),
(236, 'Yugoslavia', 'YU', 'YUG', 1),
(237, 'Zaire', 'ZR', 'ZAR', 1),
(238, 'Zambia', 'ZM', 'ZMB', 1),
(239, 'Zimbabwe', 'ZW', 'ZWE', 1);
-- --------------------------------------------------------
--
-- Table structure for table `currencies`
--
CREATE TABLE IF NOT EXISTS `currencies` (
`currencies_id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(32) NOT NULL,
`code` char(3) NOT NULL,
`symbol_left` varchar(12) DEFAULT NULL,
`symbol_right` varchar(12) DEFAULT NULL,
`decimal_point` char(1) DEFAULT NULL,
`thousands_point` char(1) DEFAULT NULL,
`decimal_places` char(1) DEFAULT NULL,
`value` float(13,8) DEFAULT NULL,
`last_updated` datetime DEFAULT NULL,
PRIMARY KEY (`currencies_id`),
KEY `idx_currencies_code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `currencies`
--
INSERT INTO `currencies` (`currencies_id`, `title`, `code`, `symbol_left`, `symbol_right`, `decimal_point`, `thousands_point`, `decimal_places`, `value`, `last_updated`) VALUES
(1, 'U.S. Dollar', 'USD', '$', '', '.', ',', '2', 1.00000000, '2014-04-16 16:35:04'),
(2, 'Euro', 'EUR', '', '€', '.', ',', '2', 1.00000000, '2014-04-16 16:35:04');
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE IF NOT EXISTS `customers` (
`customers_id` int(11) NOT NULL AUTO_INCREMENT,
`customers_gender` char(1) DEFAULT NULL,
`customers_firstname` varchar(255) NOT NULL,
`customers_lastname` varchar(255) NOT NULL,
`customers_dob` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`customers_email_address` varchar(255) NOT NULL,
`customers_default_address_id` int(11) DEFAULT NULL,
`customers_telephone` varchar(255) NOT NULL,
`customers_fax` varchar(255) DEFAULT NULL,
`customers_password` varchar(60) NOT NULL,
`customers_newsletter` char(1) DEFAULT NULL,
PRIMARY KEY (`customers_id`),
KEY `idx_customers_email_address` (`customers_email_address`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `customers_basket`
--
CREATE TABLE IF NOT EXISTS `customers_basket` (
`customers_basket_id` int(11) NOT NULL AUTO_INCREMENT,
`customers_id` int(11) NOT NULL,
`products_id` tinytext NOT NULL,
`customers_basket_quantity` int(2) NOT NULL,
`final_price` decimal(15,4) DEFAULT NULL,
`customers_basket_date_added` char(8) DEFAULT NULL,
PRIMARY KEY (`customers_basket_id`),
KEY `idx_customers_basket_customers_id` (`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `customers_basket_attributes`
--
CREATE TABLE IF NOT EXISTS `customers_basket_attributes` (
`customers_basket_attributes_id` int(11) NOT NULL AUTO_INCREMENT,
`customers_id` int(11) NOT NULL,
`products_id` tinytext NOT NULL,
`products_options_id` int(11) NOT NULL,
`products_options_value_id` int(11) NOT NULL,
PRIMARY KEY (`customers_basket_attributes_id`),
KEY `idx_customers_basket_att_customers_id` (`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `customers_info`
--
CREATE TABLE IF NOT EXISTS `customers_info` (
`customers_info_id` int(11) NOT NULL,
`customers_info_date_of_last_logon` datetime DEFAULT NULL,
`customers_info_number_of_logons` int(5) DEFAULT NULL,
`customers_info_date_account_created` datetime DEFAULT NULL,
`customers_info_date_account_last_modified` datetime DEFAULT NULL,
`global_product_notifications` int(1) DEFAULT '0',
`password_reset_key` char(40) DEFAULT NULL,
`password_reset_date` datetime DEFAULT NULL,
PRIMARY KEY (`customers_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `departamento`
--
CREATE TABLE IF NOT EXISTS `departamento` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`descripcion` varchar(255) NOT NULL,
`pais_id` int(11) DEFAULT NULL,
`departamento_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=100 ;
--
-- Dumping data for table `departamento`
--
INSERT INTO `departamento` (`id`, `descripcion`, `pais_id`, `departamento_id`) VALUES
(5, 'ANTIOQUIA ', 1, 5),
(8, 'ATLANTICO ', 1, 8),
(11, '<NAME> ', 1, 11),
(13, 'BOLIVAR ', 1, 13),
(15, 'BOYACA ', 1, 15),
(17, 'CALDAS ', 1, 17),
(18, 'CAQUETA ', 1, 18),
(19, 'CAUCA ', 1, 19),
(20, 'CESAR ', 1, 20),
(23, 'CORDOBA ', 1, 23),
(25, 'CUNDINAMARCA ', 1, 25),
(27, 'CHOCO ', 1, 27),
(41, 'HUILA ', 1, 41),
(44, '<NAME> ', 1, 44),
(47, 'MAGDALENA ', 1, 47),
(50, 'META ', 1, 50),
(52, 'NARIÑO', 1, 52),
(54, '<NAME> ', 1, 54),
(63, 'QUINDIO ', 1, 63),
(66, 'RISARALDA ', 1, 66),
(68, 'SANTANDER ', 1, 68),
(70, 'SUCRE ', 1, 70),
(73, 'TOLIMA ', 1, 73),
(76, '<NAME> ', 1, 76),
(81, 'ARAUCA ', 1, 81),
(85, 'CASANARE ', 1, 85),
(86, 'PUTUMAYO ', 1, 86),
(88, '<NAME> ', 1, 88),
(91, 'AMAZONAS ', 1, 91),
(94, 'GUAINIA ', 1, 94),
(95, 'GUAVIARE ', 1, 95),
(97, 'VAUPES ', 1, 97),
(99, 'VICHADA ', 1, 99);
-- --------------------------------------------------------
--
-- Table structure for table `geo_zones`
--
CREATE TABLE IF NOT EXISTS `geo_zones` (
`geo_zone_id` int(11) NOT NULL AUTO_INCREMENT,
`geo_zone_name` varchar(32) NOT NULL,
`geo_zone_description` varchar(255) NOT NULL,
`last_modified` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`geo_zone_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `geo_zones`
--
INSERT INTO `geo_zones` (`geo_zone_id`, `geo_zone_name`, `geo_zone_description`, `last_modified`, `date_added`) VALUES
(1, 'Florida', 'Florida local sales tax zone', NULL, '2014-04-16 16:35:10');
-- --------------------------------------------------------
--
-- Table structure for table `languages`
--
CREATE TABLE IF NOT EXISTS `languages` (
`languages_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL,
`code` char(2) NOT NULL,
`image` varchar(64) DEFAULT NULL,
`directory` varchar(32) DEFAULT NULL,
`sort_order` int(3) DEFAULT NULL,
PRIMARY KEY (`languages_id`),
KEY `IDX_LANGUAGES_NAME` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `languages`
--
INSERT INTO `languages` (`languages_id`, `name`, `code`, `image`, `directory`, `sort_order`) VALUES
(1, 'English', 'en', 'icon.gif', 'english', 1);
-- --------------------------------------------------------
--
-- Table structure for table `manufacturers`
--
CREATE TABLE IF NOT EXISTS `manufacturers` (
`manufacturers_id` int(11) NOT NULL AUTO_INCREMENT,
`manufacturers_name` varchar(32) NOT NULL,
`manufacturers_image` varchar(64) DEFAULT NULL,
`date_added` datetime DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`estado` varchar(1) NOT NULL,
PRIMARY KEY (`manufacturers_id`),
KEY `IDX_MANUFACTURERS_NAME` (`manufacturers_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;
--
-- Dumping data for table `manufacturers`
--
INSERT INTO `manufacturers` (`manufacturers_id`, `manufacturers_name`, `manufacturers_image`, `date_added`, `last_modified`, `estado`) VALUES
(11, 'Honda', 'honda.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(12, 'Suzuki', 'suzuki.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(13, 'Yamaha', 'yamaha.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(14, 'AKT', 'akt.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(15, 'Auteco', 'auteco.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(16, 'Kawasaki', 'kawasaki.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(17, 'Ayco', 'ayco.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(18, 'KTM', 'ktm.jpg', '2014-04-25 00:00:00', NULL, 'A'),
(19, 'Jialing', 'jialing.jpg', '2014-04-25 00:00:00', NULL, 'A');
-- --------------------------------------------------------
--
-- Table structure for table `manufacturers_info`
--
CREATE TABLE IF NOT EXISTS `manufacturers_info` (
`manufacturers_id` int(11) NOT NULL,
`languages_id` int(11) NOT NULL,
`manufacturers_url` varchar(255) NOT NULL,
`url_clicked` int(5) NOT NULL DEFAULT '0',
`date_last_click` datetime DEFAULT NULL,
PRIMARY KEY (`manufacturers_id`,`languages_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `manufacturers_info`
--
INSERT INTO `manufacturers_info` (`manufacturers_id`, `languages_id`, `manufacturers_url`, `url_clicked`, `date_last_click`) VALUES
(1, 1, 'http://www.matrox.com', 0, NULL),
(2, 1, 'http://www.microsoft.com', 0, NULL),
(3, 1, 'http://www.warner.com', 0, NULL),
(4, 1, 'http://www.fox.com', 0, NULL),
(5, 1, 'http://www.logitech.com', 0, NULL),
(6, 1, 'http://www.canon.com', 0, NULL),
(7, 1, 'http://www.sierra.com', 0, NULL),
(8, 1, 'http://www.infogrames.com', 0, NULL),
(9, 1, 'http://www.hewlettpackard.com', 0, NULL),
(10, 1, 'http://www.samsung.com', 0, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `newsletters`
--
CREATE TABLE IF NOT EXISTS `newsletters` (
`newsletters_id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
`module` varchar(255) NOT NULL,
`date_added` datetime NOT NULL,
`date_sent` datetime DEFAULT NULL,
`status` int(1) DEFAULT NULL,
`locked` int(1) DEFAULT '0',
PRIMARY KEY (`newsletters_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE IF NOT EXISTS `orders` (
`orders_id` int(11) NOT NULL AUTO_INCREMENT,
`customers_id` int(11) NOT NULL,
`customers_name` varchar(255) NOT NULL,
`customers_company` varchar(255) DEFAULT NULL,
`customers_street_address` varchar(255) NOT NULL,
`customers_suburb` varchar(255) DEFAULT NULL,
`customers_city` varchar(255) NOT NULL,
`customers_postcode` varchar(255) NOT NULL,
`customers_state` varchar(255) DEFAULT NULL,
`customers_country` varchar(255) NOT NULL,
`customers_telephone` varchar(255) NOT NULL,
`customers_email_address` varchar(255) NOT NULL,
`customers_address_format_id` int(5) NOT NULL,
`delivery_name` varchar(255) NOT NULL,
`delivery_company` varchar(255) DEFAULT NULL,
`delivery_street_address` varchar(255) NOT NULL,
`delivery_suburb` varchar(255) DEFAULT NULL,
`delivery_city` varchar(255) NOT NULL,
`delivery_postcode` varchar(255) NOT NULL,
`delivery_state` varchar(255) DEFAULT NULL,
`delivery_country` varchar(255) NOT NULL,
`delivery_address_format_id` int(5) NOT NULL,
`billing_name` varchar(255) NOT NULL,
`billing_company` varchar(255) DEFAULT NULL,
`billing_street_address` varchar(255) NOT NULL,
`billing_suburb` varchar(255) DEFAULT NULL,
`billing_city` varchar(255) NOT NULL,
`billing_postcode` varchar(255) NOT NULL,
`billing_state` varchar(255) DEFAULT NULL,
`billing_country` varchar(255) NOT NULL,
`billing_address_format_id` int(5) NOT NULL,
`payment_method` varchar(255) NOT NULL,
`cc_type` varchar(20) DEFAULT NULL,
`cc_owner` varchar(255) DEFAULT NULL,
`cc_number` varchar(32) DEFAULT NULL,
`cc_expires` varchar(4) DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`date_purchased` datetime DEFAULT NULL,
`orders_status` int(5) NOT NULL,
`orders_date_finished` datetime DEFAULT NULL,
`currency` char(3) DEFAULT NULL,
`currency_value` decimal(14,6) DEFAULT NULL,
PRIMARY KEY (`orders_id`),
KEY `idx_orders_customers_id` (`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders_products`
--
CREATE TABLE IF NOT EXISTS `orders_products` (
`orders_products_id` int(11) NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL,
`products_id` int(11) NOT NULL,
`products_model` varchar(12) DEFAULT NULL,
`products_name` varchar(64) NOT NULL,
`products_price` decimal(15,4) NOT NULL,
`final_price` decimal(15,4) NOT NULL,
`products_tax` decimal(7,4) NOT NULL,
`products_quantity` int(2) NOT NULL,
PRIMARY KEY (`orders_products_id`),
KEY `idx_orders_products_orders_id` (`orders_id`),
KEY `idx_orders_products_products_id` (`products_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders_products_attributes`
--
CREATE TABLE IF NOT EXISTS `orders_products_attributes` (
`orders_products_attributes_id` int(11) NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL,
`orders_products_id` int(11) NOT NULL,
`products_options` varchar(32) NOT NULL,
`products_options_values` varchar(32) NOT NULL,
`options_values_price` decimal(15,4) NOT NULL,
`price_prefix` char(1) NOT NULL,
PRIMARY KEY (`orders_products_attributes_id`),
KEY `idx_orders_products_att_orders_id` (`orders_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders_products_download`
--
CREATE TABLE IF NOT EXISTS `orders_products_download` (
`orders_products_download_id` int(11) NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL DEFAULT '0',
`orders_products_id` int(11) NOT NULL DEFAULT '0',
`orders_products_filename` varchar(255) NOT NULL DEFAULT '',
`download_maxdays` int(2) NOT NULL DEFAULT '0',
`download_count` int(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`orders_products_download_id`),
KEY `idx_orders_products_download_orders_id` (`orders_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders_status`
--
CREATE TABLE IF NOT EXISTS `orders_status` (
`orders_status_id` int(11) NOT NULL DEFAULT '0',
`language_id` int(11) NOT NULL DEFAULT '1',
`orders_status_name` varchar(32) NOT NULL,
`public_flag` int(11) DEFAULT '1',
`downloads_flag` int(11) DEFAULT '0',
PRIMARY KEY (`orders_status_id`,`language_id`),
KEY `idx_orders_status_name` (`orders_status_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `orders_status`
--
INSERT INTO `orders_status` (`orders_status_id`, `language_id`, `orders_status_name`, `public_flag`, `downloads_flag`) VALUES
(1, 1, 'Pending', 1, 0),
(2, 1, 'Processing', 1, 1),
(3, 1, 'Delivered', 1, 1),
(4, 1, 'PayPal [Transactions]', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `orders_status_history`
--
CREATE TABLE IF NOT EXISTS `orders_status_history` (
`orders_status_history_id` int(11) NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL,
`orders_status_id` int(5) NOT NULL,
`date_added` datetime NOT NULL,
`customer_notified` int(1) DEFAULT '0',
`comments` text,
PRIMARY KEY (`orders_status_history_id`),
KEY `idx_orders_status_history_orders_id` (`orders_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `orders_total`
--
CREATE TABLE IF NOT EXISTS `orders_total` (
`orders_total_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`orders_id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`text` varchar(255) NOT NULL,
`value` decimal(15,4) NOT NULL,
`class` varchar(32) NOT NULL,
`sort_order` int(11) NOT NULL,
PRIMARY KEY (`orders_total_id`),
KEY `idx_orders_total_orders_id` (`orders_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `pais`
--
CREATE TABLE IF NOT EXISTS `pais` (
`id` int(11) NOT NULL,
`descripcion` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `pais`
--
INSERT INTO `pais` (`id`, `descripcion`) VALUES
(1, 'Colombia'),
(2, 'Venezuela');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE IF NOT EXISTS `products` (
`products_id` int(11) NOT NULL AUTO_INCREMENT,
`products_quantity` int(6) NOT NULL,
`products_model` varchar(12) DEFAULT NULL,
`products_image` varchar(64) NOT NULL,
`products_price` decimal(15,4) NOT NULL,
`products_date_added` datetime NOT NULL,
`products_last_modified` datetime DEFAULT NULL,
`products_date_available` datetime DEFAULT NULL,
`products_weight` decimal(5,2) DEFAULT NULL,
`products_status` tinyint(1) NOT NULL,
`products_tax_class_id` int(11) DEFAULT NULL,
`manufacturers_id` int(11) DEFAULT NULL,
`products_ordered` int(11) NOT NULL DEFAULT '0',
`cilindraje_id` int(11) DEFAULT NULL,
`placa` varchar(6) NOT NULL,
`observacion` varchar(255) DEFAULT NULL,
`color_id` int(11) NOT NULL,
`negociable` varchar(2) NOT NULL,
`usuario_id` int(11) NOT NULL,
`products_file_image` blob NOT NULL,
`path` varchar(255) NOT NULL,
`anio` int(11) NOT NULL,
`tipo_producto_id` int(11) NOT NULL,
`ciudad_id` int(11) NOT NULL,
`departamento_id` int(11) NOT NULL,
`pais_id` int(11) NOT NULL,
PRIMARY KEY (`products_id`),
KEY `idx_products_model` (`products_model`),
KEY `idx_products_date_added` (`products_date_added`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=72 ;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`products_id`, `products_quantity`, `products_model`, `products_image`, `products_price`, `products_date_added`, `products_last_modified`, `products_date_available`, `products_weight`, `products_status`, `products_tax_class_id`, `manufacturers_id`, `products_ordered`, `cilindraje_id`, `placa`, `observacion`, `color_id`, `negociable`, `usuario_id`, `products_file_image`, `path`, `anio`, `tipo_producto_id`, `ciudad_id`, `departamento_id`, `pais_id`) VALUES
(47, 50000, '2008', 'IMG-20140120-WA0000.jpg', 1400000.0000, '2014-05-08 14:22:33', '2014-05-08 14:22:33', '2014-05-08 14:22:33', NULL, 1, NULL, 11, 0, 2, 'VBZ54A', 'xx', 1, 'SI', 1, '', 'IMG-20140120-WA0000.jpg', 2010, 0, 0, 0, 0),
(48, 50000, '2008', 'IMG-20140219-WA0002.jpg', 2400000.0000, '2014-05-08 14:27:30', '2014-05-08 14:27:30', '2014-05-08 14:27:30', NULL, 1, NULL, 11, 0, 1, 'VBZ54A', 'xxx', 2, 'NO', 1, '', 'IMG-20140219-WA0002.jpg', 2010, 0, 0, 0, 0),
(50, 123456, '1999', '2014-02-20 21.44.22.jpg', 2000000.0000, '2014-05-12 16:06:52', '2014-05-12 16:06:52', '2014-05-12 16:06:52', NULL, 1, NULL, 12, 0, 1, 'SAP50S', 'rr', 1, 'NO', 1, '', '2014-02-20 21.44.22.jpg', 2013, 0, 0, 0, 0),
(56, 123456, 'eco delux', 'IMG-20140206-WA0002.jpg', 456789.0000, '2014-05-13 07:38:06', '2014-05-13 07:38:06', '2014-05-13 07:38:06', NULL, 1, NULL, 12, 0, 1, 'ght89u', '1', 1, 'NO', 19, '', 'IMG-20140206-WA0002.jpg', 2012, 0, 0, 0, 0),
(57, 123456, 'eco delux', 'IMG-20140117-WA0001.jpg', 456789.0000, '2014-05-13 07:43:03', '2014-05-13 07:43:03', '2014-05-13 07:43:03', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 21, '', 'IMG-20140117-WA0001.jpg', 0, 0, 0, 0, 0),
(58, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:48:27', '2014-05-13 07:48:27', '2014-05-13 07:48:27', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 22, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(59, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:49:06', '2014-05-13 07:49:06', '2014-05-13 07:49:06', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 23, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(60, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:49:33', '2014-05-13 07:49:33', '2014-05-13 07:49:33', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 24, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(61, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:51:48', '2014-05-13 07:51:48', '2014-05-13 07:51:48', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 25, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(62, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:54:37', '2014-05-13 07:54:37', '2014-05-13 07:54:37', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 26, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(63, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:55:25', '2014-05-13 07:55:25', '2014-05-13 07:55:25', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 27, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(64, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:57:35', '2014-05-13 07:57:35', '2014-05-13 07:57:35', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 28, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(65, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 07:58:25', '2014-05-13 07:58:25', '2014-05-13 07:58:25', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 29, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(66, 123456, 'eco delux', 'IMG-20140118-WA0001.jpg', 456789.0000, '2014-05-13 08:07:38', '2014-05-13 08:07:38', '2014-05-13 08:07:38', NULL, 1, NULL, 11, 0, 1, 'ght89u', '1', 1, 'NO', 30, '', 'IMG-20140118-WA0001.jpg', 0, 0, 0, 0, 0),
(67, 25000, 'Señoritera', '20140511_162559.jpg', 2550000.0000, '2014-05-14 15:39:13', '2014-05-14 15:39:13', '2014-05-14 15:39:13', NULL, 1, NULL, 15, 0, 2, 'NSI21B', NULL, 1, 'SI', 33, '', '20140511_162559.jpg', 2010, 8, 0, 66, 0),
(70, 19000, 'Discovery', '20140511_155020.jpg', 2600000.0000, '2014-05-14 17:13:26', '2014-05-14 17:13:26', '2014-05-14 17:13:26', NULL, 1, NULL, 15, 0, 3, 'BCK78C', NULL, 1, 'SI', 33, '', '20140511_155020.jpg', 2011, 4, 0, 66, 1),
(71, 35000, 'rx', '20140511_155020.jpg', 3000000.0000, '2014-05-15 07:41:41', '2014-05-15 07:41:41', '2014-05-15 07:41:41', NULL, 1, NULL, 12, 0, 2, 'SPD82C', 'Leydi', 1, 'SI', 34, '', '20140511_155020.jpg', 2006, 4, 0, 66, 0);
-- --------------------------------------------------------
--
-- Table structure for table `products_attributes`
--
CREATE TABLE IF NOT EXISTS `products_attributes` (
`products_attributes_id` int(11) NOT NULL AUTO_INCREMENT,
`products_id` int(11) NOT NULL,
`options_id` int(11) NOT NULL,
`options_values_id` int(11) DEFAULT NULL,
`options_values_price` decimal(15,4) DEFAULT NULL,
`price_prefix` char(1) DEFAULT NULL,
`options_label` varchar(255) NOT NULL,
`category_id` int(11) NOT NULL,
`category_label` varchar(255) NOT NULL,
`option_status` tinyint(1) NOT NULL,
PRIMARY KEY (`products_attributes_id`),
KEY `idx_products_attributes_products_id` (`products_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=916 ;
--
-- Dumping data for table `products_attributes`
--
INSERT INTO `products_attributes` (`products_attributes_id`, `products_id`, `options_id`, `options_values_id`, `options_values_price`, `price_prefix`, `options_label`, `category_id`, `category_label`, `option_status`) VALUES
(1, 1, 4, 1, 0.0000, '+', '', 0, '', 0),
(2, 1, 4, 2, 50.0000, '+', '', 0, '', 0),
(3, 1, 4, 3, 70.0000, '+', '', 0, '', 0),
(4, 1, 3, 5, 0.0000, '+', '', 0, '', 0),
(5, 1, 3, 6, 100.0000, '+', '', 0, '', 0),
(6, 2, 4, 3, 10.0000, '-', '', 0, '', 0),
(7, 2, 4, 4, 0.0000, '+', '', 0, '', 0),
(8, 2, 3, 6, 0.0000, '+', '', 0, '', 0),
(9, 2, 3, 7, 120.0000, '+', '', 0, '', 0),
(10, 26, 3, 8, 0.0000, '+', '', 0, '', 0),
(11, 26, 3, 9, 6.0000, '+', '', 0, '', 0),
(26, 22, 5, 10, 0.0000, '+', '', 0, '', 0),
(27, 22, 5, 13, 0.0000, '+', '', 0, '', 0),
(28, 34, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(29, 34, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(30, 34, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(31, 34, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(32, 34, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(33, 34, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 1),
(34, 34, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 1),
(35, 34, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 1),
(36, 34, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(37, 34, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 1),
(38, 34, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 1),
(39, 34, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(40, 34, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 1),
(41, 34, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(42, 34, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 1),
(43, 34, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 1),
(44, 34, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(45, 34, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 1),
(46, 34, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 1),
(47, 34, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 1),
(48, 34, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 1),
(49, 34, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 1),
(50, 34, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 1),
(51, 34, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(52, 35, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(53, 35, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(54, 35, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(55, 35, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(56, 35, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(57, 35, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(58, 35, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 1),
(59, 35, 13, NULL, NULL, NULL, 'R<NAME>', 3, 'Seguridad', 1),
(60, 35, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(61, 35, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(62, 35, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(63, 35, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(64, 35, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(65, 35, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(66, 35, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(67, 35, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(68, 35, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(69, 35, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 1),
(70, 35, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(71, 35, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(72, 35, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(73, 35, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(74, 35, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(75, 35, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(76, 36, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(77, 36, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(78, 36, 8, NULL, NULL, NULL, 'Nunca Chocada', 2, 'Condiciones', 0),
(79, 36, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(80, 36, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(81, 36, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(82, 36, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(83, 36, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(84, 36, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(85, 36, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 1),
(86, 36, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(87, 36, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(88, 36, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(89, 36, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(90, 36, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(91, 36, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(92, 36, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(93, 36, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(94, 36, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(95, 36, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(96, 36, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 1),
(97, 36, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(98, 36, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(99, 36, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(124, 38, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(125, 38, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(126, 38, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(127, 38, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(128, 38, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(129, 38, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(130, 38, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(131, 38, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(132, 38, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(133, 38, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(134, 38, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(135, 38, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(136, 38, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(137, 38, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(138, 38, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(139, 38, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(140, 38, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(141, 38, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(142, 38, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(143, 38, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(144, 38, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(145, 38, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(146, 38, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(147, 38, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(148, 39, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(149, 39, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(150, 39, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(151, 39, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(152, 39, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(153, 39, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(154, 39, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(155, 39, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(156, 39, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(157, 39, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(158, 39, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(159, 39, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(160, 39, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(161, 39, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(162, 39, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(163, 39, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(164, 39, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(165, 39, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(166, 39, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(167, 39, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(168, 39, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(169, 39, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(170, 39, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(171, 39, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(172, 40, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(173, 40, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(174, 40, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(175, 40, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(176, 40, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(177, 40, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(178, 40, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(179, 40, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(180, 40, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(181, 40, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(182, 40, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(183, 40, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(184, 40, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(185, 40, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(186, 40, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(187, 40, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(188, 40, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(189, 40, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(190, 40, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(191, 40, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(192, 40, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(193, 40, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(194, 40, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(195, 40, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(196, 41, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(197, 41, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(198, 41, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(199, 41, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(200, 41, 10, NULL, NULL, NULL, 'Ú<NAME>', 2, 'Condiciones', 0),
(201, 41, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(202, 41, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(203, 41, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(204, 41, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(205, 41, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(206, 41, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(207, 41, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(208, 41, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(209, 41, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(210, 41, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(211, 41, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(212, 41, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(213, 41, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(214, 41, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(215, 41, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(216, 41, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(217, 41, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(218, 41, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(219, 41, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(220, 42, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(221, 42, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(222, 42, 8, NULL, NULL, NULL, 'Nunca Chocada', 2, 'Condiciones', 1),
(223, 42, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(224, 42, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(225, 42, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(226, 42, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(227, 42, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(228, 42, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(229, 42, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(230, 42, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(231, 42, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(232, 42, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(233, 42, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(234, 42, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(235, 42, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(236, 42, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(237, 42, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(238, 42, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(239, 42, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(240, 42, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(241, 42, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(242, 42, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(243, 42, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(244, 43, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(245, 43, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(246, 43, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(247, 43, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(248, 43, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(249, 43, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(250, 43, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(251, 43, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(252, 43, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(253, 43, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(254, 43, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(255, 43, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(256, 43, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(257, 43, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(258, 43, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(259, 43, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(260, 43, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(261, 43, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(262, 43, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(263, 43, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(264, 43, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(265, 43, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(266, 43, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(267, 43, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(268, 44, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 0),
(269, 44, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(270, 44, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(271, 44, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(272, 44, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(273, 44, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(274, 44, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(275, 44, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(276, 44, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 1),
(277, 44, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(278, 44, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(279, 44, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 1),
(280, 44, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(281, 44, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 1),
(282, 44, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(283, 44, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(284, 44, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 1),
(285, 44, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(286, 44, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(287, 44, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(288, 44, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(289, 44, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(290, 44, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(291, 44, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(316, 46, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(317, 46, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(318, 46, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(319, 46, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(320, 46, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(321, 46, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(322, 46, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(323, 46, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(324, 46, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(325, 46, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(326, 46, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(327, 46, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(328, 46, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(329, 46, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(330, 46, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 1),
(331, 46, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(332, 46, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(333, 46, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(334, 46, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(335, 46, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(336, 46, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(337, 46, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(338, 46, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(339, 46, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(340, 47, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(341, 47, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(342, 47, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(343, 47, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 0),
(344, 47, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(345, 47, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 1),
(346, 47, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 1),
(347, 47, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(348, 47, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(349, 47, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(350, 47, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(351, 47, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(352, 47, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 1),
(353, 47, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(354, 47, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(355, 47, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 1),
(356, 47, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(357, 47, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(358, 47, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 1),
(359, 47, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(360, 47, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 1),
(361, 47, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(362, 47, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(363, 47, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 1),
(364, 48, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(365, 48, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(366, 48, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(367, 48, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(368, 48, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(369, 48, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(370, 48, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(371, 48, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(372, 48, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(373, 48, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(374, 48, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(375, 48, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(376, 48, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(377, 48, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(378, 48, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(379, 48, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(380, 48, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(381, 48, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(382, 48, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(383, 48, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(384, 48, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(385, 48, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(386, 48, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(387, 48, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(412, 50, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(413, 50, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(414, 50, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(415, 50, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(416, 50, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(417, 50, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(418, 50, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(419, 50, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(420, 50, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(421, 50, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(422, 50, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(423, 50, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(424, 50, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(425, 50, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(426, 50, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(427, 50, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(428, 50, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(429, 50, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(430, 50, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(431, 50, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(432, 50, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(433, 50, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(434, 50, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(435, 50, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(436, 51, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(437, 51, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(438, 51, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(439, 51, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(440, 51, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(441, 51, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(442, 51, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(443, 51, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(444, 51, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(445, 51, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(446, 51, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(447, 51, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(448, 51, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(449, 51, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(450, 51, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(451, 51, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(452, 51, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(453, 51, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(454, 51, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(455, 51, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(456, 51, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(457, 51, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(458, 51, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(459, 51, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(460, 52, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(461, 52, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(462, 52, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(463, 52, 9, NULL, NULL, NULL, 'Re<NAME>', 2, 'Condiciones', 1),
(464, 52, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(465, 52, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(466, 52, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(467, 52, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(468, 52, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(469, 52, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(470, 52, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(471, 52, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(472, 52, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(473, 52, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(474, 52, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(475, 52, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(476, 52, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(477, 52, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(478, 52, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(479, 52, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(480, 52, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(481, 52, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(482, 52, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(483, 52, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(484, 53, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(485, 53, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(486, 53, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(487, 53, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(488, 53, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(489, 53, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(490, 53, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(491, 53, 13, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(492, 53, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(493, 53, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(494, 53, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(495, 53, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(496, 53, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(497, 53, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(498, 53, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(499, 53, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(500, 53, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(501, 53, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(502, 53, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(503, 53, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(504, 53, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(505, 53, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(506, 53, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(507, 53, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(508, 54, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(509, 54, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(510, 54, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(511, 54, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(512, 54, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(513, 54, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(514, 54, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(515, 54, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(516, 54, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(517, 54, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(518, 54, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(519, 54, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(520, 54, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(521, 54, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(522, 54, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(523, 54, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(524, 54, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(525, 54, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(526, 54, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(527, 54, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(528, 54, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(529, 54, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(530, 54, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(531, 54, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(532, 55, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(533, 55, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 1),
(534, 55, 8, NULL, NULL, NULL, 'Nunca Chocada', 2, 'Condiciones', 1),
(535, 55, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(536, 55, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(537, 55, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(538, 55, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(539, 55, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(540, 55, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(541, 55, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(542, 55, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(543, 55, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(544, 55, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(545, 55, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(546, 55, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(547, 55, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(548, 55, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(549, 55, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(550, 55, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(551, 55, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(552, 55, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(553, 55, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(554, 55, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(555, 55, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(556, 56, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(557, 56, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(558, 56, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(559, 56, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(560, 56, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(561, 56, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(562, 56, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(563, 56, 13, NULL, NULL, NULL, 'R<NAME>', 3, 'Seguridad', 0),
(564, 56, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(565, 56, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(566, 56, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(567, 56, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(568, 56, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(569, 56, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(570, 56, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(571, 56, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(572, 56, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(573, 56, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(574, 56, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(575, 56, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(576, 56, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(577, 56, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(578, 56, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(579, 56, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(580, 57, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(581, 57, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(582, 57, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(583, 57, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(584, 57, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(585, 57, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(586, 57, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(587, 57, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(588, 57, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(589, 57, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(590, 57, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(591, 57, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(592, 57, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(593, 57, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(594, 57, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(595, 57, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(596, 57, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(597, 57, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(598, 57, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(599, 57, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(600, 57, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(601, 57, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(602, 57, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(603, 57, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(604, 58, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(605, 58, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(606, 58, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(607, 58, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(608, 58, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(609, 58, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(610, 58, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(611, 58, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(612, 58, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(613, 58, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(614, 58, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(615, 58, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(616, 58, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(617, 58, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(618, 58, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(619, 58, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(620, 58, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(621, 58, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(622, 58, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(623, 58, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(624, 58, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(625, 58, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(626, 58, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(627, 58, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(628, 59, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(629, 59, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(630, 59, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(631, 59, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(632, 59, 10, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(633, 59, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(634, 59, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(635, 59, 13, NULL, NULL, NULL, 'R<NAME>', 3, 'Seguridad', 0),
(636, 59, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(637, 59, 15, NULL, NULL, NULL, '<NAME>', 3, 'Seguridad', 0),
(638, 59, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(639, 59, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(640, 59, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(641, 59, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(642, 59, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(643, 59, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(644, 59, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(645, 59, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(646, 59, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(647, 59, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(648, 59, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(649, 59, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(650, 59, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(651, 59, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(652, 60, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(653, 60, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(654, 60, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(655, 60, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(656, 60, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(657, 60, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(658, 60, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(659, 60, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(660, 60, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(661, 60, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(662, 60, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(663, 60, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(664, 60, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(665, 60, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(666, 60, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(667, 60, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(668, 60, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(669, 60, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(670, 60, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(671, 60, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(672, 60, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(673, 60, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(674, 60, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(675, 60, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(676, 61, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(677, 61, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(678, 61, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(679, 61, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(680, 61, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(681, 61, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(682, 61, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(683, 61, 13, NULL, NULL, NULL, 'R<NAME>', 3, 'Seguridad', 0),
(684, 61, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(685, 61, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(686, 61, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(687, 61, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(688, 61, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(689, 61, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(690, 61, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(691, 61, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(692, 61, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(693, 61, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(694, 61, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(695, 61, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(696, 61, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(697, 61, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(698, 61, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(699, 61, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(700, 62, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(701, 62, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(702, 62, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(703, 62, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(704, 62, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(705, 62, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(706, 62, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(707, 62, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(708, 62, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(709, 62, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(710, 62, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(711, 62, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(712, 62, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(713, 62, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(714, 62, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(715, 62, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(716, 62, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(717, 62, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(718, 62, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(719, 62, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(720, 62, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(721, 62, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(722, 62, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(723, 62, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(724, 63, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(725, 63, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(726, 63, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(727, 63, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(728, 63, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(729, 63, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(730, 63, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(731, 63, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(732, 63, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(733, 63, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(734, 63, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(735, 63, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(736, 63, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(737, 63, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(738, 63, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(739, 63, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(740, 63, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(741, 63, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(742, 63, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(743, 63, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(744, 63, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(745, 63, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(746, 63, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(747, 63, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(748, 64, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(749, 64, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(750, 64, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(751, 64, 9, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(752, 64, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(753, 64, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(754, 64, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(755, 64, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(756, 64, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(757, 64, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(758, 64, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(759, 64, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(760, 64, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(761, 64, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(762, 64, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(763, 64, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(764, 64, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(765, 64, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(766, 64, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(767, 64, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(768, 64, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(769, 64, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(770, 64, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(771, 64, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(772, 65, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(773, 65, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(774, 65, 8, NULL, NULL, NULL, 'Nunca Chocada', 2, 'Condiciones', 0),
(775, 65, 9, NULL, NULL, NULL, 'Reci<NAME>', 2, 'Condiciones', 1),
(776, 65, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(777, 65, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(778, 65, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(779, 65, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(780, 65, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(781, 65, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(782, 65, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(783, 65, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(784, 65, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(785, 65, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(786, 65, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(787, 65, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(788, 65, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(789, 65, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(790, 65, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(791, 65, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(792, 65, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(793, 65, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(794, 65, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(795, 65, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(796, 66, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(797, 66, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(798, 66, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 0),
(799, 66, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 1),
(800, 66, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 0),
(801, 66, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(802, 66, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(803, 66, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(804, 66, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(805, 66, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0);
INSERT INTO `products_attributes` (`products_attributes_id`, `products_id`, `options_id`, `options_values_id`, `options_values_price`, `price_prefix`, `options_label`, `category_id`, `category_label`, `option_status`) VALUES
(806, 66, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(807, 66, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(808, 66, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(809, 66, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(810, 66, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(811, 66, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(812, 66, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(813, 66, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(814, 66, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(815, 66, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(816, 66, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(817, 66, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(818, 66, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(819, 66, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(820, 67, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(821, 67, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(822, 67, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(823, 67, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 0),
(824, 67, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(825, 67, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(826, 67, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(827, 67, 13, NULL, NULL, NULL, 'R<NAME>', 3, 'Seguridad', 0),
(828, 67, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(829, 67, 15, NULL, NULL, NULL, 'Tran<NAME>', 3, 'Seguridad', 0),
(830, 67, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(831, 67, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(832, 67, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(833, 67, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(834, 67, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(835, 67, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(836, 67, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(837, 67, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(838, 67, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(839, 67, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(840, 67, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(841, 67, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(842, 67, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(843, 67, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(868, 70, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(869, 70, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(870, 70, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(871, 70, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 0),
(872, 70, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(873, 70, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(874, 70, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(875, 70, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(876, 70, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(877, 70, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(878, 70, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(879, 70, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(880, 70, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(881, 70, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(882, 70, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(883, 70, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(884, 70, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(885, 70, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(886, 70, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(887, 70, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(888, 70, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(889, 70, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(890, 70, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(891, 70, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0),
(892, 71, 6, NULL, NULL, NULL, 'Financiamiento', 2, 'Condiciones', 1),
(893, 71, 7, NULL, NULL, NULL, 'Motor Recien Reparado', 2, 'Condiciones', 0),
(894, 71, 8, NULL, NULL, NULL, '<NAME>', 2, 'Condiciones', 1),
(895, 71, 9, NULL, NULL, NULL, 'Recibo Moto', 2, 'Condiciones', 0),
(896, 71, 10, NULL, NULL, NULL, 'Único Dueño', 2, 'Condiciones', 1),
(897, 71, 11, NULL, NULL, NULL, 'Alarma', 3, 'Seguridad', 0),
(898, 71, 12, NULL, NULL, NULL, 'Candado', 3, 'Seguridad', 0),
(899, 71, 13, NULL, NULL, NULL, 'Rastreo Satelital', 3, 'Seguridad', 0),
(900, 71, 14, NULL, NULL, NULL, 'Inmovilizador', 3, 'Seguridad', 0),
(901, 71, 15, NULL, NULL, NULL, 'Tranca Palanca', 3, 'Seguridad', 0),
(902, 71, 16, NULL, NULL, NULL, 'Alforjas', 4, 'Accesorios Externos', 0),
(903, 71, 17, NULL, NULL, NULL, 'Casco', 4, 'Accesorios Externos', 0),
(904, 71, 18, NULL, NULL, NULL, 'Casco Integrado', 4, 'Accesorios Externos', 0),
(905, 71, 19, NULL, NULL, NULL, 'Cauchos nuevos', 4, 'Accesorios Externos', 0),
(906, 71, 20, NULL, NULL, NULL, 'Escape Cromado', 4, 'Accesorios Externos', 0),
(907, 71, 21, NULL, NULL, NULL, 'Estribos', 4, 'Accesorios Externos', 0),
(908, 71, 22, NULL, NULL, NULL, 'Flecos', 4, 'Accesorios Externos', 0),
(909, 71, 23, NULL, NULL, NULL, 'Header', 4, 'Accesorios Externos', 0),
(910, 71, 24, NULL, NULL, NULL, 'Maleta', 4, 'Accesorios Externos', 0),
(911, 71, 25, NULL, NULL, NULL, 'Mata perros', 4, 'Accesorios Externos', 0),
(912, 71, 26, NULL, NULL, NULL, 'Parabrisas', 4, 'Accesorios Externos', 0),
(913, 71, 27, NULL, NULL, NULL, 'Posapies', 4, 'Accesorios Externos', 0),
(914, 71, 28, NULL, NULL, NULL, 'Cornetas', 5, 'Sonido', 0),
(915, 71, 29, NULL, NULL, NULL, 'Equipo de CD', 5, 'Sonido', 0);
-- --------------------------------------------------------
--
-- Table structure for table `products_attributes_download`
--
CREATE TABLE IF NOT EXISTS `products_attributes_download` (
`products_attributes_id` int(11) NOT NULL,
`products_attributes_filename` varchar(255) NOT NULL DEFAULT '',
`products_attributes_maxdays` int(2) DEFAULT '0',
`products_attributes_maxcount` int(2) DEFAULT '0',
PRIMARY KEY (`products_attributes_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products_attributes_download`
--
INSERT INTO `products_attributes_download` (`products_attributes_id`, `products_attributes_filename`, `products_attributes_maxdays`, `products_attributes_maxcount`) VALUES
(26, 'unreal.zip', 7, 3);
-- --------------------------------------------------------
--
-- Table structure for table `products_description`
--
CREATE TABLE IF NOT EXISTS `products_description` (
`products_id` int(11) NOT NULL AUTO_INCREMENT,
`language_id` int(11) NOT NULL DEFAULT '1',
`products_name` varchar(64) NOT NULL DEFAULT '',
`products_description` text,
`products_url` varchar(255) DEFAULT NULL,
`products_viewed` int(5) DEFAULT '0',
PRIMARY KEY (`products_id`,`language_id`),
KEY `products_name` (`products_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;
--
-- Dumping data for table `products_description`
--
INSERT INTO `products_description` (`products_id`, `language_id`, `products_name`, `products_description`, `products_url`, `products_viewed`) VALUES
(1, 1, 'Matrox G200 MMS', 'Reinforcing its position as a multi-monitor trailblazer, Matrox Graphics Inc. has once again developed the most flexible and highly advanced solution in the industry. Introducing the new Matrox G200 Multi-Monitor Series; the first graphics card ever to support up to four DVI digital flat panel displays on a single 8" PCI board.<br /><br />With continuing demand for digital flat panels in the financial workplace, the Matrox G200 MMS is the ultimate in flexible solutions. The Matrox G200 MMS also supports the new digital video interface (DVI) created by the Digital Display Working Group (DDWG) designed to ease the adoption of digital flat panels. Other configurations include composite video capture ability and onboard TV tuner, making the Matrox G200 MMS the complete solution for business needs.<br /><br />Based on the award-winning MGA-G200 graphics chip, the Matrox G200 Multi-Monitor Series provides superior 2D/3D graphics acceleration to meet the demanding needs of business applications such as real-time stock quotes (Versus), live video feeds (Reuters & Bloombergs), multiple windows applications, word processing, spreadsheets and CAD.', 'www.matrox.com/mga/products/g200_mms/home.cfm', 0),
(2, 1, 'Matrox G400 32MB', '<strong>Dramatically Different High Performance Graphics</strong><br /><br />Introducing the Millennium G400 Series - a dramatically different, high performance graphics experience. Armed with the industry''s fastest graphics chip, the Millennium G400 Series takes explosive acceleration two steps further by adding unprecedented image quality, along with the most versatile display options for all your 3D, 2D and DVD applications. As the most powerful and innovative tools in your PC''s arsenal, the Millennium G400 Series will not only change the way you see graphics, but will revolutionize the way you use your computer.<br /><br /><strong>Key features:</strong><ul><li>New Matrox G400 256-bit DualBus graphics chip</li><li>Explosive 3D, 2D and DVD performance</li><li>DualHead Display</li><li>Superior DVD and TV output</li><li>3D Environment-Mapped Bump Mapping</li><li>Vibrant Color Quality rendering </li><li>UltraSharp DAC of up to 360 MHz</li><li>3D Rendering Array Processor</li><li>Support for 16 or 32 MB of memory</li></ul>', 'www.matrox.com/mga/products/mill_g400/home.htm', 0),
(3, 1, 'Microsoft IntelliMouse Pro', 'Every element of IntelliMouse Pro - from its unique arched shape to the texture of the rubber grip around its base - is the product of extensive customer and ergonomic research. Microsoft''s popular wheel control, which now allows zooming and universal scrolling functions, gives IntelliMouse Pro outstanding comfort and efficiency.', 'www.microsoft.com/hardware/mouse/intellimouse.asp', 1),
(4, 1, 'The Replacement Killers', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).<br />Languages: English, Deutsch.<br />Subtitles: English, Deutsch, Spanish.<br />Audio: Dolby Surround 5.1.<br />Picture Format: 16:9 Wide-Screen.<br />Length: (approx) 80 minutes.<br />Other: Interactive Menus, Chapter Selection, Subtitles (more languages).', 'www.replacement-killers.com', 0),
(5, 1, 'Blade Runner - Director''s Cut', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).<br />Languages: English, Deutsch.<br />Subtitles: English, Deutsch, Spanish.<br />Audio: Dolby Surround 5.1.<br />Picture Format: 16:9 Wide-Screen.<br />Length: (approx) 112 minutes.<br />Other: Interactive Menus, Chapter Selection, Subtitles (more languages).', 'www.bladerunner.com', 0),
(6, 1, 'The Matrix', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch.\r<br />\nAudio: Dolby Surround.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 131 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Making Of.', 'www.thematrix.com', 0),
(7, 1, 'You''ve Got Mail', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch, Spanish.\r<br />\nSubtitles: English, Deutsch, Spanish, French, Nordic, Polish.\r<br />\nAudio: Dolby Digital 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 115 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', 'www.youvegotmail.com', 0),
(8, 1, 'A Bug''s Life', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Digital 5.1 / Dobly Surround Stereo.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 91 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', 'www.abugslife.com', 0),
(9, 1, 'Under Siege', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 98 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(10, 1, 'Under Siege 2 - Dark Territory', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 98 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(11, 1, 'Fire Down Below', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 100 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(12, 1, 'Die Hard With A Vengeance', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 122 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(13, 1, 'Lethal Weapon', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 100 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(14, 1, 'Red Corner', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 117 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(15, 1, 'Frantic', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 115 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(16, 1, 'Courage Under Fire', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 112 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(17, 1, 'Speed', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 112 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(18, 1, 'Speed 2: Cruise Control', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 120 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(19, 1, 'There''s Something About Mary', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 114 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 1),
(20, 1, 'Beloved', 'Regional Code: 2 (Japan, Europe, Middle East, South Africa).\r<br />\nLanguages: English, Deutsch.\r<br />\nSubtitles: English, Deutsch, Spanish.\r<br />\nAudio: Dolby Surround 5.1.\r<br />\nPicture Format: 16:9 Wide-Screen.\r<br />\nLength: (approx) 164 minutes.\r<br />\nOther: Interactive Menus, Chapter Selection, Subtitles (more languages).', '', 0),
(21, 1, 'SWAT 3: Close Quarters Battle', '<strong>Windows 95/98</strong><br /><br />211 in progress with shots fired. Officer down. Armed suspects with hostages. Respond Code 3! Los Angles, 2005, In the next seven days, representatives from every nation around the world will converge on Las Angles to witness the signing of the United Nations Nuclear Abolishment Treaty. The protection of these dignitaries falls on the shoulders of one organization, LAPD SWAT. As part of this elite tactical organization, you and your team have the weapons and all the training necessary to protect, to serve, and "When needed" to use deadly force to keep the peace. It takes more than weapons to make it through each mission. Your arsenal includes C2 charges, flashbangs, tactical grenades. opti-Wand mini-video cameras, and other devices critical to meeting your objectives and keeping your men free of injury. Uncompromised Duty, Honor and Valor!', 'www.swat3.com', 0),
(22, 1, 'Unreal Tournament', 'From the creators of the best-selling Unreal, comes Unreal Tournament. A new kind of single player experience. A ruthless multiplayer revolution.<br /><br />This stand-alone game showcases completely new team-based gameplay, groundbreaking multi-faceted single player action or dynamic multi-player mayhem. It''s a fight to the finish for the title of Unreal Grand Master in the gladiatorial arena. A single player experience like no other! Guide your team of ''bots'' (virtual teamates) against the hardest criminals in the galaxy for the ultimate title - the Unreal Grand Master.', 'www.unrealtournament.net', 0),
(23, 1, 'The Wheel Of Time', 'The world in which The Wheel of Time takes place is lifted directly out of Jordan''s pages; it''s huge and consists of many different environments. How you navigate the world will depend largely on which game - single player or multipayer - you''re playing. The single player experience, with a few exceptions, will see Elayna traversing the world mainly by foot (with a couple notable exceptions). In the multiplayer experience, your character will have more access to travel via Ter''angreal, Portal Stones, and the Ways. However you move around, though, you''ll quickly discover that means of locomotion can easily become the least of the your worries...<br /><br />During your travels, you quickly discover that four locations are crucial to your success in the game. Not surprisingly, these locations are the homes of The Wheel of Time''s main characters. Some of these places are ripped directly from the pages of Jordan''s books, made flesh with Legend''s unparalleled pixel-pushing ways. Other places are specific to the game, conceived and executed with the intent of expanding this game world even further. Either way, they provide a backdrop for some of the most intense first person action and strategy you''ll have this year.', 'www.wheeloftime.com', 0),
(24, 1, 'Disciples: Sacred Lands', 'A new age is dawning...<br /><br />Enter the realm of the Sacred Lands, where the dawn of a New Age has set in motion the most momentous of wars. As the prophecies long foretold, four races now clash with swords and sorcery in a desperate bid to control the destiny of their gods. Take on the quest as a champion of the Empire, the Mountain Clans, the Legions of the Damned, or the Undead Hordes and test your faith in battles of brute force, spellbinding magic and acts of guile. Slay demons, vanquish giants and combat merciless forces of the dead and undead. But to ensure the salvation of your god, the hero within must evolve.<br /><br />The day of reckoning has come... and only the chosen will survive.', '', 1),
(25, 1, 'Microsoft Internet Keyboard PS/2', 'The Internet Keyboard has 10 Hot Keys on a comfortable standard keyboard design that also includes a detachable palm rest. The Hot Keys allow you to browse the web, or check e-mail directly from your keyboard. The IntelliType Pro software also allows you to customize your hot keys - make the Internet Keyboard work the way you want it to!', '', 1),
(26, 1, 'Microsoft IntelliMouse Explorer', 'Microsoft introduces its most advanced mouse, the IntelliMouse Explorer! IntelliMouse Explorer features a sleek design, an industrial-silver finish, a glowing red underside and taillight, creating a style and look unlike any other mouse. IntelliMouse Explorer combines the accuracy and reliability of Microsoft IntelliEye optical tracking technology, the convenience of two new customizable function buttons, the efficiency of the scrolling wheel and the comfort of expert ergonomic design. All these great features make this the best mouse for the PC!', 'www.microsoft.com/hardware/mouse/explorer.asp', 0),
(27, 1, 'Hewlett Packard LaserJet 1100Xi', 'HP has always set the pace in laser printing technology. The new generation HP LaserJet 1100 series sets another impressive pace, delivering a stunning 8 pages per minute print speed. The 600 dpi print resolution with HP''s Resolution Enhancement technology (REt) makes every document more professional.<br /><br />Enhanced print speed and laser quality results are just the beginning. With 2MB standard memory, HP LaserJet 1100xi users will be able to print increasingly complex pages. Memory can be increased to 18MB to tackle even more complex documents with ease. The HP LaserJet 1100xi supports key operating systems including Windows 3.1, 3.11, 95, 98, NT 4.0, OS/2 and DOS. Network compatibility available via the optional HP JetDirect External Print Servers.<br /><br />HP LaserJet 1100xi also features The Document Builder for the Web Era from Trellix Corp. (featuring software to create Web documents).', 'www.pandi.hp.com/pandi-db/prodinfo.main?product=laserjet1100', 0),
(28, 1, 'Samsung Galaxy Tab', '<p>Powered by a Cortex A8 1.0GHz application processor, the Samsung GALAXY Tab is designed to deliver high performance whenever and wherever you are. At the same time, HD video contents are supported by a wide range of multimedia formats (DivX, XviD, MPEG4, H.263, H.264 and more), which maximizes the joy of entertainment.</p><p>With 3G HSPA connectivity, 802.11n Wi-Fi, and Bluetooth 3.0, the Samsung GALAXY Tab enhances users'' mobile communication on a whole new level. Video conferencing and push email on the large 7-inch display make communication more smooth and efficient. For voice telephony, the Samsung GALAXY Tab turns out to be a perfect speakerphone on the desk, or a mobile phone on the move via Bluetooth headset.</p>', 'http://galaxytab.samsungmobile.com', 1);
-- --------------------------------------------------------
--
-- Table structure for table `products_images`
--
CREATE TABLE IF NOT EXISTS `products_images` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`products_id` int(11) NOT NULL,
`image` varchar(64) DEFAULT NULL,
`htmlcontent` text,
`sort_order` int(11) NOT NULL,
`path` varchar(255) DEFAULT NULL,
`file_image` blob NOT NULL,
PRIMARY KEY (`id`),
KEY `products_images_prodid` (`products_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=139 ;
--
-- Dumping data for table `products_images`
--
INSERT INTO `products_images` (`id`, `products_id`, `image`, `htmlcontent`, `sort_order`, `path`, `file_image`) VALUES
(1, 28, 'samsung/galaxy_tab_1.jpg', NULL, 1, '', ''),
(2, 28, 'samsung/galaxy_tab_2.jpg', NULL, 2, '', ''),
(3, 28, 'samsung/galaxy_tab_3.jpg', NULL, 3, '', ''),
(4, 28, 'samsung/galaxy_tab_4.jpg', '<object type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&autoplay=1"><param name="movie" value="http://www.youtube.com/v/tAbsmHMAhrQ?fs=1&autoplay=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object>', 4, '', ''),
(5, 50, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(6, 50, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(7, 50, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(8, 50, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(9, 50, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(10, 50, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(11, 50, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(12, 51, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(13, 51, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(14, 51, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(15, 51, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(16, 51, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(17, 51, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(18, 51, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(19, 52, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(20, 52, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(21, 52, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(22, 52, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(23, 52, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(24, 52, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(25, 52, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(26, 53, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(27, 53, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(28, 53, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(29, 53, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(30, 53, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(31, 53, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(32, 53, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(33, 54, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(34, 54, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(35, 54, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(36, 54, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(37, 54, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(38, 54, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(39, 54, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(40, 55, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(41, 55, 'IMG-20140117-WA0001.jpg', NULL, 2, 'IMG-20140117-WA0001.jpg', ''),
(42, 55, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(43, 55, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(44, 55, 'IMG-20140206-WA0002.jpg', NULL, 5, 'IMG-20140206-WA0002.jpg', ''),
(45, 55, 'IMG-20140211-WA0000.jpg', NULL, 6, 'IMG-20140211-WA0000.jpg', ''),
(46, 55, 'EPSON011.JPG', NULL, 7, 'EPSON011.JPG', ''),
(47, 56, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(48, 56, '2014-02-21 14.19.40.jpg', NULL, 2, '2014-02-21 14.19.40.jpg', ''),
(49, 56, 'IMG-20140118-WA0000.jpg', NULL, 3, 'IMG-20140118-WA0000.jpg', ''),
(50, 56, 'IMG-20140120-WA0000.jpg', NULL, 4, 'IMG-20140120-WA0000.jpg', ''),
(51, 56, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(52, 56, 'IMG-20140206-WA0003.jpg', NULL, 6, 'IMG-20140206-WA0003.jpg', ''),
(53, 56, 'IMG-20140206-WA0006.jpg', NULL, 7, 'IMG-20140206-WA0006.jpg', ''),
(54, 57, '2014-02-21 14.18.07.jpg', NULL, 1, '2014-02-21 14.18.07.jpg', ''),
(55, 57, 'IMG-20140118-WA0000.jpg', NULL, 2, 'IMG-20140118-WA0000.jpg', ''),
(56, 57, 'IMG-20140120-WA0000.jpg', NULL, 3, 'IMG-20140120-WA0000.jpg', ''),
(57, 57, 'IMG-20140206-WA0000.jpg', NULL, 4, 'IMG-20140206-WA0000.jpg', ''),
(58, 57, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(59, 57, 'IMG-20140206-WA0002.jpg', NULL, 6, 'IMG-20140206-WA0002.jpg', ''),
(60, 57, 'IMG-20140206-WA0003.jpg', NULL, 7, 'IMG-20140206-WA0003.jpg', ''),
(61, 58, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(62, 58, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(63, 58, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(64, 58, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(65, 58, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(66, 58, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(67, 58, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(68, 59, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(69, 59, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(70, 59, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(71, 59, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(72, 59, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(73, 59, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(74, 59, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(75, 60, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(76, 60, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(77, 60, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(78, 60, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(79, 60, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(80, 60, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(81, 60, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(82, 61, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(83, 61, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(84, 61, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(85, 61, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(86, 61, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(87, 61, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(88, 61, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(89, 62, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(90, 62, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(91, 62, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(92, 62, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(93, 62, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(94, 62, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(95, 62, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(96, 63, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(97, 63, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(98, 63, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(99, 63, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(100, 63, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(101, 63, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(102, 63, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(103, 64, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(104, 64, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(105, 64, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(106, 64, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(107, 64, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(108, 64, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(109, 64, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(110, 65, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(111, 65, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(112, 65, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(113, 65, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(114, 65, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(115, 65, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(116, 65, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(117, 66, 'IMG-20140206-WA0004.jpg', NULL, 1, 'IMG-20140206-WA0004.jpg', ''),
(118, 66, 'IMG-20140215-WA0000.jpg', NULL, 2, 'IMG-20140215-WA0000.jpg', ''),
(119, 66, 'IMG-20140206-WA0006.jpg', NULL, 3, 'IMG-20140206-WA0006.jpg', ''),
(120, 66, 'IMG-20140206-WA0002.jpg', NULL, 4, 'IMG-20140206-WA0002.jpg', ''),
(121, 66, 'IMG-20140206-WA0001.jpg', NULL, 5, 'IMG-20140206-WA0001.jpg', ''),
(122, 66, 'IMG-20140206-WA0000.jpg', NULL, 6, 'IMG-20140206-WA0000.jpg', ''),
(123, 66, 'IMG-20140120-WA0000.jpg', NULL, 7, 'IMG-20140120-WA0000.jpg', ''),
(124, 67, '20140511_162446.jpg', NULL, 1, '20140511_162446.jpg', ''),
(125, 67, '20140511_162520.jpg', NULL, 2, '20140511_162520.jpg', ''),
(126, 67, '20140511_162531.jpg', NULL, 3, '20140511_162531.jpg', ''),
(127, 67, '20140511_162542.jpg', NULL, 4, '20140511_162542.jpg', ''),
(128, 67, '20140511_162552.jpg', NULL, 5, '20140511_162552.jpg', ''),
(129, 67, '20140511_162607.jpg', NULL, 6, '20140511_162607.jpg', ''),
(130, 67, '20140511_162630.jpg', NULL, 7, '20140511_162630.jpg', ''),
(131, 70, '20140511_154856.jpg', NULL, 1, '20140511_154856.jpg', ''),
(132, 70, '20140511_154751.jpg', NULL, 2, '20140511_154751.jpg', ''),
(133, 70, '20140511_154808.jpg', NULL, 3, '20140511_154808.jpg', ''),
(134, 70, '20140511_154821.jpg', NULL, 4, '20140511_154821.jpg', ''),
(135, 70, '20140511_154906.jpg', NULL, 5, '20140511_154906.jpg', ''),
(136, 70, '20140511_154947.jpg', NULL, 6, '20140511_154947.jpg', ''),
(137, 70, '20140511_154846.jpg', NULL, 7, '20140511_154846.jpg', ''),
(138, 71, '20140511_154947.jpg', NULL, 1, '20140511_154947.jpg', '');
-- --------------------------------------------------------
--
-- Table structure for table `products_notifications`
--
CREATE TABLE IF NOT EXISTS `products_notifications` (
`products_id` int(11) NOT NULL,
`customers_id` int(11) NOT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`products_id`,`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `products_options`
--
CREATE TABLE IF NOT EXISTS `products_options` (
`products_options_id` int(11) NOT NULL DEFAULT '0',
`language_id` int(11) NOT NULL DEFAULT '1',
`products_options_name` varchar(32) NOT NULL DEFAULT '',
`category_id` int(11) NOT NULL,
`estado` varchar(1) NOT NULL,
PRIMARY KEY (`products_options_id`,`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products_options`
--
INSERT INTO `products_options` (`products_options_id`, `language_id`, `products_options_name`, `category_id`, `estado`) VALUES
(1, 1, 'Color', 1, 'I'),
(2, 1, 'Size', 1, 'I'),
(3, 1, 'Model', 1, 'I'),
(4, 1, 'Memory', 1, 'I'),
(5, 1, 'Version', 1, 'I'),
(6, 1, 'Financiamiento', 2, 'A'),
(7, 1, 'Motor Recien Reparado', 2, 'A'),
(8, 1, '<NAME>', 2, 'A'),
(9, 1, '<NAME>', 2, 'A'),
(10, 1, '<NAME>', 2, 'A'),
(11, 1, 'Alarma', 3, 'A'),
(12, 1, 'Candado', 3, 'A'),
(13, 1, '<NAME>', 3, 'A'),
(14, 1, 'Inmovilizador', 3, 'A'),
(15, 1, '<NAME>', 3, 'A'),
(16, 1, 'Alforjas', 4, 'A'),
(17, 1, 'Casco', 4, 'A'),
(18, 1, '<NAME>', 4, 'A'),
(19, 1, '<NAME>', 4, 'A'),
(20, 1, '<NAME>', 4, 'A'),
(21, 1, 'Estribos', 4, 'A'),
(22, 1, 'Flecos', 4, 'A'),
(23, 1, 'Header', 4, 'A'),
(24, 1, 'Maleta', 4, 'A'),
(25, 1, '<NAME>', 4, 'A'),
(26, 1, 'Parabrisas', 4, 'A'),
(27, 1, 'Posapies', 4, 'A'),
(28, 1, 'Cornetas', 5, 'A'),
(29, 1, 'Equipo de CD', 5, 'A');
-- --------------------------------------------------------
--
-- Table structure for table `products_options_values`
--
CREATE TABLE IF NOT EXISTS `products_options_values` (
`products_options_values_id` int(11) NOT NULL DEFAULT '0',
`language_id` int(11) NOT NULL DEFAULT '1',
`products_options_values_name` varchar(64) NOT NULL DEFAULT '',
PRIMARY KEY (`products_options_values_id`,`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products_options_values`
--
INSERT INTO `products_options_values` (`products_options_values_id`, `language_id`, `products_options_values_name`) VALUES
(1, 1, '4 mb'),
(2, 1, '8 mb'),
(3, 1, '16 mb'),
(4, 1, '32 mb'),
(5, 1, 'Value'),
(6, 1, 'Premium'),
(7, 1, 'Deluxe'),
(8, 1, 'PS/2'),
(9, 1, 'USB'),
(10, 1, 'Download: Windows - English'),
(13, 1, 'Box: Windows - English');
-- --------------------------------------------------------
--
-- Table structure for table `products_options_values_to_products_options`
--
CREATE TABLE IF NOT EXISTS `products_options_values_to_products_options` (
`products_options_values_to_products_options_id` int(11) NOT NULL AUTO_INCREMENT,
`products_options_id` int(11) NOT NULL,
`products_options_values_id` int(11) NOT NULL,
PRIMARY KEY (`products_options_values_to_products_options_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
--
-- Dumping data for table `products_options_values_to_products_options`
--
INSERT INTO `products_options_values_to_products_options` (`products_options_values_to_products_options_id`, `products_options_id`, `products_options_values_id`) VALUES
(1, 4, 1),
(2, 4, 2),
(3, 4, 3),
(4, 4, 4),
(5, 3, 5),
(6, 3, 6),
(7, 3, 7),
(8, 3, 8),
(9, 3, 9),
(10, 5, 10),
(13, 5, 13);
-- --------------------------------------------------------
--
-- Table structure for table `products_tipo_publicacion`
--
CREATE TABLE IF NOT EXISTS `products_tipo_publicacion` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`products_id` int(11) NOT NULL,
`tipo_publicacion_id` int(11) NOT NULL,
`descripcion` varchar(255) NOT NULL,
`cantidad_fotos` int(11) NOT NULL,
`ubicacion` varchar(255) NOT NULL,
`precio` decimal(15,0) NOT NULL,
`estado` varchar(1) NOT NULL,
`tipo` varchar(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=34 ;
--
-- Dumping data for table `products_tipo_publicacion`
--
INSERT INTO `products_tipo_publicacion` (`id`, `products_id`, `tipo_publicacion_id`, `descripcion`, `cantidad_fotos`, `ubicacion`, `precio`, `estado`, `tipo`) VALUES
(1, 36, 1, 'Publicación ORO', 8, 'Superior', 45000, 'A', 'NUEVO'),
(2, 38, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(3, 39, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(4, 40, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(5, 41, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(6, 42, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(7, 43, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(8, 44, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(9, 46, 1, 'Publicación ORO', 8, 'Superior', 45000, 'A', 'NUEVO'),
(10, 47, 3, 'Publicación PLATA', 6, 'Alta', 40000, 'A', 'NUEVO'),
(11, 48, 3, 'Publicación PLATA', 6, 'Alta', 40000, 'A', 'NUEVO'),
(13, 50, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(14, 51, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(15, 52, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(16, 53, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(17, 54, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(18, 55, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(19, 56, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(20, 57, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(21, 58, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(22, 59, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(23, 60, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(24, 61, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(25, 62, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(26, 63, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(27, 64, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(28, 65, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(29, 66, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(30, 67, 3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO'),
(32, 70, 1, 'Publicación ORO', 8, 'Superior', 45000, 'A', 'NUEVO'),
(33, 71, 1, 'Publicación ORO', 8, 'Superior', 45000, 'A', 'NUEVO');
-- --------------------------------------------------------
--
-- Table structure for table `products_to_categories`
--
CREATE TABLE IF NOT EXISTS `products_to_categories` (
`products_id` int(11) NOT NULL,
`categories_id` int(11) NOT NULL,
PRIMARY KEY (`products_id`,`categories_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products_to_categories`
--
INSERT INTO `products_to_categories` (`products_id`, `categories_id`) VALUES
(1, 4),
(2, 4),
(3, 9),
(4, 10),
(5, 11),
(6, 10),
(7, 12),
(8, 13),
(9, 10),
(10, 10),
(11, 10),
(12, 10),
(13, 10),
(14, 15),
(15, 14),
(16, 15),
(17, 10),
(18, 10),
(19, 12),
(20, 15),
(21, 18),
(22, 19),
(23, 20),
(24, 20),
(25, 8),
(26, 9),
(27, 5),
(28, 21);
-- --------------------------------------------------------
--
-- Table structure for table `reviews`
--
CREATE TABLE IF NOT EXISTS `reviews` (
`reviews_id` int(11) NOT NULL AUTO_INCREMENT,
`products_id` int(11) NOT NULL,
`customers_id` int(11) DEFAULT NULL,
`customers_name` varchar(255) NOT NULL,
`reviews_rating` int(1) DEFAULT NULL,
`date_added` datetime DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`reviews_status` tinyint(1) NOT NULL DEFAULT '0',
`reviews_read` int(5) NOT NULL DEFAULT '0',
PRIMARY KEY (`reviews_id`),
KEY `idx_reviews_products_id` (`products_id`),
KEY `idx_reviews_customers_id` (`customers_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `reviews`
--
INSERT INTO `reviews` (`reviews_id`, `products_id`, `customers_id`, `customers_name`, `reviews_rating`, `date_added`, `last_modified`, `reviews_status`, `reviews_read`) VALUES
(1, 19, 0, '<NAME>', 5, '2014-04-16 16:35:09', NULL, 1, 0);
-- --------------------------------------------------------
--
-- Table structure for table `reviews_description`
--
CREATE TABLE IF NOT EXISTS `reviews_description` (
`reviews_id` int(11) NOT NULL,
`languages_id` int(11) NOT NULL,
`reviews_text` text NOT NULL,
PRIMARY KEY (`reviews_id`,`languages_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reviews_description`
--
INSERT INTO `reviews_description` (`reviews_id`, `languages_id`, `reviews_text`) VALUES
(1, 1, 'This has to be one of the funniest movies released for 1999!');
-- --------------------------------------------------------
--
-- Table structure for table `sec_directory_whitelist`
--
CREATE TABLE IF NOT EXISTS `sec_directory_whitelist` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`directory` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
--
-- Dumping data for table `sec_directory_whitelist`
--
INSERT INTO `sec_directory_whitelist` (`id`, `directory`) VALUES
(1, 'admin/backups'),
(2, 'admin/images/graphs'),
(3, 'images'),
(4, 'images/banners'),
(5, 'images/dvd'),
(6, 'images/gt_interactive'),
(7, 'images/hewlett_packard'),
(8, 'images/matrox'),
(9, 'images/microsoft'),
(10, 'images/samsung'),
(11, 'images/sierra'),
(12, 'includes/work'),
(13, 'pub');
-- --------------------------------------------------------
--
-- Table structure for table `sessions`
--
CREATE TABLE IF NOT EXISTS `sessions` (
`sesskey` varchar(32) NOT NULL,
`expiry` int(11) unsigned NOT NULL,
`value` text NOT NULL,
PRIMARY KEY (`sesskey`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `sessions`
--
INSERT INTO `sessions` (`sesskey`, `expiry`, `value`) VALUES
('<KEY>', 1399046949, 'language|s:7:"english";languages_id|s:1:"1";redirect_origin|a:2:{s:4:"page";s:9:"index.php";s:3:"get";a:0:{}}'),
('btstm6aqgv03korgn86ciqthb6', 1397685595, 'language|s:7:"english";languages_id|s:1:"1";admin|a:2:{s:2:"id";s:1:"1";s:8:"username";s:5:"kpizk";}'),
('hik1hn6bsov5abmcpaqqulsql5', 1399491747, 'language|s:7:"english";languages_id|s:1:"1";redirect_origin|a:2:{s:4:"page";s:9:"index.php";s:3:"get";a:0:{}}'),
('r81nkmr9erlb6bsjfobc57jdk4', 1399046846, 'sessiontoken|s:32:"<PASSWORD>";cart|O:12:"shoppingCart":5:{s:8:"contents";a:1:{i:24;a:1:{s:3:"qty";i:1;}}s:5:"total";d:90;s:6:"weight";d:8;s:6:"cartID";s:5:"99171";s:12:"content_type";b:0;}language|s:7:"english";languages_id|s:1:"1";currency|s:3:"USD";navigation|O:17:"navigationHistory":2:{s:4:"path";a:1:{i:0;a:4:{s:4:"page";s:9:"index.php";s:4:"mode";s:6:"NONSSL";s:3:"get";a:0:{}s:4:"post";a:0:{}}}s:8:"snapshot";a:0:{}}');
-- --------------------------------------------------------
--
-- Table structure for table `specials`
--
CREATE TABLE IF NOT EXISTS `specials` (
`specials_id` int(11) NOT NULL AUTO_INCREMENT,
`products_id` int(11) NOT NULL,
`specials_new_products_price` decimal(15,4) NOT NULL,
`specials_date_added` datetime DEFAULT NULL,
`specials_last_modified` datetime DEFAULT NULL,
`expires_date` datetime DEFAULT NULL,
`date_status_change` datetime DEFAULT NULL,
`status` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`specials_id`),
KEY `idx_specials_products_id` (`products_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `specials`
--
INSERT INTO `specials` (`specials_id`, `products_id`, `specials_new_products_price`, `specials_date_added`, `specials_last_modified`, `expires_date`, `date_status_change`, `status`) VALUES
(1, 3, 39.9900, '2014-04-16 16:35:10', NULL, NULL, NULL, 1),
(2, 5, 30.0000, '2014-04-16 16:35:10', NULL, NULL, NULL, 1),
(3, 6, 30.0000, '2014-04-16 16:35:10', NULL, NULL, NULL, 1),
(4, 16, 29.9900, '2014-04-16 16:35:10', NULL, NULL, NULL, 1);
-- --------------------------------------------------------
--
-- Table structure for table `tax_class`
--
CREATE TABLE IF NOT EXISTS `tax_class` (
`tax_class_id` int(11) NOT NULL AUTO_INCREMENT,
`tax_class_title` varchar(32) NOT NULL,
`tax_class_description` varchar(255) NOT NULL,
`last_modified` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`tax_class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `tax_class`
--
INSERT INTO `tax_class` (`tax_class_id`, `tax_class_title`, `tax_class_description`, `last_modified`, `date_added`) VALUES
(1, 'Taxable Goods', 'The following types of products are included non-food, services, etc', '2014-04-16 16:35:10', '2014-04-16 16:35:10');
-- --------------------------------------------------------
--
-- Table structure for table `tax_rates`
--
CREATE TABLE IF NOT EXISTS `tax_rates` (
`tax_rates_id` int(11) NOT NULL AUTO_INCREMENT,
`tax_zone_id` int(11) NOT NULL,
`tax_class_id` int(11) NOT NULL,
`tax_priority` int(5) DEFAULT '1',
`tax_rate` decimal(7,4) NOT NULL,
`tax_description` varchar(255) NOT NULL,
`last_modified` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`tax_rates_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `tax_rates`
--
INSERT INTO `tax_rates` (`tax_rates_id`, `tax_zone_id`, `tax_class_id`, `tax_priority`, `tax_rate`, `tax_description`, `last_modified`, `date_added`) VALUES
(1, 1, 1, 1, 7.0000, 'FL TAX 7.0%', '2014-04-16 16:35:10', '2014-04-16 16:35:10');
-- --------------------------------------------------------
--
-- Table structure for table `tipo_producto`
--
CREATE TABLE IF NOT EXISTS `tipo_producto` (
`id` int(11) NOT NULL,
`descripcion` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tipo_producto`
--
INSERT INTO `tipo_producto` (`id`, `descripcion`) VALUES
(1, 'Clasicas'),
(2, 'Cuatriciclos y triciclos'),
(3, 'Custom / Chopper'),
(4, 'De calle '),
(5, 'Deportivas / Naked'),
(6, 'Enduro / Cross y Trial'),
(7, 'Otro'),
(8, 'Scooter y ciclo motores'),
(9, 'Touring');
-- --------------------------------------------------------
--
-- Table structure for table `tipo_publicacion`
--
CREATE TABLE IF NOT EXISTS `tipo_publicacion` (
`id` int(11) NOT NULL,
`descripcion` varchar(255) NOT NULL,
`cantidad_fotos` int(11) NOT NULL,
`ubicacion` varchar(255) NOT NULL,
`precio` decimal(15,0) NOT NULL,
`estado` varchar(1) NOT NULL,
`tipo` varchar(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tipo_publicacion`
--
INSERT INTO `tipo_publicacion` (`id`, `descripcion`, `cantidad_fotos`, `ubicacion`, `precio`, `estado`, `tipo`) VALUES
(1, 'Publicación ORO', 8, 'Superior', 45000, 'A', 'NUEVO'),
(2, 'Publicación PLATA', 6, 'Alta', 40000, 'A', 'NUEVO'),
(3, 'Publicación BRONCE', 4, 'Media', 35000, 'A', 'NUEVO');
-- --------------------------------------------------------
--
-- Table structure for table `Usuario`
--
CREATE TABLE IF NOT EXISTS `Usuario` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(100) NOT NULL,
`apellido` varchar(100) NOT NULL,
`correo` varchar(80) NOT NULL,
`password` varchar(255) NOT NULL,
`salt` varchar(255) DEFAULT NULL,
`telefono` varchar(15) NOT NULL,
`telefonodos` varchar(15) DEFAULT NULL,
`ciudad` int(11) NOT NULL,
`departamento` int(11) NOT NULL,
`direccion` varchar(255) NOT NULL,
`identificacion` varchar(20) NOT NULL,
`tipo_identificacion` varchar(10) NOT NULL,
`pais` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;
--
-- Dumping data for table `Usuario`
--
INSERT INTO `Usuario` (`id`, `nombre`, `apellido`, `correo`, `password`, `salt`, `telefono`, `telefonodos`, `ciudad`, `departamento`, `direccion`, `identificacion`, `tipo_identificacion`, `pais`) VALUES
(1, '<NAME>', '<NAME>', '<EMAIL>', 'xxx123', '', '', '', 1, 5, '', '', '', 1),
(2, 'Liliana', 'Perilla', 'lperilla', 'xxx', '', '', '', 1, 5, '', '', '', 1),
(3, 'nombre', 'apellido', 'correo', '123', '', '', '', 1, 5, '', '', '', 1),
(4, 'nombre', 'apellido', '<EMAIL>', '123456', '', '', '', 1, 5, '', '', '', 1),
(5, 'nombre', 'apellido', '<EMAIL>', '123456', '', '', '', 1, 5, '', '', '', 1),
(6, 'Santiago', '<NAME>', '<EMAIL>', '123', NULL, '', '', 1, 5, '', '', '', 1),
(7, 'Sandro', 'Salazar', '<EMAIL>', 'kpizk', NULL, '321456', '21321654', 1, 5, 'las brazilias', '1088258569', 'cc', 1),
(8, 'Sandro', 'Salazar', '<EMAIL>', 'kpizk', NULL, '321456', '21321654', 1, 5, 'las brazilias', '1088258569', 'cc', 1),
(9, 'Sandro', 'Salazar', '<EMAIL>', 'kpizk', NULL, '321456', '21321654', 1, 5, 'las brazilias', '1088258569', 'cc', 1),
(10, 'Sandro', 'Salazar', '<EMAIL>', 'kpizk', NULL, '321456', '21321654', 1, 5, 'las brazilias', '1088258569', 'cc', 1),
(11, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(12, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(13, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(14, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(15, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(16, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(17, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(18, 'El enano', 'Brazilinio', '<EMAIL>', 'kpizk', NULL, '6321546', '211326', 1, 5, 'sao paulo', '123456', 'CC', 1),
(19, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(20, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(21, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(22, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(23, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(24, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(25, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(26, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(27, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(28, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(29, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(30, 'david', 'zapata', '<EMAIL>', 'kpizk', NULL, '123465', '123465', 1, 5, 'kpizk', '123456897', 'CC', 1),
(33, '<NAME>', '<NAME>', '<EMAIL>', 'kpizk', NULL, '3148155078', '3184246820', 1818, 66, 'Los alpes dosquebradas', '10882585071', 'CC', 1),
(34, '<NAME>', 'Salazar', '<EMAIL>', 'kpizk', NULL, '321654', '132987', 0, 0, 'brazil', '123456', 'CC', 0);
-- --------------------------------------------------------
--
-- Table structure for table `whos_online`
--
CREATE TABLE IF NOT EXISTS `whos_online` (
`customer_id` int(11) DEFAULT NULL,
`full_name` varchar(255) NOT NULL,
`session_id` varchar(128) NOT NULL,
`ip_address` varchar(15) NOT NULL,
`time_entry` varchar(14) NOT NULL,
`time_last_click` varchar(14) NOT NULL,
`last_page_url` text NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `whos_online`
--
INSERT INTO `whos_online` (`customer_id`, `full_name`, `session_id`, `ip_address`, `time_entry`, `time_last_click`, `last_page_url`, `id`) VALUES
(0, 'Guest', 'r<PASSWORD>', '127.0.0.1', '1399045233', '1399045406', '/testProyectos/mimoto/catalog/', 1);
-- --------------------------------------------------------
--
-- Table structure for table `zones`
--
CREATE TABLE IF NOT EXISTS `zones` (
`zone_id` int(11) NOT NULL AUTO_INCREMENT,
`zone_country_id` int(11) NOT NULL,
`zone_code` varchar(32) NOT NULL,
`zone_name` varchar(255) NOT NULL,
PRIMARY KEY (`zone_id`),
KEY `idx_zones_country_id` (`zone_country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=182 ;
--
-- Dumping data for table `zones`
--
INSERT INTO `zones` (`zone_id`, `zone_country_id`, `zone_code`, `zone_name`) VALUES
(1, 223, 'AL', 'Alabama'),
(2, 223, 'AK', 'Alaska'),
(3, 223, 'AS', 'American Samoa'),
(4, 223, 'AZ', 'Arizona'),
(5, 223, 'AR', 'Arkansas'),
(6, 223, 'AF', 'Armed Forces Africa'),
(7, 223, 'AA', 'Armed Forces Americas'),
(8, 223, 'AC', 'Armed Forces Canada'),
(9, 223, 'AE', 'Armed Forces Europe'),
(10, 223, 'AM', 'Armed Forces Middle East'),
(11, 223, 'AP', 'Armed Forces Pacific'),
(12, 223, 'CA', 'California'),
(13, 223, 'CO', 'Colorado'),
(14, 223, 'CT', 'Connecticut'),
(15, 223, 'DE', 'Delaware'),
(16, 223, 'DC', 'District of Columbia'),
(17, 223, 'FM', 'Federated States Of Micronesia'),
(18, 223, 'FL', 'Florida'),
(19, 223, 'GA', 'Georgia'),
(20, 223, 'GU', 'Guam'),
(21, 223, 'HI', 'Hawaii'),
(22, 223, 'ID', 'Idaho'),
(23, 223, 'IL', 'Illinois'),
(24, 223, 'IN', 'Indiana'),
(25, 223, 'IA', 'Iowa'),
(26, 223, 'KS', 'Kansas'),
(27, 223, 'KY', 'Kentucky'),
(28, 223, 'LA', 'Louisiana'),
(29, 223, 'ME', 'Maine'),
(30, 223, 'MH', 'Marshall Islands'),
(31, 223, 'MD', 'Maryland'),
(32, 223, 'MA', 'Massachusetts'),
(33, 223, 'MI', 'Michigan'),
(34, 223, 'MN', 'Minnesota'),
(35, 223, 'MS', 'Mississippi'),
(36, 223, 'MO', 'Missouri'),
(37, 223, 'MT', 'Montana'),
(38, 223, 'NE', 'Nebraska'),
(39, 223, 'NV', 'Nevada'),
(40, 223, 'NH', 'New Hampshire'),
(41, 223, 'NJ', 'New Jersey'),
(42, 223, 'NM', 'New Mexico'),
(43, 223, 'NY', 'New York'),
(44, 223, 'NC', 'North Carolina'),
(45, 223, 'ND', 'North Dakota'),
(46, 223, 'MP', 'Northern Mariana Islands'),
(47, 223, 'OH', 'Ohio'),
(48, 223, 'OK', 'Oklahoma'),
(49, 223, 'OR', 'Oregon'),
(50, 223, 'PW', 'Palau'),
(51, 223, 'PA', 'Pennsylvania'),
(52, 223, 'PR', 'Puerto Rico'),
(53, 223, 'RI', 'Rhode Island'),
(54, 223, 'SC', 'South Carolina'),
(55, 223, 'SD', 'South Dakota'),
(56, 223, 'TN', 'Tennessee'),
(57, 223, 'TX', 'Texas'),
(58, 223, 'UT', 'Utah'),
(59, 223, 'VT', 'Vermont'),
(60, 223, 'VI', 'Virgin Islands'),
(61, 223, 'VA', 'Virginia'),
(62, 223, 'WA', 'Washington'),
(63, 223, 'WV', 'West Virginia'),
(64, 223, 'WI', 'Wisconsin'),
(65, 223, 'WY', 'Wyoming'),
(66, 38, 'AB', 'Alberta'),
(67, 38, 'BC', 'British Columbia'),
(68, 38, 'MB', 'Manitoba'),
(69, 38, 'NF', 'Newfoundland'),
(70, 38, 'NB', 'New Brunswick'),
(71, 38, 'NS', 'Nova Scotia'),
(72, 38, 'NT', 'Northwest Territories'),
(73, 38, 'NU', 'Nunavut'),
(74, 38, 'ON', 'Ontario'),
(75, 38, 'PE', 'Prince Edward Island'),
(76, 38, 'QC', 'Quebec'),
(77, 38, 'SK', 'Saskatchewan'),
(78, 38, 'YT', 'Yukon Territory'),
(79, 81, 'NDS', 'Niedersachsen'),
(80, 81, 'BAW', 'Baden-Württemberg'),
(81, 81, 'BAY', 'Bayern'),
(82, 81, 'BER', 'Berlin'),
(83, 81, 'BRG', 'Brandenburg'),
(84, 81, 'BRE', 'Bremen'),
(85, 81, 'HAM', 'Hamburg'),
(86, 81, 'HES', 'Hessen'),
(87, 81, 'MEC', 'Mecklenburg-Vorpommern'),
(88, 81, 'NRW', 'Nordrhein-Westfalen'),
(89, 81, 'RHE', 'Rheinland-Pfalz'),
(90, 81, 'SAR', 'Saarland'),
(91, 81, 'SAS', 'Sachsen'),
(92, 81, 'SAC', 'Sachsen-Anhalt'),
(93, 81, 'SCN', 'Schleswig-Holstein'),
(94, 81, 'THE', 'Thüringen'),
(95, 14, 'WI', 'Wien'),
(96, 14, 'NO', 'Niederösterreich'),
(97, 14, 'OO', 'Oberösterreich'),
(98, 14, 'SB', 'Salzburg'),
(99, 14, 'KN', 'Kärnten'),
(100, 14, 'ST', 'Steiermark'),
(101, 14, 'TI', 'Tirol'),
(102, 14, 'BL', 'Burgenland'),
(103, 14, 'VB', 'Voralberg'),
(104, 204, 'AG', 'Aargau'),
(105, 204, 'AI', 'Appenzell Innerrhoden'),
(106, 204, 'AR', 'Appenzell Ausserrhoden'),
(107, 204, 'BE', 'Bern'),
(108, 204, 'BL', 'Basel-Landschaft'),
(109, 204, 'BS', 'Basel-Stadt'),
(110, 204, 'FR', 'Freiburg'),
(111, 204, 'GE', 'Genf'),
(112, 204, 'GL', 'Glarus'),
(113, 204, 'JU', 'Graubünden'),
(114, 204, 'JU', 'Jura'),
(115, 204, 'LU', 'Luzern'),
(116, 204, 'NE', 'Neuenburg'),
(117, 204, 'NW', 'Nidwalden'),
(118, 204, 'OW', 'Obwalden'),
(119, 204, 'SG', '<NAME>'),
(120, 204, 'SH', 'Schaffhausen'),
(121, 204, 'SO', 'Solothurn'),
(122, 204, 'SZ', 'Schwyz'),
(123, 204, 'TG', 'Thurgau'),
(124, 204, 'TI', 'Tessin'),
(125, 204, 'UR', 'Uri'),
(126, 204, 'VD', 'Waadt'),
(127, 204, 'VS', 'Wallis'),
(128, 204, 'ZG', 'Zug'),
(129, 204, 'ZH', 'Zürich'),
(130, 195, 'A Coruña', 'A Coruña'),
(131, 195, 'Alava', 'Alava'),
(132, 195, 'Albacete', 'Albacete'),
(133, 195, 'Alicante', 'Alicante'),
(134, 195, 'Almeria', 'Almeria'),
(135, 195, 'Asturias', 'Asturias'),
(136, 195, 'Avila', 'Avila'),
(137, 195, 'Badajoz', 'Badajoz'),
(138, 195, 'Baleares', 'Baleares'),
(139, 195, 'Barcelona', 'Barcelona'),
(140, 195, 'Burgos', 'Burgos'),
(141, 195, 'Caceres', 'Caceres'),
(142, 195, 'Cadiz', 'Cadiz'),
(143, 195, 'Cantabria', 'Cantabria'),
(144, 195, 'Castellon', 'Castellon'),
(145, 195, 'Ceuta', 'Ceuta'),
(146, 195, 'Ciudad Real', 'Ciudad Real'),
(147, 195, 'Cordoba', 'Cordoba'),
(148, 195, 'Cuenca', 'Cuenca'),
(149, 195, 'Girona', 'Girona'),
(150, 195, 'Granada', 'Granada'),
(151, 195, 'Guadalajara', 'Guadalajara'),
(152, 195, 'Guipuzcoa', 'Guipuzcoa'),
(153, 195, 'Huelva', 'Huelva'),
(154, 195, 'Huesca', 'Huesca'),
(155, 195, 'Jaen', 'Jaen'),
(156, 195, 'La Rioja', 'La Rioja'),
(157, 195, 'Las Palmas', 'Las Palmas'),
(158, 195, 'Leon', 'Leon'),
(159, 195, 'Lleida', 'Lleida'),
(160, 195, 'Lugo', 'Lugo'),
(161, 195, 'Madrid', 'Madrid'),
(162, 195, 'Malaga', 'Malaga'),
(163, 195, 'Melilla', 'Melilla'),
(164, 195, 'Murcia', 'Murcia'),
(165, 195, 'Navarra', 'Navarra'),
(166, 195, 'Ourense', 'Ourense'),
(167, 195, 'Palencia', 'Palencia'),
(168, 195, 'Pontevedra', 'Pontevedra'),
(169, 195, 'Salamanca', 'Salamanca'),
(170, 195, 'Santa Cruz de Tenerife', 'Santa Cruz de Tenerife'),
(171, 195, 'Segovia', 'Segovia'),
(172, 195, 'Sevilla', 'Sevilla'),
(173, 195, 'Soria', 'Soria'),
(174, 195, 'Tarragona', 'Tarragona'),
(175, 195, 'Teruel', 'Teruel'),
(176, 195, 'Toledo', 'Toledo'),
(177, 195, 'Valencia', 'Valencia'),
(178, 195, 'Valladolid', 'Valladolid'),
(179, 195, 'Vizcaya', 'Vizcaya'),
(180, 195, 'Zamora', 'Zamora'),
(181, 195, 'Zaragoza', 'Zaragoza');
-- --------------------------------------------------------
--
-- Table structure for table `zones_to_geo_zones`
--
CREATE TABLE IF NOT EXISTS `zones_to_geo_zones` (
`association_id` int(11) NOT NULL AUTO_INCREMENT,
`zone_country_id` int(11) NOT NULL,
`zone_id` int(11) DEFAULT NULL,
`geo_zone_id` int(11) DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`association_id`),
KEY `idx_zones_to_geo_zones_country_id` (`zone_country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `zones_to_geo_zones`
--
INSERT INTO `zones_to_geo_zones` (`association_id`, `zone_country_id`, `zone_id`, `geo_zone_id`, `last_modified`, `date_added`) VALUES
(1, 223, 18, 1, NULL, '2014-04-16 16:35: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 */;
|
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 23-Nov-2021 às 21:38
-- Versão do servidor: 10.4.21-MariaDB
-- versão do PHP: 7.3.31
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 */;
--
-- Banco de dados: `autokratchei_v1`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `clientes`
--
CREATE TABLE `clientes` (
`id` int(11) NOT NULL,
`nome` varchar(45) NOT NULL,
`sobrenome` varchar(45) NOT NULL,
`cpf` varchar(20) NOT NULL,
`email` varchar(50) NOT NULL,
`telefone_fixo` varchar(20) NOT NULL,
`telefone_movel` varchar(20) NOT NULL,
`endereco` varchar(50) NOT NULL,
`sexo` varchar(50) NOT NULL,
`placa` varchar(50) NOT NULL,
`veiculo` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `clientes`
--
INSERT INTO `clientes` (`id`, `nome`, `sobrenome`, `cpf`, `email`, `telefone_fixo`, `telefone_movel`, `endereco`, `sexo`, `placa`, `veiculo`) VALUES
(4, 'Rhayann', 'Schuvantek', '', '<EMAIL>', '(41) 99735-4484', '(41) 99735-4484', 'Rua Magdalena Taborda Ribas', '0', 'BCM1234', 'Peugeot 307 2008'),
(5, 'John', 'Doe', '', '<EMAIL>', '(11) 11111-1111', '(11) 11111-1111', 'Teste', 'Masculino', 'ABM3232', 'Gol Quadrado');
-- --------------------------------------------------------
--
-- Estrutura da tabela `fornecedores`
--
CREATE TABLE `fornecedores` (
`id` int(11) NOT NULL,
`marca` varchar(200) DEFAULT NULL,
`contato` varchar(45) DEFAULT NULL,
`telefone` varchar(20) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`cep` varchar(10) DEFAULT NULL,
`endereco` varchar(145) DEFAULT NULL,
`bairro` varchar(45) DEFAULT NULL,
`cidade` varchar(45) DEFAULT NULL,
`estado` varchar(2) DEFAULT NULL,
`foto` varchar(1000) DEFAULT NULL,
`descricao` tinytext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `fornecedores`
--
INSERT INTO `fornecedores` (`id`, `marca`, `contato`, `telefone`, `email`, `cep`, `endereco`, `bairro`, `cidade`, `estado`, `foto`, `descricao`) VALUES
(1, 'FORD', 'James', '41997221457', '<EMAIL>', '81120320', 'Rua Desembargador Gamalho', 'Uberaba', 'Curitiba', 'PR', 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Ford_logo_flat.svg/2560px-Ford_logo_flat.svg.png', 'Vende peças da ford.'),
(2, 'Volkswagen', 'Ismael', '41997221457', '<EMAIL>', '81120320', 'Rua De<NAME>', 'Uberaba', 'Curitiba', 'PR', 'https://logodownload.org/wp-content/uploads/2014/02/volkswagen-vw-logo.png', 'Vende peças da volkswagen.'),
(3, 'Chevrolet', 'Ryan', '4192157741', '<EMAIL>', NULL, 'Rua Magalhães', 'Uberaba', 'Curitiba', 'PR', 'https://http2.mlstatic.com/D_NQ_NP_774702-MLB43442917805_092020-O.jpg', 'Vende peças da chevrolet'),
(4, 'Toyota', 'Silvia', '4130298121', '<EMAIL>', NULL, 'Rua <NAME>', 'Almira', 'Adamantina', 'SC', 'https://logospng.org/download/toyota/logo-toyota-2048.png', 'Vende peças da toyota'),
(5, 'Fiat', '<NAME>', '3399652154', '<EMAIL>', '82105200', 'Rua Silvia Jardim 323', 'Quitandinha', '<NAME>', 'MG', 'https://www.fratar.com.br/wp-content/uploads/2018/12/fiat-logo-1.png', 'Vende peças da fiat.'),
(11, 'Loja Geral Veículos', 'Loja Geral Veículos', '(11) 1111-1111', '<EMAIL>', '11111-111', 'Rua Geral', 'Geral', 'Curitiba', 'PR', 'http://localhost/automac/assets/imagens/fornecedores/oficina.jpg', 'Conteúdos gerais para utilizar em veículos.'),
(12, 'Honda', '<NAME>', '(41) 9932-1542', '<EMAIL>', '80030-020', 'Rua Marechal', 'Centro', 'Curitiba', 'PR', 'http://localhost/automac/assets/imagens/fornecedores/honda.png', '');
-- --------------------------------------------------------
--
-- Estrutura da tabela `funcionarios`
--
CREATE TABLE `funcionarios` (
`id` int(11) NOT NULL,
`nome_funcionario` varchar(45) NOT NULL,
`sobrenome` varchar(45) NOT NULL,
`cpf` varchar(20) NOT NULL,
`email` varchar(50) NOT NULL,
`telefone_fixo` varchar(20) NOT NULL,
`telefone_movel` varchar(20) NOT NULL,
`endereco` varchar(50) NOT NULL,
`sexo` varchar(50) NOT NULL,
`rg` varchar(50) NOT NULL,
`data_nascimento` date NOT NULL,
`foto` varchar(1000) DEFAULT NULL,
`cargo` varchar(50) NOT NULL,
`data_registro` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `funcionarios`
--
INSERT INTO `funcionarios` (`id`, `nome_funcionario`, `sobrenome`, `cpf`, `email`, `telefone_fixo`, `telefone_movel`, `endereco`, `sexo`, `rg`, `data_nascimento`, `foto`, `cargo`, `data_registro`) VALUES
(4, 'Isabella', 'Kratchei', '123.456.789-10', '<EMAIL>', '(11) 11111-1111', '(11) 11111-1111', 'Teste', 'Masculino', '11-111-111-1', '2000-02-18', 'http://localhost/automac/assets/imagens/funcionarios/anti-social-social-club-11.jpg', 'Gerente', '2021-11-23 19:55:58');
-- --------------------------------------------------------
--
-- Estrutura da tabela `groups`
--
CREATE TABLE `groups` (
`id` mediumint(8) UNSIGNED NOT NULL,
`name` varchar(20) NOT NULL,
`description` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Extraindo dados da tabela `groups`
--
INSERT INTO `groups` (`id`, `name`, `description`) VALUES
(1, 'admin', 'Administrator'),
(2, 'members', 'General User');
-- --------------------------------------------------------
--
-- Estrutura da tabela `login_attempts`
--
CREATE TABLE `login_attempts` (
`id` int(11) UNSIGNED NOT NULL,
`ip_address` varchar(45) NOT NULL,
`login` varchar(100) NOT NULL,
`time` int(11) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Estrutura da tabela `materiais`
--
CREATE TABLE `materiais` (
`id` int(11) NOT NULL,
`quantidade` int(11) NOT NULL,
`valor` int(11) NOT NULL,
`nome_material` varchar(45) NOT NULL,
`fornecedor_id` varchar(45) NOT NULL,
`modelo` varchar(45) NOT NULL,
`quantidade_minima` varchar(45) NOT NULL,
`material` varchar(45) NOT NULL,
`observacoes` varchar(1000) NOT NULL,
`foto` varchar(300) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `materiais`
--
INSERT INTO `materiais` (`id`, `quantidade`, `valor`, `nome_material`, `fornecedor_id`, `modelo`, `quantidade_minima`, `material`, `observacoes`, `foto`) VALUES
(7, 2, 250, 'Radiador Corsa GM', '3', 'Corsa GM Hatch', '1', 'ferro', '- Se encaixa em padrões chevrolet', 'http://localhost/automac/assets/imagens/materiais/radiador_corsa_antigo.jpg'),
(8, 3, 890, 'Grade Golf GTI', '10', 'Golf GTI', '1', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/grade_golf_gti.jpg'),
(9, 5, 230, 'Kit faróis Gol 2006-2008', '2', 'Gol 2006-2008', '2', 'outro', '', 'http://localhost/automac/assets/imagens/materiais/kit_farol_gol_bola.jpg'),
(10, 1, 300, 'Kit faróis Gol G5', '2', 'Gol G5', '1', 'outro', '', 'http://localhost/automac/assets/imagens/materiais/kit_farol_gol_novo.jpg'),
(11, 2, 150, 'Kit faróis Gol quadrado', '2', 'Gol Quadrado', '1', 'outro', '', 'http://localhost/automac/assets/imagens/materiais/kit_farol_gol_quadrado.jpg'),
(13, 28, 25, 'Kit Grampos', '11', 'Geral', '5', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/kit_grampo_forro.jpg'),
(14, 45, 50, 'Kit lâmpadas led', '11', 'Geral', '20', 'outro', '', 'http://localhost/automac/assets/imagens/materiais/kit_lampadas.jpg'),
(15, 23, 30, 'Ó<NAME>', '11', 'Sintético', '5', 'outro', '- Óleo sintético', 'http://localhost/automac/assets/imagens/materiais/kit_oleo_motul.jpg'),
(16, 7, 120, 'Kit pastilha freio fox', '2', 'Volkswagen Fox', '5', 'ferro', '', 'http://localhost/automac/assets/imagens/materiais/kit_pastilha_freio_fox.jpg'),
(17, 14, 150, 'Kit pastilha de freio Gol/Polo/Up', '2', 'Gol G5', '5', 'ferro', '', 'http://localhost/automac/assets/imagens/materiais/kit_pastilha_gol.jpg'),
(18, 3, 30, 'Moldura paralama Corsa', '3', 'Corsa Sedan', '1', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/moldura_paralama_corsa.jpg'),
(19, 2, 120, 'Parachoque Celta', '3', 'Celta', '3', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_celta.jpg'),
(20, 3, 120, 'Parachoque Corsa Hatch', '11', 'Corsa Hatch', '5', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_corsa_hatch.jpg'),
(21, 5, 120, '<NAME>', '3', '<NAME>', '3', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_corsa_sedan.jpg'),
(22, 5, 150, 'Parachoque Gol G5', '2', 'Gol G5', '3', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_gol_novo.jpg'),
(23, 3, 80, 'Parachoque Gol 2006-2008', '2', 'Gol 2006-2008', '5', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_gol_velho.jpg'),
(24, 1, 300, 'Parachoque Honda Civic 2006', '12', 'Honda Civic 2006', '3', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_honda_civic_2006.jpg'),
(25, 3, 80, 'Parachoque Uno Mile', '5', 'Uno mile', '2', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/parachoque_uno.jpg'),
(26, 3, 90, 'Paralama Gol 2006-2008', '12', 'Gol 2006-2008', '3', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/paralam_gol_velho1.jpg'),
(27, 3, 80, 'Paralama Corsa Sedan', '12', '<NAME>', '1', 'plastico', '', 'http://localhost/automac/assets/imagens/materiais/paralama_corsa.jpg'),
(28, 5, 180, 'Paralama Gol G5', '2', 'Gol G5', '3', 'outro', '', 'http://localhost/automac/assets/imagens/materiais/paralama_gol_novo.jpg'),
(29, 0, 89, 'Paralama Gol Quadrado', '2', 'Gol Quadrado', '1', 'ferro', '', 'http://localhost/automac/assets/imagens/materiais/paralama_gol_quadrado.jpg');
-- --------------------------------------------------------
--
-- Estrutura da tabela `oficina`
--
CREATE TABLE `oficina` (
`id` int(11) NOT NULL,
`razao_social` varchar(145) DEFAULT NULL,
`nome_fantasia` varchar(145) DEFAULT NULL,
`cnpj` varchar(25) DEFAULT NULL,
`ie` varchar(25) DEFAULT NULL,
`telefone_fixo` varchar(25) DEFAULT NULL,
`telefone_movel` varchar(25) NOT NULL,
`email` varchar(100) DEFAULT NULL,
`site_url` varchar(100) DEFAULT NULL,
`cep` varchar(25) DEFAULT NULL,
`endereco` varchar(145) DEFAULT NULL,
`numero` varchar(25) DEFAULT NULL,
`cidade` varchar(45) DEFAULT NULL,
`estado` varchar(2) DEFAULT NULL,
`txt_ordem_servico` tinytext DEFAULT NULL,
`data_alteracao` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `oficina`
--
INSERT INTO `oficina` (`id`, `razao_social`, `nome_fantasia`, `cnpj`, `ie`, `telefone_fixo`, `telefone_movel`, `email`, `site_url`, `cep`, `endereco`, `numero`, `cidade`, `estado`, `txt_ordem_servico`, `data_alteracao`) VALUES
(1, 'Conserto e manutenção de veículos', 'Auto Mac', '47.289.547/0001-12', '159527024562', '(41) 3333-4444', '(41) 99733-1234', '<EMAIL>', 'autom<EMAIL>', '81050-000', '<NAME>', '332', 'Curitiba', 'PR', 'TEXTO', '2021-11-23 20:06:22');
-- --------------------------------------------------------
--
-- Estrutura da tabela `orcamentos`
--
CREATE TABLE `orcamentos` (
`id` int(11) NOT NULL,
`cliente_id` int(11) DEFAULT NULL,
`funcionario_id` int(11) DEFAULT NULL,
`valor_total` float DEFAULT NULL,
`descricao` varchar(1500) DEFAULT NULL,
`data` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `orcamentos`
--
INSERT INTO `orcamentos` (`id`, `cliente_id`, `funcionario_id`, `valor_total`, `descricao`, `data`) VALUES
(1, 1, 2, 123, 'teste', '2021-11-20 06:26:44'),
(2, 5, 4, 450, 'teste', '2021-11-23 20:00:30');
-- --------------------------------------------------------
--
-- Estrutura da tabela `servicos`
--
CREATE TABLE `servicos` (
`id` int(11) NOT NULL,
`cliente_id` int(11) NOT NULL,
`funcionario_id` int(11) NOT NULL,
`registro_orcamento` int(11) NOT NULL,
`nome_servico` varchar(145) DEFAULT NULL,
`data` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`preco` varchar(15) DEFAULT NULL,
`descricao` varchar(1000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `servicos`
--
INSERT INTO `servicos` (`id`, `cliente_id`, `funcionario_id`, `registro_orcamento`, `nome_servico`, `data`, `preco`, `descricao`) VALUES
(30, 4, 4, 2, 'Substituindo novo parachoque', '2021-11-23 03:00:00', '250', '- Realizado a instalação do parachoque celta, troca dos grampos.'),
(31, 5, 4, 2, 'Manutenção geral', '2021-11-23 03:00:00', '450', '- Realizado troca de óleo, pastilhas e pintura do paralama.'),
(32, 4, 4, 2, 'troca de para', '2021-11-23 03:00:00', '175', 'troca');
-- --------------------------------------------------------
--
-- Estrutura da tabela `servicos_produtos`
--
CREATE TABLE `servicos_produtos` (
`id` int(11) NOT NULL,
`servico_id` int(11) DEFAULT NULL,
`material_id` int(11) DEFAULT NULL,
`quantidade_produto` int(11) DEFAULT NULL,
`valor_produto` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `servicos_produtos`
--
INSERT INTO `servicos_produtos` (`id`, `servico_id`, `material_id`, `quantidade_produto`, `valor_produto`) VALUES
(26, 30, 19, 1, ' 120.00'),
(27, 30, 13, 2, ' 25.00'),
(28, 31, 15, 5, ' 30.00'),
(29, 31, 29, 1, ' 89.00'),
(30, 31, 17, 1, ' 150.00'),
(31, 32, 19, 1, ' 120.00');
-- --------------------------------------------------------
--
-- Estrutura da tabela `users`
--
CREATE TABLE `users` (
`id` int(11) UNSIGNED NOT NULL,
`ip_address` varchar(45) NOT NULL,
`username` varchar(100) DEFAULT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(254) NOT NULL,
`activation_selector` varchar(255) DEFAULT NULL,
`activation_code` varchar(255) DEFAULT NULL,
`forgotten_password_selector` varchar(255) DEFAULT NULL,
`forgotten_password_code` varchar(255) DEFAULT NULL,
`forgotten_password_time` int(11) UNSIGNED DEFAULT NULL,
`remember_selector` varchar(255) DEFAULT NULL,
`remember_code` varchar(255) DEFAULT NULL,
`created_on` int(11) UNSIGNED NOT NULL,
`last_login` int(11) UNSIGNED DEFAULT NULL,
`active` tinyint(1) UNSIGNED DEFAULT NULL,
`first_name` varchar(50) DEFAULT NULL,
`last_name` varchar(50) DEFAULT NULL,
`company` varchar(100) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Extraindo dados da tabela `users`
--
INSERT INTO `users` (`id`, `ip_address`, `username`, `password`, `email`, `activation_selector`, `activation_code`, `forgotten_password_selector`, `forgotten_password_code`, `forgotten_password_time`, `remember_selector`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`) VALUES
(1, '127.0.0.1', 'administrator', '$2y$10$VE7XN9Bgke7lm82pqG8xUugvByXM..q8BNJBmjNrotMg92Z1Jae1u', '<EMAIL>', NULL, '', NULL, NULL, NULL, NULL, NULL, 1268889823, 1637689758, 1, '<PASSWORD>', 'istrator', 'ADMIN', '0');
-- --------------------------------------------------------
--
-- Estrutura da tabela `users_groups`
--
CREATE TABLE `users_groups` (
`id` int(11) UNSIGNED NOT NULL,
`user_id` int(11) UNSIGNED NOT NULL,
`group_id` mediumint(8) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Extraindo dados da tabela `users_groups`
--
INSERT INTO `users_groups` (`id`, `user_id`, `group_id`) VALUES
(1, 1, 1);
--
-- Índices para tabelas despejadas
--
--
-- Índices para tabela `clientes`
--
ALTER TABLE `clientes`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `fornecedores`
--
ALTER TABLE `fornecedores`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `funcionarios`
--
ALTER TABLE `funcionarios`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `groups`
--
ALTER TABLE `groups`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `login_attempts`
--
ALTER TABLE `login_attempts`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `materiais`
--
ALTER TABLE `materiais`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_fornecedor_id` (`fornecedor_id`);
--
-- Índices para tabela `oficina`
--
ALTER TABLE `oficina`
ADD PRIMARY KEY (`id`);
--
-- Índices para tabela `orcamentos`
--
ALTER TABLE `orcamentos`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_cliente_id` (`cliente_id`),
ADD KEY `fk_funcionario_id` (`funcionario_id`);
--
-- Índices para tabela `servicos`
--
ALTER TABLE `servicos`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_cliente_id` (`cliente_id`),
ADD KEY `fk_funcionario_id` (`funcionario_id`);
--
-- Índices para tabela `servicos_produtos`
--
ALTER TABLE `servicos_produtos`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_servico_id` (`servico_id`),
ADD KEY `fk_material_id` (`material_id`);
--
-- Índices para tabela `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `uc_email` (`email`),
ADD UNIQUE KEY `uc_activation_selector` (`activation_selector`),
ADD UNIQUE KEY `uc_forgotten_password_selector` (`forgotten_password_selector`),
ADD UNIQUE KEY `uc_remember_selector` (`remember_selector`);
--
-- Índices para tabela `users_groups`
--
ALTER TABLE `users_groups`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `uc_users_groups` (`user_id`,`group_id`),
ADD KEY `fk_users_groups_users1_idx` (`user_id`),
ADD KEY `fk_users_groups_groups1_idx` (`group_id`);
--
-- AUTO_INCREMENT de tabelas despejadas
--
--
-- AUTO_INCREMENT de tabela `clientes`
--
ALTER TABLE `clientes`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de tabela `fornecedores`
--
ALTER TABLE `fornecedores`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT de tabela `funcionarios`
--
ALTER TABLE `funcionarios`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de tabela `groups`
--
ALTER TABLE `groups`
MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de tabela `login_attempts`
--
ALTER TABLE `login_attempts`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de tabela `materiais`
--
ALTER TABLE `materiais`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT de tabela `oficina`
--
ALTER TABLE `oficina`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de tabela `orcamentos`
--
ALTER TABLE `orcamentos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de tabela `servicos`
--
ALTER TABLE `servicos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT de tabela `servicos_produtos`
--
ALTER TABLE `servicos_produtos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;
--
-- AUTO_INCREMENT de tabela `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de tabela `users_groups`
--
ALTER TABLE `users_groups`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- Restrições para despejos de tabelas
--
--
-- Limitadores para a tabela `servicos_produtos`
--
ALTER TABLE `servicos_produtos`
ADD CONSTRAINT `fk_material_id` FOREIGN KEY (`material_id`) REFERENCES `materiais` (`id`),
ADD CONSTRAINT `fk_servico_id` FOREIGN KEY (`servico_id`) REFERENCES `servicos` (`id`) ON DELETE CASCADE;
--
-- Limitadores para a tabela `users_groups`
--
ALTER TABLE `users_groups`
ADD CONSTRAINT `fk_users_groups_groups1` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_users_groups_users1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>gimlim1/analizadorR<filename>R2PB.AnalisisCodigo/BaseDeDatos/dbo/Tables/R2PBControl.sql
CREATE TABLE [dbo].[R2PBControl](
[IdControl] [int] IDENTITY(1,1) NOT NULL,
[IdMetodo] [int] NOT NULL,
[Nombre] [varchar](50) NOT NULL,
[Tipo] [int]NOT NULL,
[LineaComienzo] [int]NOT NULL,
[LineaFinal] [int]NOT NULL,
CONSTRAINT [PK_R2PBControl] PRIMARY KEY CLUSTERED
(
[IdControl] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[R2PBControl] WITH CHECK ADD CONSTRAINT [FK_R2PBControlo_R2PBMetodo] FOREIGN KEY([IdMetodo])
REFERENCES [dbo].[R2PBMetodo] ([IdMetodo])
|
<filename>src/main/resources/schema.cql
CREATE KEYSPACE IF NOT EXISTS springbootcass WITH replication =
{'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;
CREATE TYPE IF NOT EXISTS springbootcass.CustAddrType (
street text,
city text,
state text,
zipcode text
);
CREATE TABLE IF NOT EXISTS springbootcass.customer (
id uuid,
fname text,
lname text,
phone varchar,
address CustAddrType,
member_date date,
primary key ((id))
);
CREATE TABLE IF NOT EXISTS springbootcass.hotel (
id UUID,
name varchar,
address varchar,
zip varchar,
primary key((id))
);
CREATE TABLE IF NOT EXISTS springbootcass.flight (
airline_code text,
flight_no text,
flight_date date,
seat_map_pic blob,
crew_names set<text>,
section_seats map<text, int>,
misc_notes tuple<varchar, text, float>,
primary key((airline_code,flight_no), flight_date)
);
|
<filename>migrations/mssql/003.do.create_schemas.sql
IF NOT EXISTS ( SELECT name FROM sys.schemas WHERE name = N'lookup' ) EXEC('CREATE SCHEMA lookup');
IF NOT EXISTS ( SELECT name FROM sys.schemas WHERE name = N'access' ) EXEC('CREATE SCHEMA access');
|
USE [DataQualityDB]
GO
IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'DQSummaryResults'
AND TABLE_SCHEMA = 'Reports' )
BEGIN
DROP VIEW [Reports].[DQSummaryResults]
END
GO
CREATE VIEW [Reports].[DQSummaryResults]
as
SELECT DQH.LoadId
, LHM.LoadProcess
, LH.ParentLoadId
, LH.MasterLoadId
, LH.IsMasterLoadPackage
, AE.RuleDomain_Code as RuleDomainCode
, AE.RuleDomain_Name as RuleDomainName
, DQH.RuleType
, DQH.RuleId as RuleCode
, DQH.CheckName AS RuleName
, DQH.RuleEntityAssociationId as RuleEntityAssociationCode
, DQH.RuleEntityAssociationName
, AE.Code as EntityCode
, AE.SourceEntity
, AE.SourceSchema
, AE.SourceDatabase
, AE.[Database] AS DQDatabase
, AE.[Schema] AS DQSchema
, AE.EntityName AS DQEntity
, DQH.ColumnName AS EvaluationColumn
, DQH.DQMessage
, DQH.RowsAffected
, DQH.PercentageValue
, LH.DurationInSeconds
, DQH.SeverityId
, DQH.SeverityName
, LH.StartTime
, LH.EndTime
, LH.ErrorDescription
, LH.ErroredRoutine
, LHM.StartTime as MasterStartTime
, LHM.EndTime as MasterEndTime
, REA.IsActive_Name AS IsActiveName
FROM [DQ].[DataQualityHistory] DQH
INNER JOIN [MDS].[DQRuleEntityAssociation] REA
ON DQH.RuleEntityAssociationId = REA.Code
INNER JOIN [MDS].[DQAppEntity] AE
ON REA.DQEntity_Code = AE.Code
INNER JOIN [Audit].[RoutineLoadHistory] LH
ON DQH.LoadId = LH.LoadId
INNER JOIN [Audit].[RoutineLoadHistory] LHP
ON LH.ParentLoadId = LHP.LoadId
INNER JOIN [Audit].[RoutineLoadHistory] LHM
ON LH.MasterLoadId = LHM.LoadId
GO
|
/*
Navicat Premium Data Transfer
Source Server : Homestead
Source Server Type : MySQL
Source Server Version : 50727
Source Host : 192.168.10.10:3306
Source Schema : laravel6
Target Server Type : MySQL
Target Server Version : 50727
File Encoding : 65001
Date: 26/05/2021 16:55:26
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for admin_menu
-- ----------------------------
DROP TABLE IF EXISTS `admin_menu`;
CREATE TABLE `admin_menu` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL DEFAULT 0,
`order` int(11) NOT NULL DEFAULT 0,
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`uri` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_menu
-- ----------------------------
INSERT INTO `admin_menu` VALUES (1, 0, 1, '主页', 'fa-bar-chart', '/', NULL, NULL, '2020-05-18 16:35:15');
INSERT INTO `admin_menu` VALUES (2, 0, 2, '管理员管理', 'fa-tasks', NULL, NULL, NULL, '2020-05-18 16:35:48');
INSERT INTO `admin_menu` VALUES (3, 2, 3, '管理员管理', 'fa-users', 'auth/users', NULL, NULL, '2020-05-18 17:04:28');
INSERT INTO `admin_menu` VALUES (4, 2, 4, '角色管理', 'fa-user', 'auth/roles', NULL, NULL, '2020-05-18 17:04:36');
INSERT INTO `admin_menu` VALUES (5, 2, 5, '权限管理', 'fa-ban', 'auth/permissions', NULL, NULL, '2020-05-18 17:04:46');
INSERT INTO `admin_menu` VALUES (6, 2, 6, '菜单管理', 'fa-bars', 'auth/menu', NULL, NULL, '2020-05-18 17:04:56');
INSERT INTO `admin_menu` VALUES (8, 0, 8, '栏目管理', 'fa-align-left', '/navs', NULL, '2020-05-18 18:18:33', '2020-05-19 09:44:22');
INSERT INTO `admin_menu` VALUES (9, 0, 7, '网站基本信息', 'fa-info-circle', '/pages/1/edit', NULL, '2020-05-19 09:44:17', '2020-05-19 09:44:22');
INSERT INTO `admin_menu` VALUES (10, 0, 12, '联系方式', 'fa-volume-control-phone', '/pages/2/edit', NULL, '2020-05-19 10:01:18', '2021-04-30 14:28:31');
INSERT INTO `admin_menu` VALUES (11, 0, 10, '首页管理', 'fa-home', NULL, NULL, '2020-05-19 16:35:38', '2020-05-19 16:45:22');
INSERT INTO `admin_menu` VALUES (12, 11, 11, 'Banner', 'fa-bars', '/articles/1/edit', NULL, '2020-05-19 16:35:53', '2020-05-19 16:45:22');
INSERT INTO `admin_menu` VALUES (13, 0, 9, 'SEO管理', 'fa-internet-explorer', '/seos', NULL, '2020-05-19 16:44:59', '2020-05-19 16:45:22');
-- ----------------------------
-- Table structure for admin_operation_log
-- ----------------------------
DROP TABLE IF EXISTS `admin_operation_log`;
CREATE TABLE `admin_operation_log` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`input` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `admin_operation_log_user_id_index`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 903 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_operation_log
-- ----------------------------
INSERT INTO `admin_operation_log` VALUES (1, 1, 'admin', 'GET', '127.0.0.1', '[]', '2020-05-18 11:06:57', '2020-05-18 11:06:57');
INSERT INTO `admin_operation_log` VALUES (2, 1, 'admin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:07:03', '2020-05-18 11:07:03');
INSERT INTO `admin_operation_log` VALUES (3, 1, 'admin/auth/users/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:07:06', '2020-05-18 11:07:06');
INSERT INTO `admin_operation_log` VALUES (4, 1, 'admin', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:29:02', '2020-05-18 11:29:02');
INSERT INTO `admin_operation_log` VALUES (5, 1, 'admin', 'GET', '127.0.0.1', '[]', '2020-05-18 11:29:18', '2020-05-18 11:29:18');
INSERT INTO `admin_operation_log` VALUES (6, 1, 'admin', 'GET', '127.0.0.1', '[]', '2020-05-18 11:29:22', '2020-05-18 11:29:22');
INSERT INTO `admin_operation_log` VALUES (7, 1, 'admin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:29:25', '2020-05-18 11:29:25');
INSERT INTO `admin_operation_log` VALUES (8, 1, 'admin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 11:30:17', '2020-05-18 11:30:17');
INSERT INTO `admin_operation_log` VALUES (9, 1, 'admin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 11:30:27', '2020-05-18 11:30:27');
INSERT INTO `admin_operation_log` VALUES (10, 1, 'admin/auth/users/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:30:49', '2020-05-18 11:30:49');
INSERT INTO `admin_operation_log` VALUES (11, 1, 'admin/auth/users/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 11:30:53', '2020-05-18 11:30:53');
INSERT INTO `admin_operation_log` VALUES (12, 1, 'admin/auth/users/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 11:31:14', '2020-05-18 11:31:14');
INSERT INTO `admin_operation_log` VALUES (13, 1, 'admin/auth/users/1', 'PUT', '127.0.0.1', '{\"username\":\"admin\",\"name\":\"Administrator\",\"password\":\"<PASSWORD>\",\"password_<PASSWORD>\":\"<PASSWORD>\",\"roles\":[\"1\",null],\"permissions\":[null],\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 11:34:39', '2020-05-18 11:34:39');
INSERT INTO `admin_operation_log` VALUES (14, 1, 'admin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 11:34:39', '2020-05-18 11:34:39');
INSERT INTO `admin_operation_log` VALUES (15, 1, 'admin/auth/users/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:34:43', '2020-05-18 11:34:43');
INSERT INTO `admin_operation_log` VALUES (16, 1, 'admin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:35:16', '2020-05-18 11:35:16');
INSERT INTO `admin_operation_log` VALUES (17, 1, 'admin', 'GET', '127.0.0.1', '[]', '2020-05-18 11:42:22', '2020-05-18 11:42:22');
INSERT INTO `admin_operation_log` VALUES (18, 1, 'admin/auth/setting', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:42:31', '2020-05-18 11:42:31');
INSERT INTO `admin_operation_log` VALUES (19, 1, 'admin/auth/setting', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:42:35', '2020-05-18 11:42:35');
INSERT INTO `admin_operation_log` VALUES (20, 1, 'admin/auth/setting', 'PUT', '127.0.0.1', '{\"name\":\"\\u683c\\u52a0\\u4fe1\\u606f\",\"password\":\"<PASSWORD>\",\"password_confirmation\":\"<PASSWORD>\",\"_token\":\"pb2qqiYxx7KyzBSDMjrv4wNg64wcnDnATDJQeePm\",\"_method\":\"PUT\"}', '2020-05-18 11:42:48', '2020-05-18 11:42:48');
INSERT INTO `admin_operation_log` VALUES (21, 1, 'admin/auth/setting', 'GET', '127.0.0.1', '[]', '2020-05-18 11:42:48', '2020-05-18 11:42:48');
INSERT INTO `admin_operation_log` VALUES (22, 1, 'admin/auth/setting', 'GET', '127.0.0.1', '[]', '2020-05-18 11:42:51', '2020-05-18 11:42:51');
INSERT INTO `admin_operation_log` VALUES (23, 1, 'admin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 11:42:53', '2020-05-18 11:42:53');
INSERT INTO `admin_operation_log` VALUES (24, 1, 'admin', 'GET', '127.0.0.1', '[]', '2020-05-18 12:06:07', '2020-05-18 12:06:07');
INSERT INTO `admin_operation_log` VALUES (25, 1, 'admin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 12:06:11', '2020-05-18 12:06:11');
INSERT INTO `admin_operation_log` VALUES (26, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:03:38', '2020-05-18 15:03:38');
INSERT INTO `admin_operation_log` VALUES (27, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-18 15:04:15', '2020-05-18 15:04:15');
INSERT INTO `admin_operation_log` VALUES (28, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-18 15:04:16', '2020-05-18 15:04:16');
INSERT INTO `admin_operation_log` VALUES (29, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:04:23', '2020-05-18 15:04:23');
INSERT INTO `admin_operation_log` VALUES (30, 1, 'gjadmin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 15:04:26', '2020-05-18 15:04:26');
INSERT INTO `admin_operation_log` VALUES (31, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-18 15:41:14', '2020-05-18 15:41:14');
INSERT INTO `admin_operation_log` VALUES (32, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:41:14', '2020-05-18 15:41:14');
INSERT INTO `admin_operation_log` VALUES (33, 1, 'gjadmin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 15:41:17', '2020-05-18 15:41:17');
INSERT INTO `admin_operation_log` VALUES (34, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-18 15:47:01', '2020-05-18 15:47:01');
INSERT INTO `admin_operation_log` VALUES (35, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:47:01', '2020-05-18 15:47:01');
INSERT INTO `admin_operation_log` VALUES (36, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:49:11', '2020-05-18 15:49:11');
INSERT INTO `admin_operation_log` VALUES (37, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-18 15:49:18', '2020-05-18 15:49:18');
INSERT INTO `admin_operation_log` VALUES (38, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 15:49:18', '2020-05-18 15:49:18');
INSERT INTO `admin_operation_log` VALUES (39, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:05:17', '2020-05-18 16:05:17');
INSERT INTO `admin_operation_log` VALUES (40, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:06:19', '2020-05-18 16:06:19');
INSERT INTO `admin_operation_log` VALUES (41, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:06:32', '2020-05-18 16:06:32');
INSERT INTO `admin_operation_log` VALUES (42, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:06:48', '2020-05-18 16:06:48');
INSERT INTO `admin_operation_log` VALUES (43, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:06:58', '2020-05-18 16:06:58');
INSERT INTO `admin_operation_log` VALUES (44, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:08:54', '2020-05-18 16:08:54');
INSERT INTO `admin_operation_log` VALUES (45, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:10:26', '2020-05-18 16:10:26');
INSERT INTO `admin_operation_log` VALUES (46, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:11:08', '2020-05-18 16:11:08');
INSERT INTO `admin_operation_log` VALUES (47, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:18:08', '2020-05-18 16:18:08');
INSERT INTO `admin_operation_log` VALUES (48, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:19:19', '2020-05-18 16:19:19');
INSERT INTO `admin_operation_log` VALUES (49, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 16:19:26', '2020-05-18 16:19:26');
INSERT INTO `admin_operation_log` VALUES (50, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:19:34', '2020-05-18 16:19:34');
INSERT INTO `admin_operation_log` VALUES (51, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:19:59', '2020-05-18 16:19:59');
INSERT INTO `admin_operation_log` VALUES (52, 1, 'gjadmin/auth/menu/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:21:53', '2020-05-18 16:21:53');
INSERT INTO `admin_operation_log` VALUES (53, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:22:02', '2020-05-18 16:22:02');
INSERT INTO `admin_operation_log` VALUES (54, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:29:14', '2020-05-18 16:29:14');
INSERT INTO `admin_operation_log` VALUES (55, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:29:16', '2020-05-18 16:29:16');
INSERT INTO `admin_operation_log` VALUES (56, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:30:56', '2020-05-18 16:30:56');
INSERT INTO `admin_operation_log` VALUES (57, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:30:58', '2020-05-18 16:30:58');
INSERT INTO `admin_operation_log` VALUES (58, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:30:59', '2020-05-18 16:30:59');
INSERT INTO `admin_operation_log` VALUES (59, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:31:20', '2020-05-18 16:31:20');
INSERT INTO `admin_operation_log` VALUES (60, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:31:22', '2020-05-18 16:31:22');
INSERT INTO `admin_operation_log` VALUES (61, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:33:00', '2020-05-18 16:33:00');
INSERT INTO `admin_operation_log` VALUES (62, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:33:26', '2020-05-18 16:33:26');
INSERT INTO `admin_operation_log` VALUES (63, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:34:04', '2020-05-18 16:34:04');
INSERT INTO `admin_operation_log` VALUES (64, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:34:19', '2020-05-18 16:34:19');
INSERT INTO `admin_operation_log` VALUES (65, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:35:03', '2020-05-18 16:35:03');
INSERT INTO `admin_operation_log` VALUES (66, 1, 'gjadmin/auth/menu/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:35:06', '2020-05-18 16:35:06');
INSERT INTO `admin_operation_log` VALUES (67, 1, 'gjadmin/auth/menu/1', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u4e3b\\u9875\",\"icon\":\"fa-bar-chart\",\"uri\":\"\\/\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 16:35:15', '2020-05-18 16:35:15');
INSERT INTO `admin_operation_log` VALUES (68, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:35:15', '2020-05-18 16:35:15');
INSERT INTO `admin_operation_log` VALUES (69, 1, 'gjadmin/auth/menu/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 16:35:41', '2020-05-18 16:35:41');
INSERT INTO `admin_operation_log` VALUES (70, 1, 'gjadmin/auth/menu/2', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u7ba1\\u7406\\u5458\\u7ba1\\u7406\",\"icon\":\"fa-tasks\",\"uri\":null,\"roles\":[\"1\",null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 16:35:48', '2020-05-18 16:35:48');
INSERT INTO `admin_operation_log` VALUES (71, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:35:48', '2020-05-18 16:35:48');
INSERT INTO `admin_operation_log` VALUES (72, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:40:17', '2020-05-18 16:40:17');
INSERT INTO `admin_operation_log` VALUES (73, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:40:19', '2020-05-18 16:40:19');
INSERT INTO `admin_operation_log` VALUES (74, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:54:39', '2020-05-18 16:54:39');
INSERT INTO `admin_operation_log` VALUES (75, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 16:56:32', '2020-05-18 16:56:32');
INSERT INTO `admin_operation_log` VALUES (76, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:00:11', '2020-05-18 17:00:11');
INSERT INTO `admin_operation_log` VALUES (77, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:01:02', '2020-05-18 17:01:02');
INSERT INTO `admin_operation_log` VALUES (78, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:03:32', '2020-05-18 17:03:32');
INSERT INTO `admin_operation_log` VALUES (79, 1, 'gjadmin/auth/menu/3/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:04:20', '2020-05-18 17:04:20');
INSERT INTO `admin_operation_log` VALUES (80, 1, 'gjadmin/auth/menu/3', 'PUT', '127.0.0.1', '{\"parent_id\":\"2\",\"title\":\"\\u7ba1\\u7406\\u5458\\u7ba1\\u7406\",\"icon\":\"fa-users\",\"uri\":\"auth\\/users\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 17:04:28', '2020-05-18 17:04:28');
INSERT INTO `admin_operation_log` VALUES (81, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:04:28', '2020-05-18 17:04:28');
INSERT INTO `admin_operation_log` VALUES (82, 1, 'gjadmin/auth/menu/4/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:04:30', '2020-05-18 17:04:30');
INSERT INTO `admin_operation_log` VALUES (83, 1, 'gjadmin/auth/menu/4', 'PUT', '127.0.0.1', '{\"parent_id\":\"2\",\"title\":\"\\u89d2\\u8272\\u7ba1\\u7406\",\"icon\":\"fa-user\",\"uri\":\"auth\\/roles\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 17:04:36', '2020-05-18 17:04:36');
INSERT INTO `admin_operation_log` VALUES (84, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:04:36', '2020-05-18 17:04:36');
INSERT INTO `admin_operation_log` VALUES (85, 1, 'gjadmin/auth/menu/5/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:04:40', '2020-05-18 17:04:40');
INSERT INTO `admin_operation_log` VALUES (86, 1, 'gjadmin/auth/menu/5', 'PUT', '127.0.0.1', '{\"parent_id\":\"2\",\"title\":\"\\u6743\\u9650\\u7ba1\\u7406\",\"icon\":\"fa-ban\",\"uri\":\"auth\\/permissions\",\"roles\":[null],\"permission\":null,\"_token\":\"0ay6k5gwTnEgIHk4iedGVodm6rvEy7uYR9IDdv0k\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 17:04:46', '2020-05-18 17:04:46');
INSERT INTO `admin_operation_log` VALUES (87, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:04:46', '2020-05-18 17:04:46');
INSERT INTO `admin_operation_log` VALUES (88, 1, 'gjadmin/auth/menu/6/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:04:50', '2020-05-18 17:04:50');
INSERT INTO `admin_operation_log` VALUES (89, 1, 'gjadmin/auth/menu/6', 'PUT', '127.0.0.1', '{\"parent_id\":\"2\",\"title\":\"\\u83dc\\u5355\\u7ba1\\u7406\",\"icon\":\"fa-bars\",\"uri\":\"auth\\/menu\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-18 17:04:56', '2020-05-18 17:04:56');
INSERT INTO `admin_operation_log` VALUES (90, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 17:04:56', '2020-05-18 17:04:56');
INSERT INTO `admin_operation_log` VALUES (91, 1, 'gjadmin/auth/menu/7/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:04:58', '2020-05-18 17:04:58');
INSERT INTO `admin_operation_log` VALUES (92, 1, 'gjadmin/auth/menu/7', 'DELETE', '127.0.0.1', '{\"_method\":\"delete\",\"_token\":\"<KEY>}', '2020-05-18 17:05:01', '2020-05-18 17:05:01');
INSERT INTO `admin_operation_log` VALUES (93, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:05:01', '2020-05-18 17:05:01');
INSERT INTO `admin_operation_log` VALUES (94, 1, 'gjadmin/auth/menu/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:05:07', '2020-05-18 17:05:07');
INSERT INTO `admin_operation_log` VALUES (95, 1, 'gjadmin/auth/menu/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 17:18:33', '2020-05-18 17:18:33');
INSERT INTO `admin_operation_log` VALUES (96, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:18:35', '2020-05-18 17:18:35');
INSERT INTO `admin_operation_log` VALUES (97, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:18:36', '2020-05-18 17:18:36');
INSERT INTO `admin_operation_log` VALUES (98, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:18:38', '2020-05-18 17:18:38');
INSERT INTO `admin_operation_log` VALUES (99, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:20:38', '2020-05-18 17:20:38');
INSERT INTO `admin_operation_log` VALUES (100, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:20:40', '2020-05-18 17:20:40');
INSERT INTO `admin_operation_log` VALUES (101, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:20:46', '2020-05-18 17:20:46');
INSERT INTO `admin_operation_log` VALUES (102, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:22:44', '2020-05-18 17:22:44');
INSERT INTO `admin_operation_log` VALUES (103, 1, 'gjadmin', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:23:23', '2020-05-18 17:23:23');
INSERT INTO `admin_operation_log` VALUES (104, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:23:31', '2020-05-18 17:23:31');
INSERT INTO `admin_operation_log` VALUES (105, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:10', '2020-05-18 17:26:10');
INSERT INTO `admin_operation_log` VALUES (106, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:12', '2020-05-18 17:26:12');
INSERT INTO `admin_operation_log` VALUES (107, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:15', '2020-05-18 17:26:15');
INSERT INTO `admin_operation_log` VALUES (108, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:27', '2020-05-18 17:26:27');
INSERT INTO `admin_operation_log` VALUES (109, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:34', '2020-05-18 17:26:34');
INSERT INTO `admin_operation_log` VALUES (110, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:26:41', '2020-05-18 17:26:41');
INSERT INTO `admin_operation_log` VALUES (111, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '[]', '2020-05-18 17:26:44', '2020-05-18 17:26:44');
INSERT INTO `admin_operation_log` VALUES (112, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:26:45', '2020-05-18 17:26:45');
INSERT INTO `admin_operation_log` VALUES (113, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:27:00', '2020-05-18 17:27:00');
INSERT INTO `admin_operation_log` VALUES (114, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '[]', '2020-05-18 17:27:06', '2020-05-18 17:27:06');
INSERT INTO `admin_operation_log` VALUES (115, 1, 'gjadmin/auth/roles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:27:11', '2020-05-18 17:27:11');
INSERT INTO `admin_operation_log` VALUES (116, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:27:13', '2020-05-18 17:27:13');
INSERT INTO `admin_operation_log` VALUES (117, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '[]', '2020-05-18 17:28:14', '2020-05-18 17:28:14');
INSERT INTO `admin_operation_log` VALUES (118, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '[]', '2020-05-18 17:28:20', '2020-05-18 17:28:20');
INSERT INTO `admin_operation_log` VALUES (119, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:28:22', '2020-05-18 17:28:22');
INSERT INTO `admin_operation_log` VALUES (120, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:28:23', '2020-05-18 17:28:23');
INSERT INTO `admin_operation_log` VALUES (121, 1, 'gjadmin/auth/roles/1', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:28:25', '2020-05-18 17:28:25');
INSERT INTO `admin_operation_log` VALUES (122, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:28:28', '2020-05-18 17:28:28');
INSERT INTO `admin_operation_log` VALUES (123, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '[]', '2020-05-18 17:32:08', '2020-05-18 17:32:08');
INSERT INTO `admin_operation_log` VALUES (124, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:13', '2020-05-18 17:32:13');
INSERT INTO `admin_operation_log` VALUES (125, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:22', '2020-05-18 17:32:22');
INSERT INTO `admin_operation_log` VALUES (126, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:27', '2020-05-18 17:32:27');
INSERT INTO `admin_operation_log` VALUES (127, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:31', '2020-05-18 17:32:31');
INSERT INTO `admin_operation_log` VALUES (128, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:32:43', '2020-05-18 17:32:43');
INSERT INTO `admin_operation_log` VALUES (129, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:47', '2020-05-18 17:32:47');
INSERT INTO `admin_operation_log` VALUES (130, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:52', '2020-05-18 17:32:52');
INSERT INTO `admin_operation_log` VALUES (131, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:54', '2020-05-18 17:32:54');
INSERT INTO `admin_operation_log` VALUES (132, 1, 'gjadmin/auth/roles/1', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:32:57', '2020-05-18 17:32:57');
INSERT INTO `admin_operation_log` VALUES (133, 1, 'gjadmin/auth/roles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:00', '2020-05-18 17:33:00');
INSERT INTO `admin_operation_log` VALUES (134, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:02', '2020-05-18 17:33:02');
INSERT INTO `admin_operation_log` VALUES (135, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:04', '2020-05-18 17:33:04');
INSERT INTO `admin_operation_log` VALUES (136, 1, 'gjadmin/auth/users/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:07', '2020-05-18 17:33:07');
INSERT INTO `admin_operation_log` VALUES (137, 1, 'gjadmin/auth/users/1', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:10', '2020-05-18 17:33:10');
INSERT INTO `admin_operation_log` VALUES (138, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:14', '2020-05-18 17:33:14');
INSERT INTO `admin_operation_log` VALUES (139, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:15', '2020-05-18 17:33:15');
INSERT INTO `admin_operation_log` VALUES (140, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:19', '2020-05-18 17:33:19');
INSERT INTO `admin_operation_log` VALUES (141, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:19', '2020-05-18 17:33:19');
INSERT INTO `admin_operation_log` VALUES (142, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:21', '2020-05-18 17:33:21');
INSERT INTO `admin_operation_log` VALUES (143, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:33:26', '2020-05-18 17:33:26');
INSERT INTO `admin_operation_log` VALUES (144, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 17:35:37', '2020-05-18 17:35:37');
INSERT INTO `admin_operation_log` VALUES (145, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 17:35:39', '2020-05-18 17:35:39');
INSERT INTO `admin_operation_log` VALUES (146, 1, 'gjadmin/auth/permissions/1', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:35:40', '2020-05-18 17:35:40');
INSERT INTO `admin_operation_log` VALUES (147, 1, 'gjadmin/auth/permissions/1', 'GET', '127.0.0.1', '[]', '2020-05-18 17:35:47', '2020-05-18 17:35:47');
INSERT INTO `admin_operation_log` VALUES (148, 1, 'gjadmin/auth/permissions/1', 'GET', '127.0.0.1', '[]', '2020-05-18 17:35:55', '2020-05-18 17:35:55');
INSERT INTO `admin_operation_log` VALUES (149, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:35:56', '2020-05-18 17:35:56');
INSERT INTO `admin_operation_log` VALUES (150, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 17:38:02', '2020-05-18 17:38:02');
INSERT INTO `admin_operation_log` VALUES (151, 1, 'gjadmin/auth/permissions/1', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:38:22', '2020-05-18 17:38:22');
INSERT INTO `admin_operation_log` VALUES (152, 1, 'gjadmin/auth/permissions/1', 'GET', '127.0.0.1', '[]', '2020-05-18 17:38:34', '2020-05-18 17:38:34');
INSERT INTO `admin_operation_log` VALUES (153, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:38:36', '2020-05-18 17:38:36');
INSERT INTO `admin_operation_log` VALUES (154, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:39:59', '2020-05-18 17:39:59');
INSERT INTO `admin_operation_log` VALUES (155, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:40:03', '2020-05-18 17:40:03');
INSERT INTO `admin_operation_log` VALUES (156, 1, 'gjadmin/auth/permissions/5/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:40:06', '2020-05-18 17:40:06');
INSERT INTO `admin_operation_log` VALUES (157, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:40:09', '2020-05-18 17:40:09');
INSERT INTO `admin_operation_log` VALUES (158, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:40:12', '2020-05-18 17:40:12');
INSERT INTO `admin_operation_log` VALUES (159, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:40:24', '2020-05-18 17:40:24');
INSERT INTO `admin_operation_log` VALUES (160, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:40:58', '2020-05-18 17:40:58');
INSERT INTO `admin_operation_log` VALUES (161, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:41:00', '2020-05-18 17:41:00');
INSERT INTO `admin_operation_log` VALUES (162, 1, 'gjadmin/auth/permissions/4/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:41:03', '2020-05-18 17:41:03');
INSERT INTO `admin_operation_log` VALUES (163, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:41:05', '2020-05-18 17:41:05');
INSERT INTO `admin_operation_log` VALUES (164, 1, 'gjadmin/auth/permissions/5/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:41:08', '2020-05-18 17:41:08');
INSERT INTO `admin_operation_log` VALUES (165, 1, 'gjadmin/auth/permissions/5', 'PUT', '127.0.0.1', '{\"slug\":\"auth.management\",\"name\":\"Auth management\",\"http_method\":[null],\"http_path\":\"\\/auth\\/roles\\r\\n\\/auth\\/permissions\\r\\n\\/auth\\/menu\\r\\n\\/auth\\/logs\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/permissions\"}', '2020-05-18 17:41:13', '2020-05-18 17:41:13');
INSERT INTO `admin_operation_log` VALUES (166, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:41:14', '2020-05-18 17:41:14');
INSERT INTO `admin_operation_log` VALUES (167, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:53:23', '2020-05-18 17:53:23');
INSERT INTO `admin_operation_log` VALUES (168, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:53:26', '2020-05-18 17:53:26');
INSERT INTO `admin_operation_log` VALUES (169, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:54:25', '2020-05-18 17:54:25');
INSERT INTO `admin_operation_log` VALUES (170, 1, 'gjadmin/auth/permissions/1', 'PUT', '127.0.0.1', '{\"slug\":\"*\",\"name\":\"All permission\",\"http_method\":[null],\"http_path\":\"*\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/permissions\"}', '2020-05-18 17:54:27', '2020-05-18 17:54:27');
INSERT INTO `admin_operation_log` VALUES (171, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:54:28', '2020-05-18 17:54:28');
INSERT INTO `admin_operation_log` VALUES (172, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:54:34', '2020-05-18 17:54:34');
INSERT INTO `admin_operation_log` VALUES (173, 1, 'gjadmin/auth/permissions/1', 'PUT', '127.0.0.1', '{\"slug\":\"*\",\"name\":\"All permission\",\"http_method\":[null],\"http_path\":\"*\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/permissions\"}', '2020-05-18 17:54:35', '2020-05-18 17:54:35');
INSERT INTO `admin_operation_log` VALUES (174, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '[]', '2020-05-18 17:54:35', '2020-05-18 17:54:35');
INSERT INTO `admin_operation_log` VALUES (175, 1, 'gjadmin/auth/permissions/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:54:58', '2020-05-18 17:54:58');
INSERT INTO `admin_operation_log` VALUES (176, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:55:00', '2020-05-18 17:55:00');
INSERT INTO `admin_operation_log` VALUES (177, 1, 'gjadmin', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 17:55:03', '2020-05-18 17:55:03');
INSERT INTO `admin_operation_log` VALUES (178, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 17:56:13', '2020-05-18 17:56:13');
INSERT INTO `admin_operation_log` VALUES (179, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 18:03:47', '2020-05-18 18:03:47');
INSERT INTO `admin_operation_log` VALUES (180, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 18:03:55', '2020-05-18 18:03:55');
INSERT INTO `admin_operation_log` VALUES (181, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:04:01', '2020-05-18 18:04:01');
INSERT INTO `admin_operation_log` VALUES (182, 1, 'gjadmin/auth/roles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:04:02', '2020-05-18 18:04:02');
INSERT INTO `admin_operation_log` VALUES (183, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:04:02', '2020-05-18 18:04:02');
INSERT INTO `admin_operation_log` VALUES (184, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:04:03', '2020-05-18 18:04:03');
INSERT INTO `admin_operation_log` VALUES (185, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:04:06', '2020-05-18 18:04:06');
INSERT INTO `admin_operation_log` VALUES (186, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:18:05', '2020-05-18 18:18:05');
INSERT INTO `admin_operation_log` VALUES (187, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:18:14', '2020-05-18 18:18:14');
INSERT INTO `admin_operation_log` VALUES (188, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:18:15', '2020-05-18 18:18:15');
INSERT INTO `admin_operation_log` VALUES (189, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u680f\\u76ee\\u7ba1\\u7406\",\"icon\":\"fa-align-left\",\"uri\":\"\\/navs\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>}', '2020-05-18 18:18:33', '2020-05-18 18:18:33');
INSERT INTO `admin_operation_log` VALUES (190, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:18:33', '2020-05-18 18:18:33');
INSERT INTO `admin_operation_log` VALUES (191, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"_token\":\"<KEY>\",\"_order\":\"[{\\\"id\\\":1},{\\\"id\\\":2,\\\"children\\\":[{\\\"id\\\":3},{\\\"id\\\":4},{\\\"id\\\":5},{\\\"id\\\":6}]},{\\\"id\\\":8}]\"}', '2020-05-18 18:18:39', '2020-05-18 18:18:39');
INSERT INTO `admin_operation_log` VALUES (192, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:18:39', '2020-05-18 18:18:39');
INSERT INTO `admin_operation_log` VALUES (193, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:18:40', '2020-05-18 18:18:40');
INSERT INTO `admin_operation_log` VALUES (194, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:18:41', '2020-05-18 18:18:41');
INSERT INTO `admin_operation_log` VALUES (195, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:19:06', '2020-05-18 18:19:06');
INSERT INTO `admin_operation_log` VALUES (196, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:24:56', '2020-05-18 18:24:56');
INSERT INTO `admin_operation_log` VALUES (197, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:25:00', '2020-05-18 18:25:00');
INSERT INTO `admin_operation_log` VALUES (198, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:25:56', '2020-05-18 18:25:56');
INSERT INTO `admin_operation_log` VALUES (199, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:27:28', '2020-05-18 18:27:28');
INSERT INTO `admin_operation_log` VALUES (200, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:30:05', '2020-05-18 18:30:05');
INSERT INTO `admin_operation_log` VALUES (201, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:30:08', '2020-05-18 18:30:08');
INSERT INTO `admin_operation_log` VALUES (202, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:31:33', '2020-05-18 18:31:33');
INSERT INTO `admin_operation_log` VALUES (203, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:32:06', '2020-05-18 18:32:06');
INSERT INTO `admin_operation_log` VALUES (204, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:33:10', '2020-05-18 18:33:10');
INSERT INTO `admin_operation_log` VALUES (205, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:33:26', '2020-05-18 18:33:26');
INSERT INTO `admin_operation_log` VALUES (206, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:33:51', '2020-05-18 18:33:51');
INSERT INTO `admin_operation_log` VALUES (207, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:34:26', '2020-05-18 18:34:26');
INSERT INTO `admin_operation_log` VALUES (208, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test1\",\"uri\":\"\\/test1\",\"_token\":\"<KEY>}', '2020-05-18 18:34:35', '2020-05-18 18:34:35');
INSERT INTO `admin_operation_log` VALUES (209, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:34:36', '2020-05-18 18:34:36');
INSERT INTO `admin_operation_log` VALUES (210, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:09', '2020-05-18 18:35:09');
INSERT INTO `admin_operation_log` VALUES (211, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test1\",\"link\":\"\\/test1\",\"_token\":\"<KEY>}', '2020-05-18 18:35:16', '2020-05-18 18:35:16');
INSERT INTO `admin_operation_log` VALUES (212, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:16', '2020-05-18 18:35:16');
INSERT INTO `admin_operation_log` VALUES (213, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:17', '2020-05-18 18:35:17');
INSERT INTO `admin_operation_log` VALUES (214, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:19', '2020-05-18 18:35:19');
INSERT INTO `admin_operation_log` VALUES (215, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:20', '2020-05-18 18:35:20');
INSERT INTO `admin_operation_log` VALUES (216, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:22', '2020-05-18 18:35:22');
INSERT INTO `admin_operation_log` VALUES (217, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:23', '2020-05-18 18:35:23');
INSERT INTO `admin_operation_log` VALUES (218, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:24', '2020-05-18 18:35:24');
INSERT INTO `admin_operation_log` VALUES (219, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:26', '2020-05-18 18:35:26');
INSERT INTO `admin_operation_log` VALUES (220, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:27', '2020-05-18 18:35:27');
INSERT INTO `admin_operation_log` VALUES (221, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:29', '2020-05-18 18:35:29');
INSERT INTO `admin_operation_log` VALUES (222, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:30', '2020-05-18 18:35:30');
INSERT INTO `admin_operation_log` VALUES (223, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:31', '2020-05-18 18:35:31');
INSERT INTO `admin_operation_log` VALUES (224, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:33', '2020-05-18 18:35:33');
INSERT INTO `admin_operation_log` VALUES (225, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:34', '2020-05-18 18:35:34');
INSERT INTO `admin_operation_log` VALUES (226, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:35', '2020-05-18 18:35:35');
INSERT INTO `admin_operation_log` VALUES (227, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:37', '2020-05-18 18:35:37');
INSERT INTO `admin_operation_log` VALUES (228, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:35:38', '2020-05-18 18:35:38');
INSERT INTO `admin_operation_log` VALUES (229, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 18:36:09', '2020-05-18 18:36:09');
INSERT INTO `admin_operation_log` VALUES (230, 1, 'gjadmin/auth/permissions', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:36:13', '2020-05-18 18:36:13');
INSERT INTO `admin_operation_log` VALUES (231, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:36:13', '2020-05-18 18:36:13');
INSERT INTO `admin_operation_log` VALUES (232, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:36:59', '2020-05-18 18:36:59');
INSERT INTO `admin_operation_log` VALUES (233, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:37:02', '2020-05-18 18:37:02');
INSERT INTO `admin_operation_log` VALUES (234, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:37:03', '2020-05-18 18:37:03');
INSERT INTO `admin_operation_log` VALUES (235, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:37:04', '2020-05-18 18:37:04');
INSERT INTO `admin_operation_log` VALUES (236, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:37:05', '2020-05-18 18:37:05');
INSERT INTO `admin_operation_log` VALUES (237, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-18 18:38:41', '2020-05-18 18:38:41');
INSERT INTO `admin_operation_log` VALUES (238, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:38:44', '2020-05-18 18:38:44');
INSERT INTO `admin_operation_log` VALUES (239, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:38:55', '2020-05-18 18:38:55');
INSERT INTO `admin_operation_log` VALUES (240, 1, 'gjadmin/navs/1', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test1\",\"uri\":\"\\/test1\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-18 18:39:07', '2020-05-18 18:39:07');
INSERT INTO `admin_operation_log` VALUES (241, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:39:07', '2020-05-18 18:39:07');
INSERT INTO `admin_operation_log` VALUES (242, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:39:33', '2020-05-18 18:39:33');
INSERT INTO `admin_operation_log` VALUES (243, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:39:48', '2020-05-18 18:39:48');
INSERT INTO `admin_operation_log` VALUES (244, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:42:46', '2020-05-18 18:42:46');
INSERT INTO `admin_operation_log` VALUES (245, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:42:48', '2020-05-18 18:42:48');
INSERT INTO `admin_operation_log` VALUES (246, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test2\",\"link\":\"\\/test2\",\"_token\":\"<KEY>9IDdv0k\"}', '2020-05-18 18:42:55', '2020-05-18 18:42:55');
INSERT INTO `admin_operation_log` VALUES (247, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:42:56', '2020-05-18 18:42:56');
INSERT INTO `admin_operation_log` VALUES (248, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test3\",\"link\":\"\\/test3\",\"_token\":\"<KEY>}', '2020-05-18 18:43:19', '2020-05-18 18:43:19');
INSERT INTO `admin_operation_log` VALUES (249, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:43:19', '2020-05-18 18:43:19');
INSERT INTO `admin_operation_log` VALUES (250, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:43:21', '2020-05-18 18:43:21');
INSERT INTO `admin_operation_log` VALUES (251, 1, 'gjadmin/navs/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:43:23', '2020-05-18 18:43:23');
INSERT INTO `admin_operation_log` VALUES (252, 1, 'gjadmin/navs/2', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test2\",\"uri\":\"\\/test2\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-18 18:43:31', '2020-05-18 18:43:31');
INSERT INTO `admin_operation_log` VALUES (253, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:43:31', '2020-05-18 18:43:31');
INSERT INTO `admin_operation_log` VALUES (254, 1, 'gjadmin/navs/3/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:43:33', '2020-05-18 18:43:33');
INSERT INTO `admin_operation_log` VALUES (255, 1, 'gjadmin/navs/3', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test3\",\"uri\":\"test3\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-18 18:43:39', '2020-05-18 18:43:39');
INSERT INTO `admin_operation_log` VALUES (256, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:43:39', '2020-05-18 18:43:39');
INSERT INTO `admin_operation_log` VALUES (257, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test4\",\"uri\":\"\\/test4\",\"_token\":\"<KEY>}', '2020-05-18 18:43:47', '2020-05-18 18:43:47');
INSERT INTO `admin_operation_log` VALUES (258, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:43:48', '2020-05-18 18:43:48');
INSERT INTO `admin_operation_log` VALUES (259, 1, 'gjadmin/navs/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:43:57', '2020-05-18 18:43:57');
INSERT INTO `admin_operation_log` VALUES (260, 1, 'gjadmin/navs/2', 'PUT', '127.0.0.1', '{\"parent_id\":\"1\",\"title\":\"test2\",\"uri\":\"\\/test2\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-18 18:44:01', '2020-05-18 18:44:01');
INSERT INTO `admin_operation_log` VALUES (261, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:44:01', '2020-05-18 18:44:01');
INSERT INTO `admin_operation_log` VALUES (262, 1, 'gjadmin/navs', 'POST', '127.0.0.1', '{\"_token\":\"<KEY>\",\"_order\":\"[{\\\"id\\\":1,\\\"children\\\":[{\\\"id\\\":2},{\\\"id\\\":4}]},{\\\"id\\\":3}]\"}', '2020-05-18 18:44:08', '2020-05-18 18:44:08');
INSERT INTO `admin_operation_log` VALUES (263, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:44:08', '2020-05-18 18:44:08');
INSERT INTO `admin_operation_log` VALUES (264, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:44:10', '2020-05-18 18:44:10');
INSERT INTO `admin_operation_log` VALUES (265, 1, 'gjadmin/navs/3/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:44:33', '2020-05-18 18:44:33');
INSERT INTO `admin_operation_log` VALUES (266, 1, 'gjadmin/navs/3', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"test3\",\"uri\":\"\\/test3\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-18 18:44:36', '2020-05-18 18:44:36');
INSERT INTO `admin_operation_log` VALUES (267, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:44:37', '2020-05-18 18:44:37');
INSERT INTO `admin_operation_log` VALUES (268, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:44:38', '2020-05-18 18:44:38');
INSERT INTO `admin_operation_log` VALUES (269, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:45:33', '2020-05-18 18:45:33');
INSERT INTO `admin_operation_log` VALUES (270, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-18 18:46:16', '2020-05-18 18:46:16');
INSERT INTO `admin_operation_log` VALUES (271, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:46:17', '2020-05-18 18:46:17');
INSERT INTO `admin_operation_log` VALUES (272, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:46:20', '2020-05-18 18:46:20');
INSERT INTO `admin_operation_log` VALUES (273, 1, 'gjadmin/auth/users', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:46:33', '2020-05-18 18:46:33');
INSERT INTO `admin_operation_log` VALUES (274, 1, 'gjadmin/auth/users/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:46:39', '2020-05-18 18:46:39');
INSERT INTO `admin_operation_log` VALUES (275, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:46:42', '2020-05-18 18:46:42');
INSERT INTO `admin_operation_log` VALUES (276, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:52:41', '2020-05-18 18:52:41');
INSERT INTO `admin_operation_log` VALUES (277, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:52:44', '2020-05-18 18:52:44');
INSERT INTO `admin_operation_log` VALUES (278, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:53:02', '2020-05-18 18:53:02');
INSERT INTO `admin_operation_log` VALUES (279, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:53:20', '2020-05-18 18:53:20');
INSERT INTO `admin_operation_log` VALUES (280, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:53:41', '2020-05-18 18:53:41');
INSERT INTO `admin_operation_log` VALUES (281, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:54:20', '2020-05-18 18:54:20');
INSERT INTO `admin_operation_log` VALUES (282, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '[]', '2020-05-18 18:54:48', '2020-05-18 18:54:48');
INSERT INTO `admin_operation_log` VALUES (283, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:54:50', '2020-05-18 18:54:50');
INSERT INTO `admin_operation_log` VALUES (284, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:54:51', '2020-05-18 18:54:51');
INSERT INTO `admin_operation_log` VALUES (285, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:54:52', '2020-05-18 18:54:52');
INSERT INTO `admin_operation_log` VALUES (286, 1, 'gjadmin/pages', 'POST', '127.0.0.1', '{\"tips\":\"\\u57fa\\u672c\\u4fe1\\u606f\",\"_token\":\"<KEY>\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 18:55:06', '2020-05-18 18:55:06');
INSERT INTO `admin_operation_log` VALUES (287, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 18:55:06', '2020-05-18 18:55:06');
INSERT INTO `admin_operation_log` VALUES (288, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 18:55:16', '2020-05-18 18:55:16');
INSERT INTO `admin_operation_log` VALUES (289, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:55:35', '2020-05-18 18:55:35');
INSERT INTO `admin_operation_log` VALUES (290, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:55:43', '2020-05-18 18:55:43');
INSERT INTO `admin_operation_log` VALUES (291, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:55:45', '2020-05-18 18:55:45');
INSERT INTO `admin_operation_log` VALUES (292, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:57:19', '2020-05-18 18:57:19');
INSERT INTO `admin_operation_log` VALUES (293, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:57:20', '2020-05-18 18:57:20');
INSERT INTO `admin_operation_log` VALUES (294, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:58:55', '2020-05-18 18:58:55');
INSERT INTO `admin_operation_log` VALUES (295, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:59:34', '2020-05-18 18:59:34');
INSERT INTO `admin_operation_log` VALUES (296, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:59:41', '2020-05-18 18:59:41');
INSERT INTO `admin_operation_log` VALUES (297, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 18:59:48', '2020-05-18 18:59:48');
INSERT INTO `admin_operation_log` VALUES (298, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:00:00', '2020-05-18 19:00:00');
INSERT INTO `admin_operation_log` VALUES (299, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:00:01', '2020-05-18 19:00:01');
INSERT INTO `admin_operation_log` VALUES (300, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:00:01', '2020-05-18 19:00:01');
INSERT INTO `admin_operation_log` VALUES (301, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:00:02', '2020-05-18 19:00:02');
INSERT INTO `admin_operation_log` VALUES (302, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:01:46', '2020-05-18 19:01:46');
INSERT INTO `admin_operation_log` VALUES (303, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:02:12', '2020-05-18 19:02:12');
INSERT INTO `admin_operation_log` VALUES (304, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:03:23', '2020-05-18 19:03:23');
INSERT INTO `admin_operation_log` VALUES (305, 1, 'gjadmin/auth/setting', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:04:04', '2020-05-18 19:04:04');
INSERT INTO `admin_operation_log` VALUES (306, 1, 'gjadmin/auth/setting', 'GET', '127.0.0.1', '[]', '2020-05-18 19:05:21', '2020-05-18 19:05:21');
INSERT INTO `admin_operation_log` VALUES (307, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:05:44', '2020-05-18 19:05:44');
INSERT INTO `admin_operation_log` VALUES (308, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:07:39', '2020-05-18 19:07:39');
INSERT INTO `admin_operation_log` VALUES (309, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:07:50', '2020-05-18 19:07:50');
INSERT INTO `admin_operation_log` VALUES (310, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:08:00', '2020-05-18 19:08:00');
INSERT INTO `admin_operation_log` VALUES (311, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:08:22', '2020-05-18 19:08:22');
INSERT INTO `admin_operation_log` VALUES (312, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:08:23', '2020-05-18 19:08:23');
INSERT INTO `admin_operation_log` VALUES (313, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:10:44', '2020-05-18 19:10:44');
INSERT INTO `admin_operation_log` VALUES (314, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:10:58', '2020-05-18 19:10:58');
INSERT INTO `admin_operation_log` VALUES (315, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:11:41', '2020-05-18 19:11:41');
INSERT INTO `admin_operation_log` VALUES (316, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:11:51', '2020-05-18 19:11:51');
INSERT INTO `admin_operation_log` VALUES (317, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:12:09', '2020-05-18 19:12:09');
INSERT INTO `admin_operation_log` VALUES (318, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:12:11', '2020-05-18 19:12:11');
INSERT INTO `admin_operation_log` VALUES (319, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:12:31', '2020-05-18 19:12:31');
INSERT INTO `admin_operation_log` VALUES (320, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:14:20', '2020-05-18 19:14:20');
INSERT INTO `admin_operation_log` VALUES (321, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":null,\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:14:22', '2020-05-18 19:14:22');
INSERT INTO `admin_operation_log` VALUES (322, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 19:14:22', '2020-05-18 19:14:22');
INSERT INTO `admin_operation_log` VALUES (323, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:14:27', '2020-05-18 19:14:27');
INSERT INTO `admin_operation_log` VALUES (324, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:14:35', '2020-05-18 19:14:35');
INSERT INTO `admin_operation_log` VALUES (325, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"1\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:14:39', '2020-05-18 19:14:39');
INSERT INTO `admin_operation_log` VALUES (326, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-18 19:14:40', '2020-05-18 19:14:40');
INSERT INTO `admin_operation_log` VALUES (327, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:14:42', '2020-05-18 19:14:42');
INSERT INTO `admin_operation_log` VALUES (328, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:14:57', '2020-05-18 19:14:57');
INSERT INTO `admin_operation_log` VALUES (329, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:16:51', '2020-05-18 19:16:51');
INSERT INTO `admin_operation_log` VALUES (330, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:18:15', '2020-05-18 19:18:15');
INSERT INTO `admin_operation_log` VALUES (331, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:18:19', '2020-05-18 19:18:19');
INSERT INTO `admin_operation_log` VALUES (332, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:18:20', '2020-05-18 19:18:20');
INSERT INTO `admin_operation_log` VALUES (333, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:18:27', '2020-05-18 19:18:27');
INSERT INTO `admin_operation_log` VALUES (334, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:18:32', '2020-05-18 19:18:32');
INSERT INTO `admin_operation_log` VALUES (335, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:18:34', '2020-05-18 19:18:34');
INSERT INTO `admin_operation_log` VALUES (336, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:18:36', '2020-05-18 19:18:36');
INSERT INTO `admin_operation_log` VALUES (337, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:18:39', '2020-05-18 19:18:39');
INSERT INTO `admin_operation_log` VALUES (338, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:18:39', '2020-05-18 19:18:39');
INSERT INTO `admin_operation_log` VALUES (339, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:18:42', '2020-05-18 19:18:42');
INSERT INTO `admin_operation_log` VALUES (340, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:25:19', '2020-05-18 19:25:19');
INSERT INTO `admin_operation_log` VALUES (341, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:25:35', '2020-05-18 19:25:35');
INSERT INTO `admin_operation_log` VALUES (342, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:25:50', '2020-05-18 19:25:50');
INSERT INTO `admin_operation_log` VALUES (343, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:25:59', '2020-05-18 19:25:59');
INSERT INTO `admin_operation_log` VALUES (344, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:27:28', '2020-05-18 19:27:28');
INSERT INTO `admin_operation_log` VALUES (345, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:27:45', '2020-05-18 19:27:45');
INSERT INTO `admin_operation_log` VALUES (346, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:03', '2020-05-18 19:28:03');
INSERT INTO `admin_operation_log` VALUES (347, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:10', '2020-05-18 19:28:10');
INSERT INTO `admin_operation_log` VALUES (348, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:19', '2020-05-18 19:28:19');
INSERT INTO `admin_operation_log` VALUES (349, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:25', '2020-05-18 19:28:25');
INSERT INTO `admin_operation_log` VALUES (350, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:41', '2020-05-18 19:28:41');
INSERT INTO `admin_operation_log` VALUES (351, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:28:59', '2020-05-18 19:28:59');
INSERT INTO `admin_operation_log` VALUES (352, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:29:26', '2020-05-18 19:29:26');
INSERT INTO `admin_operation_log` VALUES (353, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:30:01', '2020-05-18 19:30:01');
INSERT INTO `admin_operation_log` VALUES (354, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:31:44', '2020-05-18 19:31:44');
INSERT INTO `admin_operation_log` VALUES (355, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:31:52', '2020-05-18 19:31:52');
INSERT INTO `admin_operation_log` VALUES (356, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:32:00', '2020-05-18 19:32:00');
INSERT INTO `admin_operation_log` VALUES (357, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:34:16', '2020-05-18 19:34:16');
INSERT INTO `admin_operation_log` VALUES (358, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"0ay<PASSWORD>EgIHk4iedGVodm6rvEy7uYR9IDdv0k\",\"_method\":\"PUT\"}', '2020-05-18 19:34:26', '2020-05-18 19:34:26');
INSERT INTO `admin_operation_log` VALUES (359, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:34:29', '2020-05-18 19:34:29');
INSERT INTO `admin_operation_log` VALUES (360, 1, 'gjadmin/pages/1', 'GET', '127.0.0.1', '[]', '2020-05-18 19:34:32', '2020-05-18 19:34:32');
INSERT INTO `admin_operation_log` VALUES (361, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:34:34', '2020-05-18 19:34:34');
INSERT INTO `admin_operation_log` VALUES (362, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:34:39', '2020-05-18 19:34:39');
INSERT INTO `admin_operation_log` VALUES (363, 1, 'gjadmin/pages/1', 'GET', '127.0.0.1', '[]', '2020-05-18 19:34:50', '2020-05-18 19:34:50');
INSERT INTO `admin_operation_log` VALUES (364, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:34:53', '2020-05-18 19:34:53');
INSERT INTO `admin_operation_log` VALUES (365, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:34:55', '2020-05-18 19:34:55');
INSERT INTO `admin_operation_log` VALUES (366, 1, 'gjadmin/pages/1', 'GET', '127.0.0.1', '[]', '2020-05-18 19:35:46', '2020-05-18 19:35:46');
INSERT INTO `admin_operation_log` VALUES (367, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:35:48', '2020-05-18 19:35:48');
INSERT INTO `admin_operation_log` VALUES (368, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"4\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:35:52', '2020-05-18 19:35:52');
INSERT INTO `admin_operation_log` VALUES (369, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:35:54', '2020-05-18 19:35:54');
INSERT INTO `admin_operation_log` VALUES (370, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:36:04', '2020-05-18 19:36:04');
INSERT INTO `admin_operation_log` VALUES (371, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"1\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:36:09', '2020-05-18 19:36:09');
INSERT INTO `admin_operation_log` VALUES (372, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:36:10', '2020-05-18 19:36:10');
INSERT INTO `admin_operation_log` VALUES (373, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:37:00', '2020-05-18 19:37:00');
INSERT INTO `admin_operation_log` VALUES (374, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"1\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:37:06', '2020-05-18 19:37:06');
INSERT INTO `admin_operation_log` VALUES (375, 1, 'gjadmin/pages/1', 'GET', '127.0.0.1', '[]', '2020-05-18 19:37:32', '2020-05-18 19:37:32');
INSERT INTO `admin_operation_log` VALUES (376, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:37:34', '2020-05-18 19:37:34');
INSERT INTO `admin_operation_log` VALUES (377, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:37:38', '2020-05-18 19:37:38');
INSERT INTO `admin_operation_log` VALUES (378, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:37:39', '2020-05-18 19:37:39');
INSERT INTO `admin_operation_log` VALUES (379, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:38:08', '2020-05-18 19:38:08');
INSERT INTO `admin_operation_log` VALUES (380, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/1\"}', '2020-05-18 19:38:10', '2020-05-18 19:38:10');
INSERT INTO `admin_operation_log` VALUES (381, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:38:11', '2020-05-18 19:38:11');
INSERT INTO `admin_operation_log` VALUES (382, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:38:25', '2020-05-18 19:38:25');
INSERT INTO `admin_operation_log` VALUES (383, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:39:46', '2020-05-18 19:39:46');
INSERT INTO `admin_operation_log` VALUES (384, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"1\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:39:51', '2020-05-18 19:39:51');
INSERT INTO `admin_operation_log` VALUES (385, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:39:52', '2020-05-18 19:39:52');
INSERT INTO `admin_operation_log` VALUES (386, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:40:20', '2020-05-18 19:40:20');
INSERT INTO `admin_operation_log` VALUES (387, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"0ay6k5gwTnEgIHk4iedGVodm6rvEy7uYR9IDdv0k\",\"_method\":\"PUT\"}', '2020-05-18 19:40:25', '2020-05-18 19:40:25');
INSERT INTO `admin_operation_log` VALUES (388, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:40:26', '2020-05-18 19:40:26');
INSERT INTO `admin_operation_log` VALUES (389, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:40:29', '2020-05-18 19:40:29');
INSERT INTO `admin_operation_log` VALUES (390, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:40:29', '2020-05-18 19:40:29');
INSERT INTO `admin_operation_log` VALUES (391, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:42:06', '2020-05-18 19:42:06');
INSERT INTO `admin_operation_log` VALUES (392, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:42:09', '2020-05-18 19:42:09');
INSERT INTO `admin_operation_log` VALUES (393, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:42:09', '2020-05-18 19:42:09');
INSERT INTO `admin_operation_log` VALUES (394, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:42:17', '2020-05-18 19:42:17');
INSERT INTO `admin_operation_log` VALUES (395, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"2\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:42:18', '2020-05-18 19:42:18');
INSERT INTO `admin_operation_log` VALUES (396, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:42:18', '2020-05-18 19:42:18');
INSERT INTO `admin_operation_log` VALUES (397, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:44:05', '2020-05-18 19:44:05');
INSERT INTO `admin_operation_log` VALUES (398, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:44:08', '2020-05-18 19:44:08');
INSERT INTO `admin_operation_log` VALUES (399, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:44:08', '2020-05-18 19:44:08');
INSERT INTO `admin_operation_log` VALUES (400, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:44:14', '2020-05-18 19:44:14');
INSERT INTO `admin_operation_log` VALUES (401, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:44:14', '2020-05-18 19:44:14');
INSERT INTO `admin_operation_log` VALUES (402, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:45:50', '2020-05-18 19:45:50');
INSERT INTO `admin_operation_log` VALUES (403, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:45:54', '2020-05-18 19:45:54');
INSERT INTO `admin_operation_log` VALUES (404, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:45:55', '2020-05-18 19:45:55');
INSERT INTO `admin_operation_log` VALUES (405, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:45:59', '2020-05-18 19:45:59');
INSERT INTO `admin_operation_log` VALUES (406, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:46:01', '2020-05-18 19:46:01');
INSERT INTO `admin_operation_log` VALUES (407, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:46:02', '2020-05-18 19:46:02');
INSERT INTO `admin_operation_log` VALUES (408, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:46:24', '2020-05-18 19:46:24');
INSERT INTO `admin_operation_log` VALUES (409, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:46:26', '2020-05-18 19:46:26');
INSERT INTO `admin_operation_log` VALUES (410, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:46:27', '2020-05-18 19:46:27');
INSERT INTO `admin_operation_log` VALUES (411, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:46:41', '2020-05-18 19:46:41');
INSERT INTO `admin_operation_log` VALUES (412, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:46:43', '2020-05-18 19:46:43');
INSERT INTO `admin_operation_log` VALUES (413, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:46:44', '2020-05-18 19:46:44');
INSERT INTO `admin_operation_log` VALUES (414, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:47:39', '2020-05-18 19:47:39');
INSERT INTO `admin_operation_log` VALUES (415, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:47:40', '2020-05-18 19:47:40');
INSERT INTO `admin_operation_log` VALUES (416, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:47:42', '2020-05-18 19:47:42');
INSERT INTO `admin_operation_log` VALUES (417, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:47:59', '2020-05-18 19:47:59');
INSERT INTO `admin_operation_log` VALUES (418, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:48:06', '2020-05-18 19:48:06');
INSERT INTO `admin_operation_log` VALUES (419, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:48:12', '2020-05-18 19:48:12');
INSERT INTO `admin_operation_log` VALUES (420, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '[]', '2020-05-18 19:48:24', '2020-05-18 19:48:24');
INSERT INTO `admin_operation_log` VALUES (421, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '[]', '2020-05-18 19:48:52', '2020-05-18 19:48:52');
INSERT INTO `admin_operation_log` VALUES (422, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:48:54', '2020-05-18 19:48:54');
INSERT INTO `admin_operation_log` VALUES (423, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:48:56', '2020-05-18 19:48:56');
INSERT INTO `admin_operation_log` VALUES (424, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:48:57', '2020-05-18 19:48:57');
INSERT INTO `admin_operation_log` VALUES (425, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:49:00', '2020-05-18 19:49:00');
INSERT INTO `admin_operation_log` VALUES (426, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:49:20', '2020-05-18 19:49:20');
INSERT INTO `admin_operation_log` VALUES (427, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:49:32', '2020-05-18 19:49:32');
INSERT INTO `admin_operation_log` VALUES (428, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:49:36', '2020-05-18 19:49:36');
INSERT INTO `admin_operation_log` VALUES (429, 1, 'gjadmin/pages/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:49:37', '2020-05-18 19:49:37');
INSERT INTO `admin_operation_log` VALUES (430, 1, 'gjadmin/pages', 'POST', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u4fe1\\u606f\",\"_token\":\"<KEY>\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:49:51', '2020-05-18 19:49:51');
INSERT INTO `admin_operation_log` VALUES (431, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:49:51', '2020-05-18 19:49:51');
INSERT INTO `admin_operation_log` VALUES (432, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:49:55', '2020-05-18 19:49:55');
INSERT INTO `admin_operation_log` VALUES (433, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u6211\\u4eec\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:49:59', '2020-05-18 19:49:59');
INSERT INTO `admin_operation_log` VALUES (434, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:49:59', '2020-05-18 19:49:59');
INSERT INTO `admin_operation_log` VALUES (435, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:50:01', '2020-05-18 19:50:01');
INSERT INTO `admin_operation_log` VALUES (436, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:03', '2020-05-18 19:50:03');
INSERT INTO `admin_operation_log` VALUES (437, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:05', '2020-05-18 19:50:05');
INSERT INTO `admin_operation_log` VALUES (438, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:50:07', '2020-05-18 19:50:07');
INSERT INTO `admin_operation_log` VALUES (439, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u6211\\u4eec\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:50:11', '2020-05-18 19:50:11');
INSERT INTO `admin_operation_log` VALUES (440, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:11', '2020-05-18 19:50:11');
INSERT INTO `admin_operation_log` VALUES (441, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:37', '2020-05-18 19:50:37');
INSERT INTO `admin_operation_log` VALUES (442, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u4fe1\\u606f\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:50:40', '2020-05-18 19:50:40');
INSERT INTO `admin_operation_log` VALUES (443, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:40', '2020-05-18 19:50:40');
INSERT INTO `admin_operation_log` VALUES (444, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:55', '2020-05-18 19:50:55');
INSERT INTO `admin_operation_log` VALUES (445, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u4fe1\\u606f\",\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-18 19:50:57', '2020-05-18 19:50:57');
INSERT INTO `admin_operation_log` VALUES (446, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:50:57', '2020-05-18 19:50:57');
INSERT INTO `admin_operation_log` VALUES (447, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:50:59', '2020-05-18 19:50:59');
INSERT INTO `admin_operation_log` VALUES (448, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:02', '2020-05-18 19:51:02');
INSERT INTO `admin_operation_log` VALUES (449, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:51:06', '2020-05-18 19:51:06');
INSERT INTO `admin_operation_log` VALUES (450, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:06', '2020-05-18 19:51:06');
INSERT INTO `admin_operation_log` VALUES (451, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:26', '2020-05-18 19:51:26');
INSERT INTO `admin_operation_log` VALUES (452, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\\/2\\/edit\"}', '2020-05-18 19:51:29', '2020-05-18 19:51:29');
INSERT INTO `admin_operation_log` VALUES (453, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:29', '2020-05-18 19:51:29');
INSERT INTO `admin_operation_log` VALUES (454, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:33', '2020-05-18 19:51:33');
INSERT INTO `admin_operation_log` VALUES (455, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:35', '2020-05-18 19:51:35');
INSERT INTO `admin_operation_log` VALUES (456, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u6211\\u4eec\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:51:39', '2020-05-18 19:51:39');
INSERT INTO `admin_operation_log` VALUES (457, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:39', '2020-05-18 19:51:39');
INSERT INTO `admin_operation_log` VALUES (458, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:41', '2020-05-18 19:51:41');
INSERT INTO `admin_operation_log` VALUES (459, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:51', '2020-05-18 19:51:51');
INSERT INTO `admin_operation_log` VALUES (460, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:53', '2020-05-18 19:51:53');
INSERT INTO `admin_operation_log` VALUES (461, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u6211\\u4eec1\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:51:56', '2020-05-18 19:51:56');
INSERT INTO `admin_operation_log` VALUES (462, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:51:56', '2020-05-18 19:51:56');
INSERT INTO `admin_operation_log` VALUES (463, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:51:59', '2020-05-18 19:51:59');
INSERT INTO `admin_operation_log` VALUES (464, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:02', '2020-05-18 19:52:02');
INSERT INTO `admin_operation_log` VALUES (465, 1, 'gjadmin/pages/2', 'PUT', '127.0.0.1', '{\"tips\":\"\\u8054\\u7cfb\\u6211\\u4eec\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/pages\"}', '2020-05-18 19:52:05', '2020-05-18 19:52:05');
INSERT INTO `admin_operation_log` VALUES (466, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:52:05', '2020-05-18 19:52:05');
INSERT INTO `admin_operation_log` VALUES (467, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:52:43', '2020-05-18 19:52:43');
INSERT INTO `admin_operation_log` VALUES (468, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:48', '2020-05-18 19:52:48');
INSERT INTO `admin_operation_log` VALUES (469, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:51', '2020-05-18 19:52:51');
INSERT INTO `admin_operation_log` VALUES (470, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:53', '2020-05-18 19:52:53');
INSERT INTO `admin_operation_log` VALUES (471, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:53', '2020-05-18 19:52:53');
INSERT INTO `admin_operation_log` VALUES (472, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:52:57', '2020-05-18 19:52:57');
INSERT INTO `admin_operation_log` VALUES (473, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-18 19:53:12', '2020-05-18 19:53:12');
INSERT INTO `admin_operation_log` VALUES (474, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-18 19:53:58', '2020-05-18 19:53:58');
INSERT INTO `admin_operation_log` VALUES (475, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-19 09:24:11', '2020-05-19 09:24:11');
INSERT INTO `admin_operation_log` VALUES (476, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 09:24:11', '2020-05-19 09:24:11');
INSERT INTO `admin_operation_log` VALUES (477, 1, 'gjadmin/auth/setting', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:24:14', '2020-05-19 09:24:14');
INSERT INTO `admin_operation_log` VALUES (478, 1, 'gjadmin/auth/setting', 'PUT', '127.0.0.1', '{\"name\":\"\\u683c\\u52a0\\u4fe1\\u606f\",\"password\":\"<PASSWORD>\",\"password_confirmation\":\"<PASSWORD>\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\"}', '2020-05-19 09:24:25', '2020-05-19 09:24:25');
INSERT INTO `admin_operation_log` VALUES (479, 1, 'gjadmin/auth/setting', 'GET', '127.0.0.1', '[]', '2020-05-19 09:24:25', '2020-05-19 09:24:25');
INSERT INTO `admin_operation_log` VALUES (480, 1, 'gjadmin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:24:35', '2020-05-19 09:24:35');
INSERT INTO `admin_operation_log` VALUES (481, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-19 09:24:54', '2020-05-19 09:24:54');
INSERT INTO `admin_operation_log` VALUES (482, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 09:24:54', '2020-05-19 09:24:54');
INSERT INTO `admin_operation_log` VALUES (483, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:24:56', '2020-05-19 09:24:56');
INSERT INTO `admin_operation_log` VALUES (484, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:25:02', '2020-05-19 09:25:02');
INSERT INTO `admin_operation_log` VALUES (485, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:25:30', '2020-05-19 09:25:30');
INSERT INTO `admin_operation_log` VALUES (486, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:25:40', '2020-05-19 09:25:40');
INSERT INTO `admin_operation_log` VALUES (487, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:25:41', '2020-05-19 09:25:41');
INSERT INTO `admin_operation_log` VALUES (488, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:28:35', '2020-05-19 09:28:35');
INSERT INTO `admin_operation_log` VALUES (489, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:28:59', '2020-05-19 09:28:59');
INSERT INTO `admin_operation_log` VALUES (490, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:29:49', '2020-05-19 09:29:49');
INSERT INTO `admin_operation_log` VALUES (491, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:29:50', '2020-05-19 09:29:50');
INSERT INTO `admin_operation_log` VALUES (492, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:29:50', '2020-05-19 09:29:50');
INSERT INTO `admin_operation_log` VALUES (493, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:30:41', '2020-05-19 09:30:41');
INSERT INTO `admin_operation_log` VALUES (494, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:30:51', '2020-05-19 09:30:51');
INSERT INTO `admin_operation_log` VALUES (495, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:35:05', '2020-05-19 09:35:05');
INSERT INTO `admin_operation_log` VALUES (496, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:35:55', '2020-05-19 09:35:55');
INSERT INTO `admin_operation_log` VALUES (497, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:43:25', '2020-05-19 09:43:25');
INSERT INTO `admin_operation_log` VALUES (498, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:43:45', '2020-05-19 09:43:45');
INSERT INTO `admin_operation_log` VALUES (499, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 09:43:47', '2020-05-19 09:43:47');
INSERT INTO `admin_operation_log` VALUES (500, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:43:54', '2020-05-19 09:43:54');
INSERT INTO `admin_operation_log` VALUES (501, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u7f51\\u7ad9\\u57fa\\u672c\\u4fe1\\u606f\",\"icon\":\"fa-info-circle\",\"uri\":\"\\/pages\\/1\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>}', '2020-05-19 09:44:17', '2020-05-19 09:44:17');
INSERT INTO `admin_operation_log` VALUES (502, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 09:44:18', '2020-05-19 09:44:18');
INSERT INTO `admin_operation_log` VALUES (503, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"_token\":\"<KEY>\",\"_order\":\"[{\\\"id\\\":1},{\\\"id\\\":2,\\\"children\\\":[{\\\"id\\\":3},{\\\"id\\\":4},{\\\"id\\\":5},{\\\"id\\\":6}]},{\\\"id\\\":9},{\\\"id\\\":8}]\"}', '2020-05-19 09:44:22', '2020-05-19 09:44:22');
INSERT INTO `admin_operation_log` VALUES (504, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:44:22', '2020-05-19 09:44:22');
INSERT INTO `admin_operation_log` VALUES (505, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 09:44:24', '2020-05-19 09:44:24');
INSERT INTO `admin_operation_log` VALUES (506, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:44:26', '2020-05-19 09:44:26');
INSERT INTO `admin_operation_log` VALUES (507, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 09:58:31', '2020-05-19 09:58:31');
INSERT INTO `admin_operation_log` VALUES (508, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-19 10:00:44', '2020-05-19 10:00:44');
INSERT INTO `admin_operation_log` VALUES (509, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 10:00:52', '2020-05-19 10:00:52');
INSERT INTO `admin_operation_log` VALUES (510, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 10:00:55', '2020-05-19 10:00:55');
INSERT INTO `admin_operation_log` VALUES (511, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 10:01:00', '2020-05-19 10:01:00');
INSERT INTO `admin_operation_log` VALUES (512, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u8054\\u7cfb\\u65b9\\u5f0f\",\"icon\":\"fa-volume-control-phone\",\"uri\":\"\\/pages\\/2\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\"}', '2020-05-19 10:01:18', '2020-05-19 10:01:18');
INSERT INTO `admin_operation_log` VALUES (513, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 10:01:18', '2020-05-19 10:01:18');
INSERT INTO `admin_operation_log` VALUES (514, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"_token\":\"<KEY>\",\"_order\":\"[{\\\"id\\\":1},{\\\"id\\\":2,\\\"children\\\":[{\\\"id\\\":3},{\\\"id\\\":4},{\\\"id\\\":5},{\\\"id\\\":6}]},{\\\"id\\\":9},{\\\"id\\\":8},{\\\"id\\\":10}]\"}', '2020-05-19 10:01:24', '2020-05-19 10:01:24');
INSERT INTO `admin_operation_log` VALUES (515, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 10:01:24', '2020-05-19 10:01:24');
INSERT INTO `admin_operation_log` VALUES (516, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 10:01:48', '2020-05-19 10:01:48');
INSERT INTO `admin_operation_log` VALUES (517, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 10:01:52', '2020-05-19 10:01:52');
INSERT INTO `admin_operation_log` VALUES (518, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 10:01:54', '2020-05-19 10:01:54');
INSERT INTO `admin_operation_log` VALUES (519, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 10:02:08', '2020-05-19 10:02:08');
INSERT INTO `admin_operation_log` VALUES (520, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 10:10:21', '2020-05-19 10:10:21');
INSERT INTO `admin_operation_log` VALUES (521, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 10:10:32', '2020-05-19 10:10:32');
INSERT INTO `admin_operation_log` VALUES (522, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:11:21', '2020-05-19 11:11:21');
INSERT INTO `admin_operation_log` VALUES (523, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:11:23', '2020-05-19 11:11:23');
INSERT INTO `admin_operation_log` VALUES (524, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:11:24', '2020-05-19 11:11:24');
INSERT INTO `admin_operation_log` VALUES (525, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:11:44', '2020-05-19 11:11:44');
INSERT INTO `admin_operation_log` VALUES (526, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:14:55', '2020-05-19 11:14:55');
INSERT INTO `admin_operation_log` VALUES (527, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:19:37', '2020-05-19 11:19:37');
INSERT INTO `admin_operation_log` VALUES (528, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:19:46', '2020-05-19 11:19:46');
INSERT INTO `admin_operation_log` VALUES (529, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:19:49', '2020-05-19 11:19:49');
INSERT INTO `admin_operation_log` VALUES (530, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:20:18', '2020-05-19 11:20:18');
INSERT INTO `admin_operation_log` VALUES (531, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:20:20', '2020-05-19 11:20:20');
INSERT INTO `admin_operation_log` VALUES (532, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:20:22', '2020-05-19 11:20:22');
INSERT INTO `admin_operation_log` VALUES (533, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:25:24', '2020-05-19 11:25:24');
INSERT INTO `admin_operation_log` VALUES (534, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:27:54', '2020-05-19 11:27:54');
INSERT INTO `admin_operation_log` VALUES (535, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:28:00', '2020-05-19 11:28:00');
INSERT INTO `admin_operation_log` VALUES (536, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:28:01', '2020-05-19 11:28:01');
INSERT INTO `admin_operation_log` VALUES (537, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-19 11:28:25', '2020-05-19 11:28:25');
INSERT INTO `admin_operation_log` VALUES (538, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 11:28:25', '2020-05-19 11:28:25');
INSERT INTO `admin_operation_log` VALUES (539, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 11:28:28', '2020-05-19 11:28:28');
INSERT INTO `admin_operation_log` VALUES (540, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 11:28:29', '2020-05-19 11:28:29');
INSERT INTO `admin_operation_log` VALUES (541, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 11:29:29', '2020-05-19 11:29:29');
INSERT INTO `admin_operation_log` VALUES (542, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:30:22', '2020-05-19 11:30:22');
INSERT INTO `admin_operation_log` VALUES (543, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:31:17', '2020-05-19 11:31:17');
INSERT INTO `admin_operation_log` VALUES (544, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:31:29', '2020-05-19 11:31:29');
INSERT INTO `admin_operation_log` VALUES (545, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:43:21', '2020-05-19 11:43:21');
INSERT INTO `admin_operation_log` VALUES (546, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:43:35', '2020-05-19 11:43:35');
INSERT INTO `admin_operation_log` VALUES (547, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:43:43', '2020-05-19 11:43:43');
INSERT INTO `admin_operation_log` VALUES (548, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:44:42', '2020-05-19 11:44:42');
INSERT INTO `admin_operation_log` VALUES (549, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:44:59', '2020-05-19 11:44:59');
INSERT INTO `admin_operation_log` VALUES (550, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:47:16', '2020-05-19 11:47:16');
INSERT INTO `admin_operation_log` VALUES (551, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:47:25', '2020-05-19 11:47:25');
INSERT INTO `admin_operation_log` VALUES (552, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:47:49', '2020-05-19 11:47:49');
INSERT INTO `admin_operation_log` VALUES (553, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:48:47', '2020-05-19 11:48:47');
INSERT INTO `admin_operation_log` VALUES (554, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:48:49', '2020-05-19 11:48:49');
INSERT INTO `admin_operation_log` VALUES (555, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:11', '2020-05-19 11:49:11');
INSERT INTO `admin_operation_log` VALUES (556, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:14', '2020-05-19 11:49:14');
INSERT INTO `admin_operation_log` VALUES (557, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:25', '2020-05-19 11:49:25');
INSERT INTO `admin_operation_log` VALUES (558, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:29', '2020-05-19 11:49:29');
INSERT INTO `admin_operation_log` VALUES (559, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:43', '2020-05-19 11:49:43');
INSERT INTO `admin_operation_log` VALUES (560, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:49:46', '2020-05-19 11:49:46');
INSERT INTO `admin_operation_log` VALUES (561, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:50:12', '2020-05-19 11:50:12');
INSERT INTO `admin_operation_log` VALUES (562, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:50:13', '2020-05-19 11:50:13');
INSERT INTO `admin_operation_log` VALUES (563, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:50:19', '2020-05-19 11:50:19');
INSERT INTO `admin_operation_log` VALUES (564, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:50:36', '2020-05-19 11:50:36');
INSERT INTO `admin_operation_log` VALUES (565, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:51:03', '2020-05-19 11:51:03');
INSERT INTO `admin_operation_log` VALUES (566, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:51:22', '2020-05-19 11:51:22');
INSERT INTO `admin_operation_log` VALUES (567, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 11:51:33', '2020-05-19 11:51:33');
INSERT INTO `admin_operation_log` VALUES (568, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:01:09', '2020-05-19 12:01:09');
INSERT INTO `admin_operation_log` VALUES (569, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:19:49', '2020-05-19 12:19:49');
INSERT INTO `admin_operation_log` VALUES (570, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:19:57', '2020-05-19 12:19:57');
INSERT INTO `admin_operation_log` VALUES (571, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:20:07', '2020-05-19 12:20:07');
INSERT INTO `admin_operation_log` VALUES (572, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:22:00', '2020-05-19 12:22:00');
INSERT INTO `admin_operation_log` VALUES (573, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:22:55', '2020-05-19 12:22:55');
INSERT INTO `admin_operation_log` VALUES (574, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:23:48', '2020-05-19 12:23:48');
INSERT INTO `admin_operation_log` VALUES (575, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:23:56', '2020-05-19 12:23:56');
INSERT INTO `admin_operation_log` VALUES (576, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:24:21', '2020-05-19 12:24:21');
INSERT INTO `admin_operation_log` VALUES (577, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:24:38', '2020-05-19 12:24:38');
INSERT INTO `admin_operation_log` VALUES (578, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:24:46', '2020-05-19 12:24:46');
INSERT INTO `admin_operation_log` VALUES (579, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:25:21', '2020-05-19 12:25:21');
INSERT INTO `admin_operation_log` VALUES (580, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:25:36', '2020-05-19 12:25:36');
INSERT INTO `admin_operation_log` VALUES (581, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:25:59', '2020-05-19 12:25:59');
INSERT INTO `admin_operation_log` VALUES (582, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 12:26:11', '2020-05-19 12:26:11');
INSERT INTO `admin_operation_log` VALUES (583, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:33:43', '2020-05-19 13:33:43');
INSERT INTO `admin_operation_log` VALUES (584, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:18', '2020-05-19 13:35:18');
INSERT INTO `admin_operation_log` VALUES (585, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:20', '2020-05-19 13:35:20');
INSERT INTO `admin_operation_log` VALUES (586, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:22', '2020-05-19 13:35:22');
INSERT INTO `admin_operation_log` VALUES (587, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:30', '2020-05-19 13:35:30');
INSERT INTO `admin_operation_log` VALUES (588, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:32', '2020-05-19 13:35:32');
INSERT INTO `admin_operation_log` VALUES (589, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:33', '2020-05-19 13:35:33');
INSERT INTO `admin_operation_log` VALUES (590, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:35', '2020-05-19 13:35:35');
INSERT INTO `admin_operation_log` VALUES (591, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:54', '2020-05-19 13:35:54');
INSERT INTO `admin_operation_log` VALUES (592, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 13:35:54', '2020-05-19 13:35:54');
INSERT INTO `admin_operation_log` VALUES (593, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 13:35:56', '2020-05-19 13:35:56');
INSERT INTO `admin_operation_log` VALUES (594, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:36:15', '2020-05-19 13:36:15');
INSERT INTO `admin_operation_log` VALUES (595, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:36:21', '2020-05-19 13:36:21');
INSERT INTO `admin_operation_log` VALUES (596, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:36:39', '2020-05-19 13:36:39');
INSERT INTO `admin_operation_log` VALUES (597, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:36:47', '2020-05-19 13:36:47');
INSERT INTO `admin_operation_log` VALUES (598, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:36:57', '2020-05-19 13:36:57');
INSERT INTO `admin_operation_log` VALUES (599, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:37:14', '2020-05-19 13:37:14');
INSERT INTO `admin_operation_log` VALUES (600, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:37:19', '2020-05-19 13:37:19');
INSERT INTO `admin_operation_log` VALUES (601, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:37:28', '2020-05-19 13:37:28');
INSERT INTO `admin_operation_log` VALUES (602, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:37:42', '2020-05-19 13:37:42');
INSERT INTO `admin_operation_log` VALUES (603, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:37:54', '2020-05-19 13:37:54');
INSERT INTO `admin_operation_log` VALUES (604, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:03', '2020-05-19 13:38:03');
INSERT INTO `admin_operation_log` VALUES (605, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:14', '2020-05-19 13:38:14');
INSERT INTO `admin_operation_log` VALUES (606, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:24', '2020-05-19 13:38:24');
INSERT INTO `admin_operation_log` VALUES (607, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:31', '2020-05-19 13:38:31');
INSERT INTO `admin_operation_log` VALUES (608, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:42', '2020-05-19 13:38:42');
INSERT INTO `admin_operation_log` VALUES (609, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:45', '2020-05-19 13:38:45');
INSERT INTO `admin_operation_log` VALUES (610, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:51', '2020-05-19 13:38:51');
INSERT INTO `admin_operation_log` VALUES (611, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:38:59', '2020-05-19 13:38:59');
INSERT INTO `admin_operation_log` VALUES (612, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:39:11', '2020-05-19 13:39:11');
INSERT INTO `admin_operation_log` VALUES (613, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:39:24', '2020-05-19 13:39:24');
INSERT INTO `admin_operation_log` VALUES (614, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:39:35', '2020-05-19 13:39:35');
INSERT INTO `admin_operation_log` VALUES (615, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:39:39', '2020-05-19 13:39:39');
INSERT INTO `admin_operation_log` VALUES (616, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:40:44', '2020-05-19 13:40:44');
INSERT INTO `admin_operation_log` VALUES (617, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:41:45', '2020-05-19 13:41:45');
INSERT INTO `admin_operation_log` VALUES (618, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:43:58', '2020-05-19 13:43:58');
INSERT INTO `admin_operation_log` VALUES (619, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:44:08', '2020-05-19 13:44:08');
INSERT INTO `admin_operation_log` VALUES (620, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:45:48', '2020-05-19 13:45:48');
INSERT INTO `admin_operation_log` VALUES (621, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:46:48', '2020-05-19 13:46:48');
INSERT INTO `admin_operation_log` VALUES (622, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:47:41', '2020-05-19 13:47:41');
INSERT INTO `admin_operation_log` VALUES (623, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 13:49:02', '2020-05-19 13:49:02');
INSERT INTO `admin_operation_log` VALUES (624, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:02:22', '2020-05-19 14:02:22');
INSERT INTO `admin_operation_log` VALUES (625, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 14:03:45', '2020-05-19 14:03:45');
INSERT INTO `admin_operation_log` VALUES (626, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:03:45', '2020-05-19 14:03:45');
INSERT INTO `admin_operation_log` VALUES (627, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:03:59', '2020-05-19 14:03:59');
INSERT INTO `admin_operation_log` VALUES (628, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":\"<figure class=\\\"easyimage easyimage-full\\\"><img alt=\\\"\\\" src=\\\"blob:http:\\/\\/mingdu.test\\/e73a3cf9-a3f2-4921-b0b3-9f0bc4e26f37\\\" width=\\\"300\\\" \\/>\\r\\n<figcaption><\\/figcaption>\\r\\n<\\/figure>\\r\\n\\r\\n<p> <\\/p>\",\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 14:06:56', '2020-05-19 14:06:56');
INSERT INTO `admin_operation_log` VALUES (629, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:06:56', '2020-05-19 14:06:56');
INSERT INTO `admin_operation_log` VALUES (630, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:06:59', '2020-05-19 14:06:59');
INSERT INTO `admin_operation_log` VALUES (631, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:07:11', '2020-05-19 14:07:11');
INSERT INTO `admin_operation_log` VALUES (632, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:07:13', '2020-05-19 14:07:13');
INSERT INTO `admin_operation_log` VALUES (633, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:07:17', '2020-05-19 14:07:17');
INSERT INTO `admin_operation_log` VALUES (634, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:13:21', '2020-05-19 14:13:21');
INSERT INTO `admin_operation_log` VALUES (635, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:13:25', '2020-05-19 14:13:25');
INSERT INTO `admin_operation_log` VALUES (636, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:14:21', '2020-05-19 14:14:21');
INSERT INTO `admin_operation_log` VALUES (637, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:14:31', '2020-05-19 14:14:31');
INSERT INTO `admin_operation_log` VALUES (638, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:14:41', '2020-05-19 14:14:41');
INSERT INTO `admin_operation_log` VALUES (639, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:15:00', '2020-05-19 14:15:00');
INSERT INTO `admin_operation_log` VALUES (640, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:15:16', '2020-05-19 14:15:16');
INSERT INTO `admin_operation_log` VALUES (641, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:15:50', '2020-05-19 14:15:50');
INSERT INTO `admin_operation_log` VALUES (642, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:16:08', '2020-05-19 14:16:08');
INSERT INTO `admin_operation_log` VALUES (643, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:16:29', '2020-05-19 14:16:29');
INSERT INTO `admin_operation_log` VALUES (644, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:16:44', '2020-05-19 14:16:44');
INSERT INTO `admin_operation_log` VALUES (645, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:17:13', '2020-05-19 14:17:13');
INSERT INTO `admin_operation_log` VALUES (646, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:17:29', '2020-05-19 14:17:29');
INSERT INTO `admin_operation_log` VALUES (647, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:17:53', '2020-05-19 14:17:53');
INSERT INTO `admin_operation_log` VALUES (648, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 14:18:31', '2020-05-19 14:18:31');
INSERT INTO `admin_operation_log` VALUES (649, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:18:31', '2020-05-19 14:18:31');
INSERT INTO `admin_operation_log` VALUES (650, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:18:33', '2020-05-19 14:18:33');
INSERT INTO `admin_operation_log` VALUES (651, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:24:49', '2020-05-19 14:24:49');
INSERT INTO `admin_operation_log` VALUES (652, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:24:59', '2020-05-19 14:24:59');
INSERT INTO `admin_operation_log` VALUES (653, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:25:15', '2020-05-19 14:25:15');
INSERT INTO `admin_operation_log` VALUES (654, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:25:29', '2020-05-19 14:25:29');
INSERT INTO `admin_operation_log` VALUES (655, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:25:44', '2020-05-19 14:25:44');
INSERT INTO `admin_operation_log` VALUES (656, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:34:48', '2020-05-19 14:34:48');
INSERT INTO `admin_operation_log` VALUES (657, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:36:48', '2020-05-19 14:36:48');
INSERT INTO `admin_operation_log` VALUES (658, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:38:30', '2020-05-19 14:38:30');
INSERT INTO `admin_operation_log` VALUES (659, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:39:08', '2020-05-19 14:39:08');
INSERT INTO `admin_operation_log` VALUES (660, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:39:10', '2020-05-19 14:39:10');
INSERT INTO `admin_operation_log` VALUES (661, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:39:22', '2020-05-19 14:39:22');
INSERT INTO `admin_operation_log` VALUES (662, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:39:41', '2020-05-19 14:39:41');
INSERT INTO `admin_operation_log` VALUES (663, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:39:42', '2020-05-19 14:39:42');
INSERT INTO `admin_operation_log` VALUES (664, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:40:21', '2020-05-19 14:40:21');
INSERT INTO `admin_operation_log` VALUES (665, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:45:18', '2020-05-19 14:45:18');
INSERT INTO `admin_operation_log` VALUES (666, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:46:00', '2020-05-19 14:46:00');
INSERT INTO `admin_operation_log` VALUES (667, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:46:40', '2020-05-19 14:46:40');
INSERT INTO `admin_operation_log` VALUES (668, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:49:56', '2020-05-19 14:49:56');
INSERT INTO `admin_operation_log` VALUES (669, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"3\",\"cover\":null,\"content\":null,\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 14:49:59', '2020-05-19 14:49:59');
INSERT INTO `admin_operation_log` VALUES (670, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:50:00', '2020-05-19 14:50:00');
INSERT INTO `admin_operation_log` VALUES (671, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:50:28', '2020-05-19 14:50:28');
INSERT INTO `admin_operation_log` VALUES (672, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 14:54:40', '2020-05-19 14:54:40');
INSERT INTO `admin_operation_log` VALUES (673, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:12:34', '2020-05-19 15:12:34');
INSERT INTO `admin_operation_log` VALUES (674, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:17:27', '2020-05-19 15:17:27');
INSERT INTO `admin_operation_log` VALUES (675, 1, 'gjadmin/ckeditor/upload/image', 'POST', '127.0.0.1', '{\"ckCsrfToken\":\"<KEY>\",\"_token\":\"<KEY>}', '2020-05-19 15:17:35', '2020-05-19 15:17:35');
INSERT INTO `admin_operation_log` VALUES (676, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:18:01', '2020-05-19 15:18:01');
INSERT INTO `admin_operation_log` VALUES (677, 1, 'gjadmin/auth/logout', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:18:03', '2020-05-19 15:18:03');
INSERT INTO `admin_operation_log` VALUES (678, 1, 'gjadmin/auth/login', 'GET', '127.0.0.1', '[]', '2020-05-19 15:19:01', '2020-05-19 15:19:01');
INSERT INTO `admin_operation_log` VALUES (679, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 15:19:01', '2020-05-19 15:19:01');
INSERT INTO `admin_operation_log` VALUES (680, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 15:19:13', '2020-05-19 15:19:13');
INSERT INTO `admin_operation_log` VALUES (681, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:19:14', '2020-05-19 15:19:14');
INSERT INTO `admin_operation_log` VALUES (682, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:23:28', '2020-05-19 15:23:28');
INSERT INTO `admin_operation_log` VALUES (683, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:24:21', '2020-05-19 15:24:21');
INSERT INTO `admin_operation_log` VALUES (684, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:24:40', '2020-05-19 15:24:40');
INSERT INTO `admin_operation_log` VALUES (685, 1, 'gjadmin/ckeditor/upload/image', 'POST', '127.0.0.1', '{\"ckCsrfToken\":\"<PASSWORD>HmZb5BZQN8TGG2zzAM0q\",\"_token\":\"<KEY>}', '2020-05-19 15:24:48', '2020-05-19 15:24:48');
INSERT INTO `admin_operation_log` VALUES (686, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:25:15', '2020-05-19 15:25:15');
INSERT INTO `admin_operation_log` VALUES (687, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:25:43', '2020-05-19 15:25:43');
INSERT INTO `admin_operation_log` VALUES (688, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:25:55', '2020-05-19 15:25:55');
INSERT INTO `admin_operation_log` VALUES (689, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 15:52:38', '2020-05-19 15:52:38');
INSERT INTO `admin_operation_log` VALUES (690, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:52:40', '2020-05-19 15:52:40');
INSERT INTO `admin_operation_log` VALUES (691, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:52:44', '2020-05-19 15:52:44');
INSERT INTO `admin_operation_log` VALUES (692, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '[]', '2020-05-19 15:52:55', '2020-05-19 15:52:55');
INSERT INTO `admin_operation_log` VALUES (693, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:53:05', '2020-05-19 15:53:05');
INSERT INTO `admin_operation_log` VALUES (694, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:53:08', '2020-05-19 15:53:08');
INSERT INTO `admin_operation_log` VALUES (695, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 15:53:10', '2020-05-19 15:53:10');
INSERT INTO `admin_operation_log` VALUES (696, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 15:53:39', '2020-05-19 15:53:39');
INSERT INTO `admin_operation_log` VALUES (697, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:53:46', '2020-05-19 15:53:46');
INSERT INTO `admin_operation_log` VALUES (698, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:55:32', '2020-05-19 15:55:32');
INSERT INTO `admin_operation_log` VALUES (699, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:55:48', '2020-05-19 15:55:48');
INSERT INTO `admin_operation_log` VALUES (700, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:55:58', '2020-05-19 15:55:58');
INSERT INTO `admin_operation_log` VALUES (701, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:56:16', '2020-05-19 15:56:16');
INSERT INTO `admin_operation_log` VALUES (702, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:56:17', '2020-05-19 15:56:17');
INSERT INTO `admin_operation_log` VALUES (703, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:56:29', '2020-05-19 15:56:29');
INSERT INTO `admin_operation_log` VALUES (704, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:56:34', '2020-05-19 15:56:34');
INSERT INTO `admin_operation_log` VALUES (705, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 15:58:20', '2020-05-19 15:58:20');
INSERT INTO `admin_operation_log` VALUES (706, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:49', '2020-05-19 16:00:49');
INSERT INTO `admin_operation_log` VALUES (707, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:50', '2020-05-19 16:00:50');
INSERT INTO `admin_operation_log` VALUES (708, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:50', '2020-05-19 16:00:50');
INSERT INTO `admin_operation_log` VALUES (709, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:50', '2020-05-19 16:00:50');
INSERT INTO `admin_operation_log` VALUES (710, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:51', '2020-05-19 16:00:51');
INSERT INTO `admin_operation_log` VALUES (711, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:51', '2020-05-19 16:00:51');
INSERT INTO `admin_operation_log` VALUES (712, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:00:57', '2020-05-19 16:00:57');
INSERT INTO `admin_operation_log` VALUES (713, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:01:44', '2020-05-19 16:01:44');
INSERT INTO `admin_operation_log` VALUES (714, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:02:01', '2020-05-19 16:02:01');
INSERT INTO `admin_operation_log` VALUES (715, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:02:32', '2020-05-19 16:02:32');
INSERT INTO `admin_operation_log` VALUES (716, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:02:46', '2020-05-19 16:02:46');
INSERT INTO `admin_operation_log` VALUES (717, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:02:47', '2020-05-19 16:02:47');
INSERT INTO `admin_operation_log` VALUES (718, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:02:51', '2020-05-19 16:02:51');
INSERT INTO `admin_operation_log` VALUES (719, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:02:53', '2020-05-19 16:02:53');
INSERT INTO `admin_operation_log` VALUES (720, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '[]', '2020-05-19 16:03:14', '2020-05-19 16:03:14');
INSERT INTO `admin_operation_log` VALUES (721, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '[]', '2020-05-19 16:05:02', '2020-05-19 16:05:02');
INSERT INTO `admin_operation_log` VALUES (722, 1, 'gjadmin/articles/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:05:04', '2020-05-19 16:05:04');
INSERT INTO `admin_operation_log` VALUES (723, 1, 'gjadmin/articles/create', 'GET', '127.0.0.1', '[]', '2020-05-19 16:06:30', '2020-05-19 16:06:30');
INSERT INTO `admin_operation_log` VALUES (724, 1, 'gjadmin/articles', 'POST', '127.0.0.1', '{\"tips\":\"\\u9996\\u9875Banner\",\"_token\":\"<KEY>\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/articles\"}', '2020-05-19 16:06:38', '2020-05-19 16:06:38');
INSERT INTO `admin_operation_log` VALUES (725, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '[]', '2020-05-19 16:06:38', '2020-05-19 16:06:38');
INSERT INTO `admin_operation_log` VALUES (726, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:06:42', '2020-05-19 16:06:42');
INSERT INTO `admin_operation_log` VALUES (727, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:07:04', '2020-05-19 16:07:04');
INSERT INTO `admin_operation_log` VALUES (728, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:07:17', '2020-05-19 16:07:17');
INSERT INTO `admin_operation_log` VALUES (729, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:07:57', '2020-05-19 16:07:57');
INSERT INTO `admin_operation_log` VALUES (730, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:08:21', '2020-05-19 16:08:21');
INSERT INTO `admin_operation_log` VALUES (731, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:08:29', '2020-05-19 16:08:29');
INSERT INTO `admin_operation_log` VALUES (732, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:08:54', '2020-05-19 16:08:54');
INSERT INTO `admin_operation_log` VALUES (733, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:13:40', '2020-05-19 16:13:40');
INSERT INTO `admin_operation_log` VALUES (734, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:14:00', '2020-05-19 16:14:00');
INSERT INTO `admin_operation_log` VALUES (735, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"new_1\":{\"order\":\"0\",\"id\":null,\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:14:16', '2020-05-19 16:14:16');
INSERT INTO `admin_operation_log` VALUES (736, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:14:17', '2020-05-19 16:14:17');
INSERT INTO `admin_operation_log` VALUES (737, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:15:14', '2020-05-19 16:15:14');
INSERT INTO `admin_operation_log` VALUES (738, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:16:45', '2020-05-19 16:16:45');
INSERT INTO `admin_operation_log` VALUES (739, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"new_1\":{\"order\":\"0\",\"id\":null,\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:16:56', '2020-05-19 16:16:56');
INSERT INTO `admin_operation_log` VALUES (740, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:16:56', '2020-05-19 16:16:56');
INSERT INTO `admin_operation_log` VALUES (741, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:17:10', '2020-05-19 16:17:10');
INSERT INTO `admin_operation_log` VALUES (742, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:17:59', '2020-05-19 16:17:59');
INSERT INTO `admin_operation_log` VALUES (743, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:18:45', '2020-05-19 16:18:45');
INSERT INTO `admin_operation_log` VALUES (744, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:18:54', '2020-05-19 16:18:54');
INSERT INTO `admin_operation_log` VALUES (745, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:18:57', '2020-05-19 16:18:57');
INSERT INTO `admin_operation_log` VALUES (746, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:20:57', '2020-05-19 16:20:57');
INSERT INTO `admin_operation_log` VALUES (747, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:21:35', '2020-05-19 16:21:35');
INSERT INTO `admin_operation_log` VALUES (748, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:21:53', '2020-05-19 16:21:53');
INSERT INTO `admin_operation_log` VALUES (749, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:22:20', '2020-05-19 16:22:20');
INSERT INTO `admin_operation_log` VALUES (750, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:23:09', '2020-05-19 16:23:09');
INSERT INTO `admin_operation_log` VALUES (751, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"1\":{\"order\":\"0\",\"title\":\"2151561\",\"id\":\"1\",\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:23:14', '2020-05-19 16:23:14');
INSERT INTO `admin_operation_log` VALUES (752, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:23:14', '2020-05-19 16:23:14');
INSERT INTO `admin_operation_log` VALUES (753, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"1\":{\"order\":\"0\",\"title\":null,\"id\":\"1\",\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:23:17', '2020-05-19 16:23:17');
INSERT INTO `admin_operation_log` VALUES (754, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:23:18', '2020-05-19 16:23:18');
INSERT INTO `admin_operation_log` VALUES (755, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"1\":{\"order\":\"0\",\"title\":null,\"id\":\"1\",\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:23:21', '2020-05-19 16:23:21');
INSERT INTO `admin_operation_log` VALUES (756, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:23:22', '2020-05-19 16:23:22');
INSERT INTO `admin_operation_log` VALUES (757, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:33:02', '2020-05-19 16:33:02');
INSERT INTO `admin_operation_log` VALUES (758, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:33:04', '2020-05-19 16:33:04');
INSERT INTO `admin_operation_log` VALUES (759, 1, 'gjadmin/articles/1', 'PUT', '127.0.0.1', '{\"sections\":{\"1\":{\"order\":\"0\",\"title\":null,\"id\":\"1\",\"_remove_\":\"0\"}},\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 16:33:07', '2020-05-19 16:33:07');
INSERT INTO `admin_operation_log` VALUES (760, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:33:07', '2020-05-19 16:33:07');
INSERT INTO `admin_operation_log` VALUES (761, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:33:39', '2020-05-19 16:33:39');
INSERT INTO `admin_operation_log` VALUES (762, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:34:39', '2020-05-19 16:34:39');
INSERT INTO `admin_operation_log` VALUES (763, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:34:45', '2020-05-19 16:34:45');
INSERT INTO `admin_operation_log` VALUES (764, 1, 'gjadmin/articles/1', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:23', '2020-05-19 16:35:23');
INSERT INTO `admin_operation_log` VALUES (765, 1, 'gjadmin/articles/1', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:32', '2020-05-19 16:35:32');
INSERT INTO `admin_operation_log` VALUES (766, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:35:33', '2020-05-19 16:35:33');
INSERT INTO `admin_operation_log` VALUES (767, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u9996\\u9875\\u7ba1\\u7406\",\"icon\":\"fa-home\",\"uri\":\"\\/articles\\/1\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\"}', '2020-05-19 16:35:38', '2020-05-19 16:35:38');
INSERT INTO `admin_operation_log` VALUES (768, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:38', '2020-05-19 16:35:38');
INSERT INTO `admin_operation_log` VALUES (769, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:40', '2020-05-19 16:35:40');
INSERT INTO `admin_operation_log` VALUES (770, 1, 'gjadmin/auth/menu/11/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:35:44', '2020-05-19 16:35:44');
INSERT INTO `admin_operation_log` VALUES (771, 1, 'gjadmin/auth/menu/11', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u9996\\u9875\\u7ba1\\u7406\",\"icon\":\"fa-home\",\"uri\":null,\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/auth\\/menu\"}', '2020-05-19 16:35:46', '2020-05-19 16:35:46');
INSERT INTO `admin_operation_log` VALUES (772, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:46', '2020-05-19 16:35:46');
INSERT INTO `admin_operation_log` VALUES (773, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"11\",\"title\":\"Banner\",\"icon\":\"fa-bars\",\"uri\":\"\\/articles\\/1\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\"}', '2020-05-19 16:35:53', '2020-05-19 16:35:53');
INSERT INTO `admin_operation_log` VALUES (774, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:53', '2020-05-19 16:35:53');
INSERT INTO `admin_operation_log` VALUES (775, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:35:55', '2020-05-19 16:35:55');
INSERT INTO `admin_operation_log` VALUES (776, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"_token\":\"i589tZQKtRUhl5MOu8eYEyRFZPNWYLT01hyplrZH\",\"_order\":\"[{\\\"id\\\":1},{\\\"id\\\":2,\\\"children\\\":[{\\\"id\\\":3},{\\\"id\\\":4},{\\\"id\\\":5},{\\\"id\\\":6}]},{\\\"id\\\":9},{\\\"id\\\":8},{\\\"id\\\":11,\\\"children\\\":[{\\\"id\\\":12}]},{\\\"id\\\":10}]\"}', '2020-05-19 16:36:02', '2020-05-19 16:36:02');
INSERT INTO `admin_operation_log` VALUES (777, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:02', '2020-05-19 16:36:02');
INSERT INTO `admin_operation_log` VALUES (778, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:36:03', '2020-05-19 16:36:03');
INSERT INTO `admin_operation_log` VALUES (779, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:36:05', '2020-05-19 16:36:05');
INSERT INTO `admin_operation_log` VALUES (780, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:09', '2020-05-19 16:36:09');
INSERT INTO `admin_operation_log` VALUES (781, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:15', '2020-05-19 16:36:15');
INSERT INTO `admin_operation_log` VALUES (782, 1, 'gjadmin/pages/2/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:16', '2020-05-19 16:36:16');
INSERT INTO `admin_operation_log` VALUES (783, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:21', '2020-05-19 16:36:21');
INSERT INTO `admin_operation_log` VALUES (784, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:26', '2020-05-19 16:36:26');
INSERT INTO `admin_operation_log` VALUES (785, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:28', '2020-05-19 16:36:28');
INSERT INTO `admin_operation_log` VALUES (786, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:30', '2020-05-19 16:36:30');
INSERT INTO `admin_operation_log` VALUES (787, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '[]', '2020-05-19 16:36:34', '2020-05-19 16:36:34');
INSERT INTO `admin_operation_log` VALUES (788, 1, 'gjadmin/articles/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:36', '2020-05-19 16:36:36');
INSERT INTO `admin_operation_log` VALUES (789, 1, 'gjadmin/articles', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:41', '2020-05-19 16:36:41');
INSERT INTO `admin_operation_log` VALUES (790, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:43', '2020-05-19 16:36:43');
INSERT INTO `admin_operation_log` VALUES (791, 1, 'gjadmin/articles/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 16:36:46', '2020-05-19 16:36:46');
INSERT INTO `admin_operation_log` VALUES (792, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:53', '2020-05-19 16:36:53');
INSERT INTO `admin_operation_log` VALUES (793, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:36:56', '2020-05-19 16:36:56');
INSERT INTO `admin_operation_log` VALUES (794, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:36:59', '2020-05-19 16:36:59');
INSERT INTO `admin_operation_log` VALUES (795, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:37:12', '2020-05-19 16:37:12');
INSERT INTO `admin_operation_log` VALUES (796, 1, 'gjadmin/pages', 'GET', '127.0.0.1', '[]', '2020-05-19 16:37:35', '2020-05-19 16:37:35');
INSERT INTO `admin_operation_log` VALUES (797, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:37:41', '2020-05-19 16:37:41');
INSERT INTO `admin_operation_log` VALUES (798, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:37:43', '2020-05-19 16:37:43');
INSERT INTO `admin_operation_log` VALUES (799, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 16:38:27', '2020-05-19 16:38:27');
INSERT INTO `admin_operation_log` VALUES (800, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:44:29', '2020-05-19 16:44:29');
INSERT INTO `admin_operation_log` VALUES (801, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"SEO\\u7ba1\\u7406\",\"icon\":\"fa-internet-explorer\",\"uri\":\"\\/seos\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\"}', '2020-05-19 16:44:59', '2020-05-19 16:44:59');
INSERT INTO `admin_operation_log` VALUES (802, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:44:59', '2020-05-19 16:44:59');
INSERT INTO `admin_operation_log` VALUES (803, 1, 'gjadmin/auth/menu', 'POST', '127.0.0.1', '{\"_token\":\"<KEY>\",\"_order\":\"[{\\\"id\\\":1},{\\\"id\\\":2,\\\"children\\\":[{\\\"id\\\":3},{\\\"id\\\":4},{\\\"id\\\":5},{\\\"id\\\":6}]},{\\\"id\\\":9},{\\\"id\\\":8},{\\\"id\\\":13},{\\\"id\\\":11,\\\"children\\\":[{\\\"id\\\":12}]},{\\\"id\\\":10}]\"}', '2020-05-19 16:45:21', '2020-05-19 16:45:21');
INSERT INTO `admin_operation_log` VALUES (804, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:45:22', '2020-05-19 16:45:22');
INSERT INTO `admin_operation_log` VALUES (805, 1, 'gjadmin/auth/menu', 'GET', '127.0.0.1', '[]', '2020-05-19 16:45:22', '2020-05-19 16:45:22');
INSERT INTO `admin_operation_log` VALUES (806, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:45:24', '2020-05-19 16:45:24');
INSERT INTO `admin_operation_log` VALUES (807, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 16:46:04', '2020-05-19 16:46:04');
INSERT INTO `admin_operation_log` VALUES (808, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 16:46:12', '2020-05-19 16:46:12');
INSERT INTO `admin_operation_log` VALUES (809, 1, 'gjadmin/seos/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:46:17', '2020-05-19 16:46:17');
INSERT INTO `admin_operation_log` VALUES (810, 1, 'gjadmin/seos/create', 'GET', '127.0.0.1', '[]', '2020-05-19 16:46:58', '2020-05-19 16:46:58');
INSERT INTO `admin_operation_log` VALUES (811, 1, 'gjadmin/seos', 'POST', '127.0.0.1', '{\"router\":\"\\/test\",\"title\":\"test\",\"keywords\":\"test\",\"description\":\"test\",\"_token\":\"<KEY>\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/seos\"}', '2020-05-19 16:47:11', '2020-05-19 16:47:11');
INSERT INTO `admin_operation_log` VALUES (812, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 16:47:11', '2020-05-19 16:47:11');
INSERT INTO `admin_operation_log` VALUES (813, 1, 'gjadmin/seos/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:14', '2020-05-19 16:47:14');
INSERT INTO `admin_operation_log` VALUES (814, 1, 'gjadmin/seos/1', 'PUT', '127.0.0.1', '{\"router\":\"\\/\",\"title\":\"test\",\"keywords\":\"test\",\"description\":\"test\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/seos\"}', '2020-05-19 16:47:20', '2020-05-19 16:47:20');
INSERT INTO `admin_operation_log` VALUES (815, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 16:47:20', '2020-05-19 16:47:20');
INSERT INTO `admin_operation_log` VALUES (816, 1, 'gjadmin/seos/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:23', '2020-05-19 16:47:23');
INSERT INTO `admin_operation_log` VALUES (817, 1, 'gjadmin/seos/1', 'PUT', '127.0.0.1', '{\"router\":\"\\/test\",\"title\":\"test\",\"keywords\":\"test\",\"description\":\"test\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/seos\"}', '2020-05-19 16:47:36', '2020-05-19 16:47:36');
INSERT INTO `admin_operation_log` VALUES (818, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 16:47:37', '2020-05-19 16:47:37');
INSERT INTO `admin_operation_log` VALUES (819, 1, 'gjadmin/seos/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:39', '2020-05-19 16:47:39');
INSERT INTO `admin_operation_log` VALUES (820, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:46', '2020-05-19 16:47:46');
INSERT INTO `admin_operation_log` VALUES (821, 1, 'gjadmin/seos/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:47', '2020-05-19 16:47:47');
INSERT INTO `admin_operation_log` VALUES (822, 1, 'gjadmin/seos', 'POST', '127.0.0.1', '{\"router\":\"\\/test\",\"title\":null,\"keywords\":null,\"description\":null,\"_token\":\"<KEY>\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/seos\"}', '2020-05-19 16:47:53', '2020-05-19 16:47:53');
INSERT INTO `admin_operation_log` VALUES (823, 1, 'gjadmin/seos/create', 'GET', '127.0.0.1', '[]', '2020-05-19 16:47:53', '2020-05-19 16:47:53');
INSERT INTO `admin_operation_log` VALUES (824, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:56', '2020-05-19 16:47:56');
INSERT INTO `admin_operation_log` VALUES (825, 1, 'gjadmin/seos/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:47:58', '2020-05-19 16:47:58');
INSERT INTO `admin_operation_log` VALUES (826, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:48:01', '2020-05-19 16:48:01');
INSERT INTO `admin_operation_log` VALUES (827, 1, 'gjadmin/seos/create', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:48:03', '2020-05-19 16:48:03');
INSERT INTO `admin_operation_log` VALUES (828, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:48:05', '2020-05-19 16:48:05');
INSERT INTO `admin_operation_log` VALUES (829, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 16:52:00', '2020-05-19 16:52:00');
INSERT INTO `admin_operation_log` VALUES (830, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:01:20', '2020-05-19 17:01:20');
INSERT INTO `admin_operation_log` VALUES (831, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"\\u6807\\u9898\",\"cover\":\"\\u5173\\u952e\\u8bcd\",\"content\":\"\\u63cf\\u8ff0\",\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 17:04:36', '2020-05-19 17:04:36');
INSERT INTO `admin_operation_log` VALUES (832, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 17:04:36', '2020-05-19 17:04:36');
INSERT INTO `admin_operation_log` VALUES (833, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 17:04:52', '2020-05-19 17:04:52');
INSERT INTO `admin_operation_log` VALUES (834, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 17:04:55', '2020-05-19 17:04:55');
INSERT INTO `admin_operation_log` VALUES (835, 1, 'gjadmin', 'GET', '127.0.0.1', '[]', '2020-05-19 17:22:50', '2020-05-19 17:22:50');
INSERT INTO `admin_operation_log` VALUES (836, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:22:51', '2020-05-19 17:22:51');
INSERT INTO `admin_operation_log` VALUES (837, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:25:02', '2020-05-19 17:25:02');
INSERT INTO `admin_operation_log` VALUES (838, 1, 'gjadmin/navs/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:25:04', '2020-05-19 17:25:04');
INSERT INTO `admin_operation_log` VALUES (839, 1, 'gjadmin/navs/1', 'PUT', '127.0.0.1', '{\"parent_id\":\"0\",\"title\":\"\\u9996\\u9875\",\"uri\":\"\\/test1\",\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/mingdu.test\\/gjadmin\\/navs\"}', '2020-05-19 17:25:11', '2020-05-19 17:25:11');
INSERT INTO `admin_operation_log` VALUES (840, 1, 'gjadmin/navs', 'GET', '127.0.0.1', '[]', '2020-05-19 17:25:12', '2020-05-19 17:25:12');
INSERT INTO `admin_operation_log` VALUES (841, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:25:19', '2020-05-19 17:25:19');
INSERT INTO `admin_operation_log` VALUES (842, 1, 'gjadmin/pages/1', 'PUT', '127.0.0.1', '{\"title\":\"\\u7f51\\u7ad9\\u6807\\u9898\",\"cover\":\"\\u7f51\\u7ad9\\u5173\\u952e\\u8bcd\",\"content\":\"\\u7f51\\u7ad9\\u63cf\\u8ff0\",\"text_b\":null,\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2020-05-19 17:25:26', '2020-05-19 17:25:26');
INSERT INTO `admin_operation_log` VALUES (843, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 17:25:26', '2020-05-19 17:25:26');
INSERT INTO `admin_operation_log` VALUES (844, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '[]', '2020-05-19 17:26:08', '2020-05-19 17:26:08');
INSERT INTO `admin_operation_log` VALUES (845, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:26:09', '2020-05-19 17:26:09');
INSERT INTO `admin_operation_log` VALUES (846, 1, 'gjadmin/seos', 'GET', '127.0.0.1', '[]', '2020-05-19 17:33:59', '2020-05-19 17:33:59');
INSERT INTO `admin_operation_log` VALUES (847, 1, 'gjadmin/pages/1/edit', 'GET', '127.0.0.1', '{\"_pjax\":\"#pjax-container\"}', '2020-05-19 17:41:02', '2020-05-19 17:41:02');
INSERT INTO `admin_operation_log` VALUES (848, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2020-12-03 13:51:57', '2020-12-03 13:51:57');
INSERT INTO `admin_operation_log` VALUES (849, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2020-12-03 13:51:57', '2020-12-03 13:51:57');
INSERT INTO `admin_operation_log` VALUES (850, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2020-12-03 15:15:11', '2020-12-03 15:15:11');
INSERT INTO `admin_operation_log` VALUES (851, 1, 'gjadmin/navs', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2020-12-03 15:23:46', '2020-12-03 15:23:46');
INSERT INTO `admin_operation_log` VALUES (852, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2021-04-29 11:33:20', '2021-04-29 11:33:20');
INSERT INTO `admin_operation_log` VALUES (853, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-29 11:33:20', '2021-04-29 11:33:20');
INSERT INTO `admin_operation_log` VALUES (854, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-29 11:51:23', '2021-04-29 11:51:23');
INSERT INTO `admin_operation_log` VALUES (855, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-04-29 11:51:25', '2021-04-29 11:51:25');
INSERT INTO `admin_operation_log` VALUES (856, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:51:58', '2021-04-29 11:51:58');
INSERT INTO `admin_operation_log` VALUES (857, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:53:18', '2021-04-29 11:53:18');
INSERT INTO `admin_operation_log` VALUES (858, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:56:08', '2021-04-29 11:56:08');
INSERT INTO `admin_operation_log` VALUES (859, 1, 'gjadmin/ckeditor/image', 'POST', '192.168.10.1', '{\"ckCsrfToken\":\"8DCa14VgdZ99K6CS1tD5mnaTXh59G0D21MaW7r42\",\"_token\":\"<KEY>}', '2021-04-29 11:56:19', '2021-04-29 11:56:19');
INSERT INTO `admin_operation_log` VALUES (860, 1, 'gjadmin/ckeditor/file', 'POST', '192.168.10.1', '{\"ckCsrfToken\":\"8DCa14VgdZ99K6CS1tD5mnaTXh59G0D21MaW7r42\",\"_token\":\"<KEY>}', '2021-04-29 11:56:32', '2021-04-29 11:56:32');
INSERT INTO `admin_operation_log` VALUES (861, 1, 'gjadmin/pages/1', 'PUT', '192.168.10.1', '{\"title\":\"\\u7f51\\u7ad9\\u6807\\u9898\",\"cover\":\"\\u7f51\\u7ad9\\u5173\\u952e\\u8bcd\",\"content\":\"\\u7f51\\u7ad9\\u63cf\\u8ff0\",\"text_b\":\"<p><img alt=\\\"\\\" src=\\\"\\/uploads\\/images\\/202104\\/e7fb3fa1422198b31583c81bf44f71c9.png\\\" \\/><\\/p>\\r\\n\\r\\n<div class=\\\"ckeditor-html5-video\\\" style=\\\"text-align:center\\\">\\r\\n<video controlslist=\\\"nodownload\\\" src=\\\"\\/uploads\\/images\\/202104\\/080f3d11bb5d4fd0d5634fc566e3ac1a.mp4\\\"> <\\/video>\\r\\n<\\/div>\\r\\n\\r\\n<p> <\\/p>\",\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2021-04-29 11:56:42', '2021-04-29 11:56:42');
INSERT INTO `admin_operation_log` VALUES (862, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:56:43', '2021-04-29 11:56:43');
INSERT INTO `admin_operation_log` VALUES (863, 1, 'gjadmin/pages/1', 'PUT', '192.168.10.1', '{\"title\":\"\\u7f51\\u7ad9\\u6807\\u9898\",\"cover\":\"\\u7f51\\u7ad9\\u5173\\u952e\\u8bcd\",\"content\":\"\\u7f51\\u7ad9\\u63cf\\u8ff0\",\"text_b\":\"<p><img alt=\\\"\\\" src=\\\"\\/uploads\\/images\\/202104\\/e7fb3fa1422198b31583c81bf44f71c9.png\\\" \\/><\\/p>\\r\\n\\r\\n<div class=\\\"ckeditor-html5-video\\\" style=\\\"text-align:center\\\">\\r\\n<video src=\\\"\\/uploads\\/images\\/202104\\/080f3d11bb5d4fd0d5634fc566e3ac1a.mp4\\\"> <\\/video>\\r\\n<\\/div>\\r\\n\\r\\n<p> <\\/p>\",\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2021-04-29 11:56:50', '2021-04-29 11:56:50');
INSERT INTO `admin_operation_log` VALUES (864, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:56:51', '2021-04-29 11:56:51');
INSERT INTO `admin_operation_log` VALUES (865, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:58:04', '2021-04-29 11:58:04');
INSERT INTO `admin_operation_log` VALUES (866, 1, 'gjadmin/pages/1', 'PUT', '192.168.10.1', '{\"key\":\"0\",\"text_a\":\"_file_del_\",\"_file_del_\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2021-04-29 11:58:07', '2021-04-29 11:58:07');
INSERT INTO `admin_operation_log` VALUES (867, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:58:07', '2021-04-29 11:58:07');
INSERT INTO `admin_operation_log` VALUES (868, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:58:10', '2021-04-29 11:58:10');
INSERT INTO `admin_operation_log` VALUES (869, 1, 'gjadmin/pages/1', 'PUT', '192.168.10.1', '{\"title\":\"\\u7f51\\u7ad9\\u6807\\u9898\",\"cover\":\"\\u7f51\\u7ad9\\u5173\\u952e\\u8bcd\",\"content\":\"\\u7f51\\u7ad9\\u63cf\\u8ff0\",\"text_b\":\"<p> <\\/p>\\r\\n\\r\\n<p> <\\/p>\",\"text_n\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\"}', '2021-04-29 11:58:16', '2021-04-29 11:58:16');
INSERT INTO `admin_operation_log` VALUES (870, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:58:17', '2021-04-29 11:58:17');
INSERT INTO `admin_operation_log` VALUES (871, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 11:58:18', '2021-04-29 11:58:18');
INSERT INTO `admin_operation_log` VALUES (872, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 13:35:28', '2021-04-29 13:35:28');
INSERT INTO `admin_operation_log` VALUES (873, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 13:36:35', '2021-04-29 13:36:35');
INSERT INTO `admin_operation_log` VALUES (874, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 13:36:38', '2021-04-29 13:36:38');
INSERT INTO `admin_operation_log` VALUES (875, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 13:36:40', '2021-04-29 13:36:40');
INSERT INTO `admin_operation_log` VALUES (876, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 14:51:19', '2021-04-29 14:51:19');
INSERT INTO `admin_operation_log` VALUES (877, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 14:53:52', '2021-04-29 14:53:52');
INSERT INTO `admin_operation_log` VALUES (878, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 16:52:06', '2021-04-29 16:52:06');
INSERT INTO `admin_operation_log` VALUES (879, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '[]', '2021-04-29 17:49:36', '2021-04-29 17:49:36');
INSERT INTO `admin_operation_log` VALUES (880, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2021-04-30 09:23:14', '2021-04-30 09:23:14');
INSERT INTO `admin_operation_log` VALUES (881, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 09:23:15', '2021-04-30 09:23:15');
INSERT INTO `admin_operation_log` VALUES (882, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 09:24:43', '2021-04-30 09:24:43');
INSERT INTO `admin_operation_log` VALUES (883, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 10:27:50', '2021-04-30 10:27:50');
INSERT INTO `admin_operation_log` VALUES (884, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 11:30:51', '2021-04-30 11:30:51');
INSERT INTO `admin_operation_log` VALUES (885, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2021-04-30 12:01:01', '2021-04-30 12:01:01');
INSERT INTO `admin_operation_log` VALUES (886, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 12:01:02', '2021-04-30 12:01:02');
INSERT INTO `admin_operation_log` VALUES (887, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2021-04-30 14:03:26', '2021-04-30 14:03:26');
INSERT INTO `admin_operation_log` VALUES (888, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 14:03:27', '2021-04-30 14:03:27');
INSERT INTO `admin_operation_log` VALUES (889, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-04-30 14:06:02', '2021-04-30 14:06:02');
INSERT INTO `admin_operation_log` VALUES (890, 1, 'gjadmin/auth/menu', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-04-30 14:06:10', '2021-04-30 14:06:10');
INSERT INTO `admin_operation_log` VALUES (891, 1, 'gjadmin/auth/menu/10/edit', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-04-30 14:27:59', '2021-04-30 14:27:59');
INSERT INTO `admin_operation_log` VALUES (892, 1, 'gjadmin/auth/menu/10', 'PUT', '192.168.10.1', '{\"parent_id\":\"0\",\"title\":\"\\u8054\\u7cfb\",\"icon\":\"fa-volume-control-phone\",\"uri\":\"\\/pages\\/2\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/hanrui.test\\/gjadmin\\/auth\\/menu\"}', '2021-04-30 14:28:07', '2021-04-30 14:28:07');
INSERT INTO `admin_operation_log` VALUES (893, 1, 'gjadmin/auth/menu', 'GET', '192.168.10.1', '[]', '2021-04-30 14:28:08', '2021-04-30 14:28:08');
INSERT INTO `admin_operation_log` VALUES (894, 1, 'gjadmin/auth/menu/10/edit', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-04-30 14:28:27', '2021-04-30 14:28:27');
INSERT INTO `admin_operation_log` VALUES (895, 1, 'gjadmin/auth/menu/10', 'PUT', '192.168.10.1', '{\"parent_id\":\"0\",\"title\":\"\\u8054\\u7cfb\\u65b9\\u5f0f\",\"icon\":\"fa-volume-control-phone\",\"uri\":\"\\/pages\\/2\\/edit\",\"roles\":[null],\"permission\":null,\"_token\":\"<KEY>\",\"_method\":\"PUT\",\"_previous_\":\"http:\\/\\/hanrui.test\\/gjadmin\\/auth\\/menu\"}', '2021-04-30 14:28:31', '2021-04-30 14:28:31');
INSERT INTO `admin_operation_log` VALUES (896, 1, 'gjadmin/auth/menu/10', 'GET', '192.168.10.1', '[]', '2021-04-30 14:28:31', '2021-04-30 14:28:31');
INSERT INTO `admin_operation_log` VALUES (897, 1, 'gjadmin/auth/menu', 'GET', '192.168.10.1', '[]', '2021-04-30 14:28:32', '2021-04-30 14:28:32');
INSERT INTO `admin_operation_log` VALUES (898, 1, 'gjadmin/auth/menu/10/edit', 'GET', '192.168.10.1', '[]', '2021-04-30 14:28:32', '2021-04-30 14:28:32');
INSERT INTO `admin_operation_log` VALUES (899, 1, 'gjadmin/auth/login', 'GET', '192.168.10.1', '[]', '2021-05-08 14:45:23', '2021-05-08 14:45:23');
INSERT INTO `admin_operation_log` VALUES (900, 1, 'gjadmin', 'GET', '192.168.10.1', '[]', '2021-05-08 14:45:24', '2021-05-08 14:45:24');
INSERT INTO `admin_operation_log` VALUES (901, 1, 'gjadmin/pages/2/edit', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-05-08 14:46:13', '2021-05-08 14:46:13');
INSERT INTO `admin_operation_log` VALUES (902, 1, 'gjadmin/pages/1/edit', 'GET', '192.168.10.1', '{\"_pjax\":\"#pjax-container\"}', '2021-05-08 14:46:14', '2021-05-08 14:46:14');
-- ----------------------------
-- Table structure for admin_permissions
-- ----------------------------
DROP TABLE IF EXISTS `admin_permissions`;
CREATE TABLE `admin_permissions` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`http_method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`http_path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `admin_permissions_name_unique`(`name`) USING BTREE,
UNIQUE INDEX `admin_permissions_slug_unique`(`slug`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_permissions
-- ----------------------------
INSERT INTO `admin_permissions` VALUES (1, 'All permission', '*', '', '*', NULL, NULL);
INSERT INTO `admin_permissions` VALUES (2, 'Dashboard', 'dashboard', 'GET', '/', NULL, NULL);
INSERT INTO `admin_permissions` VALUES (3, 'Login', 'auth.login', '', '/auth/login\r\n/auth/logout', NULL, NULL);
INSERT INTO `admin_permissions` VALUES (4, 'User setting', 'auth.setting', 'GET,PUT', '/auth/setting', NULL, NULL);
INSERT INTO `admin_permissions` VALUES (5, 'Auth management', 'auth.management', '', '/auth/roles\r\n/auth/permissions\r\n/auth/menu\r\n/auth/logs', NULL, NULL);
-- ----------------------------
-- Table structure for admin_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `admin_role_menu`;
CREATE TABLE `admin_role_menu` (
`role_id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
INDEX `admin_role_menu_role_id_menu_id_index`(`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_role_menu
-- ----------------------------
INSERT INTO `admin_role_menu` VALUES (1, 2, NULL, NULL);
-- ----------------------------
-- Table structure for admin_role_permissions
-- ----------------------------
DROP TABLE IF EXISTS `admin_role_permissions`;
CREATE TABLE `admin_role_permissions` (
`role_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
INDEX `admin_role_permissions_role_id_permission_id_index`(`role_id`, `permission_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_role_permissions
-- ----------------------------
INSERT INTO `admin_role_permissions` VALUES (1, 1, NULL, NULL);
-- ----------------------------
-- Table structure for admin_role_users
-- ----------------------------
DROP TABLE IF EXISTS `admin_role_users`;
CREATE TABLE `admin_role_users` (
`role_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
INDEX `admin_role_users_role_id_user_id_index`(`role_id`, `user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_role_users
-- ----------------------------
INSERT INTO `admin_role_users` VALUES (1, 1, NULL, NULL);
-- ----------------------------
-- Table structure for admin_roles
-- ----------------------------
DROP TABLE IF EXISTS `admin_roles`;
CREATE TABLE `admin_roles` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `admin_roles_name_unique`(`name`) USING BTREE,
UNIQUE INDEX `admin_roles_slug_unique`(`slug`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_roles
-- ----------------------------
INSERT INTO `admin_roles` VALUES (1, 'Administrator', 'administrator', '2020-05-18 11:06:38', '2020-05-18 11:06:38');
-- ----------------------------
-- Table structure for admin_user_permissions
-- ----------------------------
DROP TABLE IF EXISTS `admin_user_permissions`;
CREATE TABLE `admin_user_permissions` (
`user_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
INDEX `admin_user_permissions_user_id_permission_id_index`(`user_id`, `permission_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for admin_users
-- ----------------------------
DROP TABLE IF EXISTS `admin_users`;
CREATE TABLE `admin_users` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`username` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `admin_users_username_unique`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of admin_users
-- ----------------------------
INSERT INTO `admin_users` VALUES (1, 'admin', '$<PASSWORD>', '格加信息', 'uploads/images/202005/53e9b83001651b36bc16a07f81ca4511.jpg', 'zsSIrvSc69MRZMqXfFPxsbrjp8BO3nWpkUd437MzjO8ldiMXeGWnAnYXV6xT', '2020-05-18 11:06:38', '2020-05-19 09:24:25');
-- ----------------------------
-- Table structure for articles
-- ----------------------------
DROP TABLE IF EXISTS `articles`;
CREATE TABLE `articles` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`order` int(11) NOT NULL DEFAULT 0,
`tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`tit` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
`cover` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`picture` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`link` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`video` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of articles
-- ----------------------------
INSERT INTO `articles` VALUES (1, 0, '首页Banner', NULL, NULL, NULL, NULL, '2020-05-19 16:06:38', '2020-05-19 16:06:38', NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for failed_jobs
-- ----------------------------
DROP TABLE IF EXISTS `failed_jobs`;
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for messages
-- ----------------------------
DROP TABLE IF EXISTS `messages`;
CREATE TABLE `messages` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`ip` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for migrations
-- ----------------------------
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of migrations
-- ----------------------------
INSERT INTO `migrations` VALUES (1, '2014_10_12_000000_create_users_table', 1);
INSERT INTO `migrations` VALUES (2, '2014_10_12_100000_create_password_resets_table', 1);
INSERT INTO `migrations` VALUES (3, '2019_08_19_000000_create_failed_jobs_table', 1);
INSERT INTO `migrations` VALUES (4, '2016_01_04_173148_create_admin_tables', 2);
INSERT INTO `migrations` VALUES (5, '2020_05_18_181129_create_navs_table', 3);
INSERT INTO `migrations` VALUES (6, '2020_05_18_184827_create_pages_table', 4);
INSERT INTO `migrations` VALUES (7, '2020_05_19_154256_create_articles_table', 5);
INSERT INTO `migrations` VALUES (8, '2020_05_19_154340_create_sections_table', 5);
INSERT INTO `migrations` VALUES (9, '2020_05_19_164103_create_seos_table', 6);
INSERT INTO `migrations` VALUES (10, '2021_04_30_140831_create_messages_table', 7);
-- ----------------------------
-- Table structure for navs
-- ----------------------------
DROP TABLE IF EXISTS `navs`;
CREATE TABLE `navs` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL DEFAULT 0,
`order` int(11) NOT NULL DEFAULT 0,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`is_show` tinyint(1) NULL DEFAULT NULL,
`cover` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of navs
-- ----------------------------
INSERT INTO `navs` VALUES (1, 0, 1, '首页', NULL, NULL, NULL, NULL, NULL, '/test1', '2020-05-18 18:35:16', '2020-05-19 17:25:11');
INSERT INTO `navs` VALUES (2, 1, 2, 'test2', NULL, NULL, NULL, NULL, NULL, '/test2', '2020-05-18 18:42:55', '2020-05-18 18:44:08');
INSERT INTO `navs` VALUES (3, 0, 4, 'test3', NULL, NULL, NULL, NULL, NULL, '/test3', '2020-05-18 18:43:19', '2020-05-18 18:44:37');
INSERT INTO `navs` VALUES (4, 1, 3, 'test4', NULL, NULL, NULL, NULL, NULL, '/test4', '2020-05-18 18:43:47', '2020-05-18 18:44:08');
-- ----------------------------
-- Table structure for pages
-- ----------------------------
DROP TABLE IF EXISTS `pages`;
CREATE TABLE `pages` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`order` int(11) NOT NULL DEFAULT 0,
`tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`cover` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_a` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_b` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_c` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_d` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_e` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_f` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_g` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_h` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_i` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_j` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_k` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_l` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_m` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text_n` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
`tit` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`link` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`video` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`picture` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of pages
-- ----------------------------
INSERT INTO `pages` VALUES (1, 0, '基本信息', '网站标题', '网站关键词', '网站描述', NULL, '<p> </p>\r\n\r\n<p> </p>', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-05-18 18:55:06', '2021-04-29 11:58:16', NULL, NULL, NULL, NULL);
INSERT INTO `pages` VALUES (2, 0, '联系我们', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-05-18 19:49:51', '2020-05-18 19:52:05', NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for password_resets
-- ----------------------------
DROP TABLE IF EXISTS `password_resets`;
CREATE TABLE `password_resets` (
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
INDEX `password_resets_email_index`(`email`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for sections
-- ----------------------------
DROP TABLE IF EXISTS `sections`;
CREATE TABLE `sections` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`order` int(11) NOT NULL DEFAULT 0,
`parent_id` int(11) NOT NULL DEFAULT 0,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`cover` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`link` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`tit` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
`video` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `sections_parent_id_index`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for seos
-- ----------------------------
DROP TABLE IF EXISTS `seos`;
CREATE TABLE `seos` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`router` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`keywords` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `seos_router_unique`(`router`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of seos
-- ----------------------------
INSERT INTO `seos` VALUES (1, '/test', 'test', 'test', 'test', '2020-05-19 16:47:11', '2020-05-19 16:47:36');
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp(0) NULL DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`created_at` timestamp(0) NULL DEFAULT NULL,
`updated_at` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `users_email_unique`(`email`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
|
-- @Namespace Repository
-- @Name GetTemplates
-- @Return Repository.Template
CREATE PROCEDURE [dbo].[hlsys_query_templates]
@agentid INT,
@lcid INT,
@objectdefname NVARCHAR(255)
AS
BEGIN
;WITH [templatetranslations] AS
(
SELECT ttv.[ttkey], ttv.[ttvalue]
FROM [dbo].[hlsystranslationvalue] AS ttv
WHERE ttv.[ttcategoryid] = 5 AND ttv.[ttlcid] IN (
SELECT TOP 1 ttv2.[ttlcid]
FROM [dbo].[hlsystranslationvalue] AS ttv2
CROSS APPLY [dbo].[hlsys_query_culturepriority](@lcid, 0) AS c
WHERE ttv2.[ttkey] = ttv.[ttkey] AND c.[lcid] = ttv2.[ttlcid]
)
)
, [groups] AS
(
SELECT g.[id], ISNULL(tt.[ttvalue], g.[name]) AS [name], g.[agentid], g.[objectdefname], g.[parentid]
FROM [dbo].[hlsystemplategroup] AS g
CROSS APPLY [dbo].[hlsyssec_query_agenttemplategroupprmread](@agentid, g.[id]) AS prmread
LEFT JOIN [templatetranslations] AS tt ON tt.ttkey = CONCAT(N'G_', g.[name], N'_', g.[id])
WHERE g.[objectdefname] = @objectdefname AND (g.[agentid] = @agentid OR g.[agentid] = 0)
)
, [grouprecursion] AS
(
SELECT g.[id], CAST(g.[name] AS NVARCHAR(MAX)) AS [name], g.[agentid], g.[objectdefname], g.[parentid]
, NULL AS email
FROM [groups] AS g
WHERE g.[parentid] = 0
UNION ALL
SELECT g.[id], CAST(CONCAT(p.[name], N'\', g.[name]) AS NVARCHAR(MAX)) AS [name], g.[agentid], g.[objectdefname], g.[parentid]
, CONCAT(p.name, [name])
FROM [grouprecursion] AS p
JOIN [groups] AS g ON p.[id] = g.[parentid]
)
, [templates] AS
(
SELECT t.[id], g.[name] AS [path], ISNULL(tt.ttvalue, t.[name]) AS [name], t.[agentid], t.[sortorder], t.[objectdefname], t.[parentid]
FROM [dbo].[hlsystemplatedefinition] AS t
LEFT JOIN [grouprecursion] AS g ON t.[parentid] = g.[id]
CROSS APPLY [dbo].[hlsyssec_query_agenttemplatedefinitionprmread](@agentid, t.[id]) AS prmread
LEFT JOIN [templatetranslations] AS tt ON tt.ttkey = CONCAT(N'T_', t.[name], N'_', t.[id])
WHERE (g.[id] IS NOT NULL OR t.[parentid] = 0) AND t.[objectdefname] = @objectdefname AND (t.[agentid] = @agentid OR t.[agentid] = 0)
)
SELECT [id] AS [Id]
, [path] AS [Path]
, [name] AS [Name]
, [agentid] AS [AgentId]
, [sortorder] AS [Sortorder]
, [objectdefname] AS [ObjectDefinitionName]
, [parentid] AS [ParentId]
FROM templates
ORDER BY name
END
|
<filename>schema/patches/2020-10-21_trigram_indices.sql
begin;
-- Extension for trigram search over text fields
CREATE EXTENSION pg_trgm WITH SCHEMA PUBLIC;
-- adds GIST index
CREATE INDEX ON public.genes USING GIST (gene_name public.gist_trgm_ops);
CREATE INDEX ON public.genes USING GIST (other_names public.gist_trgm_ops);
CREATE INDEX ON public.hpo USING GIST (hpo_name public.gist_trgm_ops);
-- add unique constraint to hpo
ALTER TABLE ONLY public.hpo
ADD CONSTRAINT hpo_pkey PRIMARY KEY (hpo_id);
-- set default value for enabled field in users
ALTER TABLE public.users ALTER COLUMN enabled SET DEFAULT true;
commit;
|
<filename>coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/RELEASE-SCRIPTS/KC-RELEASE-3_1_SP3-SCRIPT/KR-RELEASE-3_1_SP3-SR-ORACLE.sql
set define off
set sqlblanklines on
spool KR-RELEASE-3_1_SP3-SR-ORACLE-Install.log
@ORACLE/DML/KR_DML_BS1_KRIM_PERM_T.sql
@ORACLE/DML/SR/KR_DML_BS1_KRNS_PARM_T.sql
@ORACLE/DML/KR_DML_BS2_KRIM_PERM_ATTR_DATA_T.sql
@ORACLE/DML/KR_DML_BS2_KRIM_ROLE_T.sql
@ORACLE/DML/KR_DML_BS3_KRIM_ROLE_PERM_T.sql
@ORACLE/DML/KR_DML_BS4_KRIM_GRP_T.sql
--@ORACLE/DML/KR_DML_BS5_KREW_DOC_HDR_T.sql
@ORACLE/DML/SR/KR_DML_BS5_KRNS_PARM_T.sql
--@ORACLE/DML/KR_DML_BS6_KREW_ACTN_TKN_T.sql
--@ORACLE/DML/KR_DML_BS6_KREW_DOC_HDR_CNTNT_T.sql
--@ORACLE/DML/KR_DML_BS6_KREW_RTE_NODE_INSTN_T.sql
@ORACLE/DML/KR_DML_BS7_KREN_CHNL_PRODCR_T.sql
--@ORACLE/DML/KR_DML_BS7_KREW_ACTN_RQST_T.sql
--@ORACLE/DML/KR_DML_BS7_KRIM_AFLTN_TYP_T.sql
@ORACLE/DML/KR_DML_BS7_KRIM_TYP_T.sql
commit;
exit
|
<filename>install/drinks_2019-02-15.sql<gh_stars>1-10
/*!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 */;
/*!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 */;
# ------------------------------------------------------------
DROP TABLE IF EXISTS `config`;
CREATE TABLE `config` (
`id` int(11) NOT NULL,
`name` varchar(60) NOT NULL,
`value` varchar(80) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Affichage de la table drinks
# ------------------------------------------------------------
DROP TABLE IF EXISTS `drinks`;
CREATE TABLE `drinks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(80) NOT NULL,
`category` varchar(80) NOT NULL,
`Contenance` varchar(20) NOT NULL,
`min_price` float NOT NULL,
`max_price` float NOT NULL,
`price` float NOT NULL,
`init_price` float NOT NULL,
`taux` float NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!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 */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>ryloja/SQL<gh_stars>0
WITH
longest_used_bike AS (
SELECT
bikeid,
SUM(duration_minutes) AS trip_duration)
FROM
bigquery-public-data.austin_bikeshare.bikeshare_trips
GROUP BY
bikeid
ORDER BY
trip_duration DESC
LIMIT 1
)
## find station at which longest bikeshare ride started
SELECT
trips.start_station_id
COUNT(*) AS trip_ct
FROM
longest_used_bike AS logest
INNER JOIN
'bigquery-public-data.austin_bikeshare.bikeshare_trips' AS trips
ON longest.bikeid = trips.bikeid
GROUP BY
trips.start_station_id
ORDER BY
trip_ct DESC
LIMIT 1
|
<gh_stars>0
-- drop table
DROP TABLE IF EXISTS tagAndWindowNumMessages
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.