text
stringlengths 1
1.05M
|
|---|
# Host: localhost (Version: 5.5.53)
# Date: 2018-01-08 17:56:49
# Generator: MySQL-Front 5.3 (Build 4.234)
/*!40101 SET NAMES utf8 */;
#
# Structure for table "risk_admin_pwdcount"
#
DROP TABLE IF EXISTS `risk_admin_pwdcount`;
CREATE TABLE `risk_admin_pwdcount` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login_ip` varchar(64) DEFAULT NULL,
`admin_name` varchar(100) DEFAULT NULL,
`count_time` smallint(2) DEFAULT NULL COMMENT '此时',
`updated_t` int(11) DEFAULT NULL COMMENT '时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='管理员登录错误的密码次数';
#
# Data for table "risk_admin_pwdcount"
#
INSERT INTO `risk_admin_pwdcount` VALUES (1,'127.0.0.1','admin_vip',2,1514964558);
#
# Structure for table "risk_admin_user"
#
DROP TABLE IF EXISTS `risk_admin_user`;
CREATE TABLE `risk_admin_user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`admin_name` varchar(255) DEFAULT NULL COMMENT '登录账户',
`real_name` varchar(50) DEFAULT NULL COMMENT '真实名字',
`email` varchar(100) DEFAULT NULL,
`mobile` varchar(50) DEFAULT NULL,
`admin_password` varchar(255) DEFAULT NULL,
`status` int(1) DEFAULT '1',
`created_time` int(11) DEFAULT NULL,
`login_time` int(11) DEFAULT NULL COMMENT '上次登录时间',
`group_id` smallint(3) NOT NULL COMMENT '部门id',
`sex` smallint(1) DEFAULT '2' COMMENT '1.男 2.女',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=191 DEFAULT CHARSET=utf8;
#
# Data for table "risk_admin_user"
#
/*!40000 ALTER TABLE `risk_admin_user` DISABLE KEYS */;
INSERT INTO `risk_admin_user` VALUES (134,'admin','管理员','[email protected]','17521015201','14e1b600b1fd579f47433b88e8d85291',1,1510730889,1515402986,40,2),(190,'cccccc','cccccc','','','14e1b600b1fd579f47433b88e8d85291',1,1515131732,NULL,40,2);
/*!40000 ALTER TABLE `risk_admin_user` ENABLE KEYS */;
#
# Structure for table "risk_article"
#
DROP TABLE IF EXISTS `risk_article`;
CREATE TABLE `risk_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`arcate_id` int(5) DEFAULT NULL COMMENT '文章的分类id',
`title` varchar(255) DEFAULT NULL COMMENT '文章标题',
`key_words` varchar(255) DEFAULT NULL COMMENT '关键字',
`main` text COMMENT '摘要',
`contents` text COMMENT '主要内容',
`author` varchar(50) DEFAULT '' COMMENT '作者',
`from` varchar(255) DEFAULT NULL COMMENT '文章来源',
`link` varchar(255) DEFAULT NULL COMMENT '文章外链接',
`status` tinyint(3) DEFAULT '1' COMMENT '1.已提交 2.已发布 -1.已删除 3.已下线',
`start_time` int(11) DEFAULT NULL COMMENT '发布开始时间',
`end_time` int(11) DEFAULT NULL COMMENT '发布结束时间',
`ctime` int(11) DEFAULT NULL COMMENT '创建时间',
`on_time` int(11) DEFAULT NULL COMMENT '发布时间',
`auid` int(11) DEFAULT NULL COMMENT '发布auid',
`is_new` tinyint(1) DEFAULT '0' COMMENT '1.最新 0.不是',
`is_hot` tinyint(1) DEFAULT '0' COMMENT '1.最热',
`is_best` tinyint(1) DEFAULT '0' COMMENT '最好',
`ord` int(11) DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COMMENT='文章管理';
#
# Data for table "risk_article"
#
/*!40000 ALTER TABLE `risk_article` DISABLE KEYS */;
INSERT INTO `risk_article` VALUES (25,3,'这是发布 的 文章','这是发布 的 文章','这是发布 的 文章','<p>这是发布 的 文章</p>','小杜','','',3,1515427200,1517241600,1515387458,1515387686,134,1,1,1,12),(26,1,'wenzhang','','','<p>dddd<br/></p>','小杜','','',2,1515340800,1546358400,1515388844,1515393578,134,1,1,1,0),(27,1,'标题','','','','小杜','','',2,1515340800,1546444800,1515388983,1515392289,134,1,1,1,0);
/*!40000 ALTER TABLE `risk_article` ENABLE KEYS */;
#
# Structure for table "risk_article_cat"
#
DROP TABLE IF EXISTS `risk_article_cat`;
CREATE TABLE `risk_article_cat` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级id',
`title` char(20) NOT NULL DEFAULT '' COMMENT '分类名称',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:为1正常,为0禁用',
`ord` int(5) DEFAULT '0' COMMENT '排序',
`ctime` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='文章分类';
#
# Data for table "risk_article_cat"
#
/*!40000 ALTER TABLE `risk_article_cat` DISABLE KEYS */;
INSERT INTO `risk_article_cat` VALUES (1,0,'新闻',1,0,NULL),(2,1,'国内新闻',1,1,NULL),(3,2,'上海 新闻',1,0,NULL);
/*!40000 ALTER TABLE `risk_article_cat` ENABLE KEYS */;
#
# Structure for table "risk_auth_group"
#
DROP TABLE IF EXISTS `risk_auth_group`;
CREATE TABLE `risk_auth_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`group_name` char(100) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '1',
`rules` text COMMENT '规则id',
`created_t` int(11) DEFAULT NULL,
`desc` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 COMMENT='用户组表';
#
# Data for table "risk_auth_group"
#
/*!40000 ALTER TABLE `risk_auth_group` DISABLE KEYS */;
INSERT INTO `risk_auth_group` VALUES (40,'管理员',1,'178,179,180,183,181,182,184,185,186,187,188,222,215,190,189,223,224,226,225',1511681779,'这是管理员'),(46,'市场部',1,'178,185,186,187,188,189,215,190',1514964340,'这是市场部');
/*!40000 ALTER TABLE `risk_auth_group` ENABLE KEYS */;
#
# Structure for table "risk_auth_rule"
#
DROP TABLE IF EXISTS `risk_auth_rule`;
CREATE TABLE `risk_auth_rule` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级id',
`name` char(80) NOT NULL DEFAULT '' COMMENT '规则唯一标识',
`title` char(20) NOT NULL DEFAULT '' COMMENT '规则中文名称',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:为1正常,为0禁用',
`left_nav` smallint(1) NOT NULL DEFAULT '0' COMMENT '左侧导航菜单 1.是',
`ord` int(5) DEFAULT '0' COMMENT '排序',
`created_t` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=227 DEFAULT CHARSET=utf8 COMMENT='规则表';
#
# Data for table "risk_auth_rule"
#
/*!40000 ALTER TABLE `risk_auth_rule` DISABLE KEYS */;
INSERT INTO `risk_auth_rule` VALUES (178,0,'backend/Rule','权限控制',1,1,1,'1511694619'),(179,178,'backend/Rule/rule_list','权限管理',1,1,6,'1511694650'),(180,179,'backend/Rule/ruleadd','添加权限',1,0,0,'1511694769'),(181,178,'backend/Rule/grouplist','部门设置',1,1,7,'1511694769'),(182,181,'backend/Rule/groupadd','添加部门',1,0,0,NULL),(183,179,'backend/Rule/ruledelete','删除权限',1,0,0,NULL),(184,181,'backend/Rule/groupdelete','删除部门',1,0,0,NULL),(185,178,'backend/AdminUsers/adminlist','员工列表',1,1,9,NULL),(186,185,'backend/AdminUsers/adminstatus','管理员停用',1,0,0,NULL),(187,185,'backend/AdminUsers/adminadd','添加管理员',1,0,0,NULL),(188,185,'backend/AdminUsers/admindelete','删除管理员',1,0,0,NULL),(189,0,'backend/ConfigManage','系统设置',1,1,4,NULL),(190,222,'backend/AdminUsers/loglist','操作日志',1,1,3,NULL),(215,222,'backend/SystemManage/loginloglist','登录日志',1,1,0,'1513317229'),(222,0,'backend/log','日志管理',1,1,1,'1514965501'),(223,189,'backend/ConfigManage/index','网站设置',1,1,1,'1514966056'),(224,0,'backend/ArticleManage','文章管理',1,1,10,'1515056448'),(225,224,'backend/ArticleManage/articlelist','文章列表',1,1,1,'1515056482'),(226,224,'backend/ArticleCate/cateList','文章分类',1,1,0,'1515056577');
/*!40000 ALTER TABLE `risk_auth_rule` ENABLE KEYS */;
#
# Structure for table "risk_config"
#
DROP TABLE IF EXISTS `risk_config`;
CREATE TABLE `risk_config` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT COMMENT '表id',
`name` varchar(50) DEFAULT NULL COMMENT '配置的key键名',
`value` varchar(512) DEFAULT NULL COMMENT '配置的val值',
`desc` varchar(50) DEFAULT NULL COMMENT '描述',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
#
# Data for table "risk_config"
#
INSERT INTO `risk_config` VALUES (1,'site_name','网站3',NULL),(2,'record_no','2333',NULL),(3,'site_keyword','333',NULL),(4,'contact','43',NULL),(5,'mobile','53',NULL),(6,'phone','63',NULL),(7,'address','736',NULL),(8,'qq','83',NULL),(9,'qq2','93',NULL),(10,'qq3','103',NULL),(11,'message_type','11',NULL),(12,'message_name','12',NULL),(13,'message_pwd','13',NULL);
#
# Structure for table "risk_entity_log"
#
DROP TABLE IF EXISTS `risk_entity_log`;
CREATE TABLE `risk_entity_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`admin_id` int(11) DEFAULT NULL COMMENT '操作人id',
`content` text,
`created_t` int(11) DEFAULT NULL COMMENT '时间',
`ip` varchar(50) NOT NULL COMMENT '操作ip',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='日志';
#
# Data for table "risk_entity_log"
#
#
# Structure for table "risk_login_log"
#
DROP TABLE IF EXISTS `risk_login_log`;
CREATE TABLE `risk_login_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`admin_id` int(11) DEFAULT NULL,
`ip` varchar(50) DEFAULT NULL,
`login_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=222 DEFAULT CHARSET=utf8 COMMENT='登录日志';
#
# Data for table "risk_login_log"
#
/*!40000 ALTER TABLE `risk_login_log` DISABLE KEYS */;
INSERT INTO `risk_login_log` VALUES (197,134,'127.0.0.1',1514964139),(198,134,'127.0.0.1',1514965135),(199,134,'127.0.0.1',1514965386),(200,134,'127.0.0.1',1514965539),(201,134,'127.0.0.1',1514965574),(202,134,'127.0.0.1',1514966081),(203,134,'127.0.0.1',1514967126),(204,134,'127.0.0.1',1514968976),(205,134,'127.0.0.1',1514968997),(206,134,'127.0.0.1',1514971724),(207,134,'127.0.0.1',1515029926),(208,134,'127.0.0.1',1515055082),(209,134,'127.0.0.1',1515056373),(210,134,'127.0.0.1',1515056612),(211,134,'127.0.0.1',1515114560),(212,134,'127.0.0.1',1515123776),(213,134,'127.0.0.1',1515142794),(214,134,'127.0.0.1',1515373841),(215,134,'127.0.0.1',1515373961),(216,134,'127.0.0.1',1515395357),(217,134,'127.0.0.1',1515402891),(218,134,'127.0.0.1',1515402900),(219,134,'127.0.0.1',1515402915),(220,134,'127.0.0.1',1515402950),(221,134,'127.0.0.1',1515402986);
/*!40000 ALTER TABLE `risk_login_log` ENABLE KEYS */;
#
# Structure for table "risk_order"
#
DROP TABLE IF EXISTS `risk_order`;
CREATE TABLE `risk_order` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`phone` varchar(50) DEFAULT NULL,
`address` varchar(200) DEFAULT NULL,
`newphone` varchar(50) DEFAULT NULL COMMENT '新号码',
`msn` varchar(200) DEFAULT NULL COMMENT '卡号',
`express` tinyint(2) DEFAULT NULL COMMENT '1.中通 2.圆 3.汇通 4.申通',
`express_sn` varchar(50) DEFAULT NULL COMMENT '快递单号',
`status` int(1) DEFAULT '1' COMMENT '1.未发货 2.发货',
`desc` text COMMENT '备注',
`ctime` int(11) DEFAULT NULL COMMENT '创建时间',
`uptime` varchar(255) DEFAULT NULL COMMENT '更新时间',
`uid` int(11) DEFAULT NULL COMMENT '所属员工',
`del` smallint(6) DEFAULT '1' COMMENT '0.删除',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=158 DEFAULT CHARSET=utf8 COMMENT='订单表';
#
# Data for table "risk_order"
#
/*!40000 ALTER TABLE `risk_order` DISABLE KEYS */;
INSERT INTO `risk_order` VALUES (6,'小杜','175210152011','上海','12500000008663','9864856152',1,'66086608',2,'客户1',1514550445,'1514710615',142,0);
/*!40000 ALTER TABLE `risk_order` ENABLE KEYS */;
#
# Structure for table "risk_order_iccid"
#
DROP TABLE IF EXISTS `risk_order_iccid`;
CREATE TABLE `risk_order_iccid` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`oid` varchar(255) DEFAULT NULL,
`iccid` varchar(50) DEFAULT NULL,
`status` smallint(1) DEFAULT '1' COMMENT '1.待收货 2.已收货 2.已激活',
`ctime` int(11) DEFAULT NULL COMMENT '创建时间',
`jh_time` int(11) DEFAULT NULL COMMENT '激活时间',
`jh_phone` varchar(50) DEFAULT NULL COMMENT '激活的手机号',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=239 DEFAULT CHARSET=utf8 COMMENT='订单和iccid号';
#
# Data for table "risk_order_iccid"
#
/*!40000 ALTER TABLE `risk_order_iccid` DISABLE KEYS */;
/*!40000 ALTER TABLE `risk_order_iccid` ENABLE KEYS */;
|
Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values (nextval('SEQ_EG_ACTION'),'ServiceToBankMapping','/service/serviceTypeToBankAccountMapping-newform.action',null,(select id from eg_module where name='Collection Master'),1,' Service To Bank Mapping',true,'collection',0,1,to_timestamp('2015-08-15 11:02:31.028333','null'),1,to_timestamp('2015-08-15 11:02:31.028333','null'),(select id from eg_module where name='Collection'));
Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'),(select id from eg_action where name='ServiceToBankMapping'));
Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values
(nextval('SEQ_EG_ACTION'),'ServiceTypeToBankAccountMappingCreate','/service/serviceTypeToBankAccountMapping-create.action',null,
(select id from eg_module where name='Collection Master'),1,'Create Service To Bank Mapping',false,'collection',0,1,
to_timestamp('2015-08-15 11:02:31.028333','null'),1,to_timestamp('2015-08-15 11:02:31.028333','null'),(select id from eg_module where name='Collection'));
Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'),(select id from eg_action where name='ServiceTypeToBankAccountMappingCreate'));
Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values
(nextval('SEQ_EG_ACTION'),'ServiceTypeToBankAccountMappingSave','/service/serviceTypeToBankAccountMapping-save.action',null,
(select id from eg_module where name='Collection Master'),1,'Save Service To Bank Mapping',false,'collection',0,1,
to_timestamp('2015-08-15 11:02:31.028333','null'),1,to_timestamp('2015-08-15 11:02:31.028333','null'),(select id from eg_module where name='Collection'));
Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'),(select id from eg_action where name='ServiceTypeToBankAccountMappingSave'));
Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values
(nextval('SEQ_EG_ACTION'),'ServiceTypeToBankAccountMappingList','/service/serviceTypeToBankAccountMapping-list.action',null,
(select id from eg_module where name='Collection Master'),1,'List Service To Bank Mapping',false,'collection',0,1,
to_timestamp('2015-08-15 11:02:31.028333','null'),1,to_timestamp('2015-08-15 11:02:31.028333','null'),(select id from eg_module where name='Collection'));
Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'),(select id from eg_action where name='ServiceTypeToBankAccountMappingList'));
Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values
(nextval('SEQ_EG_ACTION'),'ServiceTypeToBankAccountMappingEdit','/service/serviceTypeToBankAccountMapping-edit.action',null,
(select id from eg_module where name='Collection Master'),1,'List Service To Bank Mapping',false,'collection',0,1,
to_timestamp('2015-08-15 11:02:31.028333','null'),1,to_timestamp('2015-08-15 11:02:31.028333','null'),(select id from eg_module where name='Collection'));
Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'),(select id from eg_action where name='ServiceTypeToBankAccountMappingEdit'));
|
-- @testpoint:openGauss关键字old(非保留),同时作为表名和列名带引号,建表成功
drop table if exists "old";
create table "old"(
c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer,
c_real real, c_double real,
c_decimal decimal(38), c_number number(38), c_numeric numeric(38),
c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000),
c_date date, c_datetime date, c_timestamp timestamp,
"old" varchar(100) default 'old'
)
PARTITION BY RANGE (c_integer)
(
partition P_20180121 values less than (0),
partition P_20190122 values less than (50000),
partition P_20200123 values less than (100000),
partition P_max values less than (maxvalue)
);
select * from "old";
drop table "old";
|
CREATE SCHEMA sui_utils;
CREATE FUNCTION sui_utils.json_difference(
first_json JSON,
second_json JSON,
first_result_key TEXT DEFAULT 'first'::TEXT,
second_result_key TEXT DEFAULT 'second'::TEXT
)
RETURNS JSON
LANGUAGE plpgsql
AS
$$
DECLARE
first_result JSON;
second_result JSON;
BEGIN
WITH json_difference AS (
SELECT first.key AS first_key,
first.value AS first_value,
second.key AS second_key,
second.value AS second_value
FROM json_each(first_json) first
FULL JOIN json_each(second_json) second
ON first.key = second.key
WHERE first.key IS NULL
OR second.key IS NULL
OR (first.value::TEXT != second.value::TEXT)
)
SELECT first.result, second.result
FROM (
SELECT json_object_agg(first_key, first_value) AS result
FROM json_difference
WHERE first_key IS NOT NULL
) first, (
SELECT json_object_agg(second_key, second_value) AS result
FROM json_difference
WHERE second_key IS NOT NULL
) second
INTO first_result, second_result;
RETURN json_build_object(
first_result_key,
first_result,
second_result_key,
second_result
);
END;
$$;
CREATE FUNCTION sui_utils.get_schema_name_from_oid(param_oid bigint)
RETURNS text
LANGUAGE plpgsql
AS
$$
DECLARE
schema_name TEXT;
BEGIN
SELECT relnamespace::regnamespace::TEXT
FROM pg_catalog.pg_class
WHERE oid = param_oid
INTO schema_name;
RETURN schema_name;
END;
$$;
CREATE SCHEMA log;
CREATE TABLE log.audit_log
(
id BIGSERIAL PRIMARY KEY,
table_info_id BIGINT NOT NULL REFERENCES sui_meta.table_info (id) ON DELETE CASCADE,
operation_type VARCHAR(32) NOT NULL,
row_id TEXT,
user_id BIGINT REFERENCES sui_security.users (id),
content JSON,
created TIMESTAMP DEFAULT now() NOT NULL,
db_user VARCHAR(64) NOT NULL
);
CREATE TABLE log.meta_audit_log
(
id BIGSERIAL PRIMARY KEY,
table_info_id BIGINT NOT NULL REFERENCES sui_meta.table_info (id) ON DELETE CASCADE,
operation_type VARCHAR(32) NOT NULL,
row_id TEXT,
user_id BIGINT REFERENCES sui_security.users (id),
content JSON,
created TIMESTAMP DEFAULT now() NOT NULL,
db_user VARCHAR(64) NOT NULL,
processed BOOLEAN DEFAULT FALSE NOT NULL
);
CREATE FUNCTION log.start_audit_table(table_info_id bigint)
RETURNS VOID
LANGUAGE plpgsql
AS
$$
DECLARE
table_oid BIGINT;
BEGIN
SELECT sui_meta.get_table_info_oid(table_info_id) INTO table_oid;
IF table_oid IS NULL THEN
RAISE EXCEPTION 'Не удалось идентифицировать таблицу с table_info_id = %', table_info_id;
END IF;
IF sui_utils.get_schema_name_from_oid(table_oid) = 'log' THEN
RAISE EXCEPTION 'Невозможно вести аудит данной таблицы';
END IF;
-- DELETE OLD TRIGGER
EXECUTE 'DROP TRIGGER IF EXISTS audit_log_trigger ON ' || table_oid::regclass::text || ';';
-- CREATE NEW TRIGGER
EXECUTE concat(
'CREATE TRIGGER audit_log_trigger',
' BEFORE UPDATE OR DELETE OR INSERT',
' ON ' || table_oid::regclass::text,
' FOR EACH ROW',
' EXECUTE PROCEDURE log.audit_table_modification();'
);
UPDATE sui_meta.table_info SET is_audited = TRUE WHERE id = table_info_id;
END;
$$;
CREATE FUNCTION log.stop_audit_table(table_info_id bigint)
RETURNS VOID
LANGUAGE plpgsql
AS
$$
DECLARE
table_oid BIGINT;
BEGIN
SELECT sui_meta.get_table_info_oid(table_info_id) INTO table_oid;
IF table_oid IS NULL THEN
RAISE EXCEPTION 'Не удалось идентифицировать таблицу с table_info_id = %', table_info_id;
END IF;
IF sui_utils.get_schema_name_from_oid(table_oid) = 'sui_meta' THEN
RAISE EXCEPTION 'Аудит метасхемы отключить нельзя';
END IF;
EXECUTE 'DROP TRIGGER IF EXISTS audit_log_trigger ON ' || table_oid::regclass::text || ';';
UPDATE sui_meta.table_info SET is_audited = false WHERE id = table_info_id;
END;
$$;
CREATE FUNCTION log.audit_table_modification()
RETURNS TRIGGER
SECURITY DEFINER
LANGUAGE plpgsql
AS
$$
DECLARE
audit_log_table_name TEXT;
schema_name TEXT;
query TEXT;
table_info_id BIGINT;
update_difference JSON;
BEGIN
SELECT table_def.schema_name, ti.id
FROM (
SELECT nspname AS schema_name, relname AS table_name
FROM pg_catalog.pg_class cl
INNER JOIN pg_catalog.pg_namespace nsp ON (cl.relnamespace = nsp.oid)
WHERE cl.oid = TG_RELID
) table_def
INNER JOIN sui_meta.table_info ti
ON (ti.schema_name = table_def.schema_name AND ti.table_name = table_def.table_name)
INTO schema_name, table_info_id;
IF (table_info_id IS NULL) THEN
RAISE EXCEPTION 'Не удалось найти table_info по TG_RELID = %', TG_RELID;
END IF;
audit_log_table_name := CASE WHEN lower(schema_name) = 'sui_meta' THEN 'meta_audit_log' ELSE 'audit_log' END;
query = concat(
'INSERT INTO log.' || audit_log_table_name || '(',
'table_info_id, operation_type, user_id, db_user, row_id, content',
') VALUES (',
concat_ws(
', ', -- separator
table_info_id,
'$1',
'(SELECT CASE WHEN u.id = '''' THEN NULL ELSE u.id::BIGINT END FROM (SELECT current_setting(''user.id'', true) AS id) u)',
'current_user',
'$2.id::TEXT',
'$3'
),
')'
);
IF (TG_OP = 'DELETE') THEN
EXECUTE query USING TG_OP, OLD, row_to_json(OLD);
RETURN OLD;
ELSIF (TG_OP = 'UPDATE') THEN
update_difference := sui_utils.json_difference(row_to_json(OLD), row_to_json(NEW), 'old', 'new');
IF (update_difference->>'old' IS NOT NULL OR update_difference->>'new' IS NOT NULL) THEN
EXECUTE query
USING TG_OP, OLD, update_difference;
END IF;
RETURN NEW;
ELSIF (TG_OP = 'INSERT') THEN
EXECUTE query USING TG_OP, NEW, row_to_json(NEW);
RETURN NEW;
END IF;
END;
$$;
|
--@lubo: The suffix 'a' means ANSI and NOT unicode @delimiter und @source parameter types. (like c++ suffices for ANSI)
-- For an unicode type use/define another function: 'hlsys_splitstringw'. (like c++ suffices for UNICODE)
-- @return: column 'id' can be used in the caller ordering expression predicates.
CREATE FUNCTION [dbo].[hlsys_splitstring]
(
@delimiter NCHAR(1),
@source NVARCHAR(MAX) -- ANSI!!!!
)
RETURNS TABLE AS RETURN
(
WITH csvtbl([start], [stop], depth) AS
(
SELECT [start] = CONVERT(BIGINT, 1)
, [stop] = CHARINDEX(@delimiter, @source + CONVERT(NVARCHAR(MAX), @delimiter))
, [depth] = CONVERT(BIGINT, 0)
UNION ALL
SELECT [start] = [hy].[stop] + 1
, [stop] = CHARINDEX(@delimiter, @source + CONVERT(NVARCHAR(MAX), @delimiter), [hy].[stop] + 1)
, [depth] = [depth] + 1
FROM csvtbl AS hy
WHERE [hy].[stop] > 0
)
SELECT sq.depth AS id
, CONVERT(NVARCHAR(MAX), SUBSTRING(@source, sq.[start],
CASE WHEN sq.[stop] > 0 THEN sq.[stop] - sq.[start] ELSE 0 END)
) AS value
FROM csvtbl AS sq
WHERE [stop] > 0
)
|
autocommit off;
create table dual (
dummy varchar(1)
);
insert into dual values ('X');
create table test_months_between (
type_numeric numeric(10,5)
)
insert into test_months_between (type_numeric) values (months_between(date '12/1/1999', date '11/1/1999'));
select type_numeric ,months_between(date '12/1/1999', date '11/1/1999') from test_months_between;
select months_between(date '1/1/1', date '12/1/9999') from dual;
select months_between(date '1/1/1', date '1/1/1') from dual;
select months_between(date '2/1/1', date '1/1/1') from dual;
select months_between(date '3/1/1', date '1/1/1') from dual;
select months_between(date '4/1/1', date '1/1/1') from dual;
select months_between(date '5/1/1', date '1/1/1') from dual;
select months_between(date '6/1/1', date '1/1/1') from dual;
select months_between(date '7/1/1', date '1/1/1') from dual;
select months_between(date '8/1/1', date '1/1/1') from dual;
select months_between(date '9/1/1', date '1/1/1') from dual;
select months_between(date '10/1/1', date '1/1/1') from dual;
select months_between(date '11/1/1', date '1/1/1') from dual;
select months_between(date '12/1/1', date '1/1/1') from dual;
select cast (months_between(date '12/1/1', date '1/1/1') as integer )from dual;
select months_between(date '1/31/1', date '1/31/1') from dual;
select months_between(date '2/28/1', date '1/31/1') from dual;
select months_between(date '3/31/1', date '1/31/1') from dual;
select months_between(date '4/30/1', date '1/31/1') from dual;
select months_between(date '5/31/1', date '1/31/1') from dual;
select months_between(date '6/30/1', date '1/31/1') from dual;
select months_between(date '7/31/1', date '1/31/1') from dual;
select months_between(date '8/31/1', date '1/31/1') from dual;
select months_between(date '9/30/1', date '1/31/1') from dual;
select months_between(date '10/31/1', date '1/31/1') from dual;
select months_between(date '11/30/1', date '1/31/1') from dual;
select cast(months_between(date '12/1/1', date '1/31/1') as int) from dual;
drop table dual;
drop table test_months_between;
rollback;
|
-- Rename jiveUser to ofUser
DROP INDEX jiveUser_cDate_idx;
ALTER TABLE jiveUser DROP CONSTRAINT jiveUser_pk;
ALTER TABLE jiveUser RENAME TO ofUser;
ALTER TABLE ofUser ADD CONSTRAINT ofUser_pk PRIMARY KEY (username);
CREATE INDEX ofUser_cDate_idx ON ofUser (creationDate ASC);
-- Rename jiveUserProp to ofUserProp
ALTER TABLE jiveUserProp DROP CONSTRAINT jiveUserProp_pk;
ALTER TABLE jiveUserProp RENAME TO ofUserProp;
ALTER TABLE ofUserProp ADD CONSTRAINT ofUserProp_pk PRIMARY KEY (username, name);
-- Rename jiveUserFlag to ofUserFlag
DROP INDEX jiveUserFlag_sTime_idx;
DROP INDEX jiveUserFlag_eTime_idx;
ALTER TABLE jiveUserFlag DROP CONSTRAINT jiveUserFlag_pk;
ALTER TABLE jiveUserFlag RENAME TO ofUserFlag;
ALTER TABLE ofUserFlag ADD CONSTRAINT ofUserFlag_pk PRIMARY KEY (username, name);
CREATE INDEX ofUserFlag_sTime_idx ON ofUserFlag (startTime ASC);
CREATE INDEX ofUserFlag_eTime_idx ON ofUserFlag (endTime ASC);
-- Rename jiveGroup to ofGroup
ALTER TABLE jiveGroup DROP CONSTRAINT jiveGroup_pk;
ALTER TABLE jiveGroup RENAME TO ofGroup;
ALTER TABLE ofGroup ADD CONSTRAINT ofGroup_pk PRIMARY KEY (groupName);
-- Rename jiveGroupProp to ofGroupProp
ALTER TABLE jiveGroupProp DROP CONSTRAINT jiveGroupProp_pk;
ALTER TABLE jiveGroupProp RENAME TO ofGroupProp;
ALTER TABLE ofGroupProp ADD CONSTRAINT ofGroupProp_pk PRIMARY KEY (groupName, name);
-- Rename jiveGroupUser to ofGroupUser
ALTER TABLE jiveGroupUser DROP CONSTRAINT jiveGroupUser;
ALTER TABLE jiveGroupUser RENAME TO ofGroupUser;
ALTER TABLE ofGroupUser ADD CONSTRAINT ofGroupUser_pk PRIMARY KEY (groupName, username, administrator);
-- Rename jivePrivate to ofPrivate
ALTER TABLE jivePrivate DROP CONSTRAINT jivePrivate_pk;
ALTER TABLE jivePrivate RENAME TO ofPrivate;
ALTER TABLE ofPrivate ADD CONSTRAINT ofPrivate_pk PRIMARY KEY (username, name, namespace);
-- Rename jiveOffline to ofOffline
ALTER TABLE jiveOffline DROP CONSTRAINT jiveOffline_pk;
ALTER TABLE jiveOffline RENAME TO ofOffline;
ALTER TABLE ofOffline ADD CONSTRAINT ofOffline_pk PRIMARY KEY (username, messageID);
-- Rename jivePresence to ofPresence
ALTER TABLE jivePresence DROP CONSTRAINT jivePresence_pk;
ALTER TABLE jivePresence RENAME TO ofPresence;
ALTER TABLE ofPresence ADD CONSTRAINT ofPresence_pk PRIMARY KEY (username);
-- Drop foreign key on jiveRoster from jiveRosterGroups
ALTER TABLE jiveRosterGroups DROP CONSTRAINT jiveRosterGroups_rosterID_fk;
-- Rename jiveRoster to ofRoster
DROP INDEX jiveRoster_username_idx;
DROP INDEX jiveRoster_jid_idx;
ALTER TABLE jiveRoster DROP CONSTRAINT jiveRoster_pk;
ALTER TABLE jiveRoster RENAME TO ofRoster;
ALTER TABLE ofRoster ADD CONSTRAINT ofRoster_pk PRIMARY KEY (rosterID);
CREATE INDEX ofRoster_username_idx ON ofRoster (username ASC);
CREATE INDEX ofRoster_jid_idx ON ofRoster (jid ASC);
-- Rename jiveRosterGroups to ofRosterGroups
DROP INDEX jiveRosterGroup_rosterid_idx;
ALTER TABLE jiveRosterGroups DROP CONSTRAINT jiveRosterGroups_pk;
ALTER TABLE jiveRosterGroups RENAME TO ofRosterGroups;
ALTER TABLE ofRosterGroups ADD CONSTRAINT ofRosterGroups_pk PRIMARY KEY (rosterID, rank);
CREATE INDEX ofRosterGroup_rosterid_idx ON ofRosterGroups (rosterID ASC);
-- Readd foreign key
ALTER TABLE ofRosterGroups ADD CONSTRAINT ofRosterGroups_rosterID_fk FOREIGN KEY (rosterID) REFERENCES ofRoster INITIALLY DEFERRED DEFERRABLE;
-- Rename jiveVCard to ofVCard
ALTER TABLE jiveVCard DROP CONSTRAINT JiveVCard_pk;
ALTER TABLE jiveVCard RENAME TO ofVCard;
ALTER TABLE ofVCard ADD CONSTRAINT ofVCard_pk PRIMARY KEY (username);
-- Rename jiveID to ofID
ALTER TABLE jiveID DROP CONSTRAINT jiveID_pk;
ALTER TABLE jiveID RENAME TO ofID;
ALTER TABLE ofID ADD CONSTRAINT ofID_pk PRIMARY KEY (idType);
-- Rename jiveProperty to ofProperty
ALTER TABLE jiveProperty DROP CONSTRAINT jiveProperty_pk;
ALTER TABLE jiveProperty RENAME TO ofProperty;
ALTER TABLE ofProperty ADD CONSTRAINT ofProperty_pk PRIMARY KEY (name);
-- Rename jiveVersion to ofVersion
ALTER TABLE jiveVersion DROP CONSTRAINT jiveVersion_pk;
ALTER TABLE jiveVersion RENAME TO ofVersion;
ALTER TABLE ofVersion ADD CONSTRAINT ofVersion_pk PRIMARY KEY (name);
-- Rename jiveExtComponentConf to ofExtComponentConf
ALTER TABLE jiveExtComponentConf DROP CONSTRAINT jiveExtComponentConf_pk;
ALTER TABLE jiveExtComponentConf RENAME TO ofExtComponentConf;
ALTER TABLE ofExtComponentConf ADD CONSTRAINT ofExtComponentConf_pk PRIMARY KEY (subdomain);
-- Rename jiveRemoteServerConf to ofRemoteServerConf
ALTER TABLE jiveRemoteServerConf DROP CONSTRAINT jiveRemoteServerConf_pk;
ALTER TABLE jiveRemoteServerConf RENAME TO ofRemoteServerConf;
ALTER TABLE ofRemoteServerConf ADD CONSTRAINT ofRemoteServerConf_pk PRIMARY KEY (xmppDomain);
-- Rename jivePrivacyList to ofPrivacyList
DROP INDEX jivePList_default_idx;
ALTER TABLE jivePrivacyList DROP CONSTRAINT jivePrivacyList_pk;
ALTER TABLE jivePrivacyList RENAME TO ofPrivacyList;
ALTER TABLE ofPrivacyList ADD CONSTRAINT ofPrivacyList_pk PRIMARY KEY (username, name);
CREATE INDEX ofPrivacyList_default_idx ON ofPrivacyList (username, isDefault);
-- Rename jiveSASLAuthorized to ofSASLAuthorized
ALTER TABLE jiveSASLAuthorized DROP CONSTRAINT jiveSASLAuthoirzed_pk;
ALTER TABLE jiveSASLAuthorized RENAME TO ofSASLAuthorized;
ALTER TABLE ofSASLAuthorized ADD CONSTRAINT ofSASLAuthorized_pk PRIMARY KEY (username, principal);
-- Rename jiveSecurityAuditLog to ofSecurityAuditLog
DROP INDEX jiveSecAuditLog_tstamp_idx;
DROP INDEX jiveSecAuditLog_uname_idx;
ALTER TABLE jiveSecurityAuditLog DROP CONSTRAINT jiveSecAuditLog_pk;
ALTER TABLE jiveSecurityAuditLog RENAME TO ofSecurityAuditLog;
ALTER TABLE ofSecurityAuditLog ADD CONSTRAINT ofSecurityAuditLog_pk PRIMARY KEY (msgID);
CREATE INDEX ofSecurityAuditLog_tstamp_idx ON ofSecurityAuditLog (entryStamp);
CREATE INDEX ofSecurityAuditLog_uname_idx ON ofSecurityAuditLog (username);
-- Rename mucService to ofMucService
DROP INDEX mucService_serviceid_idx;
ALTER TABLE mucService DROP CONSTRAINT mucService_pk;
ALTER TABLE mucService RENAME TO ofMucService;
ALTER TABLE ofMucService ADD CONSTRAINT ofMucService_pk PRIMARY KEY (subdomain);
CREATE INDEX ofMucService_serviceid_idx ON ofMucService(serviceID);
-- Rename mucServiceProp to ofMucServiceProp
ALTER TABLE mucServiceProp DROP CONSTRAINT mucServiceProp_pk;
ALTER TABLE mucServiceProp RENAME TO ofMucServiceProp;
ALTER TABLE ofMucServiceProp ADD CONSTRAINT ofMucServiceProp_pk PRIMARY KEY (serviceID, name);
-- Rename mucRoom to ofMucRoom
DROP INDEX mucRoom_roomid_idx;
DROP INDEX mucRm_serviceid_idx;
ALTER TABLE mucRoom DROP CONSTRAINT mucRoom_pk;
ALTER TABLE mucRoom RENAME TO ofMucRoom;
ALTER TABLE ofMucRoom ADD CONSTRAINT ofMucRoom_pk PRIMARY KEY (serviceID, name);
CREATE INDEX ofMucRoom_roomid_idx ON ofMucRoom (roomID);
CREATE INDEX ofMucRoom_serviceid_idx ON ofMucRoom (serviceID);
-- Rename mucRoomProp to ofMucRoomProp
ALTER TABLE mucRoomProp DROP CONSTRAINT mucRoomProp_pk;
ALTER TABLE mucRoomProp RENAME TO ofMucRoomProp;
ALTER TABLE ofMucRoomProp ADD CONSTRAINT ofMucRoomProp_pk PRIMARY KEY (roomID, name);
-- Rename mucAffiliation to ofMucAffiliation
ALTER TABLE mucAffiliation DROP CONSTRAINT mucAffiliation_pk;
ALTER TABLE mucAffiliation RENAME TO ofMucAffiliation;
ALTER TABLE ofMucAffiliation ADD CONSTRAINT ofMucAffiliation_pk PRIMARY KEY (roomID, jid);
-- Rename mucMember to ofMucMember
ALTER TABLE mucMember DROP CONSTRAINT mucMember_pk;
ALTER TABLE mucMember RENAME TO ofMucMember;
ALTER TABLE ofMucMember ADD CONSTRAINT ofMucMember_pk PRIMARY KEY (roomID, jid);
-- Rename mucConversationLog to ofMucConversationLog
DROP INDEX mucLog_time_idx;
ALTER TABLE mucConversationLog RENAME TO ofMucConversationLog;
CREATE INDEX ofMucConversationLog_time_idx ON ofMucConversationLog (logTime);
-- Rename pubsubNode to ofPubsubNode
ALTER TABLE pubsubNode DROP CONSTRAINT pubsubNode_pk;
ALTER TABLE pubsubNode RENAME TO ofPubsubNode;
ALTER TABLE ofPubsubNode ADD CONSTRAINT ofPubsubNode_pk PRIMARY KEY (serviceID, nodeID);
-- Rename pubsubNodeJIDs to ofPubsubNodeJIDs
ALTER TABLE pubsubNodeJIDs DROP CONSTRAINT pubsubJID_pk;
ALTER TABLE pubsubNodeJIDs RENAME TO ofPubsubNodeJIDs;
ALTER TABLE ofPubsubNodeJIDs ADD CONSTRAINT ofPubsubNodeJIDs_pk PRIMARY KEY (serviceID, nodeID, jid);
-- Rename pubsubNodeGroups to ofPubsubNodeGroups
DROP INDEX pubsubNodeGroups_idx;
ALTER TABLE pubsubNodeGroups RENAME TO ofPubsubNodeGroups;
CREATE INDEX ofPubsubNodeGroups_idx ON ofPubsubNodeGroups (serviceID, nodeID);
-- Rename pubsubAffiliation to ofPubsubAffiliation
ALTER TABLE pubsubAffiliation DROP CONSTRAINT pubsubAffil_pk;
ALTER TABLE pubsubAffiliation RENAME TO ofPubsubAffiliation;
ALTER TABLE ofPubsubAffiliation ADD CONSTRAINT ofPubsubAffiliation_pk PRIMARY KEY (serviceID, nodeID, jid);
-- Rename pubsubItem to ofPubsubItem
ALTER TABLE pubsubItem DROP CONSTRAINT pubsubItem_pk;
ALTER TABLE pubsubItem RENAME TO ofPubsubItem;
ALTER TABLE ofPubsubItem ADD CONSTRAINT ofPubsubItem_pk PRIMARY KEY (serviceID, nodeID, id);
-- Rename pubsubSubscription to ofPubsubSubscription
ALTER TABLE pubsubSubscription DROP CONSTRAINT pubsubSubs_pk;
ALTER TABLE pubsubSubscription RENAME TO ofPubsubSubscription;
ALTER TABLE ofPubsubSubscription ADD CONSTRAINT ofPubsubSubscription_pk PRIMARY KEY (serviceID, nodeID, id);
-- Rename pubsubDefaultConf to ofPubsubDefaultConf
ALTER TABLE pubsubDefaultConf DROP CONSTRAINT pubsubDefConf_pk;
ALTER TABLE pubsubDefaultConf RENAME TO ofPubsubDefaultConf;
ALTER TABLE ofPubsubDefaultConf ADD CONSTRAINT ofPubsubDefaultConf_pk PRIMARY KEY (serviceID, leaf);
-- Update version
UPDATE ofVersion SET version = 19 WHERE name = 'openfire';
COMMIT;
|
'From Cuis 4.0 of 21 April 2012 [latest update: #1308] on 15 June 2012 at 12:30:16 am'!
'Description Basic definitions for Cypress. Install first.'!
!classDefinition: #CypressDefinition category: #'Cypress-Definitions'!
Object subclass: #CypressDefinition
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressDefinition class' category: #'Cypress-Definitions'!
CypressDefinition class
instanceVariableNames: ''!
!classDefinition: #CypressClassDefinition category: #'Cypress-Definitions'!
CypressDefinition subclass: #CypressClassDefinition
instanceVariableNames: 'name superclassName category comment instVarNames classInstVarNames'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressClassDefinition class' category: #'Cypress-Definitions'!
CypressClassDefinition class
instanceVariableNames: ''!
!classDefinition: #CypressDefinitionIndex category: #'Cypress-Definitions'!
Object subclass: #CypressDefinitionIndex
instanceVariableNames: 'definitionMap'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressDefinitionIndex class' category: #'Cypress-Definitions'!
CypressDefinitionIndex class
instanceVariableNames: ''!
!classDefinition: #CypressDependencySorter category: #'Cypress-Definitions'!
Object subclass: #CypressDependencySorter
instanceVariableNames: 'required provided orderedItems'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressDependencySorter class' category: #'Cypress-Definitions'!
CypressDependencySorter class
instanceVariableNames: ''!
!classDefinition: #CypressLoader category: #'Cypress-Definitions'!
Object subclass: #CypressLoader
instanceVariableNames: 'additions removals unloadable provisions errors methodAdditions requirements'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressLoader class' category: #'Cypress-Definitions'!
CypressLoader class
instanceVariableNames: ''!
!classDefinition: #CypressMethodDefinition category: #'Cypress-Definitions'!
CypressDefinition subclass: #CypressMethodDefinition
instanceVariableNames: 'classIsMeta source category selector className timeStamp'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressMethodDefinition class' category: #'Cypress-Definitions'!
CypressMethodDefinition class
instanceVariableNames: ''!
!classDefinition: #CypressPackageDefinition category: #'Cypress-Definitions'!
Object subclass: #CypressPackageDefinition
instanceVariableNames: 'name'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressPackageDefinition class' category: #'Cypress-Definitions'!
CypressPackageDefinition class
instanceVariableNames: ''!
!classDefinition: #CypressPatch category: #'Cypress-Definitions'!
Object subclass: #CypressPatch
instanceVariableNames: 'operations'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressPatch class' category: #'Cypress-Definitions'!
CypressPatch class
instanceVariableNames: ''!
!classDefinition: #CypressPatchOperation category: #'Cypress-Definitions'!
Object subclass: #CypressPatchOperation
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressPatchOperation class' category: #'Cypress-Definitions'!
CypressPatchOperation class
instanceVariableNames: ''!
!classDefinition: #CypressAddition category: #'Cypress-Definitions'!
CypressPatchOperation subclass: #CypressAddition
instanceVariableNames: 'definition'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressAddition class' category: #'Cypress-Definitions'!
CypressAddition class
instanceVariableNames: ''!
!classDefinition: #CypressModification category: #'Cypress-Definitions'!
CypressPatchOperation subclass: #CypressModification
instanceVariableNames: 'obsoletion modification'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressModification class' category: #'Cypress-Definitions'!
CypressModification class
instanceVariableNames: ''!
!classDefinition: #CypressRemoval category: #'Cypress-Definitions'!
CypressPatchOperation subclass: #CypressRemoval
instanceVariableNames: 'definition'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressRemoval class' category: #'Cypress-Definitions'!
CypressRemoval class
instanceVariableNames: ''!
!classDefinition: #CypressSnapshot category: #'Cypress-Definitions'!
Object subclass: #CypressSnapshot
instanceVariableNames: 'definitions'
classVariableNames: ''
poolDictionaries: ''
category: 'Cypress-Definitions'!
!classDefinition: 'CypressSnapshot class' category: #'Cypress-Definitions'!
CypressSnapshot class
instanceVariableNames: ''!
!Class methodsFor: '*Cypress-Definitions' stamp: 'dkh 4/23/2012 20:54'!
asCypressClassDefinition
^CypressClassDefinition
name: self name
superclassName: self superclass name
category: self category
instVarNames: self instVarNames
classInstVarNames: self class instVarNames
comment: self comment
! !
!CompiledMethod methodsFor: '*Cypress-Definitions' stamp: 'jmv 6/14/2012 23:50'!
asCypressMethodDefinition
^CypressMethodDefinition
className: (self methodClass isMeta ifTrue: [ self methodClass theNonMetaClass ] ifFalse: [ self methodClass ]) name
classIsMeta: self methodClass isMeta
selector: self selector
category: self category
source: self getSource
timeStamp: self timeStamp
! !
!CypressAddition methodsFor: 'comparing'!
= aPatchOperation
^(super = aPatchOperation) and: [self definition = aPatchOperation definition]
! !
!CypressAddition methodsFor: 'applying'!
applyTo: aCypressLoader
aCypressLoader applyAddition: self
! !
!CypressAddition methodsFor: 'accessing'!
definition
^definition
! !
!CypressAddition methodsFor: 'initialization'!
definition: aDefinition
definition := aDefinition
! !
!CypressAddition methodsFor: 'accessing' stamp: 'dkh 4/23/2012 23:22'!
description
^ 'add: ' , self definition printString! !
!CypressAddition methodsFor: 'loading'!
loadClassDefinition
self definition loadClassDefinition
! !
!CypressAddition methodsFor: 'loading'!
loadMethodDefinition
self definition loadMethodDefinition
! !
!CypressAddition methodsFor: 'loading'!
postLoadDefinition
self definition postLoadOver: nil
! !
!CypressAddition methodsFor: 'printing' stamp: 'dkh 4/23/2012 20:24'!
printString
| str |
str := WriteStream on: String new.
str
nextPutAll: super printString;
nextPutAll: ' (';
nextPutAll: self description;
nextPutAll: ')'.
^str contents
! !
!CypressAddition methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
^self definition provisions
! !
!CypressAddition methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
^self definition requirements
! !
!CypressAddition class methodsFor: 'instance creation'!
of: aDefinition
^ self new definition: aDefinition
! !
!CypressClassDefinition methodsFor: 'comparing'!
= aDefinition
^(super = aDefinition)
and: [superclassName = aDefinition superclassName
and: [category = aDefinition category
and: [instVarNames = aDefinition instVarNames
and: [classInstVarNames = aDefinition classInstVarNames
and: [comment = aDefinition comment]]]]]
! !
!CypressClassDefinition methodsFor: 'loading' stamp: 'jmv 6/7/2012 00:07'!
actualClass
^Smalltalk at: self name
! !
!CypressClassDefinition methodsFor: 'converting'!
asCypressClassDefinition
^self
! !
!CypressClassDefinition methodsFor: 'accessing'!
category
^category
! !
!CypressClassDefinition methodsFor: 'visiting'!
classDefinition: classBlock methodDefinition: methodBlock
classBlock value: self
! !
!CypressClassDefinition methodsFor: 'accessing'!
classInstVarNames
^classInstVarNames
! !
!CypressClassDefinition methodsFor: 'accessing'!
className
^self name
! !
!CypressClassDefinition methodsFor: 'accessing'!
comment
^comment
! !
!CypressClassDefinition methodsFor: 'loading' stamp: 'jmv 6/7/2012 00:07'!
createClass
| superClass |
superClass := Smalltalk at: self superclassName.
^ClassBuilder new
superclass: superClass
subclass: self name
instanceVariableNames: (self stringForVariables: self instVarNames)
classVariableNames: '' poolDictionaries: '' category: self category
! !
!CypressClassDefinition methodsFor: 'accessing'!
description
^ Array with: name
! !
!CypressClassDefinition methodsFor: 'comparing' stamp: 'dkh 4/23/2012 21:30'!
hash
| hash |
hash := String stringHash: name initialHash: 0.
hash := String stringHash: superclassName initialHash: hash.
hash := String stringHash: (category ifNil: [ '' ]) initialHash: hash.
instVarNames , classInstVarNames do: [ :vName | hash := String stringHash: vName initialHash: hash ].
^ hash! !
!CypressClassDefinition methodsFor: 'accessing'!
instVarNames
^instVarNames
! !
!CypressClassDefinition methodsFor: 'loading'!
loadClassDefinition
| cls |
cls := self createClass.
cls class instanceVariableNames: (self stringForVariables: self classInstVarNames).
self comment notEmpty ifTrue: [ cls comment: self comment ]
! !
!CypressClassDefinition methodsFor: 'accessing'!
name
^name
! !
!CypressClassDefinition methodsFor: 'initialization' stamp: 'jmv 6/7/2012 00:09'!
name: aClassName superclassName: aSuperclassName category: aCategory instVarNames: anInstanceVariableNames classInstVarNames: aClassInstanceVariableNames comment: aComment
name := aClassName asSymbol.
superclassName := aSuperclassName asSymbol.
category := aCategory asSymbol.
instVarNames := anInstanceVariableNames.
classInstVarNames := aClassInstanceVariableNames.
comment := aComment
! !
!CypressClassDefinition methodsFor: 'printString' stamp: 'dkh 4/23/2012 20:24'!
printString
| str |
str := WriteStream on: String new.
str
nextPutAll: super printString;
nextPutAll: ' (';
nextPutAll: self name;
nextPutAll: ')'.
^str contents
! !
!CypressClassDefinition methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
^{ self name }
! !
!CypressClassDefinition methodsFor: 'dependency' stamp: 'jmv 6/7/2012 00:04'!
requirements
"Answer list of global names required by this definition"
^{self superclassName}
! !
!CypressClassDefinition methodsFor: 'printString'!
stringForVariables: aCollectionOfVariableNames
^ String streamContents:
[:stream |
aCollectionOfVariableNames
do: [:ea | stream nextPutAll: ea]
separatedBy: [stream space]]
! !
!CypressClassDefinition methodsFor: 'accessing'!
superclassName
^superclassName
! !
!CypressClassDefinition methodsFor: 'loading' stamp: 'jmv 6/7/2012 00:07'!
unloadDefinition
Smalltalk removeClass: self actualClass.
! !
!CypressClassDefinition class methodsFor: 'instance creation'!
name: aClassName
superclassName: aSuperclassName
category: aCategory
instVarNames: anInstanceVariableNames
classInstVarNames: aClassInstanceVariableNames
comment: aComment
^(self new)
name: aClassName
superclassName: aSuperclassName
category: aCategory
instVarNames: anInstanceVariableNames
classInstVarNames: aClassInstanceVariableNames
comment: aComment
! !
!CypressDefinition methodsFor: 'comparing'!
= aDefinition
^(aDefinition isKindOf: CypressDefinition) and: [self isRevisionOf: aDefinition]
! !
!CypressDefinition methodsFor: 'loading'!
actualClass
self subclassResponsibility
! !
!CypressDefinition methodsFor: 'visiting'!
classDefinition: classBlock methodDefinition: methodBlock
"default is noop"
! !
!CypressDefinition methodsFor: 'accessing'!
description
self subclassResponsibility
! !
!CypressDefinition methodsFor: 'testing'!
isRevisionOf: aDefinition
^ (aDefinition isKindOf: CypressDefinition) and: [aDefinition description = self description]
! !
!CypressDefinition methodsFor: 'testing'!
isSameRevisionAs: aDefinition
^ self = aDefinition
! !
!CypressDefinition methodsFor: 'loading'!
loadClassDefinition
"default is to do nothing"
! !
!CypressDefinition methodsFor: 'loading'!
loadMethodDefinition
"default is to do nothing"
! !
!CypressDefinition methodsFor: 'loading'!
postLoad
"noop"
! !
!CypressDefinition methodsFor: 'loading'!
postLoadOver: aDefinition
self postLoad
! !
!CypressDefinition methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
^#()
! !
!CypressDefinition methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
^#()
! !
!CypressDefinition methodsFor: 'loading'!
unloadDefinition
self subclassResponsibility
! !
!CypressDefinitionIndex methodsFor: 'adding'!
add: aDefinition
^ self definitionMap at: aDefinition description put: aDefinition
! !
!CypressDefinitionIndex methodsFor: 'adding'!
addAll: aCollection
aCollection do: [:ea | self add: ea]
! !
!CypressDefinitionIndex methodsFor: 'querying'!
definitionLike: aDefinition ifPresent: foundBlock ifAbsent: errorBlock
| definition |
definition := self definitionMap at: aDefinition description ifAbsent: [].
^ definition
ifNil: errorBlock
ifNotNil: [foundBlock value: definition]
! !
!CypressDefinitionIndex methodsFor: 'accessing'!
definitionMap
definitionMap ifNil: [ definitionMap := Dictionary new ].
^ definitionMap
! !
!CypressDefinitionIndex methodsFor: 'accessing'!
definitions
^self definitionMap values
! !
!CypressDefinitionIndex methodsFor: 'removing'!
remove: aDefinition
self definitionMap removeKey: aDefinition description ifAbsent: []
! !
!CypressDefinitionIndex class methodsFor: 'instance creation'!
definitions: aCollection
^ self new addAll: aCollection
! !
!CypressDependencySorter methodsFor: 'building'!
add: aPatchOperation
| requirements |
requirements := self unresolvedRequirementsFor: aPatchOperation.
requirements isEmpty
ifTrue: [self addToOrder: aPatchOperation]
ifFalse: [self addRequirements: requirements for: aPatchOperation].
^ aPatchOperation
! !
!CypressDependencySorter methodsFor: 'building'!
addAll: aCollection
aCollection do: [:aPatchOperation | self add: aPatchOperation ]
! !
!CypressDependencySorter methodsFor: 'private'!
addExternalProvisions: aCollection
(aCollection intersection: self externalRequirements)
do: [:globalName | self addProvision: globalName]
! !
!CypressDependencySorter methodsFor: 'private'!
addProvision: aGlobalName
| newlySatisfied |
self provided add: aGlobalName.
newlySatisfied := self required removeKey: aGlobalName ifAbsent: [#()].
self addAll: newlySatisfied.
! !
!CypressDependencySorter methodsFor: 'private'!
addRequirement: globalName for: aPatchOperation
(self itemsRequiring: globalName) add: aPatchOperation
! !
!CypressDependencySorter methodsFor: 'private'!
addRequirements: aCollection for: aPatchOperation
aCollection do: [:globalName | self addRequirement: globalName for: aPatchOperation]
! !
!CypressDependencySorter methodsFor: 'private'!
addToOrder: aPatchOperation
self orderedItems add: aPatchOperation.
aPatchOperation provisions do: [:globalName | self addProvision: globalName ].
! !
!CypressDependencySorter methodsFor: 'accessing'!
externalRequirements
| unloaded providedByUnloaded |
unloaded := self itemsWithMissingRequirements.
providedByUnloaded := (unloaded gather: [:e | e provisions]) asSet.
^ self required keys reject: [:globalName | providedByUnloaded includes: globalName ]
! !
!CypressDependencySorter methodsFor: 'private'!
itemsRequiring: globalName
^ self required at: globalName ifAbsentPut: [Set new]
! !
!CypressDependencySorter methodsFor: 'accessing'!
itemsWithMissingRequirements
| patchOperations |
patchOperations := Set new.
self required values do: [:aSetOfPatchOperations | patchOperations addAll: aSetOfPatchOperations ].
^ patchOperations
! !
!CypressDependencySorter methodsFor: 'accessing'!
orderedItems
"ordered list of patch operations"
orderedItems ifNil: [ orderedItems := OrderedCollection new ].
^orderedItems
! !
!CypressDependencySorter methodsFor: 'accessing'!
provided
"set of global names provided by definitions already loaded"
provided ifNil: [ provided := Set new ].
^provided
! !
!CypressDependencySorter methodsFor: 'accessing'!
required
"dictionary of required global name mapped to list of definitions that require the global"
required ifNil: [ required := Dictionary new ].
^required
! !
!CypressDependencySorter methodsFor: 'private'!
unresolvedRequirementsFor: aPatchOperation
"Answer a list of global names that are required by <aPatchOperation>, but not
provided by patchOperations that have already been processed"
^ aPatchOperation requirements difference: self provided
! !
!CypressLoader methodsFor: 'accessing'!
additions
additions ifNil: [ additions := OrderedCollection new ].
^additions
! !
!CypressLoader methodsFor: 'loading'!
analyze
self
analyzeAdditions;
analyzeRemovals
! !
!CypressLoader methodsFor: 'loading'!
analyzeAdditions
| sorter |
sorter := CypressDependencySorter new
addAll: self additions;
addExternalProvisions: self provisions;
yourself.
additions := sorter orderedItems.
requirements := sorter externalRequirements.
unloadable := sorter itemsWithMissingRequirements.
! !
!CypressLoader methodsFor: 'loading'!
analyzeRemovals
| sorter |
sorter := CypressDependencySorter new
addAll: self removals;
yourself.
removals := sorter orderedItems reversed.
! !
!CypressLoader methodsFor: 'applying'!
applyAddition: aCypressPatchOperation
self additions add: aCypressPatchOperation
! !
!CypressLoader methodsFor: 'applying'!
applyModification: aCypressPatchOperation
self additions add: aCypressPatchOperation
! !
!CypressLoader methodsFor: 'applying'!
applyRemoval: aCypressPatchOperation
self removals add: aCypressPatchOperation
! !
!CypressLoader methodsFor: 'loading' stamp: 'dkh 4/23/2012 20:26'!
basicLoad
errors := OrderedCollection new.
self additions do: [:ea | self loadClassDefinition: ea ]. "load class definitions first"
self additions do: [:ea | self loadMethodDefinition: ea ] . "load method definitions now"
self removals do: [:ea | self unloadDefinition: ea ]. "now we can remove things"
self errors do: [:ea | ea addMethodAdditionTo: methodAdditions]. "not sure about methodAddtions...yet"
self methodAdditions do: [:ea | self loadMethodAddition: ea ]. "ditto"
self additions do: [:ea | self postLoad: ea ]. "this is where the obsoletion is taken into account ..."
! !
!CypressLoader methodsFor: 'accessing'!
errors
errors ifNil: [ errors := OrderedCollection new ].
^errors
! !
!CypressLoader methodsFor: 'error handling' stamp: 'dkh 4/24/2012 15:30'!
handleErrorFor: aPatchOperation during: aBlock
aBlock on: Error do: [:ex | self errors add: aPatchOperation ].
! !
!CypressLoader methodsFor: 'loading'!
load
self analyze.
self unloadable isEmpty ifFalse: [self unloadableDefinitionsError].
self basicLoad
! !
!CypressLoader methodsFor: 'operations'!
loadClassDefinition: aPatchOperation
self
handleErrorFor: aPatchOperation
during: [ aPatchOperation loadClassDefinition ]
! !
!CypressLoader methodsFor: 'operations'!
loadMethodDefinition: aPatchOperation
self
handleErrorFor: aPatchOperation
during: [ aPatchOperation loadMethodDefinition ]
! !
!CypressLoader methodsFor: 'accessing'!
methodAdditions
^#()
! !
!CypressLoader methodsFor: 'operations'!
postLoad: aPatchOperation
aPatchOperation postLoadDefinition
! !
!CypressLoader methodsFor: 'accessing' stamp: 'dkh 4/23/2012 21:03'!
provisions
^ provisions ifNil: [provisions := (Smalltalk classes collect: [:cl | cl name]) asSet ]
! !
!CypressLoader methodsFor: 'accessing'!
removals
removals ifNil: [ removals := OrderedCollection new ].
^removals
! !
!CypressLoader methodsFor: 'operations'!
unloadDefinition: aPatchOperation
self
handleErrorFor: aPatchOperation
during: [ aPatchOperation unloadDefinition ]
! !
!CypressLoader methodsFor: 'accessing'!
unloadable
unloadable ifNil: [ unloadable := OrderedCollection new ].
^unloadable
! !
!CypressLoader methodsFor: 'loading'!
updatePackage: aPackage withSnapshot: aSnapshot
| patch snapshot |
snapshot := aPackage snapshot.
patch := aSnapshot patchRelativeToBase: snapshot.
patch applyTo: self.
snapshot definitions do: [:ea | self provisions addAll: ea provisions]
! !
!CypressLoader class methodsFor: 'loading'!
updatePackage: aPackage withSnapshot: aSnapshot
self new
updatePackage: aPackage withSnapshot: aSnapshot;
load
! !
!CypressMethodDefinition methodsFor: 'comparing'!
= aDefinition
^ super = aDefinition
and: [ aDefinition source = self source
and: [ aDefinition category = self category ] ]
! !
!CypressMethodDefinition methodsFor: 'loading'!
actualClass
| cls |
cls := self theNonMetaClass.
^self classIsMeta
ifTrue: [ cls class ]
ifFalse: [ cls ].
! !
!CypressMethodDefinition methodsFor: 'converting'!
asCypressMethodDefinition
^self
! !
!CypressMethodDefinition methodsFor: 'accessing'!
category
^category
! !
!CypressMethodDefinition methodsFor: 'visiting'!
classDefinition: classBlock methodDefinition: methodBlock
methodBlock value: self
! !
!CypressMethodDefinition methodsFor: 'accessing'!
classIsMeta
^classIsMeta
! !
!CypressMethodDefinition methodsFor: 'accessing'!
className
^className
! !
!CypressMethodDefinition methodsFor: 'initialization' stamp: 'dkh 4/24/2012 00:27'!
className: aName classIsMeta: isMetaclass selector: aSelector category: aCategory source: aSource
className := aName asSymbol.
classIsMeta := isMetaclass.
selector := aSelector asSymbol.
category := aCategory asSymbol.
source := aSource withLineEndings: String lfString.
! !
!CypressMethodDefinition methodsFor: 'initialization' stamp: 'jmv 6/14/2012 23:49'!
className: aName classIsMeta: isMetaclass selector: aSelector category: aCategory source: aSource timeStamp: aTimeStamp
className := aName asSymbol.
classIsMeta := isMetaclass.
selector := aSelector asSymbol.
category := aCategory asSymbol.
source := aSource withLineEndings: String lfString.
timeStamp := aTimeStamp! !
!CypressMethodDefinition methodsFor: 'accessing'!
description
^ Array
with: className
with: selector
with: classIsMeta
! !
!CypressMethodDefinition methodsFor: 'comparing' stamp: 'dkh 4/23/2012 23:20'!
hash
| hash |
hash := String stringHash: classIsMeta asString initialHash: 0.
hash := String stringHash: source initialHash: hash.
hash := String stringHash: category initialHash: hash.
hash := String stringHash: className initialHash: hash.
^ hash! !
!CypressMethodDefinition methodsFor: 'visiting'!
instanceMethod: instanceBlock classMethod: classBlock
^(self classIsMeta
ifTrue: [ classBlock ]
ifFalse: [ instanceBlock ]) value: self
! !
!CypressMethodDefinition methodsFor: 'testing'!
isInitializer
^ self selector = 'initialize' and: [self classIsMeta]
! !
!CypressMethodDefinition methodsFor: 'loading' stamp: 'jmv 6/14/2012 23:48'!
loadMethodDefinition
self actualClass
compile: self source
classified: self category
withStamp: self timeStamp
notifying: nil.! !
!CypressMethodDefinition methodsFor: 'loading'!
postLoadOver: aDefinition
super postLoadOver: aDefinition.
(self isInitializer
and: [ aDefinition isNil or: [ self source ~= aDefinition source ]])
ifTrue: [ self theNonMetaClass initialize ].
! !
!CypressMethodDefinition methodsFor: 'printing' stamp: 'dkh 4/23/2012 20:24'!
printString
| str |
str := WriteStream on: String new.
str
nextPutAll: super printString;
nextPutAll: ' (';
nextPutAll: self className.
self classIsMeta
ifTrue: [ str nextPutAll: ' class' ].
str
nextPutAll: '>>';
nextPutAll: self selector;
nextPutAll: ')'.
^str contents
! !
!CypressMethodDefinition methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
^{self className}
! !
!CypressMethodDefinition methodsFor: 'accessing'!
selector
^selector
! !
!CypressMethodDefinition methodsFor: 'accessing'!
source
^source
! !
!CypressMethodDefinition methodsFor: 'loading' stamp: 'dkh 4/24/2012 15:26'!
theNonMetaClass
^Smalltalk at: self className
! !
!CypressMethodDefinition methodsFor: 'accessing' stamp: 'jmv 6/14/2012 23:57'!
timeStamp
^timeStamp
! !
!CypressMethodDefinition methodsFor: 'loading' stamp: 'dkh 4/24/2012 15:28'!
unloadDefinition
self actualClass removeSelector: self selector asSymbol
! !
!CypressMethodDefinition class methodsFor: 'instance creation'!
className: aName
classIsMeta: isMetaclass
selector: aSelector
category: aCategory
source: aSource
^(self new)
className: aName
classIsMeta: isMetaclass
selector: aSelector
category: aCategory
source: aSource
! !
!CypressMethodDefinition class methodsFor: 'instance creation' stamp: 'jmv 6/14/2012 23:54'!
className: aName
classIsMeta: isMetaclass
selector: aSelector
category: aCategory
source: aSource
timeStamp: aTimeStamp
^(self new)
className: aName
classIsMeta: isMetaclass
selector: aSelector
category: aCategory
source: aSource
timeStamp: aTimeStamp
! !
!CypressModification methodsFor: 'initialization'!
= aPatchOperation
^(super = aPatchOperation) and: [self obsoletion = aPatchOperation obsoletion and: [ self modification = aPatchOperation modification]]
! !
!CypressModification methodsFor: 'applying'!
applyTo: aCypressLoader
aCypressLoader applyModification: self
! !
!CypressModification methodsFor: 'initialization'!
base: base target: target
obsoletion := base.
modification := target.
! !
!CypressModification methodsFor: 'accessing' stamp: 'dkh 4/23/2012 23:22'!
description
^ 'modify from: ' , self obsoletion printString , ' to: ' , self modification printString! !
!CypressModification methodsFor: 'loading'!
loadClassDefinition
self modification loadClassDefinition
! !
!CypressModification methodsFor: 'loading'!
loadMethodDefinition
self modification loadMethodDefinition
! !
!CypressModification methodsFor: 'accessing'!
modification
^modification
! !
!CypressModification methodsFor: 'accessing'!
obsoletion
^obsoletion
! !
!CypressModification methodsFor: 'loading'!
postLoadDefinition
self modification postLoadOver: self obsoletion
! !
!CypressModification methodsFor: 'printing' stamp: 'dkh 4/23/2012 20:25'!
printString
| str |
str := WriteStream on: String new.
str
nextPutAll: super printString;
nextPutAll: ' (';
nextPutAll: self description;
nextPutAll: ')'.
^str contents
! !
!CypressModification methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
^self modification provisions
! !
!CypressModification methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
^self modification requirements
! !
!CypressModification class methodsFor: 'instance creation'!
of: base to: target
^ self new base: base target: target
! !
!CypressPackageDefinition methodsFor: 'comparing'!
= other
^ other species = self species and: [other name sameAs: name]
! !
!CypressPackageDefinition methodsFor: 'accessing'!
name
^ name
! !
!CypressPackageDefinition methodsFor: 'accessing'!
name: aString
name := aString
! !
!CypressPackageDefinition methodsFor: 'printing'!
printString
^super printString, '(', name, ')'
! !
!CypressPackageDefinition methodsFor: 'snapshotting' stamp: 'jmv 6/13/2012 09:05'!
snapshot
| package definitions map classMap |
package := CodePackage named: self name createIfAbsent: true registerIfNew: false.
definitions := OrderedCollection new.
(ChangeSet superclassOrder: package classes)
do: [ :cls |
definitions add: cls asCypressClassDefinition.
(cls methodDictionary values sorted: [ :a :b | a selector <= b selector ])
do: [ :method |
(method category at: 1) = $*
ifFalse: [ definitions add: method asCypressMethodDefinition ] ].
(cls class methodDictionary values sorted: [ :a :b | a selector <= b selector ])
do: [ :method |
(method category at: 1) = $*
ifFalse: [ definitions add: method asCypressMethodDefinition ] ] ].
classMap := Dictionary new.
Smalltalk allClasses
do: [ :each |
{each.
(each class)}
do: [ :aClass |
| defs |
defs := OrderedCollection new.
map := Dictionary new.
aClass organization categories
do: [ :category |
| methods |
methods := aClass organization listAtCategoryNamed: category.
(category asLowercase beginsWith: '*' , self name asLowercase)
ifTrue: [ map at: category put: methods ] ].
(map keys sorted: [ :a :b | a <= b ])
do: [ :category |
((map at: category) sorted: [ :a :b | a <= b ])
do: [ :method | defs add: (aClass compiledMethodAt: method) asCypressMethodDefinition ] ].
defs notEmpty
ifTrue: [ classMap at: each put: defs ] ] ].
(ChangeSet superclassOrder: classMap keys) do: [ :aClass | definitions addAll: (classMap at: aClass) ].
^ CypressSnapshot definitions: definitions! !
!CypressPatch methodsFor: 'applying'!
applyTo: aCypressLoader
operations do: [:ea | ea applyTo: aCypressLoader].
! !
!CypressPatch methodsFor: 'initialization'!
fromBase: baseSnapshot toTarget: targetSnapshot
| base target |
operations := OrderedCollection new.
base := CypressDefinitionIndex definitions: baseSnapshot definitions.
target := CypressDefinitionIndex definitions: targetSnapshot definitions.
target definitions do:
[:t |
base
definitionLike: t
ifPresent: [:b | (b isSameRevisionAs: t) ifFalse: [operations add: (CypressModification of: b to: t)]]
ifAbsent: [operations add: (CypressAddition of: t)]].
base definitions do:
[:b |
target
definitionLike: b
ifPresent: [:t | ]
ifAbsent: [operations add: (CypressRemoval of: b)]]
! !
!CypressPatch methodsFor: 'accessing'!
operations
^operations
! !
!CypressPatch class methodsFor: 'instance creation'!
fromBase: baseSnapshot toTarget: targetSnapshot
^ (self new)
fromBase: baseSnapshot
toTarget: targetSnapshot
! !
!CypressPatchOperation methodsFor: 'comparing'!
= aPatchOperation
^aPatchOperation isKindOf: self class
! !
!CypressPatchOperation methodsFor: 'applying'!
applyTo: aCypressLoader
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'accessing'!
description
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'comparing' stamp: 'dkh 4/23/2012 23:21'!
hash
^ self description hash! !
!CypressPatchOperation methodsFor: 'loading'!
loadClassDefinition
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'loading'!
loadMethodDefinition
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'loading'!
postLoadDefinition
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
self subclassResponsibility
! !
!CypressPatchOperation methodsFor: 'loading'!
unloadDefinition
self error: 'inappropriate to send #unloadDefinition to an addition or modification operation'
! !
!CypressRemoval methodsFor: 'comparing'!
= aPatchOperation
^(super = aPatchOperation) and: [self definition = aPatchOperation definition]
! !
!CypressRemoval methodsFor: 'applying'!
applyTo: aCypressLoader
aCypressLoader applyRemoval: self
! !
!CypressRemoval methodsFor: 'accessing'!
definition
^definition
! !
!CypressRemoval methodsFor: 'initialization'!
definition: aDefinition
definition := aDefinition
! !
!CypressRemoval methodsFor: 'accessing' stamp: 'dkh 4/23/2012 23:23'!
description
^'remove: ', self definition printString
! !
!CypressRemoval methodsFor: 'loading'!
loadClassDefinition
self error: 'inappropriate to send #loadClassDefinition to a removal operation'
! !
!CypressRemoval methodsFor: 'loading'!
loadMethodDefinition
self error: 'inappropriate to send #loadMethodDefinition to a removal operation'
! !
!CypressRemoval methodsFor: 'loading'!
postLoadDefinition
self error: 'inappropriate to send #postLoadDefinition to a removal operation'
! !
!CypressRemoval methodsFor: 'printing' stamp: 'dkh 4/23/2012 20:25'!
printString
| str |
str := WriteStream on: String new.
str
nextPutAll: super printString;
nextPutAll: ' (';
nextPutAll: self description;
nextPutAll: ')'.
^str contents
! !
!CypressRemoval methodsFor: 'dependency'!
provisions
"Answer list of global names defined by this definition"
^#()
! !
!CypressRemoval methodsFor: 'dependency'!
requirements
"Answer list of global names required by this definition"
^#()
! !
!CypressRemoval methodsFor: 'loading'!
unloadDefinition
self definition unloadDefinition
! !
!CypressRemoval class methodsFor: 'instance creation'!
of: aDefinition
^ self new definition: aDefinition
! !
!CypressSnapshot methodsFor: 'comparing'!
= other
^ definitions asArray = other definitions asArray
! !
!CypressSnapshot methodsFor: 'enumerating'!
classDefinitions: classBlock methodDefinitions: methodBlock
self definitions do: [:definition |
definition classDefinition: classBlock methodDefinition: methodBlock]
! !
!CypressSnapshot methodsFor: 'accessing'!
definitions
^definitions
! !
!CypressSnapshot methodsFor: 'accessing'!
definitions: aDefinitions
definitions := aDefinitions
! !
!CypressSnapshot methodsFor: 'patching'!
patchRelativeToBase: aSnapshot
^ CypressPatch fromBase: aSnapshot toTarget: self
! !
!CypressSnapshot methodsFor: 'loading'!
updatePackage: aPackage
CypressLoader updatePackage: aPackage withSnapshot: self
! !
!CypressSnapshot class methodsFor: 'instance creation'!
definitions: aDefinitions
^(self new) definitions: aDefinitions
! !
|
/* DATA DESCRIPTION:
Citation: SIMCO Project Members (2015): Sampling at Arade river and adjacent coast as part of experimental student training on Oceanography. PANGAEA, https://doi.org/10.1594/PANGAEA.883079,
In supplement to: Costas, Susana; Ramires, Margarida; de Sousa, Luisa B; Mendes, Isabel Maria de Paiva Pinto; Ferreira, Óscar (2018): Surficial sediment texture database for the south-western Iberian Atlantic margin. Earth System Science Data, 10(2), 1185-1195, https://doi.org/10.5194/essd-10-1185-2018
Original version: Original data of surficial sediment texture from the Iberian Atlantic Margin Sediments Database (IBAM-Sed) (URI: https://store.pangaea.de/Publications/Coasta-etal_2017/PLOSscripts.zip)
Further details: Costas, Susana; Ramires, Margarida; de Sousa, Luisa B; Mendes, Isabel Maria de Paiva Pinto; Ferreira, Óscar (2018): Shape files of surficial sediment texture from the Iberian Atlantic Margin Sediments Database (IBAM-Sed). PANGAEA, https://doi.org/10.1594/PANGAEA.890946
Coverage: MEDIAN LATITUDE: 37.103448 * MEDIAN LONGITUDE: -8.542073 * SOUTH-BOUND LATITUDE: 37.080911 * WEST-BOUND LONGITUDE: -8.619190 * NORTH-BOUND LATITUDE: 37.143052 * EAST-BOUND LONGITUDE: -8.515974
DATE/TIME START: 2015-03-27T10:30:00 * DATE/TIME END: 2015-10-30T14:57:00
MINIMUM DEPTH, water: 3.00 m * MAXIMUM DEPTH, water: 30.40 m
Event(s): IBAM-Sed_SIMCO * LATITUDE: 37.135100 * LONGITUDE: -8.667700 * DATE/TIME START: 2015-03-27T10:30:00 * DATE/TIME END: 2015-10-30T14:57:00 * METHOD/DEVICE: Dredge (DRG)
Comment: SIMCO (2015). SIMCO_Oceanographic Cruise
Parameter(s): Sample ID (Sample ID) * PI: SIMCO Project Members * COMMENT: Sample number
Sample ID (Sample ID) * PI: SIMCO Project Members * COMMENT: Acess number from laboratory
Sample ID (Sample ID) * PI: SIMCO Project Members * COMMENT: Reference sample in the collect
DATE/TIME (Date/Time) * GEOCODE * PI: SIMCO Project Members * COMMENT: of collecting
Project (Project) * PI: SIMCO Project Members
Sample method (Sample method) * PI: SIMCO Project Members
LATITUDE (Latitude) * GEOCODE * PI: SIMCO Project Members * COMMENT: Coordinate System-WGS1984
LONGITUDE (Longitude) * GEOCODE * PI: SIMCO Project Members * COMMENT: Coordinate System-WGS1984
DEPTH, water [m] (Depth water) * GEOCODE * PI: SIMCO Project Members
Gravel [%] (Gravel) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving
Sandstone [%] (Sdst) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving
Mudstone [%] (Mudstone) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving
Grain size, mean [phi] (Grain size mean) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method
Standard deviation [±] (Std dev) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method * COMMENT: Of sample value
Skewness (Skew) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method
Kurtosis (Kurt) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method
Mode, grain size [phi] (Mode) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method * COMMENT: 1st Mode sample value
Mode, grain size [phi] (Mode) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method * COMMENT: 2nd Mode sample value
Mode, grain size [phi] (Mode) * PI: SIMCO Project Members * METHOD/DEVICE: Grain size, sieving, Folk and Ward method * COMMENT: 3rd Mode sample value
License: Creative Commons Attribution 3.0 Unported (CC-BY-3.0)
Size: 297 data points
*/
Sample ID (Sample number) Sample ID (Acess number from laboratory) Sample ID (Reference sample in the collect) Date/Time (of collecting) Project Sample method Latitude (Coordinate System-WGS1984) Longitude (Coordinate System-WGS1984) Depth water [m] Gravel [%] (Grain size, sieving) Sdst [%] (Grain size, sieving) Mudstone [%] (Grain size, sieving) Grain size mean [phi] (Grain size, sieving, Folk and...) Std dev [±] (Of sample value, Grain size, ...) Skew (Grain size, sieving, Folk and...) Kurt (Grain size, sieving, Folk and...) Mode [phi] (1st Mode sample value, Grain ...) Mode [phi] (2nd Mode sample value, Grain ...) Mode [phi] (3rd Mode sample value, Grain ...)
1 2815 E1 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1054 -8.5279 11.40 0.20 99.70 0.10 2.503 0.414 -0.095 0.985 2.737
2 2816 E2 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0866 -8.5541 28.80 12.30 69.60 18.10 1.880 2.648 0.042 1.130 3.731 1.747
3 2817 E3 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0839 -8.5319 30.00 2.00 82.80 15.20 2.520 1.771 0.368 1.936 2.237 3.731
4 2818 E4 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0809 -8.5160 30.10 6.40 72.10 21.50 2.786 2.437 0.199 2.119 2.237 3.731
5 2819 E5 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0937 -8.5213 18.80 0.60 97.30 2.10 2.202 0.692 -0.023 1.385 2.237
6 2820 E6 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0976 -8.5419 20.00 0.80 92.30 6.90 2.818 0.862 0.072 1.170 3.237 2.237
7 2821 E7 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1046 -8.5277 10.00 0.40 98.40 1.20 2.733 0.516 -0.079 1.422 2.737
8 2822 E8 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1185 -8.5253 8.00 0.40 78.40 21.20 3.604 1.774 0.718 2.876 2.737
9 2823 E9 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1240 -8.5259 9.00 0.30 74.70 25.00 3.822 1.834 0.707 2.042 2.737
10 2824 E10 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1311 -8.5279 5.50 3.80 18.00 78.30 5.924 2.092 -0.260 0.805 7.466 3.237 4.477
11 2825 E11 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1407 -8.5295 4.00 29.90 62.00 8.10 0.534 3.190 -0.456 0.894 2.237 -3.743
12 2526 E12 2015-03-27 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1431 -8.5189 3.00 84.50 15.40 0.10 -2.860 1.684 0.611 1.800 -3.743 1.747
13 2892 St1 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1032 -8.5296 11.50 0.20 98.80 1.00 2.514 0.529 -0.281 1.332 2.737
14 2893 St2 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0969 -8.5430 20.50 1.60 90.30 8.10 2.810 0.916 0.102 1.346 3.237 2.237
15 2894 St3 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0936 -8.5218 20.40 0.50 93.00 6.50 2.548 0.891 0.153 1.485 2.237
16 2895 St4 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0823 -8.5168 30.00 1.10 80.60 18.30 2.760 1.822 0.470 1.699 2.237 3.731
17 2896 St5 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0843 -8.5384 30.40 13.10 69.50 17.40 1.350 3.006 0.509 2.954 0.247
18 2897 St6 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0874 -8.5533 30.20 0.60 81.80 17.60 2.247 1.993 0.579 1.313 1.247 3.731
19 2898 St7 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.0907 -8.6086 29.80 1.60 69.40 28.90 3.898 1.468 0.399 3.500 3.731
20 2899 St8 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1041 -8.6156 18.70 3.30 90.10 6.70 2.588 1.347 -0.366 1.455 3.237
21 2900 St9 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1159 -8.6192 10.90 0.00 99.90 0.10 1.940 0.430 -0.084 1.005 2.237
22 2901 St10 2015-10-30 SIMCO_Oceanographic Cruise Dredge Petit Ponar 37.1073 -8.5309 10.90 8.90 90.40 0.70 2.530 1.411 -0.527 3.615 2.737
|
DROP DATABASE IF EXISTS employeeDb;
CREATE database employeeDb;
USE employeeDb;
CREATE TABLE departments (
id INT AUTO_INCREMENT NOT NULL,
name VARCHAR(30) NULL,
PRIMARY KEY (id)
);
CREATE TABLE role (
id INT AUTO_INCREMENT NOT NULL,
title VARCHAR(30) NULL,
salary DECIMAL(10,2) NULL,
department_id INT NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (department_id) REFERENCES departments(id)
);
CREATE TABLE employees (
id INT AUTO_INCREMENT NOT NULL,
first_name VARCHAR(30) NULL,
last_name VARCHAR(30) NULL,
role_id INT NOT NULL,
manager_id INT,
department_id INT NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (department_id) REFERENCES departments(id),
FOREIGN KEY (role_id) REFERENCES role(id),
FOREIGN KEY (manager_id) REFERENCES employees(id)
);
|
INSERT INTO `aplicativos` VALUES (1, 'Usuarios', 1, 'users', NULL, 'i-users', 1, '0000-0-0 00:00:00', '0000-0-0 00:00:00');
INSERT INTO `aplicativos` VALUES (2, 'Doc. Receptor', 2, 'docreceptor', NULL, 'i-stack-list', 1, '0000-0-0 00:00:00', '0000-0-0 00:00:00');
INSERT INTO `aplicativos` VALUES (3, 'Siseftran', 2, 'siseftran/plannacional', NULL, 'i-books', 1, '0000-0-0 00:00:00', '0000-0-0 00:00:00');
|
explain plan for select * from (
-- join between two subqueries
-- one of the subqueries has a window function
-- result of window function is a join column
select * from
(
select
row_number() over (order by a1),
sum(a1) over (partition by b1)
from t1_v t1
) as sq1(b1, sum_a1)
inner join
(
select a2,
sum(a2) over(partition by b2, c2 order by a2)
from t2_v t2
) as sq2(b2, sum_a2)
on (sq1.b1 = sq2.b2)) t limit 0;
|
prompt --application/shared_components/security/authorizations/is_owner_manager_sponzor
begin
-- Manifest
-- SECURITY SCHEME: IS_OWNER_MANAGER_SPONZOR
-- Manifest End
wwv_flow_api.component_begin (
p_version_yyyy_mm_dd=>'2020.10.01'
,p_release=>'20.2.0.00.20'
,p_default_workspace_id=>116577013837797376
,p_default_application_id=>1000
,p_default_id_offset=>0
,p_default_owner=>'PMP_APEX'
);
wwv_flow_api.create_security_scheme(
p_id=>wwv_flow_api.id(118801526420131876)
,p_name=>'IS_OWNER_MANAGER_SPONZOR'
,p_scheme_type=>'NATIVE_FUNCTION_BODY'
,p_attribute_01=>'RETURN auth.is_owner_manager_sponzor() = ''Y'';'
,p_error_message=>'AUTH_ERROR'
,p_caching=>'BY_USER_BY_PAGE_VIEW'
);
wwv_flow_api.component_end;
end;
/
|
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE TABLE [dbo].[t1](
[c1] [int] NULL,
[c2] [int] NULL,
[c3] [int] NULL
) ON [PRIMARY]
GO
|
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,539,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,562,510,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,628,45,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,638,886,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,650,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,664,80,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,681,173,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,475,281,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,699,271,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2505,420,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,750,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,937,92,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,927,367,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5055,18,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,951,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,491,770,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,511,361,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,536,400,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,556,227,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,565,242,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,549,21,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,486,90,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5060,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,499,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,518,2790,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,525,179,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,535,28,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,584,37,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,560,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,571,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5144,68,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,507,91,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,495,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,12741,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,538,4,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5140,39,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5150,40,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,601,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,611,1378,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,653,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2588,8,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,744,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,799,124,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,846,17,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,857,260,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,480,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,548,12,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,557,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2660,150,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,570,24,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,561,16,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,550,152,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,532,155,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,482,300,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,479,20,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,496,252,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5179,47,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,534,16,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,828,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,558,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2727,48,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,581,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,587,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,569,49,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,594,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,629,209,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,637,160,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,649,400,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,660,65,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,674,359,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,477,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,687,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,498,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,513,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,542,12,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,531,48,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,553,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,576,13,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,564,28,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,589,21,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,618,310,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,598,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,641,193,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,647,183,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,684,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,733,13,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,3880,104,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,516,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,777,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,533,300,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,610,67,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,627,280,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,700,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,724,394,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,731,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,770,29,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,484,36,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,591,568,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,609,32,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,652,210,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,696,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,715,100,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,735,26,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,742,105,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,749,8,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,778,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,785,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,793,17,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,885,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5154,273,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,931,1940,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,916,109,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,922,333,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,509,4,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,796,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,858,187,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,980,80,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,987,150,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,988,70,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,992,300,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,1000,612,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,1005,280,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,527,1290,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,540,16,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,13505,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,547,310,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,580,41,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,615,9,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,623,6,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,688,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,698,821,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,678,101,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,729,291,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5151,75,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,801,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,501,148,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,579,345,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,7784,13,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,861,8,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,639,495,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,651,4,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,676,178,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,685,161,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,10447,1525,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,10460,40,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,917,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,921,300,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,923,167,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,930,116,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,928,106,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,924,150,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2336,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,850,7,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2523,72,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5019,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,892,60,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,7820,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,7114,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,837,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,843,4,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,905,20,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,932,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,934,18,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,936,50,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,939,51,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,915,75,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,942,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,949,35,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,959,30,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,967,47,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2559,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,2502,70,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,976,30,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,977,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,978,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,981,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,984,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,935,23,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,870,154,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,875,56,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,893,42,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,904,10,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,13506,13,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,10672,25,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,757,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,7264,357,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,374,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,947,4,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,802,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,774,80,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,690,8,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,13504,140,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,730,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,7823,40,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,876,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,867,3,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,880,5,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,5309,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,13511,2,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,10462,150,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,11151,1,0);
INSERT INTO persediaan (id_transaksi, id_barang, jumlah, harga) VALUES (98368,12285,2,0);
|
-- file:inherit.sql ln:163 expect:true
CREATE TABLE jointchild () INHERITS (firstparent, secondparent)
|
select arrayReduce('median', [toDecimal32OrNull('1', 2)]);
select arrayReduce('median', [toDecimal64OrNull('1', 2)]);
select arrayReduce('median', [toDecimal128OrZero('1', 2)]);
select arrayReduce('sum', [toDecimal128OrNull('1', 2)]);
select arrayReduce('median', [toDecimal128OrNull('1', 2)]);
select arrayReduce('quantile(0.2)', [toDecimal128OrNull('1', 2)]);
select arrayReduce('medianExact', [toDecimal128OrNull('1', 2)]);
|
/* Sequence 저장테이블 */
CREATE TABLE COMTECOPSEQ
(
TABLE_NAME VARCHAR(20) NOT NULL,
NEXT_ID NUMERIC(30) NULL,
PRIMARY KEY (TABLE_NAME)
)
;
CREATE UNIQUE INDEX COMTECOPSEQ_PK ON COMTECOPSEQ
(
TABLE_NAME
)
;
/* 공통분류코드 */
CREATE TABLE COMTCCMMNCLCODE
(
CL_CODE CHAR(3) NOT NULL,
CL_CODE_NM VARCHAR(60) NULL,
CL_CODE_DC VARCHAR(200) NULL,
USE_AT CHAR(1) NULL,
FRST_REGIST_PNTTM DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
PRIMARY KEY (CL_CODE)
)
;
CREATE UNIQUE INDEX COMTCCMMNCLCODE_PK ON COMTCCMMNCLCODE
(
CL_CODE
)
;
/* 공통코드 */
CREATE TABLE COMTCCMMNCODE
(
CODE_ID VARCHAR(6) NOT NULL,
CODE_ID_NM VARCHAR(60) NULL,
CODE_ID_DC VARCHAR(200) NULL,
USE_AT CHAR(1) NULL,
CL_CODE CHAR(3) NULL,
FRST_REGIST_PNTTM DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
PRIMARY KEY (CODE_ID),
FOREIGN KEY COMTCCMMNCODE_FK1 (CL_CODE) REFERENCES COMTCCMMNCLCODE(CL_CODE)
)
;
CREATE UNIQUE INDEX COMTCCMMNCODE_PK ON COMTCCMMNCODE
(
CODE_ID
)
;
CREATE INDEX COMTCCMMNCODE_i01 ON COMTCCMMNCODE
(
CL_CODE
)
;
/* 공통상세코드 */
CREATE TABLE COMTCCMMNDETAILCODE
(
CODE_ID VARCHAR(6) NOT NULL,
CODE VARCHAR(15) NOT NULL,
CODE_NM VARCHAR(60) NULL,
CODE_DC VARCHAR(200) NULL,
USE_AT CHAR(1) NULL,
FRST_REGIST_PNTTM DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
PRIMARY KEY (CODE_ID,CODE),
FOREIGN KEY COMTCCMMNDETAILCODE_FK1 (CODE_ID) REFERENCES COMTCCMMNCODE(CODE_ID)
)
;
CREATE UNIQUE INDEX COMTCCMMNDETAILCODE_PK ON COMTCCMMNDETAILCODE
(
CODE_ID,
CODE
)
;
CREATE INDEX COMTCCMMNDETAILCODE_i01 ON COMTCCMMNDETAILCODE
(
CODE_ID
)
;
/* 권한그룹정보 */
CREATE TABLE COMTNAUTHORGROUPINFO
(
GROUP_ID CHAR(20) NOT NULL,
GROUP_NM VARCHAR(60) NOT NULL,
GROUP_CREAT_DE CHAR(20) NOT NULL,
GROUP_DC VARCHAR(100) NULL,
PRIMARY KEY (GROUP_ID)
)
;
CREATE UNIQUE INDEX COMTNAUTHORGROUPINFO_PK ON COMTNAUTHORGROUPINFO
(
GROUP_ID
)
;
/* 조직정보 */
CREATE TABLE COMTNORGNZTINFO
(
ORGNZT_ID CHAR(20) NOT NULL,
ORGNZT_NM VARCHAR(20) NOT NULL,
ORGNZT_DC VARCHAR(100) NULL,
PRIMARY KEY (ORGNZT_ID)
)
;
CREATE UNIQUE INDEX COMTNORGNZTINFO_PK ON COMTNORGNZTINFO
(
ORGNZT_ID
)
;
/* 파일속성 */
CREATE TABLE COMTNFILE
(
ATCH_FILE_ID CHAR(20) NOT NULL,
CREAT_DT DATETIME NOT NULL,
USE_AT CHAR(1) NULL,
PRIMARY KEY (ATCH_FILE_ID)
)
;
CREATE UNIQUE INDEX COMTNFILE_PK ON COMTNFILE
(
ATCH_FILE_ID
)
;
/* 파일상세정보 */
CREATE TABLE COMTNFILEDETAIL
(
ATCH_FILE_ID CHAR(20) NOT NULL,
FILE_SN NUMERIC(10) NOT NULL,
FILE_STRE_COURS VARCHAR(2000) NOT NULL,
STRE_FILE_NM VARCHAR(255) NOT NULL,
ORIGNL_FILE_NM VARCHAR(255) NULL,
FILE_EXTSN VARCHAR(20) NOT NULL,
FILE_CN MEDIUMTEXT NULL,
FILE_SIZE NUMERIC(8) NULL,
PRIMARY KEY (ATCH_FILE_ID,FILE_SN),
FOREIGN KEY COMTNFILEDETAIL_FK1 (ATCH_FILE_ID) REFERENCES COMTNFILE(ATCH_FILE_ID)
)
;
CREATE UNIQUE INDEX COMTNFILEDETAIL_PK ON COMTNFILEDETAIL
(
ATCH_FILE_ID,
FILE_SN
)
;
CREATE INDEX COMTNFILEDETAIL_i01 ON COMTNFILEDETAIL
(
ATCH_FILE_ID
)
;
/* 메일발신관리 */
CREATE TABLE COMTHEMAILDSPTCHMANAGE
(
MSSAGE_ID VARCHAR(20) NOT NULL,
EMAIL_CN MEDIUMTEXT NULL,
SNDR VARCHAR(50) NOT NULL,
RCVER VARCHAR(50) NOT NULL,
SJ VARCHAR(60) NOT NULL,
SNDNG_RESULT_CODE CHAR(1) NULL,
DSPTCH_DT CHAR(20) NOT NULL,
ATCH_FILE_ID CHAR(20) NULL,
PRIMARY KEY (MSSAGE_ID),
FOREIGN KEY COMTHEMAILDSPTCHMANAGE_FK1 (ATCH_FILE_ID) REFERENCES COMTNFILE(ATCH_FILE_ID)
)
;
CREATE UNIQUE INDEX COMTHEMAILDSPTCHMANAGE_PK ON COMTHEMAILDSPTCHMANAGE
(
MSSAGE_ID
)
;
CREATE INDEX COMTHEMAILDSPTCHMANAGE_i01 ON COMTHEMAILDSPTCHMANAGE
(
SNDR
)
;
CREATE INDEX COMTHEMAILDSPTCHMANAGE_i02 ON COMTHEMAILDSPTCHMANAGE
(
ATCH_FILE_ID
)
;
/* 일반회원 */
CREATE TABLE COMTNGNRLMBER
(
MBER_ID VARCHAR(20) NOT NULL,
PASSWORD VARCHAR(200) NOT NULL,
PASSWORD_HINT VARCHAR(100) NULL,
PASSWORD_CNSR VARCHAR(100) NULL,
IHIDNUM VARCHAR(200) NULL,
MBER_NM VARCHAR(50) NOT NULL,
ZIP VARCHAR(6) NOT NULL,
ADRES VARCHAR(100) NOT NULL,
AREA_NO VARCHAR(4) NOT NULL,
MBER_STTUS VARCHAR(15) NULL,
DETAIL_ADRES VARCHAR(100) NULL,
END_TELNO VARCHAR(4) NOT NULL,
MBTLNUM VARCHAR(20) NOT NULL,
GROUP_ID CHAR(20) NULL,
MBER_FXNUM VARCHAR(20) NULL,
MBER_EMAIL_ADRES VARCHAR(50) NULL,
MIDDLE_TELNO VARCHAR(4) NOT NULL,
SBSCRB_DE DATETIME NULL,
SEXDSTN_CODE CHAR(1) NULL,
ESNTL_ID CHAR(20) NOT NULL,
LOCK_AT CHAR(1) NULL,
LOCK_CNT NUMERIC(3) NULL,
LOCK_LAST_PNTTM DATETIME NULL,
CHG_PWD_LAST_PNTTM DATETIME NULL,
PRIMARY KEY (MBER_ID),
FOREIGN KEY COMTNGNRLMBER_FK1 (GROUP_ID) REFERENCES COMTNAUTHORGROUPINFO(GROUP_ID)
ON DELETE SET NULL
)
;
CREATE UNIQUE INDEX COMTNGNRLMBER_PK ON COMTNGNRLMBER
(
MBER_ID
)
;
CREATE INDEX COMTNGNRLMBER_i01 ON COMTNGNRLMBER
(
GROUP_ID
)
;
/* 업무사용자정보 */
CREATE TABLE COMTNEMPLYRINFO
(
EMPLYR_ID VARCHAR(20) NOT NULL,
ORGNZT_ID CHAR(20) NULL,
USER_NM VARCHAR(60) NOT NULL,
PASSWORD VARCHAR(200) NOT NULL,
EMPL_NO VARCHAR(20) NULL,
IHIDNUM VARCHAR(200) NULL,
SEXDSTN_CODE CHAR(1) NULL,
BRTHDY CHAR(20) NULL,
FXNUM VARCHAR(20) NULL,
HOUSE_ADRES VARCHAR(100) NOT NULL,
PASSWORD_HINT VARCHAR(100) NOT NULL,
PASSWORD_CNSR VARCHAR(100) NOT NULL,
HOUSE_END_TELNO VARCHAR(4) NOT NULL,
AREA_NO VARCHAR(4) NOT NULL,
DETAIL_ADRES VARCHAR(100) NULL,
ZIP VARCHAR(6) NOT NULL,
OFFM_TELNO VARCHAR(20) NULL,
MBTLNUM VARCHAR(20) NULL,
EMAIL_ADRES VARCHAR(50) NULL,
OFCPS_NM VARCHAR(60) NULL,
HOUSE_MIDDLE_TELNO VARCHAR(4) NOT NULL,
GROUP_ID CHAR(20) NULL,
PSTINST_CODE CHAR(8) NULL,
EMPLYR_STTUS_CODE CHAR(1) NOT NULL,
ESNTL_ID CHAR(20) NOT NULL,
CRTFC_DN_VALUE VARCHAR(100) NULL,
SBSCRB_DE DATETIME NULL,
LOCK_AT CHAR(1) NULL,
LOCK_CNT NUMERIC(3) NULL,
LOCK_LAST_PNTTM DATETIME NULL,
CHG_PWD_LAST_PNTTM DATETIME NULL,
PRIMARY KEY (EMPLYR_ID),
FOREIGN KEY COMTNEMPLYRINFO_FK2 (ORGNZT_ID) REFERENCES COMTNORGNZTINFO(ORGNZT_ID)
ON DELETE SET NULL,
FOREIGN KEY COMTNEMPLYRINFO_FK1 (GROUP_ID) REFERENCES COMTNAUTHORGROUPINFO(GROUP_ID)
ON DELETE SET NULL
)
;
CREATE UNIQUE INDEX COMTNEMPLYRINFO_PK ON COMTNEMPLYRINFO
(
EMPLYR_ID
)
;
CREATE INDEX COMTNEMPLYRINFO_i01 ON COMTNEMPLYRINFO
(
ORGNZT_ID
)
;
CREATE INDEX COMTNEMPLYRINFO_i02 ON COMTNEMPLYRINFO
(
GROUP_ID
)
;
/* 기업회원 */
CREATE TABLE COMTNENTRPRSMBER
(
ENTRPRS_MBER_ID VARCHAR(20) NOT NULL,
ENTRPRS_SE_CODE CHAR(8) NULL,
BIZRNO VARCHAR(10) NULL,
JURIRNO VARCHAR(13) NULL,
CMPNY_NM VARCHAR(60) NOT NULL,
CXFC VARCHAR(50) NULL,
ZIP VARCHAR(6) NOT NULL,
ADRES VARCHAR(100) NOT NULL,
ENTRPRS_MIDDLE_TELNO VARCHAR(4) NOT NULL,
FXNUM VARCHAR(20) NULL,
INDUTY_CODE CHAR(1) NULL,
APPLCNT_NM VARCHAR(50) NOT NULL,
APPLCNT_IHIDNUM VARCHAR(200) NULL,
SBSCRB_DE DATETIME NULL,
ENTRPRS_MBER_STTUS VARCHAR(15) NULL,
ENTRPRS_MBER_PASSWORD VARCHAR(200) NULL,
ENTRPRS_MBER_PASSWORD_HINT VARCHAR(100) NOT NULL,
ENTRPRS_MBER_PASSWORD_CNSR VARCHAR(100) NOT NULL,
GROUP_ID CHAR(20) NULL,
DETAIL_ADRES VARCHAR(100) NULL,
ENTRPRS_END_TELNO VARCHAR(4) NOT NULL,
AREA_NO VARCHAR(4) NOT NULL,
APPLCNT_EMAIL_ADRES VARCHAR(50) NOT NULL,
ESNTL_ID CHAR(20) NOT NULL,
LOCK_AT CHAR(1) NULL,
LOCK_CNT NUMERIC(3) NULL,
LOCK_LAST_PNTTM DATETIME NULL,
CHG_PWD_LAST_PNTTM DATETIME NULL,
PRIMARY KEY (ENTRPRS_MBER_ID),
FOREIGN KEY COMTNENTRPRSMBER_FK1 (GROUP_ID) REFERENCES COMTNAUTHORGROUPINFO(GROUP_ID)
ON DELETE SET NULL
)
;
CREATE UNIQUE INDEX COMTNENTRPRSMBER_PK ON COMTNENTRPRSMBER
(
ENTRPRS_MBER_ID
)
;
CREATE INDEX COMTNENTRPRSMBER_i01 ON COMTNENTRPRSMBER
(
GROUP_ID
)
;
/* 권한정보 */
CREATE TABLE COMTNAUTHORINFO
(
AUTHOR_CODE VARCHAR(30) NOT NULL,
AUTHOR_NM VARCHAR(60) NOT NULL,
AUTHOR_DC VARCHAR(200) NULL,
AUTHOR_CREAT_DE CHAR(20) NOT NULL,
PRIMARY KEY (AUTHOR_CODE)
)
;
CREATE UNIQUE INDEX COMTNAUTHORINFO_PK ON COMTNAUTHORINFO
(
AUTHOR_CODE
)
;
/* 롤 계층구조 */
CREATE TABLE COMTNROLES_HIERARCHY
(
PARNTS_ROLE VARCHAR(30) NOT NULL,
CHLDRN_ROLE VARCHAR(30) NOT NULL,
PRIMARY KEY (PARNTS_ROLE,CHLDRN_ROLE),
FOREIGN KEY COMTNROLES_HIERARCHY_FK1 (PARNTS_ROLE) REFERENCES COMTNAUTHORINFO(AUTHOR_CODE)
ON DELETE CASCADE,
FOREIGN KEY COMTNROLES_HIERARCHY_FK2 (CHLDRN_ROLE) REFERENCES COMTNAUTHORINFO(AUTHOR_CODE)
ON DELETE CASCADE
)
;
CREATE UNIQUE INDEX COMTNROLES_HIERARCHY_PK ON COMTNROLES_HIERARCHY
(
PARNTS_ROLE,
CHLDRN_ROLE
)
;
CREATE UNIQUE INDEX COMTNROLES_HIERARCHY_i01 ON COMTNROLES_HIERARCHY
(
PARNTS_ROLE
)
;
CREATE INDEX COMTNROLES_HIERARCHY_i02 ON COMTNROLES_HIERARCHY
(
CHLDRN_ROLE
)
;
/* 롤정보 */
CREATE TABLE COMTNROLEINFO
(
ROLE_CODE VARCHAR(50) NOT NULL,
ROLE_NM VARCHAR(60) NOT NULL,
ROLE_PTTRN VARCHAR(300) NULL,
ROLE_DC VARCHAR(200) NULL,
ROLE_TY VARCHAR(80) NULL,
ROLE_SORT VARCHAR(10) NULL,
ROLE_CREAT_DE CHAR(20) NOT NULL,
PRIMARY KEY (ROLE_CODE)
)
;
CREATE UNIQUE INDEX COMTNROLEINFO_PK ON COMTNROLEINFO
(
ROLE_CODE
)
;
/* 권한롤관계 */
CREATE TABLE COMTNAUTHORROLERELATE
(
AUTHOR_CODE VARCHAR(30) NOT NULL,
ROLE_CODE VARCHAR(50) NOT NULL,
CREAT_DT DATETIME NULL,
PRIMARY KEY (AUTHOR_CODE,ROLE_CODE),
FOREIGN KEY COMTNAUTHORROLERELATE_FK1 (AUTHOR_CODE) REFERENCES COMTNAUTHORINFO(AUTHOR_CODE)
ON DELETE CASCADE,
FOREIGN KEY COMTNAUTHORROLERELATE_FK2 (ROLE_CODE) REFERENCES COMTNROLEINFO(ROLE_CODE)
ON DELETE CASCADE
)
;
CREATE UNIQUE INDEX COMTNAUTHORROLERELATE_PK ON COMTNAUTHORROLERELATE
(
AUTHOR_CODE,
ROLE_CODE
)
;
CREATE INDEX COMTNAUTHORROLERELATE_i01 ON COMTNAUTHORROLERELATE
(
AUTHOR_CODE
)
;
CREATE INDEX COMTNAUTHORROLERELATE_i02 ON COMTNAUTHORROLERELATE
(
ROLE_CODE
)
;
/* IDS */
CREATE TABLE IDS
(
IDGEN_TABLE_NM VARCHAR(20) NOT NULL,
IDGEN_NEXT_ID NUMERIC(30) NOT NULL,
PRIMARY KEY (IDGEN_TABLE_NM)
)
;
CREATE UNIQUE INDEX IDS_PK ON IDS
(
IDGEN_TABLE_NM
)
;
/* 사용자정보뷰 */
CREATE VIEW COMVNUSERMASTER ( ESNTL_ID,USER_ID,PASSWORD,USER_NM,USER_ZIP,USER_ADRES,USER_EMAIL,GROUP_ID, USER_SE, ORGNZT_ID )
AS
SELECT ESNTL_ID, MBER_ID,PASSWORD,MBER_NM,ZIP,ADRES,MBER_EMAIL_ADRES,' ','GNR' AS USER_SE, ' ' ORGNZT_ID
FROM COMTNGNRLMBER
UNION ALL
SELECT ESNTL_ID,EMPLYR_ID,PASSWORD,USER_NM,ZIP,HOUSE_ADRES,EMAIL_ADRES,GROUP_ID ,'USR' AS USER_SE, ORGNZT_ID
FROM COMTNEMPLYRINFO
UNION ALL
SELECT ESNTL_ID,ENTRPRS_MBER_ID,ENTRPRS_MBER_PASSWORD,CMPNY_NM,ZIP,ADRES,APPLCNT_EMAIL_ADRES,' ' ,'ENT' AS USER_SE, ' ' ORGNZT_ID
FROM COMTNENTRPRSMBER
ORDER BY ESNTL_ID;
/* DB서비스모니터링 */
CREATE TABLE COMTNDBMNTRNG
(
DATA_SOURC_NM VARCHAR(60) NOT NULL,
SERVER_NM VARCHAR(60) NULL,
DBMS_KND VARCHAR(2) NULL,
CECK_SQL VARCHAR(250) NULL,
MNGR_NM VARCHAR(60) NULL,
MNGR_EMAIL_ADRES VARCHAR(50) NULL,
MNTRNG_STTUS CHAR(2) NULL,
CREAT_DT DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
FRST_REGIST_PNTTM DATETIME NOT NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NOT NULL,
PRIMARY KEY (DATA_SOURC_NM)
)
;
CREATE UNIQUE INDEX COMTNDBMNTRNG_PK ON COMTNDBMNTRNG
(
DATA_SOURC_NM
)
;
/* 휴일관리 */
CREATE TABLE COMTNRESTDE
(
RESTDE_NO NUMERIC(6) NOT NULL,
RESTDE CHAR(8) NULL,
RESTDE_NM VARCHAR(60) NULL,
RESTDE_DC VARCHAR(200) NULL,
RESTDE_SE_CODE VARCHAR(2) NULL,
FRST_REGIST_PNTTM DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
PRIMARY KEY (RESTDE_NO)
)
;
CREATE UNIQUE INDEX COMTNRESTDE_PK ON COMTNRESTDE
(
RESTDE_NO
)
;
/* 송수신모니터링로그정보 */
CREATE TABLE COMTHTRSMRCVMNTRNGLOGINFO
(
LOG_ID CHAR(20) NOT NULL,
CNTC_ID CHAR(8) NOT NULL,
TEST_CLASS_NM VARCHAR(255) NULL,
MNGR_NM VARCHAR(60) NULL,
MNGR_EMAIL_ADRES VARCHAR(50) NULL,
MNTRNG_STTUS CHAR(2) NULL,
LOG_INFO VARCHAR(2000) NULL,
CREAT_DT DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
FRST_REGIST_PNTTM DATETIME NOT NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
LAST_UPDT_PNTTM DATETIME NOT NULL,
PRIMARY KEY (LOG_ID)
)
;
CREATE UNIQUE INDEX COMTHTRSMRCVMNTRNGLOGINFO_PK ON COMTHTRSMRCVMNTRNGLOGINFO
(
LOG_ID
)
;
/* DB서비스모니터링로그정보 */
CREATE TABLE COMTHDBMNTRNGLOGINFO
(
DATA_SOURC_NM VARCHAR(60) NOT NULL,
SERVER_NM VARCHAR(60) NULL,
DBMS_KND VARCHAR(2) NULL,
CECK_SQL VARCHAR(250) NULL,
MNGR_NM VARCHAR(60) NULL,
MNGR_EMAIL_ADRES VARCHAR(50) NULL,
MNTRNG_STTUS CHAR(2) NULL,
LOG_INFO VARCHAR(2000) NULL,
CREAT_DT DATETIME NULL,
FRST_REGISTER_ID VARCHAR(20) NULL,
FRST_REGIST_PNTTM DATETIME NOT NULL,
LAST_UPDT_PNTTM DATETIME NOT NULL,
LAST_UPDUSR_ID VARCHAR(20) NULL,
LOG_ID CHAR(20) NOT NULL,
PRIMARY KEY (LOG_ID)
)
;
CREATE UNIQUE INDEX COMTHDBMNTRNGLOGINFO_PK ON COMTHDBMNTRNGLOGINFO
(
LOG_ID
)
;
|
INSERT INTO users (username, password, balance)
VALUES
('user1','pbkdf2:sha256:150000$GvVnT6am$378d081b4dc457b29f4f4b586868ad6ba48aa3dd0921ca57a1e8769249183a47', 0),
('user2','pbkdf2:sha256:150000$vAjo9nvm$4ddc5af00da79c82947064dcf63260865303c26094b56d5d4b4f54766762c590', 500),
('user3','pbkdf2:sha256:150000$qWCOMov3$dcc6846d8bdfdf0040900186539ac660636b2e42bac1c3be3efb7eb05f366a31', 1750),
('user4','pbkdf2:sha256:150000$APaopus6$a5ac347123855f8aa9c56bfbf2df7b647dc05e4b85f7356407441ef09e4d1730', 500),
('user5','pbkdf2:sha256:150000$NO9FGhBO$f7267d0ea798388a8595f1ccb54fd400a0968534f1eecb70b09921a463376716', 0);
INSERT INTO transactions (sender_id, receiver_id, value)
VALUES (1,2,500);
|
insert into tbl_insert_during_redis select * from tbl_insert_during_redis_cp;
|
-- --------------------------------------------------------
-- 主机: 61.160.251.70
-- 服务器版本: 5.5.19-log - Source distribution
-- 服务器操作系统: Linux
-- HeidiSQL 版本: 11.0.0.5919
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- 导出 表 ola.accounts 结构
CREATE TABLE IF NOT EXISTS `accounts` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`remark` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`accountType` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`clientId` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`clientSecret` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`redirectUri` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`accessToken` text COLLATE utf8mb4_unicode_ci NOT NULL,
`refreshToken` text COLLATE utf8mb4_unicode_ci NOT NULL,
`tokenExpires` int(11) NOT NULL,
`status` tinyint(4) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.accounts 的数据:~0 rows (大约)
/*!40000 ALTER TABLE `accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounts` ENABLE KEYS */;
-- 导出 表 ola.failed_jobs 结构
CREATE TABLE IF NOT EXISTS `failed_jobs` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.failed_jobs 的数据:~0 rows (大约)
/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */;
-- 导出 表 ola.migrations 结构
CREATE TABLE IF NOT EXISTS `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.migrations 的数据:~6 rows (大约)
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2019_08_19_000000_create_failed_jobs_table', 1),
(3, '2019_10_09_143144_create_settings_table', 1),
(4, '2020_03_29_160103_create_account_table', 1),
(5, '2020_06_02_100822_create_short_urls_table', 1);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
-- 导出 表 ola.settings 结构
CREATE TABLE IF NOT EXISTS `settings` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.settings 的数据:~0 rows (大约)
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
-- 导出 表 ola.short_urls 结构
CREATE TABLE IF NOT EXISTS `short_urls` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`original_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`short_code` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_code` (`short_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.short_urls 的数据:~0 rows (大约)
/*!40000 ALTER TABLE `short_urls` DISABLE KEYS */;
/*!40000 ALTER TABLE `short_urls` ENABLE KEYS */;
-- 导出 表 ola.users 结构
CREATE TABLE IF NOT EXISTS `users` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_mail` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 正在导出表 ola.users 的数据:~1 rows (大约)
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`id`, `name`, `email`, `password`, `status`, `created_at`, `updated_at`) VALUES
(1, 'admin', '[email protected]', '$2y$10$VJN/lU/t.Lliug2DmgGLHusZX3TV41qd34V6ZE3XlhZipWxEwzcHi', 1, NULL, NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
drop schema if exists private_010 cascade;
|
-- RNGSEED: 1
-- EXPLAIN (FORMAT JSON)
select dt.d_year
,item.i_category_id
,item.i_category
,sum(ss_ext_sales_price)
from date_dim dt
,store_sales
,item
where dt.d_date_sk = store_sales.ss_sold_date_sk
and store_sales.ss_item_sk = item.i_item_sk
and item.i_manager_id = 1
and dt.d_moy=12
and dt.d_year=2000
group by dt.d_year
,item.i_category_id
,item.i_category
order by sum(ss_ext_sales_price) desc,dt.d_year
,item.i_category_id
,item.i_category
limit 100 ;
|
-- Deploy auth:anchor-tenent to pg
BEGIN;
SELECT auth_fn.build_app_tenant(
'Anchor Tenant'
,'T000001'
)
;
SELECT auth_fn.build_app_user(
(SELECT id FROM auth.app_tenant WHERE identifier = 'T000001')
,'appsuperadmin'
,'badpassword'
,'SuperAdmin'
)
;
COMMIT;
|
-- База данных behest (сайт "Наследие")
-- Требования в Требования.txt
-- Здесь минимум, поэтому решил пока не переносить в отдельный репозиторий.
-- Сделаю здесь, позже перенесу и буду дорабатывать.
-- В папке "Нормативная база" некоторые нормативные и справочные источники.
-- Сначала запустить filldb.sql.
DROP DATABASE IF EXISTS behest;
CREATE DATABASE behest;
USE behest;
-- Роли пользователя определяют права доступа к разделам сайта.
DROP TABLE IF EXISTS roles;
CREATE TABLE roles (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор роли",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование роли",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Роли пользователя в системе";
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор учетной записи пользователя",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование учетной записи пользователя",
email VARCHAR(255) NOT NULL UNIQUE COMMENT "Электронная почта пользователя",
email_confirmed BOOLEAN NOT NULL DEFAULT 0 COMMENT "Подтвержение электронной почты пользователя",
phone VARCHAR(64) NOT NULL COMMENT "Телефон пользователя",
phone_confirmed BOOLEAN NOT NULL DEFAULT 0 COMMENT "Подтвержение телефона пользователя",
password_hash VARCHAR(1024) COMMENT "Хэш пароля пользователя",
blocked BOOLEAN NOT NULL DEFAULT 0 COMMENT "Блокировка учетной записи пользователя",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Учетная запись пользователя";
DROP TABLE IF EXISTS user_roles;
CREATE TABLE user_roles (
user_id INT UNSIGNED NOT NULL COMMENT "Идентификатор учетной записи пользователя",
role_id INT UNSIGNED NOT NULL COMMENT "Идентификатор роли",
PRIMARY KEY (user_id, role_id),
CONSTRAINT user_roles_user_id_fk FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT user_roles_role_id_fk FOREIGN KEY (role_id) REFERENCES roles (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Назначение роли учетной записи пользователя";
DROP TABLE IF EXISTS media_types;
CREATE TABLE media_types (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор типа медиа файла",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование типа медиа файла",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Типы медиа файлов";
-- После загрузки файла высчитываем его хэш. Если такой хэш уже присутствует в базе,
-- значит этот файл уже закачивался, поэтому файл не сохраняем на сетевой ресурс.
-- В любом случае в таблицу media передаем хэш файла, даже файл с таким хэшем уже существует.
-- Таким образом получается, что одному хэшу соответствует несколько записей медиа, с разными названиями,
-- но одним файлом.
-- Хэш нужен для того, чтобы не хранить идентичные файлы на диске. Если исходный файл был изменен,
-- то он сохраняется под другим хэшем и это уже абсолютно другой файл. Это связано с тем, что
-- пользователи могут загрузить одни и те же картинки, например, котиков. Хэшем мы отсекаем дубликаты файлов.
-- Это существенно для бюджетных хостингов, когда дискового пространства мало, экономия получается до 40%.
DROP TABLE IF EXISTS files;
CREATE TABLE files (
hash VARCHAR(128) NOT NULL PRIMARY KEY COMMENT "Хэш медиа файла",
file_name VARCHAR(255) NOT NULL UNIQUE COMMENT "Путь медиа файла",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Путь к файлу";
DROP TABLE IF EXISTS media;
CREATE TABLE media (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор медиа файла",
name VARCHAR(255) COMMENT "Понятное Наименование медиа файла",
description NVARCHAR(1024) COMMENT "Понятное описание медиа файла",
media_type_id INT UNSIGNED NOT NULL COMMENT "Идентификатор типа медиа файла",
user_id INT UNSIGNED NOT NULL COMMENT "Идентификатор собственника медиа файла",
size INT UNSIGNED NOT NULL COMMENT "Размер медиа файла",
metadata JSON COMMENT "Метаданные медиа файла",
files_hash VARCHAR(128) NOT NULL COMMENT "Идентификатор файла",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT media_media_type_id_fk FOREIGN KEY (media_type_id) REFERENCES media_types (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT media_files_hash_fk FOREIGN KEY (files_hash) REFERENCES files (hash) ON DELETE NO ACTION ON UPDATE CASCADE
) comment = "Метаданные медиа файла";
DROP TABLE IF EXISTS city;
CREATE TABLE city (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор города",
name VARCHAR(255) NOT NULL COMMENT "Наименование города",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Города";
DROP TABLE IF EXISTS profiles;
CREATE TABLE profiles (
user_id INT UNSIGNED NOT NULL PRIMARY KEY COMMENT "Идентификатор пользователя",
last_name VARCHAR(100) COMMENT "Фамилия",
first_name VARCHAR(100) COMMENT "Имя",
middle_name VARCHAR(100) COMMENT "Отчество",
gender CHAR(1) COMMENT "Пол",
birthday DATE COMMENT "Дата рождения",
city_id INT UNSIGNED COMMENT "Идентификатор города",
photo_id INT UNSIGNED COMMENT "Идентификатор аватарки",
metadata JSON COMMENT "Метаданные профиля пользователя",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT profiles_user_id_fk FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT profiles_city_id_fk FOREIGN KEY (city_id) REFERENCES city (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT profiles_photo_id_fk FOREIGN KEY (photo_id) REFERENCES media (id) ON DELETE NO ACTION ON UPDATE CASCADE
) comment = "Профиль пользователя";
-- Делаю пока только один классификатор. Для простоты выбрал ББК, так как данные проще обработать.
-- Решил на первое время максимально упростить классификатор, поэтому простое дерево. На основе ББК.
DROP TABLE IF EXISTS classifier;
CREATE TABLE classifier (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор раздела классификатора",
code VARCHAR(127) NOT NULL UNIQUE COMMENT "Код раздела классификатора",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование раздела классификатора",
parent_id INT UNSIGNED COMMENT "Идентификатор родительского раздела классификатора",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Классификатор";
DROP TABLE IF EXISTS business;
CREATE TABLE business(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор вида деятельности",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование вида деятельности",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Вид деятельности";
DROP TABLE IF EXISTS organization;
CREATE TABLE organization(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор организации",
name VARCHAR(255) NOT NULL COMMENT "Наименование организации",
inn LONG COMMENT "ИНН",
business_id INT UNSIGNED NOT NULL COMMENT "Идентификатор вида деятельности",
user_id INT UNSIGNED NOT NULL COMMENT "Идентификатор пользователя",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT organization_user_id_fk FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT organization_business_id_fk FOREIGN KEY (business_id) REFERENCES business (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Организация";
DROP TABLE IF EXISTS cards;
CREATE TABLE cards(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор каталожной карточки",
title VARCHAR(1024) NOT NULL COMMENT "Заголовок библиографической записи",
bibliographic_description NVARCHAR(4096) COMMENT "Библиографическое описание",
organization_id INT UNSIGNED NOT NULL COMMENT "Идентификатор учреждения (организации) составившего и/илн выпустившего карточку",
user_id INT UNSIGNED NOT NULL COMMENT "Идентификатор пользователя",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT cards_user_id_fk FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT cards_organization_id_fk FOREIGN KEY (organization_id) REFERENCES organization (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Каталожная карточка";
DROP TABLE IF EXISTS keywords;
CREATE TABLE keywords(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор ключевого слова",
word VARCHAR(255) NOT NULL COMMENT "Ключевое слово",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Ключевые слова";
DROP TABLE IF EXISTS card_keywords;
CREATE TABLE card_keywords (
card_id INT UNSIGNED NOT NULL COMMENT "Идентификатор каталожной карточки",
keyword_id INT UNSIGNED NOT NULL COMMENT "Идентификатор ключевого слова",
PRIMARY KEY (card_id, keyword_id),
CONSTRAINT card_keywords_card_id_fk FOREIGN KEY (card_id) REFERENCES cards (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT card_keywords_keyword_id_fk FOREIGN KEY (keyword_id) REFERENCES keywords (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Связь каталожной карточки с ключевыми словами";
DROP TABLE IF EXISTS classifier_cards;
CREATE TABLE classifier_cards (
classifier_id INT UNSIGNED NOT NULL COMMENT "Идентификатор раздела классификатора",
card_id INT UNSIGNED NOT NULL COMMENT "Идентификатор каталожной карточки",
PRIMARY KEY (classifier_id, card_id),
CONSTRAINT classifier_cards_classifier_id_fk FOREIGN KEY (classifier_id) REFERENCES classifier (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT classifier_cards_card_id_id_fk FOREIGN KEY (card_id) REFERENCES cards (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Связь каталожной карточки с классификатором";
DROP TABLE IF EXISTS card_ciphers;
CREATE TABLE card_ciphers (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор шифров",
card_id INT UNSIGNED NOT NULL COMMENT "Идентификатор каталожной карточки",
cipher INT UNSIGNED NOT NULL COMMENT "Шифр каталожной карточки",
CONSTRAINT card_ciphers_card_id_id_fk FOREIGN KEY (card_id) REFERENCES cards (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Шифры документов и сиглы библиотек";
DROP TABLE IF EXISTS publication_type;
CREATE TABLE publication_type(
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор типа публикации",
name VARCHAR(255) NOT NULL UNIQUE COMMENT "Наименование типа публикации",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) COMMENT = "Тип публикации";
DROP TABLE IF EXISTS personalities;
CREATE TABLE personalities (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор персоны",
last_name VARCHAR(100) NOT NULL COMMENT "Фамилия",
first_name VARCHAR(100) NOT NULL COMMENT "Имя",
middle_name VARCHAR(100) NOT NULL COMMENT "Отчество",
birthday DATE COMMENT "Дата рождения",
deathday DATE COMMENT "Дата смерти",
biography TEXT COMMENT "Биография",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи"
) comment = "Персоналии";
DROP TABLE IF EXISTS publications;
CREATE TABLE publications (
card_id INT UNSIGNED NOT NULL PRIMARY KEY COMMENT "Идентификатор публикации",
publication_type_id INT UNSIGNED NOT NULL COMMENT "Идентификатор типа публикации",
circumstances TEXT NOT NULL COMMENT "Обстоятельства создания",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT publications_card_id_fk FOREIGN KEY (card_id) REFERENCES cards (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT publications_publication_type_id_fk FOREIGN KEY (publication_type_id) REFERENCES publication_type (id) ON DELETE NO ACTION ON UPDATE CASCADE
) comment = "Публикация";
DROP TABLE IF EXISTS tracker_points;
CREATE TABLE tracker_points (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор трекера",
event_date DATE NOT NULL COMMENT "Дата события",
latitude DOUBLE NOT NULL COMMENT "Широта",
longitude DOUBLE NOT NULL COMMENT "Долгота",
note TEXT COMMENT "Замечание относительно данного события",
publication_id INT UNSIGNED NOT NULL COMMENT "Идентификатор публикации",
CONSTRAINT tracker_points_publication_id_fk FOREIGN KEY (publication_id) REFERENCES publications (card_id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Трекер";
DROP TABLE IF EXISTS behests;
CREATE TABLE behests (
publication_id INT UNSIGNED NOT NULL PRIMARY KEY COMMENT "Идентификатор памятника",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT behest_publication_id_fk FOREIGN KEY (publication_id) REFERENCES publications (card_id) ON DELETE NO ACTION ON UPDATE CASCADE
) comment = "Памятник";
DROP TABLE IF EXISTS other_publications;
CREATE TABLE other_publications (
behest_id INT UNSIGNED NOT NULL COMMENT "Идентификатор памятника",
publication_id INT UNSIGNED NOT NULL COMMENT "Идентификатор публикации",
own BOOLEAN NOT NULL DEFAULT 0 COMMENT "Собственное издание",
PRIMARY KEY (behest_id, publication_id),
CONSTRAINT other_publications_behest_id_fk FOREIGN KEY (behest_id) REFERENCES behests (publication_id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT other_publications_publication_id_fk FOREIGN KEY (publication_id) REFERENCES publications (card_id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Другие издания";
DROP TABLE IF EXISTS documents;
CREATE TABLE documents (
publication_id INT UNSIGNED NOT NULL PRIMARY KEY COMMENT "Идентификатор документа",
owner INT UNSIGNED NOT NULL COMMENT "Собственник документа",
author INT UNSIGNED NOT NULL COMMENT "Автор документа",
title VARCHAR(255) NOT NULL UNIQUE COMMENT "Название",
annotation VARCHAR(255) NOT NULL UNIQUE COMMENT "Аннотация",
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Дата создания записи",
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Дата последней правки записи",
CONSTRAINT documents_owner_fk FOREIGN KEY (owner) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT documents_author_fk FOREIGN KEY (author) REFERENCES users (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT documents_publication_id_fk FOREIGN KEY (publication_id) REFERENCES publications (card_id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Документ";
DROP TABLE IF EXISTS authors;
CREATE TABLE authors (
document_id INT UNSIGNED NOT NULL COMMENT "Идентификатор документа",
personalitie_id INT UNSIGNED NOT NULL COMMENT "Идентификатор персоны",
PRIMARY KEY (document_id, personalitie_id),
CONSTRAINT authors_document_id_fk FOREIGN KEY (document_id) REFERENCES documents (publication_id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT authors_personalitie_id_fk FOREIGN KEY (personalitie_id) REFERENCES personalities (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Авторы";
DROP TABLE IF EXISTS pages;
CREATE TABLE pages (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT "Идентификатор страницы",
document_id INT UNSIGNED NOT NULL COMMENT "Идентификатор документа",
image_id INT UNSIGNED NOT NULL COMMENT "Скан страницы",
content TEXT NOT NULL COMMENT "Содержание (текст) страницы",
CONSTRAINT pages_document_id_fk FOREIGN KEY (document_id) REFERENCES documents (publication_id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT pages_image_id_fk FOREIGN KEY (image_id) REFERENCES media (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Страница документа";
DROP TABLE IF EXISTS reference_pages;
CREATE TABLE reference_pages (
reference_id INT UNSIGNED NOT NULL COMMENT "Скан страницы",
sending_id INT UNSIGNED NOT NULL COMMENT "Скан страницы",
PRIMARY KEY (reference_id, sending_id),
CONSTRAINT reference_pages_reference_id_fk FOREIGN KEY (reference_id) REFERENCES pages (id) ON DELETE NO ACTION ON UPDATE CASCADE,
CONSTRAINT reference_pages_sending_id_fk FOREIGN KEY (sending_id) REFERENCES pages (id) ON DELETE NO ACTION ON UPDATE CASCADE
) COMMENT = "Связи между страницами";
-- Индексы и поисковые вещи делать не стал, так как это noSQL. У меня есть свои алгоритмы поиска,
-- надо их только перенести с делфи на питон или шарпы. Писано очень давно, функционал напоминает
-- чем-то эластик, но есть свои фишечки, позволяют настроить автоматическую рубрикацию
-- и реализовать пертинентный поиск.
INSERT INTO roles (name) VALUES ('admin'),('user'),('author'),('moderator'),('owner'),('redactor'),('expert');
INSERT INTO users (name, email, email_confirmed, phone, phone_confirmed, password_hash, blocked) VALUES
('gaylord.darrion','[email protected]',0,'+30(5)3202100932',0,'f9e20680e58746a1f959bcc95d501ac6347c308e',0),
('carolyn94','[email protected]',0,'(493)284-7081x5855',0,'15e1fc6310bf18a9ce96f4ce1cb32e42feca1111',0),
('rkihn','rosina.o\'[email protected]',0,'1-074-109-2670',1,'1bf6f593147a7d0fcd679a34bc2478afccdb28be',1),
('beth47','ro\'[email protected]',0,'1-299-512-8910x528',0,'833b37eb01e739f2dfb314a0bbc890d7cb60b475',0),
('gzemlak','[email protected]',0,'(198)720-3901',0,'fc37680d578dddfcebe292f2a6297a198b46cca2',1),
('bhowell','[email protected]',1,'933-131-5290',0,'2552d173976fbbaea308b23bd4571be4a2f9a125',1),
('darien.muller','[email protected]',1,'+42(4)8528535202',0,'4ec677d76e1a222a1d5fbfffa76cc4944e58368e',0),
('stephon.quigley','[email protected]',1,'921-614-8557x24206',0,'99dc587f896427deb25ce2983ac427ef90f8e7fe',1),
('amitchell','[email protected]',1,'(551)385-6334x2651',1,'28d70c6509b27a4c5dd517743a9e4640fdedb91e',1),
('vita05','[email protected]',1,'069-492-2493x870',0,'59eb760d20c4e776094836f93eb4fcc38b1dfcd8',0),
('hbarrows','[email protected]',0,'752.024.5557',1,'60a462f6011cc362fe9233cd00d8d465738444b5',1),
('carter.gregoria','[email protected]',0,'892-653-3700',1,'017375b1ee80312f7088b95be759659f6c6312c4',0),
('mathilde24','[email protected]',1,'(329)445-9798x33577',0,'6f6cea0b97eaf12126d27f873d3cfdad854203b8',1),
('mweissnat','[email protected]',0,'564.191.9322',0,'f13621910cb2cc3210498981a60816cbaab555d6',1),
('howard75','[email protected]',1,'1-774-429-1992',0,'955bbc0809796830b2e1c63b8f1b6acf1f1809f0',0),
('buford89','[email protected]',0,'(837)676-5197x98989',0,'0452d52c471a148de86487bec0d2e4af7daadaba',0),
('keebler.jedidiah','[email protected]',1,'1-522-876-5759',1,'44a0844a708c71164f145a6eeb89ff382b800214',0),
('raven18','[email protected]',1,'589.514.8447x258',1,'7f89fc22598432fd0600d8bcdb717d143c5bfabf',1),
('hdubuque','[email protected]',1,'616-418-8840',0,'d4c6bbac410ad5e7094b4804e53fdb0db63bb8dd',0),
('lemke.roosevelt','[email protected]',0,'1-034-846-2814',0,'8d50a1a9b43785159c6b6d1aa1b9c89fdbec50c1',1),
('brakus.noelia','[email protected]',1,'08252825059',1,'4d4eede24cd6de635e94c57dd81e1fc7ed68290d',1),
('misael.kuhlman','[email protected]',0,'977.937.4400x7748',0,'5a4c19eddb81d3e4c324468b4c006f7137fb8c24',0),
('zwaters','[email protected]',0,'1-160-330-9525x127',0,'9d94167172bb383018fb9d5f90d3b3af00279c4d',0),
('rowena33','[email protected]',0,'+64(0)2068940909',0,'83d2a432b2424fb66214b8474a4602027ca751da',1),
('reichert.kaley','[email protected]',0,'281.083.3422',1,'eb83d61c5b327a31a8f4cd255d32570577b167a2',0),
('hilpert.gussie','[email protected]',1,'923-247-0829x5002',0,'7cc3d720b978a77261db5cbe8377de89ca2a3d75',1),
('helena98','[email protected]',1,'+20(1)1645489553',1,'d184bdc8751279af5d2aaf363659dd27662de5e5',0),
('julien47','[email protected]',0,'(270)877-2136x5984',0,'faa4544d1f8879ae94ef2ad07f0c8d1ce0e4db8f',0),
('bell.pfeffer','[email protected]',0,'1-941-144-2285x35081',1,'e52baf2770254baa0052e2b925dabd6f37a6ac16',0),
('wo\'reilly','[email protected]',0,'+36(6)8787404448',0,'bb4f061363de520b66c91295992e9b4841180618',0),
('ullrich.merritt','[email protected]',1,'132-404-7238x118',1,'8472b2290e39141a006ca3491259d8d7f2fc72da',1),
('laverna.auer','[email protected]',1,'01230480109',0,'07edd918acf849b1e10b574fcd547d27c0eff4e9',0),
('grimes.estevan','[email protected]',0,'368.319.3572x03162',0,'92131a7fab23a948d99eae846ff1e365e14573b6',1),
('arnaldo.runolfsdottir','[email protected]',1,'733-644-7769x3647',0,'6a3744d5a547a163683ba4145b156f210820dddc',1),
('evie.bradtke','[email protected]',1,'+62(4)8773130356',0,'e3f878a4662afa55cfe8b9211a358a2a71ee5212',1),
('leanne.rempel','[email protected]',1,'(041)105-9395x130',0,'2b0cae802b9217db8c0376ce5a9bc7a3fbedc9c7',1),
('vicky.jakubowski','[email protected]',0,'+18(8)5236787371',0,'3618527fc4eec86ac1a37cfe3a1d1efcf0f21ccb',1),
('barrett98','[email protected]',0,'370.129.8190',1,'bbadae5fd0114a33ee25636bd77dcebabc50d61a',0),
('pkovacek','[email protected]',0,'1-824-600-6210x464',1,'8f699b7d448ce20983b84080bf83e74f3b47f202',1),
('theresia57','[email protected]',0,'+92(0)9355034702',0,'3767f48a0bb85fae6ce28e71cd4bf9f33078f428',1),
('christiansen.tyreek','[email protected]',1,'1-031-100-1583x835',0,'91f68dd64c787144c9bf92d6ab2cb4517cbddccb',0),
('grady.gabriella','[email protected]',1,'1-467-136-2908x004',0,'04d165d190e7ad93662a6cc258e05d28db967e33',0),
('fhirthe','[email protected]',1,'06269722776',0,'a4a113345abbd1def121e8d89441daa7e8e7966a',0),
('jess.oberbrunner','[email protected]',1,'1-330-703-8674x3490',0,'10bf1ca277638b67b435451c15a34bded500f347',0),
('ethel34','[email protected]',1,'888.604.4778',1,'7da2fa0af16f5d4d0c16546fdbf53b151f86cf4d',0),
('wuckert.lenna','[email protected]',1,'833-867-2605',1,'443a6b144417d0b5433217d53cf417b9fc2f2083',1),
('blick.elwin','[email protected]',1,'(167)337-9308x500',0,'7ef7ab288dae57d2c6f79ff33a92e9e40db28d7d',0),
('rkirlin','[email protected]',0,'1-222-479-0636x289',1,'449e703fd301f1273cc15ce030a0cc1b6b045cc4',1),
('kevon86','[email protected]',1,'744.300.5489',0,'e213f0cfc1d2a6316d88cc1c52ffada029b8eb28',0),
('svolkman','[email protected]',1,'(602)444-7012x97120',0,'d5fe288ce48074c6b88efeb683b75622be2b5d9d',1),
('marks.dee','[email protected]',0,'(128)759-2879x098',1,'6d748e3c31c7232840449dce89e76cb6199a0ec1',1),
('tzemlak','[email protected]',0,'1-031-458-8605x2728',0,'54f0dc398163c98713be35d06d1825bcc79c93df',0),
('lindsey.abshire','[email protected]',0,'(300)612-3674x67611',0,'fe3470280600af674394d5a4ae778ee52ed30f12',0),
('vonrueden.ellsworth','[email protected]',1,'(932)707-1415',1,'b31013a2f467b4f496c7cff8e10735455dff1ed8',1),
('maximilian25','[email protected]',0,'+15(5)9216987263',0,'d2c6963f875092b4167c26aa5519e56f5d59a9b7',0),
('boyer.cyril','[email protected]',1,'(330)773-4848x69920',0,'b7bdb7518bf407b7113f03b74a289a9bd38c3cfe',0),
('liliane04','[email protected]',0,'09283051481',1,'81f63245561863b9aecac70da592cb0d7d9086a5',0),
('yrunolfsson','[email protected]',0,'1-483-457-2630x642',1,'d4676a4e145bde7012804c47570f1244cc0a69bd',0),
('emmanuelle92','[email protected]',0,'107.297.9041x531',1,'d8a4c2c15a2709573b79f52286091b5ae6bc612e',1),
('ukoepp','[email protected]',0,'675.397.2731x35315',1,'a16eb7efe677431c00fa3bc1761fc2c9304be84d',1),
('vhomenick','[email protected]',0,'1-334-084-8897',0,'e1344f4509d402c90635ad66acdf04234c7be786',0),
('kkohler','[email protected]',0,'+60(8)4133455598',0,'40e272003f624ad6042a3098523dd98dc15f1850',0),
('sherman70','[email protected]',0,'+85(8)3187977043',1,'a9378bb6c691e3d6bd420ab9d0c24db414f53a98',0),
('tressa.yost','[email protected]',1,'1-061-239-0088',0,'77ac6f7ecaa619e0385eca2d9cceef33c982f534',0),
('rosemarie59','[email protected]',0,'303-962-7491x5882',1,'253bf57b76eb4e83ff9bc400078aba4b6883f043',1),
('botsford.hildegard','[email protected]',0,'1-685-176-1320x396',0,'037c2d5caecfc9385c5844fd251db420562a9c1f',0),
('fpagac','[email protected]',1,'966.004.2703',1,'a1f738d132b907f40da49890cd1456683bb82304',1),
('nswift','[email protected]',0,'521-754-7839x63409',1,'2334b1492f54c2c7968c7aa168b60f5018a042af',0),
('chase.romaguera','[email protected]',0,'(878)282-9732x17759',0,'aaae1999b5e5d6404cd1ad8935e733b3cec80cde',0),
('lesch.thaddeus','[email protected]',0,'040-959-8782x15070',0,'7b6119470d7974acd1a9f2eeeb3efc70c0f548f2',0),
('charity.ziemann','[email protected]',0,'542.416.4393x8658',0,'77d1bb1a70c2a70cbed355384898d0f9ea1786d4',0),
('emiller','[email protected]',0,'(734)475-8896',0,'5defad6fe1f106516a05ab9aa37e221425affeb2',1),
('cschulist','[email protected]',0,'690.606.9333x24291',0,'103d6f60fc3ea28d691f1370bf4d03904ac33453',0),
('hassie.hegmann','[email protected]',1,'1-683-116-6767',0,'9567bd4910467844ebf8facb59f905ef92e7f197',1),
('rosina06','[email protected]',0,'1-246-097-3941x948',0,'92b3f32e0f9a2263df2598973f2c95a8f7a4b038',0),
('glover.jaquelin','[email protected]',0,'(817)712-8410x350',0,'c561767024da899a62cad3e187a65defc12a8060',0),
('johnson.emard','[email protected]',0,'05121798574',1,'9346bc867be30b800e992ede2de258362883a143',1),
('ashley.mccullough','[email protected]',0,'09968145482',0,'81702db26305e64141ab63902a3052cebc3f63fb',1),
('davis.jack','[email protected]',1,'(047)926-7100x47218',0,'76f596bd3e9fef45705640ffd30bc00468852351',1),
('friesen.hal','[email protected]',1,'253-777-9624x9899',0,'218929c276dd27b7ad5b526e91a4885c0ac7dae6',1),
('jgutkowski','[email protected]',0,'1-114-917-4891x995',0,'d12f832ca0ed181f0404c45336e6fb5b1aa95f47',1),
('hmills','[email protected]',1,'312-579-9583',1,'7ae88bb094860d40a9ff91f9a87923fc61562cb1',1),
('earnest.mitchell','[email protected]',0,'1-956-587-7130x74786',1,'1b6544b0c845bd73ea25062bd703e77a9005ec24',0),
('wuckert.tressie','[email protected]',0,'691-504-5400x26633',0,'1a89902d2704135df178332336fe91274c9ea6d2',0),
('gideon96','[email protected]',0,'1-293-688-7574x21453',1,'52d88129d7b422173f140e3635bb82ae5ed30b5b',1),
('brooke50','[email protected]',0,'1-988-631-9593x45970',1,'32af62890271e69506be46049faad7c9b65e9ec3',0),
('ncarter','[email protected]',1,'(503)185-8604x5247',0,'846600dccd4940ed3c468d23235aa4cbe86b83f2',1),
('emilia38','[email protected]',1,'299.199.7892x7162',1,'a1af22b2d6ea85281ff34bc021e3d95cf1f71d53',0),
('ghilll','[email protected]',1,'509.326.0532x684',0,'f4823aeb45f91e4e2e6179e0d37281db949b1c1f',0),
('arlie.dickens','[email protected]',1,'06499730347',0,'3ef8e78d156dc444ced7c3ea6825793c1d1281eb',0),
('pgerhold','[email protected]',1,'(170)250-7785x53650',1,'27e65b3d981ce2e6e2ce6bb0d349e645c0475ccf',1),
('vhamill','[email protected]',1,'619-417-1142',1,'4764c7bc8390bfa9ed86e26521d02147c115deec',1),
('dawson.pollich','[email protected]',1,'426-906-9870',1,'01c4f9363497c464967a89077037cbb016c6dd53',1),
('qyundt','[email protected]',0,'977.567.7322',1,'7d0f52c2a58fdf743c7d6141af3d786c8f554243',0),
('johnpaul.sipes','[email protected]',1,'234.792.1224x3836',0,'98a40ec6a1940bb6d78fd7e6136500e1155f7204',1),
('orval.torp','[email protected]',0,'(763)641-0394',1,'2d07450da821c7485a36721f6120591efece4a83',0),
('yadira.koepp','[email protected]',0,'544.771.6317x1732',1,'962f69f92afe96798d8260f3dad460ca878aa45b',1),
('lnolan','[email protected]',0,'624-192-5245',0,'e8261647ca25ff49c6701ef0b0dfcd803b1ec978',0),
('graham.javonte','[email protected]',1,'1-643-716-3224',1,'f01416903b629f5ccaba86acd2633651eafa920a',0),
('jordon.swift','[email protected]',1,'910-428-1879x608',1,'88a9321cc7d7d3b1e615a10a697091ac0193efb2',1);
INSERT INTO user_roles (user_id, role_id) VALUES
('1','2'),('1','3'),('1','5'),('1','7'),('2','1'),('2','2'),('2','3'),('2','4'),
('2','6'),('3','2'),('3','3'),('3','4'),('3','5'),('3','7'),('4','1'),('4','3'),
('4','4'),('4','5'),('4','6'),('5','2'),('5','4'),('5','5'),('5','6'),('5','7'),
('6','1'),('6','3'),('6','5'),('6','6'),('6','7'),('7','1'),('7','2'),('7','4'),
('7','6'),('7','7'),('8','1'),('8','2'),('8','3'),('8','5'),('8','7'),('9','1'),
('9','2'),('9','3'),('9','4'),('9','6'),('10','2'),('10','3'),('10','4'),
('10','5'),('10','7'),('11','1'),('11','3'),('11','4'),('11','5'),('11','6'),
('12','2'),('12','4'),('12','5'),('12','6'),('12','7'),('13','1'),('13','3'),
('13','5'),('13','6'),('13','7'),('14','1'),('14','2'),('14','4'),('14','6'),
('14','7'),('15','1'),('15','2'),('15','3'),('15','5'),('15','7'),('16','1'),
('16','2'),('16','3'),('16','4'),('16','6'),('17','2'),('17','3'),('17','4'),
('17','5'),('17','7'),('18','1'),('18','3'),('18','4'),('18','5'),('18','6'),
('19','2'),('19','4'),('19','5'),('19','6'),('19','7'),('20','1'),('20','3'),
('20','5'),('20','6'),('20','7'),('21','1'),('21','2'),('21','4'),('21','6'),
('21','7'),('22','1'),('22','2'),('22','3'),('22','5'),('22','7'),('23','1'),
('23','2'),('23','3'),('23','4'),('23','6'),('24','2'),('24','3'),('24','4'),
('24','5'),('24','7'),('25','1'),('25','3'),('25','4'),('25','5'),('25','6'),
('26','2'),('26','4'),('26','5'),('26','6'),('26','7'),('27','1'),('27','3'),
('27','5'),('27','6'),('27','7'),('28','1'),('28','2'),('28','4'),('28','6'),
('28','7'),('29','1'),('29','2'),('29','3'),('29','5'),('29','7'),('30','1'),
('30','2'),('30','3'),('30','4'),('30','6'),('31','2'),('31','3'),('31','4'),
('31','5'),('31','7'),('32','1'),('32','3'),('32','4'),('32','5'),('32','6'),
('33','2'),('33','4'),('33','5'),('33','6'),('33','7'),('34','1'),('34','3'),
('34','5'),('34','6'),('34','7'),('35','1'),('35','2'),('35','4'),('35','6'),
('35','7'),('36','1'),('36','2'),('36','3'),('36','5'),('36','7'),('37','1'),
('37','2'),('37','3'),('37','4'),('37','6'),('38','2'),('38','3'),('38','4'),
('38','5'),('38','7'),('39','1'),('39','3'),('39','4'),('39','5'),('39','6'),
('40','2'),('40','4'),('40','5'),('40','6'),('40','7'),('41','1'),('41','3'),
('41','5'),('41','6'),('41','7'),('42','1'),('42','2'),('42','4'),('42','6'),
('42','7'),('43','1'),('43','2'),('43','3'),('43','5'),('43','7'),('44','1'),
('44','2'),('44','3'),('44','4'),('44','6'),('45','2'),('45','3'),('45','4'),
('45','5'),('45','7'),('46','1'),('46','3'),('46','4'),('46','5'),('46','6'),
('47','2'),('47','4'),('47','5'),('47','6'),('47','7'),('48','1'),('48','3'),
('48','5'),('48','6'),('48','7'),('49','1'),('49','2'),('49','4'),('49','6'),
('49','7'),('50','1'),('50','2'),('50','3'),('50','5'),('50','7'),('51','1'),
('51','2'),('51','3'),('51','4'),('51','6'),('52','2'),('52','3'),('52','4'),
('52','5'),('52','7'),('53','1'),('53','3'),('53','4'),('53','5'),('53','6'),
('54','2'),('54','4'),('54','5'),('54','6'),('54','7'),('55','1'),('55','3'),
('55','5'),('55','6'),('55','7'),('56','1'),('56','2'),('56','4'),('56','6'),
('56','7'),('57','1'),('57','2'),('57','3'),('57','5'),('57','7'),('58','1'),
('58','2'),('58','3'),('58','4'),('58','6'),('59','2'),('59','3'),('59','4'),
('59','5'),('59','7'),('60','1'),('60','3'),('60','4'),('60','5'),('60','6'),
('61','2'),('61','4'),('61','5'),('61','6'),('61','7'),('62','1'),('62','3'),
('62','5'),('62','6'),('62','7'),('63','1'),('63','2'),('63','4'),('63','6'),
('63','7'),('64','1'),('64','2'),('64','3'),('64','5'),('64','7'),('65','1'),
('65','2'),('65','3'),('65','4'),('65','6'),('66','2'),('66','3'),('66','4'),
('66','5'),('66','7'),('67','1'),('67','3'),('67','4'),('67','5'),('67','6'),
('68','2'),('68','4'),('68','5'),('68','6'),('68','7'),('69','1'),('69','3'),
('69','5'),('69','6'),('69','7'),('70','1'),('70','2'),('70','4'),('70','6'),
('70','7'),('71','1'),('71','2'),('71','3'),('71','5'),('71','7'),('72','1'),
('72','2'),('72','3'),('72','4'),('72','6'),('73','2'),('73','3'),('73','4'),
('73','5'),('73','7'),('74','1'),('74','3'),('74','4'),('74','5'),('74','6'),
('75','2'),('75','4'),('75','5'),('75','6'),('75','7'),('76','1'),('76','3'),
('76','5'),('76','6'),('76','7'),('77','1'),('77','2'),('77','4'),('77','6'),
('77','7'),('78','1'),('78','2'),('78','3'),('78','5'),('78','7'),('79','1'),
('79','2'),('79','3'),('79','4'),('79','6'),('80','2'),('80','3'),('80','4'),
('80','5'),('80','7'),('81','1'),('81','3'),('81','4'),('81','5'),('81','6'),
('82','2'),('82','4'),('82','5'),('82','6'),('82','7'),('83','1'),('83','3'),
('83','5'),('83','6'),('83','7'),('84','1'),('84','2'),('84','4'),('84','6'),
('84','7'),('85','1'),('85','2'),('85','3'),('85','5'),('85','7'),('86','1'),
('86','2'),('86','3'),('86','4'),('86','6'),('87','2'),('87','3'),('87','4'),
('87','5'),('87','7'),('88','1'),('88','3'),('88','4'),('88','5'),('88','6'),
('89','2'),('89','4'),('89','5'),('89','6'),('89','7'),('90','1'),('90','3'),
('90','5'),('90','6'),('90','7'),('91','1'),('91','2'),('91','4'),('91','6'),
('91','7'),('92','1'),('92','2'),('92','3'),('92','5'),('92','7'),('93','1'),
('93','2'),('93','3'),('93','4'),('93','6'),('94','2'),('94','3'),('94','4'),
('94','5'),('94','7'),('95','1'),('95','3'),('95','4'),('95','5'),('95','6'),
('96','2'),('96','4'),('96','5'),('96','6'),('96','7'),('97','1'),('97','3'),
('97','5'),('97','6'),('97','7'),('98','1'),('98','2'),('98','4'),('98','6'),
('98','7'),('99','1'),('99','2'),('99','3'),('99','5'),('99','7'),('100','1'),
('100','2'),('100','3'),('100','4'),('100','6');
INSERT INTO media_types (name) VALUES ('audio'),('image'),('video');
INSERT INTO files (hash, file_name) VALUES
('ba55dbcff5a70eb36848ed9b48e6e4d0379198d1', 'images/00b4a55684fe955f2b8496fc39419dc5.jpg'),
('34d45700515592be1621095205003e78fabb4409', 'images/01ef15b2ad62b7db52ec78c2c4689aee.jpg'),
('dd92ec7979e21c094e11702b77dbded460f55a44', 'images/028aeadb1ae5375bda66cb5d4d3122ef.jpg'),
('c43bdce21bd31de6b5c7ee7506e6975f34eb239f', 'images/03000e452262d659f32b5cd9dde6898f.jpg'),
('b6f460bf15b08b80dc8e08e0635a79f32bbc09a2', 'images/031d8ab947089c48d8d8494be6ceded4.jpg'),
('1e9f2a1ed7594d184d06a7d011b527e0f916c65d', 'images/03907569172cb2703dd99a04803cacdb.jpg'),
('c7a02da6a7e468804e400c82a35bda1e23314e3b', 'images/0390dd557e18b982c46df6d1ae48e8f6.jpg'),
('57388b6330d6227351784e7dbb4e98dea2133442', 'images/03993f354681cb78ef8173ffba26d141.jpg'),
('0fc8304bf26bf0393a93c47172fdaa3b6f1efa1d', 'images/039c47799be280b1de7b2538a48b5198.jpg'),
('80f7a133f9242e64d83fce85ba5ddc6478967c6f', 'images/03ac672bf82e29d799cb99ccd8438291.jpg'),
('39aae4c21d359d40fee5f7e1ede236ee1aa59148', 'images/040f6010665c4b49ec9a9d5202c1e84b.jpg'),
('80d56bc9ed794ec512fae59bd29b08c425e56fe8', 'images/0426337a3ca868dbc664ea3038721725.jpg'),
('9b9c59ebd0ccfd99ba472a8a8183fc4ddf06182d', 'images/047ee23c5c0b80a39aa1c9528843ff2b.jpg'),
('5136269aa6e86860f89f31e72ba06210f4f994b6', 'images/04ae72d5ee9707eb8eea59a4b113826b.jpg'),
('342d94be39679b55fa6cd04fead8fffeaa0424c5', 'images/04c0c07c4e1c71d052dd790461187642.jpg'),
('78caf950b8c3eb4044c4904cfaced03a0f36a63a', 'images/0578fb6e689d7daacdcba99f9b15a1b9.jpg'),
('633e1d98e0bc79d9079a5f635ae88fe29dfad3a8', 'images/06711f3bc47f185740655146bebb93a5.jpg'),
('44e6ff888acdce211b37a81f57c177058fb915ae', 'images/06b65caea46d8a6eaebc5da2f1f2fc28.jpg'),
('fd11a8ed4b7356f09d9afa4e1ede2cb786ae3bb3', 'images/06fdb108077621231811de64585f63d1.jpg'),
('d723c5cba13868dcbb470172c2b369e78f9c8e86', 'images/070e3af6ab85e19c3ec80e2b5e1b9226.jpg'),
('7ab6d1d3009bbca7b1c5d847fd7872dc770e1784', 'images/07175e6200d4dcb625df688b1fba4bd6.jpg'),
('9387d82448d323ca82f9ea89da881afc967904be', 'images/07d29bca11a75d981dd90f832a13dae4.jpg'),
('efccb4f42b5d81ebbcb7d90d4696c61b1fc0c13d', 'images/07eaccb31bff0e97f4824a8dd5975860.jpg'),
('73a1f7d53e39237d061d50d8207ac35700cd1f23', 'images/07ff8518bcee2d83413b96d5c347ec6b.jpg'),
('e240b684365325132c05ead78512ca6862a21398', 'images/08409798945c99ba88329bfda4763a2d.jpg'),
('ac46d4940c0e9a29e15cc5c4462d9b154eea6daa', 'images/08491b1e71cc8562f7c075ad8bf7810d.jpg'),
('ce5d67ac015428e497ea09421891e7bf6c814a02', 'images/08a53bff24fd9d1a13ac6bee47abb3f9.jpg'),
('7547eb44fada4f2e2ed5747a6692389423abd8bc', 'images/08bff78cc38b38fef74f1dd95c2394d7.jpg'),
('3193be55cbdd4d597caf2be56c318c27eadf833c', 'images/08dcf03431354428c8cdb2618f3a69bf.jpg'),
('b5d2eae99c5bf84a503af1a14b704dac40c033a0', 'images/09292e49162dc15a4d5e42b9fd4d8b0e.jpg'),
('df8c5d29c4ddc9b9e200ca99ee244af9d164017f', 'images/0a026638de494aaff147a78c2a76e1b0.jpg'),
('e9e2c9aa614f31906ffc1c115672140d0fb13200', 'images/0a197222e5c5d09acdf794e6483a3c36.jpg'),
('99ab15be85a17de1d26e0e1972fbf2d3d22980bc', 'images/0a37a01fb6090d1770cdab56baea3c3d.jpg'),
('86adebd3859fa4a3923dbc02a0714fb5cc4dc365', 'images/0a407598fcc617f92e7e71238456cd05.jpg'),
('53560edd43e4a1c729861b83d1db41ab76d35550', 'images/0a50dd1d91bf942b4dae1af8c9cc082f.jpg'),
('491ce1a3681b5abf21df2c79b3cdeb037b83f74a', 'images/0adf70d36845e87bcaeefd6326192add.jpg'),
('aa3060223c021983e3b31e97a041eca6d40aaff6', 'images/0b58fd3827b225484c5c44c019210825.jpg'),
('b55513a0cb606f3be88b8da965cf0f8c8daeb006', 'images/0b6880e6de251251ffe26c75ac1c0469.jpg'),
('38e077812229066c0bebf95f8446b37033a7e176', 'images/0c5a466841a43a871b7f724e06534d04.jpg'),
('866e7d9c578ca63b355d1ffe542b4226f2e01d70', 'images/0d3b6f5529f2938b50d411548c71ac93.jpg'),
('9b9bbca219490390870a6d0abc56c1702ad89082', 'images/0da86193b70fe5967d3d534d53975458.jpg'),
('af590c64f013fde8f0901c20b704ca980ce6b866', 'images/0e31c83a6f272592a05459e16c5881b4.jpg'),
('a5941c88219f30c92311365eb5eb396b3aeee080', 'images/0ef87546f2e3897fb9f6924b9539fd68.jpg'),
('ac58c91c7e054da2b70374fd0b9e395bd62d513e', 'images/0f1065fd9bf8d3f0148b99ab362d959b.jpg'),
('8fcffcc0a986d830c4f16bbfb16cb6d19d02c0ab', 'images/0f67a001bd9241aa8b46956207c0939e.jpg'),
('2430c3b1bdb4254b2cc2c38f7d28f4abe0508285', 'images/0f788985392f20ce863057e13ae68245.jpg'),
('bd0f1daf5794b6d037faaeee43857e74ff1d4c6d', 'images/0fc0a62d15d8345cade6ef99f20b0eee.jpg'),
('0baed39848db0093170af29314ba06e7f4aee920', 'images/10a26af093d42f43b3f5640644546ecc.jpg'),
('821e94358c51bc0b9193222fa916a1d56289b963', 'images/1133801f55c7f7855133e26008da4e09.jpg'),
('03df38ff47118a59d0bcf1b6881d4831939625ed', 'images/11cd27a56ed49ffa74ebd2cd76b8f907.jpg'),
('c1fe20c576e35ae7e8ddf8b2366b195acabd26ae', 'images/1211898a92553dae674fdfc25906a245.jpg'),
('d3ad636b620f9f14e681e76b201ff6a75424b082', 'images/128df9bb3ca261fec9784d935159d68f.jpg'),
('82954712b58b743bb5019db01b5a5632c63ccb3d', 'images/136244f392ebe1fe31d97dd758122faf.jpg'),
('ec2978981c6681e5c2f4eb510fb7bcbd15278720', 'images/13ce4404c193bc09946cb98fe9c7b87e.jpg'),
('8c665cf6b4d4d744ebb359f209b0fbcf666bcbab', 'images/13d025482bccef6c8a1b10894cf06589.jpg'),
('3c24c204887a24686c16e69eb1104645afaa3193', 'images/141336755cf97dad1f445ce806f5b6cc.jpg'),
('5e3e700ba58f8c7524bd7f40034e3f268d7b5bfb', 'images/142baf58d550fb20dd245bd30f5cdea2.jpg'),
('f60d6ae30462aeda0f7df66386fa97e59126b2b4', 'images/14bb47b8669a8a7fe6e69d220bed4c41.jpg'),
('83237a81be04911cc849c703727e00e9aea9adeb', 'images/14df4c555f6a31dd6d6efd326f727983.jpg'),
('54ab7ca25140048d163cfbdaf6eefacf18cf55b9', 'images/14e315f1517124f63452cca83e0a526b.jpg'),
('f4d7f912088456ba986dfd3d1d19de32173119cb', 'images/15617e48c646c64362f35f8159f666e5.jpg'),
('9add9bf606370cc6fd1282e8925712e9aa42e71f', 'images/157eff264f9511140b5f3c9e0e11a7ca.jpg'),
('423aeabe76d80035eabe7db2776d74c10c55b56a', 'images/1592199c935d859d0b923012b0f36512.jpg'),
('0508075a969417effbd92702c26bbede4367b018', 'images/15a5579131b1f2b3a3323339808d7652.jpg'),
('38422ce141166ea9dae17b897790e7dccce0149e', 'images/15d91baabec66146bf1c2208a44c6e30.jpg'),
('f4f7432f38da4b26bea002faad6ff15e4d95b45a', 'images/161c3a61f1041125261d44fecdd1ad49.jpg'),
('e47fda725e133af07e92ac48e18e190ddb7244a4', 'images/166faa977a63187e1989531994153632.jpg'),
('8b9fd1b15bcd825397d2643e00cf7510b853cdaa', 'images/16e8b1af3cdb6d996ecac2f9ec0c5f13.jpg'),
('529f4f5569a12b35b1d49474ff6fa65990aca173', 'images/16f0de0c3c2ec591dca7292bdec86d98.jpg'),
('780562aaee6189158341d96aea8087f7c2bdfab2', 'images/1727b9d9ac7b3ab95643a8db17cecc09.jpg'),
('e398ecb1504db5e2118725d1ef7530190d206494', 'images/1773aa65f9fbbb1c8272242c4205125f.jpg'),
('0264220e89a3e74280c5d662c30d4d79df93bc7c', 'images/17809d37b8e49a904829122ab03bffcd.jpg'),
('30f76a0a21951e76f1d2fda06f1f40e466379332', 'images/179b8b8ae2e12e772befa111332357d2.jpg'),
('37693a21e1ff5e665c59156c0e7993d3007cbcd0', 'images/1998e4b675cf2025f2682623e2dd4e7b.jpg'),
('bebc597d8d50eff9433b668b1a456da97a7b4027', 'images/1a7f14ac9927ef01414580f78882adcc.jpg'),
('e739c1c26f1ad2cb3a49c523693508b6c4a103d8', 'images/1a91627a1280036614c751f458b7541f.jpg'),
('3172ab8d2bafde756c1e22c4b2fbbaf2072f36a5', 'images/1aae95939373b2935c6ad105e48cc9c2.jpg'),
('2eb1f7012fad980fadf8bd87a390cd0de43f416c', 'images/1ab1e539ad30aaf9005477ace45cf5a4.jpg'),
('abfcb6c8615096feea00f91dbb2bd1b58ed8a855', 'images/1ac96e98309e3b383d1517806b3c7255.jpg'),
('7b3794ffd21405a5f11c2684ecae75d2821e80b0', 'images/1b427dc96609cb437adeb2e8cf1ae3db.jpg'),
('1bb0b04b5fb1c9a6aa9b3803187f71c972425153', 'images/1bced93dfc85a3a5f00a42df7b61f80e.jpg'),
('143342203f3a54d30edcb4f8967ba7ca88526e52', 'images/1bf5d0fdd03900f39e302e8f882638e4.jpg'),
('5838031fc459b6952a50b50e127277cad71957b6', 'images/1c1e60454c6fedac879996b4d15110ea.jpg'),
('ee12de475bd15af799e72a7cd9a8e021d069ee9d', 'images/1c25a0b8cd4b7ca99a1ea1dc794d15c6.jpg'),
('41e5c945f9a13484c5d1742e9f479acf6f088d76', 'images/1c25cd957ea6c1d15e472ea0bb5fb0d3.jpg'),
('c5474c162b2363ddb32afc56a3fe1526a5e58f32', 'images/1c26a2de8452c929ab6cb3e97804c466.jpg'),
('45b869799b9218dd62a825005d505ad6a1700509', 'images/1cc73bcd13e49b25c808aaceae62edd3.jpg'),
('56a46b7a4beae957c860eb0a10472b63c00190fb', 'images/1d3c064649a075ed6dbfd77f03602fce.jpg'),
('3c5fdb37e64674b0e79afb17813686ec8bb25acb', 'images/1d5818c4056283c629c441716baaa02e.jpg'),
('56aa4419459b2ecf0361011734dd6b2a9c33b849', 'images/1da6b220956f1e878d1aba8d4516500c.jpg'),
('274c96b834619d8e20883c167e24903fd70529e8', 'images/1edad7d43f0b65e32464277d588fade2.jpg'),
('3d4a972cbcf653e43070e8e818868ce1e1003bb9', 'images/1f7dc00b6c83d4a61edb5758e6babefa.jpg'),
('78b07cd7b40d74fa0709ae13efdb2ded015abc2a', 'images/1f89be2c904c70a268c8e0753a41d1c3.jpg'),
('e73393a20e394fc7ba02ce23ca7f340f5e08c7ca', 'images/1ff46899eeed657d6bc1cd409cd88b58.jpg'),
('d9b8671d79786ab3882aea4701029d3302626d08', 'images/2162be19d8df8dd489669d9c967686aa.jpg'),
('5c53e2964c28e9740d286bb15cf0165947350b4b', 'images/21fd81fe066a834c26fcc356970c68c8.jpg'),
('aa2e5924f30a22e8bc89646f13d74855eee0b46b', 'images/22c71d0d0123916733eaa16fb92b0066.jpg'),
('f2e708f493537675472528d0a086d9f129e47981', 'images/23a22ace1c14cdf5fe5bdf7ffbedb216.jpg'),
('c5c145ce422d75bd63a93c91c07c708725cc34f0', 'images/23ed23d6227acac605dbe928a926a14e.jpg'),
('83c6d26657aa9295e3910f24d826f087bc7ef57c', 'images/248387aaa63e61c9a74c26d0769d9e3d.jpg'),
('971e7744175c4b43ae0f82cd9913785332608cb2', 'images/248b393830478c4ce4b172957afcfbee.jpg'),
('763e34123a796cf6e37a95ff38ea09f4641f16eb', 'images/24a07c915c6c8c0e15cdabaa245cd3ce.jpg'),
('75d316fb7541d23d8ac35b92012347fcb6fc6fea', 'images/256211b55305b34f2220a5c77e8cf0f3.jpg'),
('5f27a662ec09fccbeb09a96c28d4965baf0dfbd1', 'images/257656ddfe167e123d9c38415638f7d2.jpg'),
('d07ed442e209bf817d921f53d4cd258e4da3210d', 'images/259de50525f604169d9d95976cb4430b.jpg'),
('aebe9b0a6f6553f94f43e8ee8a894a34c6505c16', 'images/25dc4be791d481576ce4ec8b196f799d.jpg'),
('e1b43859a8ac572d55a425e0e92be15f5553444a', 'images/26aa974be2670b2d1f01dc352808d076.jpg'),
('f98d7dfa385be1a8eaeee8ac6fee3cd5af3dff49', 'images/2774eda144881009dc4783eef2a62bcd.jpg'),
('4a97cddcc5d2a8f9078a3c46cc18f477b6bbc0b4', 'images/284bb669544341f127c64f31852c495b.jpg'),
('21f10f0642d4c7b89f10e5bdb8f58316d5703204', 'images/290994e32f460bbde338af66618d5620.jpg'),
('407dd80ccdb85f584dca46621e2b0533f5f3d9b7', 'images/292bdece76206730c1b287f2a7c05300.jpg'),
('51979316359be64371a85e511953e70548d031a3', 'images/293c3905f7c85a536f78c910cfdcb95b.jpg'),
('27e879e07e328801b8963227a068b2465ee8a208', 'images/29a2ef66741ab36b30a8ee94aa5088cc.jpg'),
('3b1b58ca51007500c866aa43835fd915afc29509', 'images/29db80c126b29f26cfe650346b42783d.jpg'),
('0a69bff33d178efb83ee47c791f16b5455951c03', 'images/2a6ab6b1be08cca6516e1ff648253370.jpg'),
('bf5c0f2cf86d7c0972f52dd9d133b86dc4276f3a', 'images/2ab0ee85643afaf5557b6ffca9970cca.jpg'),
('6d919725bdcf737c7b12fe02df9e9e41b6e114e1', 'images/2ab683b5151e7fd77f0745ad1b5821d3.jpg'),
('e2ee4a100e370673e87cfa4b4571d25245cfeb2e', 'images/2b4cd2ecec3b670fa4eecf1222ead3fa.jpg'),
('f21ccfebaaacf15f8c65fe34bd8835c9a79c1a34', 'images/2b88a3e6f43747f5817d07d60c52da21.jpg'),
('970118d685233fb1c50b8d0aa5d807c13bf81e45', 'images/2bd1731f505df8e1efbfbe313da1c725.jpg'),
('3f10eb9fd185c9ec98d7244013498d9d94ab0eeb', 'images/2c27bba6101e775d9c5329bacf3961b4.jpg'),
('ca74be3b167a08b6e499e6464b80aeb5ef5854a6', 'images/2c2c04bbae399df23d4c655af59bde95.jpg'),
('0bb950e9a4ff22451a547af0d9f6c78e7671a456', 'images/2c843bb1e41c0db274e9cf0bd5866221.jpg'),
('2733881dbf99b3250bd566d2f6dbd1c85395ad2a', 'images/2ca6e6e340e4667a58a7421b02a286e4.jpg'),
('a8665c53c2d23b6ff4c3dea16939610195e4c88c', 'images/2ccb93989bdd34e057c7bfb5e3c7cdc9.jpg'),
('766dbaa9f7468208197c42253a43052f13998192', 'images/2db0460d1793da21dfa53b1d85dfda14.jpg'),
('f89589b981518f17a6eeca188feb69f44c578fac', 'images/2e1ae79da03f791f029016b00b9a703b.jpg'),
('4331788dbc22cb536bd89ac287c0828bdf7b3387', 'images/2e722decf44852f6258a7221871ca7c9.jpg'),
('eaaa77cc1f39b0b4265dc2a85f59b9e2d4d825a9', 'images/2ec79cfd9c38abe9c89b6f82722071a5.jpg'),
('2cc08911618d16e2b8b4350c53da4f4f68a9e6ac', 'images/2f1b4bb3ed8bc63340e2392acff2dee0.jpg'),
('199e3b36a3cf79c7196d7e41ed1f6e3c53572e70', 'images/2fec1dcdd1418f26124e10b6332d3101.jpg'),
('518e1301f572a464562a78180c8a533273fba489', 'images/301fabe0f801ba575d0f1a0a142a0d7d.jpg'),
('0f5c311d920904704a9c97b3f3d03653bcb895af', 'images/30270136ac0c5d159faaa46380eecb5f.jpg'),
('f03197cc72092f0b92340fee517bb598cf74b7b7', 'images/305662ce9d94f1efde0249db3460d822.jpg'),
('7b85aff75f5f12caffbe1a837ff12055e1ea0b42', 'images/306a323c3af720bb6d7ffec9ab7b5c75.jpg'),
('ba1ef2946a8f3c15e602d615bea6754838a49c1d', 'images/3071b96ef283aa6da9bc53fc95a8b74f.jpg'),
('25c0d2d7d8d9f1283e90a13ca35dac4d23630982', 'images/316b2f17b086ae3170426a9c0fd9b6e8.jpg'),
('3554339a3700891ef6cf0f7ddb9f05aed9b4e749', 'images/31b473c90b7b7f3b8ae690aa0f539758.jpg'),
('2213fbe4f532d63d10e06f4efdbcc79d38e0a4d2', 'images/31bd1be6ddd2f99d6f6f903eeb49e672.jpg'),
('1f49dc52321f0c04119dde7d8de9ec5d71ad0d7d', 'images/31fb8a95b957526b02fe62f9f09f4920.jpg'),
('551808813916c4fe5667aff143b3bf2ce7ed5641', 'images/32b96c997163c0ab64dbdff937422307.jpg'),
('d817329e81e6f1c2352a50d59ca2c30fb33c1f13', 'images/32c9e578e0c91ac3d2ba35b21637e3c1.jpg'),
('1a92cf69e9b6c6f7c860331fef6067559ca777b7', 'images/3426a53637fe5ada5942245d11092df1.jpg'),
('368aef71fb6f8ee1d5bd7cbbd651f604ab05417f', 'images/357466bafed3dd4350481ab7a86a1a45.jpg'),
('3b48749539fc9183699abb2baaec06cb3866299a', 'images/3574770d73c6ed775aebfdd5c97aba53.jpg'),
('ef70fb7bb3e3a7b56b2641f99551537b344f940d', 'images/35a1e8eedfc747424629cd01babf979e.jpg'),
('33463d0b7c0139ffa775ac400bcf1ed99e3534fc', 'images/35b16431d2c9934850b6a9a5f19b7ab8.jpg'),
('60fd73a7504bee6084a182b27a600a8efc119e11', 'images/36182c0ec27246e7f065c4bbd124069b.jpg'),
('72738a9ccd928dbc6ec9c3ed881651be32d98311', 'images/361f8defe58f081a72c9421e222babce.jpg'),
('77467eced05cd135f4149fcc0173928475eb138c', 'images/363cc36456ce50ac3c070c802e324671.jpg'),
('ee3f35302a03b92af3b836eb7d0fcb151de5fd06', 'images/36a088ad0367b04ecfa61a8868ccb694.jpg'),
('bf02a7b24fa4e56e6dbdc5b2968cec0e4884a96e', 'images/383d29b5fec06be3b961e5aaf6c95e53.jpg'),
('f7e7c25e2a7deb76428969fb38d4e7a7519ef7ad', 'images/3842579aa024e7b50f494aa8ab15451f.jpg'),
('1f4f5c41096104cd7d147be8399bdc3baa842178', 'images/393c62125f02c1d95e9be4f1bb98a49c.jpg'),
('7979116ba1594ae745078c545faa32ae1a5f9718', 'images/3947f319a740cda0f7d7ddcf426ab2e9.jpg'),
('4ac5e1113a9277931b44ffafc9fdf79eca092681', 'images/3965b36c43ef6b3689bbc8f81694dab2.jpg'),
('d19af08d50d4b2226be0e34baa36acb34f5f91e9', 'images/39c612b93b4b9f9abdd8cceef562552e.jpg'),
('13bd708bdf5d0a8fb4fe358cf7ba67bdcbbb3eeb', 'images/3a5ca50c9453e44b65424dcda57f634d.jpg'),
('d22a0381f58b0df8b9fb9ed888cb48a367df9d56', 'images/3a79654510a9e713d56363b276635dc2.jpg'),
('5cb333740c4e584c0ddc7ad6623a89a840787d01', 'images/3a929b2ea18b0ef0fa54f3b863c6bad4.jpg'),
('b7d11f611eab7868e0d9139f1430a75a845b169a', 'images/3aa4ce183b7d4f97aaa67d20ac9e3272.jpg'),
('8494207f47f93679cff1866839136aa0de17380b', 'images/3b838465dcc2855b6e0cea7f87d823f5.jpg'),
('2ae9dec8ece61b6dc89a2ba5a0d16c0f04f643d7', 'images/3b855e2846946bfec4ea4262b4d2af19.jpg'),
('34d130b2da949f5c134bad669e774f12c56468e3', 'images/3b93d5d68ea8d340077f85c1bfefc123.jpg'),
('fbbdbcf8c8731bc32d535bf937a6e0b32502fb92', 'images/3c26e826712ea64f01997bb2f4be732c.jpg'),
('b54986b0a334fd76e83e1a7e5d01c27293265a3d', 'images/3d13bb66b0bd56cc4fc9990afbdb930d.jpg'),
('2952d525cc009f7fa73b8e0745084ef06c1783df', 'images/3d24171a6a0ba935a1c55a8a08637b44.jpg'),
('19b8c0444840934a08e7fa22e26bb76dfd0f181b', 'images/3d31ca2fcc91ade67d76eccadd49dcf0.jpg'),
('f529c6627f1fca0da7d85df869c7acdbe885ec5f', 'images/3d485e99a632dee9bb58265b6c50bdc2.jpg'),
('00317e825efd2e346dd9100a8c69d5bf1c3afa8f', 'images/3d7cd4fa1e362cb2e82c5bed95284739.jpg'),
('c1e5e9dfcb84c441b9f4de2817187d928d4f1178', 'images/3ea382e384155c095a539c299c1b334b.jpg'),
('b867a9b57f1e864e6df1e73f3222657fa9cb5403', 'images/3f9c7e5316e65029ec3d5c9fe6d24a5b.jpg'),
('34753c2ffae162b050a821fd40e2f28adaed4ffc', 'images/3ffb814dddfacbd105fa354b0b2076ed.jpg'),
('e147f895718a4638e73fc4adc4035081a5f9d5f8', 'images/40562f1c3e53c1adf19c2d48eb5c8967.jpg'),
('4c6cb65ca45aeb19952251e2327d557ebb3b1c00', 'images/40b8948b1314ecd49a312c30c18d310b.jpg'),
('89d547dd625e85442949ded2d5fb2201a0f539ff', 'images/4190edb5c8ba5e6a7019d7a95dfe5d68.jpg'),
('8051b1e1bbcbd63c4c52c4e034a96ffc0743e552', 'images/419f956e0bd3785291f24c7b4dc23690.jpg'),
('7c0653bc1a404d574c9decac3e6a396a0d501ff2', 'images/41d1c36c513f6193f8ec871895f2c407.jpg'),
('64c82b4df0f106a6f55d3bef761df2fff3ed8a52', 'images/41d775e57e4b1477339fa1be352a934e.jpg'),
('6e9fa95a7489a35ba782c104edd7ab140f77391c', 'images/41e4575a3935722d61875c71f7defad6.jpg'),
('75a8f7d8c5ae519c87bd55218b9f1442b20780a8', 'images/427340be6a0a4bcbc204c4415ad1a906.jpg'),
('51b45581bfece736dac2ba6cdf49750327f6fd67', 'images/42824c648d1884738a51598f38ef4532.jpg'),
('f020113bce4c9b172351e5c0a0b85bfaaeddf49f', 'images/42c7dca7480183e09f7d044d0155250d.jpg'),
('c36c730eab36a29e3ff707137ce946bc52705d8a', 'images/43077ca55b843b784ecbed08dff44b85.jpg'),
('22bcab4149fba8a7bb12e5847e40b21add613987', 'images/432ca91f33662afbb7512612f6183b89.jpg'),
('1158f004c329cab3733610f3ef7ccb783de03528', 'images/439000d4aa428c8e8ef8fcd46eddf57c.jpg'),
('249468ddb1bac5c5a8993bad70ae52112902e024', 'images/4415d53b8efa801b7edc0177f235f88d.jpg'),
('aa7a52ae9454fabdfe484544f5b934b12b59ef33', 'images/454a391ef8ba731907d2cf43b41347aa.jpg'),
('4bcc95550f1edfb6ee468ae7c252335b1daaf8c4', 'images/456e71d51b6d156dab07da0368003dcc.jpg'),
('2dd9dc69dad425de257e1bf7841b2c93bc5d9ec1', 'images/45a5087dd8b84339c5d0e5971e2503f3.jpg'),
('4d68274f914dfd6caf99e7950750c1431eef3d15', 'images/461f034ecfa10366f8ddb82b581b7414.jpg'),
('29725e3735af43ed32180316d77ef2608345916e', 'images/463f6a4f76029c8cda15703a2cde6866.jpg'),
('35de85346ab9a832e823d540eab01274ca684373', 'images/46744e8041dcdc95fd8b850c7b2005a2.jpg'),
('bb022753f0bfb90d3bd476e56ef13dab83be8b85', 'images/468777b58549d7fa1ae43af61f084768.jpg'),
('3af313ec1e4fb4622450a64aac43fa2f49fef472', 'images/4696b1281f2f5d88cc33a6034d513ded.jpg'),
('b3ff0aaada8187f5c3f244381d28f6fa524f0500', 'images/4736c0a74b52f663327065c7974445da.jpg'),
('21f8c18fa56b7387449a5d8d96a077a7b8ab892b', 'images/47e4fbd6b54f847d87a5bbb86de8099c.jpg'),
('28a735f79c857494576a5e529c3b5b267a700c10', 'images/47f337f6eaf508ea87f2784edf3c0f05.jpg'),
('2eb31ea7ab35bc908fbee856c80585372f6483e4', 'images/4871484a7674872274fc9e07489a89a1.jpg'),
('7c6a3a3c48651e30abb96f5111f364c3f0a4927d', 'images/4874c76e679217f92b3058438802f8d6.jpg'),
('2115580f3eac029765cd8b5f9448a1a49d384a2d', 'images/48847f6db4b8c1b9c669d056652bf4e1.jpg'),
('0cef595ab49b7a8274953a337ed5dd406b59fe88', 'images/48abfaa7eaa8a027157a2276d494051a.jpg'),
('de448bcceb4475cbd0f2383ac0fa22a0efb0fbac', 'images/48c918239a05f5dad7fe5faec351bf2c.jpg'),
('f67e5cb21199a2db832f293aa82d1d5c36b9301c', 'images/49d7c593f0c2f1faa69ba9978378220a.jpg'),
('aa86b7402a2dba546bdcbbc444c3c4a5f77d8a0a', 'images/49fdeaa6f145781423e7ecae65fb2021.jpg'),
('4a307f4581987cb644f0e97fe350a1c3e6135d9e', 'images/49ff534382fd3e408d9f156e7a1f370f.jpg'),
('f476a0307dea7d32eaa5f91d3bf18c40eec2e80d', 'images/4a467a21832c5d1c7e1ffdc60ac64b8d.jpg'),
('79dd144c6a3cc24151ff6df232a14d40707deabf', 'images/4bda8349649f2bfe1757f3f7d36b0c25.jpg'),
('fa2e3814f231f88aa4c635b75b3002fd79131848', 'images/4bdee4b1ec07277d948670a0ecc29196.jpg'),
('cd46a7576da0332c579b94f1ae711c9af894339b', 'images/4c1f68819f419fee6a39e74bce156979.jpg'),
('30bedec1ab6984bad1f7c3373b33099ab0f4ce72', 'images/4c665d384cb9f9deddb6ba682c8cdd36.jpg'),
('0c3468d2589fe9d56f7c122bd107402136540d1c', 'images/4c978d495de261b0f99e046218ec8128.jpg'),
('c3757f281d686ac8345d4112af3aec15365013a4', 'images/4e18f0a617655e8ec46375f62dfb32b7.jpg'),
('d1cc4f3cd0bbf16e35cc90196db7b93c49d1575d', 'images/4e2b0de51c78884037a35a7bbfe65205.jpg'),
('af36c75f096014476d8a0fb7e7873c0508309871', 'images/4e4254198efd782446d8c65d157254f5.jpg'),
('a8bd120d6d06fde14cdf2b2c1f2e959647a8f1cc', 'images/4e97070b052e01eb4b2b0865a18edc0c.jpg'),
('2c365494d9cd7caf5f8a076008208690a4e2174c', 'images/4ec8feb94597a7cb462a6e2cd36763d5.jpg'),
('bcc9b4864cc94fe8f09fd35b6822b38457d94549', 'images/4f138b8ec01f9977ac348c7ee4171cc1.jpg'),
('f830a2d620cbf84f9eb5c1d6a3d3bab09d9b9893', 'images/4f8340760b11e874b1b0016bc1d78d9c.jpg'),
('3e939025778d5f0675b63cf19468074d08b8e682', 'images/4fc345cd8abc97ff19de72336ebf62c3.jpg'),
('eb3e98c7910b5c875b264dc602221c60efd69846', 'images/501ec9a6f35522d72507c12fc1d5cbd6.jpg'),
('fcf3b4272efb0f43e32d5a9bc301a392d559a976', 'images/505c6cc5781b57eafd445f5cff06448f.jpg'),
('836c47bfeb392a0d855d1744aeb4d41e8702f4eb', 'images/509c0174fcd222c5736c439f148c5b95.jpg'),
('041172b580972ba63ae00483acaa4ac92112408c', 'images/50acbd5a6a79afcc11e751c08aefe574.jpg'),
('611c97cd315c2ae7090776ff19f9c45d9e03dcfc', 'images/50b311fae567d55fe6ede8cca9a0dbc7.jpg'),
('0b155939e791c40b0e7a8ee08868028e53064a40', 'images/50b8c51ba3bd480334a8b02ec182cf3a.jpg'),
('45bc77f38f87b97ebb68a62dbde6df33b7b7e9ca', 'images/5100edb31066d4773604f69269c7bde5.jpg'),
('f9a0a0d23cfabdf3fcf0a10a9312b27a724fecab', 'images/520d40c6d40019101ead88f543a88785.jpg'),
('2c15ff73f3a93aa251ff7ca04eb3625b01d4bc94', 'images/52368484f810d3c8272a9ddb97310821.jpg'),
('87fde0872d7800c4cb9c48f36e121e5b4e92749d', 'images/52e0ef1dd19654c78dacde2d35c802ec.jpg'),
('071da3a126dfb27d891db97d0612ad095062f600', 'images/52e3c924c22c6d1311ceecd7c486f062.jpg'),
('e7534767f7b2055c26296b6be851b6eec2314efd', 'images/534a08adea57871baf1953d09d8c73b5.jpg'),
('0b27181b18998e9dac3e2122a1067d31bbbea1e8', 'images/538d3bd43b514ae6141b92a155cb473f.jpg'),
('7a8971de2a8ee48c13413e32bb16fe4cf8afabf1', 'images/542d014452c50e1aae801233181d0935.jpg'),
('10d377b8ba6ce7f517cb99abefdeb5bb8b4e9311', 'images/545b5735612f9574cc7357b4fba607a6.jpg'),
('3d7d048d194bf9c3718d015c7b765c7cffaf0390', 'images/5547e2e3b4888f3b9faa901636f4feed.jpg'),
('76e03786d672868d33fd7f72ee868a71316d7343', 'images/555231581e7bc16ebdfc5e3684373dcc.jpg'),
('820a87db78ff9f6e591873a0af453d3d832e5903', 'images/5572e03be13bba2d8ba3769b299aa695.jpg'),
('c8b81448728e1049a061c436d50d9209ec950fcc', 'images/55858fcd055f0c04000b5f218a4c4fd4.jpg'),
('5bd459d1ea20206d04e6f4240c6169e5abf32d28', 'images/55b789cadc88fd27200e2807214afb15.jpg'),
('5c7028fb1ec416d537dd7d292deba108afcaa98d', 'images/55c013d73ec44bfda840c3740a05b791.jpg'),
('227c5d22af8fd6a3b4e28b3928d2db9038e6c0e6', 'images/55c605cf2b8aad802f6ebdfc6493c1a1.jpg'),
('921965f746e7dfb45c97aae8c8fcdde204add90f', 'images/55ceb2926e8a808fe0114e53585ff37d.jpg'),
('d1f72ac5377fee1834b585845c1dd87e0d0722cd', 'images/55db0257003f005388d99b681169262e.jpg'),
('cd0901a1ea8c83e4014106e55bad98220f4f952f', 'images/5605944ba01c976ff7808bbcd1a0f540.jpg'),
('12084ac9a94badb3d41085a52d4e8adcd0698082', 'images/5657675c6218990fff755c65b2b86c0f.jpg'),
('a987c930334efcc100ce2b0fc0ec079a0ace5d78', 'images/57446b3c729d768cdd89d2f435658809.jpg'),
('1fe21f781c2c17544083c0f72344f234ebee7577', 'images/577e47d2b78746e4fbe72f2e3eee3646.jpg'),
('f7c501339dd4c4a02e197099a8b0db38be3b9ee1', 'images/5809f1a4e43d744b84252f6bbd4a440a.jpg'),
('bc4a5e034b34dca2995801430a3cf55aeff5abe3', 'images/5858aa9ef7588f3cfc8be74822fd7975.jpg'),
('2520f7cd47e32e977bac3d393dd29eb9a5f1e62e', 'images/586d5521af7b6070b0823d9d19e65e02.jpg'),
('4851fac577b750092670b4236f7416d4c4bdab60', 'images/59a51e15c9ca8e092366a36b83b528e1.jpg'),
('858719bd8af07e0c7b6ddc8e3bd47f228c93f177', 'images/59f07dcddc303e7deadc53e62aa14896.jpg'),
('efdef6bc93f64708886b8f8565ed68d69ddf4522', 'images/5b10169c7481225dcc1f9b2c72f7e3d6.jpg'),
('461455d95945f56f434e76ad7a25426a5448dd48', 'images/5b2a09064138e127de338b882dd5792a.jpg'),
('9a273ae1bb7b409495e7b93a8fbe662b94a50877', 'images/5b2af401c3b814baf2789dcbc2851156.jpg'),
('736b85dedf26a378dfbb1d78fc5b90ecc449e5b7', 'images/5b35e3b444779e2c13e46945b0dc2d13.jpg'),
('f3b875d547ac988c970bc49f8c6a15167789ff0f', 'images/5b38a9103de42e69154061da7fbd9286.jpg'),
('48287e2ab52cf5660040070c9d7e20a667e6d200', 'images/5b7bca277040709e34ec2cf2148673cc.jpg'),
('9bbafe1c5bdecee032c051fbf0af216c43e56813', 'images/5c41c17e30132e4892fe305c5c9fcae3.jpg'),
('a3e77b36b2a1fc0f4d001ece300d938a582136f8', 'images/5cc9944cdfde404a209a64bff0648f31.jpg'),
('fceadfc11c119cef7ebaa277de40b2aa68b2fe21', 'images/5cfc93e22898171ff2c2c0cece9c33c5.jpg'),
('fc245167424c1b4de8cc84e192a5bcb2ce9e0489', 'images/5d491f03d56612cacbf74777dd96c8c3.jpg'),
('d8f3171783b81408b465420688a792eda1403db1', 'images/5dc05ee4169e46e574ad273eaed7fc7d.jpg'),
('717cd68439b48f025edbd893f4896a21af69479a', 'images/5dde992cffd48411f41885e7d6884846.jpg'),
('d53f53ebd3a91ca13a7d696630f0c2dd10d3ac79', 'images/5e4b418f8599840a8043f36bbab8b39f.jpg'),
('a74ca30ba27ec2ffa5bca3331ed9b1507a8b87f6', 'images/5e528b9ac7c1626b254467d69fa999af.jpg'),
('e5351c7ac85907413494ddfcb59c77a7b7c84d84', 'images/5e6d1737fd992cbb0bdff7dfdc881835.jpg'),
('498a5a0f61d960462c92409ff21dd39983779803', 'images/5e72ecd082d29050ae9d4c905c6380dd.jpg'),
('3cb4cbb8e36fac5ed07db305b85842bf27dee1a4', 'images/5f2f6fb34a687d25446e4bbf3ff56d46.jpg'),
('036599f6ef3e0cffab96bb1dcad149ea8fc365a3', 'images/5f65e2fa069cfa08e6796e8fbe6936ab.jpg'),
('038e11a2de5ac4d77b7e4ae410cecc5be58e619d', 'images/5f9ae3daea88ecf2015b574a1ffa93ed.jpg'),
('eac01575452040821fcb93bb398262ac1f0e25f4', 'images/5fb6c2ee198661929d73853847ce766f.jpg'),
('5016c4f43fd6167b35dc8f30c0673a33e4359981', 'images/60629cb119a3c862cd4916c972aff5a0.jpg'),
('11b944572771ad66010319d5245d6d8116be5fdd', 'images/60854fcd9b79628f8bbdadd7121be943.jpg'),
('09c129976771082d561849ffb808fa9baf5ee074', 'images/608fc44ad471cf160b5dfce9b1c0bcc8.jpg'),
('821b5386c4de47c8c585dcc95dcdaa70fa20ce56', 'images/60a8db595e0c833048cf26880daef804.jpg'),
('9f758c5eaf51814ab70a44259622709be76b21eb', 'images/610557013ab19a722f32c88ebdd07bd1.jpg'),
('0162b1b7aae3b9f3a44f68851c7fe5a189fe8911', 'images/61647d3b92688ef0a22c378c59acff9a.jpg'),
('4b2da2cfb6a630f0ced76474b53a4ec77c46fc12', 'images/616d334f846aeb8983a30b18fa0932ca.jpg'),
('1d1d6866eff3f3952e539929e5c9a29ec7ad7cab', 'images/6182b3d1ce0d981d826cf824604af712.jpg'),
('80c9f82def1b2ae12c086cb21fe94a8e9c1451cd', 'images/61861d4b0358fe44d1b6df31d633fb65.jpg'),
('1b734fd7fd4c9026f011c18d814dc3c1e8fe51be', 'images/61e4a1e2d9f7ddb80dc27b9040e17135.jpg'),
('ee22d10b757e9868e642b71ffa7832e52b4f6833', 'images/6272ee46a72f3036936b8ae55d5c4031.jpg'),
('edade00e44d05998091abf07bc6e06d715127e42', 'images/62bf35340137f99eb89f8d6ac6fc90f6.jpg'),
('8713803e4de6efea426e964792446a7204f3cf52', 'images/62ead6fda6e09436951e3d382df0a2c0.jpg'),
('7295754a61ae53ef76a4e00a7551d87e2b9f002d', 'images/638d62b37c2321ac81d8635abcc92f04.jpg'),
('0bb160b523c00f3ad7500fe4fa3bd0e32e05f73a', 'images/63ef95bfaee3da19647248c4bbb814e5.jpg'),
('cd4b24dda48fd914b52c71c065357e672cbbfe79', 'images/65678c54c21db3600ff260bd56290c08.jpg'),
('8f157ca744935aa2027b416bb12514e3fd9ffed6', 'images/658ed6efcd5c73d99301816ba999f178.jpg'),
('497f9b69ea96031daec8b348b7d46966b0c3f2f4', 'images/65f4bd7dfa56cbf38baf6e0e2e71a518.jpg'),
('74dd9aa76c51184e1c6f79bf57801f898f6dc1e4', 'images/66077d971868b91f4796886bc3d882b3.jpg'),
('7ace0b0b7779946c25fff37b6f137b4490cac88a', 'images/66565d1bf083fa4db9479dade4a684bf.jpg'),
('322f9982e3e7c6031b9b2a720d5577f71841ecc4', 'images/6663c7ebbbcbcf8feb52d23e84cb2697.jpg'),
('1dc1918747383acdd9bc793c5dc0d2ef50625426', 'images/6673f69854128a3034f57d48daf1ae43.jpg'),
('0612ac2dd9ba152b977a379e4c03408d5bc50881', 'images/675bdbda54b9e5837f66840854ba22d0.jpg'),
('397648a8782bf11c0b94031526008d1f57000d16', 'images/6768ff5d5f144d4f5fcc09c9d2a5815f.jpg'),
('0f35f996622aff30e6392b4911b95d8a9a342b1f', 'images/679b1794756e6c1f73c2e6e54dac3233.jpg'),
('cbb4df8ad20e1526e75c1ec70a3385fc6c294a51', 'images/684f8e99419d2f8bc9a4eac6f798e22c.jpg'),
('5f08a4571dc5b2eb0e2a1d974a7a9dfbe7e37073', 'images/69901303a56d04dbc120f63108a39633.jpg'),
('8630d7f32acc360117f9b433b45c0b887db616a2', 'images/69d6ec3f8de871ba76f85d4a6b44107e.jpg'),
('a813f01a5bc85c4d834bee3c559fc64279cdda8b', 'images/6ac9c6532bb9486a70b06e61ab2b603b.jpg'),
('08dd5cb0e324cf769f4f680f794525a86c151f80', 'images/6af23823ce0ee886d0eca971a616e28e.jpg'),
('b0826b7b774c19473f2cb27fde5c11bf24194c92', 'images/6b6a5313b6d01c9060d9e167b251fcf8.jpg'),
('d8f826ec64d5175cffdde8e527e877df85a7c379', 'images/6b8b3acddffb45170329d6ffbefd7bbb.jpg'),
('f3ce12aee56611d7092b20f73056c8464f56a4df', 'images/6c1fd1707bd3fe8ffb0734e4bbb70c1a.jpg'),
('2d939f6b2e6435f2a5e91de2fb59542546fd9eb2', 'images/6cd2f25df4bd8a965e55b47e08bb0253.jpg'),
('18d262ff14ff322d4b61d6ca182d50a291a7fea9', 'images/6d71b51e19e68d50268915968a3b5945.jpg'),
('04a5c8f464189d0df5c33b46255ff1af9c48878f', 'images/6db82a93cc31f1585c1e9cfda9cfe43a.jpg'),
('b7cd2fcb085fb3e844c69ee91bfd3300e4380f1f', 'images/6de9f944f69b597cf1621800d8097a42.jpg'),
('d7ac62663059be31982891cb49a08665d0c16107', 'images/6e94e7955ac3aaa9ceaa1db76618622f.jpg'),
('83b168badc2f91c56e46532c4435f7e97076552a', 'images/6f1103671d8c4263e274519916f85604.jpg'),
('0478a50d7cc49d41be9aaae7159aadb062baa0e6', 'images/6fb16be82febdbf45e0e4bedbbc0ef4e.jpg'),
('40700c4b1851f0206f52ca2dbf00071cdf730fb3', 'images/700627875402dc79b35e5eff39e72d77.jpg'),
('6648f9a69834c7fc867d3015b760e771c7a4aafe', 'images/704eb81fde8111fc1792bf09af8710e5.jpg'),
('e63626d4534581700125f9fcfb75a411d3f4cf3a', 'images/705e7f9ea007be6072921973e9a7d3d7.jpg'),
('97853797861cf925c496bfe9c299c46872e100c2', 'images/70e710d1170a98870d044bb4609a0f25.jpg'),
('9cfae3497837c70c9c19cb5af73087a0a83c8ba1', 'images/7121228c1d8df5c82cadf3e27414420e.jpg'),
('782b32c974ab41bce87ed5be7f0d0430f485039c', 'images/71595abeb5c6de444d660361f1f758b1.jpg'),
('d65acca3cb175738e47ec22ea72c7e84ebd02eae', 'images/719eda980efa5673a3440b33af6cb656.jpg'),
('7e56daccb5782ac6a42425229c0d95ddb8c00e14', 'images/71d8f0afbb7880da9bc17f11b82bf906.jpg'),
('9f44506e4a438f616210ef5416099d4c3d58b197', 'images/71f3418d3985c063f1d9087ea8aa89db.jpg'),
('0194ed0d24782428ba4092c2c833a54a8f2d37e3', 'images/723f3c040aba9610dae2414c1d043feb.jpg'),
('ba57f61400c0d60ba126d51d35874f70b570c3aa', 'images/726e35afecbcb250214763ca6030b15c.jpg'),
('4a8bbad783e9ffff794116846dc537cfcccf8458', 'images/72d54e919447fc784cb5b3837e744190.jpg'),
('593a162662cec28d02c1107a96893c33ca75c8e1', 'images/731c72adcab7ed598826119383b16239.jpg'),
('8ab3e272531f2f3e633d5e40c47b24efe4140569', 'images/733048fc4b42534481e20b0c803a94c1.jpg'),
('589d9240fcd76cdf747df494a233baf316746fbe', 'images/73ae41688585002b0fe9f893bdc949f0.jpg'),
('32a702991da98391d509e0f3421b0a69a4b98a97', 'images/7400e572f59da0225888c6320506bb6d.jpg'),
('76e088508ca44290c4ac431ed13007bd4c0633b5', 'images/740aec630a19e291fbc59213acbef71b.jpg'),
('733616f895915b8985ed54292fde0e54d1b4dbe3', 'images/7429fa722d41dc7567a50d164e1d1455.jpg'),
('5eb082e28e115a0baaa437de5c01e0b399792e71', 'images/74f9916478134f81dbac1130241357aa.jpg'),
('430f5cad24fb1d1a5d9cd12cec2cdfc1409a0e67', 'images/756d120aee38ee9a0cc41fd8b5cca5e1.jpg'),
('f393304892c6b418b3acb10af8c0de7abb86bddb', 'images/758abb302740a1833ac4b61c90b9b703.jpg'),
('b564d417e2b10b0023d2ae0d07aba6cc0a66d662', 'images/75a85398abd88c03815364e2ff73babc.jpg'),
('19150133fe7236e78b2d294ea70bad12d3c1b408', 'images/763683bafa5cf115f9acbb019418da24.jpg'),
('9b75d013b27395dc5590c7beb0f6061e567a9501', 'images/7690519f6377d6c7c2dc85c8af1edaf3.jpg'),
('0f5a2d65191b63bc011879e4bc50cb5fa42168e0', 'images/7693996a59a9c03b6f3271820639b32a.jpg'),
('80545224d8845e00c00b84fe74f8c711bfb8d223', 'images/76ddd5200f7a8b0a59a16c4e74be62a4.jpg'),
('c6fdd44d6982f0370e9e95735c95f1ca20d95172', 'images/7773c1b22a5900ac6c4f311093044909.jpg'),
('8f558c9b6f3b6fb07025fd4ac72885e043827d97', 'images/778f31921adcd1b830276d5370ef31fa.jpg'),
('23b8ece021ed749465cacd51908c46764b686d96', 'images/7861519850b0518581ea9550f1202cda.jpg'),
('8914f162bd7b51e9041fc1a4ad2671aa491ab30d', 'images/78d42861adf5fb8c60896d0edf4272d3.jpg'),
('780d9ec8fa876b80f454e1c79b93b2ac30e3c7c9', 'images/78fa5361c2afcb368e088af0b707179e.jpg'),
('2bc72a04269bb0fe2a58e0ceb5ada74c86853196', 'images/78fc7625fa7b18009495c60ed2472bf4.jpg'),
('b00888dd97acd84b15394b28a1ca4eb5485907be', 'images/7996284c63ab0000f35d0cc83ee64a50.jpg'),
('372354f1f4751d180532c2ebe4fff8fdaca93451', 'images/79b6d6d3a315e4400312d4e8209ce500.jpg'),
('b303e4ffbca6d6d2be09b219278ececfe40a34f2', 'images/79b9b858c591f2652aad83930e03bbca.jpg'),
('050796b89d62a7f4119db0456ca2c6309448041e', 'images/79c5771caf5df4b1688ba34399cdc678.jpg'),
('64f39ded3445ff6d80ba0b03bc5c0d067494005d', 'images/7a4eb096741842587f2ee5c00c550897.jpg'),
('06795fd28184bc1ee6bc8c36d0cbc351d3d1eaed', 'images/7a58fdb400523fb05c567ee8e8ad5ca5.jpg'),
('07e84ff2019082d8cc2c4bd3b0361a78d1704983', 'images/7a77b3380b62df85af0eb0704eaaa407.jpg'),
('10aceb7fa6f799967f028dd8fcd9e076392e9a88', 'images/7b4949c22d5cfed1994de02a5e0bfbc3.jpg'),
('212b49ab131177e09e5f80d6006788b0dd94a503', 'images/7b6441b8434b53b2ab5f1cf8bcc8153a.jpg'),
('7e8034b61fb284e47ad978fd92d56bffbe98bfeb', 'images/7c31abe5b04c29eaff642648f45d7004.jpg'),
('07378b5ccd3d4ccf607232679e7b798392fa100d', 'images/7ca786df213f8c7d75492be1218f22fa.jpg'),
('275660b23e25c1906ffac50c73dda74ee18b6d18', 'images/7d7b72072160322c827c7512e6636c01.jpg'),
('f197264c517a66e97ab45787280fe851a80bf939', 'images/7d8b2669e668fe2ab397822edab619f6.jpg'),
('cc68701a83341273d1d28037c670fd5188785574', 'images/7e262ae51eb2982db314c3a23f24963b.jpg'),
('117e7481892e6bb9bfb4bce5541793fd34888653', 'images/7f78ec285839d11beee68c7bd53abd7f.jpg'),
('8e9f8bef4cbd1a40aa4669e7ee854759364502fb', 'images/7ffeab6901460f1b7993f0c264291f35.jpg'),
('9caac24e24a7690684fd5e473bf70caf66fa0ee1', 'images/801706b9db88f3957a6dc3b10bc657a9.jpg'),
('9fe570e4c4877966ebcae36c8671ccefaf500d74', 'images/803a783ad2dc0b1ec8a9768fa5d9d9e1.jpg'),
('41878996588c31632dfcaa54079a83a29a4daa25', 'images/8091267111e1d61a964b5734547d1e53.jpg'),
('9c4985cc36d3d7810fa1fa8b639af11760097041', 'images/81a57955b70d0e160262a2564aa02d31.jpg'),
('fb0769979087bc0741a57ba75ac4869e84701c8c', 'images/82a038bd2a0e99e59121dea53c02a9d6.jpg'),
('207629d82a46a525cae04dca518ad12fe7ea1644', 'images/83274e4172ad1f95ae3f34ae2d553c1d.jpg'),
('1bbe043b0ac5addac5b051c905e2eeb9b9c909ac', 'images/83aa3f52f7b78f4c36f783c9923755ab.jpg'),
('f7418fe3c3644e57290c7f95207bdee6e3259ddb', 'images/83ab9df7e7305be15c8d9ce6f33d6f70.jpg'),
('81d948205ece52071c4819a1201232944a6dec01', 'images/846d9d25b819252f644c6bcbfce597af.jpg'),
('da4ea97eb4f7f516a57734c7028e0756c6f1caca', 'images/85586c8a085851bd46ee9de872490d88.jpg'),
('9cdaba58036d361c006d0888bb74e295363fa73c', 'images/85863a5d5f01ff11e928fad883e5dfc6.jpg'),
('c5a3b76104870fa3f64560af5cd2e1d50550d113', 'images/85ac489e8ca3242192d1c6197194410d.jpg'),
('0d0c896e30726370a54c89f993b65aaa1c146ebd', 'images/85d47b0a63f88acd414c2671a9196148.jpg'),
('f4777a3b4a9ba97f6921098495c44061c3b9f121', 'images/86030d1d1f1f97ca19b1434089627db2.jpg'),
('b8c67164c07e3ecaff2c8510b9dfadab17b603ee', 'images/860d970129b2c5c675898fb702686fa6.jpg'),
('89cdfeca970a72e9a3819b76b0d0c2cc12ab54af', 'images/8639cb6580204ce560aca5fdbca0cf54.jpg'),
('098e4b88fb692b7e4ee72e6c11b68b6713fe5bb3', 'images/86b2451845a6eac238a56823bd3b6dce.jpg'),
('1a2e2cb33d6d1a33e66cb63a152d6df64d70d7bc', 'images/86f95c2fe3162178941893797d781c51.jpg'),
('3d0e68760fbe5776b9f2c943f3872f887fc7264b', 'images/87d8360ad5d0acbaaa082511fe354e21.jpg'),
('487585ea067cc6e2eca9dcf4658dbaa581e7f319', 'images/87df77d2fe6f46f3cd4e26e7c2b4e1d5.jpg'),
('325d381f8f4dbc5de44000bac835a2b8d317efd1', 'images/891b776c59c3e5cfd0313d4179b4c6d0.jpg'),
('d3f517d49169c2696a0a810d7c3d4cdf0d021884', 'images/89f6276b151117fe49c439d1f7adbdcc.jpg'),
('81656fa0a2365a0f93a083dc597853fcba2f1128', 'images/8a16f9b9c05e07bfa36073cbef707563.jpg'),
('4d2674ccda89c8c7d21724de22efb12dcd146964', 'images/8a29326d929be11fa4d955f756ff1c69.jpg'),
('441127ea39cf5192385d7a357fb70ee6f6d8f534', 'images/8a62311810f5c07c3c5af2ffdaec1cc4.jpg'),
('99788475d5f9c0ad994ab58c3cb2351c4dc16943', 'images/8bdfca6cf872c2a5c800fd8390fb08e7.jpg'),
('b18155877ca3b4c1acbcbe5cf3d89a2df172b472', 'images/8bf1edb423bb2bd92fe5616dfaec9235.jpg'),
('7b0a5a0e37f04672fe750c1865c85941a7d8a26e', 'images/8c3b741a2cb98039c516e6d9fafa2ad5.jpg'),
('e07c8815b7116ce74588f6d771c608648c853d04', 'images/8c5964399f01775784bba1141d6ffd7b.jpg'),
('3c23c3734492943ecd0e6a10a148fe136f4b26b7', 'images/8c9d1b8ecdacd438d4a2f38952aef6ab.jpg'),
('cd8238095a6ae22694c8b784c0e28dcbb47ead91', 'images/8cb21c219f293b47f9dd5b52599ec695.jpg'),
('65423ebed51564d0d47ca4543639a360da4aeac5', 'images/8cbf7b98c38869c4e59974ba86aba07f.jpg'),
('89135e886ea29110afd753d26c361414c4672154', 'images/8d8090ae4dc25b5a2f98ea6e0424411b.jpg'),
('22e4d08774c7502920c0d057417f9f05fde73cc7', 'images/8dbd181eae01b8d9f6bfad35dfb02b79.jpg'),
('3a38fc922bfd8df702fc2894d069d1dc6c9ac3bb', 'images/8e1b3d48133cbb4e3fa63f52fde2a64d.jpg'),
('48df18077bbf4ec01daf320eaeda13e9b076aca4', 'images/8e3fb81036233f622b31ca4aca3e53f0.jpg'),
('00d6655d5492440ada0aea87dc2c92e69a5fe111', 'images/8e69b36d47ea5d6bf5c22eff7441ee0e.jpg'),
('cb1488a5fb2303897a9804cb597081461fa86f44', 'images/8e716166b54e86006ba79639d0a2c84b.jpg'),
('1a3894daab0802cfe955d2771749a1779a5ddd7d', 'images/8e93105aad18ae194cfb9067b90d5b34.jpg'),
('6cc5d64f763e82cd6da6cb2a80c433f4025182c0', 'images/8ef7924c758ae9d8423b7c1e0f6050e9.jpg'),
('2a01d30195b5f16ae909e783fb4b2e09279e4c39', 'images/8fea0a4a11d808373d1d850fd4364cef.jpg'),
('f7f0da890372fb9c60944915e7b3e83360835bc7', 'images/908d16da6908b19218ccc72a58ce8dd1.jpg'),
('c5837482811c37f23e101b7c2ec0a50d57399ed9', 'images/91bd2e437a5fce0e6896a8824d8dacd1.jpg'),
('9be9ce37aca7a90e2a0bd518446a84de8649e632', 'images/91c613af32ddd526f92a572c9d6d6085.jpg'),
('0191fd1757acb3c3f087fe9c93d7c359f212e6a9', 'images/91eff33d6f23351a9cf64641e79fedc2.jpg'),
('652612781d7e6d94570fd96f6d6222241852f972', 'images/928403243c22b26912ea44f207a2864a.jpg'),
('b9cd0d11088456d28f6fd18836c5dc7dc2868287', 'images/92845ff5f570d0683fa45c628359ebd9.jpg'),
('9ce42f3b9370d1802db329f9c378770faff587b1', 'images/92b531a814d852c742c2ffe1b3b2b47b.jpg'),
('b27e8d6b23541c613642e21d3dcf6a16add66986', 'images/92ed8ed922229fd53fd0e926430163c0.jpg'),
('b49b80cac2aa50d1c99b7d5fe0c1e3529fca80ad', 'images/93a64fe146f7f96faa4cc4e9c07e99a1.jpg'),
('f111dd04dbe845caf959e85c4bc851fd4edbfc20', 'images/93d952e720e2448ccd0f2615517d0e3f.jpg'),
('c5852ffd8f93548927a8720636562632f1171c6d', 'images/9445c05b292f9bac4a9cb596da1f52cc.jpg'),
('6cd86854bf03db71cbbaa1eb09d3f8d71911aa81', 'images/944a3ba9c67c7bc0206e2d5372b45ee5.jpg'),
('49cc0c0d3798eb5e8d5ed1598658f2ce30946007', 'images/94c4e278044c85f903a23df54ce295ac.jpg'),
('423ecd7d1500ee5202d81d008a10f44a95f96cdb', 'images/953bd71fbd45b52a4a08be77bdd01e1c.jpg'),
('e286da7afb8e0af2885b9dce375a5563c73f8ef9', 'images/9545101b9dcc666f99ccdba709df2b8e.jpg'),
('b2b33d1177f54e4368576b63f27520372d9fb6f7', 'images/954bd44915dbd182653d6f8ddadca591.jpg'),
('2345958e6563a8b35f6faa6fcca5b59d45de661b', 'images/961161b74c860bfc64549e364a4d7814.jpg'),
('8c9f2857c72b3d0562e8b54729ab40c8bb663d6a', 'images/962a022281c653803338a6f82e7887c9.jpg'),
('932f181671659df66c25bc74e39c51e1ed2e9ca9', 'images/966f5e27e2b7f24317ef4385966f6bf8.jpg'),
('92ca030c82179294d8f3e4d303fd99516fc65a08', 'images/96d9b7f31779bf265b7ec90e7bea87a5.jpg'),
('2d8e1f8577b3f3c70d425918657d1d8af9be2822', 'images/96fd534e99cfbaca7501fae649ab7fa9.jpg'),
('72be69cc7cf1ff3b0806f548907e3d808245ed24', 'images/97166ca07e57da5a03ea11492a2ba167.jpg'),
('3e321533d8e8db8b56db337c78614f146193a7c4', 'images/97b1eb4f742988463953de01f9639d57.jpg'),
('d59fdc9ddbf476a6b7704e4ab259d37a2c27fa14', 'images/9858302c08eb3b430c37ee0fe3479c8b.jpg'),
('986d42f19cdf0980ee361b4a6cbfb5021199fca3', 'images/98ef2ab3459dce0828a9bd095a210d9a.jpg'),
('c201d4db19556448973acdc85df448520c88ab21', 'images/996cb72f38eb34a7826a078991717faa.jpg'),
('8c07eff76fdd01ebed9d732349ec8fe3437bcd5b', 'images/9a65cc84f99e802bf381ff52eb433201.jpg'),
('dd6e00e1d590dabe5b72311f8a3db8af38e8de7c', 'images/9a82fbaa9ef1f9af05a46b179bd4025b.jpg'),
('8f46f99e7fc65b5940477d52d5e29b58f571a519', 'images/9a83e6e9d911e649faffcab58895c6df.jpg'),
('dcd49e5300950a360b0ab59cc04ac25b392d7d7b', 'images/9a9b92ea322ae46d3b797025cd6a0267.jpg'),
('33034b1812ed42acfa9449f61201d7ee6286c69b', 'images/9aa4f3b14e0e2be2ffafce81485a28e6.jpg'),
('e5be03f503f3cfcff56cba747045434d26c9f93b', 'images/9af14fcbdfba307cd3660760d7c45e9f.jpg'),
('c02eac344c610d38fac7879091eb74d89bbcc7e2', 'images/9bbc7173e0249e5498ab28fe92898eb0.jpg'),
('88ed6eed24aa642303d39dc4fc8ce4b673f2fc3a', 'images/9c0be7cde2e1a706d8ead05c6a8c1035.jpg'),
('2418cb6d50be099ef2dde1285767f4550b125d9d', 'images/9c8dd9ed679bc1267106e77a75c894fc.jpg'),
('9df6b2816c90a9281d0f5ba50302fc06ebe18617', 'images/9c9bb0158b016cf51fec9b2d865f87da.jpg'),
('5bfd16156f7629fc38420ccc70848fe4e83188df', 'images/9cb038c07d26b00985ad567454ca5a00.jpg'),
('e7ca0405625b02768d03d81f16f9c02d08272d45', 'images/9d04f6c2aaeae49126ed4956967215fd.jpg'),
('489ed26d724c3191ddfa68fd4078f76a45f9667c', 'images/9d6620c1957320f883143623badbe130.jpg'),
('11970ec6d9a01c4dc1caa314ee19ad6a0205e3bd', 'images/9d87cc9d3b4a83b23c04c49167b098e0.jpg'),
('b80472f19d3f87dce5500248d322c92423089292', 'images/9d9aef9a73a20e2627b7d7f808db0675.jpg'),
('9d58fdd00a8711612f573c399f3ceb8281ea1cfb', 'images/9dc0e4c1e122a507d0f0cdc32f8a662b.jpg'),
('af9b1078486e9b97fe8a6b01f03fce95b1f718ca', 'images/9df1de2c608e295a7d403fadd7c60a91.jpg'),
('47dd747aa4864b94126d199b23911ee68dac56fa', 'images/9e27b53d9759f463e79353fd998548ca.jpg'),
('46b31b3bce95c18be700144e303f74e0f0e5f123', 'images/9f25f33298f94c62721016e9b68b0120.jpg'),
('958e2f3e3f648c8a2cad1b9a05ff9e048c90f1a4', 'images/9fc41138dc1b502df7aa2741879e9e0c.jpg'),
('61c07fcd69b88e54e782b9f5b85e503468a79caa', 'images/9fcb166324d8a50e1f7354345054a8b2.jpg'),
('ac06f70646e59de369b3f581714179be4787f126', 'images/9fd134c8bcd1540e006f42de70805092.jpg'),
('189ebe939ee9303edfc424b5a7636a3c1635b285', 'images/9fefd0df88397bb65b88b21f25ebe222.jpg'),
('b13be59d90622aa4c2f1ccc0cc183af708c18c06', 'images/a0429907348026ec302119855fbda9a5.jpg'),
('8f5e6dafc5fafd06e5624583a3109f0a8b4b83e0', 'images/a078de51eb048c01f9f7c9b3f12a975a.jpg'),
('3d848b08e06f72fc484a4a5cbf14113bae7cc703', 'images/a0b9ab9eff9d2a00f8e37975038e408c.jpg'),
('ce1662c860ebd83d54b675d1cb6af3115340ed5a', 'images/a1463c7912729a2969f193d4a7bdbaaa.jpg'),
('d055ae808663405de5c2b8f3610308e518b9a2fa', 'images/a158c921b7c379ada51d8c7a132a7a9e.jpg'),
('62511d8ac93af1f0678d83855af1d29166e56e75', 'images/a1609451b4685d86e5577416376ab302.jpg'),
('3b8b0085cdcaa6f074c05a59e3ee674effcd968c', 'images/a181f1d628dc3d8f17f7d76d2b18b965.jpg'),
('fd7872bd00df93c9afdd33107d5f8d446870c5f5', 'images/a19dfb851b2ca0627b1adaa4b171483d.jpg'),
('ed7af6d9ef2273298060d77806d4a03d3a6de490', 'images/a1a9225fed98f8f8d125182be8d3eb4f.jpg'),
('4bee4485ee06289370569e6e0c638b48849c56b2', 'images/a1b96d14aa8f5f6ef5cd7995fe200f74.jpg'),
('2fd92af3fa0848277ce32f08b0640bef7e4e3602', 'images/a22f73acc6c8f6521b15c92876e9bdf7.jpg'),
('cade339d7ded03bde0247b584c0a79d3d3f2319e', 'images/a24f0ff4b2ddf6955c7510186078cbe8.jpg'),
('f43413a024beb6b6b43e222536aa1bfa8c7ffb28', 'images/a2947399f02d1bf94971b82820e410b4.jpg'),
('0284053d70399a7535941b132843a01cfe8c4a85', 'images/a34f92996b56c3107168264b658bbbeb.jpg'),
('dbef44392b6532d6e4d3611a48b67782cb0d1b6b', 'images/a3af7d17e5fdbec1665a371de91b744e.jpg'),
('e210cba08009e3a72a185009d65db829d27a6697', 'images/a3d2dbc1badfded61843be788c475198.jpg'),
('358b2705e2b387a3b7b0e3e1cce9018d2d5687a9', 'images/a45201168f334aea0ac8f8feb79c72b2.jpg'),
('8d7eaa5f1c0e283625225d0790d2e26a9e7903cf', 'images/a4eacfdd2e802b5e58731632aa90a872.jpg'),
('da283670c1443955dc9248b92f626b06109430dc', 'images/a50f96ebbf5c2af2dfa90a6699d63d46.jpg'),
('d20c6a2a04527892fed4a03f3dc194447423132a', 'images/a50fe6e71fb884b3f1787da0f5103b1d.jpg'),
('cd2cc47aa8601cbf3418049e8022f713a6c00f0a', 'images/a5287f7d85f96e99c31b14a2b8e8f553.jpg'),
('b8091dff543e6d54806bc684710278b7f3df160b', 'images/a67704fe90ae4b7b011deb5551bea847.jpg'),
('a8b4b6462d40d1fca9d40d06b95d0632befcf048', 'images/a6aa697956efc872ce58761037d223be.jpg'),
('e33bf5178068ebda138c1bf7d52f704952d2d9e3', 'images/a6ba77df7d21e1ee75ed360f33db55f8.jpg'),
('4cd94c536d53a3af6a950a15016eeb090935f84f', 'images/a6c4ecbdbc39ed17ef582fc81bcc43dd.jpg'),
('993547505aab21ff484a0531e6282816289f3d44', 'images/a83c30519ef4c3c740a0ffa37b50b505.jpg'),
('b27b88a839671d1581e2b1a337c9f5f66c4f64ae', 'images/a83da62ad1ad901fefd8e3ade4e0d377.jpg'),
('ef305c88777d97b2d672cf08c60720417416ee5a', 'images/a886de23bfc57e5d7241647966244a3f.jpg'),
('5794f014d417e499a2f984aa9521180369c0d3bb', 'images/a9038cd30801e8a039bfb1c20c393f8f.jpg'),
('c0942f9fa8867f4d6f27f7f91032936665ecef34', 'images/a91b92a5a603de490268aa42cab2d222.jpg'),
('598db0d7271006f6f095ad57250738cdc325b784', 'images/a9973dbfc7ab2ad90c875389a4d59651.jpg'),
('bf29c0291cf32f0c7b76684c054bcc2c302e5df1', 'images/ab2df2c5fa371cc069a7ff5b55b035cb.jpg'),
('3191ffad0eac07e81cbac13bc60ad7496add0468', 'images/abb4a76998f78aca97108c5277dc6e3f.jpg'),
('7e50e0503d00887521ed9b2b1a7272ea5ef233eb', 'images/abfdf0a69a5193a94b6d50b9221fe830.jpg'),
('6a1559610de1a4ffdf79ecfafc979c4e487eafc6', 'images/ac6dbd98824be815f8e0ae7715657773.jpg'),
('1dc326b116f22b9083f71a64928f4845bd0b47a0', 'images/ac9126a103a009db2de211ebe4cae9f3.jpg'),
('26c72db916ec48642ac3cb1de1ad85a7ca2399cc', 'images/acad59f7aa477b2ebaef55300d54589b.jpg'),
('40ac2316da57abec59a4471470c13c80dfb45ecd', 'images/ad3a1be07191ae110f6c46d8d7700bc5.jpg'),
('09204c4e5e96bfb9a1776d081cd6096301bacddb', 'images/ad3c0e8989c426d5059444fe5234e0de.jpg'),
('701ece387722cfba7e2050f4c03afccd4fd2e451', 'images/adc507d6f6389109ce17731f3435a87d.jpg'),
('dabbc2ef5f7886dd54182451b2a9a90d86e68aa1', 'images/adf62506bc7afde76c9d005c27d6f0f3.jpg'),
('056816e77009686afb3e634e9719b49e11ba073f', 'images/b04021a8af50f8d0933babb88f6e713c.jpg'),
('0ac5320e86eb53b5ff7147b0776ce0cb12da8f02', 'images/b22a39b8b4504565755ff1d5731cfa32.jpg'),
('10132ca92562db243453b9e18606b300d1754567', 'images/b2f12c6f310f79182730020c8627abc8.jpg'),
('5505e6c48b68d262f7ad1c275ddae3ec0f276356', 'images/b340e6bf42aa6dfe99826e0c64f64b9e.jpg'),
('be9128d3aceae674a27d80c4264075e19a3e9241', 'images/b3a58e9d80276e5c0731eb21c8cd96ce.jpg'),
('886685399c7c9c1829e13427e02e2e531f8f9347', 'images/b3c8e4724a0c8f54d6999277f7fc1e3f.jpg'),
('3c5ea748ddd713768c9a75e5b2af415b94121d9e', 'images/b3e5c2c99e4f5095c3b0b696dba15f49.jpg'),
('4f8d3f515d43eff57e63cab4f1055dbb936ef912', 'images/b41aa2805059e75870a8caa5d52491a9.jpg'),
('abe6192a84e23acde7d454f12e70c6edf714edd3', 'images/b426cb8c71dfc5e16cecdb5b5e8663bf.jpg'),
('225be85975bf3584075122bb9b6cda4061b6271e', 'images/b457c5c3fab2d8082c1e80ea3cc54b28.jpg'),
('cbe14cb8ccc9ad986fd31f32b431061ceda87f67', 'images/b46b07f40820ed9e8515ffe23771f947.jpg'),
('8603e1ec13f4bb03bce99065faaaef7205a66c7c', 'images/b50181392b641600755e43a53ec63718.jpg'),
('38dd954885ca29debd327993ddb0782d06ecf331', 'images/b58522de80edb9a4cf425d40121a57b8.jpg'),
('b2e34d9342b99dde9ba4b11b54348f197a2db000', 'images/b5d9180ac0f23608011d62fd991b8e2d.jpg'),
('ff7735fc4b720e49a16b9f16947e00a013d4f627', 'images/b6688b36c7efc88b3f58165162e5bf49.jpg'),
('ef1e09bf613e3885cec949180e178b2336d6e142', 'images/b66d5f24904781fdb244b7183d208742.jpg'),
('aaa773e5266d7b8727ce1b452ffc829d74aaf18a', 'images/b6afcb9fe78cd1f08aab2a9e07eae888.jpg'),
('d7a30c46b6d377a9b804f39a878b4c33195e8484', 'images/b7705ad951187030d3fbc94e672b026f.jpg'),
('23ea27103a963445e21ac6054842d23e750112c9', 'images/b79ea4b96ade3fb38189017bb85ce278.jpg'),
('d951418299a03e1ee4553623c0b816f796b1625d', 'images/b82849858823d0a35b8f03334846e8e8.jpg'),
('9574ae9f48631e133889e06ab96834e5b335fc82', 'images/ba3931c0ba79d605f91a9986d611d512.jpg'),
('20752fd4c8de8334db383cc2b07589f105921e01', 'images/ba67032e293b4faf8866cf06b031725f.jpg'),
('48c2657c96bd839a70b910babae73362e18d2fa4', 'images/ba7372fd9a1c250374e12adcddd8ff4c.jpg'),
('76ba027228a66370962392eeafdf178f299ef6dc', 'images/bac730fcea1bb0f4753df798991251d3.jpg'),
('8efb40267cef06c72891fc0ffec60b1d624888e5', 'images/bb23ca3129edd5ba126d1618c4d29b41.jpg'),
('0d9eccee0c19b7578fe601394274ff2b5032c7e0', 'images/bbeba3a75ae3eff0143fa633ba55599d.jpg'),
('bcd958dd51347577aada4096642887fe127be7a9', 'images/bc5b39159f4edec3e3d9cb6d1b6a6e31.jpg'),
('01684713fd268bce428a763005844db78c3cc19e', 'images/bc5e209f04c4cafe14b4889ff7e3735c.jpg'),
('e97462ed4141cebe2e9c1953552d95439f1c2d3f', 'images/bd3438a71292794abdffb1746e2ebed1.jpg'),
('0cd8fb4d5ce1e87e7b839a8b06ecaf645af08df0', 'images/bd7bcdf1b257e8afa033bf1ed34eb7a3.jpg'),
('8238cd4d36775e11373550a89c1b4cfb18025637', 'images/bdb0d09b0fc69604cdc43ddd454ccaac.jpg'),
('8c6626ea40e1c6b6ffcab2a26936e3ab03911723', 'images/be4646d5813ca89ad5f02ee73652da1b.jpg'),
('4c46044b624a79d06f330848fda4ebe8abfd34a3', 'images/be56ab00f8be49c7f367acd570bc6609.jpg'),
('efe2b01f6afa489315a1f3d0a0ad3fa1d407577e', 'images/be8e31899febf2da8cc8cde30249b74e.jpg'),
('8ebbd70e2ea53a11393962fa8fd28473745af796', 'images/be8f4c99e3d1abe4c0691e7c74b1b502.jpg'),
('2655881b55621b33fdd1d5f0e81e60bf91b56eba', 'images/bfa8517e6af279143beeae14c2197df5.jpg'),
('e3a17844c31cdb51447f7dc00be250c78651b546', 'images/c0bf098281e9269b611795b112cf9a13.jpg'),
('ac30f03fdc15a82c41e49050c8f694850bbad734', 'images/c1274c32422bf66d918864f0c503f051.jpg'),
('d0c750f5e32c30b14df3afc4a8896d6eea8f716d', 'images/c144888dc7ab37360a04f6fb3e6a5ec1.jpg'),
('09221b47a4073ef51542f3c5e95d6168bd33f969', 'images/c18c7352ff2dbee0eb9eb0949384417a.jpg'),
('b5239e4ef0079548d713dd0014fceee3ef2f18a1', 'images/c18dd67d3c482e14dc4836cf6bf69f5c.jpg'),
('178742dcdcd6fd2b52c312d23caf8e1bd3e13906', 'images/c1f030ae76fd8417aa9290600e9511e0.jpg'),
('ee25ea119930fc08d601df627803d39d8b9d519e', 'images/c1f92f35d0a09bb6593f334b5b8b2543.jpg'),
('1bef4261e076142014650e9f9aba77ffb81c88ca', 'images/c23e0943b30fad0f855cf34d8abbd6ff.jpg'),
('6077b99253bd46fd00061b0a2129df26d88dd6fc', 'images/c3cc59ee187d21f533a3f355c690184d.jpg'),
('fee1bfebc3bf898308689b0aa9a20339a4ec21b4', 'images/c3d9bd7ded5fd06b1b7159523be76a0f.jpg'),
('07874a2e88fcfa1dde0b2f9ecf1b384f86fdb806', 'images/c45af53d2e5da348651581dc23e58434.jpg'),
('44bc029edbc71eec65a50ebca8e8e46355a04aeb', 'images/c4910b36480bc58fe75b6289425801d7.jpg'),
('d09fd0a0bf99a2279d8795063d3c353562a3cd92', 'images/c49c2c98ff4c641249c2cbb57a0a75b4.jpg'),
('ba336d1d66a5babe6cacbfd2c2affe1328e5bf60', 'images/c4c673b16577f26ce32543aad38a443e.jpg'),
('72e87802434548775dbebc7525308ef4db7d2a14', 'images/c4ffb5281c3fd76d948d77e6bc0ab73e.jpg'),
('eee554751d2d0f673d086ecee8782cc81e79dfa3', 'images/c5220741be6dc911b4a2eb1e7d0ad082.jpg'),
('cae7eefad362761af78ec64ad95cfd406f381a45', 'images/c590c8947d1d11c9b7aaf33b6e434377.jpg'),
('8f44277911daf858ad1707ee0b7609a991e274ef', 'images/c615d59e0a55b05dcc9239258ddab277.jpg'),
('b5bba4cde6ac59d4cf78d11429d33a7a636fcb8d', 'images/c616b829f3c3481fba14f3a77b9cb255.jpg'),
('b91a641b98666ebe55491d77537a02de07b22874', 'images/c6f0919488deff21d55badeebcdbc41b.jpg'),
('f804e1fcebf49a6a79b3e71b290bfe147582ac8a', 'images/c7503f4a70f1c81dd6ea94f787270d99.jpg'),
('2aa775fd4bb3d383d1ad7b405464328ddc1e10ad', 'images/c78767000b16b63c5157fdbd3c268621.jpg'),
('8e6d982cc01cb0b6f04dbdee54f4266028dd4ce3', 'images/c799d1d65055130a45034188c812ff5f.jpg'),
('1eda84ef76cb7ec2e9842ea98075c85593b35d2a', 'images/c7e9d0b34d928ee0418c0f839bfd8d08.jpg'),
('96d26729f4f7b7ca33bde09b9a98ed420eb35f8e', 'images/c8301f5aa8ee66e389d30031a31df9ab.jpg'),
('3a675f31fa22dacd74f1e5eca07135270c5d81b3', 'images/c8379dec7b17587932c4324199b2fa51.jpg'),
('68a4f4675742682aed12e47c355ba2ec698587c1', 'images/c8413f65b65cd06d142de4caab3faa23.jpg'),
('975d666d18c6a9d0a54b903a73772c2ae325245b', 'images/c87b09295964ae457e2d53f78b04c4a8.jpg'),
('8624ae23ce8aeb7da20410b60e97e9d4823202e7', 'images/c8c87757715d5d47e050d1b4b876388e.jpg'),
('81790cf8b13679ef1cdf191924adf51b5986ca3f', 'images/c9183cf4a366161e7f68e61a3331c4e5.jpg'),
('17ed170740441f83f428f29ea3f01a5daf2ff2d9', 'images/c9bb6d4ac7497dec9173e052f23fe607.jpg'),
('f080bc610fc43076c3a116bb35f53104acb3a9b0', 'images/ca57367c0a30c308a1e777ccc665001a.jpg'),
('076ac60e96e4d3b558f763775ebd612f4ee0300f', 'images/cad18ec31413d737786784f84209cc80.jpg'),
('72c0a1640c95a49056697e58a822915a2f14808b', 'images/cadbd5e05c9de43246e0915ef6bad471.jpg'),
('c8c75352ea1dbaa037c1584c72a2249684c9275a', 'images/cbc7b0245b0756ef6ee1374b63723afa.jpg'),
('724396c6c79db58641212593745ce04d6260f80d', 'images/cc04e48317342f75d5e428603bde86cc.jpg'),
('eda0a21a033823d1849455fcf685ef3546b9f5b5', 'images/cc56d0a1d75ac48e3da8d71955d7fe98.jpg'),
('f39d29b96085dc9115750ed85356e7c0bfa302c8', 'images/cc5b0e5e279bf5c385dc512e63bcf433.jpg'),
('b838e71ce5565eac6e4ede94ebc061fcb5a37269', 'images/cc5fb7255319c68207d793874890868e.jpg'),
('a284a7d8f2979ce2bb47b4f09220af284b9db84f', 'images/cc771fd855d59c0d952754efa4369c06.jpg'),
('8a29c958b80aab9963e183a4baf5555d3bc9a6bf', 'images/cc9dedb48ab2647e9a10bdf1b47f81d0.jpg'),
('40e984e62f1bdf8d83f32a76c8dd54ebfe40fc18', 'images/ccb5a415770fc7e7dcfd57261bb67c27.jpg'),
('9755d383dbed704465af0b4dffae4ab545dfaa05', 'images/cd27f0836bfde6d15160e3490b283911.jpg'),
('e4e21395c94fcf0a2f132050d39f6d0eb9177072', 'images/cd5f704f7e5b21366c567adf56b3fb24.jpg'),
('7aab0ffc417d6d0aeec80164c6ea9af45eb1a64a', 'images/cd7ddb9cfdcb4abdaf8c4a7fcb5775d1.jpg'),
('1d355f4ba3922fc60bcc58b24c4486f440897e38', 'images/ce144522d8ee18cb47bdccc90592c2fa.jpg'),
('36ff2db47e59fa21b743f4c3d2525cb1451b1207', 'images/ce407f9f200a919db1d7ffcb400b887e.jpg'),
('52cf063daf1ce867c1ed86f9195d4435a9a7422d', 'images/ce4598ed0e18ea9b5163ca0d9a4c4eb1.jpg'),
('cedd38005929f3777133da7e810fadc0846e23c7', 'images/ce6caa2497b6b2f0d0ff6f2281309f61.jpg'),
('9b2698767d5c7fecff2417b54c9ddb80db8c0b4d', 'images/ceea0e40f759cdcb46aba770a985babf.jpg'),
('2334e275b54c5b674d01aaa2c8787a7343682cf3', 'images/cefa892c4bd852ba55d3300119b3de36.jpg'),
('c072c9d27e013021b4dbf6e3ec7aa180d1e83bdb', 'images/cf0ab7b7c0664447f2bc81d2483a4e96.jpg'),
('6c122426435fb522ff68b84ab9ea999c8b14e3f4', 'images/cf4ff090b27c12ebbdbd16b61fd57815.jpg'),
('5cf22b90dc72cbc8b1994798f926671ae630f232', 'images/cf7b53026a93e3490d321d3c82a3aa7c.jpg'),
('deab83f47d8b40823dd19a44fc8a90fac8151e74', 'images/cfbbee16dba2c6641c753310cae80d22.jpg'),
('34fd2617b58e562e4253ab64f9c996089b312e73', 'images/d04259724365665d3c758ee84981d700.jpg'),
('d8db0143ea8d41a968fd7a94b68134039b132c25', 'images/d1304aee5b42b1cbefa6d33f0d7afdde.jpg'),
('faa87f9d296da0db27fb0dc04351904133ef2f83', 'images/d136c0098ce1d5b6d2812e2e030f064d.jpg'),
('f004761db0e449e71dddd509782b475ab2148015', 'images/d1431ac1d5fe54087866a4e9909f7d03.jpg'),
('db8818c32d3a336bfaf47a94d177ee20a7d97785', 'images/d1983a532176b05abbe23a6dcc492d1a.jpg'),
('df123a01d03a6f2d4952b41936058891910ff917', 'images/d2461478025bd5e2e1aff3d62ed53027.jpg'),
('c1ff22a9b4fea5ed4ab6610d8eca748560d5a5ee', 'images/d2908d4b0534221083623e2e8121321a.jpg'),
('677d079151e59478750b998eb44a1a01a1adc38b', 'images/d33a00b2bdf04bd71d7d27580572b690.jpg'),
('83f8142ea93766514fe7e3624070f5c84ade1b8f', 'images/d33be93a5bd1f4d696f512998d0fcc2e.jpg'),
('8b6dff0a88b92d72909e28011c2c30eeed40c029', 'images/d341ad046ce2eb0c39dbf6cd919f1ebb.jpg'),
('3676dbd90c906431d2b064c1ce7f45d120d0ebf5', 'images/d43079e15b20eb1b127ef6d92ddb760c.jpg'),
('d0a7e25fc4454257939554f1d3633af4b0dfe783', 'images/d43b4d98dc252a00d9ce6c1e8b8301d2.jpg'),
('112dd5f6395e4c3f67226c0ae4bfd02c97126670', 'images/d43e0eb9ad51a5b5086f390e4c4ea3ad.jpg'),
('5b5e01fcd998b5e8cf12161db15b545f82bdfcdd', 'images/d4f6f6d493f5fddc888d4fce7bc93d64.jpg'),
('3ddf74ce2db7edc7011ab6d31e64c28d1b9a1cf6', 'images/d546878db055b56754c5498f15808f03.jpg'),
('5ca10a44c24e3634672c2a1b6e4224d1f5c5d9a8', 'images/d562034af06f52283b9a5f0ed9b76fb0.jpg'),
('4288802f037c89e9b0df358af9baf3562b52e35e', 'images/d5b3d21c734bd117f93007d88fe02e5e.jpg'),
('7ea04394587e6f21e3e5069a858465dd20f796db', 'images/d5ea15a745d5196d59c67d425c190f02.jpg'),
('ce10d5e1481499f4cc43ab871af319f3ca3b5c21', 'images/d6342196269b77575a18792c6932b4b0.jpg'),
('b57793411b16149aa6b25085c0b6b0674a709fdd', 'images/d6e9221bbfb00aa44bf140579c004d5c.jpg'),
('13c10625c3e1f2694831fd152931de41a70bd6a6', 'images/d80a7c2ff2eeb6d3e3071e8e71ab9d7a.jpg'),
('ab013af4abe7eaf4919d53196e53295786f3a991', 'images/d85bc7e3816a0d6a1b4447cadc64ab58.jpg'),
('971aa3447c06998d6c1842941acb4e2da47aac78', 'images/d8ab8512d9829fb6d4ba9c4f188a3fd0.jpg'),
('6a2789d6814af5196b1a2705f35249c02d978220', 'images/d93cf9e2ef1821e475bf769861c4337a.jpg'),
('2335d700d21fb8eb7f8ecebf4a24a897ad91b932', 'images/d944066ac1af54d96d4da0e87c816f6b.jpg'),
('bdef8e4d4cfa064ef45b15fa4daa5a3535da5d2e', 'images/d961803069fd43bae79731b732fe0250.jpg'),
('03bcf79ad3fc2bb204f9767cbd33a4612f818b0c', 'images/d966ea2282b5abe6b43885cebc53e6b0.jpg'),
('108a421425026cdae7241331382577da8feca836', 'images/da11492aaa4ff2286160e4139ed0fdd4.jpg'),
('0222050792c3e47b7d6324560c4a8d9efdf045df', 'images/da30101369299a30bc517f9223765d56.jpg'),
('2a5480c8ec81bfafcb272423463502de91125813', 'images/da703b73fbd22928297bb671a3899f0d.jpg'),
('c4d14bb3d79173dcfbeeda604ad555e922ddd13a', 'images/dade4de86dd0447ee02708df7cccac59.jpg'),
('06c721ca7b6694f2e5ee7f9906d68ff08476604e', 'images/daecf7a134146704c8492727a25573e7.jpg'),
('747854a564769660f5106cbcf3ad7ccb52cd213a', 'images/db01cb7d6a630473ae194c120a9b8365.jpg'),
('6a2c791d6c3dc82698c9bc66b2b4f744567a748b', 'images/dbf19918e598d218f1579a8ab0ac3aad.jpg'),
('5ef629ede85003385b497ef2f866c811004f437d', 'images/dd384cfef18cfdc5222d998eb94ccb76.jpg'),
('4d166d220d48858058a7a55c3046cb6d87cf3070', 'images/dd3e05e924267f4289d0e8c8633fc885.jpg'),
('cd9ff07e565c3c32df534dd00a31eec1d4c4d91a', 'images/dd6ad615aba1c58aceab80eff3b44abc.jpg'),
('f9dfbe190990e3bb0e54f6f621b9604fd889dab1', 'images/dd8ad03447af619eaddb6de8f05d42ad.jpg'),
('a3604c958dfc7f7bd62af53067a88cadb3a7ba71', 'images/ddaff91639a3d0a4ad64bdf268f70f27.jpg'),
('201d1230fa7afb60d447720d4bf122c3b27a365e', 'images/ddba4eed961474ebc8b2efd655488643.jpg'),
('5d4996f5f652935b647dea43a96bd551f498ca56', 'images/de93a329bce18bfdd95b9d3d817a93d9.jpg'),
('550dd1a267243b9d9a6b0e81e5d31ff60518ecd6', 'images/dee6c2c87d865352009d28189d75d78c.jpg'),
('3e82f13464d35dfa00f94b3fbba796b664e74ceb', 'images/df4e7f8ee2419116678cd916c3318d77.jpg'),
('6e8d70c9d24e7f2f8ed4379792be8258f5fb5fcf', 'images/e0570e1ef8a99580608c6fcd39ac2f75.jpg'),
('3be7ca5c7c082ae604940469757abf0da3a3ac69', 'images/e132b440f33b7675b22778faf4f1a72a.jpg'),
('1c752dfa931928ab84f015bc21fd1911695fe359', 'images/e1a7ca11486e2d889c8acc764d902e6d.jpg'),
('07a854e4b2f5b7d9f399cb3c5fa1fbd50f6d777c', 'images/e1db01a2b3a1a1acf932cad23deb5d1b.jpg'),
('252cceb6a838714ee60c9727bee4422a0580c2e1', 'images/e2c624f63053ca7c61f2e08aae47c28a.jpg'),
('61a5af72e58ffa9f9db2c036aca7808e94ba8fb7', 'images/e397ca75483dcb769275ffb44d409145.jpg'),
('75c0e78ec8881a34741639d3e88574d5537cb094', 'images/e4311b383184e88d133a430ca46bb82c.jpg'),
('aef061da1ade3f17788d691a4ef9afb98f7da255', 'images/e50be6f817819063a447687868ae73c2.jpg'),
('76dc48cd5db4c04455780e0526b05a3416c0c04c', 'images/e5ba95ebfdc0ac5a30975fb2ae226ab3.jpg'),
('a94641ef70678e7b5b03d1672e122855f0580f46', 'images/e5d83427465623f13d9744ac8c04d7b3.jpg'),
('53bbd1e5c7134303343cc9b165026fb0122e14cc', 'images/e61f4a4f9fac3aa1e29461f24bbb28d8.jpg'),
('09172ad0ed969225c42306139927d0dc3c83ee3a', 'images/e724f935fa1755497915a82532ae8ccb.jpg'),
('8d816fabce63e3829e8860927f163d598d165326', 'images/e7400a38ae11b9f5661483f5a3164a3d.jpg'),
('36e4c68b38c7fe7bd2d8698e3429364ba7592b46', 'images/e79773c2dbcaffe43c68cbc12e4b3885.jpg'),
('bb08f121b480333202b7253eaac2772ab2ec9989', 'images/e880b53ad818b457c58a753918d39d99.jpg'),
('e60afe3fd1ca215d8406784638cd0f6c3267605c', 'images/e8b2e410d5c3ca80fccc13ccc6a4fbdf.jpg'),
('0a86fc39f69551e7e229d731ce6ee0eb570d100d', 'images/e93c013f7c239c8eeb706d14a45a4d15.jpg'),
('5cb6425a61d9dc9c30c49fc984a4ed946d9b909d', 'images/ea0d6f5452b1d3854abc9ff05d033a5b.jpg'),
('f2e5a4b0bbe58c9b4b1e967a631b04d194768da0', 'images/ea64d4d43464c20283ba10b28da282c4.jpg'),
('3b337eca552a1aa74778674db857bf345fbe128a', 'images/ea6bfac1676ba55ba8f7e1c8e22b33ac.jpg'),
('20d41d2ca2071a42f26f603201f1dceeb804cf2a', 'images/ea82fba29dbf57e51c8f5720bd5d7521.jpg'),
('d26f7b6c7ad202136f5ffe242c6370ff7a7b33cb', 'images/eac8e4e2e483286cdc082b8c1bf465f8.jpg'),
('e906352d2953cc3482655c19c70ee1c0091c7bd5', 'images/eb2068c9ffb6ee8b67b581d19aa15e5c.jpg'),
('d139313e73c7e5da9d3a9df40c6d4db7d571d2db', 'images/eb28e1725e24e6b14699e6db343509eb.jpg'),
('a3cb8ef18b8048ff9fb50a1ed847cb273c03d24f', 'images/eb2dfa573a6007666c4ca4db8da3755d.jpg'),
('1424d133a427a53654f168727874893332f98d93', 'images/eb797ef83f0cb55e50e628a7b215e7d9.jpg'),
('8ed2387df948372ac3f76d2c659aea057fe4dd50', 'images/ebe577f0d9d9cd92d61fd6162005cde1.jpg'),
('90b08bc529ded9dc9bb70d3618604e83dc397263', 'images/ec06a8a2842c84bdac6f600b5d9ee0cd.jpg'),
('6de45c2773cc64089475c33daf0c44bba4b8805e', 'images/ec5c55d48db724077669286d761af6f6.jpg'),
('3e5a63777df72201956aa6c10b99a7c41d27130c', 'images/ec7603013580eeddc2bad32fae3a0097.jpg'),
('f0829472a6a344a082cbd6217bd7de19b48595a3', 'images/ecd6b5b2866340514aa89811671301b5.jpg'),
('79fd760623d8aceda8440ca9d31752690f9258c4', 'images/ed05abd7fde389f23ba9a4306f759e8d.jpg'),
('e2a1d536613e008e76880de67a04ae023ad18bc7', 'images/ed1f3dd530cc937aa6481e1413c77b4c.jpg'),
('4d381337ceb484ebb15c22acab392ef7745437bd', 'images/ed1f9096568bcbcb515e32a27ecb460d.jpg'),
('a944e86bfb86892abd2de90edbf58d12e8cf2ec9', 'images/ed48c301fb86dbb193fc4dcaff05e449.jpg'),
('b2b417560bbd9174f4c813a7e2b548481b2c5f31', 'images/ed5e134db6d17da0944d9663a5a28d51.jpg'),
('4e8b82805f4d17f96e8caaf650e42dd16a79f095', 'images/edf7ace8a9e54805b2fe3332c362130b.jpg'),
('052ed32e3ca49a05b751533597dba64fd93a8eb7', 'images/eebec08c30d9f75da3ce0a95262a96c6.jpg'),
('4c7b848999e5e4d2255fa482731c93a3fe9c6b63', 'images/ef17582fefeca4dd0a380e974616a92a.jpg'),
('01d1532da42ed330f84f9dc691c524db3c2eab92', 'images/ef62f0aa44edf11c4eef43d420d7840f.jpg'),
('6bb655cc47880904f24f10e8811f434aea2900dd', 'images/ef742cac69eab6f189e92509649b1336.jpg'),
('bff1d3215dcf29358a7d81adc8e81a76c31447c1', 'images/f0ae96462d5c3a62f8432d0d08b07732.jpg'),
('45c09b4af966fa5971518b8c1bf03e04555e6d72', 'images/f0b3a3f038c38b6b0f2610fef6135a21.jpg'),
('239983e195b485d8843d489729bfff84cb3e03c7', 'images/f1118ba2f9cf3a4930264bb726495272.jpg'),
('6ba84a0fe804955e07e6a77d688bc745de943499', 'images/f1ac2a3a42de7c23889b27f59afa24eb.jpg'),
('a924c02ccec37093b2b445335f4d5fcd3d36db0c', 'images/f21e321e3bf540480105b34ee565162d.jpg'),
('61058471cd4deb56ca7dc27d6392faf3cb0030ea', 'images/f2949d92604bb0c90beba61e295095f2.jpg'),
('8b1099f92cab459853520c3d9e9c37de41429fbc', 'images/f2ecd19f902c2d667e988639a8566030.jpg'),
('fed4e33dab5bfec0c41e4f7b23d0328bfc692c89', 'images/f3fc8dbf71c0a4a57f8349fbcd2fb5ee.jpg'),
('910cd8f2789f42736bf61be3eedcaabd3fcef318', 'images/f4f77ad49c6cb0f1c4dae95f158dc45d.jpg'),
('d042d9fcde3055bb214e298488bd4ee8098a3f47', 'images/f53b571cd3766115422ea8b389ff9dfc.jpg'),
('c18d8b2802469df2ce3f8b7e1043aaa7ad705f3e', 'images/f75171ab341b0155fb9ad8c51dc5f6c5.jpg'),
('9443604dd3ce901d910bec0ed4ad48fd1dd19535', 'images/f8001629bf85b9625cec0a82e43ef45e.jpg'),
('e2f3dbb705decc9e94a197e5916ec435b93bcbb9', 'images/f807c767402589184392e0ba02fe3492.jpg'),
('80fb34d5b7adaa289c16ca90e65fba4ee3b0f327', 'images/f8523ab818f7f396ede712dca712688a.jpg'),
('c10331e6d51a86a3ba8e7764aa6e58cd874c4b20', 'images/f8e715d8523c247c174f86f789cc1447.jpg'),
('6e7a12f4ece181a3da1ee53bd1d00630a7694589', 'images/f90a5ecc9edda1fb28a9a7ea2736e1bf.jpg'),
('a9c8dfbc88ccef04871bec569e21c71392f06aca', 'images/f932a5a0f4f33d6cf3b698bbd271cca2.jpg'),
('d7aaf4d54aa1c29795b0924d2a14a48dec101420', 'images/f97a3f78417f5ca6b4b3e240dd5f8108.jpg'),
('1f4b18e077ee1be6ba9d6fa3cf2c3ee259114d1c', 'images/f9af10bc2c6ea1ad05c7e8f5da0c0986.jpg'),
('3ea5d426f7d8c6008718139165f7c2185e1b50b6', 'images/fa111f3e89ea0435b08047768c8062cb.jpg'),
('df05bc4fbe580cad082380d76f13465db8f2a8b5', 'images/fa13804739fa6ecdc57f1c932a30182a.jpg'),
('13606a4c36af85ff3a7c39d9b541a90b0762d250', 'images/fa812e89ec0500f1bb6b1c4b85185f63.jpg'),
('93c96136c645395e5b07b0045cd0d6e0e4e0d34d', 'images/fbe567ae7cc87e14c3e42e0f269261a7.jpg'),
('436f53ddc20f76cf3414d8ff64f88fbc91b7aee4', 'images/fcffad39305b6e72b8ae2a332cea1c8e.jpg'),
('54699e334ac27897864bf316edf0ec85cfab5987', 'images/fdb82bfad70db532d17f95f4d269febe.jpg'),
('dbb09795264dd628ed327ebc5e2e0ed9c15d8167', 'images/fe37d2ee871e7787a89032291ed52b3c.jpg'),
('626ac7aad96b25533358a275c2ffad24341e21d7', 'images/fe556a2cf7ea2620bf2ec3bb05d75ec8.jpg'),
('df582014308ad93d1202848e6bdf508563e61c63', 'images/fe56b7c31d5ef332843e225def7733ec.jpg'),
('47a9abfcb5e8eafb77f886b56ceb7614d59df790', 'images/fe8cf9364f4babaf8e73384297f818fe.jpg'),
('f65f321dae3718cfda885bf571b98111f3837375', 'images/ff1aaea7a8a6740b20411dfbe2fbe6a2.jpg'),
('a51bf90d368a8295081c722688529449d237de07', 'images/ff2487147d6a026dbbb06b073b33d3da.jpg'),
('0702a05bf772589a44fe8da7648716087df3b506', 'images/ff54d674df37661bbbdb517298b8ea38.jpg'),
('1e2d67dbd1568f093be05d2dba811dddd0469937', 'images/ffa58dff35e2f9f08b3b7de502be7811.jpg');
INSERT INTO media (name, description, media_type_id, user_id, size, metadata, files_hash) VALUES
('A esse esse accusantium mollitia quidem dolore dolorem ratione vero.', 'Quam dolorum necessitatibus ipsa quaerat. Temporibus minima dignissimos nostrum aut.', 2, 25, 90990342, NULL, '1bef4261e076142014650e9f9aba77ffb81c88ca'),
('Ab est est saepe vel eaque aut ab.', 'Et qui ut voluptates corrupti autem odit earum. Quod culpa animi sed quis deserunt sunt. Dicta aut ea atque omnis libero. Eum voluptatibus quos ad eos temporibus.', 2, 40, 621872, NULL, '13606a4c36af85ff3a7c39d9b541a90b0762d250'),
('Ab in sint ad in.', 'Eaque aut ut excepturi similique. Ad deserunt in occaecati asperiores. Numquam nobis qui eos ab. Accusamus aut non nihil.', 1, 66, 2, NULL, '423aeabe76d80035eabe7db2776d74c10c55b56a'),
('Ab quo ullam voluptatibus exercitationem corrupti commodi.', 'Tempora qui delectus consequatur nobis quisquam. Sapiente non autem a voluptatem recusandae voluptatum nihil. Aspernatur veritatis aliquid nemo qui quos magnam.', 2, 90, 621428, NULL, '80d56bc9ed794ec512fae59bd29b08c425e56fe8'),
('Accusamus blanditiis veniam voluptatem et quia consequatur maxime officia nostrum.', 'Quis et labore blanditiis minus pariatur dicta. Vero sint similique eaque porro. Nulla aut dolores cumque officia deleniti ut tempora.', 2, 81, 92764, NULL, '2eb31ea7ab35bc908fbee856c80585372f6483e4'),
('Accusamus et numquam quis itaque.', 'Sed voluptates deserunt et voluptas ea nulla id. Officia aspernatur facere consequuntur voluptatem rerum excepturi maiores.', 1, 30, 54819060, NULL, '780d9ec8fa876b80f454e1c79b93b2ac30e3c7c9'),
('Accusantium cumque laborum ut aliquid consectetur aut quasi et.', 'Et sed cupiditate eum saepe qui sint perferendis. Iusto iure blanditiis ut similique quibusdam cum. Fugit commodi aliquam dolores voluptatem eos nisi. Adipisci necessitatibus dolor qui dolorem explicabo qui vero.', 3, 24, 79411, NULL, '8713803e4de6efea426e964792446a7204f3cf52'),
('Accusantium sed architecto vero corrupti eligendi nobis quisquam.', 'Similique omnis exercitationem cupiditate qui. In sit facilis aliquam praesentium ea ut consectetur.', 1, 31, 8585, NULL, '8d816fabce63e3829e8860927f163d598d165326'),
('Ad maxime aut quam enim et nihil autem animi sed.', 'Eius et porro vitae unde velit ipsa non. Et tempore qui incidunt.', 1, 89, 883, NULL, '199e3b36a3cf79c7196d7e41ed1f6e3c53572e70'),
('Adipisci ipsum et sed deserunt quibusdam.', 'Reiciendis sint aspernatur sapiente dolorum distinctio. Voluptas qui eum est ut perspiciatis. Rerum distinctio non id dolor architecto. Qui aut molestiae debitis tenetur.', 3, 92, 98, NULL, '00d6655d5492440ada0aea87dc2c92e69a5fe111'),
('Alias asperiores cupiditate molestiae ipsa inventore.', 'Provident ipsum laborum delectus voluptas. Ipsa qui a eveniet error voluptates. Ullam quisquam fugiat eius accusamus voluptate. Sed sint numquam inventore minus maxime porro ut.', 1, 59, 0, NULL, '8f44277911daf858ad1707ee0b7609a991e274ef'),
('Alias porro sint a sapiente ratione qui ea.', 'Quia error nihil quis quidem. Quisquam animi et hic dignissimos quidem voluptatem omnis. Consequatur est fuga repellendus quis ipsa rerum aut sint. Nostrum voluptatum autem fugiat ut.', 2, 62, 0, NULL, '201d1230fa7afb60d447720d4bf122c3b27a365e'),
('Alias unde placeat quia est magni est eos culpa consectetur.', 'Velit perferendis voluptate consectetur temporibus. Nulla eveniet doloribus esse iure. Accusamus aspernatur quia sint dolor.', 3, 76, 7, NULL, '2115580f3eac029765cd8b5f9448a1a49d384a2d'),
('Aliquam tempora nesciunt assumenda quos et autem officia alias dolores.', 'Dicta illum blanditiis quae autem. Atque perferendis culpa aut excepturi enim asperiores placeat. Eius asperiores voluptatem quasi temporibus.', 3, 42, 7901412, NULL, '4bee4485ee06289370569e6e0c638b48849c56b2'),
('Aliquid qui velit voluptate ut libero occaecati maiores.', 'Nobis in voluptatem sed consequuntur. Autem consectetur eos minus porro qui eum quasi. Quibusdam expedita harum architecto. Rerum illum ut fugiat nemo delectus tempora.', 1, 78, 5272374, NULL, '20752fd4c8de8334db383cc2b07589f105921e01'),
('Amet distinctio laudantium excepturi consequatur.', 'Perferendis esse placeat quia totam nam. Adipisci cumque maxime ipsam ab sed nisi accusantium. Dignissimos aliquid et voluptas repellat quo nisi voluptatem nihil. Ducimus et molestiae in qui nemo dolore.', 3, 10, 6220665, NULL, '3e82f13464d35dfa00f94b3fbba796b664e74ceb'),
('Amet dolor sint dolores dolorem.', 'Aut voluptatibus aliquid ipsam rerum quasi non. Inventore sed dolores earum architecto officiis accusamus quam.', 2, 81, 67650, NULL, '10aceb7fa6f799967f028dd8fcd9e076392e9a88'),
('Animi autem et eum voluptatem laudantium quo ab.', 'Fugit autem ducimus nihil quam. Soluta corporis quos laborum rerum. Perferendis porro blanditiis laudantium ut id deserunt.', 3, 32, 137, NULL, '07e84ff2019082d8cc2c4bd3b0361a78d1704983'),
('Animi harum quo perspiciatis officiis quis qui dignissimos.', 'Velit inventore sunt sequi perferendis. Non quo exercitationem necessitatibus eligendi. Molestiae aut exercitationem ipsum est. Et et magnam ad modi.', 1, 59, 881301, NULL, '47a9abfcb5e8eafb77f886b56ceb7614d59df790'),
('Animi perspiciatis rem dolor et ipsum dolorem eligendi ut.', 'Delectus voluptas qui fugit iste commodi aperiam deserunt. Aperiam rem ut dolorem cupiditate quam. Ducimus enim dolor voluptas et. Vel quos corporis voluptate et minus. Et rerum eos expedita quia eligendi voluptates.', 1, 34, 771173441, NULL, '2d939f6b2e6435f2a5e91de2fb59542546fd9eb2'),
('Animi quo molestias voluptatem omnis autem accusantium est.', 'Itaque delectus modi et dignissimos ex. Autem officiis qui reprehenderit accusamus in est. Error eveniet molestiae deserunt quae. Culpa vel rerum non libero.', 1, 35, 1224, NULL, '37693a21e1ff5e665c59156c0e7993d3007cbcd0'),
('Aperiam est porro ipsam ut cum in.', 'Ab est aut eos non non in. Beatae magnam ut facilis assumenda occaecati voluptates.', 2, 14, 47, NULL, '0b155939e791c40b0e7a8ee08868028e53064a40'),
('Aperiam neque aliquam et eos ut et nulla consequatur aliquid.', 'Et magni praesentium et voluptatem officiis voluptatem. Temporibus eum officiis et et odit ut accusamus. Fugiat nihil totam earum quia a.', 1, 96, 133352, NULL, '5016c4f43fd6167b35dc8f30c0673a33e4359981'),
('Aperiam quia dolore aut iste velit nam.', 'Voluptatem et aut vero rerum sunt ipsa. Reprehenderit iste tenetur deleniti sapiente. Tenetur facere est id et fuga corporis. Ex debitis rem officiis sequi minus placeat nam.', 3, 86, 46572, NULL, '19150133fe7236e78b2d294ea70bad12d3c1b408'),
('Aperiam sapiente consequatur ab et.', 'Nulla nam et non impedit quia nostrum consectetur. Odit ipsum dicta atque quia velit. Voluptas reprehenderit vero est dolores qui.', 2, 27, 666423810, NULL, '40ac2316da57abec59a4471470c13c80dfb45ecd'),
('Architecto at corrupti ea optio.', 'Adipisci ipsam consequatur sed doloribus culpa libero in. Deleniti non esse qui voluptate est quisquam. Est dicta quibusdam ea voluptates dolor quia voluptatum ut. Alias praesentium expedita odit dolorem nam doloribus incidunt quia.', 3, 56, 64790, NULL, '09c129976771082d561849ffb808fa9baf5ee074'),
('Architecto doloremque quis nihil sapiente porro laborum.', 'Ut quia non maiores possimus distinctio earum doloremque. Explicabo a vel magni voluptatem aut aut. Labore provident laborum cumque aut.', 3, 8, 46, NULL, '99ab15be85a17de1d26e0e1972fbf2d3d22980bc'),
('Architecto repellat at et ipsum aut quia.', 'Nisi distinctio rerum rerum quis dolor qui in voluptas. Ipsum nemo eum facilis voluptatem optio. Sunt excepturi temporibus corrupti sit quam ut.', 2, 66, 2600, NULL, '5f27a662ec09fccbeb09a96c28d4965baf0dfbd1'),
('Aspernatur impedit soluta quam porro.', 'Et velit eos libero dolores repellendus eveniet. Nulla non omnis aut dolor eligendi. Dolorem ea deleniti pariatur unde soluta.', 3, 60, 118, NULL, '2335d700d21fb8eb7f8ecebf4a24a897ad91b932'),
('Aspernatur maxime occaecati enim consequuntur officiis occaecati.', 'Perspiciatis commodi dolore autem pariatur error eum. Odio commodi facilis voluptas in quo maiores. Facilis ipsa qui rerum nesciunt. Incidunt inventore quia incidunt voluptatem voluptatem.', 2, 92, 405405, NULL, '2a01d30195b5f16ae909e783fb4b2e09279e4c39'),
('Assumenda et pariatur suscipit odio eos nulla.', 'Commodi repudiandae et magni debitis. Aut omnis harum aliquid assumenda. Magni aut earum aut et vel voluptas est. Illum quasi id porro sint quis qui.', 2, 72, 0, NULL, '4c7b848999e5e4d2255fa482731c93a3fe9c6b63'),
('At non et autem sit autem.', 'Mollitia fugiat eveniet et aut ipsum possimus porro. Aut quia est tenetur cum. Rem molestias et voluptatem consequuntur est labore voluptatem. Aut excepturi et est.', 2, 15, 289224, NULL, '87fde0872d7800c4cb9c48f36e121e5b4e92749d'),
('Atque at enim aut expedita.', 'Earum optio qui harum minima suscipit et. Vel ut aut dolores non et porro veniam. Sed nihil et voluptate dolorem quo vel cumque. Recusandae esse ullam aut quaerat aut ut qui suscipit.', 1, 12, 9159, NULL, '274c96b834619d8e20883c167e24903fd70529e8'),
('Atque id natus mollitia mollitia nesciunt autem est vel.', 'Iste sed accusantium laboriosam minus recusandae autem. Aut incidunt quam nesciunt. Saepe ea quo ratione excepturi labore est.', 2, 6, 965515, NULL, '6cc5d64f763e82cd6da6cb2a80c433f4025182c0'),
('Atque occaecati alias aliquam numquam occaecati.', 'Quaerat dolore ut id mollitia nam rerum. Necessitatibus quae ea ex qui maxime ad similique sed. Veniam provident quam rerum dolorum consequuntur necessitatibus sed.', 3, 10, 5717616, NULL, '2ae9dec8ece61b6dc89a2ba5a0d16c0f04f643d7'),
('Aut ab hic dicta accusamus ab quis.', 'Amet sunt voluptatibus sunt. Cupiditate mollitia blanditiis iste quis.', 1, 97, 0, NULL, '0284053d70399a7535941b132843a01cfe8c4a85'),
('Aut ad possimus perspiciatis deserunt aut optio.', 'Reiciendis tenetur accusantium dignissimos qui. Voluptas at beatae vel velit qui. Iure non qui ab sed.', 1, 18, 36, NULL, '0bb950e9a4ff22451a547af0d9f6c78e7671a456'),
('Aut distinctio expedita itaque optio sequi cum.', 'Excepturi est illum dolore. Tenetur labore et unde aspernatur. Numquam odit ut pariatur aut aliquid.', 2, 48, 7366882, NULL, '717cd68439b48f025edbd893f4896a21af69479a'),
('Aut eius et eum voluptatibus laudantium.', 'Asperiores quae pariatur libero accusamus. Impedit vero est quis. Beatae est veritatis labore a minima. Voluptas dignissimos officiis possimus dolore dolorum porro at.', 2, 85, 0, NULL, '03df38ff47118a59d0bcf1b6881d4831939625ed'),
('Aut est quibusdam rerum et qui.', 'Sapiente et facere ad architecto veniam quo ratione. In ducimus tempore molestiae odit voluptas. Sit hic doloribus ullam voluptatem nostrum.', 3, 67, 99, NULL, '2418cb6d50be099ef2dde1285767f4550b125d9d'),
('Aut et et et ut sunt quo.', 'Officia qui in asperiores doloremque ipsa. Consectetur accusantium aut voluptatem est laboriosam corporis. Voluptates quam non in non.', 2, 41, 24866, NULL, '1d1d6866eff3f3952e539929e5c9a29ec7ad7cab'),
('Aut minima et quia repudiandae omnis numquam.', 'Cum rerum earum facere aut vel. Veniam vel aut aliquid. Dolorem enim consequuntur deleniti qui provident nihil.', 1, 6, 554, NULL, '90b08bc529ded9dc9bb70d3618604e83dc397263'),
('Aut nihil in officia beatae incidunt omnis.', 'Est molestias cumque eligendi odit nostrum dolores dolorem. Ad est alias vel natus rerum. Perspiciatis reiciendis illo et totam autem.', 2, 93, 30980, NULL, '72738a9ccd928dbc6ec9c3ed881651be32d98311'),
('Aut nisi aut expedita cum ullam architecto.', 'A corrupti perspiciatis quae voluptate aspernatur dolores. Aut corporis vel error suscipit error tempora amet. Doloremque error ea corrupti accusamus aliquid. Totam eum totam quo.', 1, 3, 79, NULL, '652612781d7e6d94570fd96f6d6222241852f972'),
('Aut non voluptatibus ut eum.', 'Aspernatur quis consequatur et corrupti non eligendi. Deleniti architecto neque corporis architecto vitae dolorem. Ipsa magni dolorum ut perferendis quod amet nulla. Maxime commodi at ratione sed. Est inventore officia voluptas necessitatibus molestias porro voluptate.', 1, 57, 3559, NULL, '06795fd28184bc1ee6bc8c36d0cbc351d3d1eaed'),
('Aut omnis qui et eligendi et.', 'Et quibusdam sint aliquam quia autem omnis. Ea minima qui vel qui consequatur soluta officiis sint. Fugiat omnis sequi mollitia quae.', 2, 50, 86455, NULL, '1f4b18e077ee1be6ba9d6fa3cf2c3ee259114d1c'),
('Aut reiciendis est suscipit sint quia incidunt reiciendis.', 'Quis enim eaque nemo. Eaque sit distinctio illo eaque eligendi. Nisi deserunt facere vero consequatur.', 3, 46, 213, NULL, '6de45c2773cc64089475c33daf0c44bba4b8805e'),
('Aut ut vel inventore temporibus similique maxime repellendus soluta.', 'Ullam occaecati non molestiae doloremque asperiores. Neque sit praesentium iste sapiente consectetur earum. Deserunt est animi quo non ab et velit.', 2, 55, 0, NULL, '5ca10a44c24e3634672c2a1b6e4224d1f5c5d9a8'),
('Aut velit quia et dolores dicta.', 'Aut aut fugit dicta ducimus rerum accusantium. Perspiciatis autem minima veniam saepe quis dolorem et eum. Cumque architecto voluptatem et aut minus sunt. Laborum natus velit et praesentium.', 3, 23, 73054872, NULL, '44e6ff888acdce211b37a81f57c177058fb915ae'),
('Autem aliquam accusantium nulla dolorem autem fugiat.', 'Aut numquam ab eos libero corrupti. Dignissimos et ut animi dolores deleniti. Reiciendis doloremque quis non.', 3, 68, 4998, NULL, '07874a2e88fcfa1dde0b2f9ecf1b384f86fdb806'),
('Autem aut necessitatibus fuga mollitia.', 'Explicabo blanditiis qui nisi est asperiores minus commodi eos. Qui necessitatibus soluta qui occaecati. Aliquid cum at illum quaerat.', 3, 89, 7130516, NULL, '9ce42f3b9370d1802db329f9c378770faff587b1'),
('Autem labore molestiae nisi et et est incidunt.', 'Est repellendus totam ea aut. Non dolores enim illo dolor. Sint inventore praesentium qui quaerat aperiam.', 3, 8, 647, NULL, '8051b1e1bbcbd63c4c52c4e034a96ffc0743e552'),
('Autem tempore totam quos alias rerum.', 'Vel nobis ad debitis quam quaerat excepturi consectetur. Est ipsam et earum et et enim.', 2, 64, 89, NULL, '0a69bff33d178efb83ee47c791f16b5455951c03'),
('Beatae qui porro nemo eos et.', 'Rem eos iusto nihil voluptatem cum laboriosam. Minus in exercitationem eos et. Consectetur occaecati ut accusamus molestiae magni. Et corrupti omnis voluptates.', 2, 11, 544786, NULL, '430f5cad24fb1d1a5d9cd12cec2cdfc1409a0e67'),
('Beatae quo ipsa molestiae amet veniam aut nisi inventore quisquam.', 'Qui velit rerum qui sint dicta tempore. Sequi ipsum non id ad. Debitis iure odit officia numquam provident id. Voluptates ullam nemo voluptas neque ex sint similique.', 1, 7, 0, NULL, '3f10eb9fd185c9ec98d7244013498d9d94ab0eeb'),
('Blanditiis dolore officia omnis quis consequatur autem rerum id maxime.', 'Unde aut eveniet sit qui commodi. At ipsa dicta a. Illum possimus minus provident facere et possimus atque.', 3, 40, 3428, NULL, '6e8d70c9d24e7f2f8ed4379792be8258f5fb5fcf'),
('Blanditiis ea cupiditate et quasi deserunt quas.', 'Nihil consequatur tenetur ut in repudiandae alias. Est ipsam voluptatibus est quis. Quia eveniet quo occaecati velit eius.', 3, 21, 15406, NULL, '038e11a2de5ac4d77b7e4ae410cecc5be58e619d'),
('Blanditiis sapiente et consequatur reiciendis.', 'Debitis voluptatem in aut vero dolores. Minima quod vel aut cumque voluptatum quia. Repellat earum ipsa voluptatem consequatur voluptas sit cumque vel. Autem tenetur sunt et provident.', 2, 68, 3346, NULL, '77467eced05cd135f4149fcc0173928475eb138c'),
('Blanditiis sequi corrupti inventore ipsam eum porro voluptate necessitatibus.', 'Placeat quidem quasi ratione et consectetur. Harum tempore ea ad adipisci occaecati est.', 3, 87, 745003979, NULL, '3cb4cbb8e36fac5ed07db305b85842bf27dee1a4'),
('Commodi voluptas voluptatem quasi voluptatem enim est culpa.', 'Aut eveniet assumenda voluptas quaerat velit. Quas et omnis voluptate quod deleniti sit. Nesciunt itaque omnis omnis sint ipsam enim. In amet id suscipit totam. Ea laboriosam illum accusantium est quia.', 2, 44, 1525276, NULL, '2213fbe4f532d63d10e06f4efdbcc79d38e0a4d2'),
('Consequatur dolor dolorum iure possimus.', 'Quis accusantium quo enim est numquam. Qui adipisci quis cupiditate officiis deserunt. Nulla sapiente mollitia deserunt omnis explicabo repellendus.', 3, 62, 9, NULL, '06c721ca7b6694f2e5ee7f9906d68ff08476604e'),
('Consequatur illum esse ut fugit animi odio.', 'Aut non error dignissimos architecto. Iure officia dolor laborum dolorum facere cupiditate.', 2, 26, 95625530, NULL, '8ab3e272531f2f3e633d5e40c47b24efe4140569'),
('Consequatur odio dolor numquam rem pariatur architecto ad possimus.', 'Quae omnis nihil quos eum voluptatem consequuntur. Cupiditate dolor fuga quia dolor consequatur voluptatibus. Animi ipsa aut nobis fugit dolorum. Eligendi dicta nulla dolores molestiae minima. Non aperiam omnis esse ut vel.', 2, 66, 71134343, NULL, '2430c3b1bdb4254b2cc2c38f7d28f4abe0508285'),
('Consequatur ut eligendi quia et delectus possimus beatae a sed.', 'Sed aliquam sequi nemo. Iure maxime possimus nihil excepturi. Placeat laborum tenetur dolor.', 2, 46, 11722164, NULL, '372354f1f4751d180532c2ebe4fff8fdaca93451'),
('Consequuntur architecto mollitia qui qui.', 'Necessitatibus reiciendis est ut eum nostrum aut. Qui facilis in hic nisi ut fuga. Sed enim cumque voluptas sed nemo nemo cumque. Tempora voluptate quia aliquid eveniet sequi sapiente possimus. Tempora est qui esse.', 1, 86, 5538, NULL, '88ed6eed24aa642303d39dc4fc8ce4b673f2fc3a'),
('Consequuntur sit eius dolores magni eos vitae.', 'Facere officiis soluta omnis excepturi doloribus molestiae aut. Quo laudantium culpa quidem modi dignissimos. Laudantium assumenda expedita magnam eius perspiciatis enim. Provident qui est est et at.', 1, 24, 8590, NULL, '3b1b58ca51007500c866aa43835fd915afc29509'),
('Corporis natus hic reprehenderit dolor totam.', 'Et eaque repellat hic facere. Omnis id minima suscipit. Quis molestiae maiores ut tenetur repellat debitis.', 1, 6, 4, NULL, '227c5d22af8fd6a3b4e28b3928d2db9038e6c0e6'),
('Corporis quia eum impedit tempore.', 'Eos labore molestias et enim natus aut eaque maxime. Labore officia neque placeat qui. In alias fugit ut ut iure.', 1, 25, 86478354, NULL, '3b8b0085cdcaa6f074c05a59e3ee674effcd968c'),
('Corrupti harum atque quia soluta ut.', 'Qui qui repellat architecto. Impedit suscipit in soluta commodi modi voluptas mollitia. Culpa eum reprehenderit cupiditate.', 3, 20, 618725984, NULL, '4c6cb65ca45aeb19952251e2327d557ebb3b1c00'),
('Corrupti minima omnis ut rem.', 'Ipsa numquam est quam saepe. Sunt voluptas sint voluptas et eos autem deleniti. Autem voluptatem est enim magnam id aut velit et. Dolorem aperiam eum voluptas quas.', 1, 60, 279683686, NULL, '275660b23e25c1906ffac50c73dda74ee18b6d18'),
('Culpa est ab non voluptatem.', 'Quo vitae dicta et. Enim eos nemo voluptatem cum non qui dolore. Natus deleniti laudantium itaque quis. Culpa magnam pariatur ut velit.', 1, 61, 206997273, NULL, '35de85346ab9a832e823d540eab01274ca684373'),
('Cum nam voluptatum aut eum sed eveniet.', 'Quae tenetur facilis dolorem nam. Excepturi eveniet et dolor quasi.', 1, 66, 365116, NULL, '491ce1a3681b5abf21df2c79b3cdeb037b83f74a'),
('Cum odit quae doloribus non.', 'Ut omnis doloribus repellat sit voluptatibus. Voluptatem vel aliquid ea error recusandae pariatur. Nam molestias error animi. Beatae amet nam debitis ut adipisci eligendi distinctio.', 1, 53, 187703595, NULL, '49cc0c0d3798eb5e8d5ed1598658f2ce30946007'),
('Cum repudiandae in reprehenderit molestias velit vel.', 'Cum aut quisquam facilis. Aut inventore dolor aut voluptates quisquam. Voluptatem esse occaecati unde omnis. Culpa enim cumque perferendis impedit dolorum voluptatem.', 3, 68, 8508355, NULL, '78b07cd7b40d74fa0709ae13efdb2ded015abc2a'),
('Cum sed omnis maiores reprehenderit blanditiis.', 'Nobis cum alias omnis fuga quo qui. Veritatis natus consectetur dolore voluptas ratione. Molestiae at vero et quae est adipisci mollitia. Quia corporis aliquam illo dolorem eos est repellat sapiente.', 2, 67, 765486, NULL, '6a1559610de1a4ffdf79ecfafc979c4e487eafc6'),
('Cupiditate sit non adipisci illum officia voluptatem quae.', 'Molestiae at exercitationem magnam consequatur voluptate. Libero perspiciatis possimus repellat tenetur dolorem. Recusandae aut nulla voluptas excepturi rerum.', 2, 93, 978762, NULL, '22bcab4149fba8a7bb12e5847e40b21add613987'),
('Cupiditate tempora laboriosam in ex ab animi aut deserunt non.', 'Sed et dolor consequuntur quibusdam et. Iusto quia ullam quae. Sequi et quisquam architecto molestias eum. Aut expedita praesentium tempora quia quidem.', 3, 39, 6683879, NULL, '23ea27103a963445e21ac6054842d23e750112c9'),
('Debitis incidunt beatae perspiciatis veritatis repellendus blanditiis dignissimos debitis.', 'Quia voluptatem accusantium aliquid quasi sed voluptatem. Maiores est cupiditate occaecati. Recusandae et nemo recusandae et vel fuga. Est qui dolores error dolorem autem.', 2, 36, 7, NULL, '8fcffcc0a986d830c4f16bbfb16cb6d19d02c0ab'),
('Debitis quidem sunt ex sunt.', 'Laboriosam earum quo eaque aut modi cumque. Repudiandae sed sed aliquam odit et quia. Tempore et sed velit.', 3, 2, 5, NULL, '83b168badc2f91c56e46532c4435f7e97076552a'),
('Delectus eligendi consequatur molestiae voluptas perspiciatis autem.', 'Omnis beatae deleniti similique. Omnis est dicta accusamus. Voluptas magni recusandae repellendus velit voluptatem quia. Recusandae illo sed aut quia voluptatem cupiditate.', 1, 10, 3670, NULL, '53560edd43e4a1c729861b83d1db41ab76d35550'),
('Delectus iure quia cum porro nihil quia et.', 'Consequatur ipsa minus nihil sed illo rerum eum. Eos occaecati error aut est reiciendis assumenda ut.', 3, 81, 77065, NULL, '3d0e68760fbe5776b9f2c943f3872f887fc7264b'),
('Delectus molestiae vel corporis totam quidem vitae provident dolores.', 'Quae et ad aspernatur et quis et nulla vel. Consequatur recusandae nostrum illo nulla fuga et. Nesciunt rerum et at qui facere nulla. Nulla nesciunt incidunt qui tenetur aut eos velit voluptatem.', 3, 14, 46, NULL, '498a5a0f61d960462c92409ff21dd39983779803'),
('Delectus repellendus dolor laborum sit fuga sed nobis ut exercitationem.', 'Expedita sit iusto sed. Voluptas odio alias impedit dignissimos. Aperiam et dolores numquam.', 2, 4, 8, NULL, '07378b5ccd3d4ccf607232679e7b798392fa100d'),
('Deleniti corporis omnis facere quibusdam quo inventore ut.', 'Quisquam aut corporis harum doloribus et totam. Corporis sed nulla aut voluptatem quia voluptatem. Deserunt libero sed magnam architecto asperiores pariatur.', 1, 65, 0, NULL, '821e94358c51bc0b9193222fa916a1d56289b963'),
('Deleniti nobis eum soluta qui placeat debitis.', 'Quo ipsam sit tenetur. Temporibus sint sint et dolor. Cupiditate illo nihil necessitatibus architecto.', 1, 32, 279379612, NULL, '60fd73a7504bee6084a182b27a600a8efc119e11'),
('Deleniti qui qui iure ratione.', 'Mollitia dolore quod temporibus. Velit molestiae ut sapiente accusantium expedita ut nihil. Eos dolorem voluptates nemo quasi temporibus sunt. Omnis voluptatem hic expedita amet molestias et esse voluptatem. Omnis esse accusamus eveniet.', 3, 94, 329407561, NULL, '766dbaa9f7468208197c42253a43052f13998192'),
('Deserunt dolor ipsa quod nemo fuga repellendus ipsa quibusdam.', 'Quidem hic porro sit sed mollitia architecto. Tempora eos voluptas necessitatibus velit delectus non. Cum vel quae ut nisi.', 3, 80, 913, NULL, '39aae4c21d359d40fee5f7e1ede236ee1aa59148'),
('Dicta doloremque quisquam provident sequi quis.', 'Et at commodi vel sit. Accusantium sed odit maxime. Officiis omnis et dolores. Vel at in repellendus cumque pariatur tempora.', 3, 25, 311378, NULL, '4d68274f914dfd6caf99e7950750c1431eef3d15'),
('Dignissimos temporibus accusamus nam qui vitae placeat.', 'Ad debitis est cupiditate quas consequatur omnis. Voluptates velit reiciendis iusto expedita quia. Temporibus et tenetur dolor suscipit vel. Quo fuga qui ipsa. Doloribus occaecati ea qui quo eaque quae explicabo.', 1, 55, 44008843, NULL, '38422ce141166ea9dae17b897790e7dccce0149e'),
('Distinctio sit et dicta explicabo quas corrupti.', 'Illo illum harum placeat exercitationem expedita quia quo quia. Rem quaerat et quia quos ipsum omnis culpa. Explicabo rem harum alias reprehenderit est nesciunt deserunt.', 2, 49, 2, NULL, '03bcf79ad3fc2bb204f9767cbd33a4612f818b0c'),
('Dolor at distinctio rem velit.', 'Inventore cupiditate asperiores tempore est. Dolores iusto dolores quis dolor. Sapiente aut ab minima expedita culpa consectetur. Non beatae nisi sit eum laboriosam tempora.', 3, 72, 74, NULL, '3b337eca552a1aa74778674db857bf345fbe128a'),
('Dolor ducimus sunt eius est in inventore animi culpa.', 'Sapiente ratione maxime qui consequatur et qui possimus modi. Est dicta aut quis libero ratione. Illo nisi placeat eveniet voluptatem enim.', 2, 4, 0, NULL, '09172ad0ed969225c42306139927d0dc3c83ee3a'),
('Dolor ea consequatur sunt fuga ut quo.', 'Laborum quis accusamus maxime quidem commodi consequatur. Molestiae et quia odit at. Ut itaque odio iste debitis distinctio ut facilis eveniet. Pariatur rerum totam minus voluptatum et.', 3, 63, 2398995, NULL, '5cb6425a61d9dc9c30c49fc984a4ed946d9b909d'),
('Dolor quaerat ea cum voluptatem delectus consequatur iusto.', 'Inventore magnam rerum delectus. Maxime sint nihil quibusdam beatae praesentium aut reprehenderit iusto. Corporis illum atque officiis consequatur. Ut sed totam totam accusamus ad.', 1, 3, 909, NULL, '993547505aab21ff484a0531e6282816289f3d44'),
('Dolore accusantium corrupti sed et sunt et.', 'Ducimus mollitia aperiam quis autem eum perspiciatis. Vel magni voluptas quis voluptatem omnis est architecto autem. Error eum quos et qui hic quaerat. Perferendis voluptatem placeat voluptatem alias.', 2, 43, 7722026, NULL, '53bbd1e5c7134303343cc9b165026fb0122e14cc'),
('Dolore nulla qui qui aut iste similique.', 'Quae odio accusamus quia doloremque. Vitae tempore est dolores blanditiis. Quaerat beatae consequatur enim sed.', 1, 59, 933, NULL, '1eda84ef76cb7ec2e9842ea98075c85593b35d2a'),
('Dolore quam iste dolor velit ipsam aut.', 'Dolores voluptatem odit soluta quo aliquam in qui. Omnis magni sit eaque ducimus voluptatibus eligendi. Debitis molestiae nam ab est ullam. Tempora illum deserunt beatae sunt assumenda sit quibusdam.', 2, 2, 91938165, NULL, '1f49dc52321f0c04119dde7d8de9ec5d71ad0d7d'),
('Dolore quo cumque est incidunt ipsa quas dolore voluptatum omnis.', 'Dignissimos architecto quo similique aut. Commodi quidem laboriosam et blanditiis doloribus. Architecto beatae omnis eum animi id debitis. Quaerat itaque dolorem sunt autem et tenetur neque cum.', 2, 78, 76084795, NULL, '13bd708bdf5d0a8fb4fe358cf7ba67bdcbbb3eeb'),
('Dolorem debitis explicabo consequuntur nemo aliquid voluptatem est.', 'Ut quia autem sunt eum. Tenetur odit inventore iste. Quaerat veritatis nihil odio perferendis. Eveniet temporibus recusandae sunt qui fugit beatae qui quia.', 3, 1, 8797013, NULL, '9755d383dbed704465af0b4dffae4ab545dfaa05'),
('Dolorem in velit porro maxime sit.', 'Nisi vel tempora distinctio accusantium praesentium. Optio atque eveniet voluptatem quo omnis ipsa soluta. Blanditiis a nemo ipsam quis pariatur vero occaecati. Magnam rerum nihil sit quia qui.', 1, 67, 590, NULL, '33463d0b7c0139ffa775ac400bcf1ed99e3534fc'),
('Dolorem repudiandae nam veniam sed similique qui quas.', 'Facilis ut culpa dolore cum aut et. Quisquam adipisci et labore ea. Et rerum est provident laborum aperiam est omnis.', 3, 77, 282597317, NULL, '3e321533d8e8db8b56db337c78614f146193a7c4'),
('Dolorem rerum temporibus recusandae consequuntur.', 'Ratione doloremque repellat iusto incidunt ducimus. Reiciendis eum ut qui quis sit.', 1, 21, 837127044, NULL, '3a38fc922bfd8df702fc2894d069d1dc6c9ac3bb'),
('Dolorem voluptas ipsa a tenetur omnis.', 'Non cum iste unde. Est quo sunt molestiae quia.', 3, 61, 93268, NULL, '32a702991da98391d509e0f3421b0a69a4b98a97'),
('Doloremque ipsam officia cum consequatur voluptatem.', 'Qui excepturi debitis et dolores dolorum aperiam. Velit cupiditate possimus et quaerat placeat tempore. Est quia quia magni dolorem qui et aut. Sed fugit porro fugit maiores.', 2, 42, 875, NULL, '28a735f79c857494576a5e529c3b5b267a700c10'),
('Doloremque nihil quia consequatur ratione non aspernatur quas.', 'Consequatur voluptatibus eligendi iure exercitationem. Quia commodi eveniet voluptatum sapiente. Quaerat qui sapiente libero animi eum rerum.', 1, 71, 2479, NULL, '252cceb6a838714ee60c9727bee4422a0580c2e1'),
('Doloremque odio ut eos minima ut nam.', 'Quia impedit est id quia est qui. Et ea perferendis dolor accusamus iste. Deleniti qui sunt explicabo illum dolorem.', 3, 49, 827850, NULL, '9443604dd3ce901d910bec0ed4ad48fd1dd19535'),
('Dolores consequatur asperiores sit et ipsam voluptatem.', 'Et autem rem corrupti ipsam. Aliquid nam sit ipsum repellendus. Sunt corrupti architecto dolorum ut. Neque sint amet sunt et.', 3, 38, 12, NULL, '89cdfeca970a72e9a3819b76b0d0c2cc12ab54af'),
('Dolores totam quisquam consequuntur vitae.', 'Facere atque dignissimos est atque. Ducimus at ut eum beatae. Minima voluptas ut veniam ea.', 1, 9, 605823, NULL, '9f758c5eaf51814ab70a44259622709be76b21eb'),
('Doloribus dicta praesentium voluptatem odio.', 'Unde excepturi voluptatem sunt et pariatur voluptates. Et labore explicabo exercitationem natus iure quis.', 3, 19, 76417779, NULL, '48c2657c96bd839a70b910babae73362e18d2fa4'),
('Dolorum asperiores temporibus quia similique.', 'Sequi quo perspiciatis enim pariatur. Fugit laudantium esse assumenda reprehenderit quia. Distinctio commodi qui nulla repellendus saepe et.', 3, 47, 0, NULL, '747854a564769660f5106cbcf3ad7ccb52cd213a'),
('Dolorum esse earum blanditiis et odio sed eum.', 'Qui voluptates voluptates consequuntur eius ea. Nobis provident suscipit ipsa aut inventore. Alias nemo voluptas ut et expedita. Dolor sit eaque in ut aut.', 2, 87, 0, NULL, '970118d685233fb1c50b8d0aa5d807c13bf81e45'),
('Dolorum nisi tempora rerum est quia illum nostrum sunt.', 'Iste molestiae facere ut et voluptatum magni. Minus voluptate et nisi minima facilis incidunt commodi voluptas. Fugit in nemo voluptatem autem accusantium.', 1, 26, 9119034, NULL, '239983e195b485d8843d489729bfff84cb3e03c7'),
('Ducimus et ut voluptatem ex autem.', 'Nemo quis doloribus accusamus ipsum ut omnis totam tempora. Natus consequuntur itaque deserunt nemo. Earum cumque odit aut aperiam. Fuga commodi laborum aliquid quae eveniet ut et.', 1, 42, 823, NULL, '041172b580972ba63ae00483acaa4ac92112408c'),
('Ea a perspiciatis sed consequatur.', 'Est culpa aspernatur officia autem incidunt non qui. Nemo ea occaecati est odit.', 1, 91, 299, NULL, '971aa3447c06998d6c1842941acb4e2da47aac78'),
('Ea dolor sint tempora praesentium.', 'Blanditiis explicabo quia qui. Vitae deserunt velit vel ipsum esse ratione assumenda est. Quam error voluptatem sed. Voluptas voluptates rerum saepe nostrum et eum neque. Voluptates nulla voluptatem saepe beatae rerum voluptas sunt.', 3, 72, 3, NULL, '423ecd7d1500ee5202d81d008a10f44a95f96cdb'),
('Ea qui consequuntur aliquam quod rerum similique non perferendis.', 'Praesentium ut ut et iure ut aperiam error. Consequatur laborum et beatae sed quam et ea.', 2, 96, 46495, NULL, '29725e3735af43ed32180316d77ef2608345916e'),
('Eaque consequuntur libero necessitatibus enim possimus quis.', 'Laudantium quia et qui inventore aut repellendus. Quos maxime distinctio aut incidunt quis. Itaque ullam ut voluptas laudantium sint facere.', 2, 73, 0, NULL, '2c365494d9cd7caf5f8a076008208690a4e2174c'),
('Eaque rerum aperiam est blanditiis reprehenderit.', 'Beatae sit deserunt quis quos fugit non. Ratione vitae sunt magni in earum.', 3, 55, 601993, NULL, '4ac5e1113a9277931b44ffafc9fdf79eca092681'),
('Earum voluptatem eum atque sed et reprehenderit molestias odit.', 'Qui est culpa incidunt ipsam et. Dolore voluptates ea nam quo exercitationem quod. Odit corporis placeat sunt quia.', 2, 56, 0, NULL, '75c0e78ec8881a34741639d3e88574d5537cb094'),
('Eius quia illum ipsa occaecati quaerat quia sit.', 'Qui et expedita qui sint mollitia non. Ab accusantium optio distinctio sequi veritatis aut molestiae.', 2, 72, 456058, NULL, '2cc08911618d16e2b8b4350c53da4f4f68a9e6ac'),
('Eius rerum eos consequuntur est eos quasi.', 'Maxime voluptas inventore quis. Ratione voluptas cumque ipsam. Maxime facilis sequi in quisquam qui laborum. Est quidem saepe nihil quos error corrupti amet.', 3, 51, 7173104, NULL, '1f4f5c41096104cd7d147be8399bdc3baa842178'),
('Eligendi cumque consequatur sint quasi facilis tenetur ullam quia.', 'Similique ut aut eius quis. Tempora aut mollitia corrupti ipsa porro optio. At sit ea optio voluptas. Fugiat omnis distinctio quae perspiciatis minima.', 1, 72, 9642629, NULL, '724396c6c79db58641212593745ce04d6260f80d'),
('Enim sed eaque rem accusamus pariatur et natus.', 'Consequatur sit voluptas voluptatem cupiditate eius commodi eius. Velit illo id in illum consequuntur. Molestiae exercitationem in vel quae voluptas voluptas.', 1, 4, 63269420, NULL, '7c0653bc1a404d574c9decac3e6a396a0d501ff2'),
('Enim voluptatem laboriosam ea dolor.', 'Dolores in tenetur voluptas. Optio et possimus neque deserunt.', 1, 70, 5153, NULL, '21f8c18fa56b7387449a5d8d96a077a7b8ab892b'),
('Eos dolorem nam omnis commodi perspiciatis fugiat odit aperiam quibusdam.', 'Ut facere vitae dignissimos beatae facere. Assumenda quibusdam atque repellendus. Rerum dolor maxime vero nobis.', 2, 67, 7, NULL, '61c07fcd69b88e54e782b9f5b85e503468a79caa'),
('Eos pariatur quas modi suscipit magni et veritatis.', 'Omnis et consequatur soluta numquam inventore. Ducimus dicta rerum eos voluptatem recusandae iusto. Cum voluptatum aut illum aut nesciunt.', 2, 32, 7028179, NULL, '1bbe043b0ac5addac5b051c905e2eeb9b9c909ac'),
('Error dignissimos ducimus consectetur hic possimus in voluptas aut tenetur.', 'Doloribus alias nesciunt repudiandae. Consequatur in ea sint doloremque. Saepe sed a ducimus voluptatem aliquam commodi dolor.', 3, 48, 0, NULL, '1158f004c329cab3733610f3ef7ccb783de03528'),
('Est adipisci molestiae qui ipsa eveniet reprehenderit repellendus eaque optio.', 'Est id deserunt autem mollitia cum corporis. Illo tempore enim deserunt dolor velit debitis doloribus. Sint placeat eius laboriosam illo aliquam in.', 3, 37, 0, NULL, '2733881dbf99b3250bd566d2f6dbd1c85395ad2a'),
('Est aut sed ad ad molestiae fugit ut impedit.', 'Nesciunt eligendi perferendis omnis quia illo. Debitis et consequatur quo excepturi nam sint. Rem saepe voluptate tempora dolores. Autem nostrum aut corporis quos.', 2, 93, 41764, NULL, '41e5c945f9a13484c5d1742e9f479acf6f088d76'),
('Est consequatur necessitatibus corporis sequi.', 'Enim aspernatur corrupti doloribus iure velit dolores eos. Id ad ea ut et voluptatem quia. Nostrum fuga et modi voluptas.', 3, 7, 776, NULL, '40700c4b1851f0206f52ca2dbf00071cdf730fb3'),
('Est culpa ex quae est ducimus et labore aut.', 'Assumenda ab quibusdam officia numquam est expedita vel. Ratione et incidunt vero illum voluptas voluptates. Deserunt sunt libero cum voluptas ea laborum dolor.', 3, 59, 374322, NULL, '8efb40267cef06c72891fc0ffec60b1d624888e5'),
('Est deleniti numquam praesentium quo quisquam.', 'Nihil perspiciatis eos voluptatem qui saepe. Aperiam magni soluta perspiciatis expedita suscipit eligendi praesentium. Excepturi iusto ipsa a perspiciatis error optio.', 3, 53, 2395526, NULL, '4d166d220d48858058a7a55c3046cb6d87cf3070'),
('Est dolor molestiae eum totam.', 'At suscipit facilis occaecati occaecati dolores error omnis. Vitae quis tempora et blanditiis facilis saepe aut provident. Maxime voluptas optio illum qui dolorum nihil rerum. Nulla consectetur aperiam quas vel.', 3, 10, 44, NULL, '0cef595ab49b7a8274953a337ed5dd406b59fe88'),
('Est et ad sit aliquam at.', 'Quia rerum amet quia maxime esse temporibus. Reiciendis provident perspiciatis est dolores reiciendis delectus et. In est deleniti corrupti ut explicabo eveniet magni. Ut cum et dicta neque aspernatur.', 1, 57, 5407600, NULL, '2dd9dc69dad425de257e1bf7841b2c93bc5d9ec1'),
('Est suscipit rerum similique beatae molestias.', 'Deleniti itaque eaque libero distinctio. Nisi eligendi consequatur unde nam vel laudantium necessitatibus. Et debitis ipsa et consequuntur reprehenderit aliquid.', 3, 37, 4657109, NULL, '108a421425026cdae7241331382577da8feca836'),
('Est voluptatem natus aspernatur nihil dicta velit.', 'Sed eveniet autem praesentium dicta nostrum quidem. Non delectus est temporibus consequuntur aliquam. Atque reprehenderit nulla est nisi. Ipsam aliquam reprehenderit aliquid laborum ut dolore incidunt.', 3, 28, 79731841, NULL, '6d919725bdcf737c7b12fe02df9e9e41b6e114e1'),
('Est voluptates qui ab distinctio a earum.', 'Rerum sequi ut id ea voluptatem. Animi tempora quia voluptates hic. Saepe aut cum architecto vel qui.', 2, 59, 511202576, NULL, '41878996588c31632dfcaa54079a83a29a4daa25'),
('Et aut ex aliquid accusantium.', 'Natus perferendis et aspernatur tempore. Repellat doloribus fuga maiores provident laboriosam. Dolorum sequi tempore quia quia. Eum esse praesentium accusantium.', 2, 65, 93937670, NULL, '7547eb44fada4f2e2ed5747a6692389423abd8bc'),
('Et autem esse dicta aut nobis ipsa impedit.', 'Non maxime vel autem deleniti quas accusamus. Consectetur officia unde veritatis voluptatem. Voluptatibus molestiae alias aut qui ratione ut. Quibusdam consequuntur reprehenderit id dolorem distinctio animi.', 1, 96, 615344726, NULL, '33034b1812ed42acfa9449f61201d7ee6286c69b'),
('Et cupiditate natus consequatur sed voluptatem voluptates quia.', 'Et quidem consequuntur voluptatibus ex fugit. Ut quis tempora amet fugiat voluptas. Assumenda est ex deleniti consequatur unde repudiandae id. Et dolorem nulla eveniet omnis labore ex.', 1, 24, 155, NULL, '96d26729f4f7b7ca33bde09b9a98ed420eb35f8e'),
('Et deleniti aliquid numquam quia.', 'Hic nihil reprehenderit voluptatem a eligendi. Aspernatur similique incidunt esse harum. Adipisci et quidem voluptatem autem autem. Odio excepturi illo accusamus cum consequatur neque voluptatibus.', 2, 60, 5998883, NULL, '52cf063daf1ce867c1ed86f9195d4435a9a7422d'),
('Et est in accusamus harum aliquam beatae.', 'Veritatis voluptatum similique aspernatur ea deserunt atque voluptas. Quia harum inventore distinctio cumque. Consequuntur sequi ut earum nam doloremque est quo est. Facilis delectus distinctio ipsam dolorum.', 1, 59, 290015, NULL, '0baed39848db0093170af29314ba06e7f4aee920'),
('Et illo eaque optio fugit aliquid exercitationem velit.', 'Vel nesciunt vel sed. Illum quisquam in molestiae neque occaecati. Officia officia omnis at voluptatem voluptas voluptas. Officiis consequatur dolores deleniti autem.', 1, 19, 78946108, NULL, '497f9b69ea96031daec8b348b7d46966b0c3f2f4'),
('Et numquam est aut deserunt ipsam illum dignissimos sunt.', 'Aliquid necessitatibus consequatur earum itaque veritatis maiores placeat. Consequatur est nemo soluta hic et. Ea aut vitae nemo asperiores quo. Voluptatibus mollitia rem blanditiis alias impedit mollitia.', 2, 7, 0, NULL, '7e56daccb5782ac6a42425229c0d95ddb8c00e14'),
('Et placeat autem beatae ea voluptatum in.', 'Est ut voluptatem incidunt nesciunt quia sed sed ut. Sed perspiciatis velit natus ratione quia qui. Quasi sed nihil delectus corrupti qui temporibus quia rerum. Quaerat debitis aut et optio harum ratione.', 1, 6, 69260167, NULL, '5c53e2964c28e9740d286bb15cf0165947350b4b'),
('Et quis unde expedita eos aliquid qui sed.', 'Architecto iusto et labore impedit amet ex. Esse error et exercitationem ducimus laudantium. Error sed facere maiores repellat.', 2, 59, 66807, NULL, '8630d7f32acc360117f9b433b45c0b887db616a2'),
('Et repellat sunt eveniet facere expedita et eligendi cupiditate.', 'Facilis ab qui sed qui tempore. Voluptate voluptatum veritatis et voluptatem rerum architecto inventore. Non aut accusamus porro est explicabo quam fugiat. Dolore unde omnis esse exercitationem reprehenderit.', 3, 97, 70657, NULL, '050796b89d62a7f4119db0456ca2c6309448041e'),
('Et sapiente possimus nihil quae blanditiis quas nobis.', 'Iusto incidunt sed mollitia nam accusamus dolor. Et nobis qui aut pariatur reiciendis autem expedita. Placeat unde accusamus id libero. Omnis qui sunt sapiente inventore.', 2, 84, 30861, NULL, '48287e2ab52cf5660040070c9d7e20a667e6d200'),
('Et voluptate aut cumque aspernatur nam ducimus excepturi ut sapiente.', 'Voluptatem qui vitae aut natus reiciendis et. Optio nostrum voluptas cum sed quia esse. Laudantium tempore accusamus optio quae suscipit aspernatur aut. Numquam architecto dolorem voluptatum porro accusamus aperiam.', 3, 15, 23, NULL, '0d9eccee0c19b7578fe601394274ff2b5032c7e0'),
('Eum consequatur repellendus cupiditate itaque.', 'Quas quo voluptatibus et qui numquam illum quasi hic. Perferendis et odio culpa doloribus aut qui laboriosam. Dolores quas non unde maxime omnis fugiat atque. Cupiditate earum delectus nisi nulla velit laboriosam cum et.', 1, 89, 7489, NULL, '7ea04394587e6f21e3e5069a858465dd20f796db'),
('Eum dolorum inventore distinctio rerum provident.', 'Illo ut omnis aut necessitatibus dignissimos inventore impedit. Doloribus nisi officiis repudiandae itaque.', 1, 49, 0, NULL, '93c96136c645395e5b07b0045cd0d6e0e4e0d34d'),
('Eum enim perferendis tenetur sint officia enim aliquid ad.', 'Tempora quod ut unde quisquam ab voluptate exercitationem. Eaque harum accusamus ad qui exercitationem assumenda. Commodi a fugit iusto maxime. Minima aliquid vero dolores quia corrupti.', 2, 9, 42154, NULL, '34d130b2da949f5c134bad669e774f12c56468e3'),
('Eum similique ab pariatur iste reiciendis aut et ut aut.', 'Enim placeat sapiente perspiciatis porro ut. Quaerat dicta dolorum corrupti sed reprehenderit.', 2, 45, 0, NULL, '64c82b4df0f106a6f55d3bef761df2fff3ed8a52'),
('Eum similique natus tenetur itaque omnis eos perferendis consectetur facere.', 'Repudiandae labore et accusamus voluptas est sequi adipisci. Cupiditate sit nemo aut quia nam. Ipsam doloremque iusto occaecati laborum aperiam placeat minus enim. Sit illum aliquam ut ipsam facere officia facere.', 1, 51, 393769, NULL, '207629d82a46a525cae04dca518ad12fe7ea1644'),
('Eum sit et reprehenderit culpa consectetur voluptatibus qui.', 'Et expedita laborum est iure. Assumenda quis hic consequatur qui. Nam id necessitatibus ut quo.', 1, 34, 2, NULL, '26c72db916ec48642ac3cb1de1ad85a7ca2399cc'),
('Eum soluta eius accusantium ut non consequuntur architecto perferendis.', 'Laudantium in ad corporis velit voluptatem. Molestiae aut pariatur non. Nihil quos explicabo rerum magnam quia cupiditate quasi. Qui maxime et atque mollitia enim.', 3, 14, 7, NULL, '74dd9aa76c51184e1c6f79bf57801f898f6dc1e4'),
('Ex itaque non sed aliquam non ut sit consequatur rerum.', 'Doloremque iusto dolorem quia aut eaque ut. Id quia est id est. Facere minima rerum quo tempora nemo atque excepturi.', 3, 28, 0, NULL, '86adebd3859fa4a3923dbc02a0714fb5cc4dc365'),
('Ex sint quo facere officiis saepe quia omnis quidem itaque.', 'Quam nesciunt nihil perferendis velit id id debitis incidunt. Ut voluptatem deserunt iusto magni labore ut voluptas. Veniam hic voluptatum placeat doloremque.', 1, 88, 6, NULL, '38e077812229066c0bebf95f8446b37033a7e176'),
('Excepturi sapiente at sit aperiam deleniti.', 'Rerum est ea voluptatum. Et necessitatibus ducimus qui doloremque quia. Id id sequi amet voluptatibus perferendis quam quia. Quisquam magnam ratione ut in.', 3, 100, 30798786, NULL, '38dd954885ca29debd327993ddb0782d06ecf331'),
('Excepturi velit omnis fugiat aut est illo sed.', 'Rerum rerum assumenda esse voluptate. Voluptatibus omnis non rerum. Eveniet consequatur voluptatem ullam ut explicabo eius.', 3, 46, 0, NULL, '036599f6ef3e0cffab96bb1dcad149ea8fc365a3'),
('Exercitationem facere animi magni praesentium tenetur aut voluptatibus.', 'Cum voluptate ex illo ex est optio labore at. Voluptatem quis nemo voluptate ad totam itaque. Quam facilis esse necessitatibus quia voluptatem. Sunt id sit ducimus quibusdam et et.', 1, 68, 0, NULL, '9cfae3497837c70c9c19cb5af73087a0a83c8ba1'),
('Exercitationem libero dolor temporibus fugit minima earum autem.', 'Dolores eveniet sit beatae doloribus aut asperiores. Qui commodi ut eum maiores. Alias ut amet quisquam cum accusantium. Nam exercitationem sed eligendi ea quasi dolor.', 1, 31, 890, NULL, '9bbafe1c5bdecee032c051fbf0af216c43e56813'),
('Exercitationem voluptas hic fuga architecto voluptatum.', 'Incidunt cupiditate magnam dolor nostrum vitae earum assumenda dolor. Consequuntur quaerat tempore eum. Est et est dolor perferendis fugit dolores impedit. Est suscipit sequi ducimus sint et in.', 1, 58, 812, NULL, '866e7d9c578ca63b355d1ffe542b4226f2e01d70'),
('Facere repellat quae voluptas praesentium.', 'Culpa minus blanditiis eum amet nesciunt. Dolores sint cupiditate eos inventore nihil voluptatem mollitia. Hic aut nulla enim reprehenderit.', 1, 24, 3, NULL, '910cd8f2789f42736bf61be3eedcaabd3fcef318'),
('Facere repudiandae ut eaque eos praesentium qui maxime quibusdam quis.', 'Rem maiores quibusdam tenetur corporis impedit est. Esse et quam aut sed aut. Nulla recusandae quo quia ut impedit eaque voluptas ex. Nam praesentium nesciunt tenetur quas corrupti illum.', 1, 29, 71974605, NULL, '5ef629ede85003385b497ef2f866c811004f437d'),
('Facilis laboriosam et facilis magni.', 'Soluta sequi dignissimos a consequatur laudantium eos. Cum dolorem eum voluptatem eveniet alias quia. Officiis minima veritatis porro illo animi dolorum. Nulla temporibus eveniet laudantium maxime in deserunt.', 3, 16, 9184490, NULL, '8494207f47f93679cff1866839136aa0de17380b'),
('Facilis quia aliquam dignissimos commodi praesentium et cupiditate.', 'Nulla adipisci provident non minus est sunt. Fugiat nemo omnis inventore quis quam molestias temporibus. Deserunt expedita reprehenderit cum est odio nesciunt labore. Debitis sed distinctio blanditiis.', 1, 40, 16564, NULL, '098e4b88fb692b7e4ee72e6c11b68b6713fe5bb3'),
('Facilis rerum iusto consectetur illum et harum et adipisci.', 'Est voluptate et nostrum voluptatem temporibus aut quia. Sunt rerum delectus non molestiae unde. Itaque sed ipsam maxime voluptate.', 1, 71, 897289, NULL, '3b48749539fc9183699abb2baaec06cb3866299a'),
('Facilis veniam magnam ut repellendus totam laboriosam.', 'Aut est est sapiente ut modi labore fugit. Ea sequi reiciendis qui animi quibusdam pariatur. Minima ex magnam id optio aut. Dolore qui ipsum consequatur iure. Incidunt aliquid corporis quos beatae inventore.', 1, 8, 79639, NULL, '9d58fdd00a8711612f573c399f3ceb8281ea1cfb'),
('Fuga ut non perspiciatis hic recusandae ut quis repellendus et.', 'Aliquam distinctio provident debitis aut facilis est aliquid id. Ea ad debitis qui saepe saepe. Repellat eum ut reiciendis. Est possimus quaerat nisi illo.', 3, 93, 746, NULL, '61a5af72e58ffa9f9db2c036aca7808e94ba8fb7'),
('Fuga ut quis rerum dolor tempora sequi occaecati.', 'Temporibus explicabo et consectetur consequatur nostrum at. Itaque totam omnis saepe totam. Sed optio esse dolor perferendis quia totam.', 1, 37, 815, NULL, '4e8b82805f4d17f96e8caaf650e42dd16a79f095'),
('Fugiat velit atque dolor aliquid dicta.', 'Et illo fugiat aut et quod assumenda vero. Modi cumque eaque et corporis rerum iste dolor non.', 2, 92, 1584103, NULL, '322f9982e3e7c6031b9b2a720d5577f71841ecc4'),
('Fugit consequatur totam sunt similique sunt occaecati et error.', 'Et laborum ut qui assumenda sed non harum. Eum earum nemo saepe veritatis reprehenderit perspiciatis molestias. Occaecati voluptas sint quos vel voluptas. Velit rerum fuga dolor provident quisquam.', 3, 70, 129414815, NULL, '6a2c791d6c3dc82698c9bc66b2b4f744567a748b'),
('Fugit doloremque et blanditiis et doloribus atque asperiores.', 'Incidunt aut doloremque quia ut magnam minima. Ea qui est eum esse. Labore eum harum et in optio magnam. Voluptatibus sunt saepe dolor eos qui aliquam. Natus vel debitis nam et totam.', 3, 48, 7643895, NULL, '3a675f31fa22dacd74f1e5eca07135270c5d81b3'),
('Fugit nulla numquam officiis recusandae et ad non.', 'Omnis voluptatum exercitationem quia. Sed illo quibusdam cupiditate qui maxime quis. Iusto qui assumenda voluptates cum.', 3, 51, 6, NULL, '3e5a63777df72201956aa6c10b99a7c41d27130c'),
('Harum molestiae deleniti sunt voluptate corrupti quidem harum officia ut.', 'Rerum corporis voluptatem dicta quod sapiente. Nisi repudiandae perferendis inventore voluptas laudantium natus doloribus. Rerum laboriosam non expedita tenetur labore.', 2, 42, 412426422, NULL, '1424d133a427a53654f168727874893332f98d93'),
('Illo nobis voluptatum sit ducimus aliquam in ex.', 'Sit consequatur et consequatur non aut. Laudantium et minima fugit vitae.', 3, 2, 9521695, NULL, '5505e6c48b68d262f7ad1c275ddae3ec0f276356'),
('Illum hic vero magnam nostrum qui.', 'Et ut fuga rerum repellat non. Rem praesentium est labore maiores. Voluptas nemo iusto assumenda exercitationem qui quasi qui et.', 3, 19, 0, NULL, '27e879e07e328801b8963227a068b2465ee8a208'),
('Illum quisquam asperiores optio pariatur dolores praesentium.', 'Placeat et dolores id aspernatur autem nisi odio. Quaerat recusandae impedit reprehenderit rerum quisquam voluptatem consectetur. Nobis itaque est numquam molestias cupiditate voluptas. Recusandae cum quia dolore ratione quis earum aspernatur.', 3, 75, 392, NULL, '342d94be39679b55fa6cd04fead8fffeaa0424c5'),
('Impedit quidem eos quibusdam enim ipsa eligendi explicabo.', 'Sit ratione illum natus. Iste fugit explicabo numquam suscipit nihil. Nam qui dignissimos voluptatibus aut.', 3, 30, 2958659, NULL, '8ebbd70e2ea53a11393962fa8fd28473745af796'),
('Impedit ut sint sed a officia alias nihil iure aut.', 'Recusandae dolorem praesentium at quasi quis aperiam minima. Aliquam nam nostrum qui quia. Ut quis reiciendis non iusto quisquam. Dicta nemo quo rerum ut unde.', 2, 93, 0, NULL, '0cd8fb4d5ce1e87e7b839a8b06ecaf645af08df0'),
('In ducimus ipsa voluptatum distinctio in.', 'Cumque qui quia voluptatem voluptates eos quos. Consequatur rerum sit minima aliquid natus accusamus nihil. Delectus animi nesciunt omnis neque quod.', 2, 69, 9987712, NULL, '10132ca92562db243453b9e18606b300d1754567'),
('Incidunt necessitatibus qui quo doloribus dignissimos soluta ab voluptas soluta.', 'Aut tenetur atque occaecati eos ratione. Voluptatibus quae laborum sunt. Quibusdam ad accusantium aliquam consequatur iure. Necessitatibus deserunt saepe vero ex minima optio.', 1, 61, 366, NULL, '51b45581bfece736dac2ba6cdf49750327f6fd67'),
('Incidunt nisi corporis ducimus quam cum sit occaecati ut.', 'Perspiciatis repellendus tempora est animi enim ut tempore. Magni quae nihil deserunt eos.', 2, 92, 91, NULL, '0191fd1757acb3c3f087fe9c93d7c359f212e6a9'),
('Incidunt voluptates repellat voluptas deserunt voluptate quia quo dignissimos nostrum.', 'Qui et sit eius quo ratione aperiam. Aspernatur laudantium perspiciatis sunt id necessitatibus deleniti. Esse natus facere qui et asperiores aliquam. Nobis optio suscipit repellendus omnis. Veniam ratione corrupti delectus explicabo quia inventore qui.', 2, 47, 48375094, NULL, '23b8ece021ed749465cacd51908c46764b686d96'),
('Inventore sit quae ducimus ex ex dicta quod consectetur.', 'Unde rem vitae quos sit hic doloremque beatae. Architecto est ex est alias sed. Delectus nulla ut nam error veniam quas id. Quaerat ut nemo ut ut.', 1, 4, 26156682, NULL, '733616f895915b8985ed54292fde0e54d1b4dbe3'),
('Ipsa deserunt et repudiandae esse nam pariatur.', 'Quia modi voluptatem dolorem in aut quia quos et. Qui sit iusto ipsa explicabo voluptas quis suscipit. Magnam sit deserunt quis id in. Rerum nesciunt et id quibusdam dolorem.', 2, 82, 56934637, NULL, '56a46b7a4beae957c860eb0a10472b63c00190fb'),
('Ipsa vero nam cum tenetur sint rem.', 'Inventore voluptatibus sint aut ab omnis eos et. Reiciendis minima quis voluptatum iusto aut debitis. Possimus est sed corrupti nobis in enim autem. A commodi quo qui eum consequatur eum.', 2, 74, 53, NULL, '763e34123a796cf6e37a95ff38ea09f4641f16eb'),
('Ipsam enim illo quod et consequatur hic molestiae.', 'Mollitia consequatur autem cumque occaecati. Nobis veritatis excepturi rem non. Harum esse praesentium voluptatibus eveniet. Facere rerum nobis est dolor esse nobis.', 3, 90, 4991536, NULL, '5bd459d1ea20206d04e6f4240c6169e5abf32d28'),
('Ipsam maxime quos est non animi nemo pariatur.', 'Animi numquam qui vel recusandae esse qui. Quasi saepe suscipit laborum est rerum est. Voluptatem harum autem recusandae sequi vitae nulla tempore fuga.', 3, 80, 9073, NULL, '72be69cc7cf1ff3b0806f548907e3d808245ed24'),
('Ipsum facere soluta non dicta iure a autem eum.', 'Aut quia corrupti odit necessitatibus impedit. Rerum rerum rem distinctio aut voluptatibus. Maiores similique consequatur quibusdam cumque. Temporibus voluptate a modi quidem consequuntur dolores.', 2, 26, 839899, NULL, '36e4c68b38c7fe7bd2d8698e3429364ba7592b46'),
('Iste id voluptatem qui sed consectetur aspernatur.', 'Quasi unde commodi rerum id accusantium et. Iste id tenetur est earum ut vel. Sapiente perspiciatis et voluptas quaerat est nulla.', 3, 99, 366, NULL, '407dd80ccdb85f584dca46621e2b0533f5f3d9b7'),
('Iste minus sapiente in consequatur quasi.', 'Nihil distinctio vero accusantium. Ea voluptas ullam consequuntur praesentium sit. Tenetur molestias voluptas vel.', 1, 96, 5, NULL, '80fb34d5b7adaa289c16ca90e65fba4ee3b0f327'),
('Iste nostrum ut sequi nam sequi.', 'Quae non repellendus sed repellat voluptatum. Veritatis qui perspiciatis autem sit harum. Corrupti dolorem et deserunt. Perferendis odio commodi quis eum est incidunt.', 1, 36, 48689, NULL, '071da3a126dfb27d891db97d0612ad095062f600'),
('Iste pariatur eos perferendis voluptas et.', 'Voluptatem explicabo earum corporis molestiae eos. Et cum reiciendis omnis dolores. Rerum ut ea et ipsa et.', 1, 13, 184684285, NULL, '8a29c958b80aab9963e183a4baf5555d3bc9a6bf'),
('Iste voluptates est voluptates in aperiam voluptatem fugiat culpa.', 'Accusantium omnis ut est et ea quo velit placeat. Saepe voluptate voluptas ipsam hic non natus esse. Doloribus nihil velit nobis est ipsum similique qui.', 2, 55, 257, NULL, '7979116ba1594ae745078c545faa32ae1a5f9718'),
('Iure est perferendis temporibus totam iusto repellat blanditiis qui.', 'Qui esse quaerat et laborum molestiae quisquam ut. Rerum est est quis ea itaque. Ab ratione vitae iusto.', 3, 64, 17, NULL, '10d377b8ba6ce7f517cb99abefdeb5bb8b4e9311'),
('Iusto dolorem hic similique et sequi blanditiis.', 'Aut voluptatem qui sed quia rerum nisi. Perferendis eos molestias repellendus repellat. Quia quia molestiae repellendus unde tenetur facilis. Quia sed fugit aspernatur sit inventore repellendus et totam. Autem sit minus molestias ad.', 2, 38, 45, NULL, '1c752dfa931928ab84f015bc21fd1911695fe359'),
('Iusto inventore in est et laudantium.', 'Est ut eveniet voluptatem. Accusamus neque ab aut voluptatem quisquam et veniam. Dolor eum maiores velit sunt.', 2, 66, 7, NULL, '5c7028fb1ec416d537dd7d292deba108afcaa98d'),
('Iusto officiis quia qui quae.', 'Omnis ducimus quos hic provident nihil. Quisquam illum dicta a fuga ullam ut. Nihil optio laborum adipisci eligendi nostrum dolores.', 1, 77, 0, NULL, '8b1099f92cab459853520c3d9e9c37de41429fbc'),
('Iusto velit minus ipsam libero ad provident iusto inventore tempore.', 'Fugiat vero aut delectus itaque ratione impedit. Corporis impedit magnam molestiae nisi. Qui veritatis beatae officiis explicabo. Non autem nisi qui dolor adipisci corrupti. Sunt doloremque quia unde eveniet.', 3, 1, 391408058, NULL, '9df6b2816c90a9281d0f5ba50302fc06ebe18617'),
('Labore aut enim consequatur ducimus voluptas.', 'Nihil voluptas nesciunt ut quis aut tempore atque. Blanditiis similique voluptas incidunt soluta. Facere non cum animi reprehenderit in nulla dolorem.', 1, 51, 61052343, NULL, '2655881b55621b33fdd1d5f0e81e60bf91b56eba'),
('Labore iste eaque error in quidem nostrum quidem.', 'Repellat quo et asperiores. Alias id quaerat ipsa id et qui. Consequatur magnam id ab tenetur sunt vitae eos explicabo. Quasi debitis eos in ut.', 3, 69, 286880855, NULL, '9c4985cc36d3d7810fa1fa8b639af11760097041'),
('Labore non est unde cupiditate qui totam.', 'Harum consequatur esse eos et soluta possimus sed. Vitae cumque vitae amet qui sit quidem.', 1, 47, 18318791, NULL, '249468ddb1bac5c5a8993bad70ae52112902e024'),
('Labore qui aliquam velit voluptatem quas eligendi quidem.', 'Itaque qui ullam provident. Sequi rerum rerum sed repellat debitis ipsa veniam. Distinctio repudiandae pariatur enim esse facilis porro.', 2, 4, 9, NULL, '76e088508ca44290c4ac431ed13007bd4c0633b5'),
('Labore quisquam nihil non laudantium corrupti sint culpa quia.', 'Sint alias culpa a voluptatum. Quas ut excepturi praesentium sunt. Et sint vel ut dolor. Et dolore blanditiis omnis deserunt.', 2, 45, 1460924, NULL, '1a3894daab0802cfe955d2771749a1779a5ddd7d'),
('Laboriosam qui blanditiis est laudantium sit consequuntur.', 'Asperiores ducimus sed labore debitis sapiente aspernatur labore. Incidunt quam aut repudiandae harum sed est. Veritatis mollitia est voluptatibus odio. Minima perferendis vel sapiente doloribus sunt quo quidem placeat.', 3, 86, 4, NULL, '3193be55cbdd4d597caf2be56c318c27eadf833c'),
('Laboriosam saepe quaerat voluptas nisi facilis.', 'Nisi deleniti id ipsa repellendus in ut. Delectus odit qui et aliquid eum impedit. Voluptatum et cupiditate aliquid reiciendis.', 2, 61, 515, NULL, '72c0a1640c95a49056697e58a822915a2f14808b'),
('Laborum eveniet sapiente et vel sit sint occaecati asperiores labore.', 'Impedit saepe aliquam deleniti maiores non. Fuga est dolorem quas enim eaque dolor. Ut accusantium tenetur repellat ut blanditiis. Pariatur et aut dolorem dolorum.', 2, 74, 0, NULL, '8b6dff0a88b92d72909e28011c2c30eeed40c029'),
('Laborum hic repellendus non aut aspernatur neque ipsa est.', 'Similique quod sequi facilis ipsum et officiis iure ipsum. Et fuga fugit quibusdam accusantium sint consequatur ut ratione. Saepe sit molestias qui omnis. Doloremque quas pariatur vitae excepturi quia neque vel.', 2, 43, 312, NULL, '6a2789d6814af5196b1a2705f35249c02d978220'),
('Laborum saepe ad possimus neque.', 'Et inventore qui blanditiis error exercitationem. Eaque non ut quis facere deserunt. Debitis voluptatibus totam dicta voluptas. Cum laboriosam aut minus saepe.', 1, 40, 480385120, NULL, '9574ae9f48631e133889e06ab96834e5b335fc82'),
('Laudantium consequatur alias ipsum rerum dolores sed facilis eos sed.', 'Autem officiis accusantium iure. Dolorem occaecati dignissimos et ut eos.', 1, 87, 345839740, NULL, '0478a50d7cc49d41be9aaae7159aadb062baa0e6'),
('Laudantium dolorem magni quod et impedit sint distinctio sed nulla.', 'Impedit unde autem totam nobis error earum expedita id. Ad porro ipsum ut dicta expedita eum ut veniam. Necessitatibus quia sed quis qui et vel in.', 2, 76, 478880, NULL, '3c24c204887a24686c16e69eb1104645afaa3193'),
('Libero dicta sed maiores minus cumque non.', 'Possimus incidunt reiciendis et incidunt eum. Quidem explicabo facere eos ullam quisquam commodi quo. Velit itaque id sed tempora laudantium. Natus aut molestiae fugit esse pariatur. In mollitia adipisci molestiae doloribus sit aliquid vel.', 1, 14, 92, NULL, '9add9bf606370cc6fd1282e8925712e9aa42e71f'),
('Magnam alias quaerat eligendi vel cum.', 'Assumenda et nihil ratione quidem fugiat. Esse distinctio amet aliquid quo eum repudiandae voluptatem. Dolorum rerum consequatur aperiam officia quo. Accusamus et velit doloribus.', 2, 35, 7572, NULL, '9b9c59ebd0ccfd99ba472a8a8183fc4ddf06182d'),
('Magnam cum architecto natus et.', 'Facilis ducimus et voluptate nihil vitae soluta. Nisi eveniet dolorum repudiandae qui.', 3, 26, 54366199, NULL, '9b9bbca219490390870a6d0abc56c1702ad89082'),
('Magnam quo possimus laboriosam suscipit voluptatem dolores.', 'Tenetur est non voluptatem. Illo sunt dignissimos non ex. Autem omnis quod voluptatem et. Tempora consequuntur perferendis eos voluptatibus blanditiis ut quo.', 3, 99, 44, NULL, '7b85aff75f5f12caffbe1a837ff12055e1ea0b42'),
('Magni earum non possimus vel aut.', 'Cupiditate recusandae accusantium sed corrupti qui ratione maxime. Sint est maiores necessitatibus ipsa occaecati voluptates. Rerum aut et esse placeat ipsum nisi eaque sed.', 3, 26, 17, NULL, '0702a05bf772589a44fe8da7648716087df3b506'),
('Magni quidem recusandae voluptate facilis voluptas sapiente possimus.', 'Laboriosam tempore aut officiis ab aut praesentium qui numquam. Aliquam et aspernatur autem eum libero aperiam. Modi et cum sequi maiores. Et id nihil laudantium laudantium sint deleniti et.', 1, 75, 52218530, NULL, '11b944572771ad66010319d5245d6d8116be5fdd'),
('Maiores esse doloremque occaecati veniam.', 'Beatae qui dicta similique omnis ab. Vel et distinctio est rerum magnam. Qui dolorum aut suscipit eius.', 1, 51, 7, NULL, '5136269aa6e86860f89f31e72ba06210f4f994b6'),
('Maiores tempora omnis repellendus nisi possimus ad temporibus eum a.', 'Alias sed molestiae praesentium ut laboriosam voluptas. Illo cupiditate deleniti velit officiis id labore commodi tempora. Cum fuga eos ab at qui.', 1, 86, 5, NULL, '633e1d98e0bc79d9079a5f635ae88fe29dfad3a8'),
('Maiores tenetur aut numquam vel ducimus fugit et.', 'Repudiandae numquam earum rerum sunt illum soluta ut. Non et vitae expedita laudantium. Qui consequatur sint nisi distinctio vel. Dolorem voluptate consectetur ea suscipit commodi molestiae.', 1, 49, 16123, NULL, '4cd94c536d53a3af6a950a15016eeb090935f84f'),
('Maxime cumque quia aut ex architecto dolores accusamus nihil quis.', 'Dolor et impedit aperiam ea quam. Hic ea suscipit delectus ad aut temporibus eveniet. Ad dolor sed numquam.', 3, 26, 621, NULL, '5d4996f5f652935b647dea43a96bd551f498ca56'),
('Maxime in quae voluptas quia quaerat nihil.', 'Itaque et harum et autem sequi. Aut adipisci aspernatur ipsa. Eaque molestiae itaque vel quisquam quod provident nulla est. Consequatur quos dolores sit cupiditate.', 2, 63, 884137, NULL, '820a87db78ff9f6e591873a0af453d3d832e5903'),
('Minima exercitationem quo beatae ea totam debitis aut ut repellendus.', 'Non provident perferendis sint est magni. Fugiat doloribus dolores harum distinctio excepturi sint quia. Sunt vero soluta dolor.', 1, 20, 72623722, NULL, '3172ab8d2bafde756c1e22c4b2fbbaf2072f36a5'),
('Minus explicabo possimus fugiat ipsum velit.', 'Dolor labore necessitatibus suscipit aperiam et mollitia ullam dolorem. Ipsum laborum asperiores reiciendis.', 1, 6, 284, NULL, '78caf950b8c3eb4044c4904cfaced03a0f36a63a'),
('Modi assumenda ducimus animi tempore odio perspiciatis officiis quibusdam doloremque.', 'Reprehenderit facilis id aut laborum aut modi voluptate. Consectetur culpa et cumque maxime sed commodi.', 1, 18, 0, NULL, '40e984e62f1bdf8d83f32a76c8dd54ebfe40fc18'),
('Modi cum voluptas laboriosam nihil molestias.', 'Velit at est nostrum qui. Eos quis ut saepe nihil quae. Et magnam illo et.', 3, 71, 9952, NULL, '821b5386c4de47c8c585dcc95dcdaa70fa20ce56'),
('Modi fugit hic nobis rerum suscipit error magnam quae velit.', 'Et libero id autem voluptates et. Accusamus molestiae nesciunt in ut. Mollitia rerum libero commodi iste dolores. Numquam tenetur nulla voluptas soluta.', 1, 7, 6013494, NULL, '1a2e2cb33d6d1a33e66cb63a152d6df64d70d7bc'),
('Modi ut atque hic pariatur sapiente voluptate.', 'Et ex nemo beatae non sed et sed debitis. Sunt ipsum placeat at doloribus. Placeat dolorem laboriosam quia non omnis sit autem. Non voluptas eligendi blanditiis illum quidem. Sunt repellat nostrum reiciendis maxime quam occaecati suscipit.', 3, 68, 22195, NULL, '780562aaee6189158341d96aea8087f7c2bdfab2'),
('Molestiae atque soluta vel vel vitae ducimus.', 'Sint molestias et eos et quia nesciunt cum. Eos nesciunt laborum et non nulla nihil vitae. Ex nihil assumenda odit quas. Rerum impedit est autem amet sunt. Voluptate praesentium nihil vel et qui cumque.', 2, 78, 5060, NULL, '34fd2617b58e562e4253ab64f9c996089b312e73'),
('Molestiae dolorum quod voluptatum reiciendis quam recusandae.', 'Architecto tempore quia aliquid explicabo. Voluptatem asperiores non nam nemo et. Natus voluptatem voluptas natus quos. Sed fuga voluptates et omnis sit.', 2, 46, 3148795, NULL, '5bfd16156f7629fc38420ccc70848fe4e83188df'),
('Molestiae est dolorem qui minima eligendi omnis dolores molestiae nemo.', 'Porro soluta exercitationem impedit nesciunt ut. Consequatur ipsa ipsa non omnis eius ab est.', 2, 61, 8, NULL, '18d262ff14ff322d4b61d6ca182d50a291a7fea9'),
('Molestiae omnis aliquam vel tempore quasi voluptatibus alias alias.', 'Iusto eum voluptatem aut culpa minima voluptatem est. Explicabo soluta velit enim magnam sunt id saepe. Quia ut accusantium omnis mollitia.', 3, 48, 48741012, NULL, '0f5c311d920904704a9c97b3f3d03653bcb895af'),
('Molestiae quo vitae temporibus ab.', 'Ea modi iusto quos. Iste corrupti aut sit dolor facere illo. Quibusdam illum quae ut ut.', 3, 32, 88042, NULL, '886685399c7c9c1829e13427e02e2e531f8f9347'),
('Molestiae recusandae nobis consequatur sit beatae.', 'Minus qui ipsum velit placeat. Repellendus totam dolor id sint. Ipsam accusamus hic corrupti iusto ad dolorem id. Aut quia autem consequatur nihil.', 3, 62, 20302745, NULL, '76ba027228a66370962392eeafdf178f299ef6dc'),
('Molestiae voluptatem voluptatem exercitationem minus et labore et laudantium eius.', 'Impedit non et sunt ratione soluta. Enim laudantium sed placeat. Reiciendis sapiente dolore voluptate occaecati reprehenderit. Adipisci at vitae accusamus et omnis.', 1, 41, 34, NULL, '4331788dbc22cb536bd89ac287c0828bdf7b3387'),
('Molestias consequuntur quia et dolor.', 'Vel consequatur iure odit nihil ut. Velit dolorem atque sequi exercitationem voluptatibus quis qui. Ipsam consequatur animi totam nobis consequatur quidem est quibusdam.', 2, 16, 1610, NULL, '6648f9a69834c7fc867d3015b760e771c7a4aafe'),
('Molestias numquam impedit dolores et.', 'Suscipit aut omnis voluptates dicta dolorum. Sunt nulla reiciendis necessitatibus animi ut. Eveniet a ullam neque dolores.', 2, 58, 67, NULL, '44bc029edbc71eec65a50ebca8e8e46355a04aeb'),
('Mollitia aperiam est eos nemo sint.', 'Est aliquid dicta quia rerum dolorem dolore dolorem. Esse quam qui voluptatem officiis nulla sit. Ad numquam recusandae accusantium voluptatem. Impedit doloremque enim dolores unde.', 3, 80, 495308024, NULL, '19b8c0444840934a08e7fa22e26bb76dfd0f181b'),
('Mollitia iste inventore voluptas ut nostrum nulla est.', 'Id corporis sed dolorem voluptates et voluptas. Aut eos sed dolore possimus voluptate saepe possimus. Sint est nisi debitis sint et quis quisquam reiciendis. Optio dolorum qui debitis dolorum incidunt aperiam aliquid.', 1, 81, 939835993, NULL, '971e7744175c4b43ae0f82cd9913785332608cb2'),
('Mollitia nam tenetur qui rerum fuga ab enim.', 'Aspernatur nemo nemo repudiandae et dolores. In nulla ut ut.', 3, 3, 18053, NULL, '3ddf74ce2db7edc7011ab6d31e64c28d1b9a1cf6'),
('Nam totam animi in recusandae ipsum voluptas explicabo.', 'Dolorem occaecati qui mollitia atque. Modi voluptas reprehenderit voluptas. Aut dolores error odit sit magnam. Qui repellat perspiciatis autem et. A qui est molestiae sint illo enim architecto.', 3, 30, 0, NULL, '2334e275b54c5b674d01aaa2c8787a7343682cf3'),
('Necessitatibus quia accusantium vero voluptatem sit soluta voluptas velit.', 'Eos totam non facilis quis qui vitae nemo expedita. Non magnam aut quod amet dicta rem ut. Esse soluta voluptatem nihil in omnis omnis. Velit corrupti incidunt ea cum et vel non.', 2, 78, 124331678, NULL, '34753c2ffae162b050a821fd40e2f28adaed4ffc'),
('Necessitatibus suscipit perferendis soluta esse suscipit sit ea.', 'Sunt ut rem autem quia qui harum. Eius a et reprehenderit quae hic blanditiis. Eius iste laboriosam quidem ipsum facere repellat. Rem aut quod numquam qui.', 2, 28, 11282, NULL, '858719bd8af07e0c7b6ddc8e3bd47f228c93f177'),
('Neque ab quidem officiis voluptate iusto saepe.', 'Non delectus delectus quidem deleniti aspernatur labore vero. Ipsa sed sunt quasi ut et quasi quis quidem. Sint vitae laboriosam sit tempora quia error pariatur. Ex saepe tenetur ipsa assumenda blanditiis quaerat saepe.', 3, 71, 114, NULL, '3d4a972cbcf653e43070e8e818868ce1e1003bb9'),
('Nihil et harum officia mollitia soluta ab.', 'Minus officia vero quae perspiciatis quae debitis. Aliquam quo nostrum rerum sunt. Cumque odio est et aliquam eaque illo qui. Repellendus accusamus odio enim autem aut consequatur nisi.', 1, 58, 42399, NULL, '76e03786d672868d33fd7f72ee868a71316d7343'),
('Nihil perspiciatis nesciunt ea sint iste in quibusdam repellendus.', 'Officia autem veniam ut architecto reiciendis et. Sint voluptatem ipsum laboriosam non impedit praesentium. Neque nemo assumenda aspernatur officia officiis ipsam iure.', 2, 32, 0, NULL, '0508075a969417effbd92702c26bbede4367b018'),
('Nihil sunt in molestiae dolor quasi tenetur vero eos.', 'Quod eveniet praesentium quae consectetur. Et fugiat ipsum magnam ducimus pariatur quaerat sit ipsam. Exercitationem ea dolor voluptates sit voluptatibus quaerat. Eligendi dolor exercitationem et rem voluptatum ut soluta.', 3, 92, 9, NULL, '076ac60e96e4d3b558f763775ebd612f4ee0300f'),
('Nisi iste sint voluptatibus tenetur ea facere.', 'Est voluptates fuga animi ut. Quae similique exercitationem aut est consectetur. Asperiores perferendis sed ex dolore ut tempora accusantium minima.', 1, 42, 8746980, NULL, '1e2d67dbd1568f093be05d2dba811dddd0469937'),
('Nobis ut quisquam harum mollitia impedit tempora.', 'Qui eius facere omnis nemo provident ipsa. Est qui voluptas velit error voluptatem sunt tempora. Dolores culpa animi ut quibusdam.', 3, 29, 41888, NULL, '9387d82448d323ca82f9ea89da881afc967904be'),
('Non omnis sed laboriosam necessitatibus aperiam doloremque voluptates aut.', 'Laudantium facere nostrum optio facere corporis voluptatem. Atque velit molestias eligendi. Dolores expedita quisquam eos soluta. Earum qui doloremque consequatur.', 1, 28, 4253, NULL, '89d547dd625e85442949ded2d5fb2201a0f539ff'),
('Non qui pariatur vitae illo et aspernatur.', 'Et corrupti doloribus voluptatibus repudiandae sint voluptas. Doloremque accusamus ducimus labore autem esse vero. Quisquam suscipit fugiat est commodi deleniti. Ipsam veritatis enim est facilis deserunt aut ea sunt.', 3, 79, 99298258, NULL, '8ed2387df948372ac3f76d2c659aea057fe4dd50'),
('Nostrum modi deleniti rerum consequatur non aut similique corrupti eveniet.', 'Odit dolor qui iusto alias. Enim tenetur odit quia voluptatibus. Eveniet aperiam totam sequi repellat repellat.', 2, 73, 19660, NULL, '4d2674ccda89c8c7d21724de22efb12dcd146964'),
('Nostrum quas similique mollitia ut reprehenderit minus et temporibus commodi.', 'Quas accusantium quasi fuga. Ipsam quia aut sed consequatur sit dicta laudantium. Officiis voluptas at ducimus doloremque magnam beatae. Tenetur alias eligendi sed voluptatibus.', 2, 71, 0, NULL, '489ed26d724c3191ddfa68fd4078f76a45f9667c'),
('Nulla at nam facilis aut recusandae corrupti.', 'Saepe id dolor enim. Aspernatur sed ab veritatis ut molestias sit unde. Magni quaerat consequuntur rem aliquam. Cum neque et doloribus enim id itaque ut.', 2, 28, 682013, NULL, '611c97cd315c2ae7090776ff19f9c45d9e03dcfc'),
('Nulla ipsam laborum sed magnam doloribus enim ut totam rerum.', 'Non maxime beatae occaecati in ea harum. Perferendis totam ad perferendis distinctio debitis sapiente non.', 3, 27, 6987339, NULL, '00317e825efd2e346dd9100a8c69d5bf1c3afa8f'),
('Numquam mollitia provident delectus aut nam eveniet eos cupiditate quia.', 'Assumenda sint nisi laboriosam quas. Occaecati nisi non natus dolorem ipsa. Quis qui quod id eaque.', 1, 3, 9, NULL, '65423ebed51564d0d47ca4543639a360da4aeac5'),
('Occaecati itaque asperiores dolorem magni aspernatur.', 'Sapiente maiores nihil blanditiis omnis. Quaerat laborum aliquid eos consequatur qui cupiditate quis voluptatem. Accusamus aut ad eaque dolores placeat suscipit consectetur odit.', 3, 100, 9717, NULL, '052ed32e3ca49a05b751533597dba64fd93a8eb7'),
('Occaecati maxime aspernatur soluta quibusdam earum quasi aliquam.', 'Eum et quia et est. Et nostrum omnis quia quae repellendus rerum. Qui modi ab aperiam voluptas odit delectus officia quis. Vitae rem fugit incidunt quos quo ea tempora.', 3, 47, 30488962, NULL, '4d381337ceb484ebb15c22acab392ef7745437bd'),
('Occaecati sit vitae perferendis iure autem voluptas optio neque.', 'Sunt consectetur maiores deserunt id. Voluptatem eos fugiat quisquam. Soluta rem commodi fuga ducimus quo. Earum magni assumenda minus et consequatur.', 1, 44, 634655, NULL, '3554339a3700891ef6cf0f7ddb9f05aed9b4e749'),
('Odit et qui repudiandae quia eos repellat aspernatur.', 'Mollitia et expedita ea omnis rerum. Architecto eos tempora optio velit exercitationem autem. Eos illum animi minus rerum eum nam. Molestiae est et officia fugiat repellat repellat maxime.', 1, 33, 28, NULL, '46b31b3bce95c18be700144e303f74e0f0e5f123'),
('Odit placeat numquam consequatur impedit in dicta cumque dolorem blanditiis.', 'Vitae inventore omnis adipisci ducimus perspiciatis ut sunt et. Et suscipit ipsa sapiente. Numquam rerum sed aspernatur explicabo.', 3, 59, 5827345, NULL, '9b2698767d5c7fecff2417b54c9ddb80db8c0b4d'),
('Odit voluptate non a praesentium amet architecto.', 'Rerum deleniti molestiae consequuntur nam vel veritatis deserunt non. Est delectus debitis voluptas adipisci. Eaque et autem corrupti non.', 1, 25, 569, NULL, '6e9fa95a7489a35ba782c104edd7ab140f77391c'),
('Officia impedit nihil cum deleniti et.', 'Reiciendis excepturi eos dicta deleniti. Omnis et dolor fugit facilis tenetur. Nemo praesentium quo non voluptatem ad. Qui suscipit magnam porro consectetur repellat qui corrupti.', 3, 69, 866632, NULL, '5794f014d417e499a2f984aa9521180369c0d3bb'),
('Officia ut est nemo modi repellat ut sunt ut.', 'Deleniti magnam et ut illo dicta aperiam sunt. Ut explicabo laboriosam eveniet ut et quasi. Provident dolore cupiditate quam dolor eius. Facere et nemo sit ipsum quia consectetur totam.', 1, 75, 31781, NULL, '5b5e01fcd998b5e8cf12161db15b545f82bdfcdd'),
('Omnis eum eius nobis nobis quis commodi.', 'Dolorem qui distinctio nisi id consectetur aliquid. Libero est expedita veritatis consequatur placeat reiciendis. Aspernatur amet ut corporis doloribus possimus.', 2, 79, 76, NULL, '6c122426435fb522ff68b84ab9ea999c8b14e3f4'),
('Omnis excepturi nemo molestiae quo non.', 'Explicabo nisi earum reiciendis assumenda tempore est aut. Quia non quas omnis nisi odit cumque. Vitae quasi corrupti neque quas.', 1, 13, 11107, NULL, '589d9240fcd76cdf747df494a233baf316746fbe'),
('Omnis exercitationem harum quisquam est adipisci necessitatibus consequatur est.', 'Esse aut est nulla eaque sed dolore iure. Consequatur fuga asperiores reprehenderit voluptatibus architecto et. Facere ea facilis exercitationem et officiis.', 1, 30, 24, NULL, '47dd747aa4864b94126d199b23911ee68dac56fa'),
('Omnis harum autem qui iusto magni quo.', 'Et aut ullam sint ut dolorem ipsam. Eligendi autem molestiae sapiente veniam. Aspernatur soluta ipsum velit qui maiores nihil non.', 2, 82, 28, NULL, '2fd92af3fa0848277ce32f08b0640bef7e4e3602'),
('Omnis id ducimus quis expedita repellat non quaerat.', 'Iure aliquid repellendus nesciunt aperiam. Commodi quas dolore ipsam aspernatur dolore aut. Aut voluptas excepturi exercitationem deserunt nihil. Qui aut error rerum.', 2, 77, 654616, NULL, '8d7eaa5f1c0e283625225d0790d2e26a9e7903cf'),
('Omnis minima nulla voluptatem ut sint quidem est consectetur ut.', 'Sequi amet quas dolorum ut iusto. Blanditiis voluptate corporis eos odio omnis et excepturi et. Est iure quis et doloribus delectus saepe. Nulla accusantium tempore neque excepturi.', 2, 97, 4122, NULL, '6ba84a0fe804955e07e6a77d688bc745de943499'),
('Omnis qui quis autem occaecati laboriosam necessitatibus suscipit aut.', 'Ad eum qui qui veniam tempora. Error facilis nisi non esse facere. Et optio occaecati harum aperiam temporibus corporis vel adipisci. Ab sapiente illo nostrum.', 1, 16, 0, NULL, '8e9f8bef4cbd1a40aa4669e7ee854759364502fb'),
('Optio adipisci quibusdam sapiente amet qui.', 'Voluptatem soluta voluptas vel reiciendis. Rerum placeat reprehenderit nulla ullam est. Fugiat atque accusamus cum tempore est dolorem. Libero cum deleniti debitis.', 2, 93, 1, NULL, '550dd1a267243b9d9a6b0e81e5d31ff60518ecd6'),
('Optio cupiditate totam in possimus veniam dolores voluptatem.', 'Iste est iste neque et exercitationem aut blanditiis. Sit aut provident laboriosam beatae optio impedit. Nesciunt quos earum molestiae sint ut.', 3, 64, 33, NULL, '3c5ea748ddd713768c9a75e5b2af415b94121d9e'),
('Optio nihil voluptatibus minus veniam quidem dolorem sunt iusto.', 'Ipsam nemo minima sunt ab reiciendis. Eos est amet nulla voluptates. Nulla impedit vero quia molestiae facere quo deleniti.', 2, 8, 19909518, NULL, '54699e334ac27897864bf316edf0ec85cfab5987'),
('Pariatur iure ea impedit molestias.', 'Omnis magnam quia illo labore. Nisi quidem consequatur mollitia est culpa. Adipisci exercitationem sapiente sit qui voluptatum.', 2, 67, 8418277, NULL, '986d42f19cdf0980ee361b4a6cbfb5021199fca3'),
('Perferendis porro porro provident sapiente quod assumenda ut.', 'Necessitatibus qui eos excepturi vitae et totam. Voluptatum ut vel omnis rem nam et. Libero est qui accusamus non. Officia nemo sit esse hic.', 1, 38, 65260389, NULL, '2a5480c8ec81bfafcb272423463502de91125813'),
('Perspiciatis aliquid sunt consequatur eligendi beatae facilis eos.', 'Repellat voluptas repudiandae atque perspiciatis at amet. Et voluptas est ratione qui dolor. Et quia labore et et ipsa reprehenderit saepe libero. Vitae voluptatem nesciunt est quis cum et.', 3, 95, 2322, NULL, '8c07eff76fdd01ebed9d732349ec8fe3437bcd5b'),
('Placeat atque earum nostrum beatae sit sed voluptatem in.', 'Eos in illum qui aut rerum. Tempora fugiat quia eos accusamus repellat similique. Sit saepe reiciendis modi consectetur et qui. Assumenda enim ex laboriosam.', 1, 55, 0, NULL, '80f7a133f9242e64d83fce85ba5ddc6478967c6f'),
('Placeat et corporis ea sint quis quidem.', 'Omnis mollitia dolor ut corrupti. Nam magni rerum hic quibusdam quos. Enim ut tempora natus voluptas quaerat eius.', 1, 6, 10103182, NULL, '1b734fd7fd4c9026f011c18d814dc3c1e8fe51be'),
('Placeat omnis laboriosam dolorem ut.', 'Ea dicta distinctio atque optio. Ducimus enim fugiat molestiae voluptatum id.', 2, 1, 93590, NULL, '0f5a2d65191b63bc011879e4bc50cb5fa42168e0'),
('Placeat repellendus eos sed totam natus quia est.', 'Pariatur modi nesciunt quas qui. Beatae voluptatem aut ducimus enim tempora ut. Consequatur eveniet qui animi odio modi. Occaecati non voluptas esse cum qui porro asperiores.', 1, 76, 25, NULL, '677d079151e59478750b998eb44a1a01a1adc38b'),
('Placeat vel molestiae necessitatibus fuga et doloremque.', 'Minus id rerum non repellat voluptatem. Occaecati quos expedita quia quasi quo. Odio porro eaque modi aut.', 1, 39, 0, NULL, '8c9f2857c72b3d0562e8b54729ab40c8bb663d6a'),
('Porro aut tenetur labore voluptatem.', 'Cum temporibus blanditiis quasi a fugit dolorum accusantium sint. Rerum dolorem sed nobis esse. Sed ab omnis qui quo. Impedit officia qui iste voluptatem.', 2, 12, 99784293, NULL, '2eb1f7012fad980fadf8bd87a390cd0de43f416c'),
('Porro dignissimos quae dolorum voluptas ad.', 'Dolores enim dicta sed dolores molestiae commodi omnis. Molestias sapiente fuga rerum alias ratione. Eum perspiciatis rerum et quam voluptatem rerum. Voluptatem magni repudiandae velit sint qui. Aut occaecati ut sequi commodi omnis ab aut omnis.', 2, 17, 150013721, NULL, '2d8e1f8577b3f3c70d425918657d1d8af9be2822'),
('Porro laboriosam id error sed et aut.', 'Aperiam similique possimus rerum. Laborum velit assumenda ab accusantium velit. Aperiam est sit adipisci quisquam aut voluptatem itaque. Ea qui dolores est minus quis eveniet accusamus. Corporis non minus animi non cupiditate sit.', 2, 41, 688, NULL, '7c6a3a3c48651e30abb96f5111f364c3f0a4927d'),
('Porro non blanditiis velit ea.', 'Quis autem natus sunt aperiam quo praesentium nostrum. Repellendus quaerat dignissimos tempora molestias. Neque nobis tenetur aliquam.', 3, 53, 70, NULL, '83f8142ea93766514fe7e3624070f5c84ade1b8f'),
('Possimus et dolorem neque voluptas ut qui non.', 'Sunt est earum maiores commodi dolor incidunt doloremque deserunt. Aut rerum autem unde et. Quibusdam natus ut dolor ea ullam ut consequatur.', 3, 79, 239132106, NULL, '79fd760623d8aceda8440ca9d31752690f9258c4'),
('Possimus optio officia id cum quis.', 'Magni et sed perspiciatis eos atque minima quaerat. Voluptatem officiis placeat repellat tempore. Voluptates officiis eius atque velit et ea. Omnis modi adipisci cum eum.', 3, 65, 62586575, NULL, '518e1301f572a464562a78180c8a533273fba489'),
('Possimus quo nesciunt rerum quidem velit.', 'Nihil et nihil natus reiciendis perspiciatis molestiae. Vel veniam repellat enim. Quis eius maiores qui minus.', 1, 4, 303059, NULL, '1dc1918747383acdd9bc793c5dc0d2ef50625426'),
('Possimus rerum qui provident laboriosam et tempora distinctio est.', 'Dolorum iste voluptatem qui distinctio. Esse vero incidunt ut veritatis quia facilis. Officia unde labore ipsa.', 1, 60, 939, NULL, '7aab0ffc417d6d0aeec80164c6ea9af45eb1a64a'),
('Praesentium doloribus laudantium quia est magnam amet labore.', 'Illo quo dolor perspiciatis. Alias placeat maxime odit nihil a modi quia. Non non et voluptates quibusdam aliquam velit molestiae.', 3, 86, 0, NULL, '9a273ae1bb7b409495e7b93a8fbe662b94a50877'),
('Praesentium et facilis numquam tempora ipsa sapiente libero.', 'Ipsum porro maxime id. Dolorem impedit rerum minima quibusdam omnis et. Minus dolorem assumenda laboriosam beatae quae qui nobis.', 1, 74, 77, NULL, '7e50e0503d00887521ed9b2b1a7272ea5ef233eb'),
('Praesentium ipsa sit excepturi veniam laudantium qui.', 'In sed porro numquam non optio excepturi cumque autem. Qui a est voluptas rerum est et. Nesciunt mollitia veritatis quia quo consectetur laboriosam cumque.', 1, 29, 943, NULL, '62511d8ac93af1f0678d83855af1d29166e56e75'),
('Quae qui aliquam id accusamus voluptatem aut.', 'Natus vitae fugiat autem quo quo et. Velit porro reprehenderit voluptas accusantium enim laboriosam et. Similique similique amet dolore modi.', 2, 89, 34, NULL, '736b85dedf26a378dfbb1d78fc5b90ecc449e5b7'),
('Quaerat eius atque nulla placeat doloremque odit.', 'Molestias earum voluptate eos similique dicta laboriosam animi. Laudantium vitae voluptatem unde est doloremque illum. Ex alias libero sunt veritatis consequuntur. Aut ipsum magni non voluptate reprehenderit quod qui voluptatem.', 3, 1, 59, NULL, '7ab6d1d3009bbca7b1c5d847fd7872dc770e1784'),
('Quaerat maiores optio ea architecto exercitationem est est dicta qui.', 'Ipsa assumenda iusto quod sit. Reiciendis odit dolorem voluptatem itaque quis. Reprehenderit nihil provident eveniet rerum adipisci sint.', 1, 71, 8, NULL, '4c46044b624a79d06f330848fda4ebe8abfd34a3'),
('Quaerat minus ipsum rem harum iste aspernatur odit.', 'Debitis corrupti possimus qui. Rerum culpa nisi sit laboriosam iure facilis accusamus. Porro aut quo voluptatem dolorem.', 2, 64, 921600, NULL, '56aa4419459b2ecf0361011734dd6b2a9c33b849'),
('Quam aut ipsa id eos non.', 'Maxime qui iure alias. Officiis veritatis aut voluptatem ad corporis nesciunt velit. Unde optio ut consequatur vel quis et.', 3, 80, 8546, NULL, '3ea5d426f7d8c6008718139165f7c2185e1b50b6'),
('Quas et nihil quaerat voluptatem itaque quisquam fugiat dolor occaecati.', 'Ipsam corrupti tempore dolore. Eum reprehenderit et laboriosam. Perferendis nihil incidunt saepe. Ab sit autem culpa aut reprehenderit harum.', 2, 100, 25722789, NULL, '09204c4e5e96bfb9a1776d081cd6096301bacddb'),
('Quas id repellat dolores temporibus sit libero itaque assumenda.', 'Suscipit architecto amet qui est in. Nam qui voluptatibus est est ullam doloremque. Nobis aut illo harum eum architecto officiis. Rerum praesentium harum ut aut fugiat et facilis voluptatem.', 2, 13, 591397359, NULL, '8603e1ec13f4bb03bce99065faaaef7205a66c7c'),
('Quasi accusantium magni dolorum voluptates quis itaque nihil numquam adipisci.', 'Sed voluptatem qui hic aut suscipit quidem sunt. Mollitia dolorem quis perferendis voluptatibus quia. Dolor repellat id qui ad doloribus consequuntur dolor ducimus. Pariatur quos quo corporis qui.', 2, 63, 79227, NULL, '2c15ff73f3a93aa251ff7ca04eb3625b01d4bc94'),
('Quasi molestiae molestiae quas sunt corrupti tempora nihil sint.', 'Voluptas similique perferendis alias aperiam error reiciendis. Libero autem et vero laudantium iusto cupiditate. Omnis aspernatur iste et excepturi.', 1, 42, 394493, NULL, '07a854e4b2f5b7d9f399cb3c5fa1fbd50f6d777c'),
('Qui ab consequatur dignissimos debitis.', 'Amet ea quo fuga. Autem ipsa necessitatibus voluptas suscipit soluta laborum quia sunt. Minus enim voluptate totam doloribus dicta.', 3, 21, 9661737, NULL, '82954712b58b743bb5019db01b5a5632c63ccb3d'),
('Qui accusantium qui veniam fugiat qui.', 'Numquam aut autem quia a voluptate. Ipsam et expedita eveniet. Omnis rerum sequi quod non.', 3, 89, 827111221, NULL, '73a1f7d53e39237d061d50d8207ac35700cd1f23'),
('Qui autem molestiae et distinctio aspernatur.', 'Mollitia sapiente reprehenderit ut ipsa doloremque. Vero voluptatibus molestias numquam tempore suscipit cumque. Rem similique officia quia eius qui repellat dolorum.', 3, 32, 3842504, NULL, '117e7481892e6bb9bfb4bce5541793fd34888653'),
('Qui blanditiis unde possimus ut laborum est aut.', 'Harum id ea a quas quis quis nam porro. Magnam voluptates amet esse minima ipsam quis reprehenderit. Et atque perferendis neque nulla dignissimos.', 2, 61, 1, NULL, '8f157ca744935aa2027b416bb12514e3fd9ffed6'),
('Qui doloremque quaerat quas voluptates architecto tempora et.', 'Labore ex esse neque accusantium. Eos dolorem quisquam vitae voluptatum. Optio expedita et porro est quae quos. Possimus minima id explicabo iste.', 2, 54, 65, NULL, '9be9ce37aca7a90e2a0bd518446a84de8649e632'),
('Qui est in voluptatum praesentium consectetur molestias dolorem nihil corrupti.', 'Impedit voluptatibus tempore ipsa temporibus labore ratione. Quibusdam voluptate vel quia nemo cupiditate accusamus. Cumque id et voluptas nisi.', 2, 16, 904140454, NULL, '76dc48cd5db4c04455780e0526b05a3416c0c04c'),
('Qui nulla iusto accusantium repellendus nihil quisquam consequatur tenetur.', 'Deleniti ut beatae molestiae est aut velit quia. Dolorem corporis quisquam quasi illum eos accusantium neque. Rerum est nulla est vel.', 2, 24, 746, NULL, '80545224d8845e00c00b84fe74f8c711bfb8d223'),
('Qui omnis temporibus veritatis illo maiores qui eum repellendus.', 'Quo consequatur in molestias. Sed eos explicabo magnam. Saepe in neque aspernatur dicta alias autem. Ut consequatur autem minus et provident adipisci.', 2, 73, 9, NULL, '441127ea39cf5192385d7a357fb70ee6f6d8f534'),
('Qui quaerat enim quidem dolor odio accusantium quis minus quod.', 'Veritatis minima iure officiis vitae aspernatur. Debitis veritatis laboriosam dolores facilis quos. Explicabo itaque qui laudantium quia aut fugit.', 2, 65, 868178, NULL, '5f08a4571dc5b2eb0e2a1d974a7a9dfbe7e37073'),
('Qui quaerat et optio tempora laboriosam provident nam quis.', 'Cupiditate officia et accusamus. Similique adipisci accusantium accusantium et omnis reiciendis. Nihil dolorem iste aperiam asperiores optio. Velit vitae culpa tempora quaerat adipisci laudantium praesentium.', 3, 77, 884307, NULL, '3c5fdb37e64674b0e79afb17813686ec8bb25acb'),
('Qui qui nemo tempore aut velit consectetur.', 'Placeat aut quae enim eos sint nihil qui voluptatem. Et labore mollitia autem ipsa animi iusto omnis natus. Et voluptatem iure laudantium occaecati maxime et dolorem suscipit. Velit quas est aspernatur ipsam consequatur.', 1, 62, 0, NULL, '0612ac2dd9ba152b977a379e4c03408d5bc50881'),
('Qui ratione amet dolor cumque incidunt natus consequatur soluta nemo.', 'Vel tempora maxime veritatis debitis dicta enim repellendus. Consequatur aperiam molestias delectus vero odio porro. Quod illo et a quis explicabo dolorem quis.', 1, 59, 91, NULL, '81d948205ece52071c4819a1201232944a6dec01'),
('Qui repellat odit recusandae iure fugit consequatur quo velit odio.', 'Blanditiis et odit illo ab impedit aut quasi. A voluptas inventore qui fugiat. Ad deserunt earum et beatae.', 2, 90, 54, NULL, '3e939025778d5f0675b63cf19468074d08b8e682'),
('Qui sint impedit facilis natus.', 'Quaerat fuga minus voluptas est quo dicta. Ut possimus repellat magni et. Ut fugiat tempora officia alias necessitatibus tempore.', 2, 39, 6490, NULL, '21f10f0642d4c7b89f10e5bdb8f58316d5703204'),
('Qui ut sit minus reiciendis officia facilis.', 'Unde sit quo libero earum. Error est quibusdam quae aut inventore velit. Odit deleniti tenetur doloremque mollitia et laborum delectus aliquam. In ab deserunt aliquam mollitia non sit quisquam.', 2, 20, 87702, NULL, '30bedec1ab6984bad1f7c3373b33099ab0f4ce72'),
('Quia eligendi qui neque fuga et molestiae et alias suscipit.', 'Ad nihil et ut facilis natus molestias et. Non recusandae esse perspiciatis. Facilis ut architecto aut sed. Enim corporis quis sint est ut vel.', 2, 90, 7, NULL, '8b9fd1b15bcd825397d2643e00cf7510b853cdaa'),
('Quia facere qui eveniet magnam quo rem recusandae quod distinctio.', 'Error laudantium id maxime et hic. Velit nobis maiores quam ut. Optio voluptatum laborum beatae quibusdam modi molestiae exercitationem quia. Ipsa tempore facere voluptatibus provident recusandae voluptatum qui veniam. Cum dignissimos quis maiores.', 2, 6, 12, NULL, '178742dcdcd6fd2b52c312d23caf8e1bd3e13906'),
('Quia facere ut eos non quos minima.', 'Porro in iure in et quia. Et quos ut consequuntur dolor. Quae aspernatur dolor qui assumenda vel ullam fuga.', 1, 97, 38, NULL, '225be85975bf3584075122bb9b6cda4061b6271e'),
('Quia sed consequatur hic repellat vero minima.', 'Et nisi tempore velit quia magni quae qui. Tempore enim excepturi qui sequi ut. Totam adipisci dolor sint et. Magni et sed corrupti possimus quo praesentium eos.', 3, 42, 76, NULL, '932f181671659df66c25bc74e39c51e1ed2e9ca9'),
('Quia sed culpa neque numquam qui molestiae eius.', 'Consequatur nostrum id ipsa sed optio quia porro. Nihil qui iure minima iure autem. Omnis velit officia qui vitae maiores nam suscipit voluptatem.', 1, 92, 69, NULL, '4288802f037c89e9b0df358af9baf3562b52e35e'),
('Quibusdam alias accusantium autem nihil fugit necessitatibus voluptatem alias ut.', 'Et aut illo tenetur tempore suscipit. Nemo velit corporis est eligendi quisquam quibusdam ipsam voluptatum. Quaerat dolores similique magnam aperiam qui officiis at. Veniam quidem dolore est illo sit velit.', 2, 92, 96, NULL, '1bb0b04b5fb1c9a6aa9b3803187f71c972425153'),
('Quibusdam fuga debitis molestiae voluptatem fugit debitis earum.', 'Sit expedita perspiciatis repudiandae reprehenderit vel et mollitia. Neque placeat perspiciatis deserunt deserunt velit natus eum.', 2, 81, 558112823, NULL, '13c10625c3e1f2694831fd152931de41a70bd6a6'),
('Quibusdam illum animi amet delectus.', 'Dignissimos aut explicabo modi qui. Magni commodi natus numquam numquam quia sequi sint non.', 2, 53, 541877617, NULL, '81790cf8b13679ef1cdf191924adf51b5986ca3f'),
('Quibusdam modi non ipsam voluptate nisi facere laboriosam voluptatem.', 'Maiores quibusdam magnam voluptate neque sit atque. Ut dolor quisquam provident voluptate quibusdam blanditiis. Ipsa est libero explicabo iusto quas sint quia ipsum.', 2, 61, 60100180, NULL, '1a92cf69e9b6c6f7c860331fef6067559ca777b7'),
('Quibusdam mollitia in et voluptatem rerum ab qui commodi.', 'In consequatur recusandae tempore libero. Dicta repudiandae totam eos est illum debitis. Eaque voluptate expedita veniam eveniet fugiat modi.', 1, 88, 0, NULL, '22e4d08774c7502920c0d057417f9f05fde73cc7'),
('Quibusdam quo sint sequi qui aperiam porro et.', 'Rerum similique sint vero eos fugiat odit non voluptatem. Ex quo provident qui non. Veritatis dicta rerum necessitatibus. Autem eveniet vitae reiciendis aut modi molestiae quae. Quo itaque beatae officia nam sapiente earum.', 1, 1, 131612741, NULL, '3191ffad0eac07e81cbac13bc60ad7496add0468'),
('Quibusdam voluptatibus veniam velit asperiores aut quaerat necessitatibus.', 'Eaque cumque mollitia eum nobis laborum. Officiis veniam ea ullam corporis quos. Ut hic magnam ratione dolorum hic iste et minima.', 2, 81, 515792199, NULL, '056816e77009686afb3e634e9719b49e11ba073f'),
('Quidem alias sed porro et officiis maxime cumque.', 'Nam aperiam recusandae aut eos. Nesciunt voluptas et harum ut. Fugit dolor omnis ad asperiores et omnis. Est porro illum cum eos.', 3, 95, 91783583, NULL, '4f8d3f515d43eff57e63cab4f1055dbb936ef912'),
('Quis eaque in recusandae dolorem eveniet nemo assumenda eligendi.', 'Aut facilis culpa quam repellendus tenetur aut. Aut magni facere reiciendis aperiam totam. Aperiam voluptates temporibus ipsum temporibus minima ut cumque. A delectus quaerat officia repudiandae quo. Consectetur culpa et neque placeat et aut quo.', 3, 21, 94, NULL, '8e6d982cc01cb0b6f04dbdee54f4266028dd4ce3'),
('Quis et omnis tempora minima quos.', 'Quia dolorem reprehenderit ut consequatur. Quo molestias sit repellendus. Quidem recusandae adipisci laborum sint nisi adipisci cum. Id soluta nisi asperiores incidunt.', 3, 75, 410, NULL, '3d848b08e06f72fc484a4a5cbf14113bae7cc703'),
('Quis ipsam et quasi est rerum.', 'Cumque alias quia asperiores veniam soluta. Neque incidunt impedit eveniet qui est hic. Totam nihil quia accusantium ea. Sed expedita temporibus iure itaque quia debitis hic et. Ut eveniet debitis quas beatae.', 1, 47, 0, NULL, '6cd86854bf03db71cbbaa1eb09d3f8d71911aa81'),
('Quis minima laborum ad voluptate dolorum omnis.', 'Iure corrupti quidem culpa asperiores fugiat commodi est. Necessitatibus est quod odit sit atque odio. Saepe et qui tempora voluptatem. Voluptas vero sint dolorem doloremque incidunt earum. Quisquam beatae numquam doloribus placeat rem voluptate.', 3, 94, 193186028, NULL, '593a162662cec28d02c1107a96893c33ca75c8e1'),
('Quis voluptates quas ab aut.', 'Dicta iure voluptas eveniet voluptatem aut ut perferendis accusamus. Voluptas aut eligendi vel distinctio. Beatae quas nobis iure.', 1, 34, 0, NULL, '7a8971de2a8ee48c13413e32bb16fe4cf8afabf1'),
('Quo consequatur velit dolores ea et tenetur consequatur optio eos.', 'Ut molestias consectetur quis. Tempore natus sit dolorum dolore numquam sed. Ut rerum iure enim veniam non maiores. Magni est quisquam sit.', 2, 6, 146362, NULL, '34d45700515592be1621095205003e78fabb4409'),
('Quo dolores quia dolor fuga unde.', 'Quia repellat tempore deleniti aperiam. Qui facilis eum voluptatem et cupiditate id ipsam. Sit repudiandae expedita commodi itaque.', 3, 35, 8, NULL, '45b869799b9218dd62a825005d505ad6a1700509'),
('Quo perferendis ipsam ut sed.', 'Expedita tempore reiciendis debitis. Dignissimos quia nobis nesciunt quo sunt. Aperiam ad dolores maxime voluptas et. Autem magni ut cupiditate placeat molestiae quo.', 3, 96, 9063, NULL, '5cf22b90dc72cbc8b1994798f926671ae630f232'),
('Quo sapiente qui nulla quod sed asperiores.', 'Et accusantium voluptatum cupiditate facilis veniam perferendis ut provident. Qui voluptatum eius fuga minima voluptas vel qui aspernatur. Enim tempore quibusdam et animi laborum id aut vero.', 1, 19, 7676, NULL, '7b0a5a0e37f04672fe750c1865c85941a7d8a26e'),
('Quo tempore enim esse molestias doloribus culpa pariatur non.', 'Dolor error deleniti sed qui quod quo quo. Qui nihil et magni animi. Quas earum non occaecati quia sed. Sit et dolorum repellendus ut impedit mollitia quia.', 1, 87, 0, NULL, '598db0d7271006f6f095ad57250738cdc325b784'),
('Quo ut id repellendus et.', 'Placeat quia repudiandae laboriosam consequuntur similique laudantium et. Aut quisquam voluptatem quas aut ut. Quia cupiditate sed laboriosam alias.', 1, 20, 4, NULL, '8238cd4d36775e11373550a89c1b4cfb18025637'),
('Quod a cum veritatis quia.', 'Fugit aut in non ut. Quo inventore sit similique quia dolores et id. Ipsum ab est doloribus facere dicta. Qui dolor explicabo minus reiciendis veniam illo. In est sit accusamus.', 2, 68, 32499170, NULL, '80c9f82def1b2ae12c086cb21fe94a8e9c1451cd'),
('Quod deserunt perferendis id voluptatem optio.', 'Laudantium quod impedit aut consequatur. Iusto et distinctio sapiente ut quisquam consequatur. Quibusdam iusto aut quia voluptatum corrupti. Maxime molestiae numquam dolores praesentium.', 3, 25, 685095, NULL, '89135e886ea29110afd753d26c361414c4672154'),
('Quod ut consequuntur quia ut inventore similique qui.', 'Et est similique sint quia autem quod est. Tempore nemo eum natus ratione odio architecto. Aut sed accusantium tenetur autem error id libero. Quasi ut minus sunt quod.', 1, 5, 130884757, NULL, '11970ec6d9a01c4dc1caa314ee19ad6a0205e3bd'),
('Quos quod molestiae perspiciatis similique perferendis sit sit occaecati.', 'Quis iusto magni itaque ut excepturi accusantium repudiandae. Fuga atque omnis dolor. Exercitationem aut eum amet aut quo id vitae provident. Est sunt porro dolorum.', 3, 27, 49602703, NULL, '3d7d048d194bf9c3718d015c7b765c7cffaf0390'),
('Quos similique neque itaque officiis ipsum rerum.', 'Et quis excepturi exercitationem. Quia est ut voluptates ab occaecati. Sit eum asperiores atque consequatur numquam et. Est voluptatem ea nisi voluptatem.', 2, 66, 689, NULL, '2520f7cd47e32e977bac3d393dd29eb9a5f1e62e'),
('Ratione deleniti autem dolore rerum.', 'Corporis rerum in cumque et. Ab provident id incidunt architecto dolor distinctio. Et qui corrupti ratione officia inventore cumque eos pariatur. Numquam rerum dicta enim et non at est.', 2, 72, 2189, NULL, '75a8f7d8c5ae519c87bd55218b9f1442b20780a8'),
('Ratione minus et officiis perspiciatis consequuntur hic.', 'Exercitationem aperiam quia impedit. Ea incidunt quia unde debitis sit fugit. Similique quia sit cumque illum.', 3, 46, 302, NULL, '1fe21f781c2c17544083c0f72344f234ebee7577'),
('Recusandae eos laborum tempora cupiditate voluptatem omnis commodi quaerat.', 'Qui rerum repellat dolores perferendis sit maiores. Deserunt magnam aut in doloribus aut cumque. Ipsum consequatur et eveniet sapiente. Similique nihil qui quis quaerat molestiae ducimus doloremque.', 3, 62, 401335344, NULL, '9b75d013b27395dc5590c7beb0f6061e567a9501'),
('Recusandae officiis et molestias exercitationem ut laboriosam.', 'Ut dolor dolor pariatur corporis voluptatem ullam non. Adipisci non recusandae accusamus numquam et maiores.', 2, 37, 718821383, NULL, '6bb655cc47880904f24f10e8811f434aea2900dd'),
('Reiciendis et iste omnis sequi libero sit tenetur.', 'Voluptatem excepturi omnis aliquam delectus repudiandae maxime architecto. Nam enim architecto voluptas ad reiciendis omnis facere delectus. Exercitationem temporibus incidunt accusantium similique facilis deleniti asperiores aut.', 3, 99, 2, NULL, '0ac5320e86eb53b5ff7147b0776ce0cb12da8f02'),
('Reiciendis quae sapiente soluta ut deserunt qui velit sed.', 'Aut omnis et sed consequatur error laboriosam. Saepe voluptatum enim fugiat qui harum tenetur. Laborum aspernatur eaque dolor. Sed eum et fugit perspiciatis nobis sed quis consequatur.', 2, 65, 0, NULL, '7295754a61ae53ef76a4e00a7551d87e2b9f002d'),
('Rem error sed quia accusamus.', 'Est qui repudiandae dolores quibusdam possimus veniam deserunt. Est dolores recusandae dignissimos quam doloremque vel. Id architecto id quo quis reprehenderit.', 2, 20, 367, NULL, '9caac24e24a7690684fd5e473bf70caf66fa0ee1'),
('Rem itaque nulla sed rerum sequi qui quis quasi.', 'Harum eveniet aliquid facilis sit at consequatur. Aliquid ut earum officiis ratione veniam. Maxime dolorem quis eveniet voluptatum voluptatem odit velit.', 1, 92, 634072681, NULL, '7b3794ffd21405a5f11c2684ecae75d2821e80b0'),
('Repellat fuga at veniam ipsum laboriosam unde qui ullam vitae.', 'In quis necessitatibus voluptatem facilis praesentium eligendi ut. Laudantium tenetur ut voluptas alias et ut.', 3, 90, 86257979, NULL, '79dd144c6a3cc24151ff6df232a14d40707deabf'),
('Repellat impedit reprehenderit doloribus vel beatae et tempore.', 'Aperiam voluptas cupiditate et alias quas rerum eos quidem. Veniam cumque sunt alias quibusdam dolore. Voluptatem dolor et aut molestias dolores praesentium in.', 2, 99, 757829817, NULL, '368aef71fb6f8ee1d5bd7cbbd651f604ab05417f'),
('Repellat vitae dolores error eveniet rem non expedita voluptas omnis.', 'Et et animi eos ducimus. Cum reprehenderit dolor quisquam dolore. Doloribus iure facere voluptas distinctio quo amet et. Suscipit commodi odit enim et impedit exercitationem veritatis.', 1, 49, 384350, NULL, '551808813916c4fe5667aff143b3bf2ce7ed5641'),
('Repellendus vero optio dolorum inventore culpa.', 'Ut totam autem veniam cupiditate. Recusandae aperiam inventore dignissimos nemo possimus velit deleniti. Officia qui dolorum praesentium.', 1, 78, 3362, NULL, '08dd5cb0e324cf769f4f680f794525a86c151f80'),
('Reprehenderit architecto quasi ea autem voluptas tempora.', 'Recusandae quod ut reprehenderit. Iste nihil aliquid cumque accusantium dolorem consequuntur amet. Sed sequi natus velit quaerat officiis qui et. Enim aut vero debitis nulla nobis.', 1, 58, 8675301, NULL, '3c23c3734492943ecd0e6a10a148fe136f4b26b7'),
('Reprehenderit quos itaque architecto et.', 'Voluptas tempore velit est fuga earum quos quis quas. Maiores non excepturi sapiente illo odit itaque. Sapiente corporis aperiam ea quas.', 3, 10, 91, NULL, '5838031fc459b6952a50b50e127277cad71957b6'),
('Repudiandae corrupti similique et corporis velit est.', 'Autem voluptatem qui provident voluptas odio. Tenetur labore quia dicta. Laboriosam quae ex ut voluptates molestias soluta. Eaque veritatis odit incidunt sed repudiandae molestias. Quaerat dolores quaerat neque vel.', 1, 53, 4, NULL, '0a86fc39f69551e7e229d731ce6ee0eb570d100d'),
('Rerum corporis quidem repellat laboriosam rerum commodi quidem.', 'Officiis laudantium laudantium consequatur reiciendis non temporibus aut. Nisi iusto est magnam. Earum vero eligendi aut modi ab. Sed unde excepturi iusto velit odio iusto et dolores.', 2, 5, 1391311, NULL, '20d41d2ca2071a42f26f603201f1dceeb804cf2a'),
('Rerum distinctio iure perferendis molestiae culpa est.', 'Necessitatibus qui ad consequuntur officiis. Tempora consequatur in ut quam odio.', 3, 37, 519, NULL, '57388b6330d6227351784e7dbb4e98dea2133442'),
('Rerum est autem et rerum porro autem.', 'Exercitationem tempore laborum rerum at quo quibusdam qui. Sapiente recusandae voluptatem quia autem voluptatem rerum. Velit temporibus commodi enim explicabo quibusdam ut officia.', 3, 93, 411, NULL, '8c6626ea40e1c6b6ffcab2a26936e3ab03911723'),
('Rerum et dolorum repellat hic excepturi eaque omnis.', 'Nam quis iure ad reiciendis. Nobis consequatur explicabo aut aut. Dolor qui expedita rem enim id aut molestias.', 2, 53, 929047870, NULL, '529f4f5569a12b35b1d49474ff6fa65990aca173'),
('Rerum sed vitae impedit harum iure saepe eum qui.', 'Deleniti rerum explicabo at doloribus inventore nihil consectetur. Aut corrupti fugiat ut qui maiores.', 3, 78, 0, NULL, '8c665cf6b4d4d744ebb359f209b0fbcf666bcbab'),
('Saepe fugit qui aut cum consequatur et velit.', 'Molestiae expedita ut perferendis error odit quis. Soluta qui laborum esse at quas architecto vero. Ad vero ea est est est quis amet.', 1, 81, 338286860, NULL, '4a8bbad783e9ffff794116846dc537cfcccf8458'),
('Sapiente molestiae numquam iste illo quidem et hic.', 'Beatae quos et unde est. Repellendus at sed quo maxime. Omnis fugiat est voluptatem voluptatem molestias enim.', 1, 96, 65984, NULL, '7ace0b0b7779946c25fff37b6f137b4490cac88a'),
('Sapiente officia consequuntur unde occaecati.', 'Et vero neque omnis temporibus reprehenderit quo. Et quasi aliquam cumque hic. Similique dolores voluptatem pariatur debitis ipsam vero cumque.', 2, 78, 980, NULL, '3af313ec1e4fb4622450a64aac43fa2f49fef472'),
('Sed eos ipsam vitae labore assumenda consequuntur.', 'Aut error et officiis aspernatur. Enim iusto enim odio voluptas sit et accusamus.', 3, 19, 3452, NULL, '04a5c8f464189d0df5c33b46255ff1af9c48878f'),
('Sed et modi ut quia praesentium at totam.', 'Nobis ipsam recusandae veritatis repellat soluta officia. Quia explicabo est blanditiis asperiores ea deleniti libero. Cum ea id molestiae. Rem voluptates autem nisi provident doloremque.', 3, 99, 58967804, NULL, '75d316fb7541d23d8ac35b92012347fcb6fc6fea'),
('Sed ipsum nulla consequatur voluptatem rerum voluptatem voluptatibus et.', 'Laborum et assumenda tenetur minus amet commodi. Sequi asperiores ad rerum dolor laborum voluptatem est.', 1, 25, 1, NULL, '81656fa0a2365a0f93a083dc597853fcba2f1128'),
('Sed repellat eum eligendi sunt commodi sequi et.', 'Aut et cumque magni quos. Voluptatem soluta et nihil eum.', 3, 3, 0, NULL, '72e87802434548775dbebc7525308ef4db7d2a14'),
('Sed voluptatem numquam ipsam quaerat sapiente similique suscipit.', 'Hic sint eaque placeat placeat praesentium. Quam error in numquam velit et. Sit et aliquid est recusandae impedit rerum libero.', 3, 48, 0, NULL, '0264220e89a3e74280c5d662c30d4d79df93bc7c'),
('Sequi et earum esse praesentium esse quas.', 'Ipsa aut id ad tempora id unde aliquid reprehenderit. Veniam maiores laboriosam ea est et ipsum. Temporibus accusantium pariatur quis ea distinctio consequatur nesciunt sit.', 1, 73, 1774, NULL, '8f5e6dafc5fafd06e5624583a3109f0a8b4b83e0'),
('Similique corporis veniam est fugit sunt eveniet consequuntur laboriosam et.', 'Optio qui enim sit voluptatem reiciendis suscipit. Fuga porro voluptate magnam quo. Eum labore dolore quasi sed maxime aut libero. At qui voluptatem eum repellendus consectetur dicta tenetur. Placeat pariatur architecto nisi in veritatis.', 2, 60, 96634, NULL, '64f39ded3445ff6d80ba0b03bc5c0d067494005d'),
('Similique molestiae veniam amet voluptas repudiandae beatae.', 'Nobis aspernatur id veritatis aliquid et. Aut corrupti sint similique. Excepturi nostrum ut quae.', 1, 67, 429006, NULL, '92ca030c82179294d8f3e4d303fd99516fc65a08'),
('Similique tempora distinctio sed dignissimos sequi sit sed aut.', 'Autem neque nemo itaque voluptatem. Voluptatem non porro facere deleniti atque qui dolorem. Rerum earum quasi voluptate tenetur.', 1, 78, 364, NULL, '5eb082e28e115a0baaa437de5c01e0b399792e71'),
('Sint aut illum qui ut.', 'Ut qui quaerat odit eveniet et qui qui. Sed nam aut quia exercitationem. Saepe odio iusto reprehenderit et perferendis non.', 2, 17, 19316613, NULL, '436f53ddc20f76cf3414d8ff64f88fbc91b7aee4'),
('Sint odit quod est magnam at rem nesciunt sunt.', 'Tempora maiores ut qui eveniet vero quaerat labore. Blanditiis ut quos maxime veniam sit debitis praesentium.', 1, 91, 32, NULL, '1d355f4ba3922fc60bcc58b24c4486f440897e38'),
('Sint sit quod aut assumenda modi sit corrupti quia amet.', 'Qui quaerat quia vel corrupti culpa inventore. Autem quis eum aut voluptatem.', 1, 100, 78800907, NULL, '0162b1b7aae3b9f3a44f68851c7fe5a189fe8911'),
('Sit eos dolores ad in officiis quia aut.', 'Amet voluptatum dolorem in explicabo perspiciatis assumenda modi et. Quod iusto eos nobis corrupti quia beatae nobis. Neque possimus qui aperiam libero saepe. Exercitationem alias incidunt natus ex.', 3, 73, 962002, NULL, '358b2705e2b387a3b7b0e3e1cce9018d2d5687a9'),
('Sit harum sint impedit eos.', 'Ut ipsam sapiente sed quos dolor nihil commodi. Velit quibusdam non sunt consequatur expedita. Vitae molestias dicta placeat sint.', 2, 81, 413631, NULL, '3be7ca5c7c082ae604940469757abf0da3a3ac69'),
('Sit in impedit quia numquam et repudiandae id illum quibusdam.', 'Enim earum commodi sunt sapiente. Incidunt ut sint dolorum nesciunt. At aperiam et magni qui id qui molestias. Qui dignissimos facilis numquam sapiente consequatur occaecati ut.', 1, 82, 3256586, NULL, '461455d95945f56f434e76ad7a25426a5448dd48'),
('Sit incidunt qui at occaecati.', 'Voluptatum atque voluptatem corporis dolore placeat. Omnis aperiam impedit tempora explicabo quaerat recusandae. Incidunt et cumque unde quo dolore.', 1, 80, 9798, NULL, '9f44506e4a438f616210ef5416099d4c3d58b197'),
('Sit iusto necessitatibus unde omnis.', 'Nulla facere quis et nihil ab totam error. Veniam iure enim dolores commodi itaque enim aperiam. Voluptas nostrum nihil doloremque quos. Eveniet magni vel sed at esse dolores est magnam.', 2, 99, 54365, NULL, '958e2f3e3f648c8a2cad1b9a05ff9e048c90f1a4'),
('Sit modi architecto ut molestiae voluptas.', 'Magnam temporibus consequatur aut autem. Qui unde tempora corrupti nemo quia explicabo. Sit maiores at sunt est sed.', 2, 50, 8357815, NULL, '143342203f3a54d30edcb4f8967ba7ca88526e52'),
('Sit officiis earum ut excepturi.', 'Alias sed quam modi eligendi labore eum sequi. Omnis excepturi fuga accusamus corrupti. Id ut illum rem placeat omnis ratione fugiat. Eos ut voluptatem ipsa perspiciatis.', 3, 61, 51, NULL, '212b49ab131177e09e5f80d6006788b0dd94a503'),
('Sit placeat voluptas assumenda qui.', 'Officia optio possimus voluptatem aliquid quia. Dicta dolores deserunt est cum odit. Alias debitis voluptas sed et. Deserunt eligendi suscipit et libero minima repudiandae.', 1, 94, 5152, NULL, '1e9f2a1ed7594d184d06a7d011b527e0f916c65d'),
('Sit quo rerum molestias ut aut quos.', 'Possimus iure officia et voluptates beatae voluptatum. Ut omnis deserunt consequuntur adipisci enim fugiat. Et maiores at quasi eaque molestiae. Nesciunt necessitatibus explicabo vel consequatur.', 3, 18, 291, NULL, '975d666d18c6a9d0a54b903a73772c2ae325245b'),
('Sit reiciendis dolorem facilis deserunt eius qui.', 'Qui nesciunt illo dignissimos ut a nostrum. Qui velit et recusandae fuga numquam reprehenderit molestiae. Numquam aut enim sint.', 1, 68, 8, NULL, '701ece387722cfba7e2050f4c03afccd4fd2e451'),
('Sit repellendus et quidem unde ab reprehenderit.', 'Natus nihil et expedita amet modi a. Quam aspernatur accusamus quia eveniet pariatur in. Consequuntur nam optio sint. Ducimus fugit nihil quae nihil voluptates provident.', 1, 53, 269, NULL, '3676dbd90c906431d2b064c1ce7f45d120d0ebf5'),
('Soluta voluptatem tenetur natus recusandae qui atque voluptatum.', 'Aliquam error repellat tenetur corporis eos nemo at. Hic modi quia consequatur provident. Laborum sed exercitationem neque quia nam excepturi vero. Inventore voluptas unde dolores voluptatem necessitatibus quos et non.', 3, 80, 66, NULL, '48df18077bbf4ec01daf320eaeda13e9b076aca4'),
('Sunt cupiditate suscipit optio rerum distinctio consequatur.', 'Modi omnis nihil omnis dolores. Expedita qui quisquam eos quo fuga eveniet.', 3, 58, 91698, NULL, '45c09b4af966fa5971518b8c1bf03e04555e6d72'),
('Sunt magni id unde dignissimos id ratione consequatur dolor.', 'Molestiae voluptatibus tenetur est harum laborum ut facilis repellendus. Quia minima provident rem vero eaque. Autem distinctio animi aperiam et non autem alias. Minus nihil deserunt vel et sequi amet.', 2, 70, 953, NULL, '51979316359be64371a85e511953e70548d031a3'),
('Suscipit sed consequatur amet accusamus ut aut minus sed.', 'Provident dolorem voluptas eos consequatur consequuntur. Quo rerum totam incidunt accusamus. At aperiam impedit est nulla.', 2, 13, 906, NULL, '5e3e700ba58f8c7524bd7f40034e3f268d7b5bfb'),
('Tempore dolorem minus eos corrupti consequatur voluptatem iste officia velit.', 'Est molestiae sed ut non sit. Non laudantium voluptate perspiciatis soluta iusto in sed. Sed accusamus est et eum ut soluta. Provident qui molestiae aut quia dolores aut.', 2, 9, 2, NULL, '4a97cddcc5d2a8f9078a3c46cc18f477b6bbc0b4'),
('Totam dignissimos sint iste et eum qui.', 'Quidem voluptas dolores nihil dolores. Ex voluptatibus rerum distinctio aut ut suscipit in et. Eum ut optio eos nihil. Exercitationem id enim et labore voluptatem repudiandae recusandae.', 3, 20, 1, NULL, '921965f746e7dfb45c97aae8c8fcdde204add90f'),
('Totam minima molestiae adipisci et exercitationem odio nostrum sed in.', 'Aut omnis corporis voluptas quia ducimus alias. Omnis in dolores quibusdam labore alias quia. Amet commodi dolores voluptatem autem impedit alias et sint. Consequatur ut aut id a.', 1, 55, 57266, NULL, '0f35f996622aff30e6392b4911b95d8a9a342b1f'),
('Ullam fuga nesciunt sunt optio qui repellat sed.', 'Libero occaecati non cum quaerat sunt est nihil. Corporis quaerat optio quod consequuntur vel consectetur. Inventore et officia molestias voluptatum.', 3, 94, 352996, NULL, '1dc326b116f22b9083f71a64928f4845bd0b47a0'),
('Unde autem ducimus est corporis dignissimos.', 'Et maiores enim ab consequuntur reprehenderit. Doloremque accusantium accusantium quia ea qui. Quia harum nihil aut tempora optio dicta est.', 2, 39, 56001706, NULL, '6077b99253bd46fd00061b0a2129df26d88dd6fc'),
('Unde nihil totam eveniet quo temporibus rem vitae aut et.', 'Cupiditate qui molestias maiores ut sit. Asperiores est qui ullam nisi. Sint illo consequatur accusamus deleniti nesciunt ut quibusdam.', 3, 27, 81833, NULL, '83c6d26657aa9295e3910f24d826f087bc7ef57c'),
('Unde sed amet libero id minima.', 'Corporis aperiam beatae alias nulla. Officia id qui quos. Ut natus aliquam id facilis quo ut rerum libero. Eos quas repellendus nisi iure.', 1, 92, 674294, NULL, '0bb160b523c00f3ad7500fe4fa3bd0e32e05f73a'),
('Ut dolore debitis unde ut dicta ratione id quasi.', 'Rerum quia atque commodi vitae ut dicta eum quia. Similique saepe non alias deserunt ut similique. Ut deserunt aut et voluptatem voluptate sit quam.', 2, 87, 14, NULL, '836c47bfeb392a0d855d1744aeb4d41e8702f4eb'),
('Ut error blanditiis qui expedita ipsa sit.', 'Nihil voluptate consequatur sed similique eum blanditiis. Ea sunt qui ut possimus odio nobis qui. Ex voluptas omnis ut ipsum quos qui. A aut excepturi est nostrum quaerat.', 2, 26, 12, NULL, '01d1532da42ed330f84f9dc691c524db3c2eab92'),
('Ut et consequuntur deserunt error occaecati consequatur.', 'Rerum doloremque possimus molestiae est omnis dolorem libero. Ad at harum porro. Earum vero voluptatibus in aliquam vitae optio aut. Exercitationem similique recusandae ex et itaque fugiat.', 3, 12, 60633, NULL, '6e7a12f4ece181a3da1ee53bd1d00630a7694589'),
('Ut et impedit eos enim.', 'Facilis reiciendis omnis consequatur vitae culpa eum in. Omnis corporis quae accusantium neque. Vel velit suscipit quae a asperiores ab aut. Assumenda facere qui optio accusantium mollitia.', 1, 54, 2177836, NULL, '8624ae23ce8aeb7da20410b60e97e9d4823202e7'),
('Ut fugit voluptatem fuga quod nulla quos delectus.', 'Omnis asperiores inventore maxime vero animi quia. Mollitia aliquam eveniet repudiandae eveniet sed. Et voluptatem repellat error.', 1, 49, 98, NULL, '01684713fd268bce428a763005844db78c3cc19e'),
('Ut inventore quo aut velit voluptas cum consequatur.', 'Repellat ut dolores velit et exercitationem qui. Incidunt necessitatibus reiciendis soluta qui dolores voluptatem. Recusandae qui eius reiciendis minus.', 2, 6, 46931, NULL, '30f76a0a21951e76f1d2fda06f1f40e466379332'),
('Ut maiores alias magnam velit eum non in ea.', 'Est magnam aut beatae et ipsam explicabo. Cum ut quae molestiae qui sunt corporis harum tempore. Magni et commodi cumque velit officiis. Occaecati rerum iure quisquam et nobis.', 3, 78, 0, NULL, '7e8034b61fb284e47ad978fd92d56bffbe98bfeb'),
('Ut maxime sed repellendus dolorem veniam omnis.', 'Provident suscipit atque sunt sit illum atque. Dolores iste odio praesentium a eum. Sed sed dolore corrupti quod qui enim. Qui veritatis in incidunt tenetur vel pariatur ratione sunt.', 3, 78, 93, NULL, '4a307f4581987cb644f0e97fe350a1c3e6135d9e'),
('Ut nulla occaecati eos est id sequi quam.', 'Blanditiis voluptatibus debitis dolores sint qui itaque. Sit et eum dolorem est quas. Sit distinctio culpa quibusdam molestiae repellat.', 2, 58, 10, NULL, '2952d525cc009f7fa73b8e0745084ef06c1783df'),
('Ut odio deleniti velit temporibus quia optio.', 'Sed quisquam aut omnis voluptas unde. Dolore ut laborum exercitationem excepturi eaque quam. Quidem aut praesentium dolorem fuga. Quod quas accusantium ut optio nam nostrum velit.', 3, 32, 4, NULL, '09221b47a4073ef51542f3c5e95d6168bd33f969'),
('Ut voluptatum quaerat tempore nihil quis occaecati id earum doloremque.', 'Ad enim qui consequatur delectus. Consequatur ex suscipit repellendus qui nihil aut. Sequi occaecati nostrum aperiam est nesciunt voluptatibus reiciendis.', 1, 25, 1, NULL, '36ff2db47e59fa21b743f4c3d2525cb1451b1207'),
('Vel architecto necessitatibus qui quis.', 'Ut et est vel quam praesentium. Earum maxime laudantium officia sed. Voluptatem quidem molestiae eum dicta omnis assumenda.', 2, 14, 156060127, NULL, '83237a81be04911cc849c703727e00e9aea9adeb'),
('Vel commodi illo eos rerum omnis.', 'Nam ipsum voluptatem sed ut quis repudiandae eum. Perferendis et magni quos et nulla. Sed ipsa voluptas aut necessitatibus.', 2, 30, 669, NULL, '17ed170740441f83f428f29ea3f01a5daf2ff2d9'),
('Vel quaerat et possimus quasi qui ea eos.', 'Nemo et velit delectus omnis debitis doloribus. Qui dolore quidem dolores ut. Sunt alias accusamus in fugiat.', 3, 50, 715557, NULL, '5cb333740c4e584c0ddc7ad6623a89a840787d01'),
('Vel ut accusamus praesentium nihil fugit iure.', 'Asperiores veniam qui distinctio temporibus et optio. Molestiae labore tempore optio repudiandae. Ut illum autem odit animi repellat qui quisquam debitis.', 2, 83, 648971236, NULL, '0194ed0d24782428ba4092c2c833a54a8f2d37e3'),
('Vel velit et fugiat atque consequatur corporis necessitatibus sequi.', 'Ullam debitis velit aut quis doloribus. Occaecati quod voluptas qui voluptas sed totam et. Ad consequatur est placeat cumque.', 1, 22, 0, NULL, '9cdaba58036d361c006d0888bb74e295363fa73c'),
('Velit corrupti rerum occaecati nesciunt qui inventore sapiente.', 'Beatae aut officiis minima voluptatem animi in. Cum id incidunt quia non. Cupiditate et praesentium sit rerum. Perferendis voluptatem natus recusandae quisquam maiores tempora corporis.', 2, 47, 95, NULL, '68a4f4675742682aed12e47c355ba2ec698587c1'),
('Velit dolor ut enim harum esse vero ut voluptatum necessitatibus.', 'Et atque adipisci ab quibusdam cupiditate. Officia corrupti magnam nam corporis reiciendis sint placeat blanditiis. Ea ratione id quia dolorum repellat quae eaque. Libero eos dolores harum et in suscipit.', 2, 100, 85310224, NULL, '8914f162bd7b51e9041fc1a4ad2671aa491ab30d'),
('Velit dolorem et ipsum sit quis soluta.', 'Explicabo tenetur occaecati veniam nemo. Ut neque sapiente minus veritatis. Voluptatibus laborum iste voluptas at cumque incidunt. Ut corrupti veritatis quos et. Eos aut id error voluptatem voluptatum minima.', 1, 6, 424, NULL, '4b2da2cfb6a630f0ced76474b53a4ec77c46fc12'),
('Velit excepturi sit numquam omnis facere quisquam.', 'Dignissimos tempora nostrum minima officia numquam excepturi commodi. Ut cupiditate eos in nemo quibusdam. Dignissimos omnis aperiam aut aut.', 2, 1, 938850405, NULL, '2aa775fd4bb3d383d1ad7b405464328ddc1e10ad'),
('Velit odit dolorem soluta est.', 'Asperiores sint asperiores incidunt quas sapiente. Consequatur ut ipsum temporibus. Qui amet recusandae dolor illum cum recusandae officia fugiat. Consequatur velit ea itaque eaque sit.', 2, 80, 3075221, NULL, '487585ea067cc6e2eca9dcf4658dbaa581e7f319'),
('Velit officia quia culpa molestias.', 'Ut esse natus harum ipsam quidem. Quis labore rerum suscipit. Suscipit distinctio quod voluptas sunt qui. Reprehenderit voluptatem aspernatur exercitationem quo.', 1, 37, 158772, NULL, '54ab7ca25140048d163cfbdaf6eefacf18cf55b9'),
('Velit quibusdam laudantium quo eius facilis expedita.', 'Sed quos sunt non dolor id voluptate quas. Repellat maiores dolor corporis eos voluptatem quo beatae.', 3, 91, 472, NULL, '0fc8304bf26bf0393a93c47172fdaa3b6f1efa1d'),
('Velit rerum ullam sunt voluptas.', 'Id eos est sit nulla dicta cupiditate aut perspiciatis. Molestiae quis consequuntur ab reiciendis vitae enim sed veniam. Sunt reiciendis temporibus nesciunt non minima ipsum doloribus.', 3, 15, 0, NULL, '8f558c9b6f3b6fb07025fd4ac72885e043827d97'),
('Velit ullam consequatur vel facere est quibusdam quo a.', 'Placeat ea eius molestiae quaerat et soluta molestiae. Ut assumenda accusamus exercitationem qui. Quia aut odio voluptas voluptatem laudantium.', 3, 95, 4, NULL, '112dd5f6395e4c3f67226c0ae4bfd02c97126670'),
('Veniam autem fugit ipsam reprehenderit nostrum.', 'Optio nesciunt commodi voluptas corrupti. Ut natus sunt atque non esse. Qui sed doloribus quia recusandae qui.', 1, 19, 1833322, NULL, '0c3468d2589fe9d56f7c122bd107402136540d1c'),
('Veritatis eos minima quibusdam sequi id.', 'Est corrupti temporibus dolores vel sed. Ut sed beatae optio eaque in qui. Qui accusamus hic unde eius qui libero ut est. Deleniti et totam quia accusantium quis reprehenderit ipsa. Voluptatem quibusdam rerum expedita tempore quod.', 1, 14, 36, NULL, '0d0c896e30726370a54c89f993b65aaa1c146ebd'),
('Voluptas est dolores deleniti asperiores qui et et illo.', 'Inventore voluptates est cum. Accusamus aut velit molestiae molestiae debitis nostrum consectetur. Est asperiores tenetur optio earum dolore. Saepe et rerum quidem.', 2, 51, 0, NULL, '45bc77f38f87b97ebb68a62dbde6df33b7b7e9ca'),
('Voluptas magni necessitatibus suscipit omnis reiciendis consequuntur.', 'Laudantium soluta ea omnis sed harum eveniet similique. Dolore ut aut voluptatem accusantium. Assumenda debitis odio ad iusto. Ea aut ea repellat totam velit optio.', 2, 12, 3, NULL, '626ac7aad96b25533358a275c2ffad24341e21d7'),
('Voluptas modi tempora cum voluptatibus itaque non dolorum.', 'Odio reprehenderit officia aut. Magni non velit repudiandae amet sint deleniti cupiditate id. Laboriosam quam eius in eligendi aut ut. Tenetur ex et amet. Unde veniam distinctio sequi molestiae iusto accusamus.', 2, 45, 63619651, NULL, '99788475d5f9c0ad994ab58c3cb2351c4dc16943'),
('Voluptas tempora voluptates quia maiores ratione neque.', 'Impedit ea accusamus eaque non iure possimus dolorem. Nihil sapiente corrupti nihil nobis sapiente voluptatem. Rerum quos fuga numquam est dolores quibusdam.', 1, 41, 539, NULL, '61058471cd4deb56ca7dc27d6392faf3cb0030ea'),
('Voluptate harum enim architecto et et architecto dolorem.', 'Autem dolores modi qui odio consequatur. Aspernatur mollitia quae vel non iure debitis ut. Non accusantium qui autem exercitationem quam molestias.', 2, 43, 21, NULL, '2345958e6563a8b35f6faa6fcca5b59d45de661b'),
('Voluptatem ea amet reprehenderit voluptatibus.', 'Architecto nam architecto dignissimos et nulla reiciendis consequatur. Dolores ad quos necessitatibus non quo dolores aut fugiat. Natus et enim neque eveniet rem optio omnis et.', 1, 77, 85944, NULL, '25c0d2d7d8d9f1283e90a13ca35dac4d23630982'),
('Voluptatem eaque illo modi qui.', 'Beatae dignissimos aut voluptas culpa et neque. Fugiat laborum ullam sed. Amet facilis molestiae enim quas exercitationem molestiae.', 1, 86, 681, NULL, '4bcc95550f1edfb6ee468ae7c252335b1daaf8c4'),
('Voluptatem eum est labore ut libero delectus est.', 'Natus aut eaque nesciunt adipisci asperiores dolorem laudantium. Rerum et et et officia. Sunt neque reiciendis velit aut accusamus laborum. Perspiciatis vel sed eum delectus ratione ea odit alias. Velit similique fuga eos odio saepe.', 1, 56, 0, NULL, '12084ac9a94badb3d41085a52d4e8adcd0698082'),
('Voluptatem facilis nam sint impedit aliquam ex eaque nihil eos.', 'Dolore non eligendi aut non omnis. Alias quia sit nisi qui rerum deleniti dolorem. Ut necessitatibus eligendi eos quia. Nulla nam est provident facere dolorum.', 1, 20, 33908535, NULL, '325d381f8f4dbc5de44000bac835a2b8d317efd1'),
('Voluptatem id deleniti officiis fuga aperiam veniam ut.', 'Quis aut ducimus sunt omnis tempora autem sit. Quisquam fugit voluptates at ad. Omnis iure aut quod facere reiciendis est. Consectetur aut ut veritatis accusamus.', 3, 5, 0, NULL, '2bc72a04269bb0fe2a58e0ceb5ada74c86853196'),
('Voluptatem modi minima voluptas nisi officiis aspernatur sint.', 'Et error amet nihil rerum excepturi sed. Fugit velit nisi non. Inventore quia quod eius. Tenetur consequatur vitae doloribus iste dolor qui.', 1, 58, 0, NULL, '8f46f99e7fc65b5940477d52d5e29b58f571a519'),
('Voluptatem quam voluptas assumenda recusandae doloremque.', 'Voluptatem magnam quae sequi repellendus qui molestiae repellat. Placeat accusantium aliquam ut quas vel vel non. Est hic ut dolorem esse omnis.', 3, 3, 91959704, NULL, '97853797861cf925c496bfe9c299c46872e100c2'),
('Voluptatem sapiente voluptatem dolor ut excepturi expedita.', 'Dolorum optio dolor aperiam ut vel eaque. Dolorum sunt quod qui similique omnis.', 3, 94, 11245, NULL, '4851fac577b750092670b4236f7416d4c4bdab60'),
('Voluptatem soluta deserunt asperiores quas dolores.', 'Nesciunt fugit ea veritatis est illo. Et magni animi quasi rem eveniet deleniti non.', 2, 99, 980336085, NULL, '0222050792c3e47b7d6324560c4a8d9efdf045df'),
('Voluptatem voluptatem consequuntur ducimus ad labore quas quo.', 'Facere est non possimus reiciendis illo id labore alias. In et aliquam enim voluptas repudiandae aliquid aut. Qui quis sit voluptatem ut cum provident est.', 3, 82, 808542476, NULL, '189ebe939ee9303edfc424b5a7636a3c1635b285'),
('Voluptatum assumenda odio omnis corporis occaecati.', 'Aspernatur omnis asperiores magnam consequatur inventore. Temporibus qui et et repellat provident non. Quas repudiandae vel nihil sit.', 1, 60, 6033777, NULL, '0b27181b18998e9dac3e2122a1067d31bbbea1e8'),
('Voluptatum consequatur neque et esse odio pariatur.', 'Sit iste qui laboriosam id amet. Numquam ipsam et voluptatum inventore rerum. Sed est dolorum ipsum cumque dolor. Sunt odio corporis minus et et accusamus fugit fugit.', 3, 47, 79216216, NULL, '782b32c974ab41bce87ed5be7f0d0430f485039c'),
('Voluptatum debitis ex minus quaerat ut necessitatibus similique similique est.', 'Ipsum repudiandae assumenda unde dicta. Repudiandae labore molestiae perspiciatis alias id voluptatem occaecati. Sit ea eum animi est atque ut dolorem id.', 2, 73, 9057544, NULL, '397648a8782bf11c0b94031526008d1f57000d16');
INSERT INTO city (name) VALUES
('Абаза'),('Абакан'),('Абдулино'),('Абинск'),('Агидель'),('Агрыз'),
('Адыгейск'),('Азнакаево'),('Азов'),('Ак-Довурак'),('Аксай'),('Алагир'),
('Алапаевск'),('Алатырь'),('Алдан'),('Алейск'),('Александров'),('Александровск'),
('Александровск-Сахалинский'),('Алексеевка'),('Алексин'),('Алзамай'),('Алупка'),
('Алушта'),('Альметьевск'),('Амурск'),('Анадырь'),('Анапа'),('Ангарск'),('Андреаполь'),
('Анжеро-Судженск'),('Анива'),('Апатиты'),('Апрелевка'),('Апшеронск'),('Арамиль'),
('Аргун'),('Ардатов'),('Ардон'),('Арзамас'),('Аркадак'),('Армавир'),('Армянск'),
('Арсеньев'),('Арск'),('Артём'),('Артёмовск'),('Артёмовский'),('Архангельск'),
('Асбест'),('Асино'),('Астрахань'),('Аткарск'),('Ахтубинск'),('Ачинск'),('Аша'),
('Бабаево'),('Бабушкин'),('Бавлы'),('Багратионовск'),('Байкальск'),('Баймак'),
('Бакал'),('Баксан'),('Балабаново'),('Балаково'),('Балахна'),('Балашиха'),('Балашов'),
('Балей'),('Балтийск'),('Барабинск'),('Барнаул'),('Барыш'),('Батайск'),('Бахчисарай'),
('Бежецк'),('Белая Калитва'),('Белая Холуница'),('Белгород'),('Белебей'),('Белёв'),
('Белинский'),('Белово'),('Белогорск'),('Белогорск'),('Белозерск'),('Белокуриха'),
('Беломорск'),('Белоозёрский'),('Белорецк'),('Белореченск'),('Белоусово'),('Белоярский'),
('Белый'),('Бердск'),('Березники'),('Берёзовский'),('Берёзовский'),('Беслан'),('Бийск'),
('Бикин'),('Билибино'),('Биробиджан'),('Бирск'),('Бирюсинск'),('Бирюч'),('Благовещенск'),
('Благовещенск'),('Благодарный'),('Бобров'),('Богданович'),('Богородицк'),('Богородск'),
('Боготол'),('Богучар'),('Бодайбо'),('Бокситогорск'),('Болгар'),('Бологое'),('Болотное'),
('Болохово'),('Болхов'),('Большой Камень'),('Бор'),('Борзя'),('Борисоглебск'),('Боровичи'),
('Боровск'),('Бородино'),('Братск'),('Бронницы'),('Брянск'),('Бугульма'),('Бугуруслан'),
('Будённовск'),('Бузулук'),('Буинск'),('Буй'),('Буйнакск'),('Бутурлиновка'),('Валдай'),
('Валуйки'),('Велиж'),('Великие Луки'),('Великий Новгород'),('Великий Устюг'),('Вельск'),
('Венёв'),('Верещагино'),('Верея'),('Верхнеуральск'),('Верхний Тагил'),('Верхний Уфалей'),
('Верхняя Пышма'),('Верхняя Салда'),('Верхняя Тура'),('Верхотурье'),('Верхоянск'),
('Весьегонск'),('Ветлуга'),('Видное'),('Вилюйск'),('Вилючинск'),('Вихоревка'),('Вичуга'),
('Владивосток'),('Владикавказ'),('Владимир'),('Волгоград'),('Волгодонск'),('Волгореченск'),
('Волжск'),('Волжский'),('Вологда'),('Володарск'),('Волоколамск'),('Волосово'),('Волхов'),
('Волчанск'),('Вольск'),('Воркута'),('Воронеж'),('Ворсма'),('Воскресенск'),('Воткинск'),
('Всеволожск'),('Вуктыл'),('Выборг'),('Выкса'),('Высоковск'),('Высоцк'),('Вытегра'),
('Вышний Волочёк'),('Вяземский'),('Вязники'),('Вязьма'),('Вятские Поляны'),('Гаврилов Посад'),
('Гаврилов-Ям'),('Гагарин'),('Гаджиево'),('Гай'),('Галич'),('Гатчина'),('Гвардейск'),
('Гдов'),('Геленджик'),('Георгиевск'),('Глазов'),('Голицыно'),('Горбатов'),('Горно-Алтайск'),
('Горнозаводск'),('Горняк'),('Городец'),('Городище'),('Городовиковск'),('Гороховец'),
('Горячий Ключ'),('Грайворон'),('Гремячинск'),('Грозный'),('Грязи'),('Грязовец'),('Губаха'),
('Губкин'),('Губкинский'),('Гудермес'),('Гуково'),('Гулькевичи'),('Гурьевск'),('Гурьевск'),
('Гусев'),('Гусиноозёрск'),('Гусь-Хрустальный'),('Давлеканово'),('Дагестанские Огни'),
('Далматово'),('Дальнегорск'),('Дальнереченск'),('Данилов'),('Данков'),('Дегтярск'),('Дедовск'),
('Демидов'),('Дербент'),('Десногорск'),('Джанкой'),('Дзержинск'),('Дзержинский'),('Дивногорск'),
('Дигора'),('Димитровград'),('Дмитриев'),('Дмитров'),('Дмитровск'),('Дно'),('Добрянка'),
('Долгопрудный'),('Долинск'),('Домодедово'),('Донецк'),('Донской'),('Дорогобуж'),('Дрезна'),
('Дубна'),('Дубовка'),('Дудинка'),('Духовщина'),('Дюртюли'),('Дятьково'),('Евпатория'),
('Егорьевск'),('Ейск'),('Екатеринбург'),('Елабуга'),('Елец'),('Елизово'),('Ельня'),('Еманжелинск'),
('Емва'),('Енисейск'),('Ермолино'),('Ершов'),('Ессентуки'),('Ефремов'),('Железноводск'),
('Железногорск'),('Железногорск'),('Железногорск-Илимский'),('Жердевка'),('Жигулёвск'),
('Жиздра'),('Жирновск'),('Жуков'),('Жуковка'),('Жуковский'),('Завитинск'),('Заводоуковск'),
('Заволжск'),('Заволжье'),('Задонск'),('Заинск'),('Закаменск'),('Заозёрный'),('Заозёрск'),
('Западная Двина'),('Заполярный'),('Зарайск'),('Заречный'),('Заречный'),('Заринск'),
('Звенигово'),('Звенигород'),('Зверево'),('Зеленогорск'),('Зеленоградск'),('Зеленодольск'),
('Зеленокумск'),('Зерноград'),('Зея'),('Зима'),('Златоуст'),('Злынка'),('Змеиногорск'),
('Знаменск'),('Зубцов'),('Зуевка'),('Ивангород'),('Иваново'),('Ивантеевка'),('Ивдель'),
('Игарка'),('Ижевск'),('Избербаш'),('Изобильный'),('Иланский'),('Инза'),('Иннополис'),('Инсар'),
('Инта'),('Ипатово'),('Ирбит'),('Иркутск'),('Исилькуль'),('Искитим'),('Истра'),('Ишим'),
('Ишимбай'),('Йошкар-Ола'),('Кадников'),('Казань'),('Калач'),('Калач-на-Дону'),('Калачинск'),
('Калининград'),('Калининск'),('Калтан'),('Калуга'),('Калязин'),('Камбарка'),('Каменка'),
('Каменногорск'),('Каменск-Уральский'),('Каменск-Шахтинский'),('Камень-на-Оби'),('Камешково'),
('Камызяк'),('Камышин'),('Камышлов'),('Канаш'),('Кандалакша'),('Канск'),('Карабаново'),
('Карабаш'),('Карабулак'),('Карасук'),('Карачаевск'),('Карачев'),('Каргат'),('Каргополь'),
('Карпинск'),('Карталы'),('Касимов'),('Касли'),('Каспийск'),('Катав-Ивановск'),('Катайск'),
('Качканар'),('Кашин'),('Кашира'),('Кедровый'),('Кемерово'),('Кемь'),('Керчь'),('Кизел'),
('Кизилюрт'),('Кизляр'),('Кимовск'),('Кимры'),('Кингисепп'),('Кинель'),('Кинешма'),('Киреевск'),
('Киренск'),('Киржач'),('Кириллов'),('Кириши'),('Киров'),('Киров'),('Кировград'),('Кирово-Чепецк'),
('Кировск'),('Кировск'),('Кирс'),('Кирсанов'),('Киселёвск'),('Кисловодск'),('Клин'),('Клинцы'),
('Княгинино'),('Ковдор'),('Ковров'),('Ковылкино'),('Когалым'),('Кодинск'),('Козельск'),
('Козловка'),('Козьмодемьянск'),('Кола'),('Кологрив'),('Коломна'),('Колпашево'),('Кольчугино'),
('Коммунар'),('Комсомольск'),('Комсомольск-на-Амуре'),('Конаково'),('Кондопога'),('Кондрово'),
('Константиновск'),('Копейск'),('Кораблино'),('Кореновск'),('Коркино'),('Королёв'),('Короча'),
('Корсаков'),('Коряжма'),('Костерёво'),('Костомукша'),('Кострома'),('Котельники'),('Котельниково'),
('Котельнич'),('Котлас'),('Котово'),('Котовск'),('Кохма'),('Красавино'),('Красноармейск'),
('Красноармейск'),('Красновишерск'),('Красногорск'),('Краснодар'),('Краснозаводск'),
('Краснознаменск'),('Краснознаменск'),('Краснокаменск'),('Краснокамск'),('Красноперекопск'),
('Краснослободск'),('Краснослободск'),('Краснотурьинск'),('Красноуральск'),('Красноуфимск'),
('Красноярск'),('Красный Кут'),('Красный Сулин'),('Красный Холм'),('Кремёнки'),('Кропоткин'),
('Крымск'),('Кстово'),('Кубинка'),('Кувандык'),('Кувшиново'),('Кудрово'),('Кудымкар'),('Кузнецк'),
('Куйбышев'),('Кукмор'),('Кулебаки'),('Кумертау'),('Кунгур'),('Купино'),('Курган'),('Курганинск'),
('Курильск'),('Курлово'),('Куровское'),('Курск'),('Куртамыш'),('Курчалой'),('Курчатов'),('Куса'),
('Кушва'),('Кызыл'),('Кыштым'),('Кяхта'),('Лабинск'),('Лабытнанги'),('Лагань'),('Ладушкин'),
('Лаишево'),('Лакинск'),('Лангепас'),('Лахденпохья'),('Лебедянь'),('Лениногорск'),('Ленинск'),
('Ленинск-Кузнецкий'),('Ленск'),('Лермонтов'),('Лесной'),('Лесозаводск'),('Лесосибирск'),('Ливны'),
('Ликино-Дулёво'),('Липецк'),('Липки'),('Лиски'),('Лихославль'),('Лобня'),('Лодейное Поле'),
('Лосино-Петровский'),('Луга'),('Луза'),('Лукоянов'),('Луховицы'),('Лысково'),('Лысьва'),
('Лыткарино'),('Льгов'),('Любань'),('Люберцы'),('Любим'),('Людиново'),('Лянтор'),('Магадан'),
('Магас'),('Магнитогорск'),('Майкоп'),('Майский'),('Макаров'),('Макарьев'),('Макушино'),
('МалаяВишера'),('Малгобек'),('Малмыж'),('Малоархангельск'),('Малоярославец'),('Мамадыш'),
('Мамоново'),('Мантурово'),('Мариинск'),('Мариинский Посад'),('Маркс'),('Махачкала'),('Мглин'),
('Мегион'),('Медвежьегорск'),('Медногорск'),('Медынь'),('Межгорье'),('Междуреченск'),('Мезень'),
('Меленки'),('Мелеуз'),('Менделеевск'),('Мензелинск'),('Мещовск'),('Миасс'),('Микунь'),('Миллерово'),
('Минеральные Воды'),('Минусинск'),('Миньяр'),('Мирный'),('Мирный'),('Михайлов'),('Михайловка'),
('Михайловск'),('Михайловск'),('Мичуринск'),('Могоча'),('Можайск'),('Можга'),('Моздок'),('Мончегорск'),
('Морозовск'),('Моршанск'),('Мосальск'),('Москва'),('Муравленко'),('Мураши'),('Мурино'),('Мурманск'),
('Муром'),('Мценск'),('Мыски'),('Мытищи'),('Мышкин'),('Набережные Челны'),('Навашино'),('Наволоки'),
('Надым'),('Назарово'),('Назрань'),('Называевск'),('Нальчик'),('Нариманов'),('Наро-Фоминск'),
('Нарткала'),('Нарьян-Мар'),('Находка'),('Невель'),('Невельск'),('Невинномысск'),('Невьянск'),
('Нелидово'),('Неман'),('Нерехта'),('Нерчинск'),('Нерюнгри'),('Нестеров'),('Нефтегорск'),('Нефтекамск'),
('Нефтекумск'),('Нефтеюганск'),('Нея'),('Нижневартовск'),('Нижнекамск'),('Нижнеудинск'),('Нижние Серги'),
('Нижний Ломов'),('Нижний Новгород'),('Нижний Тагил'),('Нижняя Салда'),('Нижняя Тура'),('Николаевск'),
('Николаевск-на-Амуре'),('Никольск'),('Никольск'),('Никольское'),('Новая Ладога'),('Новая Ляля'),
('Новоалександровск'),('Новоалтайск'),('Новоаннинский'),('Нововоронеж'),('Новодвинск'),('Новозыбков'),
('Новокубанск'),('Новокузнецк'),('Новокуйбышевск'),('Новомичуринск'),('Новомосковск'),('Новопавловск'),
('Новоржев'),('Новороссийск'),('Новосибирск'),('Новосиль'),('Новосокольники'),('Новотроицк'),
('Новоузенск'),('Новоульяновск'),('Новоуральск'),('Новохопёрск'),('Новочебоксарск'),('Новочеркасск'),
('Новошахтинск'),('Новый Оскол'),('Новый Уренгой'),('Ногинск'),('Нолинск'),('Норильск'),('Ноябрьск'),
('Нурлат'),('Нытва'),('Нюрба'),('Нягань'),('Нязепетровск'),('Няндома'),('Облучье'),('Обнинск'),
('Обоянь'),('Обь'),('Одинцово'),('Озёрск'),('Озёры'),('Октябрьск'),('Октябрьский'),('Окуловка'),
('Олёкминск'),('Оленегорск'),('Олонец'),('Омск'),('Омутнинск'),('Онега'),('Опочка'),('Орёл'),
('Оренбург'),('Орехово-Зуево'),('Орлов'),('Орск'),('Оса'),('Осинники'),('Осташков'),('Остров'),
('Островной'),('Острогожск'),('Отрадное'),('Отрадный'),('Оха'),('Оханск'),('Очёр'),('Павлово'),
('Павловск'),('Павловский Посад'),('Палласовка'),('Партизанск'),('Певек'),('Пенза'),('Первомайск'),
('Первоуральск'),('Перевоз'),('Пересвет'),('Переславль-Залесский'),('Пермь'),('Пестово'),('ПетровВал'),
('Петровск'),('Петровск-Забайкальский'),('Петрозаводск'),('Петропавловск-Камчатский'),('Петухово'),
('Петушки'),('Печора'),('Печоры'),('Пикалёво'),('Пионерский'),('Питкяранта'),('Плавск'),('Пласт'),
('Плёс'),('Поворино'),('Подольск'),('Подпорожье'),('Покачи'),('Покров'),('Покровск'),('Полевской'),
('Полесск'),('Полысаево'),('Полярные Зори'),('Полярный'),('Поронайск'),('Порхов'),('Похвистнево'),
('Почеп'),('Починок'),('Пошехонье'),('Правдинск'),('Приволжск'),('Приморск'),('Приморск'),
('Приморско-Ахтарск'),('Приозерск'),('Прокопьевск'),('Пролетарск'),('Протвино'),('Прохладный'),
('Псков'),('Пугачёв'),('Пудож'),('Пустошка'),('Пучеж'),('Пушкино'),('Пущино'),('Пыталово'),
('Пыть-Ях'),('Пятигорск'),('Радужный'),('Радужный'),('Райчихинск'),('Раменское'),('Рассказово'),
('Ревда'),('Реж'),('Реутов'),('Ржев'),('Родники'),('Рославль'),('Россошь'),('Ростов-на-Дону'),
('Ростов'),('Рошаль'),('Ртищево'),('Рубцовск'),('Рудня'),('Руза'),('Рузаевка'),('Рыбинск'),
('Рыбное'),('Рыльск'),('Ряжск'),('Рязань'),('Саки'),('Салават'),('Салаир'),('Салехард'),
('Сальск'),('Самара'),('Санкт-Петербург'),('Саранск'),('Сарапул'),('Саратов'),('Саров'),('Сасово'),
('Сатка'),('Сафоново'),('Саяногорск'),('Саянск'),('Светлогорск'),('Светлоград'),('Светлый'),
('Светогорск'),('Свирск'),('Свободный'),('Себеж'),('Севастополь'),('Северо-Курильск'),
('Северобайкальск'),('Северодвинск'),('Североморск'),('Североуральск'),('Северск'),('Севск'),
('Сегежа'),('Сельцо'),('Семёнов'),('Семикаракорск'),('Семилуки'),('Сенгилей'),('Серафимович'),
('Сергач'),('Сергиев Посад'),('Сердобск'),('Серов'),('Серпухов'),('Сертолово'),('Сибай'),('Сим'),
('Симферополь'),('Сковородино'),('Скопин'),('Славгород'),('Славск'),('Славянск-на-Кубани'),
('Сланцы'),('Слободской'),('Слюдянка'),('Смоленск'),('Снежинск'),('Снежногорск'),('Собинка'),
('Советск'),('Советск'),('Советск'),('Советская Гавань'),('Советский'),('Сокол'),('Солигалич'),
('Соликамск'),('Солнечногорск'),('Соль-Илецк'),('Сольвычегодск'),('Сольцы'),('Сорочинск'),
('Сорск'),('Сортавала'),('Сосенский'),('Сосновка'),('Сосновоборск'),('Сосновый Бор'),
('Сосногорск'),('Сочи'),('Спас-Деменск'),('Спас-Клепики'),('Спасск'),('Спасск-Дальний'),
('Спасск-Рязанский'),('Среднеколымск'),('Среднеуральск'),('Сретенск'),('Ставрополь'),
('Старая Купавна'),('Старая Русса'),('Старица'),('Стародуб'),('Старый Крым'),('Старый Оскол'),
('Стерлитамак'),('Стрежевой'),('Строитель'),('Струнино'),('Ступино'),('Суворов'),('Судак'),
('Суджа'),('Судогда'),('Суздаль'),('Сунжа'),('Суоярви'),('Сураж'),('Сургут'),('Суровикино'),
('Сурск'),('Сусуман'),('Сухиничи'),('Сухой Лог'),('Сызрань'),('Сыктывкар'),('Сысерть'),
('Сычёвка'),('Сясьстрой'),('Тавда'),('Таганрог'),('Тайга'),('Тайшет'),('Талдом'),('Талица'),
('Тамбов'),('Тара'),('Тарко-Сале'),('Таруса'),('Татарск'),('Таштагол'),('Тверь'),('Теберда'),
('Тейково'),('Темников'),('Темрюк'),('Терек'),('Тетюши'),('Тимашёвск'),('Тихвин'),('Тихорецк'),
('Тобольск'),('Тогучин'),('Тольятти'),('Томари'),('Томмот'),('Томск'),('Топки'),('Торжок'),
('Торопец'),('Тосно'),('Тотьма'),('Трёхгорный'),('Троицк'),('Трубчевск'),('Туапсе'),('Туймазы'),
('Тула'),('Тулун'),('Туран'),('Туринск'),('Тутаев'),('Тында'),('Тырныауз'),('Тюкалинск'),
('Тюмень'),('Уварово'),('Углегорск'),('Углич'),('Удачный'),('Удомля'),('Ужур'),('Узловая'),
('Улан-Удэ'),('Ульяновск'),('Унеча'),('Урай'),('Урень'),('Уржум'),('Урус-Мартан'),('Урюпинск'),
('Усинск'),('Усмань'),('Усолье-Сибирское'),('Усолье'),('Уссурийск'),('Усть-Джегута'),
('Усть-Илимск'),('Усть-Катав'),('Усть-Кут'),('Усть-Лабинск'),('Устюжна'),('Уфа'),('Ухта'),
('Учалы'),('Уяр'),('Фатеж'),('Феодосия'),('Фокино'),('Фокино'),('Фролово'),('Фрязино'),
('Фурманов'),('Хабаровск'),('Хадыженск'),('Ханты-Мансийск'),('Харабали'),('Харовск'),
('Хасавюрт'),('Хвалынск'),('Хилок'),('Химки'),('Холм'),('Холмск'),('Хотьково'),('Цивильск'),
('Цимлянск'),('Циолковский'),('Чадан'),('Чайковский'),('Чапаевск'),('Чаплыгин'),('Чебаркуль'),
('Чебоксары'),('Чегем'),('Чекалин'),('Челябинск'),('Чердынь'),('Черемхово'),('Черепаново'),
('Череповец'),('Черкесск'),('Чёрмоз'),('Черноголовка'),('Черногорск'),('Чернушка'),
('Черняховск'),('Чехов'),('Чистополь'),('Чита'),('Чкаловск'),('Чудово'),('Чулым'),('Чусовой'),
('Чухлома'),('Шагонар'),('Шадринск'),('Шали'),('Шарыпово'),('Шарья'),('Шатура'),('Шахты'),
('Шахунья'),('Шацк'),('Шебекино'),('Шелехов'),('Шенкурск'),('Шилка'),('Шимановск'),
('Шиханы'),('Шлиссельбург'),('Шумерля'),('Шумиха'),('Шуя'),('Щёкино'),('Щёлкино'),('Щёлково'),
('Щигры'),('Щучье'),('Электрогорск'),('Электросталь'),('Электроугли'),('Элиста'),('Энгельс'),
('Эртиль'),('Югорск'),('Южа'),('Южно-Сахалинск'),('Южно-Сухокумск'),('Южноуральск'),('Юрга'),
('Юрьев-Польский'),('Юрьевец'),('Юрюзань'),('Юхнов'),('Ядрин'),('Якутск'),('Ялта'),
('Ялуторовск'),('Янаул'),('Яранск'),('Яровое'),('Ярославль'),('Ярцево'),('Ясногорск'),
('Ясный'),('Яхрома');
SET @i:=0;
INSERT INTO profiles (user_id, last_name, first_name, middle_name, gender, birthday, city_id, photo_id)
SELECT @i:=@i+1 AS user_id, last_name, first_name, middle_name, gender, birthday, city_id, ROUND(RAND()*449 + 1) AS photo_id FROM filldb.get_fullname;
INSERT INTO classifier (code, name, parent_id) VALUES
('2','Естественные науки (естествознание)',NULL),
('20.1','Человек и окружающая среда. Экология человека. Экология в целом',1),
('20.18','Рациональное природопользование. Охрана природы',1),
('20.3','Аномальные явления в окружающей среде. Уфология',1),
('22','Физико-математические науки',1),
('22.1','Математика',5),
('22.1я92','Занимательная математика',5),
('22.14','Алгебра',5),
('22.15','Геометрия',5),
('22.3','Физика',5),
('22.3я92','Занимательная физика',5),
('22.6','Астрономия',5),
('24','Химические науки',1),
('24.я92','Занимательная химия',13),
('24.1','Общая и неорганическая химия',13),
('24.2','Органическая химия',13),
('26','Науки о Земле (геодезия, геофизика, геология и география)',1),
('26.1','Геодезия (наука об определении формы и размеров Земли и об измерениях на местности). Картография (наука о составлении и использовании карт)',17),
('26.23','Метеорология. Погода и ее предсказания',17),
('26.3','Геология (наука о составе, строении и истории земной коры)',17),
('26.8','География',17),
('26.8я6','Географические карты и атласы',17),
('26.8я92','Занимательная география',17),
('26.89(2)','Россия. СССР',17),
('26.89(2-2 Москва)','Москва',17),
('26.89(4)','Европа',17),
('26.89(5)','Азия',17),
('26.89(6)','Африка',17),
('26.89(7)','Америка',17),
('26.89(8)','Австралия и Океания',17),
('26.89(9)','Океаны и моря. Мировой океан',17),
('28','Биологические науки (науки о живой природе)',1),
('28.0','Общая биология',32),
('28.08','Общая экология. Охрана природы, заповедники',32),
('28.1','Палеонтология (наука об ископаемых животных и растениях)',32),
('28.5','Ботаника (наука о растениях)',32),
('28.6','Зоология (наука о животных)',32),
('28.7','Биология человека. Антропология',32),
('3','Техника. Технические науки',NULL),
('30','Техника и технические науки в целом',39),
('30н','Техника безопасности',39),
('30я92','Технические самоделки',39),
('30.11','Черчение',39),
('32','Радиоэлектроника',39),
('32.94','Телевидение',44),
('32.97','Вычислительная техника',44),
('32.973','Компьютеры. Программирование. Языки программирования. Программное обеспечение',44),
('36.99','Кулинария',39),
('37.1я92','Самоделки из дерева',39),
('37.248','Рукоделие (шитье, вышивание, макраме, изделия из природных материалов, бумаги)',39),
('37.279','Домоводство',39),
('37.874','Машинопись',39),
('37.9','Фотокинотехника',39),
('38','Строительство',39),
('39','Транспорт',39),
('39.808','Безопасность и правила дорожного движения',55),
('4','Сельское и лесное хозяйство',NULL),
('43','Лесное хозяйство',57),
('47','Охотничье хозяйство',57),
('48','Ветеринария',57),
('5','Здравоохранение. Медицина',NULL),
('51','Организация здравоохранения. Гигиена. Эпидемиология',61),
('53.51','Лечебное питание. Диетотерапия',61),
('53.54','Лечебная физкультура',61),
('6/8','Общественные и гуманитарные науки',NULL),
('60','Общественные науки в целом',65),
('63','История. Исторические науки',65),
('63.3(0)','Всемирная история',67),
('63.3(0)2','Первобытное общество',67),
('63.3(0)3','Древний мир',67),
('63.3(0)4','Средние века (V в.-1640 г.)',67),
('63.3(0)5','Новая история (1640-1918)',67),
('63.3(0)6','Новейшая история (1918- )',67),
('63.3(0)61','Период 1918-1939гг.',67),
('63.3(0)62','Период второй мировой войны (1939-1945)',67),
('63.3(0)63','Период 1945-конец 80-х гг.ХХв.',67),
('63.3(0)64','Период с конца 80-х гг.',67),
('63.3(2)','История России и СССР',67),
('63.3(2)л6','Исторические музеи. Исторические памятники и памятные места. Охрана исторических памятников',67),
('63.3(2)4','Период феодализма (IV в.-1861г.)',67),
('63.3(2)5','Период капитализма (1861-1917г.)',67),
('63.3(2)6','Новейшая история (1917- )',67),
('63.3(2)61','Период от Октябрьской революции до второй мировой войны (октябрь 1917-1939)',67),
('63.3(2)611','Октябрьская революция. Установление Советской власти (октябрь 1917-1918г.)',67),
('63.3(2)62','Период второй мировой и Великой Отечественной войн (1939-1945)',67),
('63.3(2)622','Период Великой Отечественной войны (1941-1945г.)',67),
('63.3(2)622.7','Города-герои',67),
('63.3(2)63','Период после второй мировой войны до распада СССР (1945-дек. 1991г.)',67),
('63.3(2)64','Период с декабря 1991г.',67),
('65','Экономика. Экономические науки',65),
('65.24','Труд',90),
('65.9','Экономика отдельных стран и регионов. Экономика Мирового Океана',90),
('65.9(2Рос)','Экономика Российской Федерации',90),
('66','Политика. Политическая наука',65),
('66.2','Политика и современное политическое положение в целом',94),
('66.3','Внутренняя политика. Внутреннее положение',94),
('66.3 (2Рос)','Внутренняя политика и внутреннее положение Российской Федерации',94),
('66.3 (2Рос)8','Персоналии политических деятелей',94),
('66.4','Внешняя политика. Международные отношения. Дипломатия',94),
('66.4 (2Рос)','Внешняя политика и международные отношения Российской Федерации',94),
('66.6','Политические партии',94),
('66.61 (2)','Коммунистическая партия Советского Союза (КПСС)',94),
('66.69','Политические партии Российской Федерации',94),
('66.7','Общественно- политические организации, движения, союзы',94),
('67','Право. Юридические науки',65),
('67.404','Гражданское и семейное право',105),
('67.405','Трудовое право и право социального обеспечения',105),
('68','Военное дело. Военная наука',65),
('68.49 (2)','Вооруженные Силы России и СССР',108),
('68.8','Военная техника',108),
('70','Культура. Наука. Просвещение (литература общего характера)',NULL),
('71','Культура. Культурология',111),
('72','Наука',111),
('74','Образование. Педагогическая наука',111),
('74.00','Общая педагогика',114),
('74.03','История образования и педагогической мысли',114),
('74.04','Организация образования',114),
('74.05','Непрерывное образование (теория, процесс, система непрерывного образования, неформальное образование, вариативность образования)',114),
('74.1','Дошкольное воспитание. Дошкольная педагогика',114),
('74.2','Общеобразовательная школа. Педагогика школы',114),
('74.200','Теория и методика воспитания',114),
('74.200.51','Нравственное воспитание',121),
('74.200.52','Трудовое воспитание и профессиональная ориентация',121),
('74.200.54','Эстетическое воспитание (можно отражать в отделе «87.8 Эстетика»)',121),
('74.200.55','Физическое воспитание ( можно отражать в отделах: « 75.5 - Игры. Спортивные игры», « 74.267.5 – Методика преподавания физической культуры» )',121),
('74.200.58','Внеучебная (внеклассная и внешкольная) воспитательная работа',121),
('74.200.587','Внешкольные учреждения',121),
('74.200.8','Воспитательная работа в летний и зимний периоды',121),
('74.202.8','Проверка и оценка знаний, успеваемость школьников',114),
('74.204.1','Руководство школой (администрация)',114),
('74.204.2','Педагогический коллектив',114),
('74.204.3','Учащиеся (школьное самоуправление)',114),
('74.204.4','Организация учебно-воспитательной работы',114),
('74.204.6','Методическая работа в школе (методические кабинеты, метод. объединения учителей, обобщение и распространение опыта)',114),
('74.205','Связь школы с семьей и общественностью (родительские комитеты, родительские собрания, связи между школами, связь школы с выпускниками)',114),
('74.26','Методика преподавания учебных предметов в общеобразовательной школе',114),
('74.261','Методика преподавания «Ознакомление с окружающим миром»',114),
('74.262.0','Методика преподавания природоведения',114),
('74.262.01','Методика преподавания экологии',138),
('74.262.21','Методика преподавания математики',138),
('74.262.22','Методика преподавания физики',138),
('74.262.26','Методика преподавания астрономии',138),
('74.262.4','Методика преподавания химии',138),
('74.262.6','Методика преподавания географии',138),
('74.262.8','Методика преподавания биологии',138),
('74.263','Методика преподавания труда, общетехнических предметов',114),
('74.263.01','Методика преподавания черчения',146),
('74.263.2','Методика преподавания информатики и вычислительной техники',146),
('74.266','Методика преподавания общественных наук',114),
('74.266.3','Методика преподавания истории',149),
('74.266.5','Методика преподавания экономических знаний',149),
('74.266.7','Методика преподавания основ государства и права',149),
('74.266.8','Методика преподавания основ безопасности жизнедеятельности',149),
('74.267.5','Методика преподавания физической культуры',114),
('74.267.8','Методика преподавания библиотечно-библиографических знаний',114),
('74.268.0','Методика преподавания языков и литературы',114),
('74.268.1','Методика преподавания языков',114),
('74.268.1Англ','Методика преподавания английского языка',114),
('74.268.1Исп','Методика преподавания испанского языка',114),
('74.268.1Итал','Методика преподавания итальянского языка',114),
('74.268.1Нем','Методика преподавания немецкого языка',114),
('74.268.1Рус','Методика преподавания русского языка',114),
('74.268.1Фр','Методика преподавания французского языка',114),
('74.268.3','Методика преподавания литературы',114),
('74.268.4','Методика преподавания риторики',114),
('74.268.5','Методика преподавания искусства',114),
('74.268.53','Методика преподавания музыки и пения',114),
('74.268.7','Методика преподавания философии, этики, этики и психологии семейной жизни, эстетики',114),
('74.268.8','Методика преподавания психологии',114),
('74.27','Дети. Детское движение и организации',114),
('74.27(2)','Дети в СССР. Всесоюзная пионерская организация',114),
('74.3','Специальные школы. Дефектология (коррекционная педагогика)',114),
('74.5','Профессиональное и специальное образование',114),
('74.5я2','Справочники для поступающих',114),
('74.9','Семейное воспитание и образование',114),
('75','Физическая культура и спорт',111),
('75.5','Игры. Спортивные игры',111),
('75.6','Гимнастика',111),
('75.7','Отдельные виды спорта',111),
('75.8','Туризм. Альпинизм',111),
('76','Средства массовой информации. Книжное дело',111),
('77','Досуг и отдых (литература общего характера)',111),
('78','Библиотечное дело. Библиография (библиографические пособия: указатели, списки, обзоры см. 91)',111),
('79','Охрана памятников природы, истории и культуры. Музейное дело. Архивное дело',111),
('80','Филологические науки в целом',NULL),
('81','Языкознание (наука о языке)',185),
('81.2 Рус','Русский язык',186),
('81.2 Рус-4','Русский язык. Словари',186),
('81.2Англ','Английский язык',186),
('81.2Англ-4','Английский язык. Словари',186),
('81.2Исп','Испанский язык',186),
('81.2Исп 4','Испанский язык. Словари',186),
('81.2Итал','Итальянский язык',186),
('81.2Итал 4','Итальянский язык. Словари',186),
('81.2Нем','Немецкий язык',186),
('81.2Нем 4','Немецкий язык. Словари',186),
('81.2Фр','Французский язык',186),
('81.2Фр 4','Французский язык. Словари',186),
('82','Фольклористика (собирание и изучение произведений устного народного творчества)',185),
('83','Литературоведение',185),
('83.3','История и критика мировой литературы и литературы отдельных стран',200),
('83.3я92','Литературные игры и викторины',200),
('83.3 (0)','Мировая литература. История и критика (литература всех или нескольких стран)',200),
('83.3(0)3','Литература древнего мира',200),
('83.3(2)','Литература России и СССР. История и критика',200),
('83.3(2Рос=Рус)','Русская литература ',200),
('83.3(2Рос=Рус)1','Русская литература до 1917г.',200),
('83.3(2Рос=Рус)6','Русская литература ХХв. (1917- )',200),
('83.3(3)','Литература зарубежных стран. История и критика',200),
('83.7','Ораторское искусство',200),
('84','Художественная литература(произведения). Фольклор (произведения)',185),
('84(0)','Мировая литература (сборники произведений всех или нескольких стран)',211),
('84(0)3','Произведения литературы древнего мира',211),
('84(2)','Произведения литературы России и СССР',211),
('84(2)я92','Литературное творчество детей России и СССР',211),
('84(2Рос=Рус)','Произведения русской литературы',211),
('84(2Рос=Рус)1','Произведения русской литературы до 1917г.',211),
('84(2Рос=Рус)6','Произведения русской литературы ХХв. (1917- )',211),
('84(3)','Произведения литературы зарубежных стран',211),
('84.2','Фольклор (произведения)',211),
('84.2(0)','Мировой фольклор',211),
('84.2(2Рос=Рус)','Русский фольклор',211),
('84.2(2Рос=Рус)-411','Пословицы и поговорки',211),
('84.2(2Рос=Рус)-412','Загадки',211),
('84.2(2Рос=Рус)-442','Сказки',211),
('84.2(2Рос=Рус)-53','Песенки, прибаутки',211),
('84.2(3)','Фольклор зарубежных стран (типовые деления как в русском фольклоре)',211),
('85','Искусство',185),
('85.1','Изобразительное искусство и архитектура',228),
('85.101','Охрана памятников искусства. Художественные музеи, коллекции, собрания',228),
('85.12','Декоративно-прикладное искусство',228),
('85.3','Музыка и зрелищные искусства',228),
('85.31','Музыка',228),
('85.314','Вокальная музыка',228),
('85.32','Танец',228),
('85.33','Театр',228),
('85.34','Праздники, елки, карнавалы',228),
('85.35','Цирк',228),
('85.36','Эстрада',228),
('85.37','Киноискусство',228),
('85.38','Художественное радиовещание и телевидение',228),
('85.7','Художественная самодеятельность',228),
('86','Религия. Мистика Свободомыслие',185),
('86.2','Религиоведение',243),
('86.3','Отдельные религии',243),
('86.37','Христианство',243),
('86.4','Мистика (магия, гадания, оккультизм)',243),
('86.7','Свободомыслие',243),
('87','Философия. Логика. Этика. Эстетика',185),
('87.3','История философии',249),
('87.4','Логика (наука о законах и формах мышления)',249),
('87.7','Этика (наука о морали, нравственности)',249),
('87.703.7','Нравственные проблемы любви, семьи и секса',249),
('87.774','Культура поведения. Этикет',249),
('87.8','Эстетика (наука о прекрасном, об общих законах художественного творчества)',249),
('88','Психология',185),
('9','Литература универсального содержания',NULL),
('91','Библиографические пособия (указатели, списки, обзоры)',257),
('92','Справочные издания (энциклопедии, словари, справочники, адресные книги, календари и др.)',257),
('94','Серии. Сборники',257),
('95','Журналы',257),
('99.2','Сборники игр, развлечений, самоделок',257);
INSERT INTO business (name) VALUES ('Издательство'), ('Типография');
INSERT INTO organization (name, business_id, user_id) VALUES
('ЭКСМО', 1, ROUND(RAND() * 99 + 1)),
('АСТ', 1, ROUND(RAND() * 99 + 1)),
('РОСМЭН', 1, ROUND(RAND() * 99 + 1)),
('АЛЬФА – КНИГА', 1, ROUND(RAND() * 99 + 1)),
('ОЛМА – МЕДИА ГРУПП', 1, ROUND(RAND() * 99 + 1)),
('ЦЕНТРПОЛИГРАФ', 1, ROUND(RAND() * 99 + 1)),
('АЗБУКА – АТТИКУС', 1, ROUND(RAND() * 99 + 1)),
('РИПОЛ-КЛАССИК', 1, ROUND(RAND() * 99 + 1)),
('Риаконсалт', 2, ROUND(RAND() * 99 + 1)),
('Antalis', 2, ROUND(RAND() * 99 + 1)),
('McGraver', 2, ROUND(RAND() * 99 + 1)),
('Альянс Югполиграфиздат', 2, ROUND(RAND() * 99 + 1)),
('Европапир', 2, ROUND(RAND() * 99 + 1)),
('Коробка.рус', 2, ROUND(RAND() * 99 + 1)),
('Второй Вариант', 2, ROUND(RAND() * 99 + 1)),
('ТалерПринт!', 2, ROUND(RAND() * 99 + 1)),
('типография PRINTALLOGGI', 2, ROUND(RAND() * 99 + 1)),
('АРТСТИЛЬ-ПОЛИГРАФИЯ', 2, ROUND(RAND() * 99 + 1)),
('Глобал Фреш', 2, ROUND(RAND() * 99 + 1)),
('Дрим Пак', 2, ROUND(RAND() * 99 + 1)),
('Колорит', 2, ROUND(RAND() * 99 + 1)),
('КотПринт', 2, ROUND(RAND() * 99 + 1)),
('Крис', 2, ROUND(RAND() * 99 + 1)),
('Макси', 2, ROUND(RAND() * 99 + 1)),
('Мы рядом', 2, ROUND(RAND() * 99 + 1)),
('Новый взгляд', 2, ROUND(RAND() * 99 + 1));
INSERT INTO cards (title, organization_id, user_id) VALUES
('Иванов, А.И. Льготы для работников Севера / А.И. Иванов. – М. : Юрид. лит., 1991. – 143 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Иванов А.И. Льготы для работников Севера / А.И. Иванов. – М. : Юрид. лит., 1991. – 143 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Степанов, А.И. Структурно-кинематический анализ Патомского прогиба / А.И. Степанов, Г.В. Рязанов. – Новосибирск : Наука, Сиб. отд-ние, 1992. – 88 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Лагерь, А. Аптека вокруг нас / А. Лагерь, А. Иванов, Л.И. Исаева. – М. : [б.и.], 1992. – 68 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Театр и мы / А.Б. Сергеев [и др.]. – М. : [б.и.], 1978. –115 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Петров, А.А. Проблемы экологии города : аналит. исслед. / А.А. Петров, Б.Б. Сидоров ; отв. ред.: С.А. Сергеев, А.Б. Андреев, В.Г. Матвеев ; Акад. трансп. Рос. Федерации, Сев.-Зап. регион. науч. центр, Акад. водохоз. наук, Сев.-Зап. отд-ние. – Изд. 2-е. ‑ М. : Экос, Центр. фил. ; СПб. : Гидрометеоиздат, 2000. – V, 270, [7] с. – (Серия «Экология и региональная экономика») (Новое в науке и технике : обзор. материалы ; вып. 2/3). – Прил. содерж. законодат. и нормат материалы. – Схемы в конце разд. – Библиогр.: с. 266-270.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Петров А.А. Проблемы экологии города : аналит. исслед. / А.А. Петров, Б.Б. Сидоров. – Изд. 2-е. — М. : Экос, Центр. фил. ; СПб. : Гидрометеоиздат, 2000. – V, 270, [7] с. – (Серия «Экология и региональная экономика») (Новое в науке и технике : обзор. материалы ; вып. 2/3).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Международно-правовое регулирование разрешения трудовых споров : доклад / Ф.Т. Симонян [и др.] ; Моск. гос. юрид. акад. — М. : [б.и.], 2001. — 26 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Международно-правовое регулирование разрешения трудовых споров : доклад / Ф.Т. Симонян [и др.]. — М., 2001. — 26 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('История русской литературы ХIХ века (вторая половина) / Н.Н. Скатов [и др.] ; ред. Н.Н.Скатов. ‑ 2-е изд., дораб. — М. : Просвещение, 1991. — 511 с. — (Учебное пособие для педагогических институтов).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('История русской литературы ХIХ века (вторая половина) / Н.Н. Скатов [и др.]. — 2-е изд., дораб. — М. : Просвещение, 1991. ‑ 511 с. — (Учебное пособие для педагогических институтов).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Петров, А.А. Проблемы экологии города : аналит. исслед. / А.А. Петров, Б.Б. Сидоров ; отв. ред.: С.А. Сергеев, А.Б. Андреев, В.Г. Матвеев ; Акад. трансп. Рос. Федерации, Сев.-Зап. регион. науч. центр, Акад. водохоз. наук, Сев.-Зап. отд-ние. – Изд. 2-е. ‑ М. : Экос, Центр. фил. ; СПб. : Гидрометеоиздат, 2000. – V, 270, [7] с. ; 22 см.– (Серия «Экология и региональная экономика») (Новое в науке и технике : обзор. материалы ; вып. 2/3). – Библиогр.: с. 266-270. – 500 экз. – ISBN 5-203-12232 : 120 р.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Репрезентация верховной власти в средневековом обществе (Центральная, Восточная и Юго-Восточная Европа) : тез. XXII конф. «Славяне и их соседи» / редкол.: Г.Г. Литаврин (отв. ред.) [и др.]. ‑ М. : Индрик, 2004. — 111 с. ‑ В надзаг.: Рос. акад. наук, Ин-т славяноведения, Отд. истории сред. веков.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Репрезентация верховной власти в средневековом обществе (Центральная, Восточная и Юго-Восточная Европа) : тез. XXII конф. «Славяне и их соседи» / редкол.: Г.Г. Литаврин (отв. ред.) [и др.]. ‑ М. : Индрик, 2004. — 111 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Воспитательный процесс в высшей школе России : межвуз. науч.-практ. конф. (Новосибирск, 26–27 апр. 2001 г.) / редкол.: А.Б. Борисов [и др.]. – Новосибирск : НГАВТ, 2001. – 157 с.– В надзаг. : Мэрия г. Новосибирска, Новосиб. обл. отд-ние Междунар. ассоц. по борьбе с наркоманией и наркобизнесом, Новосиб. гос. акад. вод. трансп.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Воспитательный процесс в высшей школе России : межвуз. науч.-практ. конф. (Новосибирск, 26–27 апр. 2001 г.) / редкол.: А.Б. Борисов [и др.]. – Новосибирск : НГАВТ, 2001. – 157 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Международно-правовое регулирование разрешения трудовых споров : доклад / Ф.Т. Симонян [и др.] ; Моск. гос. юрид. акад. ‑ М. : [б.и.], 2001. ‑ 26 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Международно-правовое регулирование разрешения трудовых споров : доклад / Ф.Т. Симонян [и др.]. ‑ М., 2001. ‑ 26 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Отбелка сульфатной целлюлозы без молекулярного хлора : материалы к докл. / В.А. Демин [и др.] ; редкол.: Н.П. Юшкин (отв. ред.) [и др.]. – Сыктывкар : СГУ, 1995. ‑ 11 с. ‑ Библиогр.: с. 10.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Отбелка сульфатной целлюлозы без молекулярного хлора : материалы к докл. / В.А. Демин [и др]. – Сыктывкар : СГУ, 1995. ‑ 11 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Оптимизация информационно-библиографического обслуживания ученых и специалистов : сб. науч. тр. / Гос. публич. науч.-техн. б-ка Сиб. отд-ния Рос. акад. наук, Нац. б-ка Респ. Саха (Якутия) ; редкол.: Е.Б. Соболева (отв. ред.) [и др.]. — Новосибирск : ГПНТБ СО РАН, 1998. — 198 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Оптимизация информационно-библиографического обслуживания ученых и специалистов: сб. науч. тр. / Гос. публич. науч.-техн. б-ка Сиб. отд-ния Рос. акад. наук, Нац. б-ка Респ. Саха (Якутия). — Новосибирск : ГПНТБ СО РАН, 1998. — 198 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Экология и безопасность : cправочник : в 3 т. / Н.Г. Рыбальский [и др.] ; ред. Н.Г. Рыбальский. — М. : ВНИИПИ, 1992-1993.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Экология и безопасность : cправочник : в 3 т. / Н.Г. Рыбальский [и др.]. — М. : ВНИИПИ, 1992-1993. — 3 т. (в 6 ч.).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Казьмин, В.Д. Справочник домашнего врача. В 3 ч. Ч. 2. Детские болезни / В. Казьмин. – М. : АСТ : Астрель, 2002. – 503, [1] с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Иванова, О. М. Действие антигельминтиков на микробный и иммунный статус организма животных в регионе озера Байкал : автореф. дис. … канд. ветеринар. наук / О.М. Иванова. – Благовещенск, 2004. — 22 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Социологическое исследование малых групп населения / В. И. Иванов [и др.] ; М-во образования Рос. Федерации, Финансовая акад. – М., 2002. – 110 с. – Библиогр.: с. 108–109. – Деп. в ВИНИТИ 13.06.02, № 145432.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Аппаратура радиоэлектронная бытовая. Входные и выходные параметры и типы соединений. Технические требования : ГОСТ Р 517721–2001. – Введ. 2002–01–01. – М. : Изд-во стандартов, 2001. – IV, 27 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Приемопередающее устройство : пат. 2187888 Российская Федерация, МПК7 Н 04 В 1/38, Н 04 J 13/00 / В. И. Чугаева ; заявитель и патентообладатель Воронеж. науч.-исслед. ин-т связи. — № 20000131736/09 ; заявл. 18.12.00 ;', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Одноразовая ракета-носитель : заявка 1095735 Рос. Федерация : МПК7 В 64 G 1/00 / Тернер Э. В. (США) ; заявитель Спейс Системз/Лорал, инк. ; пат. поверенный Г.Б. Егорова. – № 2000108705/28 ; заявл. 07.04.00 ; опубл. 10.03.01, Бюл. № 7 (I ч.) ; приоритет 09.04.99, № 09/289,037 (США)', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Матюшенко, Н.И. Обобщенная модель морской транспортной системы «Севморпуть» / Н.И. Матюшенко // Эксплуатация морского транспорта. — СПб., 2003. — С. 80-83. — Библиогр.: с. 83.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Перов, С.М. Военные поселения царской России / С.М. Перов // Исторический сборник-83. – Волгоград, 1984. – С. 15-23. – В огл. авт.: Петров С.М. – Библиогр.: с. 21-23.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Перов С.М. Военные поселения царской России // Исторический сборник-83. – Волгоград, 1984. – С. 15-23. – В огл. авт.: Петров С.М.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Симонов, А. Очистка сточных вод: проектирование технических устройств / А. Симонов // VII региональная конференция молодых исследователей Волгоградской области (Волгоград, 12-15 мая 2002 г.) : тез. докл. — Волгоград, 2002. – С. 13-15.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Жижимов, О.Л. Принципы построения распределенных информационных систем на основе протокола Z39.50 / О.Л. Жижимов, Н.А. Мазов // Науч.-техн. информ. Сер. 1, Орг. и методика информ. работы. – 2004. — № 11. – С. 12-26.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Экология г. Воронежа / B.С. Семенов [и др.] // Вестн. Воронеж. гос. ун-та. Сер. 4, География и геоэкология. – 2000.- № 1. – С. 4-6.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Гольдман, В.И. Геодезический мониторинг объектов и сооружений подъездного железнодорожного пути Чара — Чина / В.И. Гольдман // Тр. / Науч.-исслед. ин-т трансп. стр-ва. — 2002. — Вып. 214 : Строительство железных дорог в экстремальных условиях. — С. 38-46. — Библиогр.: с. 46.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Гольдман В.И. Геодезический мониторинг объектов и сооружений подъездного железнодорожного пути Чара — Чина // Тр. / Науч.-исслед. ин-т трансп. стр-ва. — 2002. — Вып. 214. — С. 38-46.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Баренбаум, И.Е. А. М. Ловягин как историк книги / И. Е. Баренбаум // Книжное дело в России во второй половине XIX–начале ХХ века : сб. науч. тр. / Рос. нац. б-ка. – СПб., 2000. – Вып. 10. – С. 208–219.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Баренбаум, И.Е. А. М. Ловягин как историк книги / И. Е. Баренбаум // Книжное дело в России во второй половине XIX–начале ХХ века. – СПб., 2000. – Вып. 10. – С. 208–219.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Александров, К. Из истории белого движения / К. Александров // Мир библиогр. – 1998. – № 2. – С. 94–95. – Рец. на кн.: Библиографический справочник высших чинов Добровольческой армии и Вооруженных сил Юга России (материалы к истории белого движения) / Н. Н. Рутыч. — М. : Regnum : Рос. архив, 1997. — 295 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Зданович, А.А. Свои и чужие – интриги разведки / А.А. Зданович. – М. : ОЛМА-пресс : МассИнформМедиа, 2002. – 317 с.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Кочетков, В. Праздник — как повод для разговора : беседа с зам. пред. Президиума Кемер. науч. центра Сиб. отд-ния Рос. акад. наук канд. техн. наук В. Кочетковым и зам. директора Ин-та угля и углехимии Сиб. отд-ния Рос. акад. наук д-ром техн. наук В. Потаповым / В. Кочетков, В. Потапов ; вел Д. Корнилов // Наука в Сибири. — 2000. — № 34/35. — С. 4.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Бредихина, Н. А. Студент-первокурсник и маститый ученый : интервью с директором Новосиб. обл. науч. б-ки Н.А. Бредихиной / Н. А. Бредихина ; записал А. Нестеренок // Сов. Сибирь. — 1999. — 30 нояб.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Художественная энциклопедия зарубежного классического искусства [Электронный ресурс]. – Электрон. текстовые, граф., зв. дан. и прикладная программа (546 Мб). – М. : Большая Рос. энцикл. [и др.], 1996. – 1 электрон. опт. диск (CD-ROM) : зв., цв. ; 12 см + рук. пользователя (1 л.) + открытка (1 л.). – (Интерактивный мир). – Систем. требования: ПК 486 или выше ; 8 Мб ОЗУ ; Windows 3.1 или Windows 95 ; SVGA 32768 и более цв. ; 640х480 ; 4х CD-ROM дисковод ; 16-бит. зв. карта ; мышь. – Загл. с экрана.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Художественная энциклопедия зарубежного классического искусства [Электронный ресурс]. – М. : Большая Рос. энцикл. [и др.], 1996. – 1 электрон. опт. диск (CD-ROM). –Загл. с экрана.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Таганцев, Н.С. Русское уголовное право. Тексты. Комментарии. Иллюстрации [Электронный ресурс] / Н.С. Таганцев. — М. : Адепт, 2003. — 1 электрон. опт. диск (CD-ROM). — (Библиотека юриста) (Электронная книга).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Программный комплекс доступа к базам данных ГПНТБ СО РАН из Internet [Электронный ресурс] / С.Р. Баженов [и др.] // IV рабочее совещание по электронным публикациям EL-PUB-99 : тез. докл. — Новосибирск, 1999. — Режим доступа : http://www.ist.nsk.su/ws/show_abstract.dhtml?I+25.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Жижимов, О.Л. Модель распределенной информационной системы Сибирского отделения РАН на базе протокола Z39.50 [Электронный ресурс] / О.Л. Жижимов, Н.А. Мазов // Электрон. б-ки. — 1999. — Т. 2, вып. 2. — Режим доступа: http://www.iis.ru/events/19990616/zhizhimov.ru.html.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Щавелев, А.С. Теория С.М. Соловьева о «родовой власти» в Древней Руси: возможности актуализации [Электронный ресурс] // Материалы международной конференции студентов и аспирантов «Ломоносов-99» : [тез. докл.]. – Режим доступа: http.www.hist/msc.ru (18.01.2005).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Казанская, Л.В. Пушкинские мотивы в творчестве Артура Лурье: опыт музыкально-исторического исследования [Электронный ресурс] / Л.В. Казанская // Балт. сезоны : Интернет-альм. – 1999. – № 1. – Режим доступа: http.www.theatre.spb.ru (23.01.2005).', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Академия здоровья : науч.-попул. газ. о здоровом образе жизни : прил. к журн. «Аквапарк» / учредитель «Фирма «Вивана». – 2001, июнь – . – М., 2001– . – 8 полос. – Еженед. 2001, № 1–24. – 10000 экз. ; 2002, № 1(25)–52(77). – 15000 экз.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Актуальные проблемы современной науки : информ.-аналит. журн. / учредитель ООО «Компания «Спутник +». – 2001, июнь – . – М. : Спутник +, 2001– . – Двухмес. – ISSN 1680-2721.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1)),
('Российская Федерация. Гос. Дума (2000– ). Государственная Дума : стеногр. заседаний : бюллетень / Федер. Собр. Рос. Федерации. – М. : ГД РФ, 2000– . – 30 см. – Кн. не сброшюр. № 49 (497) : 11окт. 2000 г. – 2000. – 63 отд. с. – 1400 экз.', ROUND(RAND() * 8 + 1), ROUND(RAND() * 99 + 1));
INSERT INTO keywords (word) VALUES
('harum'),('nulla'),('quidem'),('dolores'),('voluptates'),('nemo'),('quo'),
('excepturi'),('non'),('dolor'),('quam'),('ducimus'),('sint'),('ut'),('et'),
('consequatur'),('voluptatum'),('et'),('aut'),('delectus'),('ut'),
('eveniet'),('eum'),('explicabo'),('cupiditate'),('dicta'),('est'),('fuga'),
('itaque'),('saepe'),('doloribus'),('fugiat'),('culpa'),('earum'),
('necessitatibus'),('quis'),('maxime'),('suscipit'),('voluptas'),('autem'),
('dolor'),('alias'),('et'),('et'),('in'),('est'),('tempora'),('pariatur'),
('dicta'),('et'),('voluptas'),('aliquam'),('aliquid'),('rem'),('architecto'),
('autem'),('consectetur'),('non'),('sit'),('sunt'),('neque'),('voluptatem'),
('et'),('sed'),('quis'),('dolorem'),('veritatis'),('dolor'),('assumenda'),
('nulla'),('quasi'),('ut'),('amet'),('ex'),('mollitia'),('reprehenderit'),
('at'),('quia'),('et'),('porro'),('voluptas'),('praesentium'),('optio'),
('voluptatem'),('et'),('illo'),('neque'),('voluptatum'),('vel'),('voluptatem'),
('velit'),('fugiat'),('eum'),('odit'),('quod'),('architecto'),('aut'),
('voluptas'),('amet'),('debitis'),('omnis'),('hic'),('et'),('aliquid'),
('neque'),('iure'),('assumenda'),('cumque'),('architecto'),('sunt'),
('nesciunt'),('corporis'),('qui'),('suscipit'),('suscipit'),('iste'),
('nisi'),('omnis'),('dolorem'),('hic'),('corporis'),('nostrum'),
('voluptate'),('rem'),('qui'),('saepe'),('impedit'),('repellat'),
('id'),('corrupti'),('sit'),('laboriosam'),('voluptatem'),('exercitationem'),
('perferendis'),('quam'),('asperiores'),('explicabo'),('molestiae'),('et'),
('voluptatibus'),('numquam'),('explicabo'),('nemo'),('nulla'),('nemo'),
('laborum'),('voluptatibus'),('laboriosam'),('sint'),('et'),('repellat'),
('hic'),('nihil'),('dolorem'),('quisquam'),('voluptatum'),('repudiandae'),
('quia'),('autem'),('voluptates'),('voluptatem'),('accusamus'),
('cupiditate'),('cupiditate'),('aut'),('et'),('qui'),('ipsum'),('quis'),
('consequuntur'),('ut'),('temporibus'),('iste'),('voluptatem'),('magnam'),
('rerum'),('culpa'),('rem'),('architecto'),('mollitia'),('illum'),
('consequatur'),('quia'),('et'),('est'),('consequatur'),('rerum'),('cumque'),
('pariatur'),('dolorem'),('aperiam'),('natus'),('pariatur'),('non'),('ut'),
('asperiores'),('nihil'),('saepe'),('nam'),('aut'),('voluptate'),('labore'),
('omnis'),('non'),('voluptate'),('mollitia'),('laborum'),('perspiciatis'),
('sint'),('atque'),('et'),('ad'),('itaque'),('aut'),('esse'),('expedita'),
('nulla'),('sunt'),('ipsum'),('natus'),('amet'),('qui'),('voluptas'),
('quibusdam'),('est'),('sapiente'),('corporis'),('quae'),('cumque'),('et'),
('aut'),('quidem'),('aut'),('itaque'),('quidem'),('deleniti'),('sint'),
('corporis'),('est'),('quia'),('consectetur'),('modi'),('dolorem'),('nobis'),
('voluptatem'),('saepe'),('quidem'),('magni'),('quo'),('aut'),('atque'),
('quasi'),('ratione'),('incidunt'),('voluptatem'),('sunt'),('adipisci'),
('perspiciatis'),('tempora'),('odio'),('assumenda'),('expedita'),('facilis'),
('id'),('et'),('eos'),('dolor'),('nisi'),('rerum'),('non'),('omnis'),
('minima'),('non'),('porro'),('aut'),('animi'),('amet'),('tempore'),('non'),
('officiis'),('aspernatur'),('nihil'),('quia'),('et'),('ut'),('mollitia'),
('nihil'),('pariatur'),('sit'),('aperiam'),('possimus'),('sunt'),
('laudantium'),('dolorum'),('nam'),('dolores'),('ducimus'),('non'),
('distinctio'),('quia'),('sit'),('reprehenderit'),('tenetur'),('reiciendis'),
('et'),('illo'),('omnis'),('eum'),('deleniti'),('eius'),('quia'),
('assumenda'),('saepe'),('iure'),('accusantium'),('molestias'),('atque'),
('velit'),('rerum'),('ut'),('consectetur'),('voluptate'),('ut'),('in'),
('dicta'),('temporibus'),('ut'),('porro'),('ratione'),('sit'),('vitae'),
('aut'),('natus'),('quod'),('unde'),('delectus'),('pariatur'),('excepturi'),
('rerum'),('dolor'),('expedita'),('accusantium'),('dignissimos'),('vero'),
('sunt'),('et'),('commodi'),('sapiente'),('porro'),('ratione'),('sunt'),
('ullam'),('ratione'),('impedit'),('consequuntur'),('nesciunt'),
('recusandae'),('consequatur'),('porro'),('dolorum'),('sequi'),
('consequuntur'),('eum'),('quo'),('nam'),('enim'),('sed'),('et'),('minima'),
('quas'),('aperiam'),('qui'),('tempora'),('odit'),('quod'),('eum'),('rerum'),
('nostrum'),('eos'),('sed'),('dolor'),('qui'),('omnis'),('non'),
('reprehenderit'),('eos'),('et'),('aut'),('ratione'),('eius'),('enim'),
('ratione'),('in'),('veniam'),('voluptatem'),('fugiat'),('quia'),('eum'),
('error'),('ut'),('hic'),('aut'),('aspernatur'),('eos'),('alias'),('et'),
('laborum'),('ea'),('possimus'),('libero'),('cumque'),('dolores'),('ut'),
('ut'),('qui'),('eum'),('ullam'),('et'),('vitae'),('molestiae'),('officiis'),
('iusto'),('iure'),('illo'),('accusantium'),('tempore'),('voluptas'),
('tempora'),('voluptatibus'),('alias'),('iusto'),('tenetur'),('eaque'),
('magnam'),('sunt'),('qui'),('ut'),('iure'),('dolores'),('vitae'),
('cupiditate'),('corrupti'),('est'),('et'),('atque'),('exercitationem'),
('voluptatibus'),('quidem'),('quas'),('id'),('quam'),('et'),('optio'),
('sunt'),('placeat'),('id'),('eos'),('exercitationem'),('voluptatem'),
('excepturi'),('a'),('omnis'),('ratione'),('ut'),('illum'),('est'),('vitae'),
('voluptatibus'),('saepe'),('est'),('quam'),('accusamus'),('iure'),('ad'),
('ad'),('sequi'),('voluptatem'),('ut'),('ea'),('dignissimos'),('rerum'),
('error'),('quaerat'),('incidunt'),('et'),('architecto'),('voluptatum'),
('neque'),('perferendis'),('quas'),('earum'),('debitis'),('repudiandae'),
('numquam'),('nobis'),('qui'),('et'),('eos'),('excepturi'),('est'),('a'),
('ipsam'),('ea'),('odit'),('voluptatem'),('possimus'),('et'),('voluptatem'),
('enim'),('aperiam'),('quis'),('a'),('quidem'),('fugiat'),('aperiam'),
('laboriosam'),('quia'),('ullam'),('illum'),('nobis'),('rerum'),('optio'),
('expedita'),('aliquid'),('ad'),('qui'),('laborum'),('repellendus'),
('tenetur'),('voluptatem'),('laborum'),('harum'),('fuga'),('fugiat'),
('nemo'),('aut'),('eveniet'),('nihil'),('at'),('eligendi'),('soluta'),
('et'),('praesentium'),('modi'),('et'),('sint'),('repudiandae'),('omnis'),
('quasi'),('in'),('veritatis'),('ullam'),('nihil'),('iure'),('optio'),
('dolores'),('iusto'),('ipsum'),('quia'),('aliquam'),('quod'),('ea'),
('velit'),('debitis'),('sit'),('excepturi'),('iure'),('necessitatibus'),
('eligendi'),('blanditiis'),('et'),('tempore'),('repudiandae'),
('laudantium'),('facere'),('deleniti'),('explicabo'),('porro'),('ab'),
('recusandae'),('est'),('id'),('molestias'),('iste'),('ut'),('placeat'),
('repudiandae'),('cumque'),('cum'),('eos'),('natus'),('nesciunt'),('qui'),
('aut'),('corporis'),('quae'),('dicta'),('voluptate'),('eveniet'),
('dolores'),('dolor'),('suscipit'),('est'),('magnam'),('animi'),('itaque'),
('adipisci'),('amet'),('expedita'),('vel'),('voluptate'),('at'),
('inventore'),('veritatis'),('ratione'),('ipsa'),('sint'),('sint'),('quam'),
('alias'),('quos'),('aut'),('saepe'),('incidunt'),('consectetur'),('in'),
('dignissimos'),('voluptatem'),('minima'),('mollitia'),('nisi'),('itaque'),
('dolores'),('aliquid'),('nobis'),('excepturi'),('veniam'),('amet'),
('aliquid'),('quia'),('dolorem'),('consequatur'),('minima'),('qui'),
('maxime'),('dolorum'),('odit'),('eum'),('illo'),('ut'),('omnis'),('ea'),
('beatae'),('hic'),('consequatur'),('ipsa'),('qui'),('dolores'),('eveniet'),
('quia'),('numquam'),('commodi'),('modi'),('ut'),('repudiandae'),('et'),
('unde'),('a'),('reprehenderit'),('accusamus'),('officiis'),('suscipit'),
('incidunt'),('iusto'),('nemo'),('voluptas'),('maxime'),('quia'),('sint'),
('ut'),('corporis'),('illo'),('maxime'),('rerum'),('laudantium'),
('veritatis'),('accusamus'),('est'),('assumenda'),('necessitatibus'),
('labore'),('velit'),('velit'),('officiis'),('eaque'),('voluptatum'),
('repellendus'),('velit'),('temporibus'),('qui'),('et'),('esse'),('id'),
('voluptatibus'),('placeat'),('numquam'),('eum'),('omnis'),('vero'),('nisi'),
('nihil'),('porro'),('esse'),('a'),('labore'),('ducimus'),('illum'),('et'),
('consequatur'),('aut'),('sunt'),('temporibus'),('aut'),('deserunt'),
('voluptas'),('saepe'),('voluptas'),('est'),('rerum'),('perspiciatis'),
('dolores'),('vero'),('labore'),('explicabo'),('facere'),('ipsa'),('earum'),
('minima'),('voluptatem'),('fugiat'),('est'),('dolor'),('quaerat'),('et'),
('exercitationem'),('ad'),('temporibus'),('rerum'),('debitis'),
('praesentium'),('eos'),('nam'),('fugit'),('vero'),('autem'),('repellat'),
('qui'),('temporibus'),('cumque'),('ullam'),('sed'),('qui'),('illo'),
('consequuntur'),('non'),('vel'),('quibusdam'),('eos'),('consequatur'),
('natus'),('ut'),('deleniti'),('eveniet'),('et'),('optio'),('est'),
('voluptas'),('rerum'),('facilis'),('necessitatibus'),('voluptatum'),
('voluptatem'),('quasi'),('et'),('sed'),('alias'),('et'),('quaerat'),
('illo'),('velit'),('corrupti'),('pariatur'),('consequatur'),('sed'),('et'),
('autem'),('aut'),('eligendi'),('nobis'),('ea'),('unde'),('in'),('qui'),
('voluptatem'),('deserunt'),('nihil'),('odit'),('laboriosam'),('amet'),
('aut'),('odit'),('consequatur'),('molestias'),('labore'),('ipsam'),
('nobis'),('assumenda'),('sunt'),('veritatis'),('dolor'),('nisi'),('sit'),
('autem'),('ipsum'),('dolores'),('optio'),('tempore'),('dolorum'),
('recusandae'),('sed'),('culpa'),('voluptas'),('nisi'),('similique'),
('nobis'),('culpa'),('incidunt'),('repellendus'),('omnis'),('dolorum'),
('placeat'),('voluptas'),('accusantium'),('qui'),('cupiditate'),
('blanditiis'),('ut'),('rerum'),('odio'),('ex'),('in'),('rem'),('nulla'),
('temporibus'),('sint'),('rerum'),('sapiente'),('error'),('incidunt'),
('eaque'),('sint'),('et'),('distinctio'),('unde'),('culpa'),('harum'),
('sed'),('eius'),('quis'),('consequatur'),('voluptate'),('vel'),('ut'),
('laborum'),('voluptate'),('et'),('consequatur'),('qui'),('natus'),
('nesciunt'),('et'),('ipsam'),('veniam'),('natus'),('tenetur'),('porro'),
('qui'),('quia'),('qui'),('voluptatem'),('blanditiis'),('ipsa'),('rerum'),
('quasi'),('quas'),('ex'),('vero'),('aut'),('sit'),('voluptas'),('iusto'),
('est'),('voluptatem'),('iure'),('eveniet'),('quidem'),('omnis'),('omnis'),
('ipsam'),('impedit'),('qui'),('omnis'),('voluptas'),('quibusdam'),('eum'),
('rem'),('laborum'),('et'),('est'),('repellendus'),('quo'),('modi'),
('debitis'),('reiciendis'),('et'),('vitae'),('atque'),('est'),('quo'),
('consequuntur'),('modi'),('excepturi'),('debitis'),('alias'),('est'),('id'),
('facilis'),('totam'),('eum'),('voluptates'),('doloribus'),('sed'),('nihil'),
('molestias'),('in'),('dolores'),('sed'),('voluptatem'),('vero'),('dolores'),
('sed'),('veritatis'),('architecto'),('doloremque'),('ut'),('dolore'),
('sint'),('fugit'),('aut'),('illo'),('voluptatum'),('dolor'),('similique'),
('qui'),('fugit'),('corrupti'),('velit'),('quia'),('veritatis'),('commodi'),
('incidunt'),('qui'),('dolorem'),('culpa'),('aspernatur'),('delectus'),
('unde'),('perspiciatis'),('in'),('omnis'),('labore'),('odit'),('repellat'),
('doloremque'),('laudantium'),('recusandae'),('qui'),('non'),('magnam'),
('maxime'),('aliquam'),('commodi'),('eius'),('dicta'),('atque'),('commodi'),
('maiores'),('ipsam'),('dolor');
INSERT INTO card_keywords (card_id, keyword_id) VALUES
('5','77'),('28','63'),('18','8'),('17','97'),('41','11'),('19','58'),
('47','97'),('38','10'),('33','44'),('54','76'),('22','43'),('27','15'),
('16','35'),('47','8'),('1','23'),('49','6'),('38','1'),('36','73'),
('2','89'),('35','100'),('45','49'),('41','73'),('34','92'),('28','59'),
('40','58'),('14','62'),('22','44'),('16','92'),('50','79'),('21','79'),
('1','7'),('44','22'),('48','68'),('52','50'),('42','46'),('2','88'),
('22','52'),('36','80'),('36','18'),('26','17'),('24','75'),('6','100'),
('46','29'),('32','80'),('21','51'),('47','19'),('43','66'),('31','43'),
('48','42'),('52','33'),('14','97'),('19','40'),('47','96'),('16','80'),
('52','13'),('24','98'),('7','13'),('31','90'),('50','78'),('31','6'),
('33','84'),('5','80'),('33','89'),('38','5'),('37','50'),('21','5'),
('10','55'),('33','3'),('50','83'),('12','9'),('5','13'),('27','33'),
('34','97'),('44','80'),('35','55'),('46','90'),('20','2'),('16','4'),
('23','69'),('16','60'),('5','90'),('12','91'),('52','52'),('22','68'),
('21','55'),('30','29'),('35','96'),('50','94'),('47','99'),('36','10'),
('47','6'),('28','85'),('23','75'),('33','31'),('23','77'),('49','21'),
('42','78'),('13','92'),('2','62'),('10','39'),('19','5'),('50','17'),
('21','45'),('20','15'),('32','47'),('46','36'),('1','13'),('20','35'),
('52','64'),('35','94'),('15','25'),('32','42'),('17','59'),('21','21'),
('3','63'),('25','4'),('45','16'),('5','47'),('50','32'),('47','83'),
('51','65'),('31','13'),('24','84'),('21','42'),('14','70'),('28','52'),
('47','35'),('50','84'),('32','1'),('33','4'),('3','42'),('47','38'),
('7','49'),('15','70'),('39','42'),('18','54'),('18','35'),('29','7'),
('38','47'),('9','33'),('53','26'),('25','76'),('36','47'),('54','15'),
('22','64'),('30','48'),('13','48'),('26','23'),('28','70'),('52','61'),
('10','11'),('23','26'),('13','93'),('10','95'),('20','89'),('14','60'),
('25','9'),('12','60'),('38','83'),('32','71'),('19','16'),('10','43'),
('3','26'),('18','64'),('39','33'),('5','7'),('35','53'),('46','16'),
('30','82'),('4','72'),('1','21'),('14','69'),('33','57'),('1','59'),
('45','82'),('5','99'),('54','7'),('3','47'),('53','35'),('45','48'),
('50','85'),('21','68'),('47','62'),('48','14'),('8','14'),('34','81'),
('2','73'),('46','69'),('9','100'),('24','19'),('46','40'),('39','76'),
('19','4'),('40','43'),('38','6'),('9','87'),('26','21'),('33','17'),
('31','37'),('40','55'),('25','2'),('54','99'),('8','65'),('24','63'),
('26','26'),('15','68'),('28','15'),('5','31'),('21','64'),('6','73'),
('48','55'),('49','89'),('4','24'),('2','71'),('1','100'),('35','64'),
('11','58'),('46','98'),('11','72'),('18','77'),('38','30'),('6','75'),
('25','12'),('53','52'),('33','72'),('32','35'),('26','14'),('10','92'),
('28','84'),('40','46'),('43','35'),('24','83'),('1','54'),('26','82'),
('33','48'),('20','5'),('1','74'),('21','48'),('45','63'),('31','70'),
('37','5'),('17','34'),('13','91'),('5','10'),('31','49'),('19','38'),
('29','33'),('20','31'),('15','65'),('30','34'),('16','57'),('40','6'),
('35','57'),('10','59'),('23','38'),('16','14'),('18','24'),('54','13'),
('29','83'),('53','84'),('13','9'),('15','53'),('16','11'),('20','60'),
('51','34'),('3','86'),('9','94'),('46','31'),('3','45'),('16','28'),
('34','61'),('17','93'),('45','31'),('8','38'),('29','93'),('51','40'),
('4','36'),('34','69'),('29','98'),('51','89'),('3','33'),('24','27'),
('28','54'),('2','18'),('52','38'),('7','69'),('23','62'),('23','76'),
('52','92'),('50','26'),('54','44'),('41','79'),('19','34'),('19','55'),
('43','74'),('29','64'),('37','30'),('48','71'),('1','79'),('23','47'),
('12','30'),('40','42'),('30','30'),('23','46'),('7','99'),('37','23'),
('26','44'),('32','62'),('49','44'),('1','64'),('15','69'),('29','10'),
('23','100'),('43','95'),('37','49'),('29','47'),('39','46'),('52','22'),
('36','50');
INSERT INTO classifier_cards (classifier_id, card_id) VALUES
(208,1),(255,2),(175,3),(128,4),(86,5),(92,6),(132,7),(37,8),(74,9),(24,10),
(77,11),(122,12),(239,13),(154,14),(180,15),(32,16),(193,17),(197,18),
(217,19),(174,20),(85,21),(108,22),(101,23),(259,24),(158,25),(187,26),
(22,27),(88,28),(144,29),(145,30),(87,31),(125,32),(69,33),(58,34),(67,35),
(68,36),(164,37),(159,38),(214,39),(52,40),(258,41),(104,42),(52,43),
(101,44),(55,45),(98,46),(207,47),(91,48),(84,49),(28,50),(50,51),
(199,52),(116,53),(41,54);
INSERT INTO card_ciphers (card_id, cipher) VALUES
(34,133354),(38,478452),(17,914934),(43,974539),(44,471251),(40,419928),
(14,403103),(22,804086),(49,951427),(33,281747),(16,735002),(43,962475),
(39,835465),(23,707747),(15,620297),(23,378828),(45,605432),(34,728770),
(48,944884),(42,687155),(16,471864),(28,645556),(10,900486),(44,249888),
(26,989261),(12,516490),(26,131263),(38,923751),(7,973025),(2,699505),
(4,846269),(42,573062),(12,907746),(5,780810),(46,498073),(12,211519),
(45,325393),(43,870982),(47,816965),(21,808436),(12,746273),(28,432479),
(42,535512),(52,933871),(29,283081),(16,673973),(40,276354),(1,281738),
(9,955343),(42,700170),(37,458614),(23,326763),(25,734056),(39,390644),
(40,584522),(15,166650),(15,828955),(11,936371),(5,280246),(54,334456),
(16,478238),(39,251833),(31,909404),(2,658566),(41,216080),(40,644520),
(30,681449),(22,483131),(7,660580),(50,135370),(12,285049),(28,237438),
(48,596941),(25,674942),(37,990510),(53,591609),(6,815003),(18,346940),
(17,854826),(52,969078),(19,609981),(28,703769),(26,704226),(6,594053),
(23,412377),(51,915785),(34,383089),(18,484975),(50,767101),(2,208453),
(22,870933),(13,876939),(21,843338),(48,905618),(14,954850),(27,918507),
(1,542453),(29,507880),(7,144654),(30,375391);
INSERT INTO publication_type (name) VALUES
('Рукопись'),('Книга'),('Ноты'),('Электронная публикация'),('Монография'),
('Сборник статей'),('Учебное пособие'),('Словарь или справочник'),
('Брошюра'),('Методические указания'),('Комментарии к закону');
INSERT INTO personalities (last_name, first_name, middle_name, birthday, deathday, biography)
SELECT
last_name, first_name, middle_name,
DATE_SUB(birthday,INTERVAL ROUND(RAND()*25000 + 9000) DAY) AS birthday,
birthday AS deathday,
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.' AS biography
FROM filldb.get_fullname;
INSERT INTO publications (card_id, publication_type_id, circumstances) VALUES
(1,6,'The first question of course was, how to speak with. Alice waited patiently until it chose to speak good English); \'now I\'m opening out like the tone of great relief. \'Call the first figure!\' said.'),
(2,10,'Panther took pie-crust, and gravy, and meat, While the Duchess to play croquet.\' Then they all spoke at once, and ran the faster, while more and more puzzled, but she ran with all her coaxing..'),
(3,10,'So she set to work throwing everything within her reach at the stick, and tumbled head over heels in its sleep \'Twinkle, twinkle, twinkle, twinkle--\' and went on in a moment: she looked up, and.'),
(4,4,'I THINK I can creep under the circumstances. There was a dispute going on rather better now,\' she added in a large cat which was immediately suppressed by the soldiers, who of course was, how to.'),
(5,6,'Heads below!\' (a loud crash)--\'Now, who did that?--It was Bill, I fancy--Who\'s to go after that savage Queen: so she felt unhappy. \'It was a general clapping of hands at this: it was sneezing on the.'),
(6,8,'I used to call him Tortoise--\' \'Why did you manage to do such a thing before, and behind them a new pair of white kid gloves: she took courage, and went by without noticing her. Then followed the.'),
(7,9,'Alice was a sound of many footsteps, and Alice was not much like keeping so close to her: first, because the Duchess asked, with another dig of her knowledge. \'Just think of nothing better to say.'),
(8,8,'Queen. \'Sentence first--verdict afterwards.\' \'Stuff and nonsense!\' said Alice in a day did you do either!\' And the moral of that is--\"Be what you were all writing very busily on slates. \'What are.'),
(9,9,'I get SOMEWHERE,\' Alice added as an explanation; \'I\'ve none of my life.\' \'You are old,\' said the Hatter: \'let\'s all move one place on.\' He moved on as he fumbled over the list, feeling very glad to.'),
(10,2,'The Panther took pie-crust, and gravy, and meat, While the Owl and the Dormouse shook its head impatiently, and said, \'It was the fan and the other end of the lefthand bit of mushroom, and her face.'),
(11,11,'Alice crouched down among the people that walk with their heads!\' and the White Rabbit blew three blasts on the look-out for serpents night and day! Why, I haven\'t had a consultation about this, and.'),
(12,11,'Tarts? The King looked anxiously over his shoulder as he fumbled over the wig, (look at the bottom of a candle is blown out, for she was coming to, but it was indeed: she was ever to get us dry.'),
(13,10,'Dormouse. \'Fourteenth of March, I think that will be much the same thing as \"I get what I used to know. Let me see: I\'ll give them a new kind of rule, \'and vinegar that makes people hot-tempered,\'.'),
(14,11,'Said the mouse doesn\'t get out.\" Only I don\'t believe there\'s an atom of meaning in it, \'and what is the same size: to be a book written about me, that there was mouth enough for it was perfectly.'),
(15,1,'They had a consultation about this, and Alice looked all round the table, but it all came different!\' the Mock Turtle, and said to herself, \'in my going out altogether, like a stalk out of a well--\'.'),
(16,1,'It means much the same size: to be lost, as she fell past it. \'Well!\' thought Alice to herself, as well as the doubled-up soldiers were always getting up and leave the room, when her eye fell on a.'),
(17,8,'Alice cautiously replied, not feeling at all fairly,\' Alice began, in a moment to think that proved it at all,\' said the White Rabbit read out, at the window.\' \'THAT you won\'t\' thought Alice, \'or.'),
(18,8,'Mouse did not like to try the experiment?\' \'HE might bite,\' Alice cautiously replied, not feeling at all a pity. I said \"What for?\"\' \'She boxed the Queen\'s absence, and were resting in the night?.'),
(19,10,'There was a dead silence instantly, and Alice looked down at once, she found herself falling down a large rabbit-hole under the hedge. In another moment that it would be the right size to do.'),
(20,10,'Gryphon. \'They can\'t have anything to put everything upon Bill! I wouldn\'t say anything about it, you know--\' \'But, it goes on \"THEY ALL RETURNED FROM HIM TO YOU,\"\' said Alice. \'Nothing WHATEVER?\'.'),
(21,10,'Alice hastily; \'but I\'m not particular as to size,\' Alice hastily replied; \'only one doesn\'t like changing so often, of course you know what \"it\" means.\' \'I know SOMETHING interesting is sure to.'),
(22,10,'I\'ll manage better this time,\' she said, without opening its eyes, \'Of course, of course; just what I say,\' the Mock Turtle interrupted, \'if you don\'t like them!\' When the Mouse to tell its age,.'),
(23,6,'Alice. \'I\'ve read that in the sea, though you mayn\'t believe it--\' \'I never went to the Gryphon. \'Turn a somersault in the same size: to be done, I wonder?\' And here Alice began to repeat it, but.'),
(24,9,'Gryphon answered, very nearly in the schoolroom, and though this was not even room for her. \'Yes!\' shouted Alice. \'Come on, then!\' roared the Queen, who was beginning to grow up any more questions.'),
(25,3,'MINE.\' The Queen had only one who got any advantage from the roof. There were doors all round the neck of the soldiers had to leave off this minute!\' She generally gave herself very good advice,.'),
(26,6,'As soon as there was mouth enough for it to his ear. Alice considered a little worried. \'Just about as it went. So she went on, yawning and rubbing its eyes, for it was too small, but at any rate.'),
(27,9,'Alice)--\'and perhaps you haven\'t found it very much,\' said the Mock Turtle went on in the same thing as a last resource, she put her hand in hand, in couples: they were trying to fix on one, the.'),
(28,5,'Be off, or I\'ll kick you down stairs!\' \'That is not said right,\' said the Hatter: \'but you could manage it?) \'And what are YOUR shoes done with?\' said the King. \'When did you manage on the bank--the.'),
(29,11,'She did not feel encouraged to ask his neighbour to tell me who YOU are, first.\' \'Why?\' said the Mock Turtle had just begun to repeat it, but her head struck against the roof of the Nile On every.'),
(30,5,'Cat remarked. \'Don\'t be impertinent,\' said the Queen, in a languid, sleepy voice. \'Who are YOU?\' Which brought them back again to the other end of the sort,\' said the Queen, who had been of late.'),
(31,11,'Now I growl when I\'m pleased, and wag my tail when it\'s pleased. Now I growl when I\'m pleased, and wag my tail when it\'s angry, and wags its tail when I\'m angry. Therefore I\'m mad.\' \'I call it.'),
(32,9,'Was kindly permitted to pocket the spoon: While the Duchess said after a fashion, and this was not going to remark myself.\' \'Have you guessed the riddle yet?\' the Hatter went on, \'if you don\'t.'),
(33,5,'AT ALL. Soup does very well as pigs, and was going on between the executioner, the King, \'and don\'t look at me like that!\' But she waited patiently. \'Once,\' said the Cat, \'or you wouldn\'t keep.'),
(34,9,'Alice. \'Why, you don\'t know much,\' said Alice; \'you needn\'t be afraid of them!\' \'And who are THESE?\' said the Caterpillar called after her. \'I\'ve something important to say!\' This sounded promising,.'),
(35,11,'On which Seven looked up and said, very gravely, \'I think, you ought to be a great deal too flustered to tell its age, there was nothing so VERY wide, but she was surprised to find that she was in.'),
(36,9,'King. The next witness would be like, but it was too small, but at last she stretched her arms folded, frowning like a telescope.\' And so she tried to look through into the book her sister on the.'),
(37,11,'Mary Ann, and be turned out of the players to be sure; but I shall remember it in asking riddles that have no sort of a well?\' The Dormouse again took a minute or two, she made her next remark..'),
(38,5,'Alice; \'all I know I do!\' said Alice sharply, for she was quite impossible to say \'Drink me,\' but the Rabbit say to itself, \'Oh dear! Oh dear! I shall fall right THROUGH the earth! How funny it\'ll.'),
(39,3,'Prizes!\' Alice had begun to repeat it, but her voice sounded hoarse and strange, and the two creatures got so much about a foot high: then she looked up, and reduced the answer to it?\' said the Cat,.'),
(40,1,'GAVE HIM TWO--\" why, that must be a comfort, one way--never to be lost, as she listened, or seemed to Alice again. \'No, I give you fair warning,\' shouted the Queen. \'Their heads are gone, if it had.'),
(41,4,'Duchess, it had struck her foot! She was a very hopeful tone though), \'I won\'t interrupt again. I dare say you\'re wondering why I don\'t know what to beautify is, I suppose?\' \'Yes,\' said Alice, as.'),
(42,3,'I? Ah, THAT\'S the great wonder is, that I\'m doubtful about the games now.\' CHAPTER X. The Lobster Quadrille The Mock Turtle said: \'I\'m too stiff. And the moral of that is, but I grow up, I\'ll write.'),
(43,8,'Knave. The Knave shook his head mournfully. \'Not I!\' said the Queen, in a great many teeth, so she took courage, and went by without noticing her. Then followed the Knave of Hearts, carrying the.'),
(44,8,'I can guess that,\' she added in an offended tone, and added \'It isn\'t mine,\' said the King. \'I can\'t explain MYSELF, I\'m afraid, but you might like to try the experiment?\' \'HE might bite,\' Alice.'),
(45,2,'The great question is, what?\' The great question is, Who in the pool, and the other side of the day; and this was his first speech. \'You should learn not to be a walrus or hippopotamus, but then she.'),
(46,2,'Alice; \'I daresay it\'s a set of verses.\' \'Are they in the court!\' and the three gardeners instantly jumped up, and began to repeat it, but her head made her so savage when they saw the White Rabbit,.'),
(47,8,'I THINK,\' said Alice. \'What sort of meaning in it, \'and what is the capital of Paris, and Paris is the same size for going through the neighbouring pool--she could hear the words:-- \'I speak.'),
(48,3,'Queen, in a minute, nurse! But I\'ve got back to my right size again; and the executioner myself,\' said the Mouse, in a great many teeth, so she went on again: \'Twenty-four hours, I THINK; or is it.'),
(49,7,'She was a treacle-well.\' \'There\'s no such thing!\' Alice was beginning to see if she meant to take out of a globe of goldfish she had not gone (We know it was too much pepper in that soup!\' Alice.'),
(50,7,'Beautiful, beautiful Soup!\' CHAPTER XI. Who Stole the Tarts? The King turned pale, and shut his note-book hastily. \'Consider your verdict,\' he said to the Cheshire Cat, she was ever to get us dry.'),
(51,1,'I almost wish I hadn\'t drunk quite so much!\' Alas! it was over at last, with a kind of sob, \'I\'ve tried every way, and then raised himself upon tiptoe, put his mouth close to the jury, of course--\"I.'),
(52,2,'Alice panted as she spoke--fancy CURTSEYING as you\'re falling through the little golden key was too late to wish that! She went in search of her childhood: and how she would gather about her other.'),
(53,2,'Do come back with the other: the only one way of nursing it, (which was to eat her up in a melancholy way, being quite unable to move. She soon got it out to sea!\" But the snail replied \"Too far,.'),
(54,4,'Gryphon, and the pair of gloves and a great deal to come down the middle, wondering how she would manage it. \'They were learning to draw, you know--\' \'But, it goes on \"THEY ALL RETURNED FROM HIM TO.');
INSERT INTO tracker_points (event_date, latitude, longitude, note, publication_id) VALUES
('1979-05-06',-79.65391231,-170.86837146,'Enim error temporibus fugiat. Est laudantium totam aperiam itaque et. Optio sequi dolore dolores perspiciatis quae natus mollitia. Tenetur aut culpa quisquam libero.',13),
('2018-03-25',-25.52916429,72.49233625,'Qui et quia voluptas voluptas. Odio consequatur corporis autem autem dolorem quia sit et. Repellat aut voluptas vel omnis.',34),
('1928-05-28',-38.37571627,162.13254226,'A ut maxime maiores aspernatur rem expedita nemo. Odio tenetur et cum error velit.',29),
('1983-02-13',47.08133299,142.27971273,'Id animi non minus quam ut voluptatem nisi. Ut quasi ea quas accusamus dicta similique. Vitae quae eum sequi molestiae sint ipsa. Voluptas sint magni quidem reprehenderit. Velit tempora qui vitae et nisi.',37),
('1976-11-25',41.80427065,6.38465834,'Non velit fugiat voluptate earum autem. Unde dicta quibusdam deleniti culpa. Rerum id quasi magnam et tenetur.',34),
('1955-10-06',65.06915067,38.4004969,'Rerum est quidem vero totam occaecati minus totam. Eos cupiditate velit id est quisquam. Labore numquam natus similique nobis temporibus veniam. Libero voluptatem a dolore id in autem ut.',37),
('1962-07-23',78.62851839,-49.8986289,'Architecto aspernatur enim harum dignissimos labore. Voluptas nisi corporis non possimus. Exercitationem amet dicta similique consequatur libero.',5),
('1949-04-13',65.03336548,149.05524377,'Est et eligendi blanditiis corporis tempora est nihil exercitationem. Dolor nobis magni minus sed tempora ipsa et. Dolor culpa consequatur dignissimos.',16),
('1940-01-16',-57.16432715,-162.97083198,'Consequatur pariatur hic atque et eum laboriosam suscipit. Molestias aspernatur aut quas sint ut. Ea rem facere et excepturi nesciunt dolores ipsum. Unde iusto nulla voluptatem quia qui quis voluptate.',13),
('1986-07-08',-27.16950894,-64.46267283,'Qui quo eligendi velit dolor fuga ipsa ab. Sapiente quis voluptatem iure sit dicta suscipit quidem eos. Sit pariatur qui expedita fugit ab placeat aut. Reprehenderit iste dolor provident ipsa.',51),
('1952-06-07',-67.74744727,-120.05067467,'Eos reprehenderit ut nam maiores iure. Repellendus harum ducimus fuga ut. Voluptates dicta est nemo atque consequatur vel error. Sunt cumque necessitatibus assumenda voluptatem repudiandae error.',40),
('1941-04-13',61.4517588,127.6708682,'Quia autem et commodi ea et odio est. Aspernatur omnis atque vel aliquam in sit. Assumenda et tempore dolores sequi dolores est voluptatem. Nulla iusto dolores officia. Temporibus vitae sit eius ex quia qui.',22),
('1945-11-18',-30.3466685,-57.79027875,'Dolorum perferendis animi ea enim rerum sit quidem blanditiis. Blanditiis optio velit exercitationem qui accusamus. Pariatur corporis et laborum sit iure quis. Autem voluptas odit sunt impedit nobis accusamus.',2),
('1997-08-14',78.0298081,150.00218476,'Quis commodi perspiciatis neque porro possimus. Aliquam sed sed dolores. Distinctio accusantium est id hic.',36),
('2013-05-19',2.22279745,138.63939987,'Veritatis rem soluta labore voluptatem ut consequatur possimus. Quasi aut numquam aut facilis nihil. Voluptatem animi similique pariatur error ut eos. Dignissimos provident qui architecto sequi.',29),
('1960-02-06',-3.66449955,1.11634537,'Placeat repellat nihil ullam enim. Accusamus iure et accusamus non quisquam. Sunt autem et quisquam qui distinctio dolorem in. Explicabo et aut facilis possimus voluptatem.',44),
('2009-11-13',79.03221381,49.1091926,'Quo corporis est quia voluptas sit aut. Aspernatur dignissimos laboriosam dicta ut ab est. Vel a id tempora quam enim ab.',45),
('1981-02-23',-28.04876765,80.91271604,'Nam totam accusantium alias et. Et asperiores nulla aspernatur consequatur. Aliquid praesentium dolor nemo minus tempore minima.',9),
('1962-01-03',54.72536214,152.77369641,'Voluptatem aut tempora minus dignissimos at. At sint et hic quos velit sapiente itaque. Et facere aut mollitia ea eveniet.',15),
('2007-11-27',55.16077854,-99.96668985,'Temporibus occaecati ratione officia et. Est atque nisi natus et a. Et reprehenderit quo est neque quibusdam sint consequuntur iusto. Est sed quod accusantium voluptatem expedita quo. Dolores beatae dolores minima dolorem ut.',28),
('1989-06-09',-12.32272247,31.43819124,'Excepturi eius at quae et. Qui et eligendi corrupti qui maiores aliquid. Tenetur sit dolorem a consequatur sunt in omnis aliquam. Iure explicabo aspernatur porro magni.',47),
('1922-07-24',49.60262547,-60.69529099,'Et illum voluptatum aperiam natus voluptatem. Cum quo omnis in non omnis voluptatibus officiis. Consequatur ipsa eligendi dignissimos consequuntur omnis minima maxime nulla. Quae quasi velit reprehenderit temporibus ad doloribus molestiae.',1),
('1940-06-14',85.2519427,73.01324269,'Ullam rem et quisquam quasi quisquam delectus sed ab. Aspernatur occaecati rem eos reprehenderit. Corrupti qui qui distinctio et et. Voluptatem aspernatur in dolor velit nam minus.',20),
('1945-05-27',73.81186729,121.36717343,'Beatae accusantium ea ut pariatur voluptatibus accusantium quia. Similique veniam provident optio quibusdam. Natus est quisquam est quia. Consequatur quibusdam hic est et sed.',45),
('2018-07-30',-19.47398272,43.40519467,'Impedit minus consequatur tempore distinctio. Id id veniam tenetur sed consequatur omnis. Impedit quaerat iusto voluptate dignissimos. Dolorem velit fugit expedita ut quod.',43),
('1998-11-21',-17.58775913,168.88918234,'Suscipit in nam quis. Non illum quasi iste rerum. Quia aut enim et nobis provident. Est est id nesciunt et voluptas nostrum dicta.',19),
('2014-08-19',-60.51928046,36.58784563,'Omnis aut dolore dolorem sit dolores. Nihil repellat vel vitae ad quia nostrum soluta est. Culpa culpa vel a iusto. Dolore molestiae cum nihil voluptas et id quae reiciendis. Nostrum qui aliquid et id.',13),
('1970-11-11',-29.56254506,68.54641015,'Nihil voluptas non inventore praesentium in est quas. Ad expedita ut qui est. Aut omnis reiciendis doloribus enim. Culpa in dolor minus accusamus dolores illo.',36),
('1997-03-29',74.62171202,-140.09542832,'Facilis consequuntur mollitia quo nulla est est quasi. At est accusantium unde et repudiandae. Alias omnis non consequuntur quas et facilis neque quasi.',41),
('1939-06-25',80.95512952,150.04769044,'Velit iusto et voluptatem dolorem quam. Illum provident magni eum voluptatem. Et sed cumque id eum neque dolorem qui sequi. Aut id corporis ut ea.',28),
('1933-12-22',75.57597334,-117.96033849,'Inventore ea libero molestiae debitis impedit eveniet iusto. Qui earum est blanditiis facere. Quo vel sint odit qui natus. Placeat optio perspiciatis sed id.',49),
('1986-06-04',66.45082133,16.96813594,'Deleniti debitis repellendus beatae sit minima. Quia repellendus aut mollitia eos nobis. Libero ut ut dolore alias praesentium odit. Exercitationem nesciunt incidunt pariatur sed voluptatem labore omnis.',47),
('1929-01-19',-67.86525341,-89.03866657,'Suscipit perspiciatis et et reiciendis voluptatem exercitationem aut. Provident ipsam autem sint pariatur praesentium voluptatem dolor earum. Architecto nihil vero voluptates quia est ut recusandae.',15),
('1973-09-14',-50.15487596,-91.52513401,'Consequuntur qui dolorem dolorum fugiat aut adipisci enim. Quis aliquam eligendi aut non facere. Ut et aut voluptas.',1),
('2017-10-17',-70.8122791,172.27493511,'Est eius qui ipsa quo. Et sed et esse accusamus laudantium autem quis. Ipsum ipsum officiis consequatur sit esse animi.',9),
('1956-12-16',32.03053879,-91.81749446,'Magni quaerat corporis magnam. Voluptas similique autem labore qui impedit inventore. Numquam dolore soluta ut voluptatem. Quasi aut saepe omnis eveniet dignissimos voluptatibus accusantium est.',28),
('1932-04-18',-21.16244075,45.16860863,'Perspiciatis nihil nobis et enim exercitationem soluta. Placeat ut inventore quas qui rem unde odit sed. Placeat explicabo eum sit incidunt assumenda natus quae.',28),
('1922-03-10',-64.07151099,150.84226503,'Animi id ipsa deserunt aliquid. Assumenda incidunt aut atque iste ut aliquid. Debitis aut sed velit quia. Dignissimos vero ab repellat vel voluptatem veniam exercitationem.',18),
('1969-10-15',-36.95999589,173.64888645,'Enim quia suscipit perspiciatis beatae distinctio delectus. Beatae dolores occaecati quibusdam autem et et et.',48),
('1955-01-02',-67.0346674,22.31007388,'Eos veritatis sed magni eos sunt. Cumque consequatur aut ut aliquam. Dolores aut non soluta minus distinctio.',10),
('1960-10-09',84.53614016,-119.06433237,'Eius ipsa amet cum mollitia. Quam esse aut quisquam sapiente veniam. Et sit id delectus aut eum. Aut qui quasi voluptas enim nihil necessitatibus. Unde modi explicabo alias officia quia omnis itaque quia.',31),
('2004-02-03',50.84425121,-16.65849587,'Cumque non vero deserunt qui quia doloribus. Praesentium nobis sed occaecati rerum id voluptatibus asperiores. Ut quae dolor delectus vitae omnis voluptate aut. In rerum aperiam perspiciatis saepe enim.',27),
('1926-03-13',-34.69579758,4.92641875,'A et et magni dolorem. Tempora corporis veniam ratione sapiente dolorem fugiat.',28),
('1956-07-24',88.40197398,-6.25946288,'At itaque et doloremque nihil eligendi est. Quas id officiis minus molestiae sit officia aliquid. Et dolor sit doloremque nihil aut nemo cumque.',28),
('1962-04-05',-19.47019024,-115.93803805,'Cupiditate ratione hic et placeat reiciendis eius quae. Laboriosam consectetur veniam laborum. Et ipsa vel vel explicabo est alias porro consequatur. Ut natus culpa quis perspiciatis quidem.',37),
('1958-06-30',48.43197275,17.66129838,'Voluptates est ex earum quisquam. Id consequuntur voluptas voluptatem dolores ut eveniet. Dignissimos natus nisi repellat rem sint sapiente.',44),
('1952-01-22',60.09431813,-10.05952525,'Sit quia animi sequi est dolor dolorem iusto. Facere quam vel voluptatum veritatis beatae. Est quidem officia repudiandae veniam.',27),
('1976-04-08',47.82480042,134.90662826,'Maiores dignissimos culpa et pariatur mollitia corrupti voluptas velit. Eos adipisci ea vel. Rem odit doloremque enim quibusdam magnam.',39),
('1998-10-30',-55.77591996,-153.6235525,'Quod dolor dolor sit. Qui placeat aperiam accusantium maxime doloribus. Quo ut dolorum commodi dolor perferendis ut.',16),
('1961-08-15',88.82490914,94.67841001,'Doloremque deserunt nulla molestias laboriosam natus ut assumenda. Quasi mollitia aut quos nemo sequi. Incidunt et et velit non nam quia.',1),
('2006-04-16',76.19942927,-91.67612193,'Nemo et architecto dolores delectus vitae. Et ea vero consequatur non quibusdam. Repellat ut quo quibusdam autem.',33),
('1957-07-11',-47.03703446,-178.31734652,'Eum eius sed magnam eligendi. Repudiandae voluptatem voluptas inventore est ex deserunt consectetur. Deserunt sequi ipsum voluptas qui. Voluptate rerum unde ea et dolores dolore.',33),
('2000-03-04',88.30743466,156.59216243,'Numquam dolore fugit dolore ex doloribus voluptatem nobis. Incidunt animi dignissimos officiis sit quia repellendus quo. Debitis pariatur distinctio minus delectus ea sit.',15),
('1986-02-16',-11.94410696,155.10966711,'Aut adipisci sapiente sed. Mollitia aspernatur velit suscipit corrupti eum atque. Eius consequatur eveniet est delectus id possimus cupiditate.',52),
('1959-01-19',4.61864897,-15.5876893,'Quaerat quas dolores cupiditate autem. Assumenda aspernatur odio optio saepe atque et harum. Illum et porro sint qui impedit inventore.',50),
('1976-05-30',18.1453038,-142.70196585,'Voluptatibus voluptatem deleniti labore nihil delectus nam consequatur. Ut nesciunt rem sed molestiae aut placeat. Corporis culpa et ut dolor placeat dolor ut.',51),
('1954-08-08',64.46613795,-141.97744453,'Veritatis provident occaecati consequatur facilis tenetur accusantium quod. Molestiae nihil ratione quia. Expedita saepe id dolores unde et. Nulla et sunt quia nemo aut a et.',34),
('2004-12-19',82.46714581,151.03956899,'Dolorum et nam quo illum occaecati quam. Fuga in aut distinctio quis architecto. Molestiae ut laborum voluptatem alias eveniet odio dolor. Consectetur aspernatur exercitationem modi.',27),
('1967-11-04',53.32810567,-176.51108276,'Totam quasi quae sit at. Sit eaque porro incidunt quasi voluptate soluta mollitia. Est accusantium vel eveniet dolores. Necessitatibus nam est illum corrupti officiis autem enim.',35),
('1945-06-12',-7.69873427,4.30107228,'Aut quis aliquam sed sit recusandae. Autem voluptatem autem dignissimos provident ullam vel voluptatem. Dolores mollitia et et accusamus tempora ad. Eum facilis necessitatibus et minima.',5),
('2004-11-27',85.51395974,108.71731915,'Vitae nesciunt qui amet. Incidunt ipsum necessitatibus ut. Explicabo dolor unde unde cumque. Nemo aliquam consectetur ut et voluptatem nihil dicta voluptas.',24),
('1979-05-03',42.1923298,-32.85055131,'Voluptas autem laboriosam similique laboriosam magnam vel aliquid. Voluptatum omnis iste natus cupiditate et sed dolorem.',47),
('2000-02-09',72.2351831,148.3515079,'Officia voluptatem exercitationem autem enim corrupti qui. Numquam accusantium assumenda asperiores. Quasi aut quia sed eius beatae.',27),
('1953-05-24',-55.23532861,-111.36989462,'Eaque qui sequi vero error. Odit voluptatem sapiente est nesciunt fugiat hic. Et non voluptatem voluptas dolore.',11),
('1958-09-27',-12.16295518,-10.74159642,'Natus cumque officia ipsam reprehenderit iste quidem. Ducimus illum voluptatem enim non commodi nemo.',26),
('1989-01-29',-88.90022457,-146.66434646,'Ducimus et aut culpa accusantium adipisci voluptate id. Nam sed et harum aliquam sunt quae. Esse cumque quis voluptas facere voluptatem ut eum vero. Ea magni doloremque perspiciatis facilis enim.',27),
('2013-04-06',36.43840313,3.24214337,'Est quae neque numquam aliquam in quisquam. Corrupti eveniet natus rerum quod aut. Neque aperiam aperiam error autem est quis.',8),
('1980-10-08',-79.43914541,67.69719663,'Tenetur occaecati laborum saepe explicabo ipsa ut expedita rerum. Cumque et quisquam asperiores eos accusamus.',29),
('1929-12-03',-64.38179002,63.81727064,'Et excepturi ut similique doloremque. Repudiandae non saepe quidem velit.',24),
('2010-12-11',49.0693216,-168.59780374,'Tenetur enim et et ullam voluptatem. Necessitatibus hic maxime neque quia voluptas ipsum explicabo nihil.',13),
('1996-02-03',-33.13799766,42.83440466,'Enim in quidem quas est. Laborum tenetur quia quia vero assumenda blanditiis. Nam vel recusandae voluptate autem.',32),
('2010-07-06',41.51483666,-70.40003568,'Consequuntur ipsa et totam. Corrupti et quia ipsum quae voluptatem excepturi.',30),
('1927-10-22',29.11102711,-59.69333539,'Ut deserunt provident et tempora corporis. Et et quia et. Enim nihil sit veniam molestiae.',14),
('2009-07-02',66.59662613,-96.43024839,'Atque autem exercitationem qui quaerat et. Numquam delectus dolor qui in. Ut sit omnis soluta impedit.',18),
('1970-08-23',-35.26868047,150.86575397,'Incidunt consectetur dicta aut tenetur et tempore tenetur. Est nam consectetur temporibus esse recusandae.',7),
('1996-01-17',79.02396711,144.53762964,'Ipsa quasi maiores sed eius et ad iure. Suscipit cupiditate et molestiae quisquam quas. Laborum modi ut est magni in quo ut. Et officiis aut tempora quia atque.',42),
('1948-04-23',-25.07676992,-116.63294124,'Ut laudantium doloribus adipisci. Ad earum sit quos labore doloremque. Sint beatae ut perferendis in nihil omnis. Praesentium rerum iure voluptatem consequatur quisquam debitis. Voluptatem iste eos doloremque aut omnis quos sapiente.',41),
('1947-05-26',-86.1646064,-172.93367073,'Autem necessitatibus sed in ipsum corporis officiis vel quisquam. Vitae ex blanditiis recusandae sequi quas qui error. Eum quam omnis aliquid aut ad. Consectetur rem ut optio illum eius quis ipsa. Cumque accusantium eos vero aut.',29),
('1947-11-30',-55.60311328,-138.32943743,'Est consequatur laudantium minima perspiciatis dolor. Distinctio sit quisquam nihil molestiae. Eius doloremque ipsum non ut dolores molestiae.',26),
('1988-08-11',-33.77945675,124.67694543,'Incidunt officia rerum perferendis iste eum. Accusantium omnis illo fuga. Natus deserunt beatae ut et tenetur.',10),
('1950-11-07',-54.63641917,-125.183867,'Inventore et numquam recusandae consequatur dolorem. Dolor itaque repellat cumque qui fugiat in qui.',53),
('1972-06-14',54.16409641,24.10772154,'Harum unde asperiores placeat non explicabo neque necessitatibus. Quia facere ut possimus labore similique voluptas. Voluptatibus rem in minima consequatur dignissimos.',39),
('1981-10-01',71.72125124,107.83806572,'Porro enim assumenda vel autem. Perspiciatis impedit voluptas est.',15),
('1993-06-28',32.69541658,-44.9038865,'Veniam dignissimos qui ut quas. Molestias ut odit adipisci repudiandae voluptatibus. Non officiis dolorem quis recusandae dolor et. Et quaerat in voluptas nemo nisi est voluptas architecto.',48),
('1929-05-19',75.64173842,-41.89391523,'Libero beatae vero et ipsam aut et. Et quos voluptates atque consequatur aut et qui neque. Porro quas natus ut earum accusantium at. Aliquid numquam dolor architecto quos temporibus veritatis.',20),
('1948-05-26',84.15493657,-24.25272763,'Laudantium atque quis tempore autem et neque qui. Similique incidunt impedit temporibus nihil. Qui autem recusandae eius laborum.',37),
('1994-04-16',62.6264076,-57.53328072,'Voluptatum alias tempore nobis. Quae dolores dicta delectus et.',42),
('1960-08-07',5.54537113,-158.29282745,'Facere et itaque sapiente cumque veritatis placeat. Ea in ut tempora soluta consequatur. Quisquam quia quam aspernatur aut odio dolores vero natus. Iusto ut illo laudantium culpa ab nihil modi.',26),
('1931-04-04',-26.12090461,153.60749981,'Odit unde adipisci officiis ea qui voluptas. Vitae amet et doloremque illum laboriosam ullam. Nesciunt at quis sit at. Nulla velit consequatur labore quia.',10),
('1988-01-07',-70.21331475,-4.9962737,'Optio ea inventore consequatur at. Odit et nobis incidunt. Voluptatum dolorem voluptas delectus magni deserunt dolore. Corporis quibusdam aspernatur qui vitae repellat quia esse atque.',49),
('2011-01-13',-89.17077279,126.59538972,'Quis placeat ut a adipisci ut enim. Pariatur vel est quod molestias quisquam sunt quod quo. Excepturi quo et quia sed corporis debitis blanditiis facere. Vel et neque voluptatem est.',51),
('1922-08-16',-63.11583983,-174.47535233,'Earum sed quis sunt non necessitatibus perspiciatis. Explicabo ex ea delectus error et. Earum corporis quis id. Laudantium ut velit sit est esse sunt.',26),
('1945-12-13',52.13423591,-6.26128176,'Sed est ea nihil iusto nisi excepturi ullam reiciendis. Fugiat minus suscipit nisi expedita.',11),
('2017-12-16',-4.87504988,166.38738574,'Quam consectetur laudantium fugit dolores est. Voluptatem harum molestiae dignissimos itaque corporis. Occaecati qui eaque optio ut iusto adipisci. Sunt sunt esse est. Eius repudiandae qui omnis omnis.',2),
('1955-02-03',-79.7144268,126.05711765,'Alias nisi repellendus cum aliquid aut. Saepe eos illo non. Aut corporis pariatur magnam.',1),
('1966-06-25',71.4283717,22.91923087,'Veniam molestiae sit qui est deserunt adipisci vitae autem. Quae molestias quo pariatur ipsam veritatis eum.',39),
('1965-09-20',-24.60819371,98.95749614,'Alias aliquam qui aut et minima ipsam. Nulla et est numquam recusandae ut iste ut suscipit. Rerum aut qui sit voluptas minima est ducimus.',10),
('2003-02-01',-16.2209174,-135.30518943,'Illo itaque voluptatum modi quos ut magni et. Enim sit ratione quo hic quisquam ratione labore quaerat. Quas tempore provident cumque.',27),
('1975-07-17',32.27730696,98.39214398,'Aspernatur deserunt illo omnis rerum cumque natus error. Culpa commodi alias quia alias. Animi sint minima iure sit a facere ut. Voluptatum cumque cum nobis modi eum.',7),
('1964-08-22',-18.36322791,-165.73115698,'Dolor inventore expedita debitis necessitatibus soluta quia. Et enim quis optio doloribus dolores quisquam est. Qui laborum et quo voluptatem deserunt.',47),
('1920-09-07',-48.67162569,-126.75594743,'Nesciunt officiis neque quo. Consequatur ipsa deleniti ex temporibus fugiat dignissimos recusandae. Rerum repellat voluptatem est est impedit est.',4),
('1996-07-03',-71.45107492,120.85085959,'Eos pariatur pariatur qui officia labore veniam inventore. Voluptatem ratione eius cupiditate quaerat repellendus odit necessitatibus. Et aut voluptate ut magnam amet enim eos.',22),
('1983-10-19',-70.14070811,103.61871205,'Placeat blanditiis quas voluptatum consectetur nihil est. Ratione dolore aut nesciunt laborum est sunt atque. In velit aliquam earum et accusantium aliquam quibusdam. Quia et sed earum sit rerum consequatur.',18),
('2017-09-20',39.86892449,-7.12891334,'Reprehenderit voluptates placeat aut rerum molestiae eos similique. Aut necessitatibus nisi repellat vitae et id veritatis. Quibusdam sed qui impedit architecto quidem sunt.',14),
('2003-07-13',31.11635344,-142.3303235,'Ab provident autem exercitationem sint rerum. In laboriosam qui suscipit nostrum fugit voluptatum. Consequuntur cumque rerum odit iusto. Quis aut officia sit.',40),
('1970-01-17',71.6474671,23.28535559,'Natus qui ipsam nulla nostrum et error doloremque possimus. Facere impedit velit et distinctio omnis. Exercitationem assumenda quia dolorem quisquam quas.',1),
('1946-03-14',-12.85030955,72.55523472,'Id soluta et reiciendis explicabo possimus beatae eligendi. Rem at laboriosam totam nihil rerum est esse. Excepturi quis sit cupiditate mollitia.',5),
('1929-07-15',12.564375,12.51104267,'Dolores laboriosam nobis veniam blanditiis sed. Quae eos doloribus dolorem dolores amet molestiae laborum. Quae recusandae nisi voluptate omnis soluta veniam autem iusto. Ut sed non qui quia in magni quam eius.',11),
('1929-06-06',44.00656542,-171.93890059,'Fuga quod dolore perspiciatis. Nobis ducimus perferendis iste voluptatem ut delectus. Corporis repellendus voluptas ut ducimus fugiat.',8),
('1982-08-20',60.07270615,-49.73691634,'Sed facere nihil autem omnis. Rerum et quia dolores unde. Aut ex consequatur qui.',47),
('1938-06-25',-59.39147904,-79.3525054,'Animi adipisci exercitationem voluptas suscipit assumenda vel ipsa. Totam voluptatem voluptas consectetur reiciendis est. Totam non alias nihil quaerat totam perferendis.',49),
('1992-10-07',34.5951694,34.46472984,'Illum in quaerat totam inventore. Praesentium labore et dolor assumenda similique cum voluptate. Labore ut facere et repudiandae aspernatur. Soluta eaque ad aut.',37),
('2002-08-20',56.02798315,-142.18741724,'Ea dolor quasi beatae provident nostrum accusamus. Vel iste expedita veritatis sapiente. Reiciendis illum alias ducimus commodi possimus.',31),
('1958-10-16',61.24354261,45.80520294,'Beatae velit dolorem quia. Laboriosam nisi a eos vitae aut ipsam explicabo. Omnis quia officia aliquam illo accusamus.',38),
('1936-10-06',-13.44831148,104.6495745,'Et officiis id quibusdam praesentium similique quaerat sapiente. Facere quibusdam minus sit minima non quis et. Iste sunt molestias velit quia.',31),
('2006-04-30',15.94818611,-38.49920957,'Odio recusandae et ut ea aliquid et. Sit voluptas accusamus excepturi dicta labore officia. Aut ut modi nisi rerum numquam non odio. Nesciunt dicta illo rerum consequatur quia unde.',31),
('1969-04-13',-49.63722781,-87.02457805,'Explicabo in harum eaque assumenda quod sunt. Excepturi aut ut enim aliquam consequuntur repellendus recusandae. Enim vero commodi hic quos dignissimos voluptatem debitis. Fuga magnam dicta repellendus voluptates quo quam cum perferendis.',18),
('2007-10-03',26.20823499,-49.69390008,'Sit rerum aut amet nam soluta voluptatibus et. Libero nihil enim non voluptatem rerum aliquam dolores. Voluptatibus reiciendis dolorem sit voluptatem. Iure nisi eum fuga error harum quae et consequatur. Sed doloremque eaque et quia consectetur hic et.',12),
('1945-07-15',46.14865423,28.914999,'Animi libero iusto a neque expedita. Eos rerum ad amet veniam. Consequatur placeat suscipit dolores saepe nihil.',33),
('1958-02-05',87.46481174,136.2375221,'Sunt consequuntur odio autem odit voluptatem dolorem. Debitis eligendi saepe accusantium odit impedit est. Quam in iusto aut accusantium ut perferendis expedita.',30),
('1954-05-18',-78.23711075,37.31976499,'Sit illum impedit repellat unde id ut ut. Totam illum nulla aut labore vitae voluptatem vel.',14),
('1998-10-29',62.61049145,-0.88219254,'Vel a non aut repellendus animi mollitia. Occaecati porro magni et suscipit iste ullam provident iste. Aperiam beatae dicta debitis quia pariatur. Quasi quis dolorum est molestiae sunt et tempora.',33),
('1984-06-10',36.29265173,92.69797198,'Harum nostrum veritatis id nihil laboriosam cumque ipsa. Ipsa fuga et modi dignissimos molestiae quae id. Dignissimos quia quia ut odio dignissimos. Ea magni enim omnis quis.',43),
('1926-02-05',17.81877594,-119.30137058,'Enim in et et a assumenda dolorum id. Consequuntur delectus dolore quod atque animi. Rerum provident impedit consequatur ipsa nesciunt non.',20),
('1999-05-30',52.52761942,164.06735457,'Eum nobis ipsam ratione. Eveniet distinctio architecto qui possimus soluta. Id harum voluptas a et quidem.',28),
('1978-08-07',19.42916401,152.2490746,'Laudantium iure aut corporis recusandae. Voluptas earum in eveniet repudiandae est officia. Velit sapiente delectus iste praesentium necessitatibus harum et non.',38),
('1942-12-09',-35.40788016,-14.46098029,'Delectus a illo doloribus debitis ratione recusandae. Minus omnis voluptatibus sapiente qui recusandae voluptas dolorem. Ratione nihil et dolor eos. Quis libero qui quia.',50),
('1946-03-15',48.20715871,-129.23717232,'Aperiam similique velit ipsa rem a. Sed quidem dolorum dolores officiis qui. Natus ea eveniet quaerat nulla pariatur.',42),
('1959-03-16',45.54787872,-115.02466558,'Autem qui dignissimos illum ut architecto porro. Illo et quo repellendus iste nihil aut necessitatibus. Sapiente voluptatem ea vero temporibus autem nihil.',14),
('2018-12-19',74.33073014,76.26881647,'Quod rerum iste eos. Provident beatae eos consequatur repudiandae fugit sed quae quam. Voluptas a consectetur quia laudantium quisquam rem hic.',18),
('2007-05-22',-1.19569747,61.13573972,'Voluptas eius quisquam est voluptas consequuntur inventore quod. Qui placeat distinctio sapiente et ipsa quia eveniet. Voluptates reprehenderit iure explicabo ab sapiente voluptas ipsam.',10),
('1957-06-24',-63.90004374,78.80142896,'Rerum vel totam veniam qui eum consequatur veritatis. Commodi optio non exercitationem fugiat rerum facere quisquam. Earum at eaque officia qui cumque quibusdam.',47),
('1935-06-06',58.88299734,-46.42814665,'Modi atque quia aperiam nesciunt. Numquam labore earum esse est eos qui. Voluptatem aliquid eveniet vero expedita eum quo qui.',30),
('1940-09-29',-76.34949392,-111.27630028,'Necessitatibus quos qui neque distinctio alias sit ab qui. Enim enim et eos odio aut voluptates. Ducimus debitis consequatur et quod qui tempore voluptas.',6),
('1938-11-23',35.31748527,-23.14370964,'Explicabo architecto est facilis eos et. In eum consectetur aut perspiciatis.',54),
('1982-08-12',-61.6877875,35.49023474,'Quam id et temporibus facere dolores dolores. In qui molestias tenetur est accusantium sed. Et voluptatem cumque consequatur nemo sunt ducimus.',17),
('1946-08-10',-1.36692584,11.53246369,'Aliquam minima tempore odio et officiis et numquam. Ab nisi eaque ad ipsam consequatur. Aut sint ipsa soluta iure dicta eligendi. Cumque hic distinctio exercitationem dolorem quis.',20),
('1989-05-21',62.18611855,-79.05690686,'Maiores velit sit voluptas at veritatis eum. Iste aut voluptatem exercitationem quas incidunt minus sed. Quia qui consequatur non nostrum ipsum quia. Quia cumque commodi voluptatem fugiat. Enim suscipit consectetur dolore dolorem ipsa commodi nam.',12),
('1969-11-09',-0.00880766,-172.89015306,'Consequatur id libero enim necessitatibus iusto. Odit tenetur eius consequatur deserunt. Sit aperiam ipsam reprehenderit.',17),
('1928-06-29',85.10826674,53.94390385,'Quod et rerum temporibus beatae. Debitis autem non quisquam et libero. Aliquam deleniti et assumenda hic nihil. Nihil dolor voluptates sapiente eos et.',2),
('1996-03-31',-16.62601478,-42.12195597,'Magnam sunt impedit est voluptate ut sint. In sed aut voluptates repellat. Totam maxime ducimus deserunt quaerat qui soluta. Repellat aut adipisci et quia tempore soluta est.',48),
('1937-01-15',-39.98318467,-78.60056353,'Inventore sit qui explicabo quidem. Qui dignissimos mollitia eaque inventore. Laborum modi eaque eum dolores incidunt. Dolor natus distinctio ut et modi aliquam est.',9),
('1991-01-07',57.59800213,80.84798998,'Vitae nostrum ratione laudantium ut veniam sapiente. Quaerat deleniti quaerat quis atque commodi aliquid. Et consequatur qui accusantium impedit voluptas. Provident est quaerat suscipit eum similique.',42),
('1968-06-25',-15.67847021,29.65872342,'Atque id porro asperiores culpa. Iure eos molestiae debitis dolores. Unde qui repellat rem quo.',35),
('1981-11-15',-10.18180452,135.33294376,'Rerum in quidem est corrupti aliquam necessitatibus quia et. Deleniti sint repellat quos ut ut tempore. Voluptatem quos occaecati doloribus. Voluptatem molestias explicabo illum id qui blanditiis et.',32),
('1984-04-08',17.36152016,-39.86882077,'Perspiciatis illum dolorum recusandae libero. Quibusdam unde quia recusandae repellat quasi omnis expedita. Natus pariatur laudantium quibusdam mollitia rerum debitis.',11),
('1953-04-17',-80.48958177,137.43781382,'Quas ullam omnis sequi et odit. Quidem ipsum qui animi suscipit. Et sed facere officia maiores. Assumenda ducimus distinctio eum qui consequatur.',34),
('1967-12-23',69.35807656,-164.80377601,'Iusto eum at placeat autem nihil. Ad labore sint voluptas sunt deleniti iste assumenda. Quasi qui molestiae id qui quo nihil dolores.',48),
('2002-04-07',15.94827295,-3.51980967,'Omnis enim iusto rerum labore et ut. Rerum assumenda id voluptatem odio itaque. Repellendus ea ut molestiae ipsum voluptas qui nihil.',19),
('1998-07-26',40.03890178,64.58348103,'Nihil excepturi ut quos quidem dolor ullam repudiandae voluptas. Sint officiis ipsum non ducimus repellat ea aut. Nostrum quo et veritatis eos. Dicta corrupti similique architecto distinctio beatae dolore quis.',21),
('1946-12-23',28.597441,-124.09320102,'Et ratione dignissimos quo. Repellendus molestiae est eum amet. Quis incidunt velit fugiat eaque eaque impedit perferendis.',10),
('1979-06-13',25.41879834,-170.41436551,'Consequuntur quia a deserunt voluptatem. Tenetur illum ut voluptas nihil. Et voluptatibus non magni exercitationem omnis ut et dolores.',44),
('1962-11-06',-14.18675162,-30.99268739,'Molestiae esse ad sapiente in sint. Ut provident corporis ratione dolores veritatis vero. Rerum voluptas architecto aliquid quos.',35),
('1985-06-13',56.99122677,-12.90311625,'Dolores maxime minima suscipit omnis quasi dolore. Sit et aut autem dolorum. Tempora vel natus nulla aut tempora sapiente dolorem et.',21),
('1977-11-03',25.24059246,-141.43388281,'Quis autem reprehenderit cum distinctio. Officiis voluptatem earum hic non. Fuga quo voluptatem non nostrum quidem debitis. Qui ea porro ut.',12),
('1979-03-08',-40.6463383,16.65546732,'Quo temporibus sed odio placeat. Sapiente eligendi sequi ea eum odio aut. Perspiciatis enim vel aspernatur. Enim iste sit autem autem quidem dolorem.',50),
('1946-12-19',-79.93022695,-24.64436216,'Sunt iste et eos aut ut. Est inventore ut qui ducimus nobis deserunt tempore quasi. Dolores voluptas et rerum. Qui porro minima ut velit velit qui.',1),
('1997-01-21',2.49961458,-169.79065217,'Sit perferendis sint quas nobis deleniti. Soluta eum consequatur non assumenda et aut eligendi asperiores. Animi quia esse a sint hic. Eum odit dolore debitis iusto libero ipsa.',12),
('1972-03-14',-8.89016062,140.57763871,'Et iure et deserunt aut libero. Molestiae dolorum excepturi adipisci eligendi dolorem omnis optio. Et excepturi reiciendis explicabo doloribus.',46),
('1934-01-04',-18.08615371,95.14748076,'Libero tempora qui labore voluptas. Qui fugiat ipsum qui hic est et ea ipsa. Fugiat sed eius est quod ea molestias.',28),
('1980-09-29',-8.28950749,-88.64296028,'Est impedit ullam qui qui ea dolorum et. Eos accusamus iure facere velit omnis quas temporibus excepturi. Incidunt doloribus incidunt accusamus sed ea.',11),
('2012-07-29',-73.41771684,175.63520288,'Sequi minus tempore velit et. Sed sed qui est perspiciatis.',24),
('1964-05-06',60.56453477,-143.78256181,'Qui consectetur atque odit culpa iste aut. Eum cumque maiores consectetur.',44),
('2000-06-25',63.94443505,148.04301095,'Deserunt vitae est itaque omnis atque exercitationem. Voluptas blanditiis odio iure. Dolorum repellendus assumenda accusantium aut qui. Facere ut veniam rerum quos quia.',25),
('1995-04-29',17.94597141,-34.31012262,'Dolorem voluptatem nam illo quaerat alias facere. Unde quaerat quia ut. Molestiae dolores aut veritatis et eligendi tempore. Aut sit eos velit blanditiis.',36),
('1939-09-29',-77.52484973,-64.03759534,'Odit est neque nostrum natus eaque quaerat. Veritatis et soluta blanditiis ex nisi ab. Quibusdam expedita non aspernatur exercitationem porro quod.',41),
('1972-08-26',21.81539688,-68.79441575,'Eum placeat quaerat et ad. Quia facilis et ipsa alias. Eaque eum aut impedit odit nobis. Illo facere expedita et eligendi rerum consectetur ut.',9),
('1991-11-01',-0.17208772,-149.04311415,'Eum quis tenetur consequuntur voluptatibus est veritatis veritatis. Impedit quia doloremque rerum consequuntur culpa. Facere nesciunt nostrum aspernatur est enim.',26),
('1985-03-14',-8.06072369,-26.44048265,'Sit ut totam saepe possimus fuga vitae. Ea quam voluptas tempora qui deleniti nobis. Deleniti magni harum atque occaecati quae in. Sunt doloribus non sequi labore corporis.',38),
('1952-08-11',-13.16964799,-7.396459,'Pariatur minus quo est sed voluptas eligendi. Nostrum molestiae voluptas et enim aut harum quas. Quidem quisquam ipsam et ducimus quod.',4),
('1948-08-30',-2.31167672,-85.00456101,'Adipisci doloremque itaque esse ipsum veritatis ratione. Qui sed molestias mollitia quasi quis quia vitae inventore. A suscipit necessitatibus corporis voluptatem error voluptatum. Quia ut est optio et ea.',5),
('1951-06-14',-62.59570871,136.19239997,'Quia est facilis culpa fugit. Id dolorem alias iste delectus. Deleniti alias magnam architecto optio ut. Incidunt natus qui inventore non et.',6),
('1966-01-16',8.46238558,106.98624559,'Natus soluta facilis est voluptatem laborum fuga cum qui. Dolore voluptas veniam nihil. Fuga voluptates ut omnis molestias et cupiditate. Esse aut fuga est assumenda.',50),
('1996-03-10',33.07560914,134.32016762,'Qui sint nesciunt nam voluptas harum eos nihil et. Animi dolores odit sapiente voluptas explicabo sint. Et voluptas ab eum necessitatibus placeat aperiam eius. Vero aperiam veritatis qui ex qui.',7),
('1987-11-28',41.73672852,-78.99028665,'Sint odit vero animi voluptatem. Fuga magnam omnis reiciendis blanditiis quidem. Dignissimos modi modi voluptate et. Quis consectetur dolorum ullam veritatis aut laudantium est.',44),
('1936-06-12',12.97447445,-62.66787686,'Est ut laboriosam sequi eum fugiat. Qui molestiae iure perspiciatis fugiat. Vel perspiciatis aliquid necessitatibus ratione corporis corrupti. Sequi explicabo qui esse eum rerum ea ut.',31),
('1922-03-03',68.05717845,35.75557076,'Rem nobis quidem placeat. Deserunt magnam voluptas perspiciatis expedita non. Optio voluptatem libero aut nostrum cumque veniam assumenda.',45),
('1946-06-01',10.69991217,141.66746231,'Et vel nesciunt sed aut et minus. Cupiditate vel delectus dignissimos eveniet animi totam repudiandae. Accusamus perferendis ut accusamus minus autem.',43),
('1987-12-15',55.38158352,166.99319466,'Tempore beatae eos laborum maiores officiis consequatur. Eum quas ut qui qui officiis numquam. Perferendis id nostrum veniam ducimus. Cum rerum est porro vitae.',34),
('1979-11-13',-13.57277671,104.24591243,'Cumque eius omnis quis maiores aut. Non laudantium nihil pariatur qui. Commodi sed nemo ad omnis fuga et. Aspernatur non nemo esse.',1),
('1934-02-14',-60.77996821,-46.5807672,'Debitis similique voluptas ut maxime corrupti deleniti numquam. Dolorem enim minima dolorem. Aut natus repellat cupiditate. Et pariatur eos sed quaerat voluptas in. Est nobis aut laborum quisquam.',10),
('1995-09-30',-28.65719056,140.79007167,'Veritatis nemo velit placeat consectetur reprehenderit architecto. Quos facere rem id. Quos iste optio quod ut dolores quaerat.',28),
('1949-09-15',33.15902257,104.74979574,'Explicabo delectus blanditiis libero aperiam. Aut id ut expedita dolores perspiciatis nemo harum. Ipsam aliquam facilis molestiae nemo. Sit tenetur rerum dolor dolor ut repudiandae.',18),
('1930-07-05',62.15556559,-112.25227433,'Corporis aut est non rem. Aliquid omnis debitis est incidunt adipisci. Voluptatem consequatur possimus veniam et esse et nulla.',27),
('1980-09-24',-16.13977798,152.51432093,'Laborum qui qui laudantium perspiciatis non modi quia. Aliquam beatae et voluptatem dolorem qui suscipit. Placeat non quia et.',50),
('1924-06-04',-85.04454257,99.44777964,'Excepturi nihil aut consectetur est veritatis voluptas. Aut explicabo quo sunt nam voluptates. Voluptatem voluptas in id vero labore. Voluptatem et aspernatur libero quod voluptatem consequatur cum maiores.',12),
('1947-11-06',-65.52266964,111.91096373,'Blanditiis quasi nihil enim veritatis recusandae libero. Omnis illum minima deleniti inventore blanditiis repellendus. Magnam facilis aut esse possimus.',40),
('2012-05-22',-50.78842849,-120.56855978,'Non vel voluptas sit reiciendis quas et quam quia. Quia totam autem dolorem dolor deserunt. Fuga at qui perspiciatis. Tempore soluta sapiente saepe alias.',31),
('1983-06-19',75.14575674,14.74080644,'Doloribus quis molestiae aut fugit dignissimos deleniti quis. Ex incidunt tempore ex nihil. Eum sed repellat et temporibus beatae.',25),
('2018-03-25',11.27744843,-41.22827762,'Quibusdam ut nemo rem rerum. Est nulla omnis cupiditate dolorem consequatur numquam. Dolorum itaque laudantium fuga. Incidunt quas quod et ut occaecati error. Ut eos ut autem aspernatur distinctio odit nulla.',35),
('2008-03-24',15.98915803,165.68721938,'Nostrum unde qui mollitia nemo aut. Hic autem vero odit voluptatum officia rerum nisi. Beatae dolores voluptatibus ab velit sed eos est possimus.',22),
('1974-06-06',-82.25482139,-115.76808608,'Qui consectetur quia sit sit minima laborum. Nobis ut ducimus quia aut aperiam numquam. Qui modi quas commodi voluptate voluptatem in. Qui facere voluptatem cumque et incidunt doloribus placeat tempore.',9),
('2008-04-20',48.61504843,97.03513766,'Ratione aut esse molestiae ratione voluptatum. Rerum eveniet rem excepturi non. Deserunt voluptatem sint velit sint quia facere.',38),
('1991-10-26',-49.51306408,-86.40638856,'Aut velit doloribus id autem sit iusto. Architecto velit impedit consequuntur nihil ad. Consequatur et laudantium voluptatem autem.',40),
('2006-05-08',47.60528374,103.14194655,'Est rerum ut ea et. In autem voluptatum labore sapiente cumque omnis. Dolorem repellat saepe possimus occaecati voluptatem ut.',40),
('1934-05-10',-20.8175961,73.24996373,'Officia voluptatem ut vel praesentium veritatis qui voluptatem. Aut nobis ea ipsa nostrum iste voluptate. Aut veniam asperiores minima quo voluptates unde. Et et sit exercitationem rerum blanditiis libero. Eos enim cum veritatis quia quaerat.',5),
('1980-01-06',-35.71284984,-107.48531182,'Laudantium dicta alias tempore occaecati ducimus est fugit. Quaerat exercitationem quisquam sint aut.',28),
('1922-08-07',-45.94092795,134.94828162,'Inventore excepturi libero aut vel numquam corrupti veniam. Amet voluptatem a cumque non eos.',25),
('1921-07-24',44.33085203,-100.94150838,'Quam totam impedit iusto dolorem et. Corporis ab non cumque explicabo numquam omnis enim nemo. Numquam cupiditate alias recusandae qui. Eum consectetur aliquam perferendis amet et facere.',2),
('1933-10-07',-30.66540579,-38.05695924,'Incidunt ut vel a sunt illum voluptatem praesentium. In dolorem officiis rem. Maiores repudiandae eligendi ea non corporis doloremque aut aut.',37),
('2003-01-07',85.5684173,-154.26719633,'Temporibus qui at asperiores ipsa in quo numquam. Eaque vitae qui aut et consequatur. Eos eos nulla et voluptatum.',23),
('1942-02-20',26.51834336,127.9304777,'Eum repudiandae voluptatem non. In modi rerum et laudantium sit. Eum amet nam voluptatem et dolorum cum et placeat.',34),
('2013-03-13',39.45997018,143.56773146,'Iste ut ipsa expedita non saepe harum maxime illum. Velit quo architecto est enim aliquid.',13),
('1929-12-24',-51.80349842,156.58326872,'Eum corrupti totam in quo minus dolore qui rem. Sunt architecto et maiores eaque error. Labore aut et nostrum nostrum unde amet eos. Delectus quia dolores et et neque saepe impedit.',5),
('1988-12-21',29.7504162,140.09732179,'Modi et accusantium accusamus et doloribus ad et. Qui et voluptates accusamus voluptas qui voluptatem neque. Quos voluptatibus sit id sit et nostrum iusto.',9),
('1984-08-14',84.68505355,-166.21652869,'Amet quidem in et eligendi error ullam distinctio voluptate. Ut quo ullam beatae exercitationem.',18),
('1986-03-02',78.60488209,-10.56764578,'Adipisci voluptatum qui vel. Accusantium deserunt ipsa laudantium dolor reiciendis in rerum.',43),
('2000-07-10',43.98745753,57.40305964,'Molestiae minima soluta id accusamus voluptates eos. Eum vel adipisci fuga eaque. Voluptas quas id molestiae.',12),
('1942-07-19',64.45699229,-140.71328942,'Consequatur commodi tempora consequuntur illum aut sit qui. Dolor eius debitis qui et occaecati. Ut praesentium et maxime atque laudantium accusamus aliquid. Eius debitis quibusdam doloremque non debitis.',17),
('1970-02-24',18.46590816,-179.91100179,'Qui error qui impedit sit quaerat. Qui molestiae voluptate commodi sit expedita illo. Debitis voluptas consequuntur quasi autem corporis officiis.',44),
('1941-03-07',-77.83326747,55.9661084,'Sapiente earum est velit sapiente et harum. Occaecati odit tempore at cum eaque. Veniam laboriosam ea ut soluta. Sit eaque facilis ea rerum praesentium velit fugiat.',23),
('1978-03-10',-33.09916791,-80.64854008,'Est laborum accusantium vitae sed optio et. Molestiae et doloribus ducimus ipsam voluptatem eaque facilis. Explicabo quo quo et quod.',33),
('1919-11-25',28.73979606,70.61401561,'Sequi quo laborum possimus at. Dolore iure dolorum consequatur libero. Ut rerum sint vero perferendis porro id.',38),
('1986-02-10',60.39249059,140.24976179,'Et error repellendus aut vel et aut. Id ducimus temporibus omnis a quas assumenda tempore dolores. Magnam est numquam libero iusto sequi id occaecati deleniti. Voluptate modi maiores nesciunt dolores minus.',49),
('1945-04-30',-10.95474768,158.47163691,'Maiores ipsam architecto optio sit quos est aut alias. Ipsam itaque sed delectus minus illo tempore ex ad. At laboriosam non est nisi eligendi et. Cum officiis non harum.',39),
('1964-01-16',30.57843676,-174.94374415,'Velit excepturi quasi neque sit ipsa illo. Adipisci saepe quis cum dolor consectetur culpa aut. Deleniti id occaecati est.',2),
('1967-07-14',-2.40096042,-41.37103803,'Maxime sequi quia officiis est suscipit. Omnis aut voluptatum totam modi. Nihil nam voluptatum molestias autem fugit.',37),
('2005-07-25',-10.12957538,158.48525415,'Nihil consectetur corporis commodi consequatur. Provident provident qui et adipisci. Voluptatem tempore voluptas ullam magni odit.',19),
('1959-02-22',-86.57156381,-111.16289598,'Molestias veritatis quasi accusamus sunt odio. Aut pariatur voluptas voluptas eos. In labore recusandae est assumenda cumque minus.',53),
('2003-03-05',23.55447817,-63.61526812,'Libero reprehenderit quos aliquid eum eum vel vero. Placeat voluptas quis error ut. In molestiae esse perspiciatis provident. Omnis vitae id dignissimos nobis nobis accusantium tempore.',1),
('2016-12-12',-89.81795663,52.66704647,'Rerum in libero similique quae nemo provident aut. Et sequi veniam ex aliquid fugiat velit. Accusantium molestias aut eveniet in quis est aut vel. Dolores dignissimos molestiae fugiat consequuntur labore atque esse.',31),
('2005-06-16',61.24463779,114.2587893,'Dolorum et iste laudantium id. Pariatur perferendis sapiente qui magnam neque vel.',30),
('2015-06-01',-48.15930265,111.9683615,'Expedita non voluptas facere. Nam sed aut expedita molestiae est. Eum aliquid eum nihil voluptas nemo odit. Vel minus itaque quibusdam totam aut inventore. Qui nulla amet consectetur ad autem quae.',6),
('2013-08-01',-7.83038891,-93.29663802,'Non nulla tempora sequi corporis dolor atque quia nostrum. Cupiditate quidem praesentium nulla sed et sed eveniet. Hic consequatur maxime eaque. Amet est et omnis vel quas enim ad illum.',21),
('1960-08-27',-71.33701406,154.0123226,'Ipsa temporibus ea et facere delectus sapiente. Veritatis voluptates et tempora omnis id aut aut. Libero officiis accusantium reprehenderit sed.',39),
('2004-08-13',-79.97901775,-9.37459921,'Dolor enim eum maiores praesentium. Aliquid quis voluptatem tenetur et quis molestiae inventore. Minima sed tempore soluta sapiente voluptas. Id sint quasi repudiandae voluptates fuga commodi.',45),
('2007-02-15',4.77262386,166.73803578,'Veniam maxime sit at enim quibusdam. Ipsam sit iste sit. Assumenda consequuntur provident sint molestiae dolor repudiandae.',40),
('1965-11-30',34.78039261,-7.19253517,'Corporis pariatur qui quidem ea et voluptates nemo cumque. Aperiam rem earum enim accusamus. Nesciunt eos accusamus eum doloribus dolores quos dolore.',1),
('1944-08-15',78.19384043,-149.35048759,'Modi dolorum veritatis quo enim ea non sunt expedita. Natus minima ipsum qui pariatur aliquam tempore sit.',23),
('1955-05-20',-65.03747353,-16.04723904,'Quae odit quis unde. Porro aperiam eum recusandae in iure. Et et necessitatibus aut cupiditate id eaque soluta. Ea aut ut ut. Et consequuntur amet voluptatem inventore eum ut ab ipsam.',35),
('1937-12-08',72.35843136,21.1139307,'Aut et enim ipsam sit atque sunt cupiditate. Sunt eligendi qui saepe quibusdam ut officiis. Nisi aut distinctio deserunt amet laborum et.',5),
('1974-07-26',33.04183158,32.27831325,'In consequuntur ad eum molestiae explicabo neque. Veritatis eligendi repellat autem eum. Laboriosam accusantium quibusdam sequi repudiandae.',38),
('1949-12-08',-42.88664953,73.0663325,'Minima minima ut modi enim omnis. Ea quis dolorum modi ipsam nesciunt.',17),
('2000-06-25',-75.30083938,-47.73866157,'Sed doloribus excepturi ea minima consequatur. Facilis eos doloremque tenetur dolor consequatur. Aut necessitatibus autem laborum est perspiciatis. Sunt dolorem esse voluptatem quia labore corrupti aut.',32),
('1933-02-08',-63.13980319,107.4654219,'Exercitationem ut totam omnis perspiciatis. Asperiores vel in minus ullam. Quaerat non impedit qui.',8),
('2001-06-01',-27.72198222,77.8886325,'Dolorem suscipit mollitia sit dolores ut vero. Non ratione aspernatur autem ipsum autem reiciendis nam cupiditate. Quasi rerum quidem quia.',52),
('1987-04-18',-43.55036265,74.33674085,'Natus qui repudiandae ducimus consequatur. Officia delectus sequi dolore inventore aut nostrum fugiat non. Asperiores fuga dolores sed nihil. Ea est harum qui odio quae quo.',3),
('2000-02-19',-72.64604371,-137.30408827,'Et odio aut est est voluptas sed aut. Distinctio nihil temporibus sapiente optio sunt excepturi qui. Quod incidunt quisquam laudantium harum repellendus itaque commodi. Veritatis quibusdam blanditiis similique quam odio et et. Accusantium in molestias rerum est magni a.',4),
('2004-06-09',8.00301303,-122.60844126,'Quibusdam distinctio at molestiae quo et. Quod placeat sint omnis enim. Blanditiis nobis tempore omnis excepturi quisquam autem. Voluptatem sit itaque optio.',46),
('1929-06-16',-53.1515392,-85.81235872,'Aut voluptatem nisi voluptatum omnis. Similique et earum quasi et qui rem ea vitae. Omnis pariatur dignissimos qui ipsum ratione.',27),
('1990-01-07',-7.23589899,55.06974952,'Est minima facere quidem aperiam reiciendis et delectus. Mollitia quia ea sapiente voluptatem debitis. Qui ut libero ut odio et. Vel cupiditate tempore expedita odit ipsum voluptatem.',34),
('1929-12-07',-50.14274215,-122.58926765,'Ab id ut quam laudantium et cupiditate ut. Illum similique et cumque vitae eaque et. Molestias qui et earum enim est molestiae. Rerum omnis laboriosam aperiam molestiae dicta voluptas reiciendis dolorem.',15),
('1960-12-05',-26.51172015,-24.50907573,'Sunt odio iusto quo sapiente sequi distinctio ipsa. Quia est perspiciatis nostrum est est. Non et aperiam illo eos et enim recusandae.',3),
('1963-01-17',24.46520263,-63.25447044,'Sunt provident odit asperiores aliquid quas. Reprehenderit inventore molestiae autem incidunt quia voluptate. Repellat dolor qui explicabo sit voluptatum non.',20),
('1954-04-08',-21.00430986,90.07064079,'Veritatis voluptatem qui et eveniet eveniet similique deserunt. Aspernatur aut nisi ipsam voluptate. Corrupti similique sint voluptas assumenda. Odit blanditiis aut et sint et aut illum.',48),
('1932-01-13',66.05523464,112.49717828,'Omnis quam eos quo ut soluta et ut. Necessitatibus commodi qui reiciendis quis vitae. Dolores expedita occaecati nesciunt quibusdam natus. Nam nesciunt sequi maxime aperiam voluptatem quasi itaque.',44),
('1998-05-23',-39.12805595,2.83427459,'Ut quae et in quis in odit et. Laudantium velit perferendis rem et omnis sunt consequatur. Quia eos qui laudantium in. Voluptas expedita porro nihil id est aut et aperiam.',27),
('2002-12-14',-80.21962272,156.78022082,'Molestiae iusto qui molestiae autem expedita voluptatibus. Voluptatem eveniet dolore inventore ex assumenda repudiandae. Rerum et consequuntur fugit. Maxime cum neque modi tempore magni qui.',9),
('1941-03-30',-40.62084935,-52.62739855,'In est eius aut et voluptas rem. Et aspernatur laudantium voluptas est. Dolorem debitis blanditiis fuga.',9),
('1952-05-27',-0.45586912,-55.6140574,'Est nesciunt quo commodi explicabo sit illum. Odio id deserunt quia earum aperiam. Aut voluptatem soluta rerum doloremque vitae et reiciendis. Unde quod voluptas et aut.',35);
INSERT INTO behests (publication_id) VALUES (3),(7),(34),(13),(54),(42),(48),(20),(22),(23),(37),(49);
INSERT INTO other_publications (behest_id, publication_id, own) VALUES
(3,1,0),(3,2,1),(3,4,0),(3,5,0),(3,6,0),(7,8,1),(7,9,1),(7,10,0),(7,11,0),
(34,12,1),(34,14,1),(34,15,0),(34,16,0),(13,17,1),(13,18,1),(13,19,0),
(13,21,0),(54,24,0),(54,25,0),(42,26,0),(42,27,0),(48,28,0),(48,29,1),
(48,30,0),(48,31,0),(20,32,0),(20,33,0),(22,35,0),(22,36,0),(23,38,0),
(23,39,1),(23,40,0),(23,41,0),(37,43,0),(37,44,1),(37,45,0),(37,46,0),
(49,47,1),(49,50,0),(49,51,0),(3,52,1),(3,53,0);
INSERT INTO documents (publication_id, owner, author, title, annotation) VALUES
(1,3,14,'Ut sunt quis aperiam consequuntur aut.','Culpa in vel voluptatibus quos rem modi. Nisi omnis vel laborum laudantium sit quae perferendis. Sit minus eveniet consequatur et.'),
(2,38,50,'Et magni voluptatem aliquam excepturi cumque ut.','Nemo iure aut ducimus. Fugit doloribus sint dolor alias est impedit ut. Recusandae tempore consequuntur accusamus pariatur aut sit nobis. Consequuntur minus molestias repellendus maiores. Aut sed rem explicabo.'),
(3,9,68,'Architecto quia quam expedita deserunt et cum minus.','Vel odit labore dolor voluptas aut sint consequatur maiores. Animi enim aut sed vero repudiandae porro incidunt fugiat. Quisquam sed et eius quas veniam facere quia. Maiores velit sit aut.'),
(4,25,94,'Tempora aperiam harum dignissimos voluptates dolor impedit quidem autem.','Vero illum provident ut cupiditate quam itaque. Ipsam error fugiat nisi sit doloremque voluptate. Cum laboriosam asperiores ullam odit eum.'),
(5,66,100,'Est aut debitis in minus iste doloremque.','Debitis facere quod aliquid at delectus. Magni natus omnis itaque alias quae nesciunt consequatur aliquid. Aperiam dolor voluptatem numquam facere architecto. Quisquam temporibus tenetur natus reiciendis commodi vel qui.'),
(6,25,24,'Eos mollitia rem corporis.','Et modi veritatis omnis debitis soluta fugit ea commodi. Inventore sed et deleniti qui eveniet optio. Voluptates aut recusandae in commodi. Assumenda aut ratione aut aliquam nihil nesciunt alias.'),
(7,3,93,'Et dolore fugit voluptatem et vel.','Aut consequatur in perferendis id quam maxime velit consequatur. Deleniti nam sunt in atque non id a. Excepturi a modi repudiandae quia asperiores eveniet repellat sapiente.'),
(8,15,74,'Doloremque quia veritatis accusamus quod.','Quidem ut consequatur ut accusantium ut molestiae. Qui nesciunt optio ut incidunt rem iusto. Totam autem nostrum ut consectetur optio consequuntur occaecati adipisci. Cumque et necessitatibus eum magnam.'),
(9,87,77,'Natus ut in cumque.','Amet nemo omnis atque. Maiores cum quia fuga sit illum dolores. Eum beatae et dolorem eaque. Quibusdam eos possimus consectetur hic dolores.'),
(10,45,1,'Molestiae ipsa rerum ducimus ratione veritatis.','Ad aliquid laboriosam odio a voluptatem est. Quia voluptatibus delectus qui culpa aspernatur. Et aut numquam est id quia dolor. Id omnis eos et et ea.'),
(11,48,24,'Et autem quis sunt ut.','Officiis quis occaecati occaecati dicta et. Mollitia expedita repellendus architecto fugit. Ex quia et nihil odit. Maiores eveniet ut omnis quo. Temporibus quisquam exercitationem eveniet autem.'),
(12,31,26,'Minus eligendi illum perspiciatis suscipit placeat sapiente perspiciatis.','Iure non omnis dolore ut corrupti modi modi. Ullam et ut voluptatum pariatur sint sint tempora id. Illo dolorem minus quisquam velit ipsa. Quis sunt sunt delectus in.'),
(13,93,100,'Aut enim non voluptatibus distinctio.','Ut molestiae distinctio deserunt quis facilis. Delectus sunt ea qui rem necessitatibus. Quasi ut illo exercitationem optio cum aut vero. Veniam non minus repudiandae alias aut nisi et voluptas.'),
(14,51,66,'Voluptatibus minus excepturi voluptas et aut.','Nobis in voluptatem sunt. Et debitis facilis quam asperiores doloribus quod. Ut quia blanditiis fuga qui molestiae sed.'),
(15,29,14,'Blanditiis possimus fugit magnam temporibus reiciendis error magnam ut.','Veniam ut ipsam fugiat aut occaecati dicta ut. Optio perferendis repellendus numquam tempora aperiam eos. Suscipit beatae aut molestias dolore qui. Ea magni quas voluptates sed et dicta. Voluptas architecto quos porro sapiente corrupti eos.'),
(16,15,81,'Nulla earum hic inventore ea.','Enim consectetur hic quas soluta enim quis. Expedita est ipsum ullam odio praesentium sed. Accusantium rerum ad quas et. Dolore molestias blanditiis molestiae voluptate.'),
(17,62,26,'Qui sed vel odit quos quia est.','Magnam ut ea soluta porro ut. Ea velit provident impedit beatae placeat. Molestias quibusdam eveniet provident velit optio.'),
(18,96,66,'Autem rerum impedit debitis perspiciatis praesentium molestiae.','Inventore ut sit deleniti aperiam tempora. Ut quia error qui omnis qui. Omnis cupiditate dolores eaque et omnis. Consequatur est sed officiis sed.'),
(19,14,64,'Quae ea ipsum commodi repellendus.','Quod eligendi praesentium beatae dolor. Dolores ratione exercitationem voluptatem labore eligendi nemo minima. Laborum non harum ducimus occaecati nesciunt eaque. Dignissimos pariatur et quos officia sed et. Impedit qui magnam architecto quia.'),
(20,81,22,'Porro nulla repellat necessitatibus autem et aspernatur eum eligendi.','Aspernatur aut suscipit eaque voluptas totam quia. Itaque quas veritatis tenetur non. Similique ea dolores in praesentium assumenda iusto.'),
(21,29,9,'Et odit omnis fugit sed dignissimos.','Necessitatibus saepe consequatur ut voluptas qui asperiores placeat. Est minus eum animi. Voluptatem rerum id vel ea blanditiis.'),
(22,99,7,'Suscipit enim ut laborum assumenda illum itaque vel.','Et et numquam iusto sed inventore omnis voluptatem. Perspiciatis dignissimos at vero. Voluptas voluptate qui consequatur aut qui.'),
(23,36,86,'Dolorem non quia sint.','Occaecati reprehenderit dolorum est esse. Quia aut nihil vitae exercitationem occaecati consequatur voluptas. Culpa minus qui asperiores voluptatem. Id sit autem ratione cumque voluptas tempora rem aperiam.'),
(24,22,45,'Sint explicabo sunt ab error.','Quaerat iste a porro. Incidunt expedita fugiat nulla. Tenetur est reiciendis distinctio neque.'),
(25,8,48,'Error autem amet vero eum sed voluptate eveniet.','Quia enim odio est explicabo. Et quaerat omnis ea autem molestiae doloremque sapiente.'),
(26,18,68,'Unde corporis ab et beatae et beatae velit totam.','Consequatur perferendis placeat cumque porro qui vel et. Nobis animi non qui architecto. Quae officia cumque deleniti. Ea et a eos et nemo fugiat qui dolore.'),
(27,52,49,'Cumque aperiam aut iste et reprehenderit.','Dicta omnis eius dolores necessitatibus dolor modi. Voluptas quae eaque ut. Perferendis omnis sint nam veniam. Laboriosam sunt et pariatur eaque nobis modi dicta.'),
(28,83,3,'Expedita dolores praesentium tenetur et sunt architecto corporis.','Deleniti mollitia consequatur quis labore officiis non dolores. Et in occaecati corrupti voluptatem aut omnis. Quas molestiae voluptas cupiditate cupiditate. Debitis ut quae magnam provident dolores.'),
(29,33,33,'Nam dolor eos consequatur iste consequatur.','Non qui veniam doloremque amet ut sit et. Deleniti vel alias perferendis reiciendis. Omnis asperiores ex rem dignissimos et earum.'),
(30,12,66,'Explicabo dignissimos non qui.','Ab rem laboriosam quaerat. Odit molestias magni ullam sed corrupti numquam. Culpa qui molestiae officia eos distinctio praesentium.'),
(31,19,15,'Enim eos voluptatem dolore autem.','Facere ea non voluptate est. Maxime at maxime perspiciatis quia voluptatem. Pariatur qui impedit deserunt eaque sed facilis.'),
(32,89,1,'Eaque voluptates cum qui rerum.','Eius suscipit provident dolores est iste odio et. Tempore non natus dolorem tempora quis. Saepe perferendis error vel et. Ut odit velit praesentium.'),
(33,47,45,'Quia animi ullam omnis pariatur est non.','Tempora quas quod omnis consectetur. Aliquam ullam quae voluptate aut. Ipsum nisi accusantium nihil in.'),
(34,13,55,'Aperiam minima fugiat in vel consectetur itaque ea.','Error blanditiis ea sunt sint est et velit. Facilis ex quisquam aut tenetur. Reiciendis voluptas aspernatur non accusantium ipsam. Ad cum et quidem eligendi in est. Et doloremque reprehenderit est voluptatibus non ea aut.'),
(35,3,88,'Sint sit facilis est mollitia eum dolore a.','Vel id velit odit adipisci sed aut. Eaque ut doloribus eos qui. Hic et autem sit nam recusandae sint. Aut esse unde aperiam voluptatem ipsa perspiciatis.'),
(36,65,85,'Sed accusamus commodi excepturi impedit iusto nam quas ut.','Corporis id dicta rem eos aliquid alias reprehenderit. Et suscipit et odit aut incidunt. Sint enim mollitia consequatur amet vero.'),
(37,2,21,'Optio ipsam aliquid nostrum assumenda quibusdam neque impedit.','Qui error alias quam quo. Fugiat laudantium voluptatem et temporibus.'),
(38,94,70,'Quidem rem quaerat fugiat quia quia deserunt.','Quo dignissimos rerum aperiam. Et itaque quod enim non beatae. Atque hic ratione doloremque quaerat quia.'),
(39,75,78,'Aut sed officia amet incidunt ipsa fugit.','Reiciendis explicabo aliquid et ea ut placeat. Neque qui similique aut ducimus molestiae qui provident. Beatae ducimus quaerat aut et voluptates dolor placeat.'),
(40,82,80,'Impedit dolore ullam ut ea dicta rerum.','Voluptatum aperiam asperiores quidem. Quo numquam tenetur rerum consequuntur reprehenderit molestiae eius. Blanditiis quis maxime voluptatibus nostrum illo et.'),
(41,99,61,'Rerum quia velit quis facilis corporis dolor illum sapiente.','Quaerat itaque nobis quia reprehenderit recusandae. Itaque eligendi totam mollitia et sit voluptatem quasi eum. Sed non perspiciatis non ut.'),
(42,8,72,'Perspiciatis possimus architecto beatae.','Est id dolores molestiae iure expedita. Est dolorem consequatur molestiae optio et eligendi dolores. Accusantium voluptate repellat dolores eum est temporibus. Aspernatur ducimus officia et occaecati iste laboriosam voluptas culpa. Itaque laborum et eum q'),
(43,95,36,'Asperiores ut totam quae ea soluta harum rerum voluptas.','Dolores nemo sit cumque sed quisquam. Quae odit id odit quia et aut perspiciatis. Error eos ducimus praesentium porro quas.'),
(44,43,27,'Nihil doloribus possimus rem nostrum eveniet.','Iure ut non id qui. Et quod rerum provident vel. Repellat ipsa suscipit in mollitia aut ipsum in. Laboriosam sequi voluptate eveniet sint sit qui.'),
(45,49,27,'Temporibus similique quia sit similique.','Suscipit maiores delectus quis itaque voluptatem ut. Nemo laudantium voluptatibus ipsa dolorem esse maxime debitis. Repudiandae sit atque velit asperiores nesciunt autem.'),
(46,37,58,'Cumque qui deleniti dicta et laboriosam.','Itaque iure repellendus nobis voluptatem. Nulla sint aut ut ut explicabo deserunt facere. Doloribus qui ipsum doloribus cumque aut.'),
(47,6,86,'Voluptatem voluptas occaecati voluptas.','Laborum eum voluptas sit ut. Minus ea nemo soluta et tempore quos commodi. Quis maiores delectus consectetur doloribus recusandae et alias. Deserunt culpa aut corrupti doloremque id.'),
(48,84,6,'Atque ut quidem sit omnis facere aut perferendis.','Nihil voluptatem est est et. Modi sunt aut maiores esse accusamus ut. Aut ut omnis sequi.'),
(49,36,87,'Delectus et molestiae libero mollitia ea autem.','Sunt et inventore voluptate est. Corporis voluptatum qui id sapiente doloribus nemo qui.'),
(50,60,82,'Distinctio ut minus ut voluptas.','Labore nemo ipsam aliquam suscipit. Voluptatem mollitia qui doloremque aperiam assumenda. Nemo quis minus ut debitis. Placeat ad laudantium ratione et voluptatem hic velit.'),
(51,42,72,'Odit expedita excepturi sed qui.','Sint qui voluptas est nulla ipsum sed. Perferendis autem est ab nesciunt.'),
(52,54,35,'Cumque nisi illum repellat eum quis.','Eligendi doloremque molestiae qui earum. Quia qui aspernatur dolor est sequi. Repudiandae voluptas reiciendis reiciendis quod libero facere.'),
(53,73,96,'Dicta expedita alias accusamus illo unde.','Sapiente odio corrupti ratione id temporibus expedita. Voluptate quae omnis qui aut quidem magnam totam. Laboriosam assumenda ex est est.'),
(54,18,8,'Sit deserunt ad quia est.','Eveniet aliquam eos non dolore sed in qui nihil. Sit quia nihil nisi minus ut impedit omnis sint. Dolores temporibus aperiam ullam optio distinctio. Quisquam accusamus dolore ratione ex nihil esse.');
INSERT INTO authors (document_id, personalitie_id) VALUES
(34,31),(8,53),(4,22),(52,99),(2,66),(42,59),(5,29),(9,80),(12,36),(3,30),
(34,76),(14,51),(4,91),(45,58),(29,28),(2,58),(40,59),(18,39),(29,62),(21,5),
(5,72),(49,51),(21,16),(1,25),(38,36),(51,56),(23,33),(20,73),(16,3),(20,2),
(29,8),(48,12),(7,5),(12,4),(42,39),(18,17),(43,68),(22,8),(4,65),
(28,22),(36,42),(1,5),(27,61),(35,95),(45,22),(40,77),(17,92),(50,56),(1,44),
(9,33),(26,52),(42,33),(25,9),(11,43),(34,39),(47,25),(3,86),(19,36),(27,60),
(18,74),(7,59),(24,22),(36,73),(24,42),(8,22),(18,52),(40,82),(22,39),
(2,91),(39,84),(20,87),(14,58),(51,54);
INSERT INTO pages (id, document_id, image_id, content) VALUES
(1,47,333,'Et nihil sed eaque itaque. Eum quia ad quasi debitis omnis quas eligendi.'),
(2,21,440,'Modi quas accusamus libero libero. Aliquam porro dolorem voluptatem in nulla sint est. Dignissimos recusandae culpa animi consequatur.'),
(3,54,386,'Aspernatur quo velit quaerat et qui omnis. Earum sunt cupiditate expedita hic. Dolores in odio facere eum.'),
(4,41,61,'Fuga cumque aut et nisi voluptatem repellendus. Assumenda asperiores voluptatem rerum iure ea. Alias doloribus a ea consequuntur aliquam.'),
(5,36,412,'Aut aut dolorem nemo rerum sunt explicabo. Molestiae facere qui a provident qui fugiat sint. Earum voluptatem voluptatum molestiae saepe. Sed eaque ut ut odio voluptatem autem.'),
(6,3,13,'Qui odio rerum ut excepturi iure iusto vero nihil. Atque dolores expedita delectus recusandae voluptates facere praesentium debitis. Et deleniti eum praesentium.'),
(7,37,262,'Dignissimos error voluptatem id. Adipisci recusandae possimus dolores aut cupiditate.'),
(8,1,48,'Dignissimos reiciendis dolor voluptatibus et repellat. Est nam ullam dolores sunt rerum.'),
(9,36,43,'At est exercitationem et. Et aspernatur blanditiis maiores unde minus. Sunt itaque consequuntur qui nemo nihil. Voluptates accusamus ut et mollitia laudantium laborum et.'),
(10,35,400,'Quod voluptas rerum fugit magnam fugit et id. Id explicabo omnis dicta dolor tempore. Dolor ipsa et explicabo ab.'),
(11,7,103,'Voluptatum sit asperiores voluptas voluptatem. Ab molestiae esse ipsum aliquam. Tempore nesciunt non aspernatur voluptas quas voluptas.\nUt optio quia nostrum. Et ipsa non nobis consectetur.'),
(12,36,325,'Natus tempore nam ipsa non corporis placeat. Facere dignissimos vitae sunt odio amet officia nisi et. Occaecati animi qui autem impedit temporibus doloremque aut.'),
(13,40,185,'Et excepturi consequatur magni itaque omnis. Tempore dolor ea tempore non nihil velit. Sunt quasi veritatis quis aliquam aut perspiciatis.'),
(14,21,329,'Eligendi et doloremque et occaecati eos minima quia. Ipsa dolore delectus cupiditate est ipsam architecto. Hic consequatur dolor dicta ad repudiandae et.'),
(15,21,370,'Inventore dolore voluptate esse voluptatem eius. Incidunt est accusantium omnis repellendus veritatis quia. Natus blanditiis expedita laudantium ab.'),
(16,23,338,'Earum et placeat repellat quas non voluptatem. Eaque itaque et est qui et. Modi quasi rerum alias consequuntur qui.'),
(17,17,66,'Dolor omnis aut earum ea. Aperiam veniam sed quas nostrum. Modi harum consequuntur sed id nemo repellendus. Officia illum minus quas earum.'),
(18,41,449,'Quas exercitationem sed eum ab voluptatem earum est eius. Voluptatibus odit quis inventore incidunt. Dolore quia in accusantium aut odio magnam. Tempore ut doloremque asperiores neque.'),
(19,3,21,'Laudantium consectetur illum corrupti incidunt maxime dolorem. Voluptatem id ducimus voluptatem nobis sequi numquam praesentium animi.'),
(20,24,219,'Natus repudiandae est dolorum quia provident saepe. Non omnis accusamus at et. Sequi eveniet est pariatur vero.'),
(21,23,89,'Molestiae inventore quia autem tempore. Voluptas laboriosam eaque illum enim. Molestiae non dolorum autem itaque quas non iusto.'),
(22,38,261,'Fuga voluptatem inventore omnis sed sed aut dolor. Aliquid aut et dolor beatae quia at. Et atque sunt quia veritatis delectus dolores ducimus.'),
(23,26,7,'Esse qui et deserunt hic dolores tempora. Officiis odio rerum aut ipsa velit autem. Perspiciatis recusandae sit nulla adipisci saepe.'),
(24,50,19,'Eos cumque minima illo rem. Aperiam cumque et laboriosam perferendis ipsum fugit nulla. Incidunt sed facilis officia qui velit. Est et unde temporibus voluptatibus quos qui temporibus.'),
(25,39,350,'Commodi provident illo similique in ad molestias rem. Ut minus quia aliquam cum. Animi amet amet laborum qui rerum quia.'),
(26,23,429,'Libero et odit quaerat. Qui quae et fugit inventore et sed doloremque. Rerum iste incidunt voluptatem suscipit rerum ut molestias. Suscipit culpa soluta quos cumque odio aut ratione reprehenderit.'),
(27,15,335,'Iste vel mollitia consectetur dolore nihil sunt facere. Maiores vel tempora nobis in officiis dolore eum. Accusantium illum nemo facilis illum repellat sit.'),
(28,29,96,'Harum aut et nobis enim aut provident aperiam. Odio perspiciatis ratione ducimus beatae dolor.'),
(29,49,403,'Asperiores dolorum iusto eveniet non dolorum. Corporis magni modi qui rerum. Commodi dolor et quae amet itaque illo.'),
(30,32,396,'Voluptatem molestiae sint magnam enim sunt dolorum sit adipisci. Voluptates similique error magni voluptas.'),
(31,24,362,'Quis quas ab qui sapiente voluptatibus. Consequatur quae rerum aut. Quia facere quasi rerum eos.'),
(32,14,309,'Consequatur laborum et necessitatibus quis et. Quia quasi laborum nam laudantium.'),
(33,37,342,'Quae sit itaque nisi impedit. Repudiandae quos illo sint quos architecto. Hic reiciendis sint voluptatem aperiam.'),
(34,35,114,'Sit repellendus ducimus sunt dolores vitae at. Deserunt voluptatum quibusdam qui dolor.'),
(35,35,40,'Dignissimos velit voluptas exercitationem officia veniam eligendi. Perspiciatis velit et voluptatem.'),
(36,47,303,'Distinctio culpa cum sapiente aut culpa iusto. Ut neque enim in unde.\nNon veritatis suscipit blanditiis ut voluptas. Aut adipisci porro non amet. Nam est est enim in eum.'),
(37,13,315,'Repellat ratione et amet fugiat aut in reprehenderit. Provident corporis illo et dolorum et dolor rem. Ea dolorem sint doloremque voluptate voluptatem quasi.'),
(38,28,240,'Aspernatur est qui et aut qui nobis quae. Aspernatur in eos in perferendis autem. Similique suscipit facere adipisci aut et. Voluptatibus facere suscipit dolores est fugiat sunt.'),
(39,36,83,'Vero dolorem sit consequatur laborum minima. Qui aperiam quo itaque nesciunt debitis vero. Dolores omnis et aut voluptatem modi dolorem quia. Id aliquam qui dolorem illum. Reprehenderit id at fugiat.'),
(40,9,226,'Quasi aliquid fugit non debitis est. Officiis voluptas in quis. Quibusdam non eius assumenda. Nesciunt in aut distinctio molestiae. A ratione officia tempore commodi alias.'),
(41,35,352,'Non quis rerum nam minus. Aliquam qui repellendus iste ut. Quia consequuntur qui voluptate assumenda voluptas et aut. Non fugit fugit sunt dolor porro corrupti.'),
(42,5,55,'Saepe incidunt exercitationem rerum eveniet doloremque aut consectetur iste. Aliquid et ab quaerat sed id dolor. Facilis reprehenderit molestiae quibusdam aut sed quis.'),
(43,22,142,'Qui asperiores inventore tenetur. Est qui alias non ut officia. Qui sunt sed voluptatem similique. Nihil soluta rem sequi harum blanditiis quis dolorem aut.'),
(44,21,422,'Eaque debitis eligendi consequatur earum. Magnam corrupti nesciunt sint dolores aut. Mollitia quaerat ea rerum soluta. Et voluptas quas earum tenetur. Quo sunt placeat dicta inventore veritatis quia.'),
(45,26,201,'Et et veritatis officia dolorum. Perferendis at aut harum nobis voluptates distinctio. Qui quas dolorem cupiditate et. Id quo deleniti necessitatibus rerum quidem doloribus similique.'),
(46,3,353,'Quas velit est incidunt dolores expedita. Distinctio et asperiores commodi nobis a. Facere dolore sequi odit. A quia qui rerum iure.'),
(47,10,81,'Ea sint recusandae occaecati quia. Dolorem iure molestias doloremque accusamus. Incidunt praesentium dolore consectetur assumenda aperiam.'),
(48,53,413,'Ea fugit ipsam vel quia ea praesentium. Corporis et perferendis voluptatem temporibus. Aperiam repellendus mollitia atque molestiae.'),
(49,11,24,'Consequatur doloremque numquam sit eaque. Enim rerum ea repellendus quia. Necessitatibus nam amet repellat illum.'),
(50,19,183,'Necessitatibus voluptates harum sed magnam laborum est. At qui ut consequatur. Veritatis omnis recusandae non ab. Laudantium quas et et debitis.'),
(51,25,392,'Repellendus facilis quisquam et blanditiis fugit tenetur quis autem. Facere assumenda ut qui sed quaerat. Voluptatem ut voluptas velit voluptas et asperiores.'),
(52,48,413,'Eum ut unde cumque veritatis ratione. Sit qui possimus ipsum et id in. Molestiae iste rerum sed et dolor aliquid enim.'),
(53,35,400,'Quibusdam exercitationem nulla vel est. Dolorem porro eligendi vitae soluta.'),
(54,23,118,'Id excepturi placeat esse ea. Sint numquam fugit perspiciatis. Aut libero distinctio nisi quia error a. Rerum possimus adipisci et est rerum aut quia.'),
(55,44,437,'Repudiandae quia reiciendis molestias aut doloribus natus. Assumenda laborum vitae et in. Sit unde similique eos eaque.'),
(56,48,423,'Consequuntur qui dolorem quia. Magnam molestiae quos quas sit minus iusto. Accusamus in non quia odio quis.'),
(57,10,212,'Dicta quibusdam occaecati autem aut ab qui. Consequatur aut autem deleniti tenetur eum dolores. Vel quia dolorum ut quia. Quae molestias omnis eveniet error atque laboriosam dolore.'),
(58,45,422,'Quia qui qui est officiis iure vitae at quis. Aliquam maxime id voluptate earum. Voluptatem doloribus consequatur est quidem. Aperiam assumenda a omnis maiores ea id blanditiis.'),
(59,38,195,'Perspiciatis consequuntur necessitatibus officia ipsa. Minus ducimus earum corporis velit deleniti et iure tempora. Officia incidunt sed voluptatem qui ex magni sunt quis.'),
(60,40,273,'Quidem dolorem iure voluptas quia ipsam molestiae accusantium dignissimos. Non suscipit minus et inventore. Et accusantium sed ut maiores accusantium quam.'),
(61,4,273,'Veritatis dicta omnis veritatis et modi omnis dolores et. Aperiam nulla sapiente laudantium dolorum error repudiandae voluptatibus.'),
(62,31,442,'Et in qui corrupti doloribus ab illum ipsam. Voluptatem corrupti similique earum quam eos minima. Enim tenetur voluptatibus quibusdam suscipit consectetur.'),
(63,17,210,'Est fuga explicabo esse accusamus in ullam nam. Eaque delectus itaque officia dolore. Molestiae molestias tempora voluptatem suscipit architecto dolor.'),
(64,28,110,'Ab facere accusamus laudantium rerum culpa. Est quasi illo dolore et hic. Optio ut possimus cumque atque provident est vel.'),
(65,9,383,'Aliquid autem ex magni aperiam velit. Deserunt veniam explicabo laudantium in.'),
(66,45,448,'Rerum et aut iusto consequatur consequatur. A aut ipsam veritatis pariatur sint sit. Nemo est laudantium ipsum voluptatem.'),
(67,16,136,'Suscipit tenetur velit omnis. Quo autem veritatis facilis eos. Quo facilis veritatis praesentium qui et.'),
(68,49,441,'Voluptatum nobis earum qui delectus exercitationem fugit. Non enim ullam eos iste qui. Eaque atque sit voluptas dignissimos. Et ipsa quam repellat quae quis.'),
(69,29,64,'Rerum qui est tenetur qui delectus. Totam molestias perspiciatis doloribus eaque qui aut illum. Vitae blanditiis non sed non.'),
(70,17,378,'Tempora molestias illo qui tenetur sed id impedit. Rem commodi non distinctio. Aliquam enim veritatis consequatur voluptatem id ullam vel. Optio quis quidem a quia explicabo itaque.'),
(71,53,438,'Voluptates modi quam esse optio voluptatum voluptatem nihil. Provident non rerum in est. Nesciunt voluptatum dolorem est atque.'),
(72,40,124,'Alias nam fugit ad eius reiciendis. Et in aspernatur sequi. Sit qui odio magnam voluptate nihil.'),
(73,4,235,'Et enim fugit eaque vero. Omnis reprehenderit quo explicabo laboriosam debitis est aspernatur. Ab adipisci aut quam aut. Voluptatem facilis cumque pariatur aspernatur sit labore officia.'),
(74,43,301,'Temporibus molestiae nihil numquam et. Ut a velit placeat est labore. Voluptatem sequi accusantium dignissimos sunt sint.'),
(75,43,343,'Sequi impedit repudiandae commodi corrupti. Sed atque cupiditate quam quis quam. Qui omnis et nulla libero quae. Soluta natus ut sint eum quo.'),
(76,18,376,'Consequatur neque voluptas quo assumenda minima. Minus quam soluta ut culpa expedita perferendis non. Et sunt blanditiis quas quae.'),
(77,4,116,'A repudiandae voluptatibus commodi velit tempore harum placeat. Id harum voluptatem alias asperiores autem omnis. Earum tempore aliquam qui incidunt aut.'),
(78,43,186,'Nulla quod harum fugiat nam. Cumque neque vel ut.\nQuia vitae perferendis quo repellat. Et doloribus velit recusandae labore similique vero. Iure odio et aliquid delectus ullam incidunt ipsa.'),
(79,32,253,'Voluptatum et consequatur non ipsa nobis autem. Deserunt magni molestias iusto iste. Non ut doloremque voluptas aspernatur possimus iure ut. Quia magni tempora mollitia.'),
(80,17,374,'Minus nemo consequuntur est odio eaque odio. Perferendis dolorum quis sint porro quidem. Accusantium debitis et aut hic.'),
(81,41,219,'Dolore quia ut ullam ut minus voluptatum delectus. Qui dolor est numquam dicta. Est ut est accusantium ut eum atque.'),
(82,13,422,'Maxime mollitia libero impedit maxime. At dolores illo adipisci. Ipsum ut beatae repudiandae saepe dolores tempore provident.'),
(83,19,431,'Occaecati aut non aut nemo consectetur. Aut molestias accusamus quia eos dolorum. Dolorem dolor architecto sunt quam exercitationem. Consequuntur sit vero voluptates sed rem.'),
(84,15,166,'Ut quaerat perferendis ut quis consectetur modi et voluptas. Ducimus in consequatur aut est cum. Blanditiis alias placeat non ducimus officia soluta.'),
(85,36,83,'Aliquid porro est dolor minus. Esse ex maiores quia nesciunt voluptas rem.'),
(86,16,21,'Rerum officiis sint aliquam sed. Distinctio qui voluptatem sit autem culpa natus. Quisquam maiores expedita reprehenderit asperiores libero deserunt.'),
(87,38,225,'Vitae vitae corrupti et soluta voluptas. Unde temporibus facere ipsum rerum totam sit. Debitis dignissimos et accusantium at vel. Deleniti culpa eius dolorum praesentium.'),
(88,24,387,'Distinctio quia earum error qui nostrum consequuntur et id. Nisi et error esse. Quis architecto nihil similique et. Quidem sint dolorum culpa assumenda inventore eos.'),
(89,41,8,'Laborum nobis nemo exercitationem ullam. Qui est est vel sit.'),
(90,53,356,'Dolores exercitationem sunt et eos inventore consequatur. Doloribus veritatis perspiciatis accusantium libero. Cumque ducimus nostrum consectetur culpa est.'),
(91,16,284,'Vel sit iste ullam ut. Dolorum voluptatum laborum vel voluptatum. Aliquid quae ea reprehenderit non dolore cum similique. Dicta voluptatem quasi dolor porro.'),
(92,44,40,'Consequatur voluptatum et natus error velit quia laborum. Saepe nesciunt asperiores eos ut. Rerum vitae omnis et molestiae.'),
(93,3,93,'Quibusdam eos dolorum vero aperiam. Odio adipisci magnam ipsum voluptatibus at. Sequi sequi harum aliquam rerum enim cupiditate itaque. Suscipit rerum totam cumque totam rerum quis et.'),
(94,21,293,'Impedit nostrum voluptate architecto consectetur. Ipsam at rem aliquid possimus officiis eos voluptatem eius. Ea reiciendis esse voluptatem atque ut at.'),
(95,24,309,'Sed ut autem maxime modi eum velit eos. Sit mollitia non vitae eius sapiente repellat. Dolores ut excepturi sequi ut.'),
(96,39,81,'Dolorum sunt quam doloremque modi. Quae vel accusamus aut iure. Et eum qui nam minus eaque eius dolor.'),
(97,26,342,'Impedit aut voluptate laborum error aut aut est dolorum. Suscipit quod ut officia reiciendis nulla. Voluptatem ab excepturi dolorum deleniti dolor qui est.'),
(98,21,217,'Sit necessitatibus dicta doloremque est cumque est. Unde esse facere velit quisquam facere quibusdam omnis qui. Tempore mollitia in natus est beatae possimus. Accusamus eveniet nemo voluptatibus.'),
(99,53,18,'Est cupiditate et eos dolorem sapiente unde. Nemo explicabo id ratione adipisci magni sunt nobis. Molestiae id ipsam sed quos harum modi vel voluptatem.'),
(100,38,56,'Eum id impedit quia in ut sit et laboriosam. Sit et consequatur eum. Incidunt suscipit placeat repellat consectetur asperiores.'),
(101,1,129,'Aut sunt dolorem ea occaecati esse at iste. Esse consectetur sint omnis ea assumenda repudiandae pariatur sint.'),
(102,52,221,'Officia magnam quod omnis et reprehenderit provident repellat ut. Et qui illum tenetur mollitia et. Eos ab ad animi consequatur quod nobis totam aliquid.'),
(103,11,282,'Quibusdam qui maxime deserunt labore veniam voluptates. Iure exercitationem sit eum voluptas tempora suscipit non. Nobis corrupti delectus et aliquam. Vel eaque asperiores ut atque sequi quo.'),
(104,44,336,'Non debitis cum sint vero. Sunt quod alias atque aliquid nostrum omnis. Natus velit minus quos autem est suscipit ut dolor.'),
(105,48,410,'Accusamus eum saepe quaerat repudiandae. Expedita sint ut tenetur aut blanditiis et perspiciatis. A et fuga enim voluptate. Id non praesentium voluptatum impedit illo sunt.'),
(106,10,201,'Molestiae et vel tenetur ex dolorem sapiente. Cumque fuga facilis omnis animi et iusto voluptatem. Ut explicabo fugit harum quia qui et. Cupiditate modi aut sint libero dolor itaque dolor.'),
(107,7,266,'Quasi eum rerum facilis facere. Incidunt est laboriosam ut eaque quas. Pariatur consequatur totam qui eum error est. Et modi deleniti qui distinctio quam sit.'),
(108,35,404,'In unde consectetur placeat molestiae temporibus veritatis sed. Enim ut error molestias ea cumque quae. Qui aut consectetur ut delectus laudantium veniam.'),
(109,17,224,'Nesciunt quos minus quia suscipit. Quaerat nostrum suscipit accusantium ex molestiae optio. Qui mollitia corporis impedit ut ad et officia enim.'),
(110,44,212,'Deleniti rerum quia est unde. Perspiciatis voluptas iusto et vitae in dolores quos. Quisquam distinctio sint animi sint officiis repellat.'),
(111,29,208,'Dolorem exercitationem et aut voluptatem. Corrupti quos sunt fuga numquam quasi enim. Fugiat debitis atque recusandae. Eligendi numquam ut doloribus dolor quos repudiandae officiis.'),
(112,42,192,'Voluptatibus unde dolore exercitationem quidem repellat id qui. Voluptatem officia consequuntur illo amet reiciendis culpa. Voluptas molestiae ut a excepturi.'),
(113,18,137,'Sed ut doloribus dolor distinctio mollitia et. Soluta amet nemo doloremque dolorem excepturi. Porro consequatur optio placeat.'),
(114,11,9,'Vero illo sit qui mollitia aperiam similique est. Pariatur sed quo ut. Eum quaerat iusto nesciunt fugit impedit fuga.'),
(115,14,7,'Ab consectetur at occaecati. Ut non et deserunt.\nRerum quod iste laudantium porro suscipit ad. Id aut sint sit inventore. Dolore quia quis id. Molestias quos maxime ab consequatur.'),
(116,12,225,'Quasi exercitationem facere eum perferendis eos sed voluptatem non. Error dolorem consequatur libero ipsum. Voluptates a omnis culpa numquam quae.'),
(117,32,328,'Quam possimus aut et earum. Rerum repudiandae est architecto et iusto. Incidunt eveniet adipisci repudiandae aut harum est eos. Rerum beatae sit autem sit.'),
(118,13,364,'Debitis quae molestias et voluptatem natus aut quam placeat. Eaque sint sint non. Praesentium autem earum quae voluptatem aut. Nemo sed quis iure nobis quia.'),
(119,33,328,'Qui dolores doloribus molestiae et. Dolor placeat ullam est ut praesentium sed. Error et rerum expedita non.'),
(120,28,304,'Nobis ut sapiente corporis repudiandae nemo qui est. Iste voluptas illum amet cum sed ut minus. Voluptas delectus nam quaerat quia sunt. Ab et ducimus asperiores tenetur aut.'),
(121,8,238,'Sint similique et nam. Necessitatibus architecto aliquid reprehenderit aliquid quos ut deserunt dolor.'),
(122,2,347,'Ullam ad consequatur repudiandae quos fugit id. Optio omnis aut eos in corrupti consequatur totam. Voluptate fugiat sit voluptatum.'),
(123,47,50,'Ullam quo delectus odio est reprehenderit quibusdam. Sit repudiandae ad ut sed ex. Repellendus sint nihil similique dolor voluptatem.'),
(124,7,397,'Reiciendis dolor aliquid harum laudantium enim. Ea repellat ab maxime adipisci quis modi cum. Nulla praesentium possimus aliquid quis aut fugit maiores.'),
(125,34,18,'Quis autem assumenda dolor quos. Illum et aliquam dolor dolorem nihil suscipit sunt expedita. Et id consequatur et reiciendis ullam suscipit aperiam enim.'),
(126,6,364,'Adipisci quisquam atque qui in. Perspiciatis ut cumque enim rem voluptate et qui. Cum cumque aut sapiente blanditiis dicta.'),
(127,41,180,'Consequatur consectetur ea quibusdam id aperiam. Qui commodi consequatur magni dolorum soluta non. Aut eos dolore placeat omnis aliquam aperiam odit. Quos quia molestias est tempora.'),
(128,29,404,'Corrupti voluptates ducimus dolores iusto provident. Maxime dolorem enim reprehenderit nisi repellendus eum. Aut dolor esse reiciendis et.'),
(129,38,224,'Nostrum perferendis et et cupiditate. Debitis vel tempore delectus inventore quod sed laboriosam.\nIpsa id qui iste. Nam corporis est vel ad. Laboriosam et sunt vero dolores.'),
(130,17,181,'Quaerat fuga quaerat corrupti beatae. Est explicabo aspernatur maxime explicabo sed. Explicabo minima et ratione veritatis ut voluptates quo.\nAliquam et aperiam ut. Voluptas autem vel illum.'),
(131,5,409,'Suscipit facere fugit ut quibusdam. Rerum quae dolorem neque minima. Quod est deserunt et esse qui doloribus consequatur libero.'),
(132,17,387,'Quo officiis ipsam quisquam vitae rerum. Id voluptates id sunt eveniet. Aperiam qui quo optio nulla earum qui ipsa. Nisi est minima voluptas qui itaque omnis cumque.'),
(133,38,353,'Nihil qui iusto placeat sed et odit. Est et suscipit qui. Dolor dolores rem dignissimos et et. Occaecati perspiciatis laborum sint praesentium corporis fugiat quis.'),
(134,9,334,'Consequatur velit qui sit aliquam omnis. In nam voluptatem quam omnis consectetur omnis nihil.'),
(135,24,294,'Quaerat molestiae eum expedita ut. Non eum id consequatur vel aut ipsa aut. Ut modi eos et eum quia nihil corrupti. Quo explicabo doloribus dicta voluptas optio.'),
(136,37,172,'Eos neque ipsum fuga atque debitis. Dolore vel doloribus repellat porro molestiae quia natus. Amet quia non aspernatur cupiditate. Dignissimos quisquam et nihil ipsum autem.'),
(137,21,416,'Dolorem nihil quia beatae eius. Maiores nulla optio repellat beatae aut fuga iste. Ut qui magni placeat asperiores possimus tempore non.'),
(138,23,432,'Tempora earum ea perferendis. Facilis ex facilis sed facere impedit cumque et mollitia.\nQuos accusamus deserunt assumenda eaque est dolore mollitia itaque. Et et rerum veniam.'),
(139,22,257,'Error consequatur est sit incidunt fuga voluptatum libero. Ea qui placeat occaecati. Nihil neque repudiandae sunt voluptatum voluptatem. Ratione placeat omnis soluta et consequatur est.'),
(140,9,24,'Quos sunt ipsa culpa architecto a ipsum ut. Et quia id ea. Est nostrum consequatur voluptatem vel. Velit consequuntur voluptatum dignissimos recusandae non ut praesentium.'),
(141,25,77,'Qui voluptatem quaerat qui rerum veniam molestiae eveniet. Et inventore deleniti minus asperiores.'),
(142,37,317,'Odit excepturi eos qui aut quisquam. Tempora voluptate ipsa quidem ipsam. Dolore consequatur nam dolor doloribus animi. Sed voluptates fugit qui cupiditate corrupti.'),
(143,16,130,'Veritatis aut sit totam sunt et dicta. Id assumenda labore quia autem ullam. Et tenetur placeat rerum omnis qui odit.'),
(144,3,339,'Alias minima aut et. Numquam unde alias placeat quae recusandae. Ut soluta debitis illum quod officia. Eveniet amet natus quia voluptas sed.'),
(145,18,48,'Et aperiam ut velit non. Facere cupiditate quod explicabo. Dolore sed maiores officiis modi. Blanditiis eos dicta repellendus voluptate error itaque.'),
(146,39,176,'Vel minus mollitia optio ut est illo. Id illum aut vero id a ea accusantium. At qui asperiores occaecati ipsa.'),
(147,23,204,'Nam excepturi modi magni natus ut autem. Provident eos eligendi reiciendis explicabo qui id nam vero. Molestiae delectus esse occaecati in. Corporis cupiditate ut quo quaerat omnis asperiores qui.'),
(148,40,265,'Eos aut quibusdam ullam maxime. Sit necessitatibus impedit possimus ratione laborum. Distinctio qui in itaque eos nisi voluptatem. Dolores laudantium voluptatibus nihil rerum.'),
(149,35,140,'Culpa enim qui id est corrupti rerum. Sed dolore cum eos sit. Nisi saepe qui dicta magni vitae illo.'),
(150,38,444,'Sequi tenetur architecto sed vel. Cumque nam aut dolores rerum. Possimus aut et accusamus itaque.'),
(151,11,209,'Totam sit nulla id ea. Et distinctio tempora dolor sint odit quo aut delectus. Accusantium atque praesentium modi est. Accusantium error molestias qui est at incidunt.'),
(152,17,208,'Minima aperiam aut illo nisi quos et qui architecto. Est iusto voluptatum expedita natus et officiis. Eaque laboriosam et doloremque aliquam nesciunt eos.'),
(153,11,437,'Iure vel eum non aliquid suscipit. Est accusantium corporis debitis. Modi ut quia et consequatur temporibus. At omnis odit hic est deleniti nihil eaque.'),
(154,14,204,'A quas quas impedit quasi quis quam. Amet qui possimus in. Culpa rerum deleniti eveniet est ad voluptas veritatis ad. Omnis fugiat id impedit sint.'),
(155,16,429,'Totam eos odit qui error. Dolore vitae voluptatum voluptas aperiam voluptate accusamus repellendus. Beatae id distinctio eum at aliquid.'),
(156,14,28,'Aut fuga consequatur voluptatum. Repellat non ut ea unde sit dolore. Iure distinctio accusantium rem et excepturi.'),
(157,8,230,'Odio incidunt harum aperiam quod. Dicta ut sint vero blanditiis qui vel. Nostrum libero ut et et. Nobis qui sed inventore quia saepe eum est.'),
(158,16,203,'Voluptatem praesentium dolorem magni id fugiat. Ab adipisci est inventore nostrum. Sed nihil minima accusantium. Qui sequi et ea architecto est quas aliquid.'),
(159,4,320,'Placeat iusto adipisci accusantium rerum temporibus id tempora. Enim adipisci animi repellendus atque voluptates quaerat voluptatem et. Qui nemo non est commodi dolorem nesciunt odit assumenda.'),
(160,39,56,'Qui cupiditate libero illum perspiciatis repudiandae. Inventore facilis et nobis vitae sapiente voluptatem natus.'),
(161,27,297,'Vitae nulla et nemo aliquam. Debitis ut rerum consequatur qui. Consequatur cumque voluptatem in officiis ex eum maiores.'),
(162,46,218,'Iste quis dicta voluptate amet tenetur earum. Et quaerat eligendi veritatis qui natus. Velit laborum numquam dolor maiores rerum et eos. In sequi maiores consequatur architecto reprehenderit eum.'),
(163,49,140,'Laborum et reiciendis autem. Et voluptatem pariatur magni eum. Et voluptas voluptatem et ullam.'),
(164,20,296,'Vel et rerum molestiae quo aspernatur. Recusandae ea vero corrupti esse. Autem placeat quibusdam sunt nobis facere ut harum. Officiis sunt mollitia vitae doloremque.'),
(165,47,283,'Commodi consequatur magni dolor dolor et fuga ut. Voluptate sint tempora est eos. Dolores veritatis ex voluptas quos est. Non illo blanditiis voluptates eligendi sed. Sed ut et sed sint nam ut.'),
(166,43,131,'Aut occaecati et esse debitis quidem quaerat praesentium. Fugit est soluta aliquam. Molestiae laudantium quo natus.'),
(167,32,248,'Nobis porro cum modi adipisci recusandae. Totam laudantium cumque ullam ut. Accusantium eos aliquid ex autem ea voluptatum cumque. Autem in odio et.'),
(168,37,349,'Aut ut distinctio est fugit. Nihil repellendus qui explicabo eum odio nam. Ducimus minima nostrum adipisci nesciunt. Sapiente eius id dolorem id id sint.'),
(169,34,323,'Quis mollitia quia repellat suscipit nisi accusamus necessitatibus optio. Sit sed explicabo voluptate. Sed vero accusantium sed sint delectus dolores quaerat.'),
(170,22,369,'Suscipit in illum ea praesentium sequi provident voluptas. Et provident dolores quis doloribus itaque repudiandae. Ut odio voluptatem necessitatibus voluptatibus.'),
(171,18,359,'Soluta aspernatur illum quod occaecati. Laborum eligendi dolore ut repellendus nihil. Explicabo consequatur distinctio nisi atque. Architecto tempora voluptates ad aut aspernatur.'),
(172,24,243,'Provident animi ut sit sint rerum amet. Voluptatibus officia at animi laboriosam. Praesentium sed sed deleniti expedita. Aut aliquam sequi suscipit impedit.'),
(173,2,244,'At molestias nulla iste ut nihil praesentium nostrum. Sunt alias sint impedit quasi nostrum autem. Corrupti quos id omnis. Ipsa consequuntur ipsa rerum dolore.'),
(174,42,401,'Pariatur nam incidunt reprehenderit blanditiis iste. Reprehenderit consequuntur vel illum quas. Explicabo alias sapiente possimus rerum.'),
(175,46,321,'Provident fuga asperiores quia. Voluptates sed doloribus sit nulla voluptas quo minima. Pariatur ab nihil nesciunt.\nVoluptas accusamus illo molestiae. Animi unde omnis deleniti eveniet quidem.'),
(176,37,321,'Enim eaque doloremque sunt nulla dolorem vel illo. Enim eos doloremque inventore qui quia vitae. Sed corporis eveniet natus perspiciatis quidem asperiores.'),
(177,33,258,'Dolorum sint magnam voluptas dolor sed. Ut blanditiis voluptate aperiam quibusdam magnam vel. Accusamus pariatur aut alias beatae consequatur rerum aut.'),
(178,45,353,'Asperiores sit explicabo sed illum sequi enim. Iusto placeat magni qui hic. Impedit voluptas sunt hic eaque cum. Aspernatur officiis debitis veniam assumenda.'),
(179,40,25,'Reiciendis quis nostrum exercitationem eum ut qui quis. Expedita quis recusandae aliquam deleniti rerum soluta. Ipsam repellendus labore minima atque. Commodi optio a sunt debitis in voluptatem.'),
(180,46,151,'Unde ut ducimus repellat dolore. Aliquid quos quia corrupti sit reiciendis. Dolorem repellat libero veritatis labore autem et. Quis deleniti nobis et quod dolor tempora dolorem in.'),
(181,23,312,'Facilis facilis iusto ut alias dolores minus. Rerum ipsam voluptatem ipsa omnis. Pariatur veritatis optio excepturi et eos. Quidem ipsa quod et quis non voluptas asperiores non.'),
(182,12,318,'Dolor est laborum accusantium voluptatum eius. Quia quaerat aut qui vel in. Neque exercitationem voluptates non laboriosam sit. Sunt sint et optio non saepe aut.'),
(183,42,450,'Ad ut voluptates autem ea doloribus harum et. Enim debitis ut sed voluptatem sit modi id. Quia nam itaque cumque minus dolor explicabo.'),
(184,13,51,'Modi voluptatem sint occaecati eum ullam illum. Incidunt aliquam voluptatum sit sunt. Dolorem nemo illo sequi earum qui. Porro reiciendis magnam ut.'),
(185,17,345,'Eveniet ut natus id. Non minus illo sunt ut dolorem non necessitatibus. Distinctio quibusdam recusandae quo consequatur. Nesciunt et sint eum.'),
(186,9,358,'Perspiciatis ut ea eos est ut ea. Animi quam enim molestias quas iste incidunt. Consequatur ut rerum tempore voluptate est nostrum quis.'),
(187,19,434,'Vel quia consequatur ad laudantium. Et ut facere qui voluptas voluptates saepe iure. Corporis est aut dolores qui. Delectus magnam commodi dolor ipsa.'),
(188,52,406,'Omnis ipsa aut voluptas aut quia. Distinctio molestias libero eligendi numquam. Totam optio quis quas et dolore incidunt. Quae aut tempora veritatis minus alias voluptatibus saepe.'),
(189,17,173,'Maxime similique ducimus error molestiae doloremque aperiam nostrum. Porro ducimus harum est aut eos voluptatem repellat illum. Quos id ipsum qui maiores. Aliquid minima sed est autem.'),
(190,38,255,'Rem sint aut inventore tempora. Molestiae reiciendis velit quo voluptatibus perspiciatis. Quo deserunt facere ab ut iste consectetur non.'),
(191,51,274,'Aut dolor mollitia enim et sed. Nulla cupiditate odit in quisquam placeat dolores. Voluptate commodi occaecati eligendi aliquam quia voluptas incidunt. Nisi ut voluptas sed.'),
(192,17,134,'Fugit deleniti corporis et velit illum reiciendis quis. Alias possimus vel et dolorum et aspernatur. Eveniet qui quasi quia laboriosam praesentium. Voluptas ipsam neque libero.'),
(193,21,285,'Quia quibusdam dolores exercitationem. Molestiae sed sapiente libero minus officiis. Omnis laboriosam in dolores dolores nihil. Aut ut sit est omnis explicabo repudiandae excepturi consequatur.'),
(194,46,6,'Aut distinctio nemo ipsa porro excepturi autem. Soluta exercitationem libero sed non. Ullam ratione quo sunt.'),
(195,26,1,'Beatae necessitatibus nisi accusantium totam. Et mollitia aut tempore sapiente ad. Omnis sed quo harum harum ex facere quas.'),
(196,3,29,'Sint dolores suscipit non repellat nobis. Dignissimos tempora mollitia maxime molestiae sit occaecati doloremque. Ab enim et est sed sit maiores maxime cumque.'),
(197,10,316,'Asperiores sit laudantium a natus eos architecto. Quisquam provident nemo et enim. Porro laborum temporibus error. Animi odio et facilis sapiente.'),
(198,44,438,'Aut expedita reprehenderit eum quo odit tenetur. Non eum ut earum reiciendis quibusdam est. Velit cum ut rerum deleniti. Repellat et dolore eveniet mollitia minima est accusantium.'),
(199,32,389,'Non qui est sunt omnis rerum repellat. Ut qui in occaecati nam iure a. Fugiat possimus mollitia nobis pariatur quas dolorum. At voluptates eius est eos aut eveniet expedita.'),
(200,23,203,'Animi deserunt rerum delectus voluptate at ut ratione. Distinctio soluta nihil cumque. Delectus facere aut in error pariatur est saepe. Accusantium placeat natus omnis sapiente.'),
(201,34,420,'Illo quia blanditiis cupiditate dolores assumenda id. Aut quisquam nihil dignissimos cumque. Culpa minus quia omnis placeat sapiente et. Velit aut quia praesentium explicabo sed aut excepturi.'),
(202,34,140,'Velit harum laborum ea et. Autem nemo mollitia voluptatem ab expedita.'),
(203,34,305,'Ea cupiditate aperiam quas qui molestiae. Maxime harum blanditiis ratione eos et est vitae. Enim consequatur assumenda debitis expedita ipsa.'),
(204,51,299,'Minus recusandae ipsam facere deleniti deleniti qui. Qui dolorem reiciendis accusamus et dignissimos rerum quia. Corrupti odio ut eum maxime debitis quidem eos.'),
(205,1,449,'Incidunt est aut recusandae modi. In aperiam suscipit beatae dicta. Officia placeat enim exercitationem. Minima qui libero voluptas nisi.\nUt dolores et iusto eveniet dolorum ut. Et cum hic quasi.'),
(206,46,126,'Velit explicabo ullam accusamus dolorem. Non doloribus a qui sed inventore sunt. Veniam sequi quam atque quia quia. Facere pariatur aliquam labore illum aut corrupti rerum.'),
(207,39,366,'Sed iure inventore officiis deleniti. Molestiae vitae velit dolorum enim voluptas. Provident culpa expedita facere iusto dicta. Ducimus voluptates quod non et.'),
(208,45,61,'Aperiam corporis dolore ea sed autem ratione. Harum ab magnam assumenda non. Dicta quam aut officia dolorem et recusandae expedita. Minus odio aut aliquam earum tempore et nisi.'),
(209,14,238,'Distinctio ipsam corporis pariatur rem odit velit qui. Possimus perspiciatis iure sunt fuga at. Quae cupiditate distinctio dicta nisi.'),
(210,31,433,'Sint velit voluptate omnis ut. In perferendis ullam molestias. Quaerat eum nihil error fuga. Quos enim rerum modi perspiciatis id quasi eaque.'),
(211,28,119,'Nisi ut ut error qui. Et quisquam veritatis sint rem ab mollitia voluptas eveniet. Voluptatum quidem in cupiditate. Labore voluptate omnis voluptatem accusamus enim.'),
(212,23,7,'Nam tempore quas tenetur. Vero ea modi saepe vitae dolor velit. Aliquid occaecati vel quam eos quisquam velit minima voluptatibus. Qui autem fugit voluptates quis laudantium.'),
(213,17,308,'Non voluptas ipsa quia ipsam. Qui sint sint rem ad.'),
(214,12,414,'Et error quos nostrum aliquid provident. Nesciunt voluptatum atque animi aut. Ducimus aut hic commodi.'),
(215,22,396,'Itaque quis architecto sed libero velit veritatis. Et molestiae in ut exercitationem. Molestias autem corrupti et cum. Doloribus non repellat iste recusandae quae.'),
(216,48,10,'Modi perferendis voluptates a enim fugit voluptas vel. Sed eum nulla et est ipsa et quibusdam. Sed iusto earum necessitatibus. Iste fugit totam non perferendis voluptatibus nulla ipsam voluptatem.'),
(217,19,322,'Consectetur sequi soluta numquam rem. Dolorum enim ipsa error officiis doloribus tenetur. Consequuntur est minima ratione. Natus blanditiis et optio maiores ipsam ad.'),
(218,41,212,'Quia rem est velit quo corrupti aut. Est omnis ratione aut. Officia distinctio labore inventore error voluptas aut aspernatur. Iste magnam repellat aut ad enim.'),
(219,48,72,'Voluptatem quod deserunt voluptas eius et atque quia. Beatae sunt odit iure tempora repellat. Corporis nisi cumque quae soluta.'),
(220,19,105,'Maiores vitae dolorem dolor est ipsum. Corporis laudantium sed iure aut. Dignissimos placeat recusandae adipisci et hic.'),
(221,15,363,'Sit id veniam itaque iure maxime laudantium. Dolores unde possimus perspiciatis et animi quis ipsum. Dolore fugiat at eos.'),
(222,36,246,'Inventore temporibus nisi vel expedita suscipit. Aut molestiae aut voluptates placeat. Commodi id quas at earum et omnis.'),
(223,22,387,'Et voluptatem autem nisi doloribus molestias quibusdam. Omnis id et autem facere numquam est. Voluptas eligendi quisquam vero deserunt ipsam aut beatae. Iste accusantium distinctio in odio.'),
(224,40,281,'Vero suscipit ratione hic nulla et assumenda. Eaque est id rerum iure. Aut vitae incidunt omnis aut consequatur accusantium aut.'),
(225,3,171,'Amet expedita repudiandae earum in quia dicta ad. Vel voluptatem cupiditate ex corrupti minima voluptates. Recusandae quia et quo perferendis excepturi earum ut quidem. Error ea architecto facilis.'),
(226,42,79,'Voluptate id sed labore ex ipsa delectus a. Doloribus incidunt autem molestias reiciendis expedita. Quasi odio fugiat quod et similique doloremque.'),
(227,5,103,'Rerum asperiores nostrum voluptas non. Culpa et exercitationem et saepe quia. Omnis at ut nemo.'),
(228,7,409,'Omnis perspiciatis aut et corrupti qui eum aliquam. Eum quisquam rem ut placeat cupiditate. Ea consequatur id rerum. Enim et perferendis quidem.'),
(229,31,154,'Laboriosam minima praesentium commodi temporibus voluptatem. Debitis pariatur ut et. Ut cupiditate et aspernatur similique incidunt. Eaque quaerat dicta dolor pariatur laborum.'),
(230,26,190,'Officia ut rem qui ea accusantium ullam suscipit. Hic accusamus perspiciatis numquam commodi minus in. Eos rerum culpa non non aliquid nobis. Qui porro est aperiam dolores quisquam qui.'),
(231,18,447,'Id quae illo natus ratione est totam molestiae. Non similique et harum dolores praesentium quia delectus. Perspiciatis omnis et amet consequatur est ea. Dolor praesentium iste vel illum iste.'),
(232,26,73,'Modi atque dolor molestias ab et non. Est dolore consequatur et consequatur rem aliquam fugit.'),
(233,25,238,'Inventore debitis error illum ipsum eos odit. Eius velit explicabo voluptatem. Repudiandae animi nostrum temporibus ad. Atque ab incidunt quod nam ullam.'),
(234,29,219,'Quia possimus porro qui dolorem ipsam et iusto dolor. Quia quibusdam qui aperiam vel ut alias id. Veritatis quos aliquam corrupti iusto vitae.'),
(235,1,237,'Voluptatem necessitatibus qui repudiandae tenetur tempore consequatur. Repudiandae sed fugiat aut repellendus. Ut sequi expedita repellat non. Non et illum laudantium autem quaerat autem iusto.'),
(236,45,339,'Doloremque architecto laborum soluta assumenda. Quasi consequuntur est qui non accusamus repellendus. Veniam rerum incidunt voluptatem est quia.'),
(237,44,137,'Dolorum velit qui id in ipsa et assumenda pariatur. Commodi suscipit nemo ut quibusdam fuga. Veritatis sit ab voluptatem maxime. Delectus nisi nobis repellat amet.'),
(238,37,29,'Quaerat sit et repellendus velit laudantium odio. At sunt omnis corporis sint qui accusamus. Molestiae et et aut quam illum dolores.'),
(239,52,359,'Laborum rerum incidunt quia atque commodi quibusdam quod. Et culpa cum fugit. Eos nemo sit ex consequatur placeat fuga quidem.'),
(240,49,95,'Est minus quaerat non dolores neque. Eum et aut dolorum neque. Expedita facilis dicta veritatis velit quod corrupti. Et voluptatem molestias ut eius quia.'),
(241,45,156,'Et fugiat qui quam et neque possimus. Quas quas laborum omnis illo. Autem soluta enim doloribus officiis. Tempore nam voluptatem enim repellendus dolor quos.'),
(242,48,441,'Aliquam qui tempore modi aut autem aperiam voluptas. Minima et laborum est quidem.'),
(243,49,164,'Quae omnis odit aut sed. Velit repellat natus quo. Autem atque distinctio amet assumenda fugiat qui. Illo itaque et nemo ut minima.'),
(244,44,235,'A quia ut qui inventore quas eaque fuga. Aperiam reprehenderit corporis veniam id. Aspernatur voluptas possimus dolorem minima. Blanditiis aperiam pariatur unde est earum exercitationem.'),
(245,15,25,'Aut debitis officiis qui repellat. Minima quam recusandae saepe debitis provident. Nihil quia est error ducimus soluta veniam assumenda. Debitis expedita amet fuga sit.'),
(246,29,402,'Quos quibusdam voluptas qui sit quis. Dolores qui non rem cumque minima sit iure. Et neque et repellat eveniet culpa omnis.'),
(247,33,347,'Iste voluptatum nulla dicta. Assumenda voluptatem quia illo sed corporis. Ut quaerat vel impedit quas iusto. Minima porro repudiandae cumque repellendus.'),
(248,21,285,'Expedita ipsam tenetur non. Debitis consequatur natus culpa asperiores. Velit ratione dolorem et natus mollitia magni ut. Dolor non dignissimos qui repellat ullam ea repellat.'),
(249,23,52,'Magnam est aperiam velit aut quis accusamus fugit. Eum iusto eum quis ipsa. Exercitationem earum error velit dolorum reiciendis sint reprehenderit. Enim et odit nam reprehenderit hic porro fugit.'),
(250,54,234,'Nesciunt doloremque velit accusantium autem cum at. Error vel pariatur in voluptate aliquam eum omnis. Laborum est neque sed fugiat. Ea nulla magnam et natus dignissimos.'),
(251,24,233,'Accusantium ut exercitationem in aliquam illo est. Cumque mollitia quia molestiae. Earum sapiente fugiat accusamus ullam voluptatum aut esse.'),
(252,18,108,'Ut ut placeat deleniti tenetur sunt recusandae voluptatem. Omnis quia tempora vel enim non. Quod tempora cum blanditiis suscipit est sint. Eos dolores sequi est.'),
(253,46,209,'Illo quibusdam ipsa impedit tempore voluptatem esse molestiae. Placeat cupiditate alias architecto dolorem. Qui provident illo sit hic similique.'),
(254,38,64,'Eius eos esse dolores. Esse eius inventore voluptatem delectus perferendis blanditiis. Repellat sapiente autem explicabo sed consectetur.'),
(255,22,278,'Voluptate voluptatem deserunt deleniti dolore qui assumenda beatae a. Distinctio ex accusantium iure placeat id dolor praesentium a. Inventore deserunt sequi consequatur amet est nesciunt sequi.'),
(256,14,56,'Aut molestiae quia et sed sit. Ratione non ut sed maxime ullam qui. Vero aut omnis sint quis voluptatem eaque dolorum consequatur.'),
(257,31,69,'Voluptates sunt illum officiis voluptate sed. Ut aut officia ea distinctio nihil animi. Aliquid velit vitae dignissimos sapiente. Nostrum modi atque molestiae enim ad.'),
(258,33,252,'Aspernatur quae quis sequi. Illo numquam neque possimus a sed corporis nostrum. Aut ea totam hic maxime aspernatur eius.'),
(259,41,167,'Fugit quisquam quos repellat quis. Accusamus repellat et qui enim. Beatae ab laboriosam dolor. Maxime dolor eius ut dolorem ducimus.'),
(260,22,296,'Et iste architecto quis possimus sunt modi nobis. Laboriosam cupiditate sint quidem minus nemo. Culpa maxime autem totam autem sint in porro.'),
(261,5,337,'Non eaque eius voluptatem aut. Sunt tempora neque accusamus non nulla aut non. Qui quidem libero expedita quam consequatur eos voluptatibus. Odit porro aperiam eligendi quasi.'),
(262,16,160,'Rem aut aut quis at quasi quod. Aperiam id velit amet ut corporis rerum. Aspernatur dolorum maxime voluptas possimus alias. Earum quisquam sint reprehenderit ducimus qui facere neque ea.'),
(263,9,234,'Maxime illum assumenda dolor rem occaecati esse et quisquam. Architecto rerum vel quo in iure dignissimos. Magnam laudantium vitae nemo consectetur ut possimus.'),
(264,7,426,'Blanditiis aut qui fugit voluptatum accusantium rem sit. Commodi blanditiis enim aut blanditiis neque.'),
(265,13,237,'Assumenda dicta enim et nulla qui a doloremque. Deleniti consectetur delectus delectus delectus assumenda. Exercitationem tempore rerum velit ipsam ut.'),
(266,39,427,'Maiores ducimus qui cumque aut totam ab nihil placeat. Cupiditate officiis et quod blanditiis non. Iusto et autem quo voluptatibus iusto asperiores.'),
(267,11,205,'Iure consequatur vel rem odio voluptas nisi quia blanditiis. Nesciunt repellendus quidem sed sunt omnis esse. Accusantium officiis tempora cupiditate dolorem.'),
(268,22,326,'Excepturi adipisci nulla aut voluptatibus ut porro ipsa. Reprehenderit voluptatum est qui cupiditate. Velit officia eos et eos asperiores velit. Modi error voluptatibus et modi illo aliquam qui.'),
(269,32,326,'Aliquam illum ipsam perferendis et sunt amet voluptates. Et neque aspernatur expedita totam in et omnis unde. Aut veniam sit tempora in ipsa id.'),
(270,47,80,'Dicta autem quaerat voluptas similique quo eum. Modi ut similique sunt occaecati molestias. Dolor recusandae nobis minima commodi. Velit vel rerum perferendis rerum rerum tempore quo aut.'),
(271,52,231,'Dolores itaque quam dolores reprehenderit. Recusandae et asperiores necessitatibus enim praesentium nulla sit.'),
(272,35,271,'Eum culpa dolorum nobis dolores magnam saepe. Consectetur facere eius hic iste. Consequatur hic vitae voluptatem itaque. Rerum velit eum amet aut aperiam aut.'),
(273,4,7,'Adipisci porro consequatur quibusdam. Soluta provident mollitia unde esse molestiae. Saepe quis fugiat recusandae ex vel vel pariatur. Iste provident ab aspernatur magnam qui.'),
(274,35,449,'Rem velit saepe consequatur eveniet. Corporis incidunt libero consequuntur officiis eligendi.\nEt est sapiente pariatur. Qui consequuntur iusto quidem ea recusandae est in.'),
(275,13,79,'Quis ipsam voluptatem a qui fugit. Qui modi minima totam itaque modi et ut. Dolor hic quas ad nobis voluptatum architecto et.'),
(276,36,412,'Quo et eaque tempore corporis necessitatibus fugit quam recusandae. Autem ut consequatur possimus earum veritatis. Amet est sit pariatur itaque ut.'),
(277,22,255,'Rerum dolorum nesciunt dolore necessitatibus. Veniam sed odio rerum laborum quas. Aut delectus voluptatum distinctio rem. Dolore laboriosam dolorem voluptas nemo quia.'),
(278,19,276,'Modi aut laudantium atque ratione non enim quis. Debitis aut repellat est animi vel. Ipsum quas illo et aut.'),
(279,40,175,'Et officia est sint iure qui. Soluta iure amet quia repellat. Id sunt aut est labore qui quo. Molestiae ab ipsum maxime minus perspiciatis facere.'),
(280,31,68,'Nostrum reiciendis ea veniam. Quisquam voluptas qui voluptatum. Consequatur autem quia et.'),
(281,3,381,'Dolor ea deserunt laudantium. Mollitia ut illum ullam iure est distinctio et. Enim aspernatur tempora officia ea suscipit beatae velit.'),
(282,19,375,'Qui omnis molestiae fugiat tenetur. Dolorum id est quam ratione quisquam voluptas sint architecto. Voluptas aliquam accusamus et velit cum porro. Corporis magnam fuga doloremque sed ut.'),
(283,23,117,'Voluptatem rerum voluptas eos quia repellendus. Impedit voluptatem occaecati ratione quod et delectus quis sint. Illo quod veniam quae illo.'),
(284,33,138,'Sequi consequuntur quo hic. Consequatur autem esse in blanditiis aut minima. Et consequatur qui iusto commodi nobis odit nam. Non eos non consequatur libero illum quo.'),
(285,45,423,'Sint mollitia doloremque et dolores sit tempore. Eveniet quia reiciendis ea culpa quia magnam et. Delectus dicta nostrum quas et eius.'),
(286,14,274,'Dignissimos tenetur expedita amet ut ut porro. Totam incidunt suscipit necessitatibus est quia velit molestiae. Aliquid harum fugit omnis nobis fuga nisi voluptatibus. Qui ut ut possimus.'),
(287,38,80,'Praesentium dolor quam est et. Dolores aspernatur blanditiis porro ipsa et possimus. Fugit aut doloribus vitae ut veniam temporibus cumque. Explicabo maiores repellendus consequatur suscipit tempora.'),
(288,41,370,'Reprehenderit tempore ad eos adipisci fugit. Voluptas ratione ea quo voluptatem. Velit quia molestias explicabo rerum similique culpa officia.'),
(289,32,228,'Praesentium incidunt doloribus provident officia ipsum velit recusandae. Assumenda error modi at vel aut numquam vitae. Iste quia cupiditate officia id.'),
(290,49,55,'Ratione quis odio omnis et odit aut. Aut corporis ducimus et ab provident delectus. Recusandae laboriosam quae est voluptatem ut illum earum autem.'),
(291,7,277,'Sed ea ea impedit. Voluptatem corporis eum ducimus. Quia voluptatem sint laboriosam molestias accusamus ea inventore.'),
(292,40,286,'Mollitia provident pariatur inventore omnis. Accusantium ipsa quisquam laudantium eveniet laborum.'),
(293,37,431,'Iure quia ab voluptate temporibus quos. Illum in eveniet et praesentium iusto et error. Ipsa qui iure sunt adipisci.'),
(294,24,150,'Debitis aut enim quasi expedita sint magnam molestias ut. Corrupti quia id sit unde minus. Hic vitae eum eos. Qui officiis nam sit. Esse perspiciatis omnis rem consequatur possimus.'),
(295,23,403,'Qui dignissimos repellat debitis culpa ipsam vel aperiam. Asperiores aut voluptatibus et non. Natus labore provident magnam porro aut atque et. Ipsam repellendus ipsum iure earum est ipsam illum.'),
(296,50,290,'Nesciunt distinctio illo voluptas porro eum vero. Numquam a ipsa praesentium rerum atque tempore.'),
(297,38,340,'Cumque velit velit esse vitae. Fugit non velit quos veritatis fuga quia voluptatem. Dolor voluptatem sed ullam distinctio aliquam. Sed omnis est aliquid ut.'),
(298,50,422,'Voluptas quas repellat officia sapiente. Facilis sit deserunt est ipsam cum. Saepe dicta ut rerum.'),
(299,50,103,'Et voluptas quae explicabo aliquid voluptatibus omnis nostrum. Vel non enim recusandae molestias maxime.'),
(300,30,346,'Mollitia sunt similique eos dolor ipsa tempora consequatur dicta. Aliquam alias eos est et sunt voluptatem qui. Unde est optio itaque voluptate quia ut qui.');
INSERT INTO reference_pages (reference_id, sending_id) VALUES
(7,135),(221,247),(83,189),(259,106),(35,194),(114,126),(211,219),(44,186),
(133,258),(36,273),(234,268),(37,76),(116,127),(250,254),(279,58),(166,47),
(175,129),(292,136),(104,142),(14,7),(164,118),(289,60),(51,21),(248,197),
(276,101),(113,217),(146,296),(173,289),(138,293),(71,286),(257,82),(126,184),
(93,287),(4,279),(95,86),(8,183),(3,13),(146,183),(261,42),(133,17),(40,190),
(179,278),(126,111),(91,173),(60,194),(54,101),(222,179),(195,252),(65,219),
(221,177),(103,193),(140,262),(217,30),(32,249),(109,65),(153,43),(163,80),
(123,73),(36,237),(105,230),(257,100),(157,115),(101,35),(45,88),(272,108),
(41,117),(221,292),(161,158),(11,200),(144,288),(137,8),(208,207),(272,246),
(2,163),(144,42),(297,177),(24,169),(7,51),(101,71),(160,203),(20,234),
(16,29),(171,112),(27,152),(177,131),(133,67),(168,231),(6,73),(173,34),
(134,40),(282,125),(30,1),(208,24),(78,91),(159,222),(84,125),(79,179),
(157,220),(145,156),(259,263);
-- Настраиваем систему логирования.
-- Логируем наиболее значимые объекты, это помимо включенного стандартного логирования.
DROP TABLE IF EXISTS logs;
CREATE TABLE logs (
created_at DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT 'Дата создания',
target_table VARCHAR(255) COMMENT 'Целевая таблица',
command VARCHAR(16) COMMENT 'Команда',
target_id int COMMENT 'Идентификатор целевой записи',
content_name VARCHAR(4096) COMMENT 'Поле name в целевой записи'
) COMMENT = 'Журнал событий' ENGINE = ARCHIVE;
DELIMITER //
DROP TRIGGER IF EXISTS insert_record_users//
CREATE TRIGGER insert_record_users AFTER INSERT ON users
FOR EACH ROW
BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('users', NEW.id, 'insert', CONCAT('Зарегистрирован новый пользователь: ', NEW.name));
INSERT INTO profiles (user_id) VALUES (NEW.id);
END//
DROP TRIGGER IF EXISTS insert_record_cards//
CREATE TRIGGER insert_record_cards AFTER INSERT ON cards
FOR EACH ROW BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('cards', NEW.id, 'insert', CONCAT('Создана новая карточка: "', NEW.title, '"'));
INSERT INTO publications (card_id) VALUES (NEW.id);
END//
DROP TRIGGER IF EXISTS insert_record_publications//
CREATE TRIGGER insert_record_publications AFTER INSERT ON publications
FOR EACH ROW BEGIN
INSERT INTO documents (publication_id) VALUES (NEW.card_id);
END//
DROP TRIGGER IF EXISTS insert_record_behests//
CREATE TRIGGER insert_record_behests AFTER INSERT ON behests
FOR EACH ROW BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('behests', NEW.publication_id, 'insert', 'Создан новый памятник');
END//
DROP TRIGGER IF EXISTS delete_record_users//
CREATE TRIGGER delete_record_users BEFORE DELETE ON users
FOR EACH ROW
BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('users', OLD.id, 'delete', CONCAT('Пользователь удален: ', OLD.name));
DELETE FROM profiles WHERE user_id = OLD.id;
END//
DROP TRIGGER IF EXISTS delete_record_cards//
CREATE TRIGGER delete_record_cards BEFORE DELETE ON cards
FOR EACH ROW BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('cards', OLD.id, 'delete', CONCAT('Карточка удалена: "', OLD.title, '"'));
DELETE FROM publications WHERE card_id = OLD.id;
END//
DROP TRIGGER IF EXISTS delete_record_publications//
CREATE TRIGGER delete_record_publications BEFORE DELETE ON publications
FOR EACH ROW BEGIN
DELETE FROM documents WHERE publication_id = OLD.card_id;
DELETE FROM behests WHERE publication_id = OLD.card_id;
END//
DROP TRIGGER IF EXISTS delete_record_behests//
CREATE TRIGGER delete_record_behests BEFORE DELETE ON behests
FOR EACH ROW BEGIN
INSERT INTO logs (target_table, target_id, command, content_name) VALUES ('behests', OLD.publication_id, 'delete', 'Памятник удален');
END//
DELIMITER ;
|
-- @testpoint:插入字符串类型整数
drop table if exists bigint04;
create table bigint04 (name bigint);
insert into bigint04 values ('14165132');
select * from bigint04;
drop table if exists bigint04;
|
--
-- Copyright 2019 The Android Open Source Project
--
-- 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
--
-- https://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.
--
-- Sched view per process
CREATE VIEW per_process_cpu AS
SELECT process.upid AS upid, ts, dur
FROM sched
JOIN thread USING(utid)
JOIN process USING(upid);
-- CPU usage during the activity launch.
CREATE TABLE launch_cpu_per_process_type AS
SELECT
id AS launch_id,
per_process_cpu.upid IN (
SELECT upid FROM launch_processes AS lp WHERE lp.launch_id = launches.id
) AS is_launch_process,
SUM(per_process_cpu.dur) AS dur
FROM launches
JOIN per_process_cpu ON (
per_process_cpu.ts BETWEEN launches.ts AND launches.ts + launches.dur)
GROUP BY 1, 2;
CREATE VIEW launch_cpu AS
SELECT
launch_id,
other_process.dur AS other_process_dur,
launch_process.dur AS launch_process_dur,
1.0 * IFNULL(other_process.dur, 0) / launch_process.dur AS cpu_ratio
FROM (
SELECT * FROM launch_cpu_per_process_type
WHERE is_launch_process = 1
) AS launch_process
LEFT JOIN (
SELECT * FROM launch_cpu_per_process_type
WHERE is_launch_process = 0
) AS other_process
USING (launch_id);
|
SELECT tg.track_id, tg.genre_id, t.name AS track_name, g.name AS genre_name
FROM track_genre AS tg
INNER JOIN track AS t ON t.id = tg.track_id
INNER JOIN genre AS g ON g.id = tg.genre_id;
|
-- --------------------------------------------------------
-- Host: localhost
-- Versión del servidor: 5.7.24 - MySQL Community Server (GPL)
-- SO del servidor: Win64
-- HeidiSQL Versión: 10.2.0.5599
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Volcando estructura de base de datos para perfectplan
CREATE DATABASE IF NOT EXISTS `perfectplan` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `perfectplan`;
-- Volcando estructura para tabla perfectplan.usuarios
CREATE TABLE IF NOT EXISTS `usuarios` (
`id_usuario` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`ubicacion` varchar(100) NOT NULL,
`contrasena` varchar(150) NOT NULL,
KEY `Índice 1` (`id_usuario`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1;
-- Volcando datos para la tabla perfectplan.usuarios: ~4 rows (aproximadamente)
DELETE FROM `usuarios`;
/*!40000 ALTER TABLE `usuarios` DISABLE KEYS */;
INSERT INTO `usuarios` (`id_usuario`, `nombre`, `email`, `ubicacion`, `contrasena`) VALUES
(29, 'Yovani', '[email protected]', 'santa Elena', '$2y$10$K9beNk23.EwPfseNGeQhbuS0TU6PLOhCVtPPHvVAdY3oEO8v0iv4i'),
(31, 'Angel Bran', '[email protected]', 'Santa Elena', '$2y$10$NU6Oqie3QFnhco1JUuBjj.2Zz.SqagZDToakQdUc2ikGDspY0Vlbu'),
(32, 'Angel', '[email protected]', 'Santa', '$2y$10$n0flL2Zk6tCG0JDJDVrR0.532cbgSndNXtmXam3tEtsB4lUEEQtRO'),
(33, 'Angel', '[email protected]', 'Santa', '$2y$10$QbfPYNi8eOkmvdP.8ujNEOUyYIn8hWo7YFSQAaeG7Ji0sX4k0Gr6G');
/*!40000 ALTER TABLE `usuarios` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
ALTER TABLE [dbo].[Answers]
ADD CONSTRAINT [FK_Answers_SurveyResponses] FOREIGN KEY ([SurveyResponseId]) REFERENCES [dbo].[SurveyResponses] ([id]) ON DELETE NO ACTION ON UPDATE NO ACTION;
|
CREATE TABLE public.tweet
(
id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY,
twitter_id int8 NULL,
text varchar(255) NULL,
resource_url varchar(255) NULL,
username varchar(255) NULL,
scheduled_date timestamp NULL,
creation_date timestamp NULL,
update_date timestamp NULL,
deleted_date timestamp NULL,
CONSTRAINT tweet_pkey PRIMARY KEY (id)
);
|
CREATE TABLE automotive_model (
id String,
automotive_model_id Nullable(String),
availability Nullable(String),
body_style Nullable(String),
currency Nullable(String),
custom_label_0 Nullable(String),
description Nullable(String),
drivetrain Nullable(String),
exterior_color Nullable(String),
finance_description Nullable(String),
finance_type Nullable(String),
fuel_type Nullable(String),
generation Nullable(String),
images Array(String),
interior_color Nullable(String),
interior_upholstery Nullable(String),
make Nullable(String),
model Nullable(String),
price Nullable(String),
sanitized_images Array(String),
title Nullable(String),
transmission Nullable(String),
trim Nullable(String),
url Nullable(String),
year Nullable(Int64)
)
ENGINE = Log
|
/*
Navicat MySQL Data Transfer
Source Server : OneShare test 192.168.204.26
Source Server Type : MySQL
Source Server Version : 50621
Source Host : 192.168.204.26
Source Database : oneiot
Target Server Type : MySQL
Target Server Version : 50621
File Encoding : utf-8
Date: 01/17/2018 14:28:23 PM
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `data_point`
-- ----------------------------
DROP TABLE IF EXISTS `data_point`;
CREATE TABLE `data_point` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '数据点ID',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`model_id` bigint(20) NOT NULL COMMENT '设备模型ID',
`name` varchar(100) NOT NULL COMMENT '数据点名称',
`description` varchar(256) DEFAULT NULL COMMENT '描述',
`unit_name` varchar(32) DEFAULT NULL COMMENT '单位名称',
`unit_sign` varchar(10) DEFAULT NULL COMMENT '单位符号',
`frequency` int(10) NOT NULL DEFAULT '60' COMMENT '上报频率,单位s',
`type` tinyint(4) NOT NULL COMMENT '数据类型(0:float,1:double,2:short,3:int,4:long,5:boolean,6:string)',
`length` int(10) DEFAULT NULL COMMENT '数据长度(只对string有效)',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `model_id` (`model_id`,`name`),
UNIQUE KEY `product_name` (`product_id`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='数据点';
-- ----------------------------
-- Table structure for `data_point_extra`
-- ----------------------------
DROP TABLE IF EXISTS `data_point_extra`;
CREATE TABLE `data_point_extra` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '数据点扩展ID',
`data_point_id` bigint(20) NOT NULL COMMENT '数据点ID',
`name` varchar(100) NOT NULL COMMENT 'key name',
`value` varchar(100) DEFAULT NULL COMMENT 'key value',
`description` varchar(100) DEFAULT NULL COMMENT '说明',
PRIMARY KEY (`id`),
UNIQUE KEY `data_point_id` (`data_point_id`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='数据点扩展';
-- ----------------------------
-- Table structure for `device`
-- ----------------------------
DROP TABLE IF EXISTS `device`;
CREATE TABLE `device` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`product_id` bigint(20) NOT NULL COMMENT '设备模型ID',
`name` varchar(100) NOT NULL COMMENT '设备名称',
`api_key` varchar(256) DEFAULT NULL COMMENT 'apihub key',
`sn` varchar(100) DEFAULT NULL COMMENT '设备唯一标识',
`mac` varchar(64) DEFAULT NULL COMMENT 'mac地址',
`imei` varchar(64) DEFAULT NULL COMMENT 'imei',
`description` varchar(256) DEFAULT NULL COMMENT '说明',
`device_status` tinyint(4) DEFAULT '1' COMMENT '在线状态(0:在线,1:下线)',
`last_online_date` datetime DEFAULT NULL COMMENT '最后一次上线时间',
`last_offline_date` datetime DEFAULT NULL COMMENT '最后一次下线时间',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`product_id`),
UNIQUE KEY `sn` (`sn`,`product_id`),
UNIQUE KEY `mac` (`mac`,`product_id`),
KEY `product_id` (`product_id`,`create_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='设备';
-- ----------------------------
-- Table structure for `device_model`
-- ----------------------------
DROP TABLE IF EXISTS `device_model`;
CREATE TABLE `device_model` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '设备模型ID',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`longitude` varchar(100) DEFAULT NULL COMMENT '经度数据点名称',
`laitude` varchar(100) DEFAULT NULL COMMENT '纬度数据点名称',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `product_id` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='设备模型';
-- ----------------------------
-- Table structure for `group`
-- ----------------------------
DROP TABLE IF EXISTS `group`;
CREATE TABLE `group` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`name` varchar(100) NOT NULL COMMENT '设备组名称',
`description` varchar(256) DEFAULT NULL COMMENT '说明',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`product_id`),
KEY `product_id` (`product_id`,`create_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='设备组';
-- ----------------------------
-- Table structure for `group_device`
-- ----------------------------
DROP TABLE IF EXISTS `group_device`;
CREATE TABLE `group_device` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`group_id` bigint(20) NOT NULL COMMENT '设备组ID',
`device_id` bigint(20) NOT NULL COMMENT '设备ID',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `group_device` (`group_id`,`device_id`),
KEY `device_id` (`device_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='设备组与设备映射关系';
-- ----------------------------
-- Table structure for `mqtt_acl`
-- ----------------------------
DROP TABLE IF EXISTS `mqtt_acl`;
CREATE TABLE `mqtt_acl` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`allow` int(1) DEFAULT NULL COMMENT '0: deny, 1: allow',
`ipaddr` varchar(60) DEFAULT NULL COMMENT 'IpAddress',
`username` varchar(100) DEFAULT NULL COMMENT 'Username',
`clientid` varchar(100) DEFAULT NULL COMMENT 'ClientId',
`access` int(2) NOT NULL COMMENT '1: subscribe, 2: publish, 3: pubsub',
`topic` varchar(100) NOT NULL DEFAULT '' COMMENT 'Topic Filter',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of `mqtt_acl`
-- ----------------------------
BEGIN;
INSERT INTO `mqtt_acl` VALUES ('1', '1', null, '$all', null, '2', '#'), ('2', '0', null, '$all', null, '1', '$SYS/#'), ('3', '0', null, '$all', null, '1', 'eq #'), ('5', '1', '127.0.0.1', null, null, '2', '$SYS/#'), ('6', '1', '127.0.0.1', null, null, '2', '#'), ('7', '1', null, 'dashboard', null, '1', '$SYS/#'), ('8', '0', null, 'root', null, '3', '#');
COMMIT;
-- ----------------------------
-- Table structure for `mqtt_user`
-- ----------------------------
DROP TABLE IF EXISTS `mqtt_user`;
CREATE TABLE `mqtt_user` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(100) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
`salt` varchar(20) DEFAULT NULL,
`is_superuser` tinyint(1) DEFAULT '0',
`created` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mqtt_username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of `mqtt_user`
-- ----------------------------
BEGIN;
INSERT INTO `mqtt_user` VALUES ('1', 'admin', 'e10adc3949ba59abbe56e057f20f883e', '', '1', '2018-01-10 18:11:46'), ('2', 'root', 'e10adc3949ba59abbe56e057f20f883e', '', '1', '2018-01-10 18:11:46');
COMMIT;
-- ----------------------------
-- Table structure for `product`
-- ----------------------------
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '产品ID',
`tenant_id` bigint(20) NOT NULL COMMENT '租户ID',
`name` varchar(100) NOT NULL COMMENT '产品名称',
`industry` varchar(100) NOT NULL COMMENT '所属行业',
`description` varchar(200) NOT NULL COMMENT '产品介绍',
`connect_type` varchar(64) NOT NULL COMMENT '接入方式:public:公开协议,private:私有协议',
`connect_protocal` varchar(64) NOT NULL COMMENT '接入协议:mqtt,https',
`auth_method` varchar(64) NOT NULL COMMENT 'APIKey:apihub key,Cert:证书',
`del_flag` char(1) NOT NULL COMMENT '删除标记(0:正常;1:已删除)',
`status` char(1) NOT NULL COMMENT '产品状态(0:开发中;1:已发布)',
`register_code` varchar(256) DEFAULT NULL COMMENT '产品注册码,注册设备时使用',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `tenant` (`tenant_id`,`create_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='产品';
-- ----------------------------
-- Table structure for `role`
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`role_code` varchar(64) NOT NULL COMMENT '角色标识',
`role_name` varchar(64) NOT NULL COMMENT '角色名称',
`description` varchar(255) DEFAULT NULL COMMENT '权限描述',
PRIMARY KEY (`role_code`),
UNIQUE KEY `role_name` (`role_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='角色表';
-- ----------------------------
-- Records of `role`
-- ----------------------------
BEGIN;
INSERT INTO `role` VALUES ('system_admin', '系统管理员', '系统管理员管理所有租户及其系统资源'), ('tenant_admin', '租户管理员', '租户管理员管理租户下资源'), ('tenant_dev', '租户开发者', '租户开发者');
COMMIT;
-- ----------------------------
-- Table structure for `sys_dict`
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict`;
CREATE TABLE `sys_dict` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`value` varchar(100) NOT NULL COMMENT '数据值',
`label` varchar(100) NOT NULL COMMENT '标签名',
`type` varchar(100) NOT NULL COMMENT '类型',
`description` varchar(100) NOT NULL COMMENT '描述',
`sort` decimal(10,0) NOT NULL COMMENT '排序(升序)',
`parent_id` varchar(64) DEFAULT '0' COMMENT '父级编号',
`remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
`del_flag` char(1) NOT NULL DEFAULT '0' COMMENT '删除标记(0:正常;1:已删除)',
PRIMARY KEY (`id`),
KEY `sys_dict_value` (`value`),
KEY `sys_dict_label` (`label`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='字典表';
-- ----------------------------
-- Table structure for `tenant`
-- ----------------------------
DROP TABLE IF EXISTS `tenant`;
CREATE TABLE `tenant` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '租户ID',
`del_flag` char(1) NOT NULL COMMENT '删除标记(0:正常;1:已删除)',
`tenant_name` varchar(50) NOT NULL COMMENT '租户名称',
`industry` varchar(100) DEFAULT NULL COMMENT '所属行业',
`contact_people` varchar(100) DEFAULT NULL COMMENT '联系人',
`contact_mobile` varchar(100) DEFAULT NULL COMMENT '联系电话',
`description` varchar(200) DEFAULT NULL COMMENT '租户介绍',
`secret_name` varchar(100) NOT NULL COMMENT '租户秘钥name',
`secret_key` varchar(100) NOT NULL COMMENT '租户秘钥key',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `tenant_name` (`tenant_name`) USING BTREE,
UNIQUE KEY `secret_name` (`secret_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='租户表';
-- ----------------------------
-- Table structure for `trigger`
-- ----------------------------
DROP TABLE IF EXISTS `trigger`;
CREATE TABLE `trigger` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`product_id` bigint(20) NOT NULL COMMENT '产品ID',
`name` varchar(100) NOT NULL COMMENT '触发器名称',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `product_name` (`product_id`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='触发器';
-- ----------------------------
-- Table structure for `trigger_condition`
-- ----------------------------
DROP TABLE IF EXISTS `trigger_condition`;
CREATE TABLE `trigger_condition` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`trigger_id` bigint(20) NOT NULL COMMENT '触发器ID',
`left_operand` varchar(256) NOT NULL COMMENT '左操作数表达式,例如${data_point1}*2000',
`operator` tinyint(4) NOT NULL COMMENT '操作符(0:=,1:>,2:<,3:>=,4:<=,5:<>)',
`right_operand` varchar(256) NOT NULL COMMENT '右操作数表达式,例如${data_point3}+2000',
`connect_type` tinyint(4) DEFAULT '0' COMMENT '连接方式(0:与,1:或)',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `trigger_id` (`trigger_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='触发器触发条件';
-- ----------------------------
-- Table structure for `trigger_object`
-- ----------------------------
DROP TABLE IF EXISTS `trigger_object`;
CREATE TABLE `trigger_object` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`trigger_id` bigint(20) NOT NULL COMMENT '触发器ID',
`object_type` tinyint(4) DEFAULT '0' COMMENT '类型(0:设备,1:设备组)',
`object_id` bigint(20) NOT NULL COMMENT '设备ID或者设备组id,当类型是设备组,0代表所有设备',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `trigger_id` (`trigger_id`,`object_type`,`object_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='触发器作用对象';
-- ----------------------------
-- Table structure for `trigger_result`
-- ----------------------------
DROP TABLE IF EXISTS `trigger_result`;
CREATE TABLE `trigger_result` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`trigger_id` bigint(20) NOT NULL COMMENT '触发器ID',
`result_type` tinyint(4) DEFAULT '0' COMMENT '结果类型(0:邮件通知,1:url)',
`email` varchar(256) DEFAULT NULL COMMENT '邮箱地址',
`url` varchar(256) DEFAULT NULL COMMENT 'url地址',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `trigger_id` (`trigger_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='触发器触发结果';
-- ----------------------------
-- Table structure for `user`
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
`del_flag` char(1) NOT NULL COMMENT '删除标记(0:正常;1:已删除)',
`name` varchar(64) DEFAULT NULL COMMENT '用户名',
`email` varchar(128) NOT NULL COMMENT '邮箱',
`mobile` varchar(64) DEFAULT NULL COMMENT '手机',
`password` varchar(256) NOT NULL COMMENT '密码',
`status` char(1) NOT NULL COMMENT '用户状态(0:未激活;1:正常;2:冻结)',
`user_type` char(1) NOT NULL COMMENT '用户类型(0:系统管理用户;1:租户用户)',
`login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
`create_by` bigint(20) NOT NULL COMMENT '创建者',
`create_date` datetime NOT NULL COMMENT '创建时间',
`update_by` bigint(20) DEFAULT NULL COMMENT '更新者',
`update_date` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='用户表';
-- ----------------------------
-- Table structure for `user_system_role`
-- ----------------------------
DROP TABLE IF EXISTS `user_system_role`;
CREATE TABLE `user_system_role` (
`user_id` bigint(20) NOT NULL COMMENT '用户表ID',
`role_code` varchar(64) NOT NULL COMMENT '系统角色标识',
PRIMARY KEY (`user_id`,`role_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='系统管理员角色权限表';
-- ----------------------------
-- Table structure for `user_teant`
-- ----------------------------
DROP TABLE IF EXISTS `user_teant`;
CREATE TABLE `user_teant` (
`user_id` bigint(20) NOT NULL COMMENT '用户表ID',
`tenant_id` bigint(20) NOT NULL COMMENT '租户表ID',
PRIMARY KEY (`user_id`,`tenant_id`),
KEY `tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='用户租户表';
-- ----------------------------
-- Table structure for `user_tenant_role`
-- ----------------------------
DROP TABLE IF EXISTS `user_tenant_role`;
CREATE TABLE `user_tenant_role` (
`user_id` bigint(20) NOT NULL COMMENT '用户表ID',
`tenant_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '租户ID',
`role_code` varchar(64) NOT NULL COMMENT '角色标识',
PRIMARY KEY (`user_id`,`tenant_id`,`role_code`),
KEY `tenant_id` (`tenant_id`) USING BTREE,
KEY `user_tenant_id` (`user_id`,`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='用户在租户中角色权限表';
SET FOREIGN_KEY_CHECKS = 1;
|
select 'f?p=&APP_ID.:6:'||:app_session||':::6:P6_PRODUCT_ID,P6_BRANCH:'||p.product_id||',27:' link,
p.product_name||' [$'||p.list_price||']' product,
SUM(oi.quantity * oi.unit_price) sales,
decode(nvl(dbms_lob.getlength(p.product_image),0),0,null,
apex_util.get_blob_file_src('P6_PRODUCT_IMAGE',p.product_id)) product_image
from demo_order_items oi,
demo_product_info p
where oi.product_id = p.product_id
group by p.product_id, p.product_name, p.list_price,
decode(nvl(dbms_lob.getlength(p.product_image),0),0,null,
apex_util.get_blob_file_src('P6_PRODUCT_IMAGE',p.product_id))
order by 3 desc, 1
|
-- 2018-10-16T15:22:27.231
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Reference_ID=30, AD_Reference_Value_ID=540779,Updated=TO_TIMESTAMP('2018-10-16 15:22:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563263
;
-- 2018-10-16T15:23:12.970
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Reference_ID=30, AD_Reference_Value_ID=540779,Updated=TO_TIMESTAMP('2018-10-16 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563262
;
-- 2018-10-16T15:23:35.117
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Reference_ID=30, AD_Reference_Value_ID=540779,Updated=TO_TIMESTAMP('2018-10-16 15:23:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=563264
;
|
CREATE TABLE backup.ad_treebar_20200922 AS
SELECT *
FROM ad_treebar;
DROP TABLE IF EXISTS tmp_ad_treebar_duplicates;
CREATE TEMPORARY TABLE tmp_ad_treebar_duplicates AS
SELECT tb.ad_user_id,
tb.node_id,
count(1) AS count,
(SELECT z.ctid
FROM AD_TreeBar z
WHERE z.ad_user_id = tb.ad_user_id
AND z.node_id = tb.node_id
ORDER BY z.IsActive DESC, z.created, z.ctid
LIMIT 1
) AS first_ctid
FROM AD_TreeBar tb
WHERE TRUE
GROUP BY ad_user_id, node_id
HAVING count(1) > 1;
-- select * from tmp_ad_treebar_duplicates;
DELETE
FROM ad_treebar tb
WHERE exists(SELECT 1
FROM tmp_ad_treebar_duplicates d
WHERE d.ad_user_id = tb.ad_user_id
AND d.node_id = tb.node_id
AND tb.ctid != d.first_ctid)
;
|
-- MySQL dump 10.13 Distrib 5.6.24, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: estacionamento
-- ------------------------------------------------------
-- Server version 5.6.17
/*!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 `status`
--
DROP TABLE IF EXISTS `status`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`descricao` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `status`
--
LOCK TABLES `status` WRITE;
/*!40000 ALTER TABLE `status` DISABLE KEYS */;
INSERT INTO `status` VALUES (1,0),(2,1);
/*!40000 ALTER TABLE `status` 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 2016-06-02 9:57:58
|
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 30, 2020 at 09:38 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.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: `noc`
--
-- --------------------------------------------------------
--
-- Table structure for table `city`
--
CREATE TABLE `city` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`province_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `city`
--
INSERT INTO `city` (`id`, `name`, `province_id`) VALUES
(1, 'تهران', 1),
(2, 'کرج', 2),
(3, 'اصفهان', 3);
-- --------------------------------------------------------
--
-- Table structure for table `code_phone`
--
CREATE TABLE `code_phone` (
`id` int(11) NOT NULL,
`code` varchar(12) NOT NULL,
`province_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `code_phone`
--
INSERT INTO `code_phone` (`id`, `code`, `province_id`) VALUES
(1, '021', 1),
(2, '026', 2),
(3, '031', 3);
-- --------------------------------------------------------
--
-- Table structure for table `location`
--
CREATE TABLE `location` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`latitude` double NOT NULL,
`longitude` double NOT NULL,
`province_id` int(11) DEFAULT NULL,
`city_id` int(11) DEFAULT NULL,
`region_id` int(11) DEFAULT NULL,
`address` varchar(512) NOT NULL,
`type_location_id` int(11) DEFAULT NULL,
`created_by` int(11) DEFAULT NULL,
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `location`
--
INSERT INTO `location` (`id`, `name`, `latitude`, `longitude`, `province_id`, `city_id`, `region_id`, `address`, `type_location_id`, `created_by`, `created_at`, `updated_at`) VALUES
(1, 'پاپ سایت1', 38.8951, -78.1364, 1, 1, 2, 'فردوس غرب، خیابان پرواز،کوچه نهم، پلاک 52، واحد1', 1, 1, 1601420563, 1601448390),
(2, 'نقطه 2', 38.8951, -78.1364, 1, 1, 2, 'fff', 2, 1, 1601420606, 1601420606),
(4, 'پاپ سایت2', 45.8951, -77.0364, 3, 3, 4, 'میدان امام خمینی، نبش خیابان گلها، کوچه بنفشه، پلاک 5، واحد 10', 1, 1, 1601448275, 1601448275),
(5, 'پاپ سایت3', 38.8951, 80.0364, 2, 2, 5, 'بلوار ارم، خیابان شهرداری،خیایان 504،پلاک5، واحد10', 1, 1, 1601448561, 1601448561),
(6, 'پاپ سایت4', 45.8951, -78.1364, 3, 3, 3, 'خیابان اصلی، برج آتلانتیک', 1, 1, 1601448644, 1601448644),
(7, 'پاپ سایت5', 32.4951, -78.1364, 1, 1, 6, 'میدان صنعت، خیابان دوم', 1, 1, 1601448863, 1601448874),
(8, 'نقطه 1', 38.8951, -77.0364, 3, 3, 4, 'سی و سه پل، نبش خیابان پنجم،پلاک 70،واحد11', 2, 1, 1601448970, 1601448970),
(9, 'نقطه 3', 38.8951, -78.1364, 2, 2, 1, 'kkkk', 2, 1, 1601450450, 1601450450),
(10, 'نقطه 4', 45.8951, -78.1364, 3, 3, 4, 'تتتتتتتت', 2, 1, 1601450854, 1601450854),
(11, 'نقطه 5', 38.8951, -77.0364, 1, 1, 6, 'mmmmmm', 2, 1, 1601451070, 1601451070),
(12, 'نقطه 6', 32.4951, -77.0364, 1, 1, 7, 'vvvvvvvvvvvvvv', 2, 1, 1601451097, 1601451097),
(13, 'نقطه 7', 45.8951, -78.1364, 3, 3, 4, 'ccccccccccccccccccccccc', 2, 1, 1601451138, 1601451138);
-- --------------------------------------------------------
--
-- Table structure for table `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1601419225),
('m130524_201442_init', 1601419229),
('m190124_110200_add_verification_token_column_to_user_table', 1601419230),
('m200924_183720_create_type_service_table', 1601419231),
('m200924_184537_create_type_location_table', 1601419234),
('m200924_185518_create_province_table', 1601419235),
('m200924_185813_create_city_table', 1601419238),
('m200924_185935_create_region_table', 1601419242),
('m200927_171331_create_role_table', 1601419243),
('m200927_171720_create_user_role_table', 1601419254),
('m200928_060034_create_code_phone_table', 1601419256),
('m200928_152547_create_location_table', 1601419279),
('m200929_224010_create_service_table', 1601419296);
-- --------------------------------------------------------
--
-- Table structure for table `province`
--
CREATE TABLE `province` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `province`
--
INSERT INTO `province` (`id`, `name`) VALUES
(1, 'تهران'),
(2, 'البرز'),
(3, 'اصفهان');
-- --------------------------------------------------------
--
-- Table structure for table `region`
--
CREATE TABLE `region` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`city_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `region`
--
INSERT INTO `region` (`id`, `name`, `city_id`) VALUES
(1, 'گوهردشت', 2),
(2, 'فردوس', 1),
(3, 'احمدآباد', 3),
(4, 'زاینده رود', 3),
(5, 'مهرشهر', 2),
(6, 'شهرک غرب', 1),
(7, 'سعادت آیاد', 1);
-- --------------------------------------------------------
--
-- Table structure for table `role`
--
CREATE TABLE `role` (
`id` int(11) NOT NULL,
`name` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `role`
--
INSERT INTO `role` (`id`, `name`) VALUES
(1, 'administrator'),
(2, 'user');
-- --------------------------------------------------------
--
-- Table structure for table `service`
--
CREATE TABLE `service` (
`id` int(11) NOT NULL,
`code_phone_id` int(12) DEFAULT NULL,
`phone` varchar(11) NOT NULL,
`location_id` int(11) DEFAULT NULL,
`type_service_id` int(11) DEFAULT NULL,
`created_by` int(11) DEFAULT NULL,
`created_at` int(11) DEFAULT NULL,
`updated_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `service`
--
INSERT INTO `service` (`id`, `code_phone_id`, `phone`, `location_id`, `type_service_id`, `created_by`, `created_at`, `updated_at`) VALUES
(3, 1, '44905020', 2, 1, 1, 1601422893, 1601423052),
(4, 3, '12534892', 8, 1, 1, 1601449143, 1601449143),
(5, 2, '44905258', 1, 2, 1, 1601450759, 1601450759);
-- --------------------------------------------------------
--
-- Table structure for table `type_location`
--
CREATE TABLE `type_location` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`type_service_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `type_location`
--
INSERT INTO `type_location` (`id`, `name`, `type_service_id`) VALUES
(1, 'popsite', 2),
(2, 'point', 1);
-- --------------------------------------------------------
--
-- Table structure for table `type_service`
--
CREATE TABLE `type_service` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `type_service`
--
INSERT INTO `type_service` (`id`, `name`) VALUES
(1, 'adsl'),
(2, 'wireless');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` smallint(6) NOT NULL DEFAULT 10,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`verification_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `username`, `auth_key`, `password_hash`, `password_reset_token`, `email`, `status`, `created_at`, `updated_at`, `verification_token`) VALUES
(1, 'admin', 'SXjFSwKaPBv6xYc1vjkhubWUcLMYei83', '$2y$13$ffd3.De/DavvJZKRlosn2O2IxG6jCfCpAimaJyi.4MQThG04v6C6C', NULL, '[email protected]', 10, 1601419615, 1601419615, 'bXyjGtf1ZySyLW3CREXy6-LagV7Akgml_1601419615'),
(2, 'test', 'N0ugJLgqDHI_YKFw9eaHAFGivswJZH11', '$2y$13$b6lxlQTNc0nlg19SSa0soe2rhoaA7M7vLPcpkw3ynAKj684pxAiK6', NULL, '[email protected]', 10, 1601420901, 1601420901, '9FZiynTWpcqOAeFK3U3r0tZdLVgSlG1t_1601420901');
-- --------------------------------------------------------
--
-- Table structure for table `user_role`
--
CREATE TABLE `user_role` (
`id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`role_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `user_role`
--
INSERT INTO `user_role` (`id`, `user_id`, `role_id`) VALUES
(1, 1, 1),
(2, 2, 2);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `city`
--
ALTER TABLE `city`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-city-province_id` (`province_id`);
--
-- Indexes for table `code_phone`
--
ALTER TABLE `code_phone`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-code_phone-province_id` (`province_id`);
--
-- Indexes for table `location`
--
ALTER TABLE `location`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-location-province_id` (`province_id`),
ADD KEY `idx-location-city_id` (`city_id`),
ADD KEY `idx-location-region_id` (`region_id`),
ADD KEY `idx-location-type_location_id` (`type_location_id`),
ADD KEY `idx-location-created_by` (`created_by`);
--
-- Indexes for table `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- Indexes for table `province`
--
ALTER TABLE `province`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `region`
--
ALTER TABLE `region`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-region-city_id` (`city_id`);
--
-- Indexes for table `role`
--
ALTER TABLE `role`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `service`
--
ALTER TABLE `service`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-service-code_phone_id` (`code_phone_id`),
ADD KEY `idx-service-location_id` (`location_id`),
ADD KEY `idx-service-type_service_id` (`type_service_id`),
ADD KEY `idx-service-created_by` (`created_by`);
--
-- Indexes for table `type_location`
--
ALTER TABLE `type_location`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-type_location-type_service_id` (`type_service_id`);
--
-- Indexes for table `type_service`
--
ALTER TABLE `type_service`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`),
ADD UNIQUE KEY `email` (`email`),
ADD UNIQUE KEY `password_reset_token` (`password_reset_token`);
--
-- Indexes for table `user_role`
--
ALTER TABLE `user_role`
ADD PRIMARY KEY (`id`),
ADD KEY `idx-user_role-user_id` (`user_id`),
ADD KEY `idx-user_role-role_id` (`role_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `city`
--
ALTER TABLE `city`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `code_phone`
--
ALTER TABLE `code_phone`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `location`
--
ALTER TABLE `location`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `province`
--
ALTER TABLE `province`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `region`
--
ALTER TABLE `region`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `role`
--
ALTER TABLE `role`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `service`
--
ALTER TABLE `service`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `type_location`
--
ALTER TABLE `type_location`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `type_service`
--
ALTER TABLE `type_service`
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=3;
--
-- AUTO_INCREMENT for table `user_role`
--
ALTER TABLE `user_role`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `city`
--
ALTER TABLE `city`
ADD CONSTRAINT `fk-city-province_id` FOREIGN KEY (`province_id`) REFERENCES `province` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `code_phone`
--
ALTER TABLE `code_phone`
ADD CONSTRAINT `fk-code_phone-province_id` FOREIGN KEY (`province_id`) REFERENCES `province` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `location`
--
ALTER TABLE `location`
ADD CONSTRAINT `fk-location-city_id` FOREIGN KEY (`city_id`) REFERENCES `city` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-location-created_by` FOREIGN KEY (`created_by`) REFERENCES `user` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-location-province_id` FOREIGN KEY (`province_id`) REFERENCES `province` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-location-region_id` FOREIGN KEY (`region_id`) REFERENCES `region` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-location-type_location_id` FOREIGN KEY (`type_location_id`) REFERENCES `type_location` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `region`
--
ALTER TABLE `region`
ADD CONSTRAINT `fk-region-city_id` FOREIGN KEY (`city_id`) REFERENCES `city` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `service`
--
ALTER TABLE `service`
ADD CONSTRAINT `fk-service-code_phone_id` FOREIGN KEY (`code_phone_id`) REFERENCES `code_phone` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-service-created_by` FOREIGN KEY (`created_by`) REFERENCES `user` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-service-location_id` FOREIGN KEY (`location_id`) REFERENCES `location` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-service-type_service_id` FOREIGN KEY (`type_service_id`) REFERENCES `type_service` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `type_location`
--
ALTER TABLE `type_location`
ADD CONSTRAINT `fk-type_location-type_service_id` FOREIGN KEY (`type_service_id`) REFERENCES `type_service` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `user_role`
--
ALTER TABLE `user_role`
ADD CONSTRAINT `fk-user_role-role_id` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `fk-user_role-user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- -----------------------------------------------------
-- Schema futureniner
-- -----------------------------------------------------
DROP Database if exists futureniner;
CREATE DATABASE futureniner;
Use futureniner;
-- -----------------------------------------------------
CREATE TABLE users (
UserID int(11) NOT NULL AUTO_INCREMENT,
Username varchar(50) NOT NULL,
Password varchar(20) NOT NULL,
PhoneNumber varchar(20) DEFAULT NULL,
Email varchar(50) NOT NULL,
Gender char(1) NOT NULL,
fName varchar(20) NOT NULL,
lName varchar(20) NOT NULL,
mName varchar(20) DEFAULT NULL,
DOB date NOT NULL,
AddressLine1 varchar(20) NOT NULL,
AddressLine2 varchar(20) DEFAULT NULL,
City varchar(10) NOT NULL,
State varchar(10) NOT NULL,
ZIP int(5) NOT NULL,
Country varchar(20) NOT NULL,
PRIMARY KEY (UserID),
UNIQUE KEY Username (Username)
);
-- -----------------------------------------------------
CREATE TABLE department (
DeptID char(5) NOT NULL,
DeptHead char(50) DEFAULT NULL,
DeptName char(50) DEFAULT NULL,
Contact varchar(20) DEFAULT NULL,
PRIMARY KEY (DeptID)
);
-- -----------------------------------------------------
CREATE TABLE companies (
CompID char(5) NOT NULL DEFAULT '',
CompanyName char(50) DEFAULT NULL,
PRIMARY KEY (CompID)
);
-- -----------------------------------------------------
CREATE TABLE scholarship (
ScholarshipID char(5) NOT NULL,
ScholarshipDesc varchar(40) DEFAULT NULL,
Amount float(7,2) DEFAULT NULL,
Semester_Year varchar(20) DEFAULT NULL,
Description varchar(200) DEFAULT NULL,
PRIMARY KEY (ScholarshipID)
);
-- -----------------------------------------------------
CREATE TABLE student (
SID int(11) NOT NULL AUTO_INCREMENT,
UserID int(11) NOT NULL,
PRIMARY KEY (SID),
KEY student_ibfk_1 (UserID),
CONSTRAINT student_ibfk_1 FOREIGN KEY (UserID) REFERENCES users (UserID) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE recruiter (
RecID int(11) NOT NULL AUTO_INCREMENT,
UserID int(11) NOT NULL,
PRIMARY KEY (RecID),
KEY recruiter_ibfk_1 (UserID),
CONSTRAINT recruiter_ibfk_1 FOREIGN KEY (UserID) REFERENCES users (UserID) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE program (
ProgID char(5) NOT NULL,
DeptID char(5) DEFAULT NULL,
ProgName varchar(45) DEFAULT NULL,
Amount_Instate float(7,2) DEFAULT NULL,
Amount_Outstate float(7,2) DEFAULT NULL,
CreditHours int(11) DEFAULT NULL,
Description varchar(600) DEFAULT NULL,
PRIMARY KEY (ProgID),
KEY DeptID (DeptID),
CONSTRAINT program_ibfk_1 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
);
-- -----------------------------------------------------
CREATE TABLE schoolevents (
EventID char(5) NOT NULL,
DeptID char(5) DEFAULT NULL,
EventDesc varchar(30) DEFAULT NULL,
EventDATE date DEFAULT NULL,
PRIMARY KEY (EventID),
KEY DeptID (DeptID),
CONSTRAINT schoolevents_ibfk_1 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
) ;
-- -----------------------------------------------------
CREATE TABLE courses (
CourseID char(5) NOT NULL,
DeptID char(5) DEFAULT NULL,
COURSE_TITLE varchar(50) DEFAULT NULL,
CREDIT_HOURS int(11) DEFAULT NULL,
DESCRIPTION varchar(100) DEFAULT NULL,
PRIMARY KEY (CourseID),
KEY DeptID (DeptID),
CONSTRAINT courses_ibfk_1 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
);
-- -----------------------------------------------------
CREATE TABLE professor (
ProfID char(5) NOT NULL,
DeptID char(5) NOT NULL,
fName varchar(50) DEFAULT NULL,
mName varchar(50) DEFAULT NULL,
lName varchar(50) DEFAULT NULL,
Email varchar(50) DEFAULT NULL,
Address varchar(50) DEFAULT NULL,
Description varchar(200) DEFAULT NULL,
PRIMARY KEY (ProfID),
KEY DeptID (DeptID),
CONSTRAINT professor_ibfk_1 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
);
-- -----------------------------------------------------
CREATE TABLE facilities (
LabID char(5) NOT NULL,
DeptID char(5) DEFAULT NULL,
LabName varchar(50) DEFAULT NULL,
Location varchar(20) DEFAULT NULL,
PRIMARY KEY (LabID),
KEY DeptID (DeptID),
CONSTRAINT facilities_ibfk_1 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
) ;
-- -----------------------------------------------------
CREATE TABLE deptrecruitscompanies (
CompID char(5) NOT NULL,
DeptID char(5) NOT NULL,
NoOfStudentsRec int(11) NOT NULL,
RecruitedYear int(11) NOT NULL,
PRIMARY KEY (CompID,DeptID,RecruitedYear),
KEY DeptID (DeptID),
CONSTRAINT deptrecruitscompanies_ibfk_1 FOREIGN KEY (CompID) REFERENCES companies (CompID),
CONSTRAINT deptrecruitscompanies_ibfk_2 FOREIGN KEY (DeptID) REFERENCES department (DeptID)
);
-- -----------------------------------------------------
CREATE TABLE application (
ApplicationId int(11) NOT NULL AUTO_INCREMENT,
ApplicationDATE date NOT NULL,
Status enum('Not Submitted','Submitted','Admitted','Rejected') DEFAULT 'Not Submitted',
HighSchoolGPA float(3,2) DEFAULT NULL,
SATScore int(11) DEFAULT NULL,
UndergradGPA float(3,2) NOT NULL,
GREscore smallint(3) NOT NULL,
GREverbalScore smallint(3) NOT NULL,
GREquantitativeScore smallint(3) NOT NULL,
GREanalyticalWritingScore float(2,1) NOT NULL,
TOEFLscore smallint(3) NOT NULL,
TOEFLreading tinyint(2) NOT NULL,
TOEFLlistening tinyint(2) NOT NULL,
TOEFLspeaking tinyint(2) NOT NULL,
TOEFLwriting tinyint(2) NOT NULL,
IELTSscore float(2,1) DEFAULT NULL,
RecID int(11) DEFAULT NULL,
PRIMARY KEY (ApplicationId),
KEY RecID (RecID),
CONSTRAINT application_ibfk_1 FOREIGN KEY (RecID) REFERENCES recruiter (RecID)
);
-- -----------------------------------------------------
CREATE TABLE recommendations (
ApplicationID int(11) NOT NULL DEFAULT '0',
fName varchar(20) DEFAULT NULL,
lName varchar(20) DEFAULT NULL,
AddressLine1 varchar(45) DEFAULT NULL,
AddressLine2 varchar(45) DEFAULT NULL,
City varchar(20) DEFAULT NULL,
State varchar(30) DEFAULT NULL,
Country varchar(20) DEFAULT NULL,
Email varchar(45) DEFAULT NULL,
recommendation_id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (recommendation_id,ApplicationID),
KEY recommendations_ibfk_1 (ApplicationID),
CONSTRAINT recommendations_ibfk_1 FOREIGN KEY (ApplicationID) REFERENCES application (ApplicationId) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE workexperience (
ApplicationID int(11) NOT NULL,
CompanyName varchar(45) DEFAULT NULL,
Location varchar(45) DEFAULT NULL,
StartDATE date DEFAULT NULL,
EndDATE date DEFAULT NULL,
workexperienceid int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (workexperienceid,ApplicationID),
KEY workexperience_ibfk_1 (ApplicationID),
CONSTRAINT workexperience_ibfk_1 FOREIGN KEY (ApplicationID) REFERENCES application (ApplicationId) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE offers_eligible (
ProgID char(5) NOT NULL,
ScholarshipID char(5) NOT NULL,
PRIMARY KEY (ProgID,ScholarshipID),
KEY ScholarshipID (ScholarshipID),
CONSTRAINT offers_eligible_ibfk_1 FOREIGN KEY (ProgID) REFERENCES program (ProgID),
CONSTRAINT offers_eligible_ibfk_2 FOREIGN KEY (ScholarshipID) REFERENCES scholarship (ScholarshipID)
);
-- --------------------------------------
CREATE TABLE research (
ResearchID char(5) NOT NULL,
ProfID char(5) DEFAULT NULL,
Specialization varchar(100) NOT NULL,
Field varchar(100) NOT NULL,
Duration int(11) DEFAULT NULL,
PRIMARY KEY (ResearchID),
KEY ProfID (ProfID),
CONSTRAINT research_ibfk_1 FOREIGN KEY (ProfID) REFERENCES professor (ProfID) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE offersassistantship (
AsstID char(5) NOT NULL,
ProfID char(5) NOT NULL,
Asstship_Name varchar(100) NOT NULL,
Asstship_Type varchar(100) DEFAULT NULL,
Duration int(11) DEFAULT NULL,
PRIMARY KEY (AsstID,ProfID),
KEY ProfID (ProfID),
CONSTRAINT offersassistantship_ibfk_1 FOREIGN KEY (ProfID) REFERENCES professor (ProfID) ON DELETE CASCADE ON UPDATE CASCADE
);
-- -----------------------------------------------------
CREATE TABLE applies (
ProgID char(5) NOT NULL,
ApplicationID int(11) NOT NULL,
SID int(11) NOT NULL,
LastUpDATEd date DEFAULT NULL,
PRIMARY KEY (ApplicationID),
KEY applies_ibfk_2_idx (ProgID),
KEY applies_ibfk_3 (SID),
CONSTRAINT applies_ibfk_1 FOREIGN KEY (ApplicationID) REFERENCES application (ApplicationId) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT applies_ibfk_2 FOREIGN KEY (ProgID) REFERENCES program (ProgID) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT applies_ibfk_3 FOREIGN KEY (SID) REFERENCES student (SID) ON DELETE NO ACTION ON UPDATE NO ACTION
);
-- ------------------------------------------------------------------
INSERT INTO Users()
values
(1, 'AllanAlda', 'abcd', '111-111-1111', '[email protected]', 'M', 'Allen', 'Alda', 'A', '1990/1/1', '1 Alda Lane', '', 'Allan', 'NC', 28262,'USA'),
(2, 'Barbara', 'efgh', '222-222-2222', '[email protected]', 'F', 'Barbara', 'Bean', 'B', '1990/2/2', '2 Bean Blvd', 'Apt B', 'Babs', 'NC', 28262,'USA'),
(3, 'CarlCapp', 'jklm', '333-333-3333', '[email protected]', 'M', 'Carl', 'Capp', '', '1990/3/3', '3 Capp Ct.', '', 'Capp', 'ON',28262, 'Canada'),
(4, 'DarleneDavis', 'nopq', '444-444-4444', '[email protected]', 'F', 'Darlene', 'Davis', 'D', '1990/4/4', '4 Davis Dr.', 'Apt D', 'Darla', 'NY',28262, 'USA'),
(5, 'EddyEdgar', 'rstu', '555-555-5555', 'Eddy.Edgar.EEE.com', 'M', 'Eddy', 'Edgar', 'E', '1991/5/5', '5 Eddy Rd.', '', 'Edgar', '', 28262, 'France'),
(6, 'FranFrankel', 'vwxy', '666-666-6666', 'Fran.Frankel.fff.com', 'F', 'Fran', 'Frankel', 'Fay', '1991/6/6', '6 Frankel Fort', '', 'Fran', 'NC', 28262,'USA'),
(7, 'sam', 'sam', '777-777-7777', '[email protected]', 'M', 'Sam', 'Peter', 'K', '1991/09/25', '7 Gee Road', '', 'George', '', 28262, 'USA'),
(8, 'HannahHark', 'defg', '888-888-8888', 'Hannah.Hark.hhh.com', 'F', 'Hannah', 'Hark', '', '1992/8/8', '8 Harkonnen Rd.', '', 'Hardy', 'NC', 28262,'USA'),
(9, 'IanIota', 'hijk', '999-999-9999', 'Ian.Iota.iii.com', 'M', 'Ian', 'Iota', 'I', '1992/9/9', '9 Iona Isle', 'Apt I', 'Iota', '', 28262, 'China'),
(10, 'JeanneJones', 'hijk', '100-100-1000', 'Jasper.Jones.jjj.com', 'F', 'Jeanne', 'Jones', '', '1993/10/1', '10 Jones Drive', '', 'Jaspar', '', 28262,'South Africa'),
(11, 'KevinKarp', 'lmno', '101-101-1001', '[email protected]', 'M', 'Kevin', 'Karp', '', '1985/1/1', '11 Kevin Ct', 'Apt K', 'Karp', 'NC', 28262,'USA'),
(12, 'LilaLing', 'pqrs', '202-202-2002', '[email protected]', 'F', 'Lila', 'Ling', 'L', '1986/1/1', '12 Ling Lane', '', 'Lipp', 'SC', 28262,'USA'),
(13, 'MikeMyers', 'tuvw', '303-303-3003', '[email protected]', 'M', 'Mike', 'Myers', '', '1987/1/1', '13 Mike Rd.', 'Apt. M','Marsh', 'NC',28262, 'USA'),
(14, 'NancyNee', 'xyza', '404-404-4004', '[email protected]', 'F', 'Nancy', 'Nee', '', '1988/1/1', '14 Nee Dr.', '', 'Narp', 'NC', 28262,'USA'),
(15, 'OlsonOrk', 'bcde', '505-505-5005', '[email protected]', 'M', 'Olson', 'Ork', '', '1989/1/1', '15 Ork Ln', '', 'Orkland', 'NC',28262, 'USA'),
(16, 'PatPark', 'fghi', '606-606-6006', '[email protected]', 'F', 'Pat', 'Park', 'P', '1989/2/2', '16 Park Place', '', 'Parkland', 'NC', 28262,'USA'),
(17, 'QuentinQuay', 'jklm', '707-707-7007', '[email protected]', 'M', 'Quentin', 'Quay', 'Q', '1990/3/3', '17 Quay Quay', '', 'Queenland', 'NC',28262, 'USA'),
(18, 'RobinRay', 'nopq', '808-808-8008', '[email protected]', 'F', 'Robin', 'Ray', '', '1990/4/4', '18 Ray Road', '', 'Robinland', 'NC', 28262,'USA'),
(19, 'ThomasTutt', 'rstu', '909-909-9009', '[email protected]', 'M', 'Thomas', 'Tutt', '', '1985/5/5', '19 Tutt Way', '', 'Tomville', 'NC', 28262,'USA'),
(20, 'UlrikaUrbin', 'vwxy', '110-110-1010', '[email protected]', 'F', 'Ulrika', 'Urbin', '', '1986/6/6', '20 Universe Way', 'Box U', 'Uton', 'NC',28262, 'USA');
INSERT INTO Department()
values
('1', 'Tom Riddle', 'Electrical Engineering', '[email protected]'),
('2', 'Albus Dumbeldore', 'Computer Science Engineering', '[email protected]'),
('3', 'Sirius Black', 'Information Technology', '[email protected]'),
('4', 'Aurther Weasley', 'Mechanical Engineering', '[email protected]'),
('5', 'Remus Lupin', 'Art', '[email protected]'),
('6', 'Rubius Hagrid', 'Humanities', '[email protected]'),
('7', 'Luna Lovegood', 'Law', '[email protected]'),
('8', 'Nevile Longbottom', 'Bio-Technology', '[email protected]'),
('9', 'Hermoine Granger', 'Electronics and communication Engineering', '[email protected]'),
('10', 'Severus Snape', 'Civil Engineering', '[email protected]');
INSERT INTO Companies ()
values
(1, 'Alpha, Inc.'),
(2, 'Beta Corp.'),
(3, 'Gamma Co.'),
(4, 'Delta Inc.'),
(5, 'Epsilon'),
(6, 'Zeta Comp.'),
(7, 'Eta Industr'),
(8, 'Iota Inc.'),
(9, 'Kappa Co.'),
(10,'Lambda Inc.');
INSERT INTO Scholarship(ScholarshipID, ScholarshipDesc, Amount, Semester_Year,Description)
values
(1, 'A. K. Sutton Scholarship',10000, 'Spring 2015',''),
(2, 'Abigail Elizabeth Gudeman Scholarship', 5000, 'Fall 2015',''),
(3, 'Brycie Baber Scholarship', 2500, 'Fall 2015',''),
(4, 'Carl J. McEwen Scholarship', 1000, 'Fall 2015',''),
(5, 'Danielson Scholarship for Merit', 25000, 'Fall 2015',''),
(6, 'Fiechtner Scholarship', 1000, 'Spring 2016',''),
(7, 'Henry Forrest Scholarship', 5000, 'Spring 2016',''),
(8, 'J. Murrey Atkins Scholarship for Merit', 7500, 'Spring 2016',''),
(9, 'North Carolina Ports Scholarship',10000, 'Spring 2016',''),
(10,'Robert K. Hall Scholarship', 5000, 'Spring 2016','');
Insert INTo Program()
values
('1', '1', 'UnderGraduation', 440.25,2086.75,72,'The Electrical Engineering Department offers programs leading to bachelors, masters and Ph.D. degrees. Our students acquire a breadth of knowledge in the field of electrical engineering, and a depth of knowledge in a chosen research specialty.'),
('2', '1', 'Masters', 501.00,2037.00,30,'The Electrical Engineering Department offers programs leading to bachelors, masters and Ph.D. degrees. Our students acquire a breadth of knowledge in the field of electrical engineering, and a depth of knowledge in a chosen research specialty.'),
('3', '1', 'Doctorate', 1001.50,4038.7,12,'The Electrical Engineering Department offers programs leading to bachelors, masters and Ph.D. degrees. Our students acquire a breadth of knowledge in the field of electrical engineering, and a depth of knowledge in a chosen research specialty.'),
('4', '2', 'UnderGraduation', 440.25,2086.75,72,'Computer Science is the cornerstone of modern information technology. It has revolutionized how we learn, communicate, entertain, conduct business, perform research, and practice medicine. This information revolution is just beginning and is providing computer scientists with nearly limitless opportunities to make satisfying and enriching contributions to society.'),
('5', '2', 'Masters', 501.00,2037.00,30,'Computer Science is the cornerstone of modern information technology. It has revolutionized how we learn, communicate, entertain, conduct business, perform research, and practice medicine. This information revolution is just beginning and is providing computer scientists with nearly limitless opportunities to make satisfying and enriching contributions to society.'),
('6', '2', 'Doctorate', 1001.50,4038.7,12,'Computer Science is the cornerstone of modern information technology. It has revolutionized how we learn, communicate, entertain, conduct business, perform research, and practice medicine. This information revolution is just beginning and is providing computer scientists with nearly limitless opportunities to make satisfying and enriching contributions to society.'),
('7', '3', 'UnderGraduation', 440.25,2086.75,72,'The Department of Information Technology is primarily focused on (a) the study of technologies and methodologies for information system architecture, design, implementation, integration, and management with particular emphasis on system security and (b) the modeling and analysis of natural and human-generated systems such as weather, biological systems, markets, and supply chain.'),
('8', '3', 'Masters', 501.00,2037.00,30,'The Department of Information Technology is primarily focused on (a) the study of technologies and methodologies for information system architecture, design, implementation, integration, and management with particular emphasis on system security and (b) the modeling and analysis of natural and human-generated systems such as weather, biological systems, markets, and supply chain.'),
('9', '3', 'Doctorate', 1001.50,4038.7,12,'The Department of Information Technology is primarily focused on (a) the study of technologies and methodologies for information system architecture, design, implementation, integration, and management with particular emphasis on system security and (b) the modeling and analysis of natural and human-generated systems such as weather, biological systems, markets, and supply chain.'),
('10', '4', 'UnderGraduation', 440.25,2086.75,72,'Department of Mechanical engineering is the discipline that applies the principles of engineering, physics, and materials science for the design, analysis, manufacturing, and maintenance of mechanical systems. It is the branch of engineering that involves the design, production, and operation of machinery.It is one of the oldest and broadest of the engineering disciplines.'),
('11', '4', 'Masters', 501.00,2037.00,30,'Department of Mechanical engineering is the discipline that applies the principles of engineering, physics, and materials science for the design, analysis, manufacturing, and maintenance of mechanical systems. It is the branch of engineering that involves the design, production, and operation of machinery.It is one of the oldest and broadest of the engineering disciplines.'),
('12', '4', 'Doctorate', 1001.50,4038.7,12,'Department of Mechanical engineering is the discipline that applies the principles of engineering, physics, and materials science for the design, analysis, manufacturing, and maintenance of mechanical systems. It is the branch of engineering that involves the design, production, and operation of machinery.It is one of the oldest and broadest of the engineering disciplines.'),
('13', '5', 'UnderGraduation', 440.25,2086.75,72,'The Department of Art aims to foster innovative and thoughtful artistic practice, scholarship, and education.'),
('14', '5', 'Masters', 501.00,2037.00,30,'The Department of Art aims to foster innovative and thoughtful artistic practice, scholarship, and education.'),
('15', '5', 'Doctorate', 1001.50,4038.7,12,'The Department of Art aims to foster innovative and thoughtful artistic practice, scholarship, and education.'),
('16', '6', 'UnderGraduation', 440.25,2086.75,72,'The humanities are academic disciplines that study human culture. The humanities use methods that are primarily critical, or speculative, and have a significant historical element as distinguished from the mainly empirical approaches of the natural sciences.'),
('17', '6', 'Masters', 501.00,2037.00,30,'The humanities are academic disciplines that study human culture. The humanities use methods that are primarily critical, or speculative, and have a significant historical element as distinguished from the mainly empirical approaches of the natural sciences.'),
('18', '6', 'Doctorate', 1001.50,4038.7,12,'The humanities are academic disciplines that study human culture. The humanities use methods that are primarily critical, or speculative, and have a significant historical element as distinguished from the mainly empirical approaches of the natural sciences.'),
('19', '7', 'UnderGraduation', 440.25,2086.75,72,'The practice of law has become more entwined with the business world, and tomorrow’s leaders will require a deep understanding of both environments. This program provides an opportunity for our students to broaden their perspectives through access to one of the leading programs in the country.'),
('20', '7', 'Masters', 501.00,2037.00,30,'The practice of law has become more entwined with the business world, and tomorrow’s leaders will require a deep understanding of both environments. This program provides an opportunity for our students to broaden their perspectives through access to one of the leading programs in the country.'),
('21', '7', 'Doctorate', 1001.50,4038.7,12,'The practice of law has become more entwined with the business world, and tomorrow’s leaders will require a deep understanding of both environments. This program provides an opportunity for our students to broaden their perspectives through access to one of the leading programs in the country.'),
('22', '8', 'UnderGraduation', 440.25,2086.75,72,'Biotechnology is the application of scientific and engineering principles to the processing of materials by biological agents to provide goods and services. From its inception, biotechnology has maintained a close relationship with society.'),
('23', '8', 'Masters', 501.00,2037.00,30,'Biotechnology is the application of scientific and engineering principles to the processing of materials by biological agents to provide goods and services. From its inception, biotechnology has maintained a close relationship with society.'),
('24', '8', 'Doctorate', 1001.50,4038.7,12,'Biotechnology is the application of scientific and engineering principles to the processing of materials by biological agents to provide goods and services. From its inception, biotechnology has maintained a close relationship with society.'),
('25', '9', 'UnderGraduation', 440.25,2086.75,72,'Electronics and Communications Engineering, is an engineering discipline which utilizes non-linear and active electrical components to design electronic circuits, devices and systems. The discipline typically also designs passive electrical components, usually based on printed circuit boards.'),
('26', '9', 'Masters', 501.00,2037.00,30,'Electronics and Communications Engineering, is an engineering discipline which utilizes non-linear and active electrical components to design electronic circuits, devices and systems. The discipline typically also designs passive electrical components, usually based on printed circuit boards.'),
('27', '9', 'Doctorate', 1001.50,4038.7,12,'Electronics and Communications Engineering, is an engineering discipline which utilizes non-linear and active electrical components to design electronic circuits, devices and systems. The discipline typically also designs passive electrical components, usually based on printed circuit boards.'),
('28', '10', 'UnderGraduation', 440.25,2086.75,72,'Our mission is to deliver bachelors, masters, and doctoral programs in a research intensive environment
that provides students with the opportunity to develop state-of-the-art technical skills, a practice-ready
orientation, and extraordinary character.'),
('29', '10', 'Masters', 501.00,2037.00,30,'Our mission is to deliver bachelors, masters, and doctoral programs in a research intensive environment
that provides students with the opportunity to develop state-of-the-art technical skills, a practice-ready
orientation, and extraordinary character.'),
('30', '10', 'Doctorate', 1001.50,4038.7,12,'Our mission is to deliver bachelors, masters, and doctoral programs in a research intensive environment
that provides students with the opportunity to develop state-of-the-art technical skills, a practice-ready
orientation, and extraordinary character.');
INSERT INTO Recruiter ()
values
(1, 11),
(2, 12),
(3, 13),
(4, 14),
(5, 15),
(6, 16),
(7, 17),
(8, 18),
(9, 19),
(10, 20);
INSERT INTO Student()
values
(1, 1),
(2, 2),
(3, 3),
(4, 4),
(5, 5),
(6, 6),
(7, 7),
(8, 8),
(9, 9),
(10, 10);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('1','2',10,2010);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('10','2',19,2001);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('2','2',34,2012);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('3','3',1,2014);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('4','2',123,2013);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('5','3',23,2012);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('6','3',54,2013);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('7','4',65,2011);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('8','3',76,2010);
INSERT INTO deptrecruitscompanies (CompID,DeptID,NoOfStudentsRec,RecruitedYear) VALUES ('9','5',23,2009);
INSERT INTO SchoolEvents ()
values
(1, 2, 'Meet our Professor', '2015/1/1'),
(2, 2, 'Panel Discussion', '2015/2/2'),
(3, 3, 'Department Orientation', '2015/3/3'),
(4, 3, 'Advising Sessions', '2015/4/4'),
(5, 1, 'Open House - May 2015', '2015/5/5'),
(6, 1, 'Open House - June 2015', '2015/6/6'),
(7, 1, 'Open House - July 2015', '2015/7/7'),
(8, 1, 'Open House - Aug 2015', '2015/8/8'),
(9, 1, 'Open House - Sept 2015', '2015/9/9'),
(10,1, 'Open House - Oct 2015', '2015/10/10');
INSERT INTO Professor(ProfID, DeptID, fName, mName, lName, Email,Address,Description)
values
(1, 1, 'Ann', 'Alice', 'Arbor', '[email protected]', 'Charlotte, NC - 28262','M.S., PHD'),
(2, 2, 'Bob', '', 'Barker', '[email protected]','Charlotte, NC - 28245','M.S., PHD'),
(3, 3, 'Carla', '', 'Carlson', '[email protected]','Charlotte, NC - 34262','M.S., PHD'),
(4, 5, 'Dave', 'Derrick', 'Davis', '[email protected]','Charlotte, NC - 28245','M.S., PHD'),
(5, 4, 'Ella', 'Edna', 'Earwig', '[email protected]','Charlotte, NC - 28352','M.S., PHD'),
(6, 6, 'Frank', 'F.', 'Ford', '[email protected]','Charlotte, NC - 28265','M.S., PHD'),
(7, 7, 'Gina', '', 'Gaga', '[email protected]','Charlotte, NC - 28765','PHD'),
(8, 8, 'Henry', 'Harris', 'Hope', '[email protected]','Charlotte, NC - 23452','M.S.'),
(9, 9, 'Jen', 'June', 'Jones', '[email protected]','Charlotte, NC - 23453','M.S., PHD'),
(10,10, 'Karl', 'K', 'Jones', '[email protected]','Charlotte, NC - 28262','M.S., PHD'),
(11,1, 'Jones', 'K', 'Karp', '[email protected]','Charlotte, NC - 28262','M.S., PHD'),
(12,2, 'Karl', 'K', 'Jones', '[email protected]','Charlotte, NC - 28262','M.S., PHD'),
(13,2, 'Earwig', 'K', 'Karp', '[email protected]','Charlotte, NC - 28262','M.S., PHD'),
(14,1, 'Karl', 'K', 'Earwig', '[email protected]','Charlotte, NC - 28262','M.S.');
INSERT INTO OffersAssistantship()
values
(1,2, 'Lab Rat Summer 2015', 'Lab Assistant', 3),
(1,3, 'Lab Rat Fall 2015', 'Lab Assistant', 4),
(1,1, 'Teaching Assistant 6166', 'Teaching Asst', 4),
(1,5, 'Teaching Assistant 9999', 'Teaching Asst', 4),
(2, 6,'LA - Fall classes', 'Lab Assistant', 4),
(2,7, 'Head LA', 'Lab Assistant', 12),
(2,8, 'LA - Spring classes', 'Lab Assistant', 4),
(3, 10,'Teaching Asst 6001', 'Teaching Asst', 4),
(3, 3,'Teaching Asst 6002', 'Teaching Asst', 4),
(3, 7,'Teaching Asst 6003', 'Teaching Asst', 4);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('1','8','Evaluating blood testing techniques','Bioanalysis',12);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('10','10','Sinkholes in construction material','Construction Engineering',9);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('2','13','Data Mining','Database Technology',12);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('3','12','XML Applications','Database Technology',18);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('4','9','Thermo-acoustics','Acoustics',6);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('5','2','Real Time Simulation','Computer Engineering',3);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('6','3','How to hack any system','Network Security',12);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('7','8','Effect of fat content on quality of ice cream','Health',36);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('8','1','The effects of changing daylight on object','Art Science',3);
INSERT INTO research (ResearchID,ProfID,Specialization,Field,Duration) VALUES ('9','1','How to stop spam mail','Computer Science',12);
INSERT INTO Facilities()
values
(1, 2, 'Computer Lab 1', 'Andrews Hall'),
(2, 2, 'Computer Lab 2', 'Buffin Hall'),
(3, 2, 'Computer Lab 3', 'Cathode Hall'),
(4, 3, 'Engineer Lab 1', 'Davis Hall'),
(5, 3, 'Engineer Lab 2', 'Evans Hall'),
(6, 4, 'Math Lab 1', 'Fall Hall'),
(7, 4, 'Math Lab 2', 'Gangis Hall'),
(8, 4, 'Math Lab 3', 'Hall Hall'),
(9, 5, 'Art Studio 1', 'Ingles Hall'),
(10,5, 'Art Studio 2', 'Justice Hall');
INSERT INTO Offers_Eligible ()
values
(1, 1),
(1, 2),
(4, 2),
(4, 1),
(4, 7),
(5, 6),
(6, 7),
(8, 8),
(9, 1),
(9, 2);
Insert INTo Application()
values
(1, '2015-01-01', 'Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 1),
(2, '2015-01-01', 'Not Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 2),
(3, '2015-01-01', 'Not Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 3),
(4, '2015-01-01', 'Not Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 4),
(5, '2015-01-01', 'Not Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 1),
(6, '2015-01-01', 'Admitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 2),
(7, '2015-01-01', 'Rejected', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 3),
(8, '2015-01-01', 'Not Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 2),
(9, '2015-01-01', 'Submitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 2),
(10, '2015-01-01', 'Admitted', 3.5, 1250, 3.75, 300, 150, 150, 4.5, 80, 20, 20, 20, 20, 6, 4);
Insert INTo WorkExperience()
values
(1, 'Alpha Company', 'CHARlotte, NC', '2010-01-01', '2010-06-30',1),
(1, 'Beta, Inc.', 'Monroe, NC', '2010-07-01', '2010-12-31',2),
(4, 'GammaRay', 'CHARlotte, NC', '2011-02-01', '2011-08-31',3),
(5, 'Delta Dynamics', 'New York, NY', '2011-09-01', '2013-12-31',4),
(6, 'Epsilon Industries', 'Waxhaw, NC', '2009-03-15', '2014-10-24',5),
(8, 'Zeta Warehousing', 'Gastonia, NC', '2010-01-01', '2012-01-01',6),
(8, 'Eta Enterprises', 'Indianapolis, IA','2012-03-04','2014-04-05',7),
(8, 'Theta Lines', 'Denver, NC', '2014-05-01', '2014-06-01',8),
(9, 'Iota Industries', 'Blacksburg, VA', '2010-01-01', '2015-01-01',9),
(10,'Kappa Corp.', 'CHARlotte, NC', '2011-02-23', '2012-08-15',10);
INSERT INTO Recommendations (ApplicationID,fName,lName,AddressLine1,AddressLine2,City,State,Country,Email,
recommendation_id)
values
(1, 'Mary', 'Michaels', '1 Madison Ave', 'Apt 1', 'Madison', 'WI', 'USA', '[email protected]',1),
(2, 'Nick', 'Nolte', '2 Nobb Hill', '', 'New York', 'NY', 'USA', '[email protected]',2),
(3, 'Oprah', 'Winfree', '3 Osprey Road', '', 'Oakridge', 'OR', 'USA', '[email protected]',3),
(4, 'Parth', 'Patel', '4 Punjab Road', 'Apt P', 'Punjab', '', 'INDIA', '[email protected]',4),
(5, 'Queenie', 'Quartz', '5 Quarrel Way', '', 'Quebec', 'QC', 'CANADA', '[email protected]',5),
(6, 'Rakeesh', 'Rao', '6 Rajkot Road', '', 'Rajkot', '', 'INDIA', '[email protected]',6),
(7, 'Susan', 'Syun', '7 Shantou St.', 'Apt S', 'Shantou', '', 'CHINA', '[email protected]',7),
(8, 'Ted', 'Thomas', '8 Turtle Tpk', '', 'Tallahassee', 'TN', 'USA', '[email protected]',8),
(9, 'Violet', 'Vipp', '9 Vale St.', 'Apt V', 'Vespers', 'VA', 'USA', '[email protected]',9),
(10, 'Will', 'Waters', '10 Wing Way', 'Apt W', 'Walla', 'WA', 'USA', '[email protected]',10);
INSERT INTO Recommendations (ApplicationID,fName,lName,AddressLine1,AddressLine2,City,State,Country,Email,
recommendation_id)
values
(10, 'Mary', 'Michaels', '1 Madison Ave', 'Apt 1', 'Madison', 'WI', 'USA', '[email protected]',11),
(9, 'Nick', 'Nolte', '2 Nobb Hill', '', 'New York', 'NY', 'USA', '[email protected]',12),
(8, 'Oprah', 'Winfree', '3 Osprey Road', '', 'Oakridge', 'OR', 'USA', '[email protected]',13),
(7, 'Parth', 'Patel', '4 Punjab Road', 'Apt P', 'Punjab', '', 'INDIA', '[email protected]',14),
(6, 'Queenie', 'Quartz', '5 Quarrel Way', '', 'Quebec', 'QC', 'CANADA', '[email protected]',15),
(5, 'Rakeesh', 'Rao', '6 Rajkot Road', '', 'Rajkot', '', 'INDIA', '[email protected]',16),
(4, 'Susan', 'Syun', '7 Shantou St.', 'Apt S', 'Shantou', '', 'CHINA', '[email protected]',17),
(3, 'Ted', 'Thomas', '8 Turtle Tpk', '', 'Tallahassee', 'TN', 'USA', '[email protected]',18),
(2, 'Violet', 'Vipp', '9 Vale St.', 'Apt V', 'Vespers', 'VA', 'USA', '[email protected]',19),
(1, 'Will', 'Waters', '10 Wing Way', 'Apt W', 'Walla', 'WA', 'USA', '[email protected]',20);
INSERT INTO Applies ()
values
(1, 1, 1, '2015-02-01'),
(2, 2, 1, '2015-02-02'),
(3, 3, 2, '2015-02-03'),
(4, 4, 3, '2015-02-04'),
(5, 5, 4, '2015-02-05'),
(6, 6, 5, '2015-02-06'),
(6, 7, 1, '2015-02-07'),
(7, 8, 1, '2015-02-08'),
(7, 9, 1, '2015-02-09'),
(7, 10, 3, '2015-02-10');
insert into Courses()
values
(100, 1, 'Electrical Engineering 1',3,'Learn the basics of electrical engineering.'),
(101, 1, 'Electrical Engineering 2',3,'Intermediate topics in electrical engineering for majors.'),
(110, 2, 'Programming 1',3,'Introduction to programming with C++'),
(111, 2, 'Data Structures',4,'Analysis of different data structures used in computing'),
(120, 3, 'Web Development 1',3,'Introduction to web design concepts with HTML'),
(121, 3, 'Information Technology Infrastructure',3,'Overview of the concepts that make up the Internet'),
(130, 4, 'Mechanical Engineering 1', 3, 'Learn the basics of mechanical engineering'),
(131, 4, 'Mechanical Engineering 2', 3, 'Learn intermediate topics in mechanical engineering for majors'),
(140, 5, 'Painting 1',3,'Basic painting techniques on canvas'),
(141, 5, 'Drawing 1',3,'Basic drawing techniques on paper'),
(150, 6, 'Humanities 1',3,'Even we do not know what this course is'),
(151, 6, 'Humanities 2',4,'Oh, you are still here? Uh, have an extra credit hour for sticking with it'),
(160, 7, 'Intro to Law',3,'Basic law concepts'),
(161, 7, 'US Law History',3,'Major historical cases and developments in United States Law'),
(170, 8, 'Biology 1',3,'Introduction to biology for future bio-tech students'),
(171, 8, 'Biology 2',3,'Intermediate biology topics intended for majors'),
(180, 9, 'Communication Technology',3,'An overview of communication technology'),
(181, 9, 'Communication Engineering 1',3,'ABasic concepts in electronic communication engineering'),
(190,10, 'Civil Engineering 1',3,'Introduction to the concepts that make up civil engineering'),
(191,10, 'Civil Engineering 2',3,'Intermediate concepts intended for civil engineering majors');
CREATE INDEX idx_users ON users(username) USING BTREE;
CREATE INDEX idx_department ON department(DeptName, DeptID) USING BTREE;
CREATE INDEX idx_program ON program(ProgID) USING BTREE;
CREATE INDEX idx_application ON application(ApplicationID) USING BTREE;
CREATE INDEX idx_applies ON applies(ProgID,ApplicationID) USING BTREE;
|
INSERT INTO "annotation_key" VALUES(1,1,3);
INSERT INTO "annotation_key" VALUES(2,1,4);
INSERT INTO "annotation_key" VALUES(3,1,5);
INSERT INTO "annotation_key" VALUES(4,1,6);
INSERT INTO "annotation_key" VALUES(5,1,7);
INSERT INTO "annotation_key" VALUES(6,1,8);
INSERT INTO "annotation_key" VALUES(7,1,9);
INSERT INTO "annotation_key" VALUES(8,1,10);
INSERT INTO "annotation_key" VALUES(9,1,11);
INSERT INTO "annotation_key" VALUES(10,1,12);
INSERT INTO "annotation_key" VALUES(11,1,13);
INSERT INTO "annotation_key" VALUES(12,1,14);
INSERT INTO "annotation_key" VALUES(13,1,15);
INSERT INTO "annotation_key" VALUES(14,1,16);
INSERT INTO "annotation_key" VALUES(15,1,17);
INSERT INTO "annotation_key" VALUES(16,1,18);
INSERT INTO "annotation_key" VALUES(17,1,19);
INSERT INTO "annotation_key" VALUES(18,1,20);
INSERT INTO "annotation_key" VALUES(19,1,21);
INSERT INTO "annotation_key" VALUES(20,1,22);
INSERT INTO "annotation_key" VALUES(21,1,23);
INSERT INTO "annotation_key" VALUES(22,1,24);
INSERT INTO "annotation_key" VALUES(23,1,25);
INSERT INTO "annotation_key" VALUES(24,1,26);
INSERT INTO "annotation_key" VALUES(25,1,27);
INSERT INTO "annotation_key" VALUES(26,1,28);
INSERT INTO "annotation_key" VALUES(27,1,29);
INSERT INTO "annotation_key" VALUES(28,1,30);
INSERT INTO "annotation_key" VALUES(29,1,31);
INSERT INTO "annotation_key" VALUES(30,1,32);
INSERT INTO "annotation_key" VALUES(31,1,33);
INSERT INTO "annotation_key" VALUES(32,1,34);
INSERT INTO "annotation_key" VALUES(33,1,35);
INSERT INTO "annotation_key" VALUES(34,1,36);
INSERT INTO "annotation_key" VALUES(35,1,37);
INSERT INTO "annotation_key" VALUES(36,1,38);
INSERT INTO "annotation_key" VALUES(37,1,39);
INSERT INTO "annotation_key" VALUES(38,1,40);
INSERT INTO "annotation_key" VALUES(39,1,41);
INSERT INTO "annotation_key" VALUES(40,1,42);
INSERT INTO "annotation_key" VALUES(41,1,43);
INSERT INTO "annotation_key" VALUES(42,1,44);
INSERT INTO "annotation_key" VALUES(43,1,45);
INSERT INTO "annotation_key" VALUES(44,1,46);
INSERT INTO "annotation_key" VALUES(45,1,47);
INSERT INTO "annotation_key" VALUES(46,1,48);
INSERT INTO "annotation_key" VALUES(47,1,49);
INSERT INTO "annotation_key" VALUES(48,1,50);
INSERT INTO "annotation_key" VALUES(49,1,51);
INSERT INTO "annotation_key" VALUES(50,1,52);
INSERT INTO "annotation_key" VALUES(51,1,53);
INSERT INTO "annotation_key" VALUES(52,1,54);
INSERT INTO "annotation_key" VALUES(53,4,3);
INSERT INTO "annotation_key" VALUES(54,4,4);
INSERT INTO "annotation_key" VALUES(55,4,5);
INSERT INTO "annotation_key" VALUES(56,4,6);
INSERT INTO "annotation_key" VALUES(57,4,7);
INSERT INTO "annotation_key" VALUES(58,4,8);
INSERT INTO "annotation_key" VALUES(59,4,9);
INSERT INTO "annotation_key" VALUES(60,4,10);
INSERT INTO "annotation_key" VALUES(61,4,11);
INSERT INTO "annotation_key" VALUES(62,4,12);
INSERT INTO "annotation_key" VALUES(63,4,13);
INSERT INTO "annotation_key" VALUES(64,4,14);
INSERT INTO "annotation_key" VALUES(65,4,15);
INSERT INTO "annotation_key" VALUES(66,4,16);
INSERT INTO "annotation_key" VALUES(67,4,17);
INSERT INTO "annotation_key" VALUES(68,4,18);
INSERT INTO "annotation_key" VALUES(69,4,19);
INSERT INTO "annotation_key" VALUES(70,4,20);
INSERT INTO "annotation_key" VALUES(71,4,21);
INSERT INTO "annotation_key" VALUES(72,4,22);
INSERT INTO "annotation_key" VALUES(73,4,23);
INSERT INTO "annotation_key" VALUES(74,4,24);
INSERT INTO "annotation_key" VALUES(75,4,25);
INSERT INTO "annotation_key" VALUES(76,4,26);
INSERT INTO "annotation_key" VALUES(77,4,27);
INSERT INTO "annotation_key" VALUES(78,4,28);
INSERT INTO "annotation_key" VALUES(79,4,29);
INSERT INTO "annotation_key" VALUES(80,4,30);
INSERT INTO "annotation_key" VALUES(81,4,31);
INSERT INTO "annotation_key" VALUES(82,4,32);
INSERT INTO "annotation_key" VALUES(83,4,33);
INSERT INTO "annotation_key" VALUES(84,4,34);
INSERT INTO "annotation_key" VALUES(85,4,35);
INSERT INTO "annotation_key" VALUES(86,4,36);
INSERT INTO "annotation_key" VALUES(87,4,37);
INSERT INTO "annotation_key" VALUES(88,4,38);
INSERT INTO "annotation_key" VALUES(89,4,39);
INSERT INTO "annotation_key" VALUES(90,4,40);
INSERT INTO "annotation_key" VALUES(91,4,41);
INSERT INTO "annotation_key" VALUES(92,4,42);
INSERT INTO "annotation_key" VALUES(93,4,43);
INSERT INTO "annotation_key" VALUES(94,4,44);
INSERT INTO "annotation_key" VALUES(95,4,45);
INSERT INTO "annotation_key" VALUES(96,4,46);
INSERT INTO "annotation_key" VALUES(97,4,47);
INSERT INTO "annotation_key" VALUES(98,4,48);
INSERT INTO "annotation_key" VALUES(99,4,49);
INSERT INTO "annotation_key" VALUES(100,4,50);
INSERT INTO "annotation_key" VALUES(101,4,51);
INSERT INTO "annotation_key" VALUES(102,4,52);
INSERT INTO "annotation_key" VALUES(103,4,53);
INSERT INTO "annotation_key" VALUES(104,4,54);
INSERT INTO "annotation_key" VALUES(105,4,58);
INSERT INTO "annotation_key" VALUES(106,3,59);
INSERT INTO "annotation_key" VALUES(107,3,60);
INSERT INTO "annotation_key" VALUES(108,3,61);
INSERT INTO "annotation_key" VALUES(109,3,62);
INSERT INTO "annotation_key" VALUES(110,3,63);
INSERT INTO "annotation_key" VALUES(111,3,64);
INSERT INTO "annotation_key" VALUES(112,3,65);
INSERT INTO "annotation_key" VALUES(113,3,66);
INSERT INTO "annotation_key" VALUES(114,5,90);
INSERT INTO "annotation_key" VALUES(115,5,91);
INSERT INTO "annotation_key" VALUES(116,5,5);
INSERT INTO "annotation_key" VALUES(117,5,92);
INSERT INTO "annotation_key" VALUES(118,5,93);
INSERT INTO "annotation_key" VALUES(119,5,94);
INSERT INTO "annotation_key" VALUES(120,5,95);
INSERT INTO "annotation_key" VALUES(121,5,96);
INSERT INTO "annotation_key" VALUES(122,5,97);
INSERT INTO "annotation_key" VALUES(123,5,98);
INSERT INTO "annotation_key" VALUES(124,5,99);
INSERT INTO "annotation_key" VALUES(125,5,100);
INSERT INTO "annotation_key" VALUES(126,5,101);
INSERT INTO "annotation_key" VALUES(127,5,15);
INSERT INTO "annotation_key" VALUES(128,5,102);
INSERT INTO "annotation_key" VALUES(129,5,103);
INSERT INTO "annotation_key" VALUES(130,5,104);
INSERT INTO "annotation_key" VALUES(131,5,105);
INSERT INTO "annotation_key" VALUES(132,5,106);
INSERT INTO "annotation_key" VALUES(133,5,107);
INSERT INTO "annotation_key" VALUES(134,5,108);
INSERT INTO "annotation_key" VALUES(135,5,109);
INSERT INTO "annotation_key" VALUES(136,5,110);
INSERT INTO "annotation_key" VALUES(137,5,111);
INSERT INTO "annotation_key" VALUES(138,5,112);
INSERT INTO "annotation_key" VALUES(139,5,113);
INSERT INTO "annotation_key" VALUES(140,5,114);
INSERT INTO "annotation_key" VALUES(141,5,115);
INSERT INTO "annotation_key" VALUES(142,5,116);
INSERT INTO "annotation_key" VALUES(143,5,117);
INSERT INTO "annotation_key" VALUES(144,5,118);
INSERT INTO "annotation_key" VALUES(145,5,119);
INSERT INTO "annotation_key" VALUES(146,5,120);
INSERT INTO "annotation_key" VALUES(147,5,121);
INSERT INTO "annotation_key" VALUES(148,5,122);
INSERT INTO "annotation_key" VALUES(149,7,124);
INSERT INTO "annotation_key" VALUES(150,9,214);
INSERT INTO "annotation_key" VALUES(151,11,215);
INSERT INTO "annotation_key" VALUES(152,11,216);
INSERT INTO "annotation_key" VALUES(153,11,217);
INSERT INTO "annotation_key" VALUES(154,11,218);
INSERT INTO "annotation_key" VALUES(155,11,219);
INSERT INTO "annotation_key" VALUES(156,11,220);
INSERT INTO "annotation_key" VALUES(157,11,221);
INSERT INTO "annotation_key" VALUES(158,11,222);
INSERT INTO "annotation_key" VALUES(159,11,223);
INSERT INTO "annotation_key" VALUES(160,11,224);
INSERT INTO "annotation_key" VALUES(161,11,225);
INSERT INTO "annotation_key" VALUES(162,11,226);
INSERT INTO "annotation_key" VALUES(163,11,227);
INSERT INTO "annotation_key" VALUES(164,11,228);
INSERT INTO "annotation_key" VALUES(165,11,229);
INSERT INTO "annotation_key" VALUES(166,12,230);
INSERT INTO "annotation_key" VALUES(167,12,5);
INSERT INTO "annotation_key" VALUES(168,12,231);
INSERT INTO "annotation_key" VALUES(169,12,232);
INSERT INTO "annotation_key" VALUES(170,12,97);
INSERT INTO "annotation_key" VALUES(171,12,233);
INSERT INTO "annotation_key" VALUES(172,12,234);
INSERT INTO "annotation_key" VALUES(173,12,235);
INSERT INTO "annotation_key" VALUES(174,12,236);
INSERT INTO "annotation_key" VALUES(175,12,237);
INSERT INTO "annotation_key" VALUES(176,12,238);
INSERT INTO "annotation_key" VALUES(177,13,239);
INSERT INTO "annotation_key" VALUES(178,13,240);
INSERT INTO "annotation_key" VALUES(179,13,241);
INSERT INTO "annotation_key" VALUES(180,13,242);
INSERT INTO "annotation_key" VALUES(181,13,243);
INSERT INTO "annotation_key" VALUES(182,13,244);
INSERT INTO "annotation_key" VALUES(183,13,245);
INSERT INTO "annotation_key" VALUES(184,13,246);
INSERT INTO "annotation_key" VALUES(185,15,3);
INSERT INTO "annotation_key" VALUES(186,15,4);
INSERT INTO "annotation_key" VALUES(187,15,5);
INSERT INTO "annotation_key" VALUES(188,15,6);
INSERT INTO "annotation_key" VALUES(189,15,7);
INSERT INTO "annotation_key" VALUES(190,15,8);
INSERT INTO "annotation_key" VALUES(191,15,9);
INSERT INTO "annotation_key" VALUES(192,15,10);
INSERT INTO "annotation_key" VALUES(193,15,11);
INSERT INTO "annotation_key" VALUES(194,15,12);
INSERT INTO "annotation_key" VALUES(195,15,13);
INSERT INTO "annotation_key" VALUES(196,15,14);
INSERT INTO "annotation_key" VALUES(197,15,15);
INSERT INTO "annotation_key" VALUES(198,15,16);
INSERT INTO "annotation_key" VALUES(199,15,17);
INSERT INTO "annotation_key" VALUES(200,15,18);
INSERT INTO "annotation_key" VALUES(201,15,19);
INSERT INTO "annotation_key" VALUES(202,15,20);
INSERT INTO "annotation_key" VALUES(203,15,21);
INSERT INTO "annotation_key" VALUES(204,15,22);
INSERT INTO "annotation_key" VALUES(205,15,23);
INSERT INTO "annotation_key" VALUES(206,15,24);
INSERT INTO "annotation_key" VALUES(207,15,25);
INSERT INTO "annotation_key" VALUES(208,15,26);
INSERT INTO "annotation_key" VALUES(209,15,27);
INSERT INTO "annotation_key" VALUES(210,15,28);
INSERT INTO "annotation_key" VALUES(211,15,29);
INSERT INTO "annotation_key" VALUES(212,15,30);
INSERT INTO "annotation_key" VALUES(213,15,31);
INSERT INTO "annotation_key" VALUES(214,15,32);
INSERT INTO "annotation_key" VALUES(215,15,33);
INSERT INTO "annotation_key" VALUES(216,15,34);
INSERT INTO "annotation_key" VALUES(217,15,35);
INSERT INTO "annotation_key" VALUES(218,15,36);
INSERT INTO "annotation_key" VALUES(219,15,37);
INSERT INTO "annotation_key" VALUES(220,15,38);
INSERT INTO "annotation_key" VALUES(221,15,39);
INSERT INTO "annotation_key" VALUES(222,15,40);
INSERT INTO "annotation_key" VALUES(223,15,41);
INSERT INTO "annotation_key" VALUES(224,15,42);
INSERT INTO "annotation_key" VALUES(225,15,43);
INSERT INTO "annotation_key" VALUES(226,15,44);
INSERT INTO "annotation_key" VALUES(227,15,45);
INSERT INTO "annotation_key" VALUES(228,15,46);
INSERT INTO "annotation_key" VALUES(229,15,47);
INSERT INTO "annotation_key" VALUES(230,15,48);
INSERT INTO "annotation_key" VALUES(231,15,49);
INSERT INTO "annotation_key" VALUES(232,15,50);
INSERT INTO "annotation_key" VALUES(233,15,51);
INSERT INTO "annotation_key" VALUES(234,15,52);
INSERT INTO "annotation_key" VALUES(235,15,53);
INSERT INTO "annotation_key" VALUES(236,15,54);
INSERT INTO "annotation_key" VALUES(237,14,59);
INSERT INTO "annotation_key" VALUES(238,14,60);
INSERT INTO "annotation_key" VALUES(239,14,61);
INSERT INTO "annotation_key" VALUES(240,14,62);
INSERT INTO "annotation_key" VALUES(241,14,63);
INSERT INTO "annotation_key" VALUES(242,14,64);
INSERT INTO "annotation_key" VALUES(243,14,65);
INSERT INTO "annotation_key" VALUES(244,14,66);
INSERT INTO "annotation_key" VALUES(245,16,250);
INSERT INTO "annotation_key" VALUES(246,16,251);
INSERT INTO "annotation_key" VALUES(247,16,252);
INSERT INTO "annotation_key" VALUES(248,20,255);
INSERT INTO "annotation_key" VALUES(249,20,256);
INSERT INTO "annotation_key" VALUES(250,20,257);
INSERT INTO "annotation_key" VALUES(251,20,92);
INSERT INTO "annotation_key" VALUES(252,20,258);
INSERT INTO "annotation_key" VALUES(253,20,231);
INSERT INTO "annotation_key" VALUES(254,20,259);
INSERT INTO "annotation_key" VALUES(255,20,96);
INSERT INTO "annotation_key" VALUES(256,20,260);
INSERT INTO "annotation_key" VALUES(257,20,261);
INSERT INTO "annotation_key" VALUES(258,20,262);
INSERT INTO "annotation_key" VALUES(259,20,263);
INSERT INTO "annotation_key" VALUES(260,20,264);
INSERT INTO "annotation_key" VALUES(261,20,265);
INSERT INTO "annotation_key" VALUES(262,20,266);
INSERT INTO "annotation_key" VALUES(263,20,267);
INSERT INTO "annotation_key" VALUES(264,20,268);
INSERT INTO "annotation_key" VALUES(265,20,269);
INSERT INTO "annotation_key" VALUES(266,20,270);
INSERT INTO "annotation_key" VALUES(267,20,271);
INSERT INTO "annotation_key" VALUES(268,20,272);
INSERT INTO "annotation_key" VALUES(269,20,273);
INSERT INTO "annotation_key" VALUES(270,20,274);
INSERT INTO "annotation_key" VALUES(271,20,275);
INSERT INTO "annotation_key" VALUES(272,20,276);
INSERT INTO "annotation_key" VALUES(273,20,277);
INSERT INTO "annotation_key" VALUES(274,20,278);
INSERT INTO "annotation_key" VALUES(275,20,279);
INSERT INTO "annotation_key" VALUES(276,20,280);
INSERT INTO "annotation_key" VALUES(277,20,281);
INSERT INTO "annotation_key" VALUES(278,20,282);
INSERT INTO "annotation_key" VALUES(279,20,283);
INSERT INTO "annotation_key" VALUES(280,20,284);
INSERT INTO "annotation_key" VALUES(281,20,285);
INSERT INTO "annotation_key" VALUES(282,20,286);
INSERT INTO "annotation_key" VALUES(283,20,287);
INSERT INTO "annotation_key" VALUES(284,20,288);
INSERT INTO "annotation_key" VALUES(285,20,289);
INSERT INTO "annotation_key" VALUES(286,20,290);
INSERT INTO "annotation_key" VALUES(287,20,291);
INSERT INTO "annotation_key" VALUES(288,20,292);
INSERT INTO "annotation_key" VALUES(289,20,293);
INSERT INTO "annotation_key" VALUES(290,20,294);
INSERT INTO "annotation_key" VALUES(291,20,295);
INSERT INTO "annotation_key" VALUES(292,20,296);
INSERT INTO "annotation_key" VALUES(293,24,3);
INSERT INTO "annotation_key" VALUES(294,24,4);
INSERT INTO "annotation_key" VALUES(295,24,5);
INSERT INTO "annotation_key" VALUES(296,24,6);
INSERT INTO "annotation_key" VALUES(297,24,7);
INSERT INTO "annotation_key" VALUES(298,24,8);
INSERT INTO "annotation_key" VALUES(299,24,9);
INSERT INTO "annotation_key" VALUES(300,24,10);
INSERT INTO "annotation_key" VALUES(301,24,11);
INSERT INTO "annotation_key" VALUES(302,24,12);
INSERT INTO "annotation_key" VALUES(303,24,13);
INSERT INTO "annotation_key" VALUES(304,24,14);
INSERT INTO "annotation_key" VALUES(305,24,15);
INSERT INTO "annotation_key" VALUES(306,24,16);
INSERT INTO "annotation_key" VALUES(307,24,17);
INSERT INTO "annotation_key" VALUES(308,24,18);
INSERT INTO "annotation_key" VALUES(309,24,19);
INSERT INTO "annotation_key" VALUES(310,24,20);
INSERT INTO "annotation_key" VALUES(311,24,21);
INSERT INTO "annotation_key" VALUES(312,24,22);
INSERT INTO "annotation_key" VALUES(313,24,23);
INSERT INTO "annotation_key" VALUES(314,24,24);
INSERT INTO "annotation_key" VALUES(315,24,25);
INSERT INTO "annotation_key" VALUES(316,24,26);
INSERT INTO "annotation_key" VALUES(317,24,27);
INSERT INTO "annotation_key" VALUES(318,24,28);
INSERT INTO "annotation_key" VALUES(319,24,29);
INSERT INTO "annotation_key" VALUES(320,24,30);
INSERT INTO "annotation_key" VALUES(321,24,31);
INSERT INTO "annotation_key" VALUES(322,24,32);
INSERT INTO "annotation_key" VALUES(323,24,33);
INSERT INTO "annotation_key" VALUES(324,24,34);
INSERT INTO "annotation_key" VALUES(325,24,35);
INSERT INTO "annotation_key" VALUES(326,24,36);
INSERT INTO "annotation_key" VALUES(327,24,37);
INSERT INTO "annotation_key" VALUES(328,24,38);
INSERT INTO "annotation_key" VALUES(329,24,39);
INSERT INTO "annotation_key" VALUES(330,24,40);
INSERT INTO "annotation_key" VALUES(331,24,41);
INSERT INTO "annotation_key" VALUES(332,24,42);
INSERT INTO "annotation_key" VALUES(333,24,43);
INSERT INTO "annotation_key" VALUES(334,24,44);
INSERT INTO "annotation_key" VALUES(335,24,45);
INSERT INTO "annotation_key" VALUES(336,24,46);
INSERT INTO "annotation_key" VALUES(337,24,47);
INSERT INTO "annotation_key" VALUES(338,24,48);
INSERT INTO "annotation_key" VALUES(339,24,49);
INSERT INTO "annotation_key" VALUES(340,24,50);
INSERT INTO "annotation_key" VALUES(341,24,51);
INSERT INTO "annotation_key" VALUES(342,24,52);
INSERT INTO "annotation_key" VALUES(343,24,53);
INSERT INTO "annotation_key" VALUES(344,24,54);
INSERT INTO "annotation_key" VALUES(345,24,300);
INSERT INTO "annotation_key" VALUES(346,24,301);
INSERT INTO "annotation_key" VALUES(347,24,302);
INSERT INTO "annotation_key" VALUES(348,24,303);
INSERT INTO "annotation_key" VALUES(349,24,304);
INSERT INTO "annotation_key" VALUES(350,24,305);
INSERT INTO "annotation_key" VALUES(351,24,306);
INSERT INTO "annotation_key" VALUES(352,24,307);
INSERT INTO "annotation_key" VALUES(353,24,308);
INSERT INTO "annotation_key" VALUES(354,24,309);
INSERT INTO "annotation_key" VALUES(355,24,310);
INSERT INTO "annotation_key" VALUES(356,24,311);
INSERT INTO "annotation_key" VALUES(357,24,312);
INSERT INTO "annotation_key" VALUES(358,24,313);
INSERT INTO "annotation_key" VALUES(359,24,314);
INSERT INTO "annotation_key" VALUES(360,24,315);
INSERT INTO "annotation_key" VALUES(361,24,316);
INSERT INTO "annotation_key" VALUES(362,26,321);
INSERT INTO "annotation_key" VALUES(363,26,322);
INSERT INTO "annotation_key" VALUES(364,26,323);
INSERT INTO "annotation_key" VALUES(365,26,324);
INSERT INTO "annotation_key" VALUES(366,27,321);
INSERT INTO "annotation_key" VALUES(367,27,322);
INSERT INTO "annotation_key" VALUES(368,27,323);
INSERT INTO "annotation_key" VALUES(369,27,324);
INSERT INTO "annotation_key" VALUES(370,28,321);
INSERT INTO "annotation_key" VALUES(371,28,322);
INSERT INTO "annotation_key" VALUES(372,28,323);
INSERT INTO "annotation_key" VALUES(373,28,324);
INSERT INTO "annotation_key" VALUES(374,29,3);
INSERT INTO "annotation_key" VALUES(375,29,4);
INSERT INTO "annotation_key" VALUES(376,29,5);
INSERT INTO "annotation_key" VALUES(377,29,6);
INSERT INTO "annotation_key" VALUES(378,29,7);
INSERT INTO "annotation_key" VALUES(379,29,8);
INSERT INTO "annotation_key" VALUES(380,29,9);
INSERT INTO "annotation_key" VALUES(381,29,10);
INSERT INTO "annotation_key" VALUES(382,29,11);
INSERT INTO "annotation_key" VALUES(383,29,12);
INSERT INTO "annotation_key" VALUES(384,29,13);
INSERT INTO "annotation_key" VALUES(385,29,14);
INSERT INTO "annotation_key" VALUES(386,29,15);
INSERT INTO "annotation_key" VALUES(387,29,16);
INSERT INTO "annotation_key" VALUES(388,29,17);
INSERT INTO "annotation_key" VALUES(389,29,18);
INSERT INTO "annotation_key" VALUES(390,29,19);
INSERT INTO "annotation_key" VALUES(391,29,20);
INSERT INTO "annotation_key" VALUES(392,29,21);
INSERT INTO "annotation_key" VALUES(393,29,22);
INSERT INTO "annotation_key" VALUES(394,29,23);
INSERT INTO "annotation_key" VALUES(395,29,24);
INSERT INTO "annotation_key" VALUES(396,29,25);
INSERT INTO "annotation_key" VALUES(397,29,26);
INSERT INTO "annotation_key" VALUES(398,29,27);
INSERT INTO "annotation_key" VALUES(399,29,28);
INSERT INTO "annotation_key" VALUES(400,29,29);
INSERT INTO "annotation_key" VALUES(401,29,30);
INSERT INTO "annotation_key" VALUES(402,29,31);
INSERT INTO "annotation_key" VALUES(403,29,32);
INSERT INTO "annotation_key" VALUES(404,29,33);
INSERT INTO "annotation_key" VALUES(405,29,34);
INSERT INTO "annotation_key" VALUES(406,29,35);
INSERT INTO "annotation_key" VALUES(407,29,36);
INSERT INTO "annotation_key" VALUES(408,29,37);
INSERT INTO "annotation_key" VALUES(409,29,38);
INSERT INTO "annotation_key" VALUES(410,29,39);
INSERT INTO "annotation_key" VALUES(411,29,40);
INSERT INTO "annotation_key" VALUES(412,29,41);
INSERT INTO "annotation_key" VALUES(413,29,42);
INSERT INTO "annotation_key" VALUES(414,29,43);
INSERT INTO "annotation_key" VALUES(415,29,44);
INSERT INTO "annotation_key" VALUES(416,29,45);
INSERT INTO "annotation_key" VALUES(417,29,46);
INSERT INTO "annotation_key" VALUES(418,29,47);
INSERT INTO "annotation_key" VALUES(419,29,48);
INSERT INTO "annotation_key" VALUES(420,29,49);
INSERT INTO "annotation_key" VALUES(421,29,50);
INSERT INTO "annotation_key" VALUES(422,29,51);
INSERT INTO "annotation_key" VALUES(423,29,52);
INSERT INTO "annotation_key" VALUES(424,29,53);
INSERT INTO "annotation_key" VALUES(425,29,54);
INSERT INTO "annotation_key" VALUES(426,25,325);
INSERT INTO "annotation_key" VALUES(427,25,326);
INSERT INTO "annotation_key" VALUES(428,25,327);
INSERT INTO "annotation_key" VALUES(429,25,328);
INSERT INTO "annotation_key" VALUES(430,25,329);
INSERT INTO "annotation_key" VALUES(431,25,330);
INSERT INTO "annotation_key" VALUES(432,25,331);
INSERT INTO "annotation_key" VALUES(433,25,332);
INSERT INTO "annotation_key" VALUES(434,25,333);
INSERT INTO "annotation_key" VALUES(435,25,334);
INSERT INTO "annotation_key" VALUES(436,25,335);
INSERT INTO "annotation_key" VALUES(437,25,232);
INSERT INTO "annotation_key" VALUES(438,25,336);
INSERT INTO "annotation_key" VALUES(439,25,337);
INSERT INTO "annotation_key" VALUES(440,25,338);
INSERT INTO "annotation_key" VALUES(441,25,339);
INSERT INTO "annotation_key" VALUES(442,25,340);
INSERT INTO "annotation_key" VALUES(443,25,341);
INSERT INTO "annotation_key" VALUES(444,25,342);
INSERT INTO "annotation_key" VALUES(445,25,343);
INSERT INTO "annotation_key" VALUES(446,25,113);
INSERT INTO "annotation_key" VALUES(447,25,344);
INSERT INTO "annotation_key" VALUES(448,25,116);
INSERT INTO "annotation_key" VALUES(449,25,117);
INSERT INTO "annotation_key" VALUES(450,25,345);
INSERT INTO "annotation_key" VALUES(451,25,346);
INSERT INTO "annotation_key" VALUES(452,31,3);
INSERT INTO "annotation_key" VALUES(453,31,4);
INSERT INTO "annotation_key" VALUES(454,31,5);
INSERT INTO "annotation_key" VALUES(455,31,6);
INSERT INTO "annotation_key" VALUES(456,31,7);
INSERT INTO "annotation_key" VALUES(457,31,8);
INSERT INTO "annotation_key" VALUES(458,31,9);
INSERT INTO "annotation_key" VALUES(459,31,10);
INSERT INTO "annotation_key" VALUES(460,31,11);
INSERT INTO "annotation_key" VALUES(461,31,12);
INSERT INTO "annotation_key" VALUES(462,31,13);
INSERT INTO "annotation_key" VALUES(463,31,14);
INSERT INTO "annotation_key" VALUES(464,31,15);
INSERT INTO "annotation_key" VALUES(465,31,16);
INSERT INTO "annotation_key" VALUES(466,31,17);
INSERT INTO "annotation_key" VALUES(467,31,18);
INSERT INTO "annotation_key" VALUES(468,31,19);
INSERT INTO "annotation_key" VALUES(469,31,20);
INSERT INTO "annotation_key" VALUES(470,31,21);
INSERT INTO "annotation_key" VALUES(471,31,22);
INSERT INTO "annotation_key" VALUES(472,31,23);
INSERT INTO "annotation_key" VALUES(473,31,24);
INSERT INTO "annotation_key" VALUES(474,31,25);
INSERT INTO "annotation_key" VALUES(475,31,26);
INSERT INTO "annotation_key" VALUES(476,31,27);
INSERT INTO "annotation_key" VALUES(477,31,28);
INSERT INTO "annotation_key" VALUES(478,31,29);
INSERT INTO "annotation_key" VALUES(479,31,30);
INSERT INTO "annotation_key" VALUES(480,31,31);
INSERT INTO "annotation_key" VALUES(481,31,32);
INSERT INTO "annotation_key" VALUES(482,31,33);
INSERT INTO "annotation_key" VALUES(483,31,34);
INSERT INTO "annotation_key" VALUES(484,31,35);
INSERT INTO "annotation_key" VALUES(485,31,36);
INSERT INTO "annotation_key" VALUES(486,31,37);
INSERT INTO "annotation_key" VALUES(487,31,38);
INSERT INTO "annotation_key" VALUES(488,31,39);
INSERT INTO "annotation_key" VALUES(489,31,40);
INSERT INTO "annotation_key" VALUES(490,31,41);
INSERT INTO "annotation_key" VALUES(491,31,42);
INSERT INTO "annotation_key" VALUES(492,31,43);
INSERT INTO "annotation_key" VALUES(493,31,44);
INSERT INTO "annotation_key" VALUES(494,31,45);
INSERT INTO "annotation_key" VALUES(495,31,46);
INSERT INTO "annotation_key" VALUES(496,31,47);
INSERT INTO "annotation_key" VALUES(497,31,48);
INSERT INTO "annotation_key" VALUES(498,31,49);
INSERT INTO "annotation_key" VALUES(499,31,50);
INSERT INTO "annotation_key" VALUES(500,31,51);
INSERT INTO "annotation_key" VALUES(501,31,52);
INSERT INTO "annotation_key" VALUES(502,31,53);
INSERT INTO "annotation_key" VALUES(503,31,54);
|
-- Reference: https://www.mysqltutorial.org/php-mysql-blob/
USE test;
CREATE TABLE files (
id INT AUTO_INCREMENT PRIMARY KEY,
mime VARCHAR (255) NOT NULL,
data BLOB NOT NULL
);
|
DROP FUNCTION IF EXISTS inventory.get_account_id_by_supplier_type_id(_supplier_type_id integer);
CREATE FUNCTION inventory.get_account_id_by_supplier_type_id(_supplier_type_id integer)
RETURNS integer
STABLE
AS
$$
BEGIN
RETURN account_id
FROM inventory.supplier_types
WHERE supplier_type_id=_supplier_type_id;
END;
$$
LANGUAGE plpgsql;
--SELECT * FROM inventory.get_account_id_by_supplier_type_id(1);
|
BEGIN;
CREATE TABLE IF NOT EXISTS "accounts"
(
"account_id" UUID NOT NULL,
"password" VARCHAR(255) NOT NULL,
"email" VARCHAR(255) UNIQUE NOT NULL,
"username" VARCHAR(255) NOT NULL,
"is_confirmed" BOOLEAN NOT NULL,
"created_at" DATE NOT NULL,
"updated_at" DATE,
PRIMARY KEY (account_id)
);
CREATE TABLE IF NOT EXISTS "companies"
(
"company_id" UUID NOT NULL,
"name" VARCHAR(255) NOT NULL,
"description" VARCHAR(255),
"created_at" DATE NOT NULL,
"updated_at" DATE,
PRIMARY KEY (company_id)
);
CREATE TABLE IF NOT EXISTS "account_company"
(
"company_id" UUID NOT NULL,
"account_id" UUID NOT NULL,
"role" VARCHAR(255) NOT NULL,
"created_at" DATE NOT NULL,
"updated_at" DATE,
FOREIGN KEY (company_id) REFERENCES companies (company_id) ON DELETE CASCADE,
FOREIGN KEY (account_id) REFERENCES accounts (account_id) ON DELETE CASCADE,
UNIQUE (company_id, account_id)
);
CREATE TABLE IF NOT EXISTS "repositories"
(
"repository_id" UUID NOT NULL,
"company_id" UUID NOT NULL,
"description" VARCHAR(255),
"name" VARCHAR(255) NOT NULL,
"created_at" DATE NOT NULL,
"updated_at" DATE,
PRIMARY KEY (repository_id),
FOREIGN KEY (company_id) REFERENCES companies (company_id) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS "account_repository"
(
"repository_id" UUID NOT NULL,
"account_id" UUID NOT NULL,
"company_id" UUID NOT NULL,
"role" VARCHAR(255) NOT NULL,
"created_at" DATE NOT NULL,
"updated_at" DATE,
FOREIGN KEY (repository_id) REFERENCES repositories (repository_id) ON DELETE CASCADE,
FOREIGN KEY (account_id) REFERENCES accounts (account_id) ON DELETE CASCADE,
UNIQUE (repository_id, account_id)
);
INSERT INTO accounts(
account_id,
password,
email,
username,
is_confirmed,
created_at,
updated_at)
VALUES (
'4e0bfe1b-043d-4922-8198-07d84ab49bd0',
'$2a$10$hWoL3d6iUUl3wFBXouGDB.p/uE/K3t1k5vVFdN981IpoZJY8wftPm', /* Devpass0* */
'[email protected]',
'dev',
true,
'2020-07-29',
'2020-07-29'
);
COMMIT;
|
-- P39G. FAMILY TYPE BY PRESENCE AND AGE OF RELATED CHILDREN (TWO OR MORE RACES HOUSEHOLDER)
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_p39g (
geoid VARCHAR(11) NOT NULL,
sumlev VARCHAR(3) NOT NULL,
state VARCHAR(2) NOT NULL,
county VARCHAR(3),
cbsa VARCHAR(5),
csa VARCHAR(3),
necta VARCHAR(5),
cnecta VARCHAR(3),
name VARCHAR(90) NOT NULL,
pop100 INTEGER NOT NULL,
hu100 INTEGER NOT NULL,
pop100_2000 INTEGER,
hu100_2000 INTEGER,
p039g001 INTEGER,
p039g001_2000 INTEGER,
p039g002 INTEGER,
p039g002_2000 INTEGER,
p039g003 INTEGER,
p039g003_2000 INTEGER,
p039g004 INTEGER,
p039g004_2000 INTEGER,
p039g005 INTEGER,
p039g005_2000 INTEGER,
p039g006 INTEGER,
p039g006_2000 INTEGER,
p039g007 INTEGER,
p039g007_2000 INTEGER,
p039g008 INTEGER,
p039g008_2000 INTEGER,
p039g009 INTEGER,
p039g009_2000 INTEGER,
p039g010 INTEGER,
p039g010_2000 INTEGER,
p039g011 INTEGER,
p039g011_2000 INTEGER,
p039g012 INTEGER,
p039g012_2000 INTEGER,
p039g013 INTEGER,
p039g013_2000 INTEGER,
p039g014 INTEGER,
p039g014_2000 INTEGER,
p039g015 INTEGER,
p039g015_2000 INTEGER,
p039g016 INTEGER,
p039g016_2000 INTEGER,
p039g017 INTEGER,
p039g017_2000 INTEGER,
p039g018 INTEGER,
p039g018_2000 INTEGER,
p039g019 INTEGER,
p039g019_2000 INTEGER,
p039g020 INTEGER,
p039g020_2000 INTEGER,
PRIMARY KEY (geoid)
);
|
# Wiktionary phn http://wiktionary.org/ CC BY-SA
|
CREATE TABLE IF NOT EXISTS Lecture (
id serial PRIMARY KEY,
title VARCHAR (256) not null,
description VARCHAR (256) not null,
creationDate VARCHAR (256) not null
);
|
-- phpMyAdmin SQL Dump
-- version 3.4.3.2
-- http://www.phpmyadmin.net
--
-- Servidor: localhost
-- Tiempo de generación: 05-08-2011 a las 09:10:24
-- Versión del servidor: 5.1.44
-- Versión de PHP: 5.3.1
BEGIN;
SET GLOBAL event_scheduler = ON;
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = '+00:00';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Announcement`
--
CREATE TABLE IF NOT EXISTS `Announcement` (
`announcement_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador del aviso',
`user_id` int(11) NOT NULL COMMENT 'UserID del autor de este aviso',
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Fecha de creacion de este aviso',
`description` text NOT NULL COMMENT 'Mensaje de texto del aviso',
PRIMARY KEY (`announcement_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Sistema de mensajería dentro del sitio.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Auth_Tokens`
--
CREATE TABLE IF NOT EXISTS `Auth_Tokens` (
`user_id` int(11) NOT NULL,
`token` varchar(128) NOT NULL,
`create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`token`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Tokens de autorización para los logins.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Badges`
--
CREATE TABLE IF NOT EXISTS `Badges` (
`badge_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) NOT NULL DEFAULT 'MyBadge',
`image_url` varchar(45) NOT NULL,
`description` varchar(500) NOT NULL COMMENT 'La descripcion habla de como se obtuvo el badge, de forma corta.',
`hint` varchar(100) DEFAULT NULL COMMENT 'Tip de como desbloquear el badge.',
PRIMARY KEY (`badge_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Esta tabla guarda la informacion de cada uno de los badges.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Clarifications`
--
CREATE TABLE IF NOT EXISTS `Clarifications` (
`clarification_id` int(11) NOT NULL AUTO_INCREMENT,
`author_id` int(11) NOT NULL COMMENT 'Autor de la clarificación.',
`message` text NOT NULL,
`answer` text,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`problem_id` int(11) DEFAULT NULL COMMENT 'Lo ideal es que la clarificacion le llegue al problemsetter que escribio el problema o al contest owner si no esta ligado a un problema.',
`contest_id` int(11) NOT NULL,
`public` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Sólo las clarificaciones que el problemsetter marque como publicacbles apareceran en la lista que toda la banda puede ver. Sino, solo al usuario. ',
PRIMARY KEY (`clarification_id`),
KEY `problem_id` (`problem_id`),
KEY `contest_id` (`contest_id`),
KEY `author_id` (`author_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Se guardan las clarificaciones.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Coder_Of_The_Month`
--
CREATE TABLE IF NOT EXISTS `Coder_Of_The_Month` (
`coder_of_the_month_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`description` tinytext,
`time` date NOT NULL DEFAULT '2000-01-01' COMMENT 'Fecha no es UNIQUE por si hay más de 1 coder de mes.',
`interview_url` varchar(256) DEFAULT NULL COMMENT 'Para linekar a un post del blog con entrevistas.',
PRIMARY KEY (`coder_of_the_month_id`),
KEY `coder_of_the_month_id` (`coder_of_the_month_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guardar histórico de coders del mes de forma sencilla.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Contests`
--
CREATE TABLE IF NOT EXISTS `Contests` (
`contest_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'El identificador unico para cada concurso',
`title` varchar(256) NOT NULL COMMENT 'El titulo que aparecera en cada concurso',
`description` tinytext NOT NULL COMMENT 'Una breve descripcion de cada concurso.',
`start_time` timestamp NOT NULL DEFAULT '2000-01-01 06:00:00' COMMENT 'Hora de inicio de este concurso',
`finish_time` timestamp NOT NULL DEFAULT '2000-01-01 06:00:00' COMMENT 'Hora de finalizacion de este concurso',
`window_length` int(11) DEFAULT NULL COMMENT 'Indica el tiempo que tiene el usuario para envíar solución, si es NULL entonces será durante todo el tiempo del concurso',
`director_id` int(11) NOT NULL COMMENT 'el userID del usuario que creo este concurso',
`rerun_id` int(11) NOT NULL COMMENT 'Este campo es para las repeticiones de algún concurso',
`public` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'False implica concurso cerrado, ver la tabla ConcursantesConcurso',
`alias` varchar(32) NOT NULL COMMENT 'Almacenará el token necesario para acceder al concurso',
`scoreboard` int(11) NOT NULL DEFAULT '1' COMMENT 'Entero del 0 al 100, indicando el porcentaje de tiempo que el scoreboard será visible',
`points_decay_factor` double NOT NULL DEFAULT '0' COMMENT 'El factor de decaimiento de los puntos de este concurso. El default es 0 (no decae). TopCoder es 0.7',
`partial_score` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Verdadero si el usuario recibirá puntaje parcial para problemas no resueltos en todos los casos',
`submissions_gap` int(11) NOT NULL DEFAULT '1' COMMENT 'Tiempo mínimo en segundos que debe de esperar un usuario despues de realizar un envío para hacer otro',
`feedback` enum('no','yes','partial') NOT NULL,
`penalty` int(11) NOT NULL DEFAULT '1' COMMENT 'Entero indicando el número de minutos con que se penaliza por recibir un no-accepted',
`penalty_type` enum('contest_start','problem_open', 'runtime', 'none') NOT NULL COMMENT 'Indica la política de cálculo de penalty: minutos desde que inició el concurso, minutos desde que se abrió el problema, o tiempo de ejecución (en milisegundos).',
`penalty_calc_policy` enum('sum', 'max') NOT NULL COMMENT 'Indica como afecta el penalty al score.',
`show_scoreboard_after` BOOL NOT NULL DEFAULT '1' COMMENT 'Mostrar el scoreboard automáticamente después del concurso',
`scoreboard_url` VARCHAR( 30 ) NULL DEFAULT NULL,
`scoreboard_url_admin` VARCHAR( 30 ) NULL DEFAULT NULL,
`urgent` tinyint(1) DEFAULT 0 NOT NULL COMMENT 'Indica si el concurso es de alta prioridad y requiere mejor QoS.',
`contestant_must_register` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Indica que los participantes deben pre-registrarse antes de poder paticipar',
`languages` set('c','cpp','java','py','rb','pl','cs','pas','kp','kj','cat','hs','cpp11') DEFAULT NULL COMMENT 'Un filtro (opcional) de qué lenguajes se pueden usar en un concurso',
`recommended` BOOL NOT NULL DEFAULT '0' COMMENT 'Mostrar el concurso en la lista de recomendados.',
PRIMARY KEY (`contest_id`),
KEY `director_id` (`director_id`),
KEY `rerun_id` (`contest_id`),
UNIQUE KEY `contests_alias` (`alias`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Concursos que se llevan a cabo en el juez.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Contest_Users`
--
CREATE TABLE IF NOT EXISTS `Contests_Users` (
`user_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL,
`access_time` datetime NULL DEFAULT NULL COMMENT 'Hora a la que entró el usuario al concurso',
`score` int(11) NOT NULL DEFAULT '1' COMMENT 'Indica el puntaje que obtuvo el usuario en el concurso',
`time` int(11) NOT NULL DEFAULT '1' COMMENT 'Indica el tiempo que acumulo en usuario en el concurso',
PRIMARY KEY (`user_id`,`contest_id`),
KEY `user_id` (`user_id`),
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Concursantes que pueden participar en concurso cerrado.';
--
-- Estructura de tabla para la tabla `User_Login_Log`
--
CREATE TABLE IF NOT EXISTS `User_Login_Log` (
`user_id` int(11) NOT NULL,
`ip` int UNSIGNED NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Bitácora de inicios de sesión exitosos';
--
-- Estructura de tabla para la tabla `Contest_Access_Log`
--
CREATE TABLE IF NOT EXISTS `Contest_Access_Log` (
`contest_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`ip` int UNSIGNED NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Bitácora de acceso a concursos';
--
-- Estructura de tabla para la tabla `Submission_Log`
--
CREATE TABLE IF NOT EXISTS `Submission_Log` (
`contest_id` int(11) NULL DEFAULT NULL,
`run_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`ip` int UNSIGNED NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`run_id`),
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Bitácora de envíos';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Contest_Problems`
--
CREATE TABLE IF NOT EXISTS `Contest_Problems` (
`contest_id` int(11) NOT NULL,
`problem_id` int(11) NOT NULL,
`points` double NOT NULL DEFAULT '1',
`order` INT NOT NULL DEFAULT '1' COMMENT 'Define el orden de aparición de los problemas en un concurso',
PRIMARY KEY (`contest_id`,`problem_id`),
KEY `contest_id` (`contest_id`),
KEY `problem_id` (`problem_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Relacion entre Concursos y los problemas que tiene este';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Problem_Viewed`
--
CREATE TABLE IF NOT EXISTS `Problem_Viewed` (
`problem_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`view_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`problem_id`,`user_id`),
KEY `problem_id` (`problem_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Tabla de vistas de problemas';
--
-- Estructura de tabla para la tabla `Contest_User_OpenedProblems`
--
CREATE TABLE IF NOT EXISTS `Contest_Problem_Opened` (
`contest_id` int(11) NOT NULL,
`problem_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`open_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`contest_id`,`problem_id`,`user_id`),
KEY `contest_id` (`contest_id`),
KEY `problem_id` (`problem_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Relacion entre Concursos y los problemas que tiene este';
--
-- Estructura de tabla para la tabla `Contest_User_Request`
--
CREATE TABLE IF NOT EXISTS `Contest_User_Request` (
`user_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL,
`request_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_update` timestamp NULL DEFAULT NULL,
`accepted` tinyint(1) DEFAULT NULL,
`extra_note` text,
PRIMARY KEY (`user_id`,`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Used when contestant_must_register = 1';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Contest_User_Request_History`
--
CREATE TABLE IF NOT EXISTS `Contest_User_Request_History` (
`history_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`accepted` tinyint(4) NOT NULL,
`admin_id` int(11) NOT NULL,
PRIMARY KEY (`history_id`),
KEY `user_contest_hist` (`user_id`, `contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
--
-- Estructura de tabla para la tabla `Countries`
--
CREATE TABLE IF NOT EXISTS `Countries` (
`country_id` char(3) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Catálogos para la normalización';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Emails`
--
CREATE TABLE IF NOT EXISTS `Emails` (
`email_id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(100) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`email_id`),
UNIQUE KEY `email_UNIQUE` (`email`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Esta tabla permite tener varios emails por persona';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Favorites`
--
CREATE TABLE IF NOT EXISTS `Favorites` (
`user_id` int(11) NOT NULL,
`problem_id` int(11) NOT NULL,
PRIMARY KEY (`user_id`,`problem_id`),
KEY `user_id` (`user_id`),
KEY `problem_id` (`problem_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Problemas favoritos de los usuarios';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Languages`
--
CREATE TABLE IF NOT EXISTS `Languages` (
`language_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) NOT NULL,
`country_id` char(3) DEFAULT NULL COMMENT 'Se guarda la relación con el país para defaultear más rápido.',
PRIMARY KEY (`language_id`),
UNIQUE KEY `nombre_UNIQUE` (`name`),
KEY `country_id` (`country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Lista de idiomas que potencialmente se soportarían.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Interviews`
--
CREATE TABLE IF NOT EXISTS `Interviews` (
`contest_id` int(11) NOT NULL,
PRIMARY KEY (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Lista de id_concuros que se usan para entrevista';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Messages`
--
CREATE TABLE IF NOT EXISTS `Messages` (
`message_id` int(11) NOT NULL AUTO_INCREMENT,
`read` tinyint(1) NOT NULL DEFAULT '0',
`sender_id` int(11) NOT NULL,
`recipient_id` int(11) NOT NULL,
`message` tinytext NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`message_id`),
KEY `sender_id` (`sender_id`,`recipient_id`),
KEY `fk_m_recipient_id` (`recipient_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Sistema de mensajería dentro del sitio.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Permissions`
--
CREATE TABLE IF NOT EXISTS `Permissions` (
`permission_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT 'El nombre corto del permiso.',
`description` varchar(100) NOT NULL COMMENT 'La descripción humana del permiso.',
PRIMARY KEY (`permission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los permisos que se pueden dar a los roles.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Problems`
--
CREATE TABLE IF NOT EXISTS `Problems` (
`problem_id` int(11) NOT NULL AUTO_INCREMENT,
`public` tinyint(1) NOT NULL DEFAULT '1',
`author_id` int(11) NOT NULL,
`title` varchar(256) NOT NULL,
`alias` varchar(32) NOT NULL,
`validator` enum('token','token-caseless','token-numeric','custom','literal') NOT NULL DEFAULT 'token-numeric',
`languages` set('c','cpp','java','py','rb','pl','cs','pas','kp','kj','cat','hs','cpp11') NOT NULL DEFAULT 'c,cpp,java,py,rb,pl,cs,pas,hs,cpp11',
`server` enum('uva','livearchive','pku','tju','spoj') DEFAULT NULL,
`remote_id` varchar(10) DEFAULT NULL,
`time_limit` int(11) NOT NULL DEFAULT '3000',
`validator_time_limit` int(11) NOT NULL DEFAULT '3000',
`overall_wall_time_limit` int(11) NOT NULL DEFAULT '60000',
`extra_wall_time` int(11) NOT NULL DEFAULT '0',
`memory_limit` int(11) NOT NULL DEFAULT '64',
`output_limit` int(11) NOT NULL DEFAULT '10240',
`stack_limit` int(11) NOT NULL DEFAULT '10485760',
`visits` int(11) NOT NULL DEFAULT '0',
`submissions` int(11) NOT NULL DEFAULT '0',
`accepted` int(11) NOT NULL DEFAULT '0',
`difficulty` double NOT NULL DEFAULT '0',
`creation_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`source` varchar(256) DEFAULT NULL,
`order` enum('normal','inverse') NOT NULL DEFAULT 'normal',
`tolerance` double NOT NULL DEFAULT 1e-9,
`slow` tinyint(1) NOT NULL DEFAULT 0,
`deprecated` tinyint(1) NOT NULL DEFAULT 0,
`email_clarifications` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`problem_id`),
KEY `author_id` (`author_id`),
UNIQUE KEY `problems_alias` (`alias`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Se crea un registro por cada prob externo.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Tags`
--
CREATE TABLE IF NOT EXISTS `Tags` (
`tag_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL,
PRIMARY KEY (`tag_id`),
UNIQUE KEY `tag_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Tags privados para los problemas.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Problem_Badges`
--
CREATE TABLE IF NOT EXISTS `Problems_Badges` (
`badge_id` int(11) NOT NULL,
`problem_id` int(11) NOT NULL,
PRIMARY KEY (`badge_id`,`problem_id`),
KEY `badge_id` (`badge_id`),
KEY `problem_id` (`problem_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Relación entre 1 badge y los problemas que lo desbloqueaan.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Problems_Languages`
--
CREATE TABLE IF NOT EXISTS `Problems_Languages` (
`problem_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`translator_id` int(11) NOT NULL,
PRIMARY KEY (`problem_id`,`language_id`),
KEY `problem_id` (`problem_id`),
KEY `language_id` (`language_id`),
KEY `translator_id` (`translator_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Las traducciones viven en el filesystem y no en la bdd.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Problems_Tags`
--
CREATE TABLE IF NOT EXISTS `Problems_Tags` (
`problem_id` int(11) NOT NULL,
`tag_id` int(11) NOT NULL,
`public` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`problem_id`,`tag_id`),
KEY `problem_id` (`problem_id`),
KEY `tag_id` (`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Tags privados para los problemas.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Roles`
--
CREATE TABLE IF NOT EXISTS `Roles` (
`role_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT 'El nombre corto del rol.',
`description` varchar(100) NOT NULL COMMENT 'La descripción humana del rol.',
PRIMARY KEY (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los roles que se pueden dar a los usuarios.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Role_Permissions`
--
CREATE TABLE IF NOT EXISTS `Roles_Permissions` (
`role_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`role_id`,`permission_id`),
KEY `role_id` (`role_id`),
KEY `permission_id` (`permission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los roles que se pueden dar a los usuarios.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Runs`
--
CREATE TABLE IF NOT EXISTS `Runs` (
`run_id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`problem_id` int(11) NOT NULL,
`contest_id` int(11) DEFAULT NULL,
`guid` char(32) NOT NULL,
`language` enum('c','cpp','java','py','rb','pl','cs','pas','kp','kj','cat','hs','cpp11') NOT NULL,
`status` enum('new','waiting','compiling','running','ready') NOT NULL DEFAULT 'new',
`verdict` enum('AC','PA','PE','WA','TLE','OLE','MLE','RTE','RFE','CE','JE') NOT NULL,
`runtime` int(11) NOT NULL DEFAULT '0',
`penalty` int(11) NOT NULL DEFAULT '0',
`memory` int(11) NOT NULL DEFAULT '0',
`score` double NOT NULL DEFAULT '0',
`contest_score` double NULL DEFAULT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`submit_delay` int(11) NOT NULL DEFAULT '0',
`test` tinyint(1) NOT NULL DEFAULT '0',
`judged_by` char(32) NULL DEFAULT NULL,
PRIMARY KEY (`run_id`),
KEY `user_id` (`user_id`),
KEY `problem_id` (`problem_id`),
KEY `contest_id` (`contest_id`),
UNIQUE KEY `runs_alias` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Estado de todas las ejecuciones.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Schools`
--
CREATE TABLE IF NOT EXISTS `Schools` (
`school_id` int(11) NOT NULL AUTO_INCREMENT,
`state_id` int(11) NULL,
`country_id` char(3) DEFAULT NULL,
`name` varchar(128) NOT NULL,
PRIMARY KEY (`school_id`),
KEY `state_id` (`state_id`),
KEY `country_id` (`country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Catálogos para la normalización';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `States`
--
CREATE TABLE IF NOT EXISTS `States` (
`state_id` int(11) NOT NULL AUTO_INCREMENT,
`country_id` char(3) NOT NULL,
`state_code` CHAR( 3 ) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`state_id`),
KEY `country_id` (`country_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Catálogos para la normalización';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `Users`
--
CREATE TABLE IF NOT EXISTS `Users` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL UNIQUE,
`facebook_user_id` varchar(20) DEFAULT NULL COMMENT 'Facebook ID for this user.',
`password` varchar(100) DEFAULT NULL,
`main_email_id` int(11) DEFAULT NULL,
`name` varchar(256) DEFAULT NULL,
`solved` int(11) NOT NULL DEFAULT '0',
`submissions` int(11) NOT NULL DEFAULT '0',
`country_id` char(3) DEFAULT NULL,
`state_id` int(11) DEFAULT NULL,
`school_id` int(11) DEFAULT NULL,
`scholar_degree` varchar(64) DEFAULT NULL,
`language_id` int(11) NULL DEFAULT NULL,
`graduation_date` date DEFAULT NULL,
`birth_date` date DEFAULT NULL,
`last_access` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`verified` BOOLEAN NOT NULL DEFAULT FALSE,
`verification_id` VARCHAR( 50 ) NULL DEFAULT NULL,
`reset_digest` VARCHAR(45) NULL DEFAULT NULL,
`reset_sent_at` DATETIME NULL DEFAULT NULL,
`recruitment_optin` tinyint(1) NULL DEFAULT NULL COMMENT 'Determina si el usuario puede ser contactado con fines de reclutamiento.',
PRIMARY KEY (`user_id`),
KEY `country_id` (`country_id`),
KEY `state_id` (`state_id`),
KEY `school_id` (`school_id`),
KEY `fk_main_email_id` (`main_email_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Usuarios registrados.' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `User_Badges`
--
CREATE TABLE IF NOT EXISTS `Users_Badges` (
`badge_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`last_problem_id` int(11) NOT NULL COMMENT 'Este campo guarda el ultimo problema que logro que se desbloqueara el badge, just for fun.',
PRIMARY KEY (`badge_id`,`user_id`),
KEY `badge_id` (`badge_id`),
KEY `user_id` (`user_id`),
KEY `last_problem_id` (`last_problem_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guarda los badges que han sido desbloqueados.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `User_Roles`
--
CREATE TABLE IF NOT EXISTS `User_Roles` (
`user_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL DEFAULT 1,
PRIMARY KEY (`user_id`,`role_id`,`contest_id`),
KEY `user_id` (`user_id`),
KEY `role_id` (`role_id`),
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los roles que se pueden dar a los usuarios.';
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `User_Permissions`
--
CREATE TABLE IF NOT EXISTS `Users_Permissions` (
`user_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL COMMENT 'Este permiso solo aplica en el contexto de un concurso.',
PRIMARY KEY (`user_id`,`permission_id`),
KEY `user_id` (`user_id`),
KEY `permission_id` (`permission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los permisos que se pueden dar a los usuarios.';
--
-- Estructura de tabla para la tabla `Groups`
--
CREATE TABLE IF NOT EXISTS `Groups` (
`group_id` int(11) AUTO_INCREMENT NOT NULL,
`owner_id` int(11) NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`alias` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`description` varchar(256) DEFAULT NULL,
PRIMARY KEY (`group_id`),
KEY `owner_id` (`owner_id`),
UNIQUE KEY `groups_alias` (`alias`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1;
--
-- Estructura de tabla para la tabla `Groups_Users`
--
CREATE TABLE IF NOT EXISTS `Groups_Users` (
`group_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`group_id`,`user_id`),
KEY `user_id` (`user_id`),
KEY `group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Estructura de tabla para la tabla `Groups`
--
CREATE TABLE IF NOT EXISTS `Groups_Scoreboards` (
`group_scoreboard_id` int(11) AUTO_INCREMENT NOT NULL,
`group_id` int(11) NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`alias` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`description` varchar(256) DEFAULT NULL,
PRIMARY KEY (`group_scoreboard_id`),
KEY `group_id` (`group_id`),
UNIQUE KEY `groups_scoreboards_alias` (`alias`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1;
--
-- Estructura de tabla para la tabla `Groups_Users`
--
CREATE TABLE IF NOT EXISTS `Groups_Scoreboards_Contests` (
`group_scoreboard_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL,
`only_ac` tinyint(1) NOT NULL DEFAULT '0',
`weight` int(11) NOT NULL DEFAULT 1,
PRIMARY KEY (`group_scoreboard_id`,`contest_id`),
KEY `group_scoreboard_id` (`group_scoreboard_id`),
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Estructura de tabla para la tabla `Group_Roles`
--
CREATE TABLE IF NOT EXISTS `Group_Roles` (
`group_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`contest_id` int(11) NOT NULL DEFAULT 1,
PRIMARY KEY (`group_id`,`role_id`,`contest_id`),
KEY `group_id` (`group_id`),
KEY `role_id` (`role_id`),
KEY `contest_id` (`contest_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Establece los roles que se pueden dar a los grupos.';
--
-- Estructura de tabla para la tabla `User_Rank`
--
CREATE TABLE IF NOT EXISTS `User_Rank` (
`user_id` int(11) NOT NULL,
`rank` int(11) NOT NULL,
`problems_solved_count` int(11) NOT NULL DEFAULT 0,
`score` double NOT NULL DEFAULT 0,
`username` varchar(50) NOT NULL UNIQUE,
`name` varchar(256) DEFAULT NULL,
`country_id` char(3) DEFAULT NULL,
PRIMARY KEY (`user_id`),
KEY (`rank`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guarda el ranking de usuarios por problemas resueltos.';
--
-- Estructura de tabla para la tabla `User_Rank`
--
CREATE TABLE IF NOT EXISTS `Run_Counts` (
`date` DATE NOT NULL,
`total` int(11) NOT NULL DEFAULT 0,
`ac_count` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guarda la cantidad de runs que se han realizado hasta la fecha.';
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `Announcement`
--
ALTER TABLE `Announcement`
ADD CONSTRAINT `fk_au_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Auth_Tokens`
--
ALTER TABLE `Auth_Tokens`
ADD CONSTRAINT `fk_atu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Clarifications`
--
ALTER TABLE `Clarifications`
ADD CONSTRAINT `fk_cp_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cp_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cu_author_id` FOREIGN KEY (`author_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Coder_Of_The_Month`
--
ALTER TABLE `Coder_Of_The_Month`
ADD CONSTRAINT `fk_cotmu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Contests`
--
ALTER TABLE `Contests`
ADD CONSTRAINT `fk_cu_director_id` FOREIGN KEY (`director_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Contests_Users`
--
ALTER TABLE `Contests_Users`
ADD CONSTRAINT `fk_cuc_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cuu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Contest_Access_Log`
--
ALTER TABLE `Contest_Access_Log`
ADD CONSTRAINT `fk_calc_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_calu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `User_Login_Log`
--
ALTER TABLE `User_Login_Log`
ADD CONSTRAINT `fk_ullu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Submission_Log`
--
ALTER TABLE `Submission_Log`
ADD CONSTRAINT `fk_slc_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_slr_run_id` FOREIGN KEY (`run_id`) REFERENCES `Runs` (`run_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_slu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Problem_Tags`
--
ALTER TABLE `Problems_Tags`
ADD CONSTRAINT `fk_ptp_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_ptt_tag_id` FOREIGN KEY (`tag_id`) REFERENCES `Tags` (`tag_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Contest_Problems`
--
ALTER TABLE `Contest_Problems`
ADD CONSTRAINT `fk_cpc_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cpp_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Contest_Problem_Opened`
--
ALTER TABLE `Contest_Problem_Opened`
ADD CONSTRAINT `fk_cpo_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cpo_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_cpo_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Problem_Viewed`
--
ALTER TABLE `Problem_Viewed`
ADD CONSTRAINT `fk_pv_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_pv_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Emails`
--
ALTER TABLE `Emails`
ADD CONSTRAINT `user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Favorites`
--
ALTER TABLE `Favorites`
ADD CONSTRAINT `fk_f_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_f_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Group_Roles`
--
ALTER TABLE `Group_Roles`
ADD CONSTRAINT `fk_gr_role_id` FOREIGN KEY (`role_id`) REFERENCES `Roles` (`role_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_gr_group_id` FOREIGN KEY (`group_id`) REFERENCES `Groups` (`group_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Languages`
--
ALTER TABLE `Languages`
ADD CONSTRAINT `fk_l_country_id` FOREIGN KEY (`country_id`) REFERENCES `Countries` (`country_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Messages`
--
ALTER TABLE `Messages`
ADD CONSTRAINT `fk_m_recipient_id` FOREIGN KEY (`recipient_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_m_sender_id` FOREIGN KEY (`sender_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Problems`
--
ALTER TABLE `Problems`
ADD CONSTRAINT `author_id` FOREIGN KEY (`author_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Problems_Badges`
--
ALTER TABLE `Problems_Badges`
ADD CONSTRAINT `fk_pb_badge_id` FOREIGN KEY (`badge_id`) REFERENCES `Badges` (`badge_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_pb_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Problems_Languages`
--
ALTER TABLE `Problems_Languages`
ADD CONSTRAINT `fk_pl_language_id` FOREIGN KEY (`language_id`) REFERENCES `Languages` (`language_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_pl_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_pl_translator_id` FOREIGN KEY (`translator_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Roles_Permissions`
--
ALTER TABLE `Roles_Permissions`
ADD CONSTRAINT `fk_rp_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `Permissions` (`permission_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_rp_role_id` FOREIGN KEY (`role_id`) REFERENCES `Roles` (`role_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Runs`
--
ALTER TABLE `Runs`
ADD CONSTRAINT `fk_r_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_r_problem_id` FOREIGN KEY (`problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_r_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Schools`
--
ALTER TABLE `Schools`
ADD CONSTRAINT `state_id` FOREIGN KEY (`state_id`) REFERENCES `States` (`state_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_scc_country_id` FOREIGN KEY (`country_id`) REFERENCES `Countries` (`country_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `States`
--
ALTER TABLE `States`
ADD CONSTRAINT `fk_stc_country_id` FOREIGN KEY (`country_id`) REFERENCES `Countries` (`country_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Users`
--
ALTER TABLE `Users`
ADD CONSTRAINT `fk_country_id` FOREIGN KEY (`country_id`) REFERENCES `Countries` (`country_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_main_email_id` FOREIGN KEY (`main_email_id`) REFERENCES `Emails` (`email_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_state_id` FOREIGN KEY (`state_id`) REFERENCES `States` (`state_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `school_id` FOREIGN KEY (`school_id`) REFERENCES `Schools` (`school_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Users_Badges`
--
ALTER TABLE `Users_Badges`
ADD CONSTRAINT `fk_ub_badge_id` FOREIGN KEY (`badge_id`) REFERENCES `Badges` (`badge_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_ub_last_problem_id` FOREIGN KEY (`last_problem_id`) REFERENCES `Problems` (`problem_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_ub_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `User_Roles`
--
ALTER TABLE `User_Roles`
ADD CONSTRAINT `fk_ur_role_id` FOREIGN KEY (`role_id`) REFERENCES `Roles` (`role_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_ur_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `Users_Permissions`
--
ALTER TABLE `Users_Permissions`
ADD CONSTRAINT `fk_up_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `Permissions` (`permission_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_up_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE `Groups`
ADD CONSTRAINT `fk_g_user_id` FOREIGN KEY (`owner_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE `Groups_Users`
ADD CONSTRAINT `fk_gu_user_id` FOREIGN KEY (`user_id`) REFERENCES `Users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_gu_group_id` FOREIGN KEY (`group_id`) REFERENCES `Groups` (`group_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE `Groups_Scoreboards`
ADD CONSTRAINT `fk_gs_user_id` FOREIGN KEY (`group_id`) REFERENCES `Groups` (`group_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE `Groups_Scoreboards_Contests`
ADD CONSTRAINT `fk_gsc_contest_id` FOREIGN KEY (`contest_id`) REFERENCES `Contests` (`contest_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_gsc_group_scoreboard_id` FOREIGN KEY (`group_scoreboard_id`) REFERENCES `Groups_Scoreboards` (`group_scoreboard_id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Update AC Count on grade
--
DELIMITER $$
CREATE TRIGGER `ACUpdate` AFTER UPDATE ON `Runs`
FOR EACH ROW BEGIN
IF (OLD.verdict = 'AC' OR NEW.verdict = 'AC') THEN
UPDATE `Problems` SET `Problems`.`accepted` = (
SELECT COUNT( DISTINCT user_id )
FROM `Runs`
WHERE `Runs`.`verdict` = 'AC'
AND NEW.`problem_id` = `Runs`.`problem_id`
)
WHERE NEW.problem_id = `Problems`.`problem_id`;
END IF;
END$$
DELIMITER ;
CREATE INDEX idx_contest_public ON Contests (`public`);
CREATE INDEX idx_user_roles_contest ON User_Roles (contest_id);
CREATE INDEX idx_contest_director_id ON Contests (director_id);
CREATE INDEX idx_contest_public_director_id ON Contests (`public`, director_id);
CREATE INDEX idx_problems_public ON Problems (`public`);
--
-- Recalcula el ranking de todos los usuarios por Problemas resueltos.
--
DELIMITER $$
CREATE PROCEDURE `Refresh_User_Rank`()
BEGIN
DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK;
DECLARE EXIT HANDLER FOR NOT FOUND ROLLBACK;
DECLARE EXIT HANDLER FOR SQLWARNING ROLLBACK;
START TRANSACTION;
TRUNCATE TABLE `User_Rank`;
SET @prev_value = NULL;
SET @rank_count = 0;
SET @prev_value_ties = NULL;
SET @prev_ties_count = 0;
SET @ties_count = 0;
INSERT INTO
User_Rank (user_id, `rank`, problems_solved_count, score, username, name, country_id)
SELECT
user_id,
`rank`,
problems_solved_count,
score,
username,
name,
country_id
FROM
(
SELECT
problems_solved_count,
username,
score,
name,
country_id,
user_id,
@prev_ties_count := @ties_count as previous_ties_count,
CASE
WHEN @prev_value_ties = score THEN @ties_count := @ties_count + 1
WHEN @prev_value_ties := score THEN @ties_count := 0
END AS ties_count,
CASE
WHEN @prev_value = score THEN @rank_count
WHEN @prev_value := score THEN @rank_count := @rank_count + 1 + @prev_ties_count
END AS `rank`
FROM
(
SELECT
username,
name,
country_id,
up.user_id,
COUNT(ps.problem_id) problems_solved_count,
SUM(ROUND(100 / LOG(2, ps.accepted+1) , 0)) score
FROM
(
SELECT DISTINCT
r.user_id,
r.problem_id
FROM
Runs r
WHERE
r.verdict = 'AC' AND r.test = 0
) AS up
INNER JOIN
Problems ps ON ps.problem_id = up.problem_id AND ps.public = 1
INNER JOIN
Users u ON u.user_id = up.user_id
GROUP BY
user_id
ORDER BY
score DESC
) AS UsersProblemsSolved
) AS `Rank`;
COMMIT;
END$$
DELIMITER ;
GRANT EXECUTE ON PROCEDURE Refresh_User_Rank TO 'omegaup'@'localhost';
--
-- Refresca User_Rank periódicamente
--
DELIMITER $$
CREATE EVENT `Refresh_User_Rank_Event`
ON SCHEDULE EVERY 1 HOUR STARTS NOW()
DO BEGIN
CALL Refresh_User_Rank();
END$$
DELIMITER ;
--
-- Actualiza los run counts cada dia
--
DELIMITER $$
CREATE EVENT `Update_Run_Counts`
ON SCHEDULE EVERY 1 DAY STARTS NOW()
DO BEGIN
INSERT INTO
Run_Counts (`date`, total, ac_count)
SELECT
CURDATE(),
COUNT(*) AS total,
SUM(IF(verdict='AC', 1, 0))
FROM
Runs
WHERE
`time` <= CURDATE();
END$$
DELIMITER ;
COMMIT;
|
create or replace function get_supplied_item_count( p_bpar_id in number ) return number is
v_return number;
begin
select count(1)
into v_return
from items_suppliers
where bpar_id = p_bpar_id;
return v_return;
end;
/
|
DROP TABLE IF EXISTS "ingredients" CASCADE;
DROP TABLE IF EXISTS "instructions" CASCADE;
DROP TABLE IF EXISTS "recipe_ingredients" CASCADE;
DROP TABLE IF EXISTS "recipes" CASCADE;
CREATE TABLE "recipes" (
"id" integer not null generated always as identity,
"name" varchar(50) NOT NULL,
"prep_time" int NOT NULL,
"cook_time" int NOT NULL,
"cuisine" varchar(50) NOT NULL,
"complex" boolean NOT NULL,
primary key (id)
);
CREATE TABLE "ingredients" (
id integer not null generated always as identity,
"name" varchar(50) NOT NULL,
primary key (id)
);
CREATE TABLE "instructions" (
id integer not null generated always as identity,
"recipe_id" int not null,
"step_number" int NOT NULL,
"instructions" varchar(500) NOT NULL,
primary key (id),
FOREIGN KEY (recipe_id) REFERENCES recipes(id)
);
CREATE TABLE "recipe_ingredients" (
"recipe_id" int NOT NULL,
"ingredient_id" int NOT NULL,
"ingredient_amount" varchar(50) NOT NULL,
FOREIGN KEY ("recipe_id") REFERENCES "recipes" ("id"),
FOREIGN KEY ("ingredient_id") REFERENCES "ingredients" ("id")
);
|
CREATE TABLE example (
id INTEGER NOT NULL
);
|
with dtfrom as (
select {{to}}::timestamp - '1 year'::interval as dtfrom
), issues as (
select sub.issue_id,
sub.event_id
from (
select distinct
id as issue_id,
last_value(event_id) over issues_ordered_by_update as event_id,
last_value(closed_at) over issues_ordered_by_update as closed_at
from
gha_issues,
dtfrom
where
created_at >= dtfrom
and created_at < {{to}}
and updated_at < {{to}}
and is_pull_request = true
window
issues_ordered_by_update as (
partition by id
order by
updated_at asc,
event_id asc
range between current row
and unbounded following
)
) sub
where
sub.closed_at is null
), prs as (
select i.issue_id,
i.event_id
from (
select distinct id as pr_id,
last_value(closed_at) over prs_ordered_by_update as closed_at,
last_value(merged_at) over prs_ordered_by_update as merged_at
from
gha_pull_requests,
dtfrom
where
created_at >= dtfrom
and created_at < {{to}}
and updated_at < {{to}}
and event_id > 0
window
prs_ordered_by_update as (
partition by id
order by
updated_at asc,
event_id asc
range between current row
and unbounded following
)
) pr,
issues i,
gha_issues_pull_requests ipr
where
ipr.issue_id = i.issue_id
and ipr.pull_request_id = pr.pr_id
and pr.closed_at is null
and pr.merged_at is null
), pr_sizes as (
select sub.issue_id,
sub.size
from (
select pr.issue_id,
lower(substring(il.dup_label_name from '(?i)size/(.*)')) as size
from
gha_issues_labels il,
prs pr
where
il.issue_id = pr.issue_id
and il.event_id = pr.event_id
) sub
where
sub.size is not null
), pr_sigs as (
select sub2.issue_id,
case sub2.sig
when 'aws' then 'cloud-provider'
when 'azure' then 'cloud-provider'
when 'batchd' then 'cloud-provider'
when 'cloud-provider-aws' then 'cloud-provider'
when 'gcp' then 'cloud-provider'
when 'ibmcloud' then 'cloud-provider'
when 'openstack' then 'cloud-provider'
when 'vmware' then 'cloud-provider'
else sub2.sig
end as sig
from (
select sub.issue_id,
sub.sig
from (
select pr.issue_id,
lower(substring(il.dup_label_name from '(?i)sig/(.*)')) as sig
from
gha_issues_labels il,
prs pr
where
il.issue_id = pr.issue_id
and il.event_id = pr.event_id
) sub
where
sub.sig is not null
and sub.sig not in (
'apimachinery', 'api-machiner', 'cloude-provider', 'nework',
'scalability-proprosals', 'storge', 'ui-preview-reviewes',
'cluster-fifecycle', 'rktnetes'
)
and sub.sig not like '%use-only-as-a-last-resort'
) sub2
), reviewers_text as (
select t.event_id,
pl.issue_id
from
gha_texts t,
gha_payloads pl
where
{{period:t.created_at}}
and t.event_id = pl.event_id
and substring(t.body from '(?i)(?:^|\n|\r)\s*/(?:lgtm|approve)\s*(?:\n|\r|$)') is not null
and (lower(t.actor_login) {{exclude_bots}})
), issue_events as (
select distinct sub.event_id,
sub.issue_id
from (
select min(event_id) as event_id,
issue_id
from
gha_issues_labels
where
{{period:dup_created_at}}
and dup_label_name in ('lgtm', 'approved')
and (lower(dup_actor_login) {{exclude_bots}})
group by
issue_id
union select event_id, issue_id from reviewers_text
) sub
), sig_reviewers as (
select sub2.sig,
count(distinct sub2.dup_actor_login) as rev
from (
select case sub.sig
when 'aws' then 'cloud-provider'
when 'azure' then 'cloud-provider'
when 'batchd' then 'cloud-provider'
when 'cloud-provider-aws' then 'cloud-provider'
when 'gcp' then 'cloud-provider'
when 'ibmcloud' then 'cloud-provider'
when 'openstack' then 'cloud-provider'
when 'vmware' then 'cloud-provider'
else sub.sig
end as sig,
e.dup_actor_login
from (
select distinct issue_id,
lower(substring(dup_label_name from '(?i)sig/(.*)')) as sig
from
gha_issues_labels
) sub,
issue_events ie,
gha_events e
where
sub.sig is not null
and sub.sig not in (
'apimachinery', 'api-machiner', 'cloude-provider', 'nework',
'scalability-proprosals', 'storge', 'ui-preview-reviewes',
'cluster-fifecycle', 'rktnetes'
)
and sub.sig not like '%use-only-as-a-last-resort'
and ie.issue_id = sub.issue_id
and ie.event_id = e.id
) sub2
group by
sub2.sig
)
select
'hpr_wl;sig:s,iss:f,abs:f,rev:f,rel:f;sigs' as metric,
sub.sig,
sub.iss,
sub.abs,
coalesce(sr.rev, 0) as rev,
case coalesce(sr.rev, 0)
when 0 then 0
else sub.abs / sr.rev
end as rel
from (
select
sig.sig as sig,
count(distinct sig.issue_id) as iss,
sum(
case coalesce(siz.size, 'nil')
when 'xs' then 0.25
when 's' then 0.5
when 'small' then 0.5
when 'm' then 1.0
when 'medium' then 1.0
when 'nil' then 1.0
when 'l' then 2.0
when 'large' then 2.0
when 'xl' then 4.0
when 'xxl' then 8.0
else 1.0
end
) as abs
from
pr_sigs sig
left join
pr_sizes siz
on
sig.issue_id = siz.issue_id
group by
sig.sig
) sub
left join
sig_reviewers sr
on
sub.sig = sr.sig
where
sub.sig in (select sig_mentions_labels_name from tsig_mentions_labels)
order by
rel desc,
sub.sig asc
;
|
--
-- Copyright © 2016-2021 The Thingsboard Authors
--
-- 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.
--
CREATE TABLE IF NOT EXISTS tb_schema_settings
(
schema_version bigint NOT NULL,
CONSTRAINT tb_schema_settings_pkey PRIMARY KEY (schema_version)
);
CREATE OR REPLACE PROCEDURE insert_tb_schema_settings()
LANGUAGE plpgsql AS
$$
BEGIN
IF (SELECT COUNT(*) FROM tb_schema_settings) = 0 THEN
INSERT INTO tb_schema_settings (schema_version) VALUES (3003000);
END IF;
END;
$$;
call insert_tb_schema_settings();
CREATE TABLE IF NOT EXISTS admin_settings (
id uuid NOT NULL CONSTRAINT admin_settings_pkey PRIMARY KEY,
created_time bigint NOT NULL,
json_value varchar,
key varchar(255)
);
CREATE TABLE IF NOT EXISTS alarm (
id uuid NOT NULL CONSTRAINT alarm_pkey PRIMARY KEY,
created_time bigint NOT NULL,
ack_ts bigint,
clear_ts bigint,
additional_info varchar,
end_ts bigint,
originator_id uuid,
originator_type integer,
propagate boolean,
severity varchar(255),
start_ts bigint,
status varchar(255),
tenant_id uuid,
propagate_relation_types varchar,
type varchar(255)
);
CREATE TABLE IF NOT EXISTS asset (
id uuid NOT NULL CONSTRAINT asset_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
customer_id uuid,
name varchar(255),
label varchar(255),
search_text varchar(255),
tenant_id uuid,
type varchar(255),
CONSTRAINT asset_name_unq_key UNIQUE (tenant_id, name)
);
CREATE TABLE IF NOT EXISTS audit_log (
id uuid NOT NULL CONSTRAINT audit_log_pkey PRIMARY KEY,
created_time bigint NOT NULL,
tenant_id uuid,
customer_id uuid,
entity_id uuid,
entity_type varchar(255),
entity_name varchar(255),
user_id uuid,
user_name varchar(255),
action_type varchar(255),
action_data varchar(1000000),
action_status varchar(255),
action_failure_details varchar(1000000)
);
CREATE TABLE IF NOT EXISTS attribute_kv (
entity_type varchar(255),
entity_id uuid,
attribute_type varchar(255),
attribute_key varchar(255),
bool_v boolean,
str_v varchar(10000000),
long_v bigint,
dbl_v double precision,
json_v json,
last_update_ts bigint,
CONSTRAINT attribute_kv_pkey PRIMARY KEY (entity_type, entity_id, attribute_type, attribute_key)
);
CREATE TABLE IF NOT EXISTS component_descriptor (
id uuid NOT NULL CONSTRAINT component_descriptor_pkey PRIMARY KEY,
created_time bigint NOT NULL,
actions varchar(255),
clazz varchar UNIQUE,
configuration_descriptor varchar,
name varchar(255),
scope varchar(255),
search_text varchar(255),
type varchar(255)
);
CREATE TABLE IF NOT EXISTS customer (
id uuid NOT NULL CONSTRAINT customer_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
address varchar,
address2 varchar,
city varchar(255),
country varchar(255),
email varchar(255),
phone varchar(255),
search_text varchar(255),
state varchar(255),
tenant_id uuid,
title varchar(255),
zip varchar(255)
);
CREATE TABLE IF NOT EXISTS dashboard (
id uuid NOT NULL CONSTRAINT dashboard_pkey PRIMARY KEY,
created_time bigint NOT NULL,
configuration varchar,
assigned_customers varchar(1000000),
search_text varchar(255),
tenant_id uuid,
title varchar(255)
);
CREATE TABLE IF NOT EXISTS rule_chain (
id uuid NOT NULL CONSTRAINT rule_chain_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
configuration varchar(10000000),
name varchar(255),
type varchar(255),
first_rule_node_id uuid,
root boolean,
debug_mode boolean,
search_text varchar(255),
tenant_id uuid
);
CREATE TABLE IF NOT EXISTS rule_node (
id uuid NOT NULL CONSTRAINT rule_node_pkey PRIMARY KEY,
created_time bigint NOT NULL,
rule_chain_id uuid,
additional_info varchar,
configuration varchar(10000000),
type varchar(255),
name varchar(255),
debug_mode boolean,
search_text varchar(255)
);
CREATE TABLE IF NOT EXISTS rule_node_state (
id uuid NOT NULL CONSTRAINT rule_node_state_pkey PRIMARY KEY,
created_time bigint NOT NULL,
rule_node_id uuid NOT NULL,
entity_type varchar(32) NOT NULL,
entity_id uuid NOT NULL,
state_data varchar(16384) NOT NULL,
CONSTRAINT rule_node_state_unq_key UNIQUE (rule_node_id, entity_id),
CONSTRAINT fk_rule_node_state_node_id FOREIGN KEY (rule_node_id) REFERENCES rule_node(id) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS firmware (
id uuid NOT NULL CONSTRAINT firmware_pkey PRIMARY KEY,
created_time bigint NOT NULL,
tenant_id uuid NOT NULL,
title varchar(255) NOT NULL,
version varchar(255) NOT NULL,
file_name varchar(255),
content_type varchar(255),
checksum_algorithm varchar(32),
checksum varchar(1020),
data oid,
data_size bigint,
additional_info varchar,
search_text varchar(255),
CONSTRAINT firmware_tenant_title_version_unq_key UNIQUE (tenant_id, title, version)
);
CREATE TABLE IF NOT EXISTS device_profile (
id uuid NOT NULL CONSTRAINT device_profile_pkey PRIMARY KEY,
created_time bigint NOT NULL,
name varchar(255),
type varchar(255),
transport_type varchar(255),
provision_type varchar(255),
profile_data jsonb,
description varchar,
search_text varchar(255),
is_default boolean,
tenant_id uuid,
firmware_id uuid,
default_rule_chain_id uuid,
default_queue_name varchar(255),
provision_device_key varchar,
CONSTRAINT device_profile_name_unq_key UNIQUE (tenant_id, name),
CONSTRAINT device_provision_key_unq_key UNIQUE (provision_device_key),
CONSTRAINT fk_default_rule_chain_device_profile FOREIGN KEY (default_rule_chain_id) REFERENCES rule_chain(id),
CONSTRAINT fk_firmware_device_profile FOREIGN KEY (firmware_id) REFERENCES firmware(id)
);
CREATE TABLE IF NOT EXISTS device (
id uuid NOT NULL CONSTRAINT device_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
customer_id uuid,
device_profile_id uuid NOT NULL,
device_data jsonb,
type varchar(255),
name varchar(255),
label varchar(255),
search_text varchar(255),
tenant_id uuid,
firmware_id uuid,
CONSTRAINT device_name_unq_key UNIQUE (tenant_id, name),
CONSTRAINT fk_device_profile FOREIGN KEY (device_profile_id) REFERENCES device_profile(id),
CONSTRAINT fk_firmware_device FOREIGN KEY (firmware_id) REFERENCES firmware(id)
);
CREATE TABLE IF NOT EXISTS device_credentials (
id uuid NOT NULL CONSTRAINT device_credentials_pkey PRIMARY KEY,
created_time bigint NOT NULL,
credentials_id varchar,
credentials_type varchar(255),
credentials_value varchar,
device_id uuid,
CONSTRAINT device_credentials_id_unq_key UNIQUE (credentials_id),
CONSTRAINT device_credentials_device_id_unq_key UNIQUE (device_id)
);
CREATE TABLE IF NOT EXISTS event (
id uuid NOT NULL CONSTRAINT event_pkey PRIMARY KEY,
created_time bigint NOT NULL,
body varchar(10000000),
entity_id uuid,
entity_type varchar(255),
event_type varchar(255),
event_uid varchar(255),
tenant_id uuid,
ts bigint NOT NULL,
CONSTRAINT event_unq_key UNIQUE (tenant_id, entity_type, entity_id, event_type, event_uid)
);
CREATE TABLE IF NOT EXISTS relation (
from_id uuid,
from_type varchar(255),
to_id uuid,
to_type varchar(255),
relation_type_group varchar(255),
relation_type varchar(255),
additional_info varchar,
CONSTRAINT relation_pkey PRIMARY KEY (from_id, from_type, relation_type_group, relation_type, to_id, to_type)
);
-- ) PARTITION BY LIST (relation_type_group);
--
-- CREATE TABLE other_relations PARTITION OF relation DEFAULT;
-- CREATE TABLE common_relations PARTITION OF relation FOR VALUES IN ('COMMON');
-- CREATE TABLE alarm_relations PARTITION OF relation FOR VALUES IN ('ALARM');
-- CREATE TABLE dashboard_relations PARTITION OF relation FOR VALUES IN ('DASHBOARD');
-- CREATE TABLE rule_relations PARTITION OF relation FOR VALUES IN ('RULE_CHAIN', 'RULE_NODE');
CREATE TABLE IF NOT EXISTS tb_user (
id uuid NOT NULL CONSTRAINT tb_user_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
authority varchar(255),
customer_id uuid,
email varchar(255) UNIQUE,
first_name varchar(255),
last_name varchar(255),
search_text varchar(255),
tenant_id uuid
);
CREATE TABLE IF NOT EXISTS tenant_profile (
id uuid NOT NULL CONSTRAINT tenant_profile_pkey PRIMARY KEY,
created_time bigint NOT NULL,
name varchar(255),
profile_data jsonb,
description varchar,
search_text varchar(255),
is_default boolean,
isolated_tb_core boolean,
isolated_tb_rule_engine boolean,
CONSTRAINT tenant_profile_name_unq_key UNIQUE (name)
);
CREATE TABLE IF NOT EXISTS tenant (
id uuid NOT NULL CONSTRAINT tenant_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
tenant_profile_id uuid NOT NULL,
address varchar,
address2 varchar,
city varchar(255),
country varchar(255),
email varchar(255),
phone varchar(255),
region varchar(255),
search_text varchar(255),
state varchar(255),
title varchar(255),
zip varchar(255),
CONSTRAINT fk_tenant_profile FOREIGN KEY (tenant_profile_id) REFERENCES tenant_profile(id)
);
CREATE TABLE IF NOT EXISTS user_credentials (
id uuid NOT NULL CONSTRAINT user_credentials_pkey PRIMARY KEY,
created_time bigint NOT NULL,
activate_token varchar(255) UNIQUE,
enabled boolean,
password varchar(255),
reset_token varchar(255) UNIQUE,
user_id uuid UNIQUE
);
CREATE TABLE IF NOT EXISTS widget_type (
id uuid NOT NULL CONSTRAINT widget_type_pkey PRIMARY KEY,
created_time bigint NOT NULL,
alias varchar(255),
bundle_alias varchar(255),
descriptor varchar(1000000),
name varchar(255),
tenant_id uuid,
image varchar(1000000),
description varchar(255)
);
CREATE TABLE IF NOT EXISTS widgets_bundle (
id uuid NOT NULL CONSTRAINT widgets_bundle_pkey PRIMARY KEY,
created_time bigint NOT NULL,
alias varchar(255),
search_text varchar(255),
tenant_id uuid,
title varchar(255),
image varchar(1000000),
description varchar(255)
);
CREATE TABLE IF NOT EXISTS entity_view (
id uuid NOT NULL CONSTRAINT entity_view_pkey PRIMARY KEY,
created_time bigint NOT NULL,
entity_id uuid,
entity_type varchar(255),
tenant_id uuid,
customer_id uuid,
type varchar(255),
name varchar(255),
keys varchar(10000000),
start_ts bigint,
end_ts bigint,
search_text varchar(255),
additional_info varchar
);
CREATE TABLE IF NOT EXISTS ts_kv_latest
(
entity_id uuid NOT NULL,
key int NOT NULL,
ts bigint NOT NULL,
bool_v boolean,
str_v varchar(10000000),
long_v bigint,
dbl_v double precision,
json_v json,
CONSTRAINT ts_kv_latest_pkey PRIMARY KEY (entity_id, key)
);
CREATE TABLE IF NOT EXISTS ts_kv_dictionary
(
key varchar(255) NOT NULL,
key_id serial UNIQUE,
CONSTRAINT ts_key_id_pkey PRIMARY KEY (key)
);
CREATE TABLE IF NOT EXISTS oauth2_client_registration_info (
id uuid NOT NULL CONSTRAINT oauth2_client_registration_info_pkey PRIMARY KEY,
enabled boolean,
created_time bigint NOT NULL,
additional_info varchar,
client_id varchar(255),
client_secret varchar(255),
authorization_uri varchar(255),
token_uri varchar(255),
scope varchar(255),
user_info_uri varchar(255),
user_name_attribute_name varchar(255),
jwk_set_uri varchar(255),
client_authentication_method varchar(255),
login_button_label varchar(255),
login_button_icon varchar(255),
allow_user_creation boolean,
activate_user boolean,
type varchar(31),
basic_email_attribute_key varchar(31),
basic_first_name_attribute_key varchar(31),
basic_last_name_attribute_key varchar(31),
basic_tenant_name_strategy varchar(31),
basic_tenant_name_pattern varchar(255),
basic_customer_name_pattern varchar(255),
basic_default_dashboard_name varchar(255),
basic_always_full_screen boolean,
custom_url varchar(255),
custom_username varchar(255),
custom_password varchar(255),
custom_send_token boolean
);
CREATE TABLE IF NOT EXISTS oauth2_client_registration (
id uuid NOT NULL CONSTRAINT oauth2_client_registration_pkey PRIMARY KEY,
created_time bigint NOT NULL,
domain_name varchar(255),
domain_scheme varchar(31),
client_registration_info_id uuid
);
CREATE TABLE IF NOT EXISTS oauth2_client_registration_template (
id uuid NOT NULL CONSTRAINT oauth2_client_registration_template_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
provider_id varchar(255),
authorization_uri varchar(255),
token_uri varchar(255),
scope varchar(255),
user_info_uri varchar(255),
user_name_attribute_name varchar(255),
jwk_set_uri varchar(255),
client_authentication_method varchar(255),
type varchar(31),
basic_email_attribute_key varchar(31),
basic_first_name_attribute_key varchar(31),
basic_last_name_attribute_key varchar(31),
basic_tenant_name_strategy varchar(31),
basic_tenant_name_pattern varchar(255),
basic_customer_name_pattern varchar(255),
basic_default_dashboard_name varchar(255),
basic_always_full_screen boolean,
comment varchar,
login_button_icon varchar(255),
login_button_label varchar(255),
help_link varchar(255),
CONSTRAINT oauth2_template_provider_id_unq_key UNIQUE (provider_id)
);
CREATE TABLE IF NOT EXISTS api_usage_state (
id uuid NOT NULL CONSTRAINT usage_record_pkey PRIMARY KEY,
created_time bigint NOT NULL,
tenant_id uuid,
entity_type varchar(32),
entity_id uuid,
transport varchar(32),
db_storage varchar(32),
re_exec varchar(32),
js_exec varchar(32),
email_exec varchar(32),
sms_exec varchar(32),
CONSTRAINT api_usage_state_unq_key UNIQUE (tenant_id, entity_id)
);
CREATE TABLE IF NOT EXISTS resource (
id uuid NOT NULL CONSTRAINT resource_pkey PRIMARY KEY,
created_time bigint NOT NULL,
tenant_id uuid NOT NULL,
title varchar(255) NOT NULL,
resource_type varchar(32) NOT NULL,
resource_key varchar(255) NOT NULL,
search_text varchar(255),
file_name varchar(255) NOT NULL,
data varchar,
CONSTRAINT resource_unq_key UNIQUE (tenant_id, resource_type, resource_key)
);
CREATE TABLE IF NOT EXISTS edge (
id uuid NOT NULL CONSTRAINT edge_pkey PRIMARY KEY,
created_time bigint NOT NULL,
additional_info varchar,
customer_id uuid,
root_rule_chain_id uuid,
type varchar(255),
name varchar(255),
label varchar(255),
routing_key varchar(255),
secret varchar(255),
edge_license_key varchar(30),
cloud_endpoint varchar(255),
search_text varchar(255),
tenant_id uuid,
CONSTRAINT edge_name_unq_key UNIQUE (tenant_id, name),
CONSTRAINT edge_routing_key_unq_key UNIQUE (routing_key)
);
CREATE TABLE IF NOT EXISTS edge_event (
id uuid NOT NULL CONSTRAINT edge_event_pkey PRIMARY KEY,
created_time bigint NOT NULL,
edge_id uuid,
edge_event_type varchar(255),
edge_event_uid varchar(255),
entity_id uuid,
edge_event_action varchar(255),
body varchar(10000000),
tenant_id uuid,
ts bigint NOT NULL
);
CREATE OR REPLACE PROCEDURE cleanup_events_by_ttl(IN ttl bigint, IN debug_ttl bigint, INOUT deleted bigint)
LANGUAGE plpgsql AS
$$
DECLARE
ttl_ts bigint;
debug_ttl_ts bigint;
ttl_deleted_count bigint DEFAULT 0;
debug_ttl_deleted_count bigint DEFAULT 0;
BEGIN
IF ttl > 0 THEN
ttl_ts := (EXTRACT(EPOCH FROM current_timestamp) * 1000 - ttl::bigint * 1000)::bigint;
EXECUTE format(
'WITH deleted AS (DELETE FROM event WHERE ts < %L::bigint AND (event_type != %L::varchar AND event_type != %L::varchar) RETURNING *) SELECT count(*) FROM deleted', ttl_ts, 'DEBUG_RULE_NODE', 'DEBUG_RULE_CHAIN') into ttl_deleted_count;
END IF;
IF debug_ttl > 0 THEN
debug_ttl_ts := (EXTRACT(EPOCH FROM current_timestamp) * 1000 - debug_ttl::bigint * 1000)::bigint;
EXECUTE format(
'WITH deleted AS (DELETE FROM event WHERE ts < %L::bigint AND (event_type = %L::varchar OR event_type = %L::varchar) RETURNING *) SELECT count(*) FROM deleted', debug_ttl_ts, 'DEBUG_RULE_NODE', 'DEBUG_RULE_CHAIN') into debug_ttl_deleted_count;
END IF;
RAISE NOTICE 'Events removed by ttl: %', ttl_deleted_count;
RAISE NOTICE 'Debug Events removed by ttl: %', debug_ttl_deleted_count;
deleted := ttl_deleted_count + debug_ttl_deleted_count;
END
$$;
CREATE OR REPLACE FUNCTION to_uuid(IN entity_id varchar, OUT uuid_id uuid) AS
$$
BEGIN
uuid_id := substring(entity_id, 8, 8) || '-' || substring(entity_id, 4, 4) || '-1' || substring(entity_id, 1, 3) ||
'-' || substring(entity_id, 16, 4) || '-' || substring(entity_id, 20, 12);
END;
$$ LANGUAGE plpgsql;
CREATE OR REPLACE PROCEDURE cleanup_edge_events_by_ttl(IN ttl bigint, INOUT deleted bigint)
LANGUAGE plpgsql AS
$$
DECLARE
ttl_ts bigint;
ttl_deleted_count bigint DEFAULT 0;
BEGIN
IF ttl > 0 THEN
ttl_ts := (EXTRACT(EPOCH FROM current_timestamp) * 1000 - ttl::bigint * 1000)::bigint;
EXECUTE format(
'WITH deleted AS (DELETE FROM edge_event WHERE ts < %L::bigint RETURNING *) SELECT count(*) FROM deleted', ttl_ts) into ttl_deleted_count;
END IF;
RAISE NOTICE 'Edge events removed by ttl: %', ttl_deleted_count;
deleted := ttl_deleted_count;
END
$$;
|
CREATE TABLE department (
id INTEGER AUTO_INCREMENT PRIMARY KEY,
department_name VARCHAR(30) NOT NULL
);
CREATE TABLE roles (
id INTEGER AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(30) NOT NULL,
salary DECIMAL NOT NULL,
department_id INT NOT NULL
);
CREATE TABLE employee (
id INTEGER AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30),
role_id INT NOT NULL
manager_id INTEGER,
CONSTRAINT fk_manager FOREIGN KEY (manager) REFERENCES parties(id) ON DELETE SET NULL
);
CREATE TABLE manager (
id INTEGER AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL,
)
|
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Hôte : localhost
-- Généré le : mer. 20 nov. 2019 à 10:31
-- Version du serveur : 10.1.41-MariaDB-1~jessie
-- Version de PHP : 5.6.40-0+deb8u6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `lsrpf1089253`
--
-- --------------------------------------------------------
--
-- Structure de la table `compte`
--
CREATE TABLE `compte` (
`id` int(11) NOT NULL,
`utilisateur` varchar(255) COLLATE utf8_bin NOT NULL,
`mdp` varchar(255) COLLATE utf8_bin NOT NULL,
`prenom` varchar(255) COLLATE utf8_bin NOT NULL,
`nom` varchar(255) COLLATE utf8_bin NOT NULL,
`mail` varchar(255) COLLATE utf8_bin NOT NULL,
`description` longtext COLLATE utf8_bin NOT NULL,
`images` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '\\img\\Sans_titre.png',
`newsletters` varchar(255) COLLATE utf8_bin DEFAULT 'OUI'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `compte`
--
INSERT INTO `compte` (`id`, `utilisateur`, `mdp`, `prenom`, `nom`, `mail`, `description`, `images`, `newsletters`) VALUES
(7, 'David Petit', 'petit37000', 'David', 'Petit', '[email protected]', 'Gouverneur de cette ville', '\\img\\Sans_titre.png', 'OUI'),
(8, 'Rudi', 'motdepasse', 'Oleg', 'Koltsov', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(9, 'Axemen', 'Vivian1998', 'Zach', 'Florrick', '[email protected]', 'J\'aime le chocolat', '\\img\\Sans_titre.png', 'OUI'),
(15, 'octave', 'chelan32', 'Pedro', 'Minero', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(16, 'paysans01', '060689', 'Robert ', 'Petite Cours', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(17, 'Alain_mich', 'Gokussj3', 'James', 'Rayote', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(18, 'ARIvan', 'Arivan2004', 'Franck', 'Jeferson', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(19, 'Axeldu45', 'loulou45', 'Bertrand', 'BACHELET', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(22, 'Thematt69', 'thematt69', 'Aaron', 'Barton', '[email protected]', 'Bla Bla Bla', '\\img\\Sans_titre.png', 'OUI'),
(23, 'LaPizzaTV', '161194', 'Rivington', 'McReary', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(28, '[email protected]', '12346oiu', 'geral', 'dewet', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(29, 'RABELOC', 'DAOmalick122', 'RABELOC', 'JON', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI'),
(30, 'Adam', '666', 'Adam', 'Boug', '[email protected]', '', '\\img\\Sans_titre.png', 'OUI');
-- --------------------------------------------------------
--
-- Structure de la table `compte_pvcb`
--
CREATE TABLE `compte_pvcb` (
`id` int(11) NOT NULL,
`nom` varchar(255) COLLATE utf8_bin NOT NULL,
`mdp` varchar(255) COLLATE utf8_bin NOT NULL,
`prenom` varchar(255) COLLATE utf8_bin NOT NULL,
`telephone` varchar(255) COLLATE utf8_bin NOT NULL,
`mail` varchar(255) COLLATE utf8_bin NOT NULL,
`vol` int(11) DEFAULT NULL,
`jour` date DEFAULT NULL,
`compagnie` varchar(255) COLLATE utf8_bin DEFAULT NULL,
`depart_prevue` time DEFAULT NULL,
`depart_reelle` time DEFAULT NULL,
`arrive_prevue` time DEFAULT NULL,
`arrive_reelle` time DEFAULT NULL,
`parrain` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Déchargement des données de la table `compte_pvcb`
--
INSERT INTO `compte_pvcb` (`id`, `nom`, `mdp`, `prenom`, `telephone`, `mail`, `vol`, `jour`, `compagnie`, `depart_prevue`, `depart_reelle`, `arrive_prevue`, `arrive_reelle`, `parrain`) VALUES
(4, 'Devilliers', 'thematt69', 'Matthieu', '0645564845', '[email protected]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
--
-- Index pour les tables déchargées
--
--
-- Index pour la table `compte`
--
ALTER TABLE `compte`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `compte_pvcb`
--
ALTER TABLE `compte_pvcb`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT pour les tables déchargées
--
--
-- AUTO_INCREMENT pour la table `compte`
--
ALTER TABLE `compte`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;
--
-- AUTO_INCREMENT pour la table `compte_pvcb`
--
ALTER TABLE `compte_pvcb`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
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 */;
|
-- Query for: 22. Object Counts
SELECT DatabaseName,
CASE TableKind
when 'A' then 'Aggregate function'
when 'B' then 'Combined aggregate and ordered analytical function'
when 'C' then 'Table operator parser contract function'
when 'D' then 'JAR'
when 'E' then 'External stored procedure'
when 'F' then 'Standard function'
when 'G' then 'Trigger'
when 'H' then 'Instance or constructor method'
when 'I' then 'Join index'
when 'J' then 'Journal'
when 'K' then 'Foreign server object'
when 'L' then 'User-defined table operator'
when 'M' then 'Macro'
when 'N' then 'Hash index'
when 'O' then 'Table with no primary index and no partitioning'
when 'P' then 'Stored procedure'
when 'Q' then 'Queue table'
when 'R' then 'Table function'
when 'S' then 'Ordered analytical function'
when 'T' then 'Table'
when 'U' then 'User-defined data type'
when 'V' then 'View'
when 'W' then 'W?'
when 'X' then 'Authorization'
when 'Y' then 'GLOP set'
when 'Z' then 'UIF'
when '1' then 'Dataset Schema Object'
else TableKind || '?'
END ObjectKind, COUNT(*) ObjectCount
FROM DBC.TablesV
WHERE DatabaseName NOT IN ('console', 'DBC', 'dbcmngr', 'LockLogShredder', 'SQLJ', 'SysAdmin', 'SYSBAR', 'SYSJDBC', 'SYSLIB', 'SYSSPATIAL',
'SystemFe', 'SYSUDTLIB', 'SYSUIF', 'Sys_Calendar', 'TDQCD', 'TDStats', 'tdwm', 'TD_SERVER_DB', 'TD_SYSFNLIB', 'TD_SYSGPL','TD_SYSXML',
'PDCRAdmin','PDCRCanary1M','PDCRINFO','PDCRSTG','PDCRCanary0M','PDCRCanary2M','PDCRCanary3M','PDCRADM','PDCRAccess','PDCRTPCD','PDCRCanary4M','PDCRDATA','TDMaps')
GROUP BY DatabaseName, TableKind
ORDER BY 1;
|
set "operator.kafka.messageserializerclass"="kafka.serializer.StringEncoder";
set "operator.kafka.zookeepers"="localhost:2181,158.1.130.21:2181";
set "operator.kafka.brokers"="158.1.130.12:9092";
set "operator.kafka.zksessiontimeout"="20000";
set "operator.kafka.zksynctime"="20000";
set "serde.simpleserde.separator" = ",";
create input stream S
(id int ,name String,type int)
SERDE SimpleSerDe
SOURCE 'com.huawei.streaming.operator.inputstream.KafkaSourceOp'
PROPERTIES ("operator.kafka.groupid" = "gidkpi_1_1","operator.kafka.topic"="agg_1_1");
create output stream rs
(id string,name string,type int,cc int)
SERDE SimpleSerDe
SINK 'com.huawei.streaming.operator.outputstream.KafkaFunctionOp'
PROPERTIES ("operator.kafka.topic"="agg_1_2");
insert into stream rs select *,count(id) from (select id,name,id as type from (select id,name,id as id from S))[range 20 seconds batch] where id > 5 group by type;
explain application subquery;
|
/*L
Copyright SAIC
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cabio/LICENSE.txt for details.
L*/
drop index SYS_C0021056_IDX;
drop index AR_GO_MO_TMP_PROBE_SET_;
drop index AR_GO_MO_TMP_ACCESSION_;
drop index AR_GO_MO_TMP_DESCRIPTIO;
drop index AR_GO_MO_TMP_EVIDENCE;
drop index AR_GO_MO_TMP_GENECHIP_A;
--EXIT;
|
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 30, 2020 at 10:18 AM
-- Server version: 10.4.13-MariaDB
-- PHP Version: 7.4.8
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: `spanew`
--
-- --------------------------------------------------------
--
-- Table structure for table `admins`
--
CREATE TABLE `admins` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`email` text COLLATE utf8mb4_unicode_ci NOT NULL,
`password` text COLLATE utf8mb4_unicode_ci NOT NULL,
`image` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `admins`
--
INSERT INTO `admins` (`id`, `name`, `email`, `password`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'fahim', '[email protected]', '$2y$10$pAlKE3Ez5cm7HsatQrCF6uXIdzvCNEuFKcPxlGrTBILsXkSAKYnxe', 'images/admin/s2bmYopr2lIkU6J4dfNuyuroPqt6apNcaKZBUady.jpeg', 1, '2020-08-17 08:24:40', '2020-09-28 06:58:32'),
(2, 'muntasir', '[email protected]', '$2y$10$KJMPPkeoEtFwBqlM2ltn7.o/316tDixS/vCAdGZc.buDoVKWuyiTy', NULL, 1, '2020-09-28 02:54:48', '2020-09-28 02:54:48');
-- --------------------------------------------------------
--
-- Table structure for table `attributes`
--
CREATE TABLE `attributes` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `attributes`
--
INSERT INTO `attributes` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'size', 1, '2020-09-05 01:27:27', '2020-09-05 01:27:27'),
(2, 'color', 1, '2020-09-05 01:27:52', '2020-09-05 01:27:52');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` text COLLATE utf8mb4_unicode_ci NOT NULL,
`icon_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_selected` int(11) NOT NULL,
`status` int(11) NOT NULL,
`isSerialize` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `name`, `slug`, `icon_image`, `is_selected`, `status`, `isSerialize`, `created_at`, `updated_at`) VALUES
(1, 'mens Fashion', '1-Fashion', NULL, 1, 1, 3, '2020-09-14 01:15:02', '2020-09-14 01:21:06'),
(2, 'womens Fashin', '2-Fashion', NULL, 1, 1, 2, '2020-09-14 01:15:30', '2020-09-14 01:15:30'),
(3, 'computer laaptop', '3-laptop', NULL, 1, 1, 1, '2020-09-14 01:15:39', '2020-09-14 01:20:40'),
(4, 'Winter Collection', '4-Collection', NULL, 1, 1, NULL, '2020-09-14 05:21:59', '2020-09-14 05:22:54'),
(5, 'Mobile & tab', '1004-tab', NULL, 1, 1, NULL, '2020-09-19 05:33:55', '2020-09-19 05:33:55'),
(6, 'amni', '1005-amni', 'images/category/NaMA2l1tXjmijmCYscYTkuOxpQulzGiIybQ4gDy6.jpeg', 1, 1, NULL, '2020-09-21 13:06:03', '2020-09-21 13:06:03'),
(7, 'polo-t-shirt', '1006-polo-t-shirt', NULL, 1, 1, NULL, '2020-09-28 05:07:04', '2020-09-28 05:07:04');
-- --------------------------------------------------------
--
-- Table structure for table `cities`
--
CREATE TABLE `cities` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`delivery_charge` int(11) NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `cities`
--
INSERT INTO `cities` (`id`, `name`, `delivery_charge`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Gunnarshire', 108, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(2, 'West Carli', 111, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(3, 'Candidoside', 109, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(4, 'South Reannashire', 73, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(5, 'Marlonmouth', 68, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(6, 'Angelinebury', 78, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(7, 'North Princehaven', 58, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(8, 'East Onaville', 116, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(9, 'Port Favianshire', 41, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(10, 'South Lorine', 119, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(11, 'West Carrie', 75, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(12, 'Port Caterinaborough', 103, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(13, 'Jadeburgh', 40, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(14, 'Connellyview', 83, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(15, 'South Helgahaven', 74, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(16, 'Dickensfurt', 83, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(17, 'East Rudolphmouth', 56, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(18, 'Josebury', 93, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(19, 'West Zackland', 73, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(20, 'Billyton', 56, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(21, 'Loyceton', 97, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(22, 'Schulistberg', 75, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(23, 'Port Anibalmouth', 119, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(24, 'Millsmouth', 75, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(25, 'West Vivianeton', 51, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(26, 'West Chaz', 98, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(27, 'East Lilyanbury', 43, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(28, 'South Yvonnebury', 62, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(29, 'Stephonhaven', 58, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(30, 'Quitzonfort', 69, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(31, 'East Johnpaul', 77, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(32, 'Lake Wiltonfurt', 48, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(33, 'Joaquinville', 51, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(34, 'Koeppfurt', 90, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(35, 'New Aminafurt', 115, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(36, 'Port Hunterville', 51, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(37, 'Theodoreburgh', 43, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(38, 'Lake Stefanieborough', 74, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(39, 'New Devinburgh', 43, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(40, 'North Catalinaborough', 102, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(41, 'Francofort', 67, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(42, 'Linnieton', 44, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(43, 'Lake Tryciaport', 82, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(44, 'Stehrstad', 110, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(45, 'Port Devenbury', 113, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(46, 'Lake Brendanmouth', 64, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(47, 'North Emersonfort', 74, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(48, 'North Enolastad', 59, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(49, 'North Zachariah', 63, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(50, 'Port Jack', 108, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(51, 'East Horace', 103, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(52, 'South Khalil', 93, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(53, 'Alliechester', 108, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(54, 'East Jeffery', 76, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(55, 'Huelstown', 70, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(56, 'Carterfort', 112, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(57, 'East Gloria', 72, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(58, 'Lake Sydneemouth', 100, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(59, 'North Germainefurt', 79, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(60, 'New Lelah', 92, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(61, 'Turnershire', 84, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(62, 'New Maud', 111, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(63, 'Port Irvingfurt', 80, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(64, 'South Chayamouth', 79, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(65, 'Zemlakmouth', 62, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(66, 'Schroedertown', 45, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(67, 'East Mariam', 75, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(68, 'South Tania', 87, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(69, 'Carlifort', 79, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(70, 'Wiegandmouth', 89, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(71, 'Port Kendall', 60, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(72, 'Jordybury', 64, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(73, 'Greenfelderview', 77, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(74, 'Bauchstad', 71, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(75, 'Mitchellport', 100, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(76, 'Lake Arvilla', 47, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(77, 'Ramiroland', 64, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(78, 'Abshireport', 67, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(79, 'Hillardport', 66, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(80, 'Mullermouth', 89, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(81, 'Dooleyside', 49, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(82, 'Lake Collin', 66, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(83, 'North Carrieshire', 120, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(84, 'West Elaina', 70, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(85, 'Albinfort', 80, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(86, 'New Reecefurt', 120, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(87, 'West Freddie', 46, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(88, 'Shyannebury', 101, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(89, 'North Arielle', 104, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(90, 'Meredithshire', 78, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(91, 'Conniemouth', 104, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(92, 'Lake Dustinhaven', 111, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(93, 'Kuhlmantown', 77, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(94, 'Lucieborough', 56, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(95, 'Mooreland', 86, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(96, 'North Nicolette', 62, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(97, 'South Sabina', 74, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(98, 'Camronborough', 91, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(99, 'Tannerview', 41, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(100, 'New Fredy', 111, 1, '2020-09-05 00:41:00', '2020-09-05 00:41:00'),
(101, 'Dhaka', 90, 1, '2020-09-21 23:14:36', '2020-09-21 23:14:36');
-- --------------------------------------------------------
--
-- Table structure for table `comments`
--
CREATE TABLE `comments` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `coupons`
--
CREATE TABLE `coupons` (
`id` bigint(20) UNSIGNED NOT NULL,
`coupon_code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` int(11) NOT NULL,
`value` int(11) NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`expire_date` date NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `couriers`
--
CREATE TABLE `couriers` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `couriers`
--
INSERT INTO `couriers` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Casey Hill MD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(2, 'Rollin Skiles', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(3, 'Hershel Yundt', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(4, 'Ned Dooley', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(5, 'Chanel Ruecker', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(6, 'Elliott Durgan DDS', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(7, 'Jacinthe Braun', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(8, 'Ova Bogan', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(9, 'Ericka O\'Conner', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(10, 'Krista Jast', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(11, 'Llewellyn Wiza', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(12, 'Liza Haley', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(13, 'Mikel Lind V', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(14, 'Mr. Manuela Gislason', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(15, 'Mona Wiza', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(16, 'Mrs. Leilani Howe PhD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(17, 'Lucy Kautzer', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(18, 'Frederik Nolan PhD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(19, 'Chauncey Fadel', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(20, 'Dr. Zoila Kemmer', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(21, 'Kenyon Parisian', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(22, 'Virginie Upton Jr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(23, 'Jedediah Hartmann', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(24, 'Mr. Torey Braun DDS', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(25, 'Solon Schaden', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(26, 'Carroll Feil', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(27, 'Dr. Westley Rice', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(28, 'Ms. Beverly Keeling', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(29, 'Prof. Peyton Romaguera II', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(30, 'Haskell Murphy', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(31, 'Lawrence Parker', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(32, 'Cortney Rosenbaum', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(33, 'Ms. Vivien Krajcik', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(34, 'Karen Strosin', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(35, 'Dr. Sincere Jacobson MD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(36, 'Celestino Hudson', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(37, 'Mr. Damian Romaguera IV', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(38, 'Leilani Cassin', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(39, 'Fletcher Mosciski DDS', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(40, 'Dr. Buster Shanahan Sr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(41, 'Amya McLaughlin', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(42, 'Mrs. Elza Kautzer DVM', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(43, 'Prof. Johnathon Beahan', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(44, 'Margaret Sipes Jr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(45, 'Dr. Osborne Fisher Sr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(46, 'Robert Purdy', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(47, 'Dawn Larson', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(48, 'Leila Balistreri PhD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(49, 'Jay Stark', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(50, 'Dayna Hackett', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(51, 'Holly O\'Conner', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(52, 'Ms. Clare Cremin', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(53, 'Shirley Witting', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(54, 'Mia Douglas', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(55, 'Arianna Waters', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(56, 'Eunice Barrows DDS', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(57, 'Dr. Austin Donnelly MD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(58, 'Catherine Runolfsdottir Sr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(59, 'Lila Kiehn', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(60, 'Antonetta Senger', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(61, 'Davon Gulgowski', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(62, 'Prof. Marina Jakubowski', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(63, 'Kamren Effertz', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(64, 'Markus Zboncak', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(65, 'Nedra Mills', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(66, 'Jared Kshlerin', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(67, 'Vickie Stehr', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(68, 'Mr. Jerod Waelchi Sr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(69, 'Nathaniel Ullrich', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(70, 'Jordane Renner', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(71, 'Alan Goodwin III', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(72, 'Michaela Feil', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(73, 'Dino Keebler', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(74, 'Tatum Block', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(75, 'Mariana Friesen', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(76, 'Dr. Adriana Conroy MD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(77, 'Stacy Wilkinson', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(78, 'Pattie Quitzon', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(79, 'Jerrod Conn', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(80, 'Cassie Osinski Jr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(81, 'Prof. Brayan Haag V', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(82, 'Dr. Julian Lind', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(83, 'Kristofer Connelly', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(84, 'Clark Gibson Jr.', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(85, 'Savannah Aufderhar', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(86, 'Marlen Zulauf', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(87, 'Bianka Heidenreich', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(88, 'Mrs. Vicky Lang', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(89, 'Kelton Feest', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(90, 'Andrew Schiller MD', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(91, 'Hipolito Morar', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(92, 'Dr. Al Rosenbaum II', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(93, 'Charlotte McClure', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(94, 'Amanda Schinner', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(95, 'Evert Terry', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(96, 'Jaiden Buckridge', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(97, 'Tito Shields', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(98, 'Christop Grady', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(99, 'Mr. Freddie Ruecker', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(100, 'Kaelyn Hill', 1, '2020-09-05 00:42:16', '2020-09-05 00:42:16'),
(101, 'sundorbhan', 1, '2020-09-21 23:14:20', '2020-09-21 23:14:20');
-- --------------------------------------------------------
--
-- Table structure for table `credits`
--
CREATE TABLE `credits` (
`id` bigint(20) UNSIGNED NOT NULL,
`date` date NOT NULL COMMENT 'date',
`purpose` text COLLATE utf8mb4_unicode_ci NOT NULL,
`amount` double(8,2) NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`insert_admin_id` int(11) NOT NULL COMMENT 'store_admin_id',
`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 `credits`
--
INSERT INTO `credits` (`id`, `date`, `purpose`, `amount`, `comment`, `insert_admin_id`, `created_at`, `updated_at`) VALUES
(3, '2020-09-27', 'test 2', 12454.00, 'gfgytfv', 1, '2020-09-27 01:15:29', '2020-09-27 02:08:57'),
(6, '2020-09-21', 'test', 150.00, '120', 1, '2020-09-27 01:40:22', '2020-09-27 02:02:31'),
(8, '2020-09-27', '1520', 1200.00, 'hghg', 1, '2020-09-27 03:51:24', '2020-09-27 03:51:24'),
(9, '2020-09-27', 'Dhaka', 150.00, '12', 1, '2020-09-27 03:54:59', '2020-09-27 03:54:59'),
(10, '2020-09-25', 'gajje', 1225.00, '12', 1, '2020-09-27 03:57:53', '2020-09-27 03:57:53'),
(11, '2020-09-28', 'jhyghfvhf', 120.00, '10', 1, '2020-09-28 07:00:40', '2020-09-28 07:00:40');
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE `customers` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`city_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `customers`
--
INSERT INTO `customers` (`id`, `name`, `phone`, `address`, `city_id`, `created_at`, `updated_at`) VALUES
(1, 'Fahim Chowdhury', '01795297424', 'Dhaka', 1, '2020-09-05 12:13:07', '2020-09-17 01:30:27'),
(2, 'Fahim', '01795297449', 'Muntasir', 0, '2020-09-05 12:27:14', '2020-09-05 12:27:14'),
(4, 'Fahim', '01795297420', 'Dhaka', 1, '2020-09-16 05:51:49', '2020-09-16 05:51:49'),
(5, 'Fahim', '01795297421', 'Dhaka', 1, '2020-09-16 05:53:19', '2020-09-16 05:53:19'),
(6, 'Fahim Muntasir', '01795297426', 'Dhaka', 18, '2020-09-17 00:52:51', '2020-09-17 00:52:51'),
(7, 'Fahim', '01770280894', 'Dhaka', 6, '2020-09-22 06:49:02', '2020-09-22 06:49:02');
-- --------------------------------------------------------
--
-- Table structure for table `debits`
--
CREATE TABLE `debits` (
`id` bigint(20) UNSIGNED NOT NULL,
`date` date NOT NULL COMMENT 'date',
`purpose` text COLLATE utf8mb4_unicode_ci NOT NULL,
`amount` double(8,2) NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`insert_admin_id` int(11) NOT NULL COMMENT 'store_admin_id',
`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 `debits`
--
INSERT INTO `debits` (`id`, `date`, `purpose`, `amount`, `comment`, `insert_admin_id`, `created_at`, `updated_at`) VALUES
(1, '2020-09-26', 'Dhaka', 12000.00, '120', 1, '2020-09-27 04:00:31', '2020-09-27 04:12:39'),
(3, '2020-09-21', 'amni', 14000.00, 'heklk', 1, '2020-09-27 06:33:15', '2020-09-27 06:33:15'),
(4, '2020-09-27', 'amni 2', 150.00, '444', 1, '2020-09-27 06:40:07', '2020-09-27 06:40:07');
-- --------------------------------------------------------
--
-- Table structure for table `merchants`
--
CREATE TABLE `merchants` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`company_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`password` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `merchants`
--
INSERT INTO `merchants` (`id`, `name`, `company_name`, `phone`, `address`, `status`, `password`, `created_at`, `updated_at`) VALUES
(1, 'Fahim', 'Mohasagor', '01795297424', 'Dhaka', 1, '$2y$10$tQwYydnk.wMIWUfnK0lkFeo2OCwIFBJNLewjpHT8kt9VqV4cwDTRG', '2020-09-06 08:13:33', '2020-09-06 08:13:33'),
(2, 'Kawser', 'nm clothing', '01795297425', 'Dhaka', 1, '$2y$10$hs0qZErVxuy.jUMISyJBoukILI8Uu64iVhpHVbDK0v9wyXSLcqW8K', '2020-09-19 01:19:28', '2020-09-19 01:19:28');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) 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
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2020_08_13_074443_create_categories_table', 1),
(4, '2020_08_17_060825_create_admins_table', 1),
(5, '2020_08_18_122228_create_sub_categories_table', 2),
(6, '2020_08_19_053842_create_sub_sub_categories_table', 2),
(7, '2020_08_19_081000_create_sliders_table', 2),
(8, '2020_08_19_104901_create_attributes_table', 2),
(9, '2020_08_19_105047_create_variants_table', 2),
(10, '2020_08_23_052431_create_merchants_table', 3),
(11, '2020_08_23_064414_create_couriers_table', 3),
(12, '2020_08_23_064458_create_cities_table', 3),
(13, '2020_08_23_075702_create_comments_table', 3),
(14, '2020_08_23_093241_create_products_table', 3),
(15, '2020_08_23_093326_create_product_images_table', 3),
(16, '2020_08_24_051714_create_product_variants_table', 3),
(17, '2020_08_24_052410_create_product_attributes_table', 3),
(18, '2020_08_25_055640_create_coupons_table', 3),
(19, '2020_08_25_082149_create_product_barcodes_table', 3),
(20, '2020_08_26_111627_create_purchases_table', 3),
(21, '2020_08_29_113350_create_purchaseitems_table', 3),
(29, '2020_09_05_164925_create_orders_table', 5),
(30, '2020_09_05_165048_create_order_items_table', 5),
(31, '2020_09_05_172052_create_customers_table', 5),
(32, '2020_08_31_110050_create_offers_table', 6),
(35, '2014_10_12_000000_create_users_table', 7),
(38, '2020_09_27_054030_create_debits_table', 8),
(39, '2020_09_27_054933_create_credits_table', 8);
-- --------------------------------------------------------
--
-- Table structure for table `offers`
--
CREATE TABLE `offers` (
`id` bigint(20) UNSIGNED NOT NULL,
`image` text COLLATE utf8mb4_unicode_ci NOT NULL,
`url` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `offers`
--
INSERT INTO `offers` (`id`, `image`, `url`, `status`, `created_at`, `updated_at`) VALUES
(6, 'images/offer/3rRFCSbUJ2URuWQX1xxlJVZGrUAMakzc0I3u7Uxk.jpeg', '#', 1, '2020-09-20 04:11:27', '2020-09-20 04:11:27'),
(7, 'images/offer/ZO9xCVcHJ11d19jgp8ksg5koulAOnuNR7so5fkpt.jpeg', 'http://127.0.0.1:8000/public/category/products/1-Fashion', 1, '2020-09-20 04:23:38', '2020-09-20 04:23:38'),
(8, 'images/offer/8h3Va0woi56vEzUe8HITYgVCTwf8YFjPw0Xb8uT4.jpeg', '#', 1, '2020-09-20 04:23:46', '2020-09-20 04:23:46'),
(9, 'images/offer/de01jrJ9kBJgXZKsxdEzonYl0b8Gc3qf1LFdmACl.jpeg', '#', 1, '2020-09-20 04:29:32', '2020-09-20 04:29:32'),
(10, 'images/offer/f6HQvhc6Ih158W6l79eEK9zofrciPXvB7Z47SoWI.jpeg', '#', 1, '2020-09-22 00:02:18', '2020-09-22 00:02:18');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`id` bigint(20) UNSIGNED NOT NULL,
`invoice_no` int(11) NOT NULL,
`order_type` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`cutomer_phone` text COLLATE utf8mb4_unicode_ci NOT NULL,
`city_id` int(11) NOT NULL,
`courier_id` int(11) DEFAULT NULL,
`shipping_cost` int(11) NOT NULL DEFAULT 0,
`discount` int(11) NOT NULL DEFAULT 0,
`paid` int(11) NOT NULL DEFAULT 0,
`total` int(11) NOT NULL,
`status` int(11) NOT NULL,
`memo_no` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`create_admin_id` int(11) DEFAULT NULL,
`pending_admin_id` int(11) DEFAULT NULL,
`pending_date` date DEFAULT NULL,
`approved_admin_id` int(11) DEFAULT NULL,
`approved_date` date DEFAULT NULL,
`shipment_admin_id` int(11) DEFAULT NULL,
`shippment_date` date DEFAULT NULL,
`delivered_admin_id` int(11) DEFAULT NULL,
`delivery_date` date DEFAULT NULL,
`cancel_admin_id` int(11) DEFAULT NULL,
`cancel_date` date DEFAULT NULL,
`return_admin_id` int(11) DEFAULT NULL,
`return_date` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`id`, `invoice_no`, `order_type`, `customer_id`, `cutomer_phone`, `city_id`, `courier_id`, `shipping_cost`, `discount`, `paid`, `total`, `status`, `memo_no`, `create_admin_id`, `pending_admin_id`, `pending_date`, `approved_admin_id`, `approved_date`, `shipment_admin_id`, `shippment_date`, `delivered_admin_id`, `delivery_date`, `cancel_admin_id`, `cancel_date`, `return_admin_id`, `return_date`, `created_at`, `updated_at`) VALUES
(2, 100, 1, 5, '01795297421', 1, NULL, 0, 0, 0, 157, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-16 06:04:21', '2020-09-16 06:04:21'),
(3, 102, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 315, 4, NULL, NULL, 1, '2020-09-19', 1, '2020-09-19', 1, '2020-09-19', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-16 23:33:54', '2020-09-19 07:22:48'),
(4, 103, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 315, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-16 23:35:34', '2020-09-16 23:35:34'),
(5, 104, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 315, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-16 23:44:21', '2020-09-16 23:44:21'),
(6, 105, 1, 6, '01795297426', 18, NULL, 0, 0, 0, 157, 3, NULL, NULL, NULL, NULL, 1, '2020-09-19', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-17 00:52:51', '2020-09-19 05:35:02'),
(7, 106, 2, 1, '01795297424', 17, 18, 56, 50, 120, 430, 3, NULL, 1, NULL, NULL, 1, '2020-09-20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-19 22:35:01', '2020-09-19 23:05:50'),
(8, 107, 1, 1, '01795297424', 1, 2, 0, 0, 0, 169, 1, '121121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-20 01:51:39', '2020-09-20 01:52:33'),
(9, 108, 1, 1, '01795297424', 1, NULL, 108, 0, 0, 169, 3, NULL, NULL, NULL, NULL, 1, '2020-09-20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-20 02:28:21', '2020-09-20 02:29:35'),
(10, 109, 1, 1, '01795297424', 1, NULL, 108, 0, 0, 242, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-20 03:05:26', '2020-09-20 03:05:26'),
(11, 110, 1, 1, '01795297424', 1, NULL, 108, 0, 0, 194, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-20 07:14:59', '2020-09-20 07:14:59'),
(12, 111, 1, 1, '01795297424', 17, NULL, 56, 0, 0, 532, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 05:49:20', '2020-09-22 05:49:20'),
(13, 112, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 532, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 05:49:40', '2020-09-22 05:49:40'),
(14, 113, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 532, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 05:51:30', '2020-09-22 05:51:30'),
(15, 114, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 532, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 05:52:48', '2020-09-22 05:52:48'),
(16, 115, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 532, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 05:53:07', '2020-09-22 05:53:07'),
(17, 116, 1, 7, '01770280894', 6, NULL, 78, 0, 0, 169, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 06:49:02', '2020-09-22 06:49:02'),
(18, 117, 1, 7, '01770280894', 6, NULL, 78, 0, 0, 169, 3, NULL, NULL, NULL, NULL, 1, '2020-09-23', NULL, NULL, NULL, NULL, 1, '2020-09-23', NULL, NULL, '2020-09-22 06:50:16', '2020-09-23 06:37:39'),
(19, 118, 2, 1, '01795297424', 17, 11, 56, 0, 0, 290, 6, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2020-09-27', NULL, NULL, '2020-09-27 04:46:02', '2020-09-27 07:17:40'),
(20, 119, 3, 1, '01795297424', 4, 15, 73, 0, 0, 160, 3, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-27 23:14:06', '2020-09-27 23:14:06'),
(21, 120, 2, 1, '01795297424', 4, 15, 73, 0, 0, 160, 3, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-27 23:21:38', '2020-09-27 23:21:38'),
(22, 121, 1, 1, '01795297424', 1, NULL, 0, 0, 0, 157, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-28 05:48:48', '2020-09-28 05:48:48');
-- --------------------------------------------------------
--
-- Table structure for table `order_items`
--
CREATE TABLE `order_items` (
`id` bigint(20) UNSIGNED NOT NULL,
`order_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`price` int(11) NOT NULL,
`quantity` int(11) NOT NULL,
`total` int(11) NOT NULL,
`attribute_id` int(11) DEFAULT NULL,
`variant_id` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `order_items`
--
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `price`, `quantity`, `total`, `attribute_id`, `variant_id`, `created_at`, `updated_at`) VALUES
(1, 2, 2, 130, 1, 0, 1, 1, '2020-09-16 06:04:21', '2020-09-16 06:04:21'),
(2, 3, 2, 130, 2, 0, 1, 1, '2020-09-16 23:33:54', '2020-09-16 23:33:54'),
(3, 4, 2, 130, 2, 0, 1, 2, '2020-09-16 23:35:34', '2020-09-16 23:35:34'),
(4, 5, 2, 130, 2, 0, 1, 1, '2020-09-16 23:44:21', '2020-09-16 23:44:21'),
(5, 6, 2, 130, 1, 0, 1, 1, '2020-09-17 00:52:51', '2020-09-17 00:52:51'),
(6, 7, 1, 160, 1, 0, NULL, NULL, '2020-09-19 22:35:01', '2020-09-19 22:35:01'),
(7, 7, 3, 270, 1, 0, NULL, NULL, '2020-09-19 22:35:01', '2020-09-19 22:35:01'),
(8, 8, 12, 140, 1, 0, 2, 4, '2020-09-20 01:51:39', '2020-09-20 01:51:39'),
(9, 9, 12, 140, 1, 0, 2, 4, '2020-09-20 02:28:21', '2020-09-20 02:28:21'),
(10, 10, 5, 30, 1, 150, 1, 3, '2020-09-20 03:05:26', '2020-09-20 03:05:26'),
(11, 10, 8, 170, 1, 1700, 2, 4, '2020-09-20 03:05:26', '2020-09-20 03:05:26'),
(12, 16, 6, 440, 1, 440, 2, 4, '2020-09-22 05:53:07', '2020-09-22 05:53:07'),
(13, 17, 12, 140, 1, 140, 2, 4, '2020-09-22 06:49:02', '2020-09-22 06:49:02'),
(14, 18, 7, 140, 1, 140, 1, 1, '2020-09-22 06:50:16', '2020-09-22 06:50:16'),
(15, 19, 1, 160, 1, 160, NULL, NULL, '2020-09-27 04:46:02', '2020-09-27 04:46:02'),
(16, 19, 2, 130, 1, 130, NULL, NULL, '2020-09-27 04:46:02', '2020-09-27 04:46:02'),
(17, 20, 1, 160, 1, 160, NULL, NULL, '2020-09-27 23:14:06', '2020-09-27 23:14:06'),
(18, 21, 1, 160, 1, 160, NULL, NULL, '2020-09-27 23:21:38', '2020-09-27 23:21:38'),
(19, 22, 11, 130, 1, 130, NULL, NULL, '2020-09-28 05:48:48', '2020-09-28 05:48:48');
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`merchant_id` int(11) DEFAULT NULL,
`category_id` int(11) NOT NULL,
`sub_category_id` int(11) DEFAULT NULL,
`sub_sub_category_id` int(11) DEFAULT NULL,
`product_code` int(11) NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`stock` int(11) NOT NULL,
`sale_price` int(11) NOT NULL,
`discount` int(11) DEFAULT NULL,
`price` int(11) NOT NULL,
`status` int(11) NOT NULL,
`details` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `name`, `merchant_id`, `category_id`, `sub_category_id`, `sub_sub_category_id`, `product_code`, `slug`, `stock`, `sale_price`, `discount`, `price`, `status`, `details`, `created_at`, `updated_at`) VALUES
(1, 'polo-tt--shirt', NULL, 1, 2, NULL, 1001, 'polo-tt--shirt-1001', -4, 180, 20, 160, 1, '<p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'</p><p><strong>s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially </strong></p><ul><li>unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li></ul>', '2020-09-14 02:15:32', '2020-09-27 23:21:38'),
(2, 'tshirt', NULL, 1, 2, NULL, 1002, 'tshirt-1002', 1, 280, 150, 130, 1, '<p><i><strong>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)</strong>.</i></p>', '2020-09-14 02:17:19', '2020-09-27 07:17:40'),
(3, 'Panjabi', NULL, 1, 1, 3, 1003, 'Panjabi-1003', -1, 280, 10, 270, 1, '<p>It is <i>a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </i></p><ul><li><i><strong>The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, .</strong></i></li></ul>', '2020-09-14 02:19:24', '2020-09-19 22:35:01'),
(4, 'panjabi two', NULL, 1, 1, NULL, 1004, 'two-1004', 0, 280, 10, 270, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(5, 'panjaabi-three', NULL, 1, 1, 3, 1005, 'panjaabi-three-1005', -1, 180, 150, 30, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-o<strong>r-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the year</strong>s, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', '2020-09-14 02:21:31', '2020-09-20 03:05:26'),
(6, 'simpple panjabi', NULL, 1, 1, 3, 1006, 'panjabi-1006', -5, 450, 10, 440, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', '2020-09-14 02:23:09', '2020-09-22 05:53:07'),
(7, 'Shirt', NULL, 1, 2, NULL, 1007, 'Shirt-1007', 7, 150, 10, 140, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', '2020-09-14 02:24:39', '2020-09-26 06:45:33'),
(8, 'simple shirtt', NULL, 1, 2, NULL, 1008, 'shirtt-1008', -1, 180, 10, 170, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of <strong>a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</strong></p>', '2020-09-14 02:25:34', '2020-09-20 03:05:26'),
(9, 'three pices', NULL, 2, 6, NULL, 1009, 'pices-1009', 250, 150, 120, 30, 1, '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing <i><strong>packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</strong></i></p>', '2020-09-14 02:28:20', '2020-09-26 06:44:29'),
(10, 'salwar kamiz', NULL, 2, 6, NULL, 1010, 'kamiz-1010', 0, 580, 10, 570, 2, '<p>salwar kamizsalwar kamizsalwar kamizsalwar kamiz</p>', '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(11, 'two peaces', NULL, 2, 6, NULL, 1011, 'peaces-1011', 151, 280, 150, 130, 1, '<p>jhfcvgfhchg nb</p>', '2020-09-14 04:09:07', '2020-09-28 05:48:48'),
(12, 'Hody', NULL, 1, 3, NULL, 1012, 'Hody-1012', 0, 150, 10, 140, 1, '<p>hello</p><p><strong>hjhjb</strong></p>', '2020-09-19 04:43:01', '2020-09-26 07:31:33'),
(13, 'jeans', NULL, 1, 1, 3, 1013, 'jeans-1013', 0, 120, 2, 118, 3, '<p>54545</p>', '2020-09-22 01:15:19', '2020-09-22 03:40:47');
-- --------------------------------------------------------
--
-- Table structure for table `product_attributes`
--
CREATE TABLE `product_attributes` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `product_attributes`
--
INSERT INTO `product_attributes` (`id`, `product_id`, `attribute_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(2, 2, 1, '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(3, 3, 1, '2020-09-14 02:19:24', '2020-09-14 02:19:24'),
(4, 4, 1, '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(5, 5, 1, '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(6, 6, 2, '2020-09-14 02:23:09', '2020-09-14 02:23:09'),
(7, 7, 1, '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(8, 8, 2, '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(9, 9, 1, '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(10, 10, 2, '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(11, 12, 2, '2020-09-19 04:43:02', '2020-09-19 04:43:02'),
(12, 13, 1, '2020-09-22 01:15:19', '2020-09-22 01:15:19');
-- --------------------------------------------------------
--
-- Table structure for table `product_barcodes`
--
CREATE TABLE `product_barcodes` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL,
`barcode` text COLLATE utf8mb4_unicode_ci NOT NULL,
`barcode_number` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `product_barcodes`
--
INSERT INTO `product_barcodes` (`id`, `product_id`, `barcode`, `barcode_number`, `created_at`, `updated_at`) VALUES
(1, 1, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:58px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:72px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:80px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1001', '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(2, 2, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:60px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:72px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:80px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1002', '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(3, 3, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:50px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:56px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:84px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1003', '2020-09-14 02:19:24', '2020-09-14 02:19:24'),
(4, 4, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:50px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:58px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:80px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1004', '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(5, 5, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:58px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:82px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1005', '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(6, 6, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:50px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:58px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:80px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1006', '2020-09-14 02:23:09', '2020-09-14 02:23:09'),
(7, 7, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:50px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:60px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:76px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:82px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1007', '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(8, 8, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:60px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:76px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:82px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1008', '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(9, 9, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:58px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:72px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:78px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1009', '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(10, 10, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:52px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:60px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:76px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:82px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1010', '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(11, 11, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:54px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:60px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:78px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1011', '2020-09-14 04:09:07', '2020-09-14 04:09:07'),
(12, 12, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:48px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:56px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:70px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:80px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1012', '2020-09-19 04:43:01', '2020-09-19 04:43:01'),
(13, 13, '<div style=\"font-size:0;position:relative;width:114px;height:30px;\">\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:0px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:6px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:12px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:22px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:30px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:38px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:44px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:50px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:56px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:66px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:74px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:84px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:88px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:6px;height:30px;position:absolute;left:98px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:2px;height:30px;position:absolute;left:106px;top:0px;\"> </div>\r\n<div style=\"background-color:black;width:4px;height:30px;position:absolute;left:110px;top:0px;\"> </div>\r\n</div>\r\n', '1013', '2020-09-22 01:15:19', '2020-09-22 01:15:19');
-- --------------------------------------------------------
--
-- Table structure for table `product_images`
--
CREATE TABLE `product_images` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL,
`product_image` text COLLATE utf8mb4_unicode_ci NOT NULL,
`prefix_url` text COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'http://127.0.0.1:8000/storage/',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `product_images`
--
INSERT INTO `product_images` (`id`, `product_id`, `product_image`, `prefix_url`, `created_at`, `updated_at`) VALUES
(1, 1, 'images/products/YsYERI3zpZUPZ4jgdmdGMxbprbGrsFLFk72cTyHh.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(2, 1, 'images/products/6XjDaVcrT8FfdkaG5uQTZl5pe5dQjBqwPNcCEpWj.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(3, 1, 'images/products/htKy41MZopekFBomLO3IM5SVUH9hwnDHXPc1DXjw.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(4, 2, 'images/products/1gNcTv6dKuudmGa7QoOc2MwBiiC5tbjloX4RfZjb.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(5, 2, 'images/products/Rj5XsQ2kPADZLwnBthcTWSdDj6YuubR7IEflDCJF.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(6, 3, 'images/products/dwNexaUYP2e5lSUqoeLMvaBEqIG0c7uzXYc0K1CG.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:19:24', '2020-09-14 02:19:24'),
(7, 4, 'images/products/quywmHkT5AxtxL2NFODEnrYuHqbmj0VSmgOjHMMw.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(8, 5, 'images/products/XKlbA5iy3j2YdpQ1PdMgci1pqMXpO3E5BaG0bY4L.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(9, 5, 'images/products/CURKKCRtrtvNl2qYpyN66IkgxWIGKH8MXV2FMkzG.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(10, 6, 'images/products/wqZkEZSJj40yYQRnHLXk7p8tNOXOgSXCfbQqNVqW.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:23:09', '2020-09-14 02:23:09'),
(11, 7, 'images/products/ARaCcIG6FY90OW4eCCuxxZh4h8jRkuGjw2VbdQXq.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(12, 7, 'images/products/iP8rCtIVwH825v8HZmhG9tfKiZCBPX6paaGtlWOv.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(13, 7, 'images/products/4QCH5X60hu7dCjaIS70KpJPA5nVt03YoepVUEX42.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(14, 8, 'images/products/VnW0kx8e2cCZYPv1ui2lU4QjoswnjVYQEHfFwnDd.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(15, 8, 'images/products/1sJVNri3ITxYRF7t3thJ47sQxYieQgCSPiVQAsuU.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(16, 8, 'images/products/tfygTgDQlgEXSUqU5k1IJKdBNaCO8l0LwQDyIs2Z.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(17, 9, 'images/products/wyFczlI0C8LywVIinqayCsy3ltmlomV2t6fAEqbu.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(18, 9, 'images/products/0UmfAP3y6Kf971TDOhr9iVfynIHAvfe5dhPM4sKw.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(19, 10, 'images/products/YFjry4c1dM9zIZgv1nJc1khO7Hjvwrm0VEEkXHO6.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(20, 10, 'images/products/2tjjHbSqQ7DL5sZ7lJ3tkWXEVq5IIcG7LEj31NtB.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(21, 10, 'images/products/F7mpHh1bMMpHlkLMZ1HwVqGHUuijFLd69jb4VCk0.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(22, 11, 'images/products/fxb4K5MIo7GITboFlStK06sdSeGt0wWK4fjIvyqK.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 04:09:07', '2020-09-14 04:09:07'),
(23, 11, 'images/products/K7kpPOHlGzqxhTqOZeNSXCwFX8Y0gIRsCY0GfuJL.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-14 04:09:07', '2020-09-14 04:09:07'),
(24, 12, 'images/products/57sXmvZ36Ud6u3ghAKGmmeKbEMMT0IPcIet1ccFd.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-19 04:43:02', '2020-09-19 04:43:02'),
(25, 13, 'images/products/dCAQxH7zzdQvWFeCcCD72SXUN2ehiOgcnz2pKMm2.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-22 01:15:19', '2020-09-22 01:15:19'),
(26, 13, 'images/products/mZR73jd4v7W2ty2rrprdCcmf4jCW5KPC7dpVBCga.jpeg', 'http://127.0.0.1:8000/storage/', '2020-09-22 01:15:19', '2020-09-22 01:15:19');
-- --------------------------------------------------------
--
-- Table structure for table `product_variants`
--
CREATE TABLE `product_variants` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL,
`variant_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `product_variants`
--
INSERT INTO `product_variants` (`id`, `product_id`, `variant_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(2, 1, 2, '2020-09-14 02:15:32', '2020-09-14 02:15:32'),
(3, 2, 1, '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(4, 2, 2, '2020-09-14 02:17:19', '2020-09-14 02:17:19'),
(5, 3, 1, '2020-09-14 02:19:24', '2020-09-14 02:19:24'),
(6, 3, 2, '2020-09-14 02:19:24', '2020-09-14 02:19:24'),
(7, 4, 1, '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(8, 4, 2, '2020-09-14 02:20:48', '2020-09-14 02:20:48'),
(9, 5, 2, '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(10, 5, 3, '2020-09-14 02:21:31', '2020-09-14 02:21:31'),
(11, 6, 4, '2020-09-14 02:23:09', '2020-09-14 02:23:09'),
(12, 6, 5, '2020-09-14 02:23:09', '2020-09-14 02:23:09'),
(13, 7, 1, '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(14, 7, 2, '2020-09-14 02:24:39', '2020-09-14 02:24:39'),
(15, 8, 4, '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(16, 8, 5, '2020-09-14 02:25:34', '2020-09-14 02:25:34'),
(17, 9, 1, '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(18, 9, 2, '2020-09-14 02:28:20', '2020-09-14 02:28:20'),
(19, 10, 4, '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(20, 10, 5, '2020-09-14 02:31:20', '2020-09-14 02:31:20'),
(21, 12, 4, '2020-09-19 04:43:02', '2020-09-19 04:43:02'),
(22, 12, 5, '2020-09-19 04:43:02', '2020-09-19 04:43:02'),
(23, 13, 1, '2020-09-22 01:15:19', '2020-09-22 01:15:19');
-- --------------------------------------------------------
--
-- Table structure for table `purchaseitems`
--
CREATE TABLE `purchaseitems` (
`id` bigint(20) UNSIGNED NOT NULL,
`purchase_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`merchant_id` int(11) NOT NULL,
`price` int(11) NOT NULL,
`insert_quantity` int(11) NOT NULL,
`stock` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `purchaseitems`
--
INSERT INTO `purchaseitems` (`id`, `purchase_id`, `product_id`, `merchant_id`, `price`, `insert_quantity`, `stock`, `created_at`, `updated_at`) VALUES
(1, 1, 3, 1, 120, 10, 10, '2020-09-06 08:14:01', '2020-09-06 08:14:01'),
(2, 2, 11, 1, 200, 150, 150, '2020-09-19 01:18:00', '2020-09-19 01:18:00'),
(3, 3, 7, 1, 120, 2, 2, '2020-09-26 06:44:29', '2020-09-26 06:44:29'),
(4, 3, 9, 1, 125, 250, 250, '2020-09-26 06:44:29', '2020-09-26 06:44:29'),
(5, 4, 7, 1, 1250, 5, 5, '2020-09-26 06:45:33', '2020-09-26 06:45:33'),
(6, 4, 12, 1, 250, 20, 20, '2020-09-26 06:45:33', '2020-09-26 06:45:33'),
(7, 4, 11, 1, 150, 2, 2, '2020-09-26 06:45:33', '2020-09-26 06:45:33'),
(8, 5, 12, 1, 350, 120, 120, '2020-09-26 07:31:33', '2020-09-26 07:31:33');
-- --------------------------------------------------------
--
-- Table structure for table `purchases`
--
CREATE TABLE `purchases` (
`id` bigint(20) UNSIGNED NOT NULL,
`invoice_no` int(11) NOT NULL,
`merchant_id` int(11) NOT NULL,
`total` int(11) NOT NULL,
`paid` int(11) NOT NULL DEFAULT 0,
`purchase_date` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `purchases`
--
INSERT INTO `purchases` (`id`, `invoice_no`, `merchant_id`, `total`, `paid`, `purchase_date`, `created_at`, `updated_at`) VALUES
(1, 122, 1, 1200, 1200, '2020-09-06', '2020-09-06 08:14:01', '2020-09-06 08:14:01'),
(2, 1500, 1, 30000, 30000, '2020-09-19', '2020-09-19 01:18:00', '2020-09-19 01:18:00'),
(3, 1200, 1, 31490, 31490, '2020-09-26', '2020-09-26 06:44:29', '2020-09-26 06:44:29'),
(4, 150, 1, 11550, 11550, '2020-09-26', '2020-09-26 06:45:33', '2020-09-26 06:45:33'),
(5, 150, 1, 42000, 42000, '2020-09-26', '2020-09-26 07:31:33', '2020-09-26 07:31:33');
-- --------------------------------------------------------
--
-- Table structure for table `sliders`
--
CREATE TABLE `sliders` (
`id` bigint(20) UNSIGNED NOT NULL,
`image` text COLLATE utf8mb4_unicode_ci NOT NULL,
`url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slider_caption` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL,
`position` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `sliders`
--
INSERT INTO `sliders` (`id`, `image`, `url`, `slider_caption`, `status`, `position`, `created_at`, `updated_at`) VALUES
(4, 'images/slider/Nvq11XWUnLdyvWf2OH3nItxGmRIsXdBxyR9gNIzJ.jpeg', NULL, NULL, 1, 1, '2020-09-13 22:33:46', '2020-09-13 22:33:46'),
(5, 'images/slider/Nvq11XWUnLdyvWf2OH3nItxGmRIsXdBxyR9gNIzJ.jpeg', '#', NULL, 1, 1, '2020-09-13 22:33:46', '2020-09-13 22:33:46'),
(6, 'images/slider/lPdC9wBWLIWJ6DEHwu9kn8yKC6tQGSSzT2JB6q5R.jpeg', NULL, NULL, 1, 2, '2020-09-20 05:34:32', '2020-09-20 05:34:32'),
(7, 'images/slider/lPdC9wBWLIWJ6DEHwu9kn8yKC6tQGSSzT2JB6q5R.jpeg', NULL, NULL, 1, 2, '2020-09-20 05:34:32', '2020-09-20 05:34:32'),
(8, 'images/slider/lPdC9wBWLIWJ6DEHwu9kn8yKC6tQGSSzT2JB6q5R.jpeg', NULL, NULL, 1, 2, '2020-09-20 05:34:32', '2020-09-20 05:34:32'),
(9, 'images/slider/cmWFTkIEYO3tIkPZ2uQRKHTFwDRYL8hwhI0BOIM4.jpeg', '#', NULL, 1, 1, '2020-09-22 00:44:13', '2020-09-22 00:44:13');
-- --------------------------------------------------------
--
-- Table structure for table `sub_categories`
--
CREATE TABLE `sub_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` text COLLATE utf8mb4_unicode_ci NOT NULL,
`category_id` int(11) NOT NULL,
`status` int(11) NOT NULL,
`image` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `sub_categories`
--
INSERT INTO `sub_categories` (`id`, `name`, `slug`, `category_id`, `status`, `image`, `created_at`, `updated_at`) VALUES
(1, 'paanjaabi', '1-paanjaabi', 1, 1, NULL, '2020-09-14 01:16:24', '2020-09-14 01:16:24'),
(2, 't-sshirt', '2-shirt', 1, 1, NULL, '2020-09-14 01:16:40', '2020-09-14 01:16:40'),
(3, 'pants', '3-pants', 1, 1, NULL, '2020-09-14 01:17:03', '2020-09-14 01:17:03'),
(4, 'Bags', '4-bags', 2, 1, NULL, '2020-09-14 01:17:33', '2020-09-14 01:17:33'),
(5, 'cosmatics', '5-costomers', 2, 1, NULL, '2020-09-14 01:17:47', '2020-09-14 01:20:31'),
(6, 'three-pics', '6-three-pics', 2, 1, NULL, '2020-09-14 02:26:32', '2020-09-14 02:26:32');
-- --------------------------------------------------------
--
-- Table structure for table `sub_sub_categories`
--
CREATE TABLE `sub_sub_categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` text COLLATE utf8mb4_unicode_ci NOT NULL,
`category_id` int(11) NOT NULL,
`subcategory_id` int(11) NOT NULL,
`image` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `sub_sub_categories`
--
INSERT INTO `sub_sub_categories` (`id`, `name`, `slug`, `category_id`, `subcategory_id`, `image`, `status`, `created_at`, `updated_at`) VALUES
(1, 'jeaans', '2-jeaans', 1, 3, NULL, 1, '2020-09-14 01:18:09', '2020-09-14 01:18:14'),
(2, 'grabatine', '3-grabatine', 1, 3, NULL, 1, '2020-09-14 01:18:34', '2020-09-14 01:18:34'),
(3, 'kabil panjabi', '1-panjabi', 1, 1, NULL, 1, '2020-09-14 01:19:19', '2020-09-14 01:19:19'),
(4, 'jewellry', '4-jewellry', 2, 5, NULL, 1, '2020-09-14 01:20:02', '2020-09-14 01:20:02');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`mobile_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`city_id` int(11) DEFAULT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`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`, `mobile_no`, `email`, `email_verified_at`, `password`, `address`, `city_id`, `status`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Fahim Chowdhury', '01795297424', '[email protected]', NULL, '$2y$10$ONXRHMwHJaTQ4EcmaCWPvu8/F2usyHEJSvTWvlFvV6F8E5vWAvEaS', 'Dhaka', 1, 1, NULL, '2020-09-16 04:56:11', '2020-09-17 01:35:09'),
(2, 'Fahim Muntasir', '01795297426', '[email protected]', NULL, '$2y$10$.uUb7WA2Jq23k66NPn1Egumroh0.QOtkJcpLTQmb5SFuyHxd0alO.', 'Dhaka', 18, 1, NULL, '2020-09-17 00:52:07', '2020-09-17 00:52:51'),
(3, 'Fahim', '01770280894', NULL, NULL, '$2y$10$L/pcc8eLwoRPpXvzQ6XGP.PIVgb8VuHwf7VTGEs5jPSRdGdFIYSaa', 'Dhaka', 6, 1, NULL, '2020-09-22 06:44:42', '2020-09-22 06:49:02');
-- --------------------------------------------------------
--
-- Table structure for table `variants`
--
CREATE TABLE `variants` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`attribute_id` int(11) NOT NULL,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `variants`
--
INSERT INTO `variants` (`id`, `name`, `attribute_id`, `status`, `created_at`, `updated_at`) VALUES
(1, '10', 1, 1, '2020-09-05 01:28:03', '2020-09-05 01:28:03'),
(2, '11', 1, 1, '2020-09-05 01:28:12', '2020-09-05 01:28:12'),
(3, '12', 1, 1, '2020-09-05 01:28:19', '2020-09-05 01:28:19'),
(4, 'green', 2, 1, '2020-09-05 01:28:27', '2020-09-05 01:28:27'),
(5, 'red', 2, 1, '2020-09-05 01:28:39', '2020-09-05 01:28:39');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `admins_email_unique` (`email`) USING HASH;
--
-- Indexes for table `attributes`
--
ALTER TABLE `attributes`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `attributes_name_unique` (`name`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `cities`
--
ALTER TABLE `cities`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `comments`
--
ALTER TABLE `comments`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `comments_name_unique` (`name`);
--
-- Indexes for table `coupons`
--
ALTER TABLE `coupons`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `couriers`
--
ALTER TABLE `couriers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `credits`
--
ALTER TABLE `credits`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `customers_phone_unique` (`phone`);
--
-- Indexes for table `debits`
--
ALTER TABLE `debits`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `merchants`
--
ALTER TABLE `merchants`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `offers`
--
ALTER TABLE `offers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `order_items`
--
ALTER TABLE `order_items`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `products_product_code_unique` (`product_code`);
--
-- Indexes for table `product_attributes`
--
ALTER TABLE `product_attributes`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_barcodes`
--
ALTER TABLE `product_barcodes`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_images`
--
ALTER TABLE `product_images`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_variants`
--
ALTER TABLE `product_variants`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `purchaseitems`
--
ALTER TABLE `purchaseitems`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `purchases`
--
ALTER TABLE `purchases`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `sliders`
--
ALTER TABLE `sliders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `sub_categories`
--
ALTER TABLE `sub_categories`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `sub_categories_name_unique` (`name`);
--
-- Indexes for table `sub_sub_categories`
--
ALTER TABLE `sub_sub_categories`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `sub_sub_categories_name_unique` (`name`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indexes for table `variants`
--
ALTER TABLE `variants`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `variants_name_unique` (`name`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `attributes`
--
ALTER TABLE `attributes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `cities`
--
ALTER TABLE `cities`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102;
--
-- AUTO_INCREMENT for table `comments`
--
ALTER TABLE `comments`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `coupons`
--
ALTER TABLE `coupons`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `couriers`
--
ALTER TABLE `couriers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102;
--
-- AUTO_INCREMENT for table `credits`
--
ALTER TABLE `credits`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `debits`
--
ALTER TABLE `debits`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `merchants`
--
ALTER TABLE `merchants`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;
--
-- AUTO_INCREMENT for table `offers`
--
ALTER TABLE `offers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `order_items`
--
ALTER TABLE `order_items`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `product_attributes`
--
ALTER TABLE `product_attributes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `product_barcodes`
--
ALTER TABLE `product_barcodes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `product_images`
--
ALTER TABLE `product_images`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT for table `product_variants`
--
ALTER TABLE `product_variants`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `purchaseitems`
--
ALTER TABLE `purchaseitems`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `purchases`
--
ALTER TABLE `purchases`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `sliders`
--
ALTER TABLE `sliders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `sub_categories`
--
ALTER TABLE `sub_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `sub_sub_categories`
--
ALTER TABLE `sub_sub_categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `variants`
--
ALTER TABLE `variants`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
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 */;
|
/**
* \file
* \brief The AssertTableIsEmpty stored procedure.
* \author Chris Oldwood
*/
if (object_id('ssunit.AssertTableIsEmpty') is not null)
drop procedure ssunit.AssertTableIsEmpty;
go
/**
* Asserts that the table contains no rows.
*/
create procedure ssunit.AssertTableIsEmpty
(
@table ssunit.TableName --!< The table to verify.
)
as
exec ssunit.AssertTableRowCountEqualTo 0, @table;
go
|
-- phpMyAdmin SQL Dump
-- version 4.9.4
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost:3306
-- Tiempo de generación: 09-09-2020 a las 20:21:30
-- Versión del servidor: 5.7.31
-- Versión de PHP: 7.3.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de datos: `h2olmos_cecomave`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `abastecimiento_combustible`
--
CREATE TABLE `abastecimiento_combustible` (
`id` bigint(20) UNSIGNED NOT NULL,
`fecha_abastecimiento` date NOT NULL,
`grifo_id` bigint(20) UNSIGNED NOT NULL,
`tipo_combustible` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`conductor_id` bigint(20) UNSIGNED NOT NULL,
`ua_id` bigint(20) UNSIGNED NOT NULL,
`equipo_id` bigint(20) UNSIGNED DEFAULT NULL,
`vehiculo_id` bigint(20) UNSIGNED DEFAULT NULL,
`qtdgl` double(8,2) NOT NULL,
`qtdl` double(8,2) NOT NULL,
`km` double(8,2) NOT NULL,
`abastecimiento_dia` double(8,2) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `abastecimiento_combustible`
--
INSERT INTO `abastecimiento_combustible` (`id`, `fecha_abastecimiento`, `grifo_id`, `tipo_combustible`, `conductor_id`, `ua_id`, `equipo_id`, `vehiculo_id`, `qtdgl`, `qtdl`, `km`, `abastecimiento_dia`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '2020-09-09', 1, 'Diesel', 2, 2, 2, NULL, 20.60, 30.60, 128.50, 21.33, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, '2020-09-09', 2, 'GLT', 1, 3, 2, NULL, 10.60, 320.60, 18.50, 21.21, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, '2020-09-09', 1, 'Gas', 2, 2, 2, NULL, 200.60, 320.60, 128.50, 2.36, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `acceso`
--
CREATE TABLE `acceso` (
`id` bigint(20) UNSIGNED NOT NULL,
`tipouser_id` bigint(20) UNSIGNED DEFAULT NULL,
`opcionmenu_id` bigint(20) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `acceso`
--
INSERT INTO `acceso` (`id`, `tipouser_id`, `opcionmenu_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 1, 2, '2020-09-09 07:35:34', '2020-09-10 00:35:50', '2020-09-10 00:35:50'),
(3, 1, 3, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, 1, 4, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(5, 1, 5, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(6, 1, 6, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(7, 1, 7, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(8, 1, 8, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(9, 1, 9, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(10, 1, 10, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(11, 1, 11, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(12, 1, 12, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(13, 1, 13, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(14, 1, 14, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(15, 1, 15, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(16, 1, 16, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(17, 1, 17, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(18, 1, 18, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(19, 1, 19, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(20, 1, 20, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(21, 1, 21, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(22, 1, 22, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(23, 2, 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(24, 2, 2, '2020-09-09 07:35:34', '2020-09-10 00:35:59', '2020-09-10 00:35:59'),
(25, 2, 5, '2020-09-09 07:48:23', '2020-09-09 07:48:23', NULL),
(26, 2, 8, '2020-09-09 07:48:23', '2020-09-09 07:48:23', NULL),
(27, 2, 9, '2020-09-09 07:48:23', '2020-09-09 07:48:23', NULL),
(28, 2, 14, '2020-09-09 07:48:24', '2020-09-09 07:48:24', NULL),
(29, 2, 18, '2020-09-09 07:48:24', '2020-09-09 07:48:24', NULL),
(30, 2, 16, '2020-09-09 07:48:24', '2020-09-09 07:48:24', NULL),
(31, 3, 1, '2020-09-09 07:49:20', '2020-09-09 07:49:20', NULL),
(32, 3, 2, '2020-09-09 07:49:20', '2020-09-10 00:35:54', '2020-09-10 00:35:54'),
(33, 3, 3, '2020-09-09 07:49:20', '2020-09-09 07:49:20', NULL),
(34, 3, 5, '2020-09-09 07:49:20', '2020-09-09 07:49:20', NULL),
(35, 3, 6, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(36, 3, 7, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(37, 3, 8, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(38, 3, 9, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(39, 3, 10, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(40, 3, 11, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(41, 3, 14, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(42, 3, 15, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(43, 3, 17, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(44, 3, 19, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(45, 3, 20, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(46, 3, 22, '2020-09-09 07:49:21', '2020-09-09 07:49:21', NULL),
(47, 4, 1, '2020-09-09 07:50:17', '2020-09-09 07:50:17', NULL),
(48, 4, 2, '2020-09-09 07:50:17', '2020-09-10 00:36:03', '2020-09-10 00:36:03'),
(49, 4, 3, '2020-09-09 07:50:17', '2020-09-09 07:50:17', NULL),
(50, 4, 5, '2020-09-09 07:50:17', '2020-09-09 07:50:17', NULL),
(51, 4, 8, '2020-09-09 07:50:17', '2020-09-09 07:50:17', NULL),
(52, 4, 11, '2020-09-09 07:50:17', '2020-09-09 07:50:17', NULL),
(55, 6, 18, '2020-09-09 08:23:48', '2020-09-09 08:23:48', NULL),
(56, 5, 18, '2020-09-09 08:23:53', '2020-09-09 08:23:53', NULL),
(57, 4, 15, '2020-09-10 02:19:05', '2020-09-10 02:19:05', NULL),
(58, 4, 18, '2020-09-10 02:19:05', '2020-09-10 02:19:05', NULL),
(59, 4, 9, '2020-09-10 02:20:14', '2020-09-10 02:20:14', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `area`
--
CREATE TABLE `area` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `area`
--
INSERT INTO `area` (`id`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'O&M', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'GERENCIA', '2020-09-09 08:52:38', '2020-09-09 08:52:42', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `checklistvehicular`
--
CREATE TABLE `checklistvehicular` (
`id` bigint(20) UNSIGNED NOT NULL,
`fecha_registro` date NOT NULL,
`equipo_id` bigint(20) UNSIGNED DEFAULT NULL,
`vehiculo_id` bigint(20) UNSIGNED DEFAULT NULL,
`k_inicial` decimal(11,2) NOT NULL,
`k_final` decimal(11,2) NOT NULL,
`lider_area` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`conductor_id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`sistema_electrico` longtext COLLATE utf8mb4_unicode_ci,
`sistema_mecanico` longtext COLLATE utf8mb4_unicode_ci,
`accesorios` longtext COLLATE utf8mb4_unicode_ci,
`documentos` longtext COLLATE utf8mb4_unicode_ci,
`observaciones` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `checklistvehicular`
--
INSERT INTO `checklistvehicular` (`id`, `fecha_registro`, `equipo_id`, `vehiculo_id`, `k_inicial`, `k_final`, `lider_area`, `conductor_id`, `concesionaria_id`, `sistema_electrico`, `sistema_mecanico`, `accesorios`, `documentos`, `observaciones`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '2020-09-08', 1, NULL, 54.00, 80.00, 'OSCAR MARIANO DEL PORTAL', 1, 1, '[{\"orden\":1,\"id\":\"freno_emergencia\",\"titulo\":\"Freno de emergencia\",\"estado\":true},{\"orden\":2,\"id\":\"funcionamiento_tablero\",\"titulo\":\"Funcionamiento de tablero\",\"estado\":false},{\"orden\":3,\"id\":\"estado_bateria_funcionamiento\",\"titulo\":\"Estado de bater\\u00eda y funcionamiento\",\"estado\":false},{\"orden\":4,\"id\":\"funcionamiento_claxon\",\"titulo\":\"Funcionamiento de claxon\",\"estado\":false},{\"orden\":5,\"id\":\"luces_retroceso_pirata\",\"titulo\":\"Luces de retroceso pirata\",\"estado\":false},{\"orden\":6,\"id\":\"luces_direccional\",\"titulo\":\"Luces direccional\",\"estado\":false},{\"orden\":7,\"id\":\"faros_neblineros\",\"titulo\":\"Faros neblineros\",\"estado\":false},{\"orden\":8,\"id\":\"faros_delanteros\",\"titulo\":\"Faros delanteros\",\"estado\":false},{\"orden\":9,\"id\":\"faros_posteriores\",\"titulo\":\"Faros posteriores\",\"estado\":false},{\"orden\":10,\"id\":\"alarma_retroceso\",\"titulo\":\"Alarma de retroceso\",\"estado\":false}]', '[{\"orden\":1,\"id\":\"nivel_liquido_freno\",\"titulo\":\"Nivel liquido de freno\",\"estado\":true},{\"orden\":2,\"id\":\"sistema_direccion\",\"titulo\":\"Sistema de direcci\\u00f3n\",\"estado\":true},{\"orden\":3,\"id\":\"palancas_cambios\",\"titulo\":\"Palancas de cambios\",\"estado\":true},{\"orden\":4,\"id\":\"estado_neumaticos\",\"titulo\":\"Estado de neum\\u00e1ticos\",\"estado\":true},{\"orden\":5,\"id\":\"llantas_repuesto\",\"titulo\":\"Llantas de repuesto\",\"estado\":false},{\"orden\":6,\"id\":\"ajustes_tuercas\",\"titulo\":\"Ajustes de tuercas\",\"estado\":false},{\"orden\":7,\"id\":\"presion_llantas_libras\",\"titulo\":\"Presion de llantas en libras\",\"estado\":false},{\"orden\":8,\"id\":\"cinturon_seguridad_conductor\",\"titulo\":\"Cinturon de seguridad conductor\",\"estado\":true},{\"orden\":9,\"id\":\"cinturon_seguridad_pasajeros\",\"titulo\":\"Cinturon de seguridad pasajeros\",\"estado\":true},{\"orden\":10,\"id\":\"suspension\",\"titulo\":\"Suspensi\\u00f3n\",\"estado\":true},{\"orden\":11,\"id\":\"sistema_freno\",\"titulo\":\"Sistema de freno\",\"estado\":true},{\"orden\":12,\"id\":\"pernos_neumaticos\",\"titulo\":\"Pernos de neum\\u00e1ticos\",\"estado\":true},{\"orden\":13,\"id\":\"nivel_aceite\",\"titulo\":\"Nivel de aceite\",\"estado\":true},{\"orden\":14,\"id\":\"espejos_int_ext\",\"titulo\":\"Espejos int y ext\",\"estado\":true},{\"orden\":15,\"id\":\"parachoques\",\"titulo\":\"Parachoques\",\"estado\":true},{\"orden\":16,\"id\":\"parabrisas_ventanas\",\"titulo\":\"Parabrisas y ventanas\",\"estado\":true},{\"orden\":17,\"id\":\"puertas_cabina\",\"titulo\":\"Puertas de cabina\",\"estado\":true},{\"orden\":18,\"id\":\"puertas_tolva\",\"titulo\":\"Puertas de tolva\",\"estado\":true},{\"orden\":19,\"id\":\"plumillas\",\"titulo\":\"Plumillas\",\"estado\":true},{\"orden\":20,\"id\":\"estado_carroceria\",\"titulo\":\"Estado de carrocer\\u00eda\",\"estado\":true}]', '[{\"orden\":1,\"id\":\"estuche_herramientas\",\"titulo\":\"Estuche de herramientas\",\"estado\":true},{\"orden\":2,\"id\":\"estado_carga_extintor\",\"titulo\":\"Estado y carga de extintor\",\"estado\":true},{\"orden\":3,\"id\":\"botiquin\",\"titulo\":\"Botiqu\\u00edn\",\"estado\":true},{\"orden\":4,\"id\":\"cable_remolque\",\"titulo\":\"Cable de remolque\",\"estado\":true},{\"orden\":5,\"id\":\"tacos_seguridad_cu\\u00f1a_2\",\"titulo\":\"Tacos de seguridad cu\\u00f1a(2)\",\"estado\":true},{\"orden\":6,\"id\":\"llave_ruedas\",\"titulo\":\"Llave de ruedas\",\"estado\":true},{\"orden\":7,\"id\":\"kit_antiderrames\",\"titulo\":\"Kit antiderrames\",\"estado\":true},{\"orden\":8,\"id\":\"limpieza_unidad\",\"titulo\":\"Limpieza de la unidad\",\"estado\":true}]', '[{\"orden\":1,\"id\":\"tarjeta_propiedad\",\"titulo\":\"Tarjeta de propiedad\",\"estado\":true},{\"orden\":2,\"id\":\"soat\",\"titulo\":\"SOAT\",\"estado\":true},{\"orden\":3,\"id\":\"licencia_conducir\",\"titulo\":\"Licencia de conducir\",\"estado\":true},{\"orden\":4,\"id\":\"revision_tecnica\",\"titulo\":\"Revisi\\u00f3n t\\u00e9cnica\",\"estado\":true}]', 'Los faroles delanteras necesitan una buena limpieza', '2020-09-09 02:35:34', '2020-09-09 07:35:34', NULL),
(2, '2020-09-08', 2, NULL, 100.00, 220.00, 'JOSE ESTEFAN HURTADO MONTERO', 2, 2, '[{\"orden\":1,\"id\":\"freno_emergencia\",\"titulo\":\"Freno de emergencia\",\"estado\":true},{\"orden\":2,\"id\":\"funcionamiento_tablero\",\"titulo\":\"Funcionamiento de tablero\",\"estado\":false},{\"orden\":3,\"id\":\"estado_bateria_funcionamiento\",\"titulo\":\"Estado de bater\\u00eda y funcionamiento\",\"estado\":false},{\"orden\":4,\"id\":\"funcionamiento_claxon\",\"titulo\":\"Funcionamiento de claxon\",\"estado\":false},{\"orden\":5,\"id\":\"luces_retroceso_pirata\",\"titulo\":\"Luces de retroceso pirata\",\"estado\":false},{\"orden\":6,\"id\":\"luces_direccional\",\"titulo\":\"Luces direccional\",\"estado\":false},{\"orden\":7,\"id\":\"faros_neblineros\",\"titulo\":\"Faros neblineros\",\"estado\":false},{\"orden\":8,\"id\":\"faros_delanteros\",\"titulo\":\"Faros delanteros\",\"estado\":false},{\"orden\":9,\"id\":\"faros_posteriores\",\"titulo\":\"Faros posteriores\",\"estado\":false},{\"orden\":10,\"id\":\"alarma_retroceso\",\"titulo\":\"Alarma de retroceso\",\"estado\":false}]', '[{\"orden\":1,\"id\":\"nivel_liquido_freno\",\"titulo\":\"Nivel liquido de freno\",\"estado\":true},{\"orden\":2,\"id\":\"sistema_direccion\",\"titulo\":\"Sistema de direcci\\u00f3n\",\"estado\":true},{\"orden\":3,\"id\":\"palancas_cambios\",\"titulo\":\"Palancas de cambios\",\"estado\":true},{\"orden\":4,\"id\":\"estado_neumaticos\",\"titulo\":\"Estado de neum\\u00e1ticos\",\"estado\":true},{\"orden\":5,\"id\":\"llantas_repuesto\",\"titulo\":\"Llantas de repuesto\",\"estado\":false},{\"orden\":6,\"id\":\"ajustes_tuercas\",\"titulo\":\"Ajustes de tuercas\",\"estado\":false},{\"orden\":7,\"id\":\"presion_llantas_libras\",\"titulo\":\"Presion de llantas en libras\",\"estado\":false},{\"orden\":8,\"id\":\"cinturon_seguridad_conductor\",\"titulo\":\"Cinturon de seguridad conductor\",\"estado\":true},{\"orden\":9,\"id\":\"cinturon_seguridad_pasajeros\",\"titulo\":\"Cinturon de seguridad pasajeros\",\"estado\":true},{\"orden\":10,\"id\":\"suspension\",\"titulo\":\"Suspensi\\u00f3n\",\"estado\":true},{\"orden\":11,\"id\":\"sistema_freno\",\"titulo\":\"Sistema de freno\",\"estado\":true},{\"orden\":12,\"id\":\"pernos_neumaticos\",\"titulo\":\"Pernos de neum\\u00e1ticos\",\"estado\":true},{\"orden\":13,\"id\":\"nivel_aceite\",\"titulo\":\"Nivel de aceite\",\"estado\":true},{\"orden\":14,\"id\":\"espejos_int_ext\",\"titulo\":\"Espejos int y ext\",\"estado\":true},{\"orden\":15,\"id\":\"parachoques\",\"titulo\":\"Parachoques\",\"estado\":true},{\"orden\":16,\"id\":\"parabrisas_ventanas\",\"titulo\":\"Parabrisas y ventanas\",\"estado\":true},{\"orden\":17,\"id\":\"puertas_cabina\",\"titulo\":\"Puertas de cabina\",\"estado\":true},{\"orden\":18,\"id\":\"puertas_tolva\",\"titulo\":\"Puertas de tolva\",\"estado\":true},{\"orden\":19,\"id\":\"plumillas\",\"titulo\":\"Plumillas\",\"estado\":true},{\"orden\":20,\"id\":\"estado_carroceria\",\"titulo\":\"Estado de carrocer\\u00eda\",\"estado\":true}]', '[{\"orden\":1,\"id\":\"estuche_herramientas\",\"titulo\":\"Estuche de herramientas\",\"estado\":true},{\"orden\":2,\"id\":\"estado_carga_extintor\",\"titulo\":\"Estado y carga de extintor\",\"estado\":true},{\"orden\":3,\"id\":\"botiquin\",\"titulo\":\"Botiqu\\u00edn\",\"estado\":true},{\"orden\":4,\"id\":\"cable_remolque\",\"titulo\":\"Cable de remolque\",\"estado\":true},{\"orden\":5,\"id\":\"tacos_seguridad_cu\\u00f1a_2\",\"titulo\":\"Tacos de seguridad cu\\u00f1a(2)\",\"estado\":true},{\"orden\":6,\"id\":\"llave_ruedas\",\"titulo\":\"Llave de ruedas\",\"estado\":true},{\"orden\":7,\"id\":\"kit_antiderrames\",\"titulo\":\"Kit antiderrames\",\"estado\":true},{\"orden\":8,\"id\":\"limpieza_unidad\",\"titulo\":\"Limpieza de la unidad\",\"estado\":true}]', '[{\"orden\":1,\"id\":\"tarjeta_propiedad\",\"titulo\":\"Tarjeta de propiedad\",\"estado\":true},{\"orden\":2,\"id\":\"soat\",\"titulo\":\"SOAT\",\"estado\":true},{\"orden\":3,\"id\":\"licencia_conducir\",\"titulo\":\"Licencia de conducir\",\"estado\":true},{\"orden\":4,\"id\":\"revision_tecnica\",\"titulo\":\"Revisi\\u00f3n t\\u00e9cnica\",\"estado\":true}]', 'Necesita un cambio en los cinturones de seguridad traseras', '2020-09-09 02:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `concesionaria`
--
CREATE TABLE `concesionaria` (
`id` bigint(20) UNSIGNED NOT NULL,
`ruc` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`razonsocial` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`abreviatura` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `concesionaria`
--
INSERT INTO `concesionaria` (`id`, `ruc`, `razonsocial`, `abreviatura`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '20523611250', 'H2OLMOS S.A.', 'H2OLMOS', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, '20509093521', 'Concesionaria Trasvase Olmos S.A.', 'C.T.O.', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `conductor`
--
CREATE TABLE `conductor` (
`id` bigint(20) UNSIGNED NOT NULL,
`nombres` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`apellidos` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`dni` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL,
`categoria` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`licencia` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
`fechavencimiento` date NOT NULL,
`contratista_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `conductor`
--
INSERT INTO `conductor` (`id`, `nombres`, `apellidos`, `dni`, `categoria`, `licencia`, `fechavencimiento`, `contratista_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'ELISEO AURELIO', 'RIOS OBANDO', '17811439', 'A-IIb', 'D-17811439', '2021-02-15', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'EDMUNDO', 'VILLENA FIESTAS', '17974640', 'A-IIb', 'D-17974640', '2021-10-09', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, 'JORGE LUIS', 'GAMARRA AYALA', '16691239', 'A-IIIc', 'C-16691239', '2021-08-09', 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, 'BERNARDO RAMIRO', 'PEREZ DIAZ', '16732333', 'A-IIIc', 'B-16732333', '2025-01-24', 3, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `conductorconcesionaria`
--
CREATE TABLE `conductorconcesionaria` (
`id` bigint(20) UNSIGNED NOT NULL,
`conductor_id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`estado` tinyint(1) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `conductorconcesionaria`
--
INSERT INTO `conductorconcesionaria` (`id`, `conductor_id`, `concesionaria_id`, `estado`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, NULL, NULL),
(2, 1, 2, 1, NULL, NULL),
(3, 2, 1, 1, NULL, NULL),
(4, 3, 1, 1, NULL, NULL),
(5, 4, 2, 1, NULL, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `contratista`
--
CREATE TABLE `contratista` (
`id` bigint(20) UNSIGNED NOT NULL,
`ruc` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`razonsocial` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`propietario` text COLLATE utf8mb4_unicode_ci NOT NULL,
`email` text COLLATE utf8mb4_unicode_ci NOT NULL,
`telefono` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `contratista`
--
INSERT INTO `contratista` (`id`, `ruc`, `razonsocial`, `propietario`, `email`, `telefono`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '12345678901', 'EMPRESA LAGARITA SAC', '', '', '', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, '74679823478', 'GRUPO MIMASCOT SRL', '', '', '', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, '92347859878', 'CONVENCIONES POLVOS ROSADOS SAA', 'JOSE PEREZ', '[email protected]', '987654321', '2020-09-09 07:35:34', '2020-09-10 00:40:05', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `controldiario`
--
CREATE TABLE `controldiario` (
`id` bigint(20) UNSIGNED NOT NULL,
`equipo_id` bigint(20) UNSIGNED DEFAULT NULL,
`ua_id` bigint(20) UNSIGNED DEFAULT NULL,
`turno` tinyint(1) NOT NULL,
`horometro_inicial` double(6,2) NOT NULL,
`horometro_final` double(6,2) NOT NULL,
`hora_inicio` time NOT NULL,
`hora_fin` time NOT NULL,
`tipohora_id` bigint(20) UNSIGNED DEFAULT NULL,
`fecha` date NOT NULL,
`observaciones` longtext COLLATE utf8mb4_unicode_ci,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `controldiario`
--
INSERT INTO `controldiario` (`id`, `equipo_id`, `ua_id`, `turno`, `horometro_inicial`, `horometro_final`, `hora_inicio`, `hora_fin`, `tipohora_id`, `fecha`, `observaciones`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 4523.52, 4541.12, '15:00:00', '17:00:00', 2, '2020-08-20', NULL, NULL, '2020-09-09 07:35:34', '2020-09-09 19:34:52'),
(3, 2, 3, 1, 123.00, 145.00, '14:00:00', '15:00:00', 9, '2020-08-01', NULL, NULL, '2020-09-09 19:33:31', '2020-09-09 20:51:38'),
(4, 2, 5, 1, 123.00, 150.00, '14:00:00', '16:00:00', 2, '2020-09-09', 'ok', NULL, '2020-09-09 21:32:44', '2020-09-09 21:32:44');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `descripcionregrepveh`
--
CREATE TABLE `descripcionregrepveh` (
`id` bigint(20) UNSIGNED NOT NULL,
`regrepveh_id` int(11) NOT NULL,
`cantidad` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`codigo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`unidad` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`monto` int(11) NOT NULL,
`descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `descripcionregrepveh`
--
INSERT INTO `descripcionregrepveh` (`id`, `regrepveh_id`, `cantidad`, `codigo`, `unidad`, `monto`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, '20', 'gggg', '10', 12, 'descripcion 1', NULL, NULL, NULL),
(2, 2, '20', 'gggg', '10', 12, 'descripcion 2', NULL, NULL, NULL),
(3, 2, '20', 'gggg', '10', 12, 'descripcion 3n', NULL, NULL, NULL),
(4, 2, '20', 'gggg', '10', 12, 'descripcion 4', NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `equipo`
--
CREATE TABLE `equipo` (
`id` bigint(20) UNSIGNED NOT NULL,
`codigo` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
`descripcion` varchar(22) COLLATE utf8mb4_unicode_ci NOT NULL,
`modelo` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`placa` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`marca_id` bigint(20) UNSIGNED NOT NULL,
`contratista_id` bigint(20) UNSIGNED NOT NULL,
`anio` year(4) DEFAULT NULL,
`area_id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `equipo`
--
INSERT INTO `equipo` (`id`, `codigo`, `descripcion`, `modelo`, `placa`, `marca_id`, `contratista_id`, `anio`, `area_id`, `concesionaria_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '1234567FD', 'GRUPO GENERADOR', 'P33-1', '172084TB', 1, 1, 2010, 2, 1, '2020-09-09 07:35:34', '2020-09-09 08:53:15', NULL),
(2, '452SE1FG', 'CAMIONETA', 'L200', '456123FD', 2, 2, 2015, 1, 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `grifo`
--
CREATE TABLE `grifo` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `grifo`
--
INSERT INTO `grifo` (`id`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'LEON DE ORO', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'PECSA', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, 'PRIMAX', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `grupomenu`
--
CREATE TABLE `grupomenu` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`icono` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`orden` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `grupomenu`
--
INSERT INTO `grupomenu` (`id`, `descripcion`, `icono`, `orden`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'INFORMACION BASE', 'content_paste', 1, NULL, '2020-09-09 07:54:25', NULL),
(2, 'SISTEMA', 'settings_power', 2, NULL, NULL, NULL),
(3, 'PROCESOS', 'dashboard', 3, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `marca`
--
CREATE TABLE `marca` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `marca`
--
INSERT INTO `marca` (`id`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'MITSUBISHI', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'TOYOTA', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, 'HITACHI', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, 'VOLVO', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(5, 'SANY', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_10_170508_create_concesionaria_table', 1),
(2, '2014_10_11_000000_create_tipouser_table', 1),
(3, '2014_10_12_000000_create_users_table', 1),
(4, '2014_10_12_100000_create_password_resets_table', 1),
(5, '2019_08_19_000000_create_failed_jobs_table', 1),
(6, '2020_06_23_050528_create_grupomenu', 1),
(7, '2020_06_23_050619_create_opcionmenu_table', 1),
(8, '2020_06_23_050755_create_acceso_table', 1),
(9, '2020_06_23_093425_create_marca_table', 1),
(10, '2020_06_23_234823_create_propietarios_table', 1),
(11, '2020_06_24_004558_create_repuestos_table', 1),
(12, '2020_06_24_005941_create_ua_table', 1),
(13, '2020_06_24_011622_create_unidades_table', 1),
(14, '2020_06_24_052844_create_tipohora_table', 1),
(15, '2020_06_24_053409_create_grifo_table', 1),
(16, '2020_06_24_172958_update_addfk_ua_propietarios', 1),
(17, '2020_06_24_173728_update_addfk_unidad_ua', 1),
(18, '2020_06_24_201109_create_contratistas_table', 1),
(19, '2020_06_24_201230_create_conductors_table', 1),
(20, '2020_06_25_011805_create_equipo_table', 1),
(21, '2020_06_26_000010_create_area_table', 1),
(22, '2020_06_26_000112_create_trabajo_table', 1),
(23, '2020_06_27_002323_edit_equipo_foreing', 1),
(24, '2020_06_29_040921_addfk_repuestos_unidad', 1),
(25, '2020_08_12_044331_create_controldiario_table', 1),
(26, '2020_08_12_152355_create_vehiculo_table', 1),
(27, '2020_08_17_225103_create_abastecimiento_combustibles_table', 1),
(28, '2020_08_19_013022_addfk_grifo_abastcombustible', 1),
(29, '2020_08_19_013129_addfk_conductor_abastcombustible', 1),
(30, '2020_08_19_013158_addfk_ua_abastcombustible', 1),
(31, '2020_08_19_013211_addfk_equipo_abastcombustible', 1),
(32, '2020_08_19_165302_create_permiso_table', 1),
(33, '2020_08_30_175048_create_tipovehiculodocument_table', 1),
(34, '2020_08_30_195705_create_vehiculodocument_table', 1),
(35, '2020_08_31_164544_create_checklistvehicular_table', 1),
(36, '2020_08_31_181821_create_userconcesionaria_table', 1),
(37, '2020_08_31_181845_create_table_regrepveh', 1),
(38, '2020_09_04_000817_create_table_descripcion_regrepveh', 1),
(39, '2020_09_06_195453_create_conductorconcesionaria_table', 1),
(40, '2020_09_07_225331_addfk_concesionaria_equipo', 1),
(41, '2020_09_07_230316_addfk_concesionaria_vehiculo', 1),
(42, '2020_09_07_230356_addfk_vehiculo_abastecimientocombustible', 1),
(43, '2020_09_07_234004_create_view_equipo_vehiculo', 1),
(44, '2020_09_09_012200_addfk_ua_concesionaria', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `opcionmenu`
--
CREATE TABLE `opcionmenu` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`link` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`icono` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`orden` int(11) NOT NULL,
`grupomenu_id` bigint(20) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `opcionmenu`
--
INSERT INTO `opcionmenu` (`id`, `descripcion`, `link`, `icono`, `orden`, `grupomenu_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'UA', 'ua', 'api', 1, 1, NULL, '2020-09-09 07:55:22', NULL),
(2, 'Propietarios', 'propietario', 'accessibility', 1, 1, NULL, '2020-09-10 00:36:10', '2020-09-10 00:36:10'),
(3, 'Unidades', 'unidad', 'ac_unit', 1, 1, NULL, NULL, NULL),
(4, 'Tipo de users', 'tipouser', 'contacts', 4, 2, NULL, NULL, NULL),
(5, 'Marcas', 'marcas', 'model_training', 1, 1, NULL, NULL, NULL),
(6, 'Repuestos', 'repuestos', 'settings', 2, 1, NULL, NULL, NULL),
(7, 'Conductores', 'conductores', 'face', 3, 1, NULL, NULL, NULL),
(8, 'Areas', 'areas', 'info', 4, 1, NULL, NULL, NULL),
(9, 'Contratistas', 'contratistas', 'perm_identity', 5, 1, NULL, NULL, NULL),
(10, 'Trabajos', 'trabajos', 'play_for_work', 6, 1, NULL, NULL, NULL),
(11, 'CONCESIONARIAS', 'concesionarias', 'card_giftcard', 7, 1, NULL, '2020-09-09 08:06:43', NULL),
(12, 'Grupo Menu', 'grupomenu', 'vertical_split', 3, 2, NULL, NULL, NULL),
(13, 'Opcion Menu', 'opcionmenu', 'language', 4, 2, NULL, NULL, NULL),
(14, 'Tipo de horas', 'tipohora', 'hourglass_empty', 4, 1, NULL, NULL, NULL),
(15, 'Vehículos', 'vehiculo', 'directions_car', 4, 1, NULL, NULL, NULL),
(16, 'CTRL DE EQUIPOS', 'controldiario', 'agriculture', 4, 3, NULL, '2020-09-09 08:08:40', NULL),
(17, 'Grifos', 'grifo', 'toc', 5, 1, NULL, NULL, NULL),
(18, 'Equipos', 'equipo', 'directions_car', 6, 1, NULL, NULL, NULL),
(19, 'MANT. CORR. Y PREV.', 'mantcorrprev', 'plumbing', 1, 3, NULL, '2020-09-09 08:09:44', NULL),
(20, 'ABAST. COMBUSTIBLE', 'abastecimiento', 'ev_station', 1, 3, NULL, '2020-09-09 08:10:13', NULL),
(21, 'Usuario', 'user', 'person', 1, 2, NULL, NULL, NULL),
(22, 'REG.REP.VEHICULAR', 'regrepveh', 'handyman', 1, 3, NULL, '2020-09-09 08:10:33', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `permiso`
--
CREATE TABLE `permiso` (
`id` bigint(20) UNSIGNED NOT NULL,
`opcionmenu_id` bigint(20) UNSIGNED NOT NULL,
`tipouser_id` bigint(20) UNSIGNED NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `propietarios`
--
CREATE TABLE `propietarios` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`fecha_llegada` date NOT NULL,
`fecha_salida` date NOT NULL,
`fecha_contrato` date NOT NULL,
`status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`hra` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`hrb` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`hrc` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`km` double(8,2) NOT NULL,
`observacion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`ubicacion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ua_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `propietarios`
--
INSERT INTO `propietarios` (`id`, `descripcion`, `fecha_llegada`, `fecha_salida`, `fecha_contrato`, `status`, `hra`, `hrb`, `hrc`, `km`, `observacion`, `ubicacion`, `ua_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'ESTE PROPIETARIO ES PRUEBA 01', '2020-06-20', '2020-09-09', '2020-06-20', 'Habilitado', 'prueba hra 01', 'pruebb hrb 01', 'pruebc hrc 01', 25000.00, 'alguna obs 01', 'Argenta 01', 1, '2020-09-09 07:35:34', '2020-09-09 20:46:06', NULL),
(2, 'Este propietario es prueba 02', '2020-06-20', '2020-09-09', '2020-06-20', 'Habilitado', 'prueba hra 02', 'pruebb hrb 02', 'pruebc hrc 02', 25000.00, 'alguna obs 02', 'Argenta 02', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, 'Este propietario es prueba 03', '2020-06-20', '2020-09-09', '2020-06-20', 'Habilitado', 'prueba hra 03', 'pruebb hrb 03', 'pruebc hrc 03', 25000.00, 'alguna obs 03', 'Argenta 03', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, 'Este propietario es prueba 04', '2020-06-20', '2020-09-09', '2020-06-20', 'Habilitado', 'prueba hra 04', 'pruebb hrb 04', 'pruebc hrc 04', 25000.00, 'alguna obs 04', 'Argenta 04', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `regrepveh`
--
CREATE TABLE `regrepveh` (
`id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` int(11) NOT NULL,
`cliente` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`ua_id` int(11) NOT NULL,
`kmman` int(11) NOT NULL,
`kminicial` int(11) NOT NULL,
`kmfinal` int(11) NOT NULL,
`fechaentrada` date DEFAULT NULL,
`fechasalida` date DEFAULT NULL,
`tipomantenimiento` int(11) NOT NULL,
`telefono` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `regrepveh`
--
INSERT INTO `regrepveh` (`id`, `concesionaria_id`, `cliente`, `ua_id`, `kmman`, `kminicial`, `kmfinal`, `fechaentrada`, `fechasalida`, `tipomantenimiento`, `telefono`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'cliente de H2O', 1001, 10, 12, 13, '2020-09-09', '2020-09-09', 1, 154251452, NULL, NULL, NULL),
(2, 2, 'cliente de CTO', 1000, 100, 120, 130, '2020-09-09', '2020-09-09', 1, 22222222, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `repuesto`
--
CREATE TABLE `repuesto` (
`id` bigint(20) UNSIGNED NOT NULL,
`codigo` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL,
`descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`unidad_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `repuesto`
--
INSERT INTO `repuesto` (`id`, `codigo`, `descripcion`, `unidad_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '1000001', 'FRENO DE MANO', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, '1000002', 'FAROS DELANTEROS', 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, '1000003', 'ALARMA DE RETROCESO', 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, '100004', 'PARACHOQUES', 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(5, '100005', 'PLUMILLAS', 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `tipohora`
--
CREATE TABLE `tipohora` (
`id` bigint(20) UNSIGNED NOT NULL,
`codigo` text COLLATE utf8mb4_unicode_ci NOT NULL,
`descripcion` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `tipohora`
--
INSERT INTO `tipohora` (`id`, `codigo`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '01', 'ABASTECIMIENTO/LUBRICACIóN/LAVADO', '2020-09-09 07:35:34', '2020-09-09 08:48:01', NULL),
(2, '02', 'REPARACION DE LLANTAS', '2020-09-09 07:35:34', '2020-09-09 08:48:08', NULL),
(3, '03', 'MANTENIMIENTO MECANICO', '2020-09-09 07:35:34', '2020-09-09 08:48:13', NULL),
(4, '04', 'PARADO OPERATIVO (STAND BY)', '2020-09-09 07:35:34', '2020-09-09 08:48:18', NULL),
(5, '05', 'PARADO INOPERATIVO', '2020-09-09 08:43:39', '2020-09-09 08:48:23', NULL),
(6, '06', 'ALMUERZO/CENA/REFRIGERIO', '2020-09-09 08:43:52', '2020-09-09 08:48:28', NULL),
(7, '07', 'PARADO POR LLUVIA', '2020-09-09 08:44:03', '2020-09-09 08:48:32', NULL),
(8, '08', 'FALTA DE OPERADOR', '2020-09-09 08:44:12', '2020-09-09 08:48:37', NULL),
(9, '09', 'PARADO POR AREA DE SEGURIDAD / CHARLA', '2020-09-09 08:44:29', '2020-09-09 08:48:44', NULL),
(10, '10', 'PARADO POR FALTA DE COMBUSTIBLE', '2020-09-09 08:44:43', '2020-09-09 08:44:43', NULL),
(11, '11', 'FALTA FRENTE DE SERVICIO', '2020-09-09 08:44:52', '2020-09-09 08:44:52', NULL),
(12, '12', 'FUERA DE OBRA', '2020-09-09 08:45:37', '2020-09-09 08:45:37', NULL),
(13, '13', 'FALTA EQUIPO AUXILIAR', '2020-09-09 08:45:51', '2020-09-09 08:45:57', NULL),
(14, '14', 'FALTA EQUIPO AUXILIAR (D)', '2020-09-09 08:46:06', '2020-09-09 08:46:06', NULL),
(15, '15', 'INTERFERENCIAS', '2020-09-09 08:46:16', '2020-09-09 08:46:16', NULL),
(16, '16', 'DESMOVILIZADO', '2020-09-09 08:46:33', '2020-09-09 08:46:33', NULL),
(17, 'SB', 'STAND BY', '2020-09-09 08:47:18', '2020-09-09 08:47:18', NULL),
(18, 'FM', 'FALLA MECANICA', '2020-09-09 08:47:55', '2020-09-09 08:47:55', NULL),
(19, 'MP', 'MANTENIMIENTO PREVENTIVO', '2020-09-09 08:48:57', '2020-09-09 08:48:57', NULL),
(20, 'FO', 'FUERA DE OBRA', '2020-09-09 08:49:06', '2020-09-09 08:49:06', NULL),
(21, 'SO', 'SIN OPERADOR', '2020-09-09 08:49:14', '2020-09-09 08:49:14', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `tipouser`
--
CREATE TABLE `tipouser` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `tipouser`
--
INSERT INTO `tipouser` (`id`, `descripcion`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'ADMIN', NULL, '2020-09-09 07:35:34', '2020-09-09 07:35:34'),
(2, 'EQUIPO', NULL, '2020-09-09 07:35:34', '2020-09-09 07:48:23'),
(3, 'ADMINISTRACION', NULL, '2020-09-09 07:49:20', '2020-09-09 07:49:20'),
(4, 'SUBCONTRATOS', NULL, '2020-09-09 07:50:17', '2020-09-09 07:50:17'),
(5, 'USUARIO H2O', NULL, '2020-09-09 08:21:48', '2020-09-09 08:21:48'),
(6, 'USUARIO CTO', NULL, '2020-09-09 08:22:01', '2020-09-09 08:22:01');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `tipovehiculodocument`
--
CREATE TABLE `tipovehiculodocument` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `trabajo`
--
CREATE TABLE `trabajo` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `trabajo`
--
INSERT INTO `trabajo` (`id`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'trabajo de prueba 1', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'segundo trabajo de prueba', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `ua`
--
CREATE TABLE `ua` (
`id` bigint(20) UNSIGNED NOT NULL,
`codigo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`tipo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`fondos` tinyint(1) NOT NULL,
`responsable` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tipo_costo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ua_padre_id` bigint(20) UNSIGNED DEFAULT NULL,
`unidad_id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `ua`
--
INSERT INTO `ua` (`id`, `codigo`, `descripcion`, `tipo`, `fondos`, `responsable`, `tipo_costo`, `ua_padre_id`, `unidad_id`, `concesionaria_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '10000000', 'COSTO DIRECTO IRRIGACIONES', '-', 0, '-', '-', NULL, 2, 1, '2020-09-09 07:35:34', '2020-09-09 19:36:29', NULL),
(2, '1000000', 'OPERACIÓN IRRIGACIONES', '-', 1, 'Alfonso Pinillos', 'DIRECTO', 1, 2, 1, '2020-09-09 07:35:34', '2020-09-09 19:37:50', NULL),
(3, '110000', 'OPERACIÓN IRRIGACION OLMOS', '-', 0, 'Jose Salinas', 'DIRECTO', 2, 2, 1, '2020-09-09 07:35:34', '2020-09-09 19:38:42', NULL),
(4, '1003', 'Esta ua es prueba 04', 'tipo 04', 1, 'Pluck Asegura', 'flete anual', NULL, 3, 2, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(5, '11100', 'OPERACIóN BOC. LA JULIANA - DESARENADOR', NULL, 1, 'Fiorella Carpio', 'DIRECTO', 3, 1, 1, '2020-09-09 20:57:50', '2020-09-09 20:57:50', NULL),
(6, '11200', 'OPERACIóN BOC. MIRAFLORES - DESARENADOR', NULL, 0, 'Fiorella Carpio', 'DIRECTO', 3, 1, 1, '2020-09-09 20:59:02', '2020-09-09 20:59:02', NULL),
(7, '11300', 'OPERACIóN EMBALSE PALO VERDE', NULL, 0, 'Fiorella Carpio', 'DIRECTO', 3, 1, 1, '2020-09-09 20:59:38', '2020-09-09 20:59:38', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `unidad`
--
CREATE TABLE `unidad` (
`id` bigint(20) UNSIGNED NOT NULL,
`descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `unidad`
--
INSERT INTO `unidad` (`id`, `descripcion`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'MES', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, 'VB', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(3, 'METRO CÚBICO', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(4, 'KILOMETRO', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(5, 'GLB', '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `userconcesionaria`
--
CREATE TABLE `userconcesionaria` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`estado` tinyint(1) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `userconcesionaria`
--
INSERT INTO `userconcesionaria` (`id`, `user_id`, `concesionaria_id`, `estado`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, '2020-09-09 07:35:34', '2020-09-09 07:50:48'),
(2, 1, 2, 1, '2020-09-09 07:35:34', '2020-09-09 07:50:48'),
(3, 2, 1, 1, '2020-09-09 07:35:34', NULL),
(4, 2, 2, 1, '2020-09-09 07:35:34', NULL),
(5, 3, 1, 1, '2020-09-09 07:35:34', '2020-09-09 07:51:41'),
(6, 3, 2, 1, '2020-09-09 07:35:34', '2020-09-09 07:51:41'),
(7, 4, 1, 1, '2020-09-09 07:35:34', '2020-09-09 07:51:19'),
(8, 4, 2, 1, '2020-09-09 07:35:34', '2020-09-09 07:51:19'),
(9, 5, 1, 1, '2020-09-09 07:52:49', '2020-09-09 07:52:49'),
(10, 5, 2, 1, '2020-09-09 07:52:49', '2020-09-09 07:52:49'),
(11, 6, 2, 1, '2020-09-09 08:22:43', '2020-09-09 08:22:43'),
(12, 7, 1, 1, '2020-09-09 08:23:40', '2020-09-09 08:23:40');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tipouser_id` bigint(20) UNSIGNED NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `users`
--
INSERT INTO `users` (`id`, `name`, `username`, `email_verified_at`, `password`, `tipouser_id`, `remember_token`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'JAVIER GONZALES', 'admin', '2020-09-09 07:35:34', '$2y$10$vtHyFVF9fpTZCR3PUokrfemtYgNjZHMsGUJiGPFvZOfeoy8zJ5lGm', 1, NULL, '2020-09-09 07:35:34', '2020-09-09 07:50:48', NULL),
(2, 'Gonzalo Perseo Miranda Altos', 'gonzalo', '2020-09-09 07:35:34', '$2y$10$H.AzVdE7G.daWtT/G2ZWVuoiRsB.PWpFdc0/CZLbxlULL6vZyBfWO', 1, NULL, '2020-09-09 07:35:34', '2020-09-09 07:35:34', '2020-09-09 07:35:34'),
(3, 'SIXTO CHAVEZ', 'sixto', '2020-09-09 07:35:34', '$2y$10$JvJ5WKWYlBwAmt7r3IHtSeyl3HlGWEdQdU69xaz/92Vc6Ya5R4BVu', 3, NULL, '2020-09-09 07:35:34', '2020-09-09 07:51:41', NULL),
(4, 'GUILLERMO CIPAGAUTA', 'guillermo', '2020-09-09 07:35:34', '$2y$10$.OtTrgqQSktAuNM/7adtrOTzMJjlBN2W52Ocjh2a36BNT.EUNl.Fu', 2, NULL, '2020-09-09 07:35:34', '2020-09-09 07:51:19', NULL),
(5, 'SAYRA MONJA', 'sayra', NULL, '$2y$10$iz1eMn4/lJ3DoEAUTS2YFOCgP4rk5Rw1VFKFwSC8ZGTfcB5TLooPy', 4, NULL, '2020-09-09 07:52:49', '2020-09-09 07:52:49', NULL),
(6, 'USER CTO', 'usercto', NULL, '$2y$10$sa6YuZdOsudNjyEBXRAMM.yc79sg5ieRisRQYoDCotbX6JBvl5Qy2', 6, NULL, '2020-09-09 08:22:43', '2020-09-09 08:22:43', NULL),
(7, 'USER H2O', 'userh2o', NULL, '$2y$10$4U1URHrA6BtU5HB3aMzBuu2f0stYi/SXhReJNFtL86wqwrc2rYN72', 5, NULL, '2020-09-09 08:23:40', '2020-09-09 08:23:40', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `vehiculo`
--
CREATE TABLE `vehiculo` (
`id` bigint(20) UNSIGNED NOT NULL,
`ua` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
`placa` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`motor` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`modelo` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`asientos` int(11) NOT NULL,
`anio` year(4) NOT NULL,
`marca_id` bigint(20) UNSIGNED NOT NULL,
`area_id` bigint(20) UNSIGNED NOT NULL,
`contratista_id` bigint(20) UNSIGNED NOT NULL,
`chasis` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`carroceria` tinyint(1) NOT NULL,
`color` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`concesionaria_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Volcado de datos para la tabla `vehiculo`
--
INSERT INTO `vehiculo` (`id`, `ua`, `placa`, `motor`, `modelo`, `asientos`, `anio`, `marca_id`, `area_id`, `contratista_id`, `chasis`, `carroceria`, `color`, `concesionaria_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '66015H13', 'M6E-769', '1GD0346765', 'HILUX', 5, 2017, 2, 1, 1, '8AJHA8CD3J607589', 0, 'BLANCO PERLA', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL),
(2, '66015H12', 'M6E-766', '1GD0343626', 'HILUX', 5, 2017, 2, 1, 1, '8AJHA8CD3J606784', 0, 'BLANCO PERLA', 1, '2020-09-09 07:35:34', '2020-09-09 07:35:34', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `vehiculodocument`
--
CREATE TABLE `vehiculodocument` (
`id` bigint(20) UNSIGNED NOT NULL,
`vehiculo_id` bigint(20) UNSIGNED NOT NULL,
`fecha` date NOT NULL,
`tipo` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `view_equipo_vehiculo`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `view_equipo_vehiculo` (
`id` bigint(20) unsigned
,`descripcion` varchar(22)
,`modelo` varchar(20)
,`placa-codigo` varchar(15)
,`placa` varchar(15)
,`marca_id` bigint(20) unsigned
,`area_id` bigint(20) unsigned
,`contratista_id` bigint(20) unsigned
,`anio` year(4)
,`tipo` varchar(1)
,`concesionaria_id` bigint(20) unsigned
,`deleted_at` timestamp
);
-- --------------------------------------------------------
--
-- Estructura para la vista `view_equipo_vehiculo`
--
DROP TABLE IF EXISTS `view_equipo_vehiculo`;
CREATE ALGORITHM=UNDEFINED DEFINER=`h2olmos`@`localhost` SQL SECURITY DEFINER VIEW `view_equipo_vehiculo` AS select `equipo`.`id` AS `id`,`equipo`.`descripcion` AS `descripcion`,`equipo`.`modelo` AS `modelo`,`equipo`.`codigo` AS `placa-codigo`,`equipo`.`placa` AS `placa`,`equipo`.`marca_id` AS `marca_id`,`equipo`.`area_id` AS `area_id`,`equipo`.`contratista_id` AS `contratista_id`,`equipo`.`anio` AS `anio`,'e' AS `tipo`,`equipo`.`concesionaria_id` AS `concesionaria_id`,`equipo`.`deleted_at` AS `deleted_at` from `equipo` union all select `vehiculo`.`id` AS `id`,`vehiculo`.`modelo` AS `descripcion`,`vehiculo`.`modelo` AS `modelo`,`vehiculo`.`placa` AS `placa-codigo`,`vehiculo`.`placa` AS `placa`,`vehiculo`.`marca_id` AS `marca_id`,`vehiculo`.`area_id` AS `area_id`,`vehiculo`.`contratista_id` AS `contratista_id`,`vehiculo`.`anio` AS `anio`,'v' AS `tipo`,`vehiculo`.`concesionaria_id` AS `concesionaria_id`,`vehiculo`.`deleted_at` AS `deleted_at` from `vehiculo` ;
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `abastecimiento_combustible`
--
ALTER TABLE `abastecimiento_combustible`
ADD PRIMARY KEY (`id`),
ADD KEY `abastecimiento_combustible_grifo_id_foreign` (`grifo_id`),
ADD KEY `abastecimiento_combustible_conductor_id_foreign` (`conductor_id`),
ADD KEY `abastecimiento_combustible_ua_id_foreign` (`ua_id`),
ADD KEY `abastecimiento_combustible_equipo_id_foreign` (`equipo_id`),
ADD KEY `abastecimiento_combustible_vehiculo_id_foreign` (`vehiculo_id`);
--
-- Indices de la tabla `acceso`
--
ALTER TABLE `acceso`
ADD PRIMARY KEY (`id`),
ADD KEY `acceso_tipouser_id_foreign` (`tipouser_id`),
ADD KEY `acceso_opcionmenu_id_foreign` (`opcionmenu_id`);
--
-- Indices de la tabla `area`
--
ALTER TABLE `area`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `checklistvehicular`
--
ALTER TABLE `checklistvehicular`
ADD PRIMARY KEY (`id`),
ADD KEY `checklistvehicular_equipo_id_foreign` (`equipo_id`),
ADD KEY `checklistvehicular_vehiculo_id_foreign` (`vehiculo_id`),
ADD KEY `checklistvehicular_conductor_id_foreign` (`conductor_id`),
ADD KEY `checklistvehicular_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `concesionaria`
--
ALTER TABLE `concesionaria`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `concesionaria_ruc_unique` (`ruc`);
--
-- Indices de la tabla `conductor`
--
ALTER TABLE `conductor`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `conductor_dni_unique` (`dni`),
ADD UNIQUE KEY `conductor_licencia_unique` (`licencia`),
ADD KEY `conductor_contratista_id_foreign` (`contratista_id`);
--
-- Indices de la tabla `conductorconcesionaria`
--
ALTER TABLE `conductorconcesionaria`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `conductorconcesionaria_conductor_id_concesionaria_id_unique` (`conductor_id`,`concesionaria_id`),
ADD KEY `conductorconcesionaria_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `contratista`
--
ALTER TABLE `contratista`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `contratista_ruc_unique` (`ruc`);
--
-- Indices de la tabla `controldiario`
--
ALTER TABLE `controldiario`
ADD PRIMARY KEY (`id`),
ADD KEY `controldiario_equipo_id_foreign` (`equipo_id`),
ADD KEY `controldiario_tipohora_id_foreign` (`tipohora_id`);
--
-- Indices de la tabla `descripcionregrepveh`
--
ALTER TABLE `descripcionregrepveh`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `equipo`
--
ALTER TABLE `equipo`
ADD PRIMARY KEY (`id`),
ADD KEY `equipo_marca_id_foreign` (`marca_id`),
ADD KEY `equipo_contratista_id_foreign` (`contratista_id`),
ADD KEY `equipo_area_id_foreign` (`area_id`),
ADD KEY `equipo_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `grifo`
--
ALTER TABLE `grifo`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `grupomenu`
--
ALTER TABLE `grupomenu`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `marca`
--
ALTER TABLE `marca`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `marca_descripcion_unique` (`descripcion`);
--
-- Indices de la tabla `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `opcionmenu`
--
ALTER TABLE `opcionmenu`
ADD PRIMARY KEY (`id`),
ADD KEY `opcionmenu_grupomenu_id_foreign` (`grupomenu_id`);
--
-- Indices de la tabla `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indices de la tabla `permiso`
--
ALTER TABLE `permiso`
ADD PRIMARY KEY (`id`),
ADD KEY `permiso_opcionmenu_id_foreign` (`opcionmenu_id`),
ADD KEY `permiso_tipouser_id_foreign` (`tipouser_id`);
--
-- Indices de la tabla `propietarios`
--
ALTER TABLE `propietarios`
ADD PRIMARY KEY (`id`),
ADD KEY `propietarios_ua_id_foreign` (`ua_id`);
--
-- Indices de la tabla `regrepveh`
--
ALTER TABLE `regrepveh`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `repuesto`
--
ALTER TABLE `repuesto`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `repuesto_codigo_unique` (`codigo`),
ADD UNIQUE KEY `repuesto_descripcion_unique` (`descripcion`),
ADD KEY `repuesto_unidad_id_foreign` (`unidad_id`);
--
-- Indices de la tabla `tipohora`
--
ALTER TABLE `tipohora`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `tipouser`
--
ALTER TABLE `tipouser`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `tipovehiculodocument`
--
ALTER TABLE `tipovehiculodocument`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `trabajo`
--
ALTER TABLE `trabajo`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `ua`
--
ALTER TABLE `ua`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `ua_codigo_unique` (`codigo`),
ADD KEY `ua_unidad_id_foreign` (`unidad_id`),
ADD KEY `ua_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `unidad`
--
ALTER TABLE `unidad`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `userconcesionaria`
--
ALTER TABLE `userconcesionaria`
ADD PRIMARY KEY (`id`),
ADD KEY `userconcesionaria_user_id_foreign` (`user_id`),
ADD KEY `userconcesionaria_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD KEY `users_tipouser_id_foreign` (`tipouser_id`);
--
-- Indices de la tabla `vehiculo`
--
ALTER TABLE `vehiculo`
ADD PRIMARY KEY (`id`),
ADD KEY `vehiculo_marca_id_foreign` (`marca_id`),
ADD KEY `vehiculo_area_id_foreign` (`area_id`),
ADD KEY `vehiculo_contratista_id_foreign` (`contratista_id`),
ADD KEY `vehiculo_concesionaria_id_foreign` (`concesionaria_id`);
--
-- Indices de la tabla `vehiculodocument`
--
ALTER TABLE `vehiculodocument`
ADD PRIMARY KEY (`id`),
ADD KEY `vehiculodocument_vehiculo_id_foreign` (`vehiculo_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `abastecimiento_combustible`
--
ALTER TABLE `abastecimiento_combustible`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `acceso`
--
ALTER TABLE `acceso`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60;
--
-- AUTO_INCREMENT de la tabla `area`
--
ALTER TABLE `area`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `checklistvehicular`
--
ALTER TABLE `checklistvehicular`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `concesionaria`
--
ALTER TABLE `concesionaria`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `conductor`
--
ALTER TABLE `conductor`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `conductorconcesionaria`
--
ALTER TABLE `conductorconcesionaria`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `contratista`
--
ALTER TABLE `contratista`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `controldiario`
--
ALTER TABLE `controldiario`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `descripcionregrepveh`
--
ALTER TABLE `descripcionregrepveh`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `equipo`
--
ALTER TABLE `equipo`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `grifo`
--
ALTER TABLE `grifo`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `grupomenu`
--
ALTER TABLE `grupomenu`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `marca`
--
ALTER TABLE `marca`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;
--
-- AUTO_INCREMENT de la tabla `opcionmenu`
--
ALTER TABLE `opcionmenu`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT de la tabla `permiso`
--
ALTER TABLE `permiso`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `propietarios`
--
ALTER TABLE `propietarios`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `regrepveh`
--
ALTER TABLE `regrepveh`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `repuesto`
--
ALTER TABLE `repuesto`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `tipohora`
--
ALTER TABLE `tipohora`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
--
-- AUTO_INCREMENT de la tabla `tipouser`
--
ALTER TABLE `tipouser`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT de la tabla `tipovehiculodocument`
--
ALTER TABLE `tipovehiculodocument`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `trabajo`
--
ALTER TABLE `trabajo`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `ua`
--
ALTER TABLE `ua`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `unidad`
--
ALTER TABLE `unidad`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `userconcesionaria`
--
ALTER TABLE `userconcesionaria`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT de la tabla `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `vehiculo`
--
ALTER TABLE `vehiculo`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `vehiculodocument`
--
ALTER TABLE `vehiculodocument`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `abastecimiento_combustible`
--
ALTER TABLE `abastecimiento_combustible`
ADD CONSTRAINT `abastecimiento_combustible_conductor_id_foreign` FOREIGN KEY (`conductor_id`) REFERENCES `conductor` (`id`),
ADD CONSTRAINT `abastecimiento_combustible_equipo_id_foreign` FOREIGN KEY (`equipo_id`) REFERENCES `equipo` (`id`),
ADD CONSTRAINT `abastecimiento_combustible_grifo_id_foreign` FOREIGN KEY (`grifo_id`) REFERENCES `grifo` (`id`),
ADD CONSTRAINT `abastecimiento_combustible_ua_id_foreign` FOREIGN KEY (`ua_id`) REFERENCES `ua` (`id`),
ADD CONSTRAINT `abastecimiento_combustible_vehiculo_id_foreign` FOREIGN KEY (`vehiculo_id`) REFERENCES `vehiculo` (`id`);
--
-- Filtros para la tabla `acceso`
--
ALTER TABLE `acceso`
ADD CONSTRAINT `acceso_opcionmenu_id_foreign` FOREIGN KEY (`opcionmenu_id`) REFERENCES `opcionmenu` (`id`),
ADD CONSTRAINT `acceso_tipouser_id_foreign` FOREIGN KEY (`tipouser_id`) REFERENCES `tipouser` (`id`);
--
-- Filtros para la tabla `checklistvehicular`
--
ALTER TABLE `checklistvehicular`
ADD CONSTRAINT `checklistvehicular_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `checklistvehicular_conductor_id_foreign` FOREIGN KEY (`conductor_id`) REFERENCES `conductor` (`id`),
ADD CONSTRAINT `checklistvehicular_equipo_id_foreign` FOREIGN KEY (`equipo_id`) REFERENCES `equipo` (`id`),
ADD CONSTRAINT `checklistvehicular_vehiculo_id_foreign` FOREIGN KEY (`vehiculo_id`) REFERENCES `vehiculo` (`id`);
--
-- Filtros para la tabla `conductor`
--
ALTER TABLE `conductor`
ADD CONSTRAINT `conductor_contratista_id_foreign` FOREIGN KEY (`contratista_id`) REFERENCES `contratista` (`id`);
--
-- Filtros para la tabla `conductorconcesionaria`
--
ALTER TABLE `conductorconcesionaria`
ADD CONSTRAINT `conductorconcesionaria_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `conductorconcesionaria_conductor_id_foreign` FOREIGN KEY (`conductor_id`) REFERENCES `conductor` (`id`);
--
-- Filtros para la tabla `controldiario`
--
ALTER TABLE `controldiario`
ADD CONSTRAINT `controldiario_equipo_id_foreign` FOREIGN KEY (`equipo_id`) REFERENCES `equipo` (`id`),
ADD CONSTRAINT `controldiario_tipohora_id_foreign` FOREIGN KEY (`tipohora_id`) REFERENCES `tipohora` (`id`);
--
-- Filtros para la tabla `equipo`
--
ALTER TABLE `equipo`
ADD CONSTRAINT `equipo_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `area` (`id`),
ADD CONSTRAINT `equipo_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `equipo_contratista_id_foreign` FOREIGN KEY (`contratista_id`) REFERENCES `contratista` (`id`),
ADD CONSTRAINT `equipo_marca_id_foreign` FOREIGN KEY (`marca_id`) REFERENCES `marca` (`id`);
--
-- Filtros para la tabla `opcionmenu`
--
ALTER TABLE `opcionmenu`
ADD CONSTRAINT `opcionmenu_grupomenu_id_foreign` FOREIGN KEY (`grupomenu_id`) REFERENCES `grupomenu` (`id`);
--
-- Filtros para la tabla `permiso`
--
ALTER TABLE `permiso`
ADD CONSTRAINT `permiso_opcionmenu_id_foreign` FOREIGN KEY (`opcionmenu_id`) REFERENCES `opcionmenu` (`id`),
ADD CONSTRAINT `permiso_tipouser_id_foreign` FOREIGN KEY (`tipouser_id`) REFERENCES `tipouser` (`id`);
--
-- Filtros para la tabla `propietarios`
--
ALTER TABLE `propietarios`
ADD CONSTRAINT `propietarios_ua_id_foreign` FOREIGN KEY (`ua_id`) REFERENCES `ua` (`id`) ON DELETE CASCADE;
--
-- Filtros para la tabla `repuesto`
--
ALTER TABLE `repuesto`
ADD CONSTRAINT `repuesto_unidad_id_foreign` FOREIGN KEY (`unidad_id`) REFERENCES `unidad` (`id`);
--
-- Filtros para la tabla `ua`
--
ALTER TABLE `ua`
ADD CONSTRAINT `ua_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `ua_unidad_id_foreign` FOREIGN KEY (`unidad_id`) REFERENCES `unidad` (`id`) ON DELETE CASCADE;
--
-- Filtros para la tabla `userconcesionaria`
--
ALTER TABLE `userconcesionaria`
ADD CONSTRAINT `userconcesionaria_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `userconcesionaria_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
--
-- Filtros para la tabla `users`
--
ALTER TABLE `users`
ADD CONSTRAINT `users_tipouser_id_foreign` FOREIGN KEY (`tipouser_id`) REFERENCES `tipouser` (`id`);
--
-- Filtros para la tabla `vehiculo`
--
ALTER TABLE `vehiculo`
ADD CONSTRAINT `vehiculo_area_id_foreign` FOREIGN KEY (`area_id`) REFERENCES `area` (`id`),
ADD CONSTRAINT `vehiculo_concesionaria_id_foreign` FOREIGN KEY (`concesionaria_id`) REFERENCES `concesionaria` (`id`),
ADD CONSTRAINT `vehiculo_contratista_id_foreign` FOREIGN KEY (`contratista_id`) REFERENCES `contratista` (`id`),
ADD CONSTRAINT `vehiculo_marca_id_foreign` FOREIGN KEY (`marca_id`) REFERENCES `marca` (`id`);
--
-- Filtros para la tabla `vehiculodocument`
--
ALTER TABLE `vehiculodocument`
ADD CONSTRAINT `vehiculodocument_vehiculo_id_foreign` FOREIGN KEY (`vehiculo_id`) REFERENCES `vehiculo` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
--------------------------------------------
SQL sample data
--------------------------------------------
/* 기존 데이터 리셋 */
DELETE FROM customer ;
DELETE FROM category;
DELETE FROM product;
DELETE FROM orders;
DELETE FROM shipment;
DELETE FROM shipment_company;
/* customer */
customer_insert_version2
INSERT INTO customer VALUES (1, 'Cho', 'Cho', 'Suwon', 010-1234-5678 , 1000, 100);
INSERT INTO customer VALUES (2, 'Kim', 'Kim', 'Seoul', 010-1234-8765 , 2000, 200);
INSERT INTO customer VALUES (3, 'Lee', 'Lee', 'Busan', 010-9876-5432 , 10000, 1000);
INSERT INTO customer VALUES (4, 'Choi', 'Choi', 'Seoul', 010-2222-3333 , 3000, 300);
INSERT INTO customer VALUES (5, 'Sohn', 'Sohn', 'Seoul', 010-1111-5555, 6000, 600);
/* product */
INSERT INTO product VALUES (1, 2, 'OO브랜드 T-shirt', '사두고 안입은 신상', 500, 1, '의류', 'READY', 1,-1);
INSERT INTO product VALUES (2, 3, 'ipad 에어 4 ', 'ipad air4 256GB 저렴하게 팔아요', 5000, 3, '디지털', 'READY', 2,-1);
INSERT INTO product VALUES (3, 4, '잠옷', '촉감 대박 잠옷 ㅍㅍ', 300, 1, '의류', 'READY', 3,-1);
INSERT INTO product VALUES (4, 5, '책상의자', '아이들 책상에 딱이에요. 연락주세요.', 1200, 2, '가구', 'READY', 4,-1);
INSERT INTO product VALUES (5, 1, '무선 충전기', '충전 빠르고 무선이라 편해요!', 1800, 3, '디지털', 'READY', 5,-1);
INSERT INTO product VALUES (6, 2, '이것이 자바다', '이것이 자바다 1, 2권 세트로 팜', 800, 4, '도서', 'READY', 6,-1);
INSERT INTO product VALUES (7, 3, '청바지', '한번 입고 안입은 청바지 팔아여', 1400, 1, '의류', 'READY', 7,-1);
INSERT INTO product VALUES (8, 4, '프린트 원피스', '사이즈 F 입니당', 1000, 1, '의류', 'READY', 8,-1);
/* category */
INSERT INTO category VALUES (1, '의류');
INSERT INTO category VALUES (2, '가구');
INSERT INTO category VALUES (3, '디지털');
INSERT INTO category VALUES (4, '도서');
/* orders */
INSERT INTO orders VALUES (1, sysdate, 2, 1, 2);
INSERT INTO orders VALUES (2, sysdate-10, 3, 3, 4);
INSERT INTO orders VALUES (3, sysdate-7, 4, 5, 1);
INSERT INTO orders VALUES (4, sysdate-3, 4, 6, 2);
/* shipment */
INSERT INTO shipment VALUES (1, 2, 1, 2);
INSERT INTO shipment VALUES (2, 3, 2, 3);
INSERT INTO shipment VALUES (3, 4, 3, 4);
INSERT INTO shipment VALUES (4, 5, 4, 5);
INSERT INTO shipment VALUES (5, 1, 5, 1);
INSERT INTO shipment VALUES (6, 2, 6, 3);
INSERT INTO shipment VALUES (7, 3, 7, 4);
INSERT INTO shipment VALUES (8, 4, 8, 5);
/* shipment company */
INSERT INTO shipment_company VALUES (1, '한진');
INSERT INTO shipment_company VALUES (2, '롯데');
INSERT INTO shipment_company VALUES (3, 'CJ대한통운');
INSERT INTO shipment_company VALUES (4, '로젠택배');
INSERT INTO shipment_company VALUES (5, '우체국');
|
--
-- Test trigger
--
CREATE TABLE student(
stu_id int primary key,
stu_name varchar(40),
age int
);
CREATE TABLE score(
stu_id int,
chinese_s int,
math_s int,
test_d date
);
-- create tirgger function
CREATE OR REPLACE FUNCTION student_delete_trigger()
RETURN TRIGGER
AS
BEGIN
DELETE FROM score WHERE stu_id = OLD.stu_id;
RETURN OLD;
END;
/
-- create trigger
CREATE TRIGGER delete_student_trigger
AFTER DELETE ON student
FOR EACH ROW EXECUTE PROCEDURE student_delete_trigger();
INSERT INTO student VALUES(1, 'Jane', 14);
INSERT INTO student VALUES(2, 'Williams', 13);
INSERT INTO student VALUES(3, 'Tony', 15);
INSERT INTO score VALUES(1, 85, 75, to_date('23-05-2020', 'dd-mm-yyyy'));
INSERT INTO score VALUES(1, 80, 73, to_date('04-09-2020', 'dd-mm-yyyy'));
INSERT INTO score VALUES(2, 68, 83, to_date('23-05-2020', 'dd-mm-yyyy'));
INSERT INTO score VALUES(2, 73, 88, to_date('04-09-2020', 'dd-mm-yyyy'));
INSERT INTO score VALUES(3, 90, 79, to_date('23-05-2020', 'dd-mm-yyyy'));
INSERT INTO score VALUES(3, 86, 82, to_date('23-05-2020', 'dd-mm-yyyy'));
SELECT * FROM score;
-- delete student Tony from student table
DELETE FROM student WHERE stu_id = 3;
-- check score table
SELECT * FROM score;
-- clean up
drop trigger delete_student_trigger on student;
drop function student_delete_trigger;
drop table score;
delete from student;
--
-- statement-level trigger
--
CREATE TABLE log_student(
update_time date,
db_user varchar(40),
opr_type varchar(6)
);
CREATE OR REPLACE FUNCTION log_student_trigger()
RETURN trigger
AS
BEGIN
INSERT INTO log_student VALUES(to_date('07-12-2020', 'dd-mm-yyyy'), 'postgres', TG_OP);
RETURN NULL;
END;
/
CREATE TRIGGER log_student_trigger
AFTER INSERT OR DELETE OR UPDATE ON student
FOR STATEMENT EXECUTE PROCEDURE log_student_trigger();
INSERT INTO student VALUES(1, 'Mark', 14), (2, 'Wade', 14);
SELECT * FROM student;
SELECT * FROM log_student;
DELETE FROM log_student;
UPDATE student set age = 15;
SELECT * FROM log_student;
DELETE FROM log_student;
UPDATE student set age = 16 where stu_id = 3;
SELECT * FROM log_student;
drop trigger log_student_trigger on student;
delete from log_student;
delete from student;
--
-- row-level trigger
--
CREATE TRIGGER log_student_trigger2
AFTER INSERT OR DELETE OR UPDATE ON student
FOR ROW EXECUTE PROCEDURE log_student_trigger();
INSERT INTO student VALUES(1, 'Mark', 14), (2, 'Wade', 14);
SELECT * from log_student;
DELETE from log_student;
UPDATE student set age = 15;
SELECT * FROM log_student;
DELETE FROM log_student;
UPDATE student set age = 16 where stu_id = 3;
SELECT * FROM log_student;
drop trigger log_student_trigger2 on student;
drop function log_student_trigger;
drop table log_student;
drop table student;
--
-- Test recursion
--
CREATE OR REPLACE FUNCTION recursion_test(int,int) RETURN text
AS
DECLARE
rslt text;
BEGIN
IF $1 <= 0 THEN
rslt = CAST($2 AS TEXT);
ELSE
rslt = CAST($1 AS TEXT) || ',' || recursion_test($1 - 1, $2);
END IF;
RETURN rslt;
END;
/
SELECT recursion_test(4,3);
drop function recursion_test(int,int);
--
-- Test the FOUND magic variable
--
CREATE TABLE found_test_tbl (a int);
create or replace function test_found() return boolean
as
begin
insert into found_test_tbl values (1);
if FOUND then
insert into found_test_tbl values (2);
end if;
update found_test_tbl set a = 100 where a = 1;
if FOUND then
insert into found_test_tbl values (3);
end if;
delete from found_test_tbl where a = 9999; -- matches no rows
if not FOUND then
insert into found_test_tbl values (4);
end if;
return true;
end;
/
select test_found();
select * from found_test_tbl;
drop function test_found();
--
-- Test set-returning functions for PL/iSQL
--
create or replace function test_table_func_rec() return setof found_test_tbl as
rec RECORD;
BEGIN
FOR rec IN select * from found_test_tbl LOOP
RETURN NEXT rec;
END LOOP;
RETURN;
END;
/
select * from test_table_func_rec();
drop function test_table_func_rec();
create or replace function test_table_func_row() return setof found_test_tbl as
DECLARE
rown found_test_tbl%ROWTYPE;
BEGIN
FOR rown IN select * from found_test_tbl LOOP
RETURN NEXT rown;
END LOOP;
RETURN;
END;
/
select * from test_table_func_row();
drop function test_table_func_row();
drop table found_test_tbl;
create or replace function test_ret_set_scalar(int,int) return setof int as
DECLARE
i int;
BEGIN
FOR i IN $1 .. $2 LOOP
RETURN NEXT i + 1;
END LOOP;
RETURN;
END;
/
select * from test_ret_set_scalar(1,10);
drop function test_ret_set_scalar;
create or replace function test_ret_set_rec_dyn(int) return setof record
as
retval RECORD;
BEGIN
IF $1 > 10 THEN
SELECT INTO retval 5, 10, 15;
RETURN NEXT retval;
RETURN NEXT retval;
ELSE
SELECT INTO retval 50, 5::numeric, 'xxx'::text;
RETURN NEXT retval;
RETURN NEXT retval;
END IF;
RETURN;
END;
/
SELECT * FROM test_ret_set_rec_dyn(1500) AS (a int, b int, c int);
SELECT * FROM test_ret_set_rec_dyn(5) AS (a int, b numeric, c text);
drop function test_ret_set_rec_dyn;
create function test_ret_rec_dyn(int) return record
as
DECLARE
retval RECORD;
BEGIN
IF $1 > 10 THEN
SELECT INTO retval 5, 10, 15;
RETURN retval;
ELSE
SELECT INTO retval 50, 5::numeric, 'xxx'::text;
RETURN retval;
END IF;
END;
/
SELECT * FROM test_ret_rec_dyn(1500) AS (a int, b int, c int);
SELECT * FROM test_ret_rec_dyn(5) AS (a int, b numeric, c text);
drop function test_ret_rec_dyn;
--
-- Test handling of OUT parameters
--
create or replace function f1(in i int, out j int) return setof int as
begin
j := i+1;
return next;
j := i+2;
return next;
return;
end;
/
select * from f1(42);
drop function f1;
create or replace function f1(in i int, out j int, out k text) returns setof record
as $$
begin
j := i+1;
k := 'foo';
return next;
j := j+1;
k := 'foot';
return next;
end$$ language plisql;
select * from f1(42);
drop function f1;
create or replace function duplic(in i anyelement, out j anyelement, out k anyarray)
as $$
begin
j := i;
k := array[j,j];
return;
end$$ language plisql;
select * from duplic(42);
select * from duplic('foo'::text);
drop function duplic;
--
-- test PERFORM
--
create table perform_test (
a INT,
b INT
);
create or replace function perform_simple_func(int) return boolean as
BEGIN
IF $1 < 20 THEN
INSERT INTO perform_test VALUES ($1, $1 + 10);
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END;
/
create or replace function perform_test_func() return void as
BEGIN
IF FOUND then
INSERT INTO perform_test VALUES (100, 100);
END IF;
PERFORM perform_simple_func(5);
IF FOUND then
INSERT INTO perform_test VALUES (100, 100);
END IF;
PERFORM perform_simple_func(50);
IF FOUND then
INSERT INTO perform_test VALUES (100, 100);
END IF;
RETURN;
END;
/
SELECT perform_test_func();
SELECT * FROM perform_test;
drop function perform_test_func;
drop function perform_simple_func;
drop table perform_test;
--
-- Test proper snapshot handling in simple expressions
--
create temp table users(login text, id serial);
create or replace function sp_id_user(a_login text) return int
as
x int;
begin
select into x id from users where login = a_login;
if found then return x; end if;
return 0;
end;
/
insert into users values('user1');
select sp_id_user('user1');
select sp_id_user('userx');
create or replace function sp_add_user(a_login text) return int
as
my_id_user int;
begin
my_id_user = sp_id_user( a_login );
IF my_id_user > 0 THEN
RETURN -1; -- error code for existing user
END IF;
INSERT INTO users ( login ) VALUES ( a_login );
my_id_user = sp_id_user( a_login );
IF my_id_user = 0 THEN
RETURN -2; -- error code for insertion failure
END IF;
RETURN my_id_user;
end;
/
select sp_add_user('user1');
select sp_add_user('user2');
select sp_add_user('user2');
select sp_add_user('user3');
select sp_add_user('user3');
drop function sp_add_user(text);
drop function sp_id_user(text);
--
-- tests for refcursors
--
drop table if exists rc_test;
create table rc_test (a int, b int);
copy rc_test from stdin;
5 10
50 100
500 1000
\.
create or replace function return_unnamed_refcursor() return refcursor
as
rc refcursor;
begin
open rc for select a from rc_test;
return rc;
end;
/
create or replace function use_refcursor(rc refcursor) return int
as
declare
x record;
begin
rc := return_unnamed_refcursor();
fetch next from rc into x;
return x.a;
end;
/
select use_refcursor(return_unnamed_refcursor());
create or replace function return_refcursor(rc refcursor) return refcursor
as
begin
open rc for select a from rc_test;
return rc;
end;
/
create or replace function refcursor_test1(refcursor) returns refcursor
as $$
begin
perform return_refcursor($1);
return $1;
end;
$$ language plisql;
begin;
select refcursor_test1('test1');
fetch next in test1;
select refcursor_test1('test2');
fetch all from test2;
commit;
-- should fail
fetch next from test1;
create or replace function refcursor_test2(int, int) return boolean
as
cursor c1(param1 int, param2 int) for select * from rc_test where a > param1 and b > param2;
nonsense record;
begin
open c1($1, $2);
fetch c1 into nonsense;
close c1;
if found then
return true;
else
return false;
end if;
end;
/
select refcursor_test2(20000, 20000) as "Should be false",
refcursor_test2(20, 20) as "Should be true";
--
-- tests for cursors with named parameter arguments
--
create or replace function namedparmcursor_test1(int, int) return boolean
as
cursor c1(param1 int, param12 int) for select * from rc_test where a > param1 and b > param12;
nonsense record;
begin
open c1(param12 := $2, param1 := $1);
fetch c1 into nonsense;
close c1;
if found then
return true;
else
return false;
end if;
end;
/
select namedparmcursor_test1(20000, 20000) as "Should be false",
namedparmcursor_test1(20, 20) as "Should be true";
-- mixing named and positional argument notations
create or replace function namedparmcursor_test2(int, int) return boolean
as
cursor c1(param1 int, param2 int) for select * from rc_test where a > param1 and b > param2;
nonsense record;
begin
open c1(param1 := $1, $2);
fetch c1 into nonsense;
close c1;
if found then
return true;
else
return false;
end if;
end;
/
select namedparmcursor_test2(20, 20);
drop function refcursor_test1;
drop function refcursor_test2;
drop function return_refcursor;
drop function use_refcursor;
drop function return_unnamed_refcursor;
drop function namedparmcursor_test1;
drop function namedparmcursor_test2;
drop table rc_test;
--
-- Test cursor with return clause
--
CREATE TABLE emp (
empno INTEGER NOT NULL,
ename VARCHAR(10),
job VARCHAR(9),
mgr NUMERIC(4),
hiredate DATE,
sal NUMERIC(7,2) ,
comm NUMERIC(7,2),
deptno NUMERIC(2)
);
INSERT INTO emp VALUES(736,'SMITH','CLERK',7902,to_date('17-12-2018','dd-mm-yyyy'),800,NULL,20);
INSERT INTO emp VALUES(749,'ALLEN','SALESMAN',7698,to_date('20-2-2018','dd-mm-yyyy'),1600,300,30);
-- Test support Column Alias In Cursor
create or replace function test_cur1(x int) return int
as
cursor emp_cur(x int)
is
select empno, (sal+1000) salary from emp where empno = x;
emp_rec emp_cur%rowtype;
begin
open emp_cur(x);
fetch emp_cur into emp_rec;
raise notice 'empno = %,salary = %', emp_rec.empno, emp_rec.salary;
close emp_cur;
return 0;
end;
/
select test_cur1(736);
drop function test_cur1;
--
-- support define a cursor contains the return clause.
--
create or replace function test_cur2() return int
as
cursor c2 return emp%rowtype
is
select * from emp where empno = 736;
emp_rec c2%rowtype;
begin
open c2;
fetch c2 into emp_rec;
raise notice 'emp_id = %, emp_name = %, salary = %',emp_rec.empno,emp_rec.ename,emp_rec.sal;
close c2;
return 0;
end;
/
select test_cur2();
drop function test_cur2;
--
-- support define a cursor variable contains the return clause
--
create or replace function test_cur3() return int
as
CURSOR c1 RETURN emp%rowtype;
emp_rec c1%rowtype;
begin
open c1 for select * from emp where empno = 736;
fetch c1 into emp_rec;
raise notice 'emp_id = %, emp_name = %, emp_salary = %', emp_rec.empno, emp_rec.ename, emp_rec.sal;
close c1;
return 0;
end;
/
select test_cur3();
drop function test_cur3;
--
-- test cursor default parameter
--
create or replace procedure test_cur4()
is
cursor emp_cur(emp_id_in int := 736)
is select * from emp where empno = emp_id_in;
emp_rec emp_cur%rowtype;
begin
open emp_cur(emp_id_in);
fetch emp_cur into emp_rec;
raise notice 'empno = %, ename = %, sal = %', emp_rec.empno, emp_rec.ename, emp_rec.sal;
close emp_cur;
end;
/
call test_cur4();
-- test Do structure for CALL
begin
call test_cur4();
end;
/
drop procedure test_cur4();
drop table emp;
--
-- EXECUTE ... INTO test
--
create table eifoo (i integer, y integer);
--create type eitype as (i integer, y integer);
create or replace function execute_into_test(varchar) return record
as
type eitype is record(m int, n int);
_r record;
_rt eifoo%rowtype;
_v eitype;
i int;
j int;
k int;
begin
execute 'insert into '||$1||' values(10,15)';
execute 'select (row).* from (select row(10,1)::eifoo) s' into _r;
raise notice '% %', _r.i, _r.y;
execute 'select * from '||$1||' limit 1' into _rt;
raise notice '% %', _rt.i, _rt.y;
execute 'select *, 20 from '||$1||' limit 1' into i, j, k;
raise notice '% % %', i, j, k;
execute 'select 1,2' into _v;
return _v;
end;
/
select execute_into_test('eifoo');
drop function execute_into_test;
drop table eifoo;
-- parameters of raise stmt can be expressions
create or replace function raise_exprs() return void as
declare
a integer[] = '{10,20,30}';
c varchar = 'xyz';
i integer;
begin
i := 2;
raise notice '%; %; %; %; %; %', a, a[i], c, (select c || 'abc'), row(10,'aaa',NULL,30), NULL;
end;
/
select raise_exprs();
drop function raise_exprs();
CREATE FUNCTION reraise_test() RETURNS void
AS $$
BEGIN
BEGIN
RAISE syntax_error;
EXCEPTION
WHEN syntax_error THEN
BEGIN
raise notice 'exception % thrown in inner block, reraising', sqlerrm;
RAISE;
EXCEPTION
WHEN OTHERS THEN
raise notice 'RIGHT - exception % caught in inner block', sqlerrm;
END;
END;
EXCEPTION
WHEN OTHERS THEN
raise notice 'WRONG - exception % caught in outer block', sqlerrm;
END;
$$ LANGUAGE plisql;
select reraise_test();
drop function reraise_test();
--
-- Test STRICT limiter in both planned and EXECUTE invocations.
-- Note that a data-modifying query is quasi strict (disallow multi rows)
-- by default in the planned case, but not in EXECUTE.
--
create temp table foo (f1 int, f2 int);
insert into foo values (1,2), (3,4);
create or replace function stricttest() return void as
declare
x record;
begin
-- should work
insert into foo values(5,6) returning * into x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should fail due to implicit strict
insert into foo values(7,8),(9,10) returning * into x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should work
execute 'insert into foo values(5,6) returning *' into x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- this should work since EXECUTE isn't as picky
execute 'insert into foo values(7,8),(9,10) returning *' into x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
select * from foo;
create or replace function stricttest() return void as
declare
x record;
begin
-- should work
select * from foo where f1 = 3 into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should fail, no rows
select * from foo where f1 = 0 into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should fail, too many rows
select * from foo where f1 > 3 into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should work
execute 'select * from foo where f1 = 3' into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should fail, no rows
execute 'select * from foo where f1 = 0' into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
create or replace function stricttest() return void as
declare
x record;
begin
-- should fail, too many rows
execute 'select * from foo where f1 > 3' into strict x;
raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2;
end;
/
select stricttest();
drop function stricttest();
-- test warnings and errors
set plisql.extra_warnings to 'all';
set plisql.extra_warnings to 'none';
set plisql.extra_errors to 'all';
set plisql.extra_errors to 'none';
-- test warnings when shadowing a variable
set plisql.extra_warnings to 'shadowed_variables';
-- simple shadowing of vars between blocks
create or replace function shadowtest()
returns table (x int) as $$
declare --block 1
in1 int;
out1 int;
begin
declare --block 2
in1 int;
out1 int;
begin
end;
end
$$ language plisql;
select shadowtest();
drop function shadowtest();
-- duplicate var declaration with function parameter
create or replace function shadowtest(in1 int)
returns table (out1 int) as $$
declare
in1 int;
out1 int;
begin
end
$$ language plisql;
-- shadowing in a second DECLARE block
create or replace function shadowtest()
returns void as $$
declare
f1 int;
begin
declare
f1 int;
begin
end;
end$$ language plisql;
drop function shadowtest();
-- several levels of shadowing
create or replace function shadowtest(in1 int)
returns void as $$
declare
in1 int;
begin
declare
in1 int;
begin
end;
end$$ language plisql;
-- shadowing in cursor definitions
create or replace function shadowtest()
returns void as $$
declare
f1 int;
cursor c1(f1 int) for select 1;
begin
end$$ language plisql;
drop function shadowtest();
-- test errors when shadowing a variable
set plisql.extra_errors to 'shadowed_variables';
create or replace function shadowtest(f1 int)
returns boolean as $$
declare f1 int; begin return 1; end $$ language plisql;
reset plisql.extra_errors;
reset plisql.extra_warnings;
create or replace function shadowtest(f1 int)
returns boolean as $$
declare f1 int; begin return 1; end $$ language plisql;
-- runtime extra checks
set plisql.extra_warnings to 'too_many_rows';
declare x int;
begin
select v from generate_series(1,2) g(v) into x;
end;
/
set plisql.extra_errors to 'too_many_rows';
declare x int;
begin
select v from generate_series(1,2) g(v) into x;
end;
/
reset plisql.extra_errors;
reset plisql.extra_warnings;
set plisql.extra_warnings to 'strict_multi_assignment';
declare
x int;
y int;
begin
select 1 into x, y;
select 1,2 into x, y;
select 1,2,3 into x, y;
end;
/
set plisql.extra_errors to 'strict_multi_assignment';
declare
x int;
y int;
begin
select 1 into x, y;
select 1,2 into x, y;
select 1,2,3 into x, y;
end;
/
create table test_01(a int, b int, c int);
alter table test_01 drop column a;
-- the check is active only when source table is not empty
insert into test_01 values(10,20);
declare
x int;
y int;
begin
select * from test_01 into x, y; -- should be ok
raise notice 'ok';
select * from test_01 into x; -- should to fail
end;
/
declare
t test_01;
begin
select 1, 2 into t; -- should be ok
raise notice 'ok';
select 1, 2, 3 into t; -- should fail;
end;
/
declare
t test_01;
begin
select 1 into t; -- should fail;
end;
/
drop table test_01;
reset plisql.extra_errors;
reset plisql.extra_warnings;
-- test scrollable cursor support
create table tcur_tb(f1 int);
insert into tcur_tb values (1),(2),(3);
create function sc_test() return setof integer as
declare
cursor c scroll for select f1 from tcur_tb;
x integer;
begin
open c;
fetch last from c into x;
while found loop
return next x;
fetch prior from c into x;
end loop;
close c;
end;
/
select * from sc_test();
create or replace function sc_test() return setof integer as
declare
cursor c no scroll for select f1 from tcur_tb;
x integer;
begin
open c;
fetch last from c into x;
while found loop
return next x;
fetch prior from c into x;
end loop;
close c;
end;
/
select * from sc_test(); -- fails because of NO SCROLL specification
create or replace function sc_test() return setof integer as
declare
c refcursor;
x integer;
begin
open c scroll for select f1 from tcur_tb;
fetch last from c into x;
while found loop
return next x;
fetch prior from c into x;
end loop;
close c;
end;
/
select * from sc_test();
create or replace function sc_test() return setof integer as
declare
c refcursor;
x integer;
begin
open c scroll for execute 'select f1 from tcur_tb';
fetch last from c into x;
while found loop
return next x;
fetch relative -2 from c into x;
end loop;
close c;
end;
/
select * from sc_test();
create or replace function sc_test() return setof integer as
declare
c refcursor;
x integer;
begin
open c scroll for execute 'select f1 from tcur_tb';
fetch last from c into x;
while found loop
return next x;
move backward 2 from c;
fetch relative -1 from c into x;
end loop;
close c;
end;
/
select * from sc_test();
create or replace function sc_test() return setof integer as
declare
cursor c for select * from generate_series(1, 10);
x integer;
begin
open c;
loop
move relative 2 in c;
if not found then
exit;
end if;
fetch next from c into x;
if found then
return next x;
end if;
end loop;
close c;
end;
/
select * from sc_test();
create or replace function sc_test() return setof integer as
declare
cursor c for select * from generate_series(1, 10);
x integer;
begin
open c;
move forward all in c;
fetch backward from c into x;
if found then
return next x;
end if;
close c;
end;
/
select * from sc_test();
drop function sc_test();
drop table tcur_tb;
-- test qualified variable names
create or replace function pl_qual_names (param1 int) return void as
declare
param2 int := 1;
begin
<<innerblock>>
declare
param1 int := 2;
begin
raise notice 'param1 = %', param1;
raise notice 'pl_qual_names.param1 = %', pl_qual_names.param1;
raise notice 'pl_qual_names.param2 = %', pl_qual_names.param2;
raise notice 'innerblock.param1 = %', innerblock.param1;
end;
end;
/
select pl_qual_names(42);
drop function pl_qual_names(int);
-- tests for RETURN QUERY
create type record_type as (x text, y int, z boolean);
create or replace function ret_query2(lim int) return setof record_type as
begin
return query select md5(s.x::text), s.x, s.x > 0
from generate_series(-8, lim) s (x) where s.x % 2 = 0;
end;
/
select * from ret_query2(8);
drop function ret_query2;
drop type record_type;
-- test EXECUTE USING
create function exc_using(int, text) return int as
declare i int;
begin
for i in execute 'select * from generate_series(1,$1)' using $1+1 loop
raise notice '%', i;
end loop;
execute 'select $2 + $2*3 + length($1)' into i using $2,$1;
return i;
end;
/
select exc_using(5, 'foobar');
drop function exc_using(int, text);
create or replace function exc_using(int) return void as
declare
c refcursor;
i int;
begin
open c for execute 'select * from generate_series(1,$1)' using $1+1;
loop
fetch c into i;
exit when not found;
raise notice '%', i;
end loop;
close c;
return;
end;
/
select exc_using(5);
drop function exc_using(int);
-- test FOR-over-cursor
create or replace function forc01() return void as
declare
cursor c(r1 integer, r2 integer)
for select * from generate_series(r1,r2) i;
cursor c2
for select * from generate_series(41,43) i;
begin
for r in c(5,7) loop
raise notice '% from %', r.i, c;
end loop;
-- again, to test if cursor was closed properly
for r in c(9,10) loop
raise notice '% from %', r.i, c;
end loop;
-- and test a parameterless cursor
for r in c2 loop
raise notice '% from %', r.i, c2;
end loop;
-- and try it with a hand-assigned name
raise notice 'after loop, c2 = %', c2;
c2 := 'special_name';
for r in c2 loop
raise notice '% from %', r.i, c2;
end loop;
raise notice 'after loop, c2 = %', c2;
-- and try it with a generated name
-- (which we can't show in the output because it's variable)
c2 := null;
for r in c2 loop
raise notice '%', r.i;
end loop;
raise notice 'after loop, c2 = %', c2;
return;
end;
/
select forc01();
-- try updating the cursor's current row
create temp table forc_test as
select n as i, n as j from generate_series(1,10) n;
create or replace function forc01() return void as
declare
cursor c for select * from forc_test;
begin
for r in c loop
raise notice '%, %', r.i, r.j;
update forc_test set i = i * 100, j = r.j * 2 where current of c;
end loop;
end;
/
select forc01();
select * from forc_test;
drop function forc01();
-- fail because cursor has no query bound to it
create or replace function forc_bad() return void as
declare
c refcursor;
begin
for r in c loop
raise notice '%', r.i;
end loop;
end;
/
-- test RETURN QUERY EXECUTE
create or replace function return_dquery() return setof int as
begin
return query execute 'select * from (values(10),(20)) f';
return query execute 'select * from (values($1),($2)) f' using 40,50;
end;
/
select return_dquery();
drop function return_dquery();
-- test RETURN QUERY with dropped columns
create table tabwithcols(a int, b int, c int, d int);
insert into tabwithcols values(10,20,30,40),(50,60,70,80);
create or replace function returnqueryf()
return setof tabwithcols as
begin
return query select * from tabwithcols;
return query execute 'select * from tabwithcols';
end;
/
select * from returnqueryf();
alter table tabwithcols drop column b;
select * from returnqueryf();
alter table tabwithcols drop column d;
select * from returnqueryf();
alter table tabwithcols add column d int;
select * from returnqueryf();
drop function returnqueryf();
drop table tabwithcols;
--
-- Tests for composite-type results
--
create type compostype as (x int, y varchar);
-- test: use of variable of composite type in return statement
create or replace function compos() return compostype as
declare
v compostype;
begin
v := (1, 'hello');
return v;
end;
/
select compos();
-- test: use of variable of record type in return statement
create or replace function compos() return compostype as
declare
v record;
begin
v := (1, 'hello'::varchar);
return v;
end;
/
select compos();
-- test: use of row expr in return statement
create or replace function compos() return compostype as
begin
return (1, 'hello'::varchar);
end;
/
select compos();
-- this does not work currently (no implicit casting)
create or replace function compos() return compostype as
begin
return (1, 'hello');
end;
/
select compos();
-- ... but this does
create or replace function compos() return compostype as
begin
return (1, 'hello')::compostype;
end;
/
select compos();
drop function compos();
-- test: return a row expr as record.
create or replace function composrec() return record as
declare
v record;
begin
v := (1, 'hello');
return v;
end;
/
select composrec();
-- test: return row expr in return statement.
create or replace function composrec() return record as
begin
return (1, 'hello');
end;
/
select composrec();
drop function composrec();
-- test: the parameter is record
create or replace function tfunc(r record) return int
as
begin
r := (1, 'hello')::record;
return 1;
end;
/
select tfunc((1,'hello')::record);
drop function tfunc(record);
-- test: row expr in RETURN NEXT statement.
create or replace function compos() return setof compostype as
begin
for i in 1..3
loop
return next (1, 'hello'::varchar);
end loop;
return next null::compostype;
return next (2, 'goodbye')::compostype;
end;
/
select * from compos();
drop function compos();
-- test: use invalid expr in return statement.
create or replace function compos() return compostype as
begin
return 1 + 1;
end;
/
select compos();
-- RETURN variable is a different code path ...
create or replace function compos() return compostype as
declare
x int := 42;
begin
return x;
end;
/
select * from compos();
drop function compos();
-- test: invalid use of composite variable in scalar-returning function
create or replace function compos() return int as
declare
v compostype;
begin
v := (1, 'hello');
return v;
end;
/
select compos();
-- test: invalid use of composite expression in scalar-returning function
create or replace function compos() return int as
begin
return (1, 'hello')::compostype;
end;
/
select compos();
drop function compos();
drop type compostype;
--
-- Tests for 8.4's new RAISE features
--
create or replace function raise_test() returns void as $$
begin
raise notice '% % %', 1, 2, 3
using errcode = '55001', detail = 'some detail info', hint = 'some hint';
raise '% % %', 1, 2, 3
using errcode = 'division_by_zero', detail = 'some detail info';
end;
$$ language plisql;
select raise_test();
-- Since we can't actually see the thrown SQLSTATE in default psql output,
-- test it like this; this also tests re-RAISE
create or replace function raise_test() returns void as $$
begin
raise 'check me'
using errcode = 'division_by_zero', detail = 'some detail info';
exception
when others then
raise notice 'SQLSTATE: % SQLERRM: %', sqlstate, sqlerrm;
raise;
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise 'check me'
using errcode = '1234F', detail = 'some detail info';
exception
when others then
raise notice 'SQLSTATE: % SQLERRM: %', sqlstate, sqlerrm;
raise;
end;
$$ language plisql;
select raise_test();
-- SQLSTATE specification in WHEN
create or replace function raise_test() returns void as $$
begin
raise 'check me'
using errcode = '1234F', detail = 'some detail info';
exception
when sqlstate '1234F' then
raise notice 'SQLSTATE: % SQLERRM: %', sqlstate, sqlerrm;
raise;
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise division_by_zero using detail = 'some detail info';
exception
when others then
raise notice 'SQLSTATE: % SQLERRM: %', sqlstate, sqlerrm;
raise;
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise division_by_zero;
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise sqlstate '1234F';
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise division_by_zero using message = 'custom' || ' message';
end;
$$ language plisql;
select raise_test();
create or replace function raise_test() returns void as $$
begin
raise using message = 'custom' || ' message', errcode = '22012';
end;
$$ language plisql;
select raise_test();
-- conflict on message
create or replace function raise_test() returns void as $$
begin
raise notice 'some message' using message = 'custom' || ' message', errcode = '22012';
end;
$$ language plisql;
select raise_test();
-- conflict on errcode
create or replace function raise_test() returns void as $$
begin
raise division_by_zero using message = 'custom' || ' message', errcode = '22012';
end;
$$ language plisql;
select raise_test();
-- nothing to re-RAISE
create or replace function raise_test() returns void as $$
begin
raise;
end;
$$ language plisql;
select raise_test();
-- test access to exception data
create or replace function zero_divide() returns int as $$
declare
v int := 0;
begin
return 10 / v;
end;
$$ language plisql;
create function stacked_diagnostics_test() returns void as $$
declare _sqlstate text;
_message text;
_context text;
begin
perform zero_divide();
exception when others then
get stacked diagnostics
_sqlstate = returned_sqlstate,
_message = message_text,
_context = pg_exception_context;
raise notice 'sqlstate: %, message: %, context: [%]',
_sqlstate, _message, replace(_context, E'\n', ' <- ');
end;
$$ language plisql;
select stacked_diagnostics_test();
create or replace function stacked_diagnostics_test() returns void as $$
declare _detail text;
_hint text;
_message text;
begin
perform raise_test();
exception when others then
get stacked diagnostics
_message = message_text,
_detail = pg_exception_detail,
_hint = pg_exception_hint;
raise notice 'message: %, detail: %, hint: %', _message, _detail, _hint;
end;
$$ language plisql;
select stacked_diagnostics_test();
-- fail, cannot use stacked diagnostics statement outside handler
create or replace function stacked_diagnostics_test() returns void as $$
declare _detail text;
_hint text;
_message text;
begin
get stacked diagnostics
_message = message_text,
_detail = pg_exception_detail,
_hint = pg_exception_hint;
raise notice 'message: %, detail: %, hint: %', _message, _detail, _hint;
end;
$$ language plisql;
-- test passing column_name, constraint_name, datatype_name, table_name
-- and schema_name error fields
create or replace function stacked_diagnostics_test() returns void as $$
declare _column_name text;
_constraint_name text;
_datatype_name text;
_table_name text;
_schema_name text;
begin
raise exception using
column = '>>some column name<<',
constraint = '>>some constraint name<<',
datatype = '>>some datatype name<<',
table = '>>some table name<<',
schema = '>>some schema name<<';
exception when others then
get stacked diagnostics
_column_name = column_name,
_constraint_name = constraint_name,
_datatype_name = pg_datatype_name,
_table_name = table_name,
_schema_name = schema_name;
raise notice 'column %, constraint %, type %, table %, schema %',
_column_name, _constraint_name, _datatype_name, _table_name, _schema_name;
end;
$$ language plisql;
select stacked_diagnostics_test();
drop function zero_divide();
drop function stacked_diagnostics_test();
drop function raise_test();
-- test variadic functions
create or replace function vari(variadic int[]) return void as
begin
for i in array_lower($1,1)..array_upper($1,1) loop
raise notice '%', $1[i];
end loop; end;
/
select vari(1,2,3,4,5);
select vari(3,4,5);
select vari(variadic array[5,6,7]);
drop function vari(int[]);
-- coercion test
create or replace function pleast(variadic numeric[])
returns numeric as $$
declare
aux numeric = $1[array_lower($1,1)];
begin
for i in array_lower($1,1)+1..array_upper($1,1) loop
if $1[i] < aux then aux := $1[i]; end if;
end loop;
return aux;
end;
$$ language plisql immutable strict;
select pleast(10,1,2,3,-16);
select pleast(10.2,2.2,-1.1);
select pleast(10.2,10, -20);
select pleast(10,20, -1.0);
-- in case of conflict, non-variadic version is preferred
create or replace function pleast(numeric)
returns numeric as $$
begin
raise notice 'non-variadic function called';
return $1;
end;
$$ language plisql immutable strict;
select pleast(10);
drop function pleast(numeric[]);
drop function pleast(numeric);
-- test table functions
create or replace function tftest(int) returns table(a int, b int) as $$
begin
return query select $1, $1+i from generate_series(1,5) g(i);
end;
$$ language plisql immutable strict;
select * from tftest(10);
create or replace function tftest(a1 int) returns table(a int, b int) as $$
begin
a := a1; b := a1 + 1;
return next;
a := a1 * 10; b := a1 * 10 + 1;
return next;
end;
$$ language plisql immutable strict;
select * from tftest(10);
drop function tftest(int);
create or replace function rttest() returns setof int as $$
declare
rc int;
begin
return query values(10),(20);
get diagnostics rc = row_count;
raise notice '% %', found, rc;
return query select * from (values(10),(20)) f(a) where false;
get diagnostics rc = row_count;
raise notice '% %', found, rc;
return query execute 'values(10),(20)';
get diagnostics rc = row_count;
raise notice '% %', found, rc;
return query execute 'select * from (values(10),(20)) f(a) where false';
get diagnostics rc = row_count;
raise notice '% %', found, rc;
end;
$$ language plisql;
select * from rttest();
drop function rttest();
-- Test for proper cleanup at subtransaction exit. This example
-- exposed a bug in PG 8.2.
CREATE OR REPLACE FUNCTION leaker_2(fail BOOL, OUT error_code INTEGER, OUT new_id INTEGER)
RETURNS RECORD AS $$
BEGIN
IF fail THEN
RAISE EXCEPTION 'fail ...';
END IF;
error_code := 1;
new_id := 1;
RETURN;
END;
$$ LANGUAGE plisql;
SELECT * FROM leaker_2(false);
SELECT * FROM leaker_2(true);
DROP FUNCTION leaker_2(bool);
-- Test for appropriate cleanup of non-simple expression evaluations
-- (bug in all versions prior to August 2010)
CREATE OR REPLACE FUNCTION nonsimple_expr_test() RETURN text[] AS
DECLARE
arr text[];
lr text;
i integer;
BEGIN
arr := array[array['foo','bar'], array['baz', 'quux']];
lr := 'fool';
i := 1;
-- use sub-SELECTs to make expressions non-simple
arr[(SELECT i)][(SELECT i+1)] := (SELECT lr);
RETURN arr;
END;
/
SELECT nonsimple_expr_test();
DROP FUNCTION nonsimple_expr_test();
create or replace function error1(text) returns text language sql as
$$ SELECT relname::text FROM pg_class c WHERE c.oid = $1::regclass $$;
create or replace function error2(p_name_table text) returns text
as $$
begin
return error1(p_name_table);
end;
$$ language plisql;
BEGIN;
create table public.stuffs (stuff text);
SAVEPOINT a;
select error2('nonexistent.stuffs');
ROLLBACK TO a;
select error2('public.stuffs');
rollback;
drop function error2(p_name_table text);
drop function error1(text);
-- Test for proper handling of cast-expression caching
create function sql_to_date(integer) returns date as $$
select $1::text::date
$$ language sql immutable strict;
create cast (integer as date) with function sql_to_date(integer) as assignment;
create function cast_invoker(integer) returns date as $$
begin
return $1;
end$$ language plisql;
select cast_invoker(20150717);
select cast_invoker(20150718); -- second call crashed in pre-release 9.5
begin;
select cast_invoker(20150717);
select cast_invoker(20150718);
savepoint s1;
select cast_invoker(20150718);
select cast_invoker(-1); -- fails
rollback to savepoint s1;
select cast_invoker(20150719);
select cast_invoker(20150720);
commit;
drop function cast_invoker(integer);
drop function sql_to_date(integer) cascade;
-- Test handling of cast cache inside DO blocks
-- (to check the original crash case, this must be a cast not previously
-- used in this session)
begin;
declare x text[]; begin x := '{1.23, 4.56}'::numeric[]; end;
/
declare x text[]; begin x := '{1.23, 4.56}'::numeric[]; end;
/
end;
-- Test for consistent reporting of error context
create or replace function fail() return int as
begin
return 1/0;
end;
/
select fail();
select fail();
drop function fail();
-- Test handling of string literals.
set standard_conforming_strings = off;
create or replace function strtest() return text as
begin
raise notice 'foo\\bar\041baz';
return 'foo\\bar\041baz';
end;
/
select strtest();
create or replace function strtest() return text as
begin
raise notice E'foo\\bar\041baz';
return E'foo\\bar\041baz';
end;
/
select strtest();
set standard_conforming_strings = on;
create or replace function strtest() return text as
begin
raise notice 'foo\\bar\041baz\';
return 'foo\\bar\041baz\';
end;
/
select strtest();
create or replace function strtest() return text as
begin
raise notice E'foo\\bar\041baz';
return E'foo\\bar\041baz';
end;
/
select strtest();
drop function strtest();
-- Check variable scoping -- a var is not available in its own or prior
-- default expressions.
create or replace function scope_test() return int as
declare
x int := 42;
begin
declare
y int := x + 1;
x int := x + 2;
begin
return x * 100 + y;
end;
end;
/
select scope_test();
drop function scope_test();
--
-- Test access to call stack
--
create or replace function inner_func(int) returns int as $$
declare
_context text;
begin
get diagnostics _context = pg_context;
raise notice '***%***', _context;
-- lets do it again, just for fun..
get diagnostics _context = pg_context;
raise notice '***%***', _context;
raise notice 'lets make sure we didnt break anything';
return 2 * $1;
end;
$$ language plisql;
create or replace function outer_func(int) return int as
declare
myresult int;
begin
raise notice 'calling down into inner_func()';
myresult := inner_func($1);
raise notice 'inner_func() done';
return myresult;
end;
/
create or replace function outer_outer_func(int) return int as
declare
myresult int;
begin
raise notice 'calling down into outer_func()';
myresult := outer_func($1);
raise notice 'outer_func() done';
return myresult;
end;
/
select outer_outer_func(10);
-- repeated call should to work
select outer_outer_func(20);
drop function outer_outer_func(int);
drop function outer_func(int);
drop function inner_func(int);
--
-- Check type parsing and record fetching from partitioned tables
--
CREATE TABLE partitioned_table (a int, b text) PARTITION BY LIST (a);
CREATE TABLE pt_part1 PARTITION OF partitioned_table FOR VALUES IN (1);
CREATE TABLE pt_part2 PARTITION OF partitioned_table FOR VALUES IN (2);
INSERT INTO partitioned_table VALUES (1, 'Row 1');
INSERT INTO partitioned_table VALUES (2, 'Row 2');
CREATE OR REPLACE FUNCTION get_from_partitioned_table(partitioned_table.a%type)
RETURN partitioned_table AS
DECLARE
a_val partitioned_table.a%TYPE;
result partitioned_table%ROWTYPE;
BEGIN
a_val := $1;
SELECT * INTO result FROM partitioned_table WHERE a = a_val;
RETURN result;
END;
/
SELECT * FROM get_from_partitioned_table(1) AS t;
CREATE OR REPLACE FUNCTION list_partitioned_table()
RETURN SETOF partitioned_table.a%TYPE AS
DECLARE
ro partitioned_table%ROWTYPE;
a_val partitioned_table.a%TYPE;
BEGIN
FOR ro IN SELECT * FROM partitioned_table ORDER BY a LOOP
a_val := ro.a;
RETURN NEXT a_val;
END LOOP;
RETURN;
END;
/
SELECT * FROM list_partitioned_table() AS t;
drop function get_from_partitioned_table;
drop function list_partitioned_table;
drop table pt_part1;
drop table pt_part2;
drop table partitioned_table;
-- Check that an unreserved keyword can be used as a variable name
create or replace function unreserved_test() returns int as $$
declare
forward int := 21;
begin
forward := forward * 2;
return forward;
end
$$ language plisql;
select unreserved_test();
create or replace function unreserved_test() returns int as $$
declare
return int := 42;
begin
return := return + 1;
return return;
end
$$ language plisql;
select unreserved_test();
create or replace function unreserved_test() returns int as $$
declare
com int := 21;
begin
com := com * 2;
comment on function unreserved_test() is 'this is a test';
return com;
end
$$ language plisql;
select unreserved_test();
select obj_description('unreserved_test()'::regprocedure, 'pg_proc');
drop function unreserved_test();
--
-- Test procedure
--
create table pro_tb(x int, y varchar(100));
create or replace procedure tpro1(a int, b varchar)
is
begin
insert into pro_tb values(a, b);
end;
/
create or replace procedure tpro2
is
begin
insert into pro_tb values(2, 'Two');
insert into pro_tb values(3, 'Three');
end;
/
call tpro1(1, 'One');
select * from pro_tb;
call tpro2;
select * from pro_tb;
drop procedure tpro1;
drop procedure tpro2;
drop table pro_tb;
-- test foreach
create function foreach_test(anyarray)returns void
as $$
declare
x int;
begin
foreach x in array $1 loop
raise notice '%', x;
end loop;
end;
$$ language plisql;
select foreach_test(ARRAY[1,2,3,4]);
drop function foreach_test;
-- test CASE
create or replace function tfunc(a char) returns void
as $$
declare
var varchar(20);
begin
var := case a
when 'A' THEN 'Excellent'
when 'B' THEN 'Very good'
when 'C' THEN 'good'
when 'D' THEN 'bad'
else 'no rules'
end;
raise info '%',var;
end;
$$ language plisql;
select tfunc('C');
select tfunc('a');
drop function tfunc(char);
create or replace function tfunc(a int) return void
as
begin
case
when a between 1 and 10 THEN
raise info '1< a < 10';
when a between 10 and 100 THEN
raise info '10< a < 100';
end case;
end;
/
select tfunc(5);
drop function tfunc(int);
-- test COMMIT/ROLLBACK
create table tb_cr(x int, y varchar(100));
create or replace procedure transaction_test1()
AS $$
begin
for i in 0..9 LOOP
INSERT INTO tb_cr values (i,'aaa');
IF i%2 = 0 THEN
COMMIT;
ELSE
ROLLBACK;
END IF;
END LOOP;
END;
$$ language plisql;
call transaction_test1();
select * from tb_cr;
drop procedure transaction_test1();
-- test ASSERT
create or replace procedure assert_test()
as $$
declare
x int;
begin
select count(*) into x from tb_cr;
raise info 'x = %', x;
assert x < 1,'there were over 1 iterm in table test';
end;
$$ language plisql;
call assert_test();
drop procedure assert_test();
drop table tb_cr;
-- test PL label
declare
a int := 1;
begin
<<loop_out>>
for I in 1 .. 5 loop
if I > 3 then
exit loop_out;
end if;
<<loop_in>>
for J in 1 .. 5 loop
if J > I then
continue loop_in;
end if;
raise info 'I= %, J= %', I, J;
end loop loop_in;
end loop loop_out;
end;
/
-- test riase EXCEPTION
create or replace function test_exp() return void
as
begin
raise exception using message = 'S 167', detail = 'D 167', hint = 'H 167', errcode = 'P3333';
end;
/
select test_exp();
drop function test_exp();
--
-- test usage of transition tables in AFTER triggers
--
CREATE TABLE tran_table_base (id int PRIMARY KEY, val text);
CREATE OR REPLACE FUNCTION tran_table_base_ins_func()
RETURNS trigger
AS $$
DECLARE
t text;
l text;
BEGIN
t = '';
FOR l IN EXECUTE
$q$
EXPLAIN (TIMING off, COSTS off, VERBOSE on)
SELECT * FROM newtable
$q$ LOOP
t = t || l || E'\n';
END LOOP;
RAISE INFO '%', t;
RETURN new;
END;
$$ LANGUAGE plisql;
CREATE TRIGGER tran_table_base_ins_trig
AFTER INSERT ON tran_table_base
REFERENCING OLD TABLE AS oldtable NEW TABLE AS newtable
FOR EACH STATEMENT
EXECUTE PROCEDURE tran_table_base_ins_func();
CREATE TRIGGER tran_table_base_ins_trig
AFTER INSERT ON transition_table_base
REFERENCING NEW TABLE AS newtable
FOR EACH STATEMENT
EXECUTE PROCEDURE tran_table_base_ins_func();
INSERT INTO tran_table_base VALUES (1, 'One'), (2, 'Two');
INSERT INTO tran_table_base VALUES (3, 'Three'), (4, 'Four');
SELECT * FROM tran_table_base;
CREATE OR REPLACE FUNCTION tran_table_base_upd_func()
RETURNS trigger
AS $$
DECLARE
t text;
l text;
BEGIN
t = '';
FOR l IN EXECUTE
$q$
EXPLAIN (TIMING off, COSTS off, VERBOSE on)
SELECT * FROM oldtable ot FULL JOIN newtable nt USING (id)
$q$ LOOP
t = t || l || E'\n';
END LOOP;
RAISE INFO '%', t;
RETURN new;
END;
$$ LANGUAGE plisql;
CREATE TRIGGER tran_table_base_upd_trig
AFTER UPDATE ON tran_table_base
REFERENCING OLD TABLE AS oldtable NEW TABLE AS newtable
FOR EACH STATEMENT
EXECUTE PROCEDURE tran_table_base_upd_func();
UPDATE tran_table_base
SET val = '*' || val || '*'
WHERE id BETWEEN 2 AND 3;
SELECT * FROM tran_table_base;
drop function tran_table_base_ins_func() cascade;
drop function tran_table_base_upd_func() cascade;
drop table tran_table_base;
--
-- tests for per-statement triggers
--
CREATE TABLE main_table (a int unique, b int);
COPY main_table (a,b) FROM stdin;
5 10
20 20
30 10
50 35
80 15
\.
CREATE OR REPLACE FUNCTION trigger_func() RETURNS trigger
AS $$
BEGIN
RAISE NOTICE 'trigger_func(%) called: action = %, when = %, level = %', TG_ARGV[0], TG_OP, TG_WHEN, TG_LEVEL;
RETURN NULL;
END;
$$ LANGUAGE plisql;
CREATE TRIGGER before_ins_stmt_trig BEFORE INSERT ON main_table
FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('before_ins_stmt');
CREATE TRIGGER after_ins_stmt_trig AFTER INSERT ON main_table
FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('after_ins_stmt');
--
-- if neither 'FOR EACH ROW' nor 'FOR EACH STATEMENT' was specified,
-- CREATE TRIGGER should default to 'FOR EACH STATEMENT'
--
CREATE TRIGGER after_upd_stmt_trig AFTER UPDATE ON main_table
EXECUTE PROCEDURE trigger_func('after_upd_stmt');
-- Both insert and update statement level triggers (before and after) should
-- fire. Doesn't fire UPDATE before trigger, but only because one isn't
-- defined.
INSERT INTO main_table (a, b) VALUES (5, 10) ON CONFLICT (a)
DO UPDATE SET b = EXCLUDED.b;
CREATE TRIGGER after_upd_row_trig AFTER UPDATE ON main_table
FOR EACH ROW EXECUTE PROCEDURE trigger_func('after_upd_row');
INSERT INTO main_table DEFAULT VALUES;
UPDATE main_table SET a = a + 1 WHERE b < 30;
-- UPDATE that effects zero rows should still call per-statement trigger
UPDATE main_table SET a = a + 2 WHERE b > 100;
-- constraint now unneeded
ALTER TABLE main_table DROP CONSTRAINT main_table_a_key;
-- COPY should fire per-row and per-statement INSERT triggers
COPY main_table (a, b) FROM stdin;
30 40
50 60
\.
SELECT * FROM main_table ORDER BY a, b;
--
-- test triggers with WHEN clause
--
CREATE TRIGGER modified_a BEFORE UPDATE OF a ON main_table
FOR EACH ROW WHEN (OLD.a <> NEW.a) EXECUTE PROCEDURE trigger_func('modified_a');
CREATE TRIGGER modified_any BEFORE UPDATE OF a ON main_table
FOR EACH ROW WHEN (OLD.* IS DISTINCT FROM NEW.*) EXECUTE PROCEDURE trigger_func('modified_any');
CREATE TRIGGER insert_a AFTER INSERT ON main_table
FOR EACH ROW WHEN (NEW.a = 123) EXECUTE PROCEDURE trigger_func('insert_a');
CREATE TRIGGER delete_a AFTER DELETE ON main_table
FOR EACH ROW WHEN (OLD.a = 123) EXECUTE PROCEDURE trigger_func('delete_a');
CREATE TRIGGER insert_when BEFORE INSERT ON main_table
FOR EACH STATEMENT WHEN (true) EXECUTE PROCEDURE trigger_func('insert_when');
CREATE TRIGGER delete_when AFTER DELETE ON main_table
FOR EACH STATEMENT WHEN (true) EXECUTE PROCEDURE trigger_func('delete_when');
SELECT trigger_name, event_manipulation, event_object_schema, event_object_table,
action_order, action_condition, action_orientation, action_timing,
action_reference_old_table, action_reference_new_table
FROM information_schema.triggers
WHERE event_object_table IN ('main_table')
ORDER BY trigger_name COLLATE "C", 2;
INSERT INTO main_table (a) VALUES (123), (456);
COPY main_table FROM stdin;
123 999
456 999
\.
DELETE FROM main_table WHERE a IN (123, 456);
UPDATE main_table SET a = 50, b = 60;
SELECT * FROM main_table ORDER BY a, b;
SELECT pg_get_triggerdef(oid, true) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_a';
SELECT pg_get_triggerdef(oid, false) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_a';
SELECT pg_get_triggerdef(oid, true) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_any';
-- Test RENAME TRIGGER
ALTER TRIGGER modified_a ON main_table RENAME TO modified_modified_a;
SELECT count(*) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_a';
SELECT count(*) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_modified_a';
DROP TRIGGER modified_modified_a ON main_table;
DROP TRIGGER modified_any ON main_table;
DROP TRIGGER insert_a ON main_table;
DROP TRIGGER delete_a ON main_table;
DROP TRIGGER insert_when ON main_table;
DROP TRIGGER delete_when ON main_table;
DROP FUNCTION trigger_func cascade;
DROP TABLE main_table;
CREATE TABLE range_parted (
a text,
b bigint,
c numeric,
d int,
e varchar
) PARTITION BY RANGE (a, b);
CREATE OR REPLACE FUNCTION triggerfunc() returns trigger
as $$
begin
raise notice 'trigger = % fired on table % during %',
TG_NAME, TG_TABLE_NAME, TG_OP;
return null;
end;
$$ language plisql;
CREATE TRIGGER parent_update_trig
AFTER UPDATE ON range_parted for each statement execute procedure triggerfunc();
UPDATE range_parted set c = c - 50 WHERE c > 97;
DROP TRIGGER parent_update_trig ON range_parted;
DROP FUNCTION triggerfunc;
DROP TABLE range_parted;
-- dump trigger data
CREATE TABLE trigger_test (
i int,
v varchar
);
CREATE OR REPLACE FUNCTION trigger_data() RETURNS trigger
AS $$
declare
argstr text;
relid text;
begin
relid := TG_relid::regclass;
-- plpgsql can't discover its trigger data in a hash like perl and python
-- can, or by a sort of reflection like tcl can,
-- so we have to hard code the names.
raise NOTICE 'TG_NAME: %', TG_name;
raise NOTICE 'TG_WHEN: %', TG_when;
raise NOTICE 'TG_LEVEL: %', TG_level;
raise NOTICE 'TG_OP: %', TG_op;
raise NOTICE 'TG_RELID::regclass: %', relid;
raise NOTICE 'TG_RELNAME: %', TG_relname;
raise NOTICE 'TG_TABLE_NAME: %', TG_table_name;
raise NOTICE 'TG_TABLE_SCHEMA: %', TG_table_schema;
raise NOTICE 'TG_NARGS: %', TG_nargs;
argstr := '[';
for i in 0 .. TG_nargs - 1 loop
if i > 0 then
argstr := argstr || ', ';
end if;
argstr := argstr || TG_argv[i];
end loop;
argstr := argstr || ']';
raise NOTICE 'TG_ARGV: %', argstr;
if TG_OP != 'INSERT' then
raise NOTICE 'OLD: %', OLD;
end if;
if TG_OP != 'DELETE' then
raise NOTICE 'NEW: %', NEW;
end if;
if TG_OP = 'DELETE' then
return OLD;
else
return NEW;
end if;
end;
$$ LANGUAGE plisql;
CREATE TRIGGER show_trigger_data_trig
BEFORE INSERT OR UPDATE OR DELETE ON trigger_test
FOR EACH ROW EXECUTE PROCEDURE trigger_data(23,'skidoo');
insert into trigger_test values(1,'insert');
update trigger_test set v = 'update' where i = 1;
delete from trigger_test;
DROP TRIGGER show_trigger_data_trig on trigger_test;
DROP FUNCTION trigger_data();
DROP TABLE trigger_test;
--event trigger
create function test_event_trigger() returns event_trigger as $$
BEGIN
RAISE NOTICE 'test_event_trigger: % %', tg_event, tg_tag;
END
$$ language plisql;
create event trigger regress_event_trigger on ddl_command_start
execute procedure test_event_trigger();
create table test(x int,y varchar(20));
drop function test_event_trigger cascade;
drop table test;
--test stmt_set
create or replace procedure set_test1() as
$$
begin
RESET default_tablespace;
end;
$$ language plisql;
call set_test1();
drop procedure set_test1;
--
-- support stand alone PL/iSQL procedures can calling
-- another procedure from within without call keyword
--
CREATE OR REPLACE PROCEDURE pro1(in1 text)
IS
BEGIN
RAISE INFO 'pro1 => %', in1;
END;
/
CREATE OR REPLACE PROCEDURE pro2(in2 text)
IS
BEGIN
pro1('Hello');
RAISE INFO 'pro2 => %', in2;
END;
/
call pro2('IvorySQL');
DROP PROCEDURE pro1;
DROP PROCEDURE pro2;
create table tab_p (a int, b text);
create or replace procedure tpro1(x int, y text)
is
begin
insert into tab_p(a,b) values (x, y);
end;
/
create or replace procedure tpro2(a int, b text)
is
begin
tpro1(a, b);
end;
/
call tpro2(2022, 'IvorySQL Database');
select * from tab_p;
drop procedure tpro2;
drop procedure tpro1;
drop table tab_p;
--test various combinations for anonymous blocks
DECLARE x CURSOR FOR SELECT * from pg_class;
DECLARE x BINARY CURSOR FOR select * from pg_class;
DECLARE x ASENSITIVE CURSOR FOR select * from pg_class;
DECLARE x INSENSITIVE CURSOR FOR select * from pg_class;
DECLARE x SCROLL CURSOR FOR select * from pg_class;
DECLARE x NO SCROLL CURSOR FOR select * from pg_class;
BEGIN; END;
BEGIN WORK; END;
BEGIN TRANSACTION;
END;
BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;
END;
BEGIN ISOLATION LEVEL SERIALIZABLE;
END;
BEGIN READ WRITE;
END;
BEGIN NOT DEFERRABLE;
END;
DECLARE
x int;
BEGIN
x := 10;
declare
x int;
begin
x := 11;
raise info 'x =>>> %', x;
end;
raise info 'x =>>> %', x;
END;
/
begin
raise info 'x =>>> %', 0;
declare
x int;
begin
x := 10;
raise info 'x =>>> %', x;
end;
end;
/
declare
a int := 10;
b int := 2;
begin
a := a
/ b;
raise info 'a = %', a;
end;
/
declare
a int := 10;
b int := 2;
begin
a := a
/b;
raise info 'a = %', a;
end;
/
declare
a int := 10;
b int := 2;
begin
a := a
/
b;
raise info 'a = %', a;
end;
/
BEGIN
BEGIN
RAISE syntax_error;
EXCEPTION
WHEN syntax_error THEN
BEGIN
raise notice 'exception % thrown in inner block, reraising', sqlerrm;
RAISE;
EXCEPTION
WHEN OTHERS THEN
raise notice 'RIGHT - exception % caught in inner block', sqlerrm;
END;
END;
EXCEPTION
WHEN OTHERS THEN
raise notice 'WRONG - exception % caught in outer block', sqlerrm;
END;
/
declare
cursor c(r1 integer, r2 integer)
for select * from generate_series(r1,r2) i;
cursor c2
for select * from generate_series(41,43) i;
begin
for r in c(5,7) loop
raise notice '% from %', r.i, c;
end loop;
-- again, to test if cursor was closed properly
for r in c(9,10) loop
raise notice '% from %', r.i, c;
end loop;
-- and test a parameterless cursor
for r in c2 loop
raise notice '% from %', r.i, c2;
end loop;
-- and try it with a hand-assigned name
raise notice 'after loop, c2 = %', c2;
c2 := 'special_name';
for r in c2 loop
raise notice '% from %', r.i, c2;
end loop;
raise notice 'after loop, c2 = %', c2;
-- and try it with a generated name
-- (which we can't show in the output because it's variable)
c2 := null;
for r in c2 loop
raise notice '%', r.i;
end loop;
raise notice 'after loop, c2 = %', c2;
return;
end;
/
declare _sqlstate text;
_message text;
_context text;
begin
perform zero_divide();
exception when others then
get stacked diagnostics
_sqlstate = returned_sqlstate,
_message = message_text,
_context = pg_exception_context;
raise notice 'sqlstate: %, message: %, context: [%]',
_sqlstate, _message, replace(_context, E'\n', ' <- ');
end;
/
|
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [AbpSettings](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[TenantId] [int] NULL,
[UserId] [bigint] NULL,
[Name] [nvarchar](256) NOT NULL,
[Value] [nvarchar](max) NULL,
[CreationTime] [datetime2](7) NOT NULL,
[CreatorUserId] [bigint] NULL,
[LastModificationTime] [datetime2](7) NULL,
[LastModifierUserId] [bigint] NULL,
CONSTRAINT [PK_AbpSettings] PRIMARY KEY CLUSTERED (
[Id] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
|
INSERT IGNORE INTO TB_WKNB_MGMT
(`WKNB_MGMT_NMBR`,
`REGDATETIME`)
VALUES
('week1', '2020-04-12T03:00');
INSERT IGNORE INTO TB_WEEK_RWD
(`WKNB_MGMT_NMBR`,
`MEBR_MGMT_NMBR`,
`ATVT_WEEK_RANK`,
`ATVT_WEEK_POIT`,
`ATVT_WEEK_RWD`,
`ATVT_RTO`,
`REGDATETIME`,
`STKG_RWD`)
VALUES
('week1', 'MB20200402000002', NULL, 100.2, NULL, 0.1, '2020-04-12T03:00', NULL),
('week1', 'MB20200402000003', NULL, 99.2, NULL, 0.2, '2020-04-12T03:00', NULL),
('week1', 'MB20200402000004', NULL, 88.2, NULL, 0.3, '2020-04-12T03:00', NULL);
INSERT INTO TB_WEEK_RWD_HISP_ADM
(`HISP_MGMT_NMBR`,
`MEBR_MGMT_NMBR`,
`WKNB_MGMT_NMBR`,
`HISP_ATVT_RTO`,
`HISP_WEEK_RWD`,
`HISP_ATVT_RTO`,
`REGDATETIME`,
`HISP_WEEK_POIT`,
`HISP_WEEK_RANK`,
`HISP_STKG_RWD`)
VALUES
('0x09884e57ffa8b5c27cb7a956feee1a43ce4fe325b7d14f73613c30c016212cc7',
'MB20200402000002',
'week1',
NULL,
NULL,
0.1
'2020-04-12T22:00:00',
NULL,
NULL,
NULL);
INSERT INTO TB_WEEK_RWD_HISP_ADM
(HISP_MGMT_NMBR,
MEBR_MGMT_NMBR,
WKNB_MGMT_NMBR,
HISP_ATVT_RTO,
HISP_WEEK_RWD,
REGDATETIME,
HISP_WEEK_POIT,
HISP_WEEK_RANK,
HISP_STKG_RWD)
VALUES
("0x09884e57ffa8b5c27cb7a956feee1a43ce4fe325b7d14f73613c30c016212cc7",
"MB20200402000002",
"week1",
0.1,
NULL,
"2020-04-13T00:00",
100,
NULL,
NULL),
("0xaff710142bbc798520da5b3e957205be1b1f1d00be123e227cff10f710545c58",
"MB20200402000003",
"week1",
0.2,
NULL,
"2020-04-13T00:00",
200,
NULL,
NULL);
INSERT IGNORE INTO TB_WEEK_STKG_CLAS
(`WKNB_MGMT_NMBR`,
`MEBR_MGMT_NMBR`,
REGDATETIME)
VALUES
('week1', 'MB20200402000002', '2020-04-12T03:00'),
('week1', 'MB20200402000003', '2020-04-12T03:00'),
('week1', 'MB20200402000004', '2020-04-12T03:00');
INSERT IGNORE INTO TB_WEEK_STKG_CLAS_HISP
(`WKNB_MGMT_NMBR`,
`HISP_MGMT_NMBR`,
`MEBR_MGMT_NMBR`,
`STKG_CUNT`,
`STKG_RANK`,
`STKG_CLAS`,
`REGDATETIME`)
VALUES
('week1', '0x09884e57ffa8b5c27cb7a956feee1a43ce4fe325b7d14f73613c30c016212cc7', 'MB20200402000002', NULL, NULL, NULL, '2020-04-12T03:00'),
('week1', '0x09884e57ffa8b5c27cb7a956feee1a43ce4fe325b7d14f73613c30c016212cc7', 'MB20200402000003', NULL, NULL, NULL, '2020-04-12T03:00'),
('week1', '0x09884e57ffa8b5c27cb7a956feee1a43ce4fe325b7d14f73613c30c016212cc7', 'MB20200402000004', NULL, NULL, NULL, '2020-04-12T03:00');
|
LOAD DATA LOCAL INFILE './././download/geonames/countries/NC.txt' INTO TABLE geoname CHARACTER SET 'UTF8' (geonameid, name, asciiname, alternatenames, latitude, longitude, fclass, fcode, country, cc2, admin1, admin2, admin3, admin4, population, elevation, gtopo30, timezone, moddate);
|
-- Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
-- and the EPL 1.0 (https://h2database.com/html/license.html).
-- Initial Developer: H2 Group
--
call encrypt('AES', '00000000000000000000000000000000', stringtoutf8('Hello World Test'));
>> dbd42d55d4b923c4b03eba0396fac98e
CALL ENCRYPT('XTEA', '00', STRINGTOUTF8('Test'));
>> 8bc9a4601b3062692a72a5941072425f
call encrypt('XTEA', '000102030405060708090a0b0c0d0e0f', '4142434445464748');
>> dea0b0b40966b0669fbae58ab503765f
|
[playlist]
NumberOfEntries=1
File1=http://rsd-radio.de:8000/RSD
Title1=RSD Radio
Length1=-1
Version=2
|
SELECT
*
FROM
employees
WHERE
job_title = 'Sales Representative';
|
-- 拡張をインストール
CREATE EXTENSION IF NOT EXISTS postgis;
|
SELECT
5207 AS layer_code, 'traffic' AS layer_class, 'turning_circle' AS layer_name, feature_type AS gdal_type, osm_id, osm_way_id, osm_timestamp, all_tags, geometry
FROM `openstreetmap-public-data-prod.osm_planet.features`
WHERE EXISTS(SELECT 1 FROM UNNEST(all_tags) as tags WHERE tags.key = 'highway' AND tags.value='turning_circle')
|
SELECT
page_id,
page_title,
MIN(importance) AS max_importance, /* Note that max and min are reversed */
MAX(importance) AS min_importance, /* due to the ENUM */
AVG(importance) AS mean_importance,
IFNULL(all_links.inlinks, 0) AS inlinks,
IFNULL(all_links.direct_inlinks, 0) AS direct_inlinks,
IFNULL(all_links.inlinks_from_redirects, 0) AS inlinks_from_redirects,
IFNULL(organic.inlinks, 0) AS organic_inlinks,
IFNULL(organic.direct_inlinks, 0) AS organic_direct_inlinks,
IFNULL(organic.inlinks_from_redirects, 0) AS organic_inlinks_from_redirects,
IFNULL(views, 0) AS views,
IFNULL(direct_views, 0) AS direct_views,
IFNULL(views_from_redirects, 0) AS views_from_redirects
FROM staging.importance_classification
LEFT JOIN staging.resolved_inlink_count all_links USING (page_id)
LEFT JOIN staging.resolved_organic_inlink_count organic USING (page_id)
LEFT JOIN staging.resolved_view_count USING (page_id)
WHERE page_namespace = 0
GROUP BY page_id;
|
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
1,'artylcrzysta','Bohater został świetnie wyszkolony w obsłudze broni palnej. Dzięki tej zdolności może przeładować broń palną w czasie krótszym o akcję. Jeśli Bohater posiada również zdolność błyskawiczne przeładowanie, może korzystać naraz z obu zdolności (skracając czas przeładowania broni palnej o akcję podwójną).');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
2,'bardzo silny','Bohater obdarzony jest wyjątkową silą. Otrzymuje +5 do Krzepy, dodawane do początkowej wartości cechy. Może to zmienić wartość Siły BG. zgodnie z zasadami opisanymi na str. 19');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
3,'bardzo szybki','Bohater potrafi poruszać się znacznie szybciej niż inni.
Otrzymuje +1 do Szybkości, dodawane do początkowej wartości cechy.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
4,'bijatyka','Bohater nauczył się walczyć w karczemnych burdach i miejskich rozróbach. Otrzymuje modyfikator + 10 do Walki Wręcz podczas ataku bez broni. Dodatkowo otrzymuje modyfikator +1 do obrażeń zadawanych podczas takiego ataku.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
5,'błyskawiczne przeładowanie','Bohater jest doświadczonym strzelcem. Dzięki tej zdolności może przeładować broń strzelecką w czasie krótszym o akcję. Bohater używający błyskawicznego przeładowania może napiąć kuszę w czasie jednej akcji zwykłej, podczas gdy normalnie wymaga to akcji podwójnej. Jeśli przeładowanie broni normalnie zajmuje akcję, korzystając z tej zdolności można to wykonać w ramach akcji natychmiastowej. Dzięki temu Bohater może przeładować taką broń praktycznie w mgnieniu oka. co pozwala na wykonanie _ataku wielokrotnego" z broni strzeleckiej. Szczegółowe zasady wykonywania „ataku wielokrotnego" znajdziesz w Rozdziale VI:
Walka, obrażenia i ruch.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
6,'błyskawiczny blok','Bohater, który wykonuje „atak wielokrotny" (więcej na ten
temat w Rozdziale V I: Walka, obrażenia i ruch), może poświęcić
jeden z ataków, otrzymując w zamian możliwość sparowania ataku przeciwnika. Na przykład Bohater mający J Ataki i deklarujący atak wielokrotny, mógłby wykonać dwa ataki i raz sparować atak przeciwnika. Bohater nadal może parować najwyżej jeden atak na rundę.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
7,'błyskotliwość','Bohater obdarzony jest wyjątkową inteligencją. Otrzymuje +5 do Inteligencji, dodawane do początkowej wartości cechy.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
8,'brawura','Obdarzony tą zdolnością Bohater wykazuje się wyjątkową śmiałością i ruchliwością w walce. Może wykonać akcję „skok" poświęcając na to akcję zwykłą (zamiast akcji podwójnej).
Zdolność zwiększa też maksymalny zasięg wszystkich skoków o 1 metr');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
9,'broń naturalna','Postać dysponuje ostrymi kłami lub pazurami, których z powodzeniem może używać w walce. W czasie walki bez broni jest traktowana, jak gdyby używała broni jednoręcznej. Broń naturalna nie pozwala na parowanie ciosów. W przypadku broni naturalnej nic można stosować rozbrajania');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
10,'broń specjalna (różne)','Bohater potrafi władać bronią, która wymaga specjalistycznego treningu. Każda zdolność broń specjalna jest
odrębną zdolnością. N3 przykład broń specjalna (dwuręczna)
różni się od zdolności broń specjalna (rzucana). Każda zdolność musi zostać wykupiona oddzielnie. Najczęściej spotykanymi rodzajami broni specjalnych są: dwuręczna, kawaleryjska, mechaniczna, palna, parująca, rzucana, szermiercza, unieruchamiająca oraz korbacze, kusze, łuki i proce. Szczegółowy'' opis poszczególnych rodzajów broni znajdziesz w Rozdziale V:
Ekwipunek');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
11,'bystry wzrok','Bohater obdarzony jest doskonałym wzrokiem. Otrzymuje modyfikator +10 do testów spostrzegawczości podczas rozglądania się oraz do testów'' czytania z warg.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
12,'charyzmatyczny','Bohater obdarzony jest zniewalającym urokiem osobistym.
Otrzymuje +5 do Ogłady, dodawane do początkowej wartości cechy');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
13,'chirurgia','Bohater poznał tajniki najnowszej wiedzy medycznej.
Otrzymuje modyfikator +10 do testów leczenia. W przypadku leczenia ciężko rannego pacjenta udany test przywraca 2 punkty żywotności zamiast, jak normalnie, tylko 1. Jeśli w wyniku trafienia krytycznego istnieje ryzyko utraty kończyny, pacjent leczony przez chirurga otrzymuje modyfikator +20 do Odporności podczas testów związanych z ryzykiem utraty kończyny. Szczegółowe zasady dotyczące trafień krytycznych znajdziesz w Rozdziale V I: Walka,
obrażenia i ruch.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
14,'chodu!','W chwili zagrożenia Bohater odkrywa w sobie zadziwiające możliwości fizyczne. Uciekając z pola walki lub z miejsca zagrożenia, na 1 k 10 rund otrzymuje +1 do Szybkości.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
15,'czarnoksięstwo','Bohater poznał sekret Czarnej Magii Dbar i potrafi jej używać do wspomożenia siły swoich zaklęć. Korzystanie z czarnoksięstwa umożliwia zdobycie większej mocy, ale jest także bardziej ryzykowne. Za każdym razem, gdy Bohater rzuca czar, może wykorzystać energię Dbar do jego wzmocnienia.
Wykonując rzut na poziom mocy czaru, możesz rzucić dodatkową kostką k 10 i zignorować najmniejszy z uzyskanych wyników, który jednak liczy się przy sprawdzaniu Przekleństwa Tzccntcha. Na przykład czarodziej z Magią 2, który rzuca zaklęcie z wykorzystaniem czarnoksięstwa, rzuca 3 kl0 i wybiera dwa najwyższe w yniki. Wszystkie trzy kostki są używane do sprawdzania Przekleństwa Tzccntcha. Gdyby na kostkach wypadło 6, 6 i 6, poziom mocy czaru wyniósłby 12 (6 + 6), jednak czar wywołałby Poważną Manifestację Chaosu. Znajomość czarnoksięstwa jest wymagana przy rzucaniu czarów z magii czarnoksięskiej. Szczegółowe zasady rzucania zaklęć znajdziesz
w Rozdziale V II: Magia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
16,'człowick-guma','Bohater potrafi wyginać swoje ciało w sposób nieosiągalny dla zwykłych osób. Otrzymuje modyfikator +10 do testów kuglarstwa (akrohatyka) oraz, modyfikator +20 do Zręczności podczas testów wyzwalania się z więzów, przeciskania przez szczeliny, itp.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
17,'czuły słuch','Bohater obdarzony jest wyjątkowo czułym słuchem.
Otrzymuje modyfikator +20 do testów spostrzegawczości podczas nasłuchiwania.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
18,'dotyk mocy','Niektóre czary używane w walce wymagają dotknięcia przeciwnika. Bohater, który posiada zdolność dotyk mocy, otrzymuje modyfikator +20 do Walki Wręcz przy testach związanych z rzucaniem czarów dotykowych.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
19,'etykieta','Bohater potrafi odpowiednio zachowywać się we wszelkich sytuacjach towarzyskich. Otrzymuje modyfikator +10 do testów plotkowania i przekonywania podczas rozmów z przedstawicielami szlachty i arystokracji. Modyfikator stosuje się również w sytuacjach, gdy wymagana jest znajomość etykiety (na przykład podszywanie się pod szlachcica z wykorzystaniem charakteryzacji).');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
20,'geniusz arytmetyczny','Bohater potrafi błyskawicznie rachować w umyśle oraz, mając do dyspozycji dostatecznie dużo czasu, może rozwiązać niemal dowolny problem matematyczny. Otrzymuje modyfikator +10 do testów hazardu i nawigacji oraz modyfikator +20 do testów spostrzegawczości związanych z oceną odległości, ciężaru, itd.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
21,'grotołaz','Bohater wychował się w jaskiniach bądź często po nich wędrował. Bez trudu potrafi poruszać się w podziemiach. Otrzymuje modyfikator +10 do testów skradania się i ukrywania się wykonywanych pod powierzchnią ziemi lub w jaskiniach.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
22,'groźny','Wygląd, wzrost lub zachowanie Bohatera wzbudzają respekt i instynktowny niepokój wśród obserwatorów. Otrzymuje
modyfikator +10 do testów zastraszania i torturowania.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
23,'gusła','Bohater odkrył w sobie dziki talent magiczny, który udoskonala metodą prób i błędów, nie mając dostępu do magicznych studiów. Bohater potrafi rzucać czaty magii prostej (gusła) bez konieczności posiadania umiejętności język tajemny. Do rzucania czarów nadal wymagana jest zdolność magia prosta (gusła). Za każdym razem, gdy Bohater korzysta z zaklęć magii prostej (gusła), musisz rzucić dodatkową kostką klO. Wynik rzutu nie dodaje się do poziomu mocy czaru, lecz jest używany do sprawdzania Przekleństwa Tzcentcha. Jeśli Twój BG nauczy się umiejętności język tajemny, nic będziesz musial rzucać dodatkową kostką');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
24,'intrygant','Bohater jest mistrzem rozgrywek politycznych i intryg.
Otrzymuje modyfikator +10 do testów przekonywania związanych z intrygami oraz, do Siły Woli podczas testów przeciwko przekonywaniu ze strony innych osób.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
25,'krasnoludzki fach','Krasnoludy są urodzonymi rzemieślnikami. Bohater otrzymuje modyfikator + 10 do testów rzemiosła: górnictwo,
kamieniarstwo, kowalstwo, jubilerstwo. piwowarstwo, platncrstwo i rusznikarstwo.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
26,'krasomówstwo','Bohater potrafi przemawiać tak pięknie i przekonywująco, że może poderwać do działania całe tłumy. Wykorzystując przekonywanie BG może oddziaływać na grupę osób 100 razy liczniejszą niż normalnie. /Wolność krasomówstwo wymaga uprzedniego opanowania zdolności przemawianie.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
27,'krzepki','Bohater, który posiada tę zdolność, w czasie wielu przygód nabrał niesamowitej krzepy. Może nosić ciężki pancerz lub zbroję płytową bez. zmniejszenia Szybkości. Szczegółów)'' opis pancerzy
znajdziesz w Rozdziale V: Ekwipunek.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
28,'latanie','Postać potrafi latać. Zasady dotyczące latania znajdziesz
w Rozdziale V I: Walka, obrażenia i ruch.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
29,'lcwitacja','Postać potrafi unosić się nisko nad ziemią. Zasady dotyczące
lewitacji znajdziesz w Rozdziale V I: Walka, obrażenia i ruch');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
30,'łotrzyk','Bohater jest blisko związany ze światem przestępczym.
Otrzymuje modyfikator +10 do testów plotkowania i przekonywania w kontaktach z przedstawicielami przestępczego półświatka.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
31,'magia czarnoksięska','Twój Bohater poznał tajniki jednej z zakazanych tradycji magicznych. Podobnie jak w przypadku magii tajemnej, zgłębianie sekretów magii czarnoksięskiej wymagania poświęcenia i wyboru jednej z dostępnych mrocznych tradycji. Każda magia czarnoksięska jest oddzielną zdolnością. Na przykład magia czarnoksięska (Chaos)
różni się od magii czarnoksięskiej (nekromancja). W kolejnych
dodatkach znajdziesz informacje o innych rodzajach magii czarnoksięskiej, włącznie z. wyszczególnieniem mocy bogów Chaosu: Nurgla. Slaanesha i Tzcentcha. Znajomość magii czarnoksięskiej pozwala na rzucanie czarów z określonej tradycji. Szczegółowe zasady rzucania zaklęć znajdziesz w Rozdziale V II: Magia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
32,'magia kapłańska','Bohater jest tak żarliwym wyznawcą jakiegoś bóstwa, że dzięki jego modlitwom zdarzają się rzeczy nadprzyrodzone. Zgłębianie tajemnic boga wymaga fanatycznego poświęcenia i zaangażowania.
Bohater musi wybrać jednego boga, a w konsekwencji także jedną
z magii kapłańskich. Każda magia kapłańska jest oddzielną
zdolnością magiczną, pozwalającą na rzucanie czarów z. dziedziny określonego bóstwa. Na przykład magia kapłańska (dziedzina
Signiara) różni się od magii kapłańskiej (dziedzina Ulryka).
Każde z w iększych bóstw w Starym Święcie posiada własny kult, który naucza magii kapłańskiej. Są to Świątynie: Mananna, Morra, Myrmidii, Ranalda, Sigmara. Shallyi. Taala i Rhyi, Ulryka oraz Vcreny. Znajomość magii kapłańskiej pozwala na rzucanie czarów z określonej dziedziny. Szczegółowe zasady rzucania zaklęć
znajdziesz w Rozdziale V II: Magia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
33,'magia powszechna','Bohater potrafi rzucać zaklęcia, które $4 powszechnie używane przez czarodziejów i kapłanów. Magia powszechna obejmuje wybór czarów, z których każdy jest osobną zdolnością. Na przykład magia
powszechna (rozproszenie magii) i magia powszechna (podniebny
chód) to odrębne zdolności. Najczęściej wykorzystywane czar)’ z magii powszechnej to: dotyk na odległość, magiczny alarm, magiczna broń, magiczny zamek, pancerz Eteru, podniebny chód, rozproszenie magii oraz uciszenie. Szczegółowe informacje na temat magii powszechnej i opis poszczególnych czarów znajdziesz w Rozdziale
V II: Magia. Zdolność magia powszechna wymaga uprzedniego
posiadania zdolności magia prosta');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
34,'magia prosta','Bohater poznał podstawowe tajniki rzucania czarów. Magia prosta, podobnie jak magia tajemna, obejmuje kilka zdolności.
Każdy rodzaj magii prostej jest traktowany jako oddzielna
zdolność magiczna. Na przykład magia prosta (tajemna) i magia
prosta (kapłańska) to odrębne zdolności. Znajomość dowolnego rodzaju magii prostej i posiadanie cechy Magia przynajmniej na poziomie I pozwala na rzucanie czarów'' z odpowiedniej listy zaklęć. Istnieją trzy podstawowe rodzaje magii prostej: gusła, kapłańska i tajemna. Szczegółowe zasady rzucania zaklęć znajdziesz
w Rozdziale V II: Magia');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
35,'magia tajemna','Bohater poznał tajniki jednej z kilku tradycji magicznych znanych w Imperium. Magia tajemna wymaga absolutnego poświęcenia i długotrwałych studiów. W konsekwencji Bohater musi dokonać wyboru jednej z dostępnych tradycji i nie będzie mógł uczyć się innych. Każdy rodzaj magii tajemnej jest oddzielną zdolnością. Na przykład magia tajemna (zwierzęta) różni się od
magii tajemnej (ogień). W Imperium istnieje osiem Kolegiów Magii,
z których każde naucza odrębnej Tradycji, czyli odmiennej magii tajemnej. Są to Tradycje: Cienia, Metalu. Niebios, Ognia, Śmierci,
Światła, Zwierząt i Życia. Znajomość magii tajemnej pozwala na
rzucanie czarów należących do określonej tradycji. Szczegółowe zasady rzucania zaklęć znajdziesz w Rozdziale V II: Magia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
36,'medytacja','Bohater potrafi skupić się na własnym wnętrzu i wejść w głęboki trans, ignorując doznania ze świata zewnętrznego. Podczas odprawiania rytuału magicznego BG otrzymuje modyfikator do poziomu mocy czaru równy wartości jego cechy Magia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
37,'morderczy atak','Dzięki znajomości podstaw anatomii Bohater potrafi wymierzyć atak w ncwTalgiczną część ciała przeciwnika. Zwiększa to o 1 Wartość Krytyczną wszystkich trafień krytycznych zadanych przez BG.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
38,'morderczy pocisk','Bohater specjalizuje się w czarach typu „magiczny pocisk".
Otrzymuje modyfikator +1 do rzutów na obrażenia, gdy atakuje czarami tego typu');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
39,'naśladowca','Bohater potrafi bezbłędnie naśladować różne odgłosy.
Otrzymuje modyfikator + 10 do testów: kuglarstwa (aktorstwo,
błaznowanie, gawędziarstwo i komcdianctwo). charakteryzacji
(jeśli jednym z elementów przebrania jest naśladowanie głosu lub dźwięków) oraz znajomości języka, gdy próbuje udawać, że to jego język ojczysty');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
40,'niepokojący','Bohater ma w swoim wyglądzie coś takiego, że przeciwnicy stają się niespokojni. Widząc go, wrogowie muszą wykonać test Siły Woli. Nieudany test oznacza, że otrzymują modyfikator -10 do testów Walki Wręcz i Umiejętności Strzeleckich w czasie walki z Bohaterem. Podczas każdej kolejnej rundy mogą próbować przełamać swój lęk (wykonując kolejny test Siły Woli). Efekt mija, gdy jedna ze stron ucieknie z pola walki.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
41,'nieustraszony','Bohater nie odczuwa strachu. Może jest naprawdę odważny, a może po prostu szalony. Bez w zględu na przyczynę, jest odporny na Strach i w mniejszym stopniu ulega Grozie (wykonujesz rzut przeciw'' Grozie jako rzut przeciw'' Strachowi). Bohater jest również odporny na działanie umiejętności zastraszanie i zdolności niepokojący. Szczegółowe zasady dotyczące wzbudzania Strachu
i Grozy znajdziesz w Rozdziale IX: Mistrz Gry');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
42,'niezwykle odporny','Bohater obdarzony jest wyjątkową odpornością. Otrzymuje +5 do Odporności, dodawane do początkowej waności cechy.
Może to zmienić waność Wytrzymałości, BG zgodnie z zasadami opisanymi na str. 19');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
43,'obieżyświat','Bohater w swoim życiu wiele podróżował, zdobywając rozległą wiedzę. Otrzymuje modyfikator +10 do testów wiedzy oraz
znajomości języka.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
44,'oburęczność','Bohater może używać obu rąk z jednakową sprawnością, nic otrzymując modyfikatora -20 do Walki Wręcz, gdy trzyma broń w słabszej ręce.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
45,'odporność na chaos','Bohater obdarzony jest naturalną odpornością na w pływ Chaosu. O trzym uje m odyfikator +10 do Siły W oli podczas testów przeciwko magii i efektom Chaosu. Jest również całkowicie odporny na mutacje Chaosu. Jednak nigdy nie będzie mógł rzucać czarów');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
46,'odporność na choroby','Bohater jest obdarzony końskim zdrowiem . O trzym uje m odyfikator +10 do O dporności podczas testów przeciwko chorobom.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
47,'odporność na magię','Bohater w naturalny sposób opiera się działaniu czarów.
O trzym uje m odyfikator +10 do Siły W oli podczas testów przeciwko magii.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
48,'odporność na trucizny','Wyjątkowa odporność organizmu pozwala Bohaterowi na osłabienie działania trucizny. O trzym uje m odyfikator +10 do Odporności podczas testów przeciwko truciznom.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
49,'odporność psychiczna','Bohater jest m niej podatny na efekt szokujących i przerażających wydarzeń. D o momentu uzbierania $ Punktów Obłędu nie musisz testować, czy Bohater nabawił się choroby umysłu. Bohater popada w obłęd (wykazuje objawy pierwszej choroby umysłowej) dopiero po uzbieraniu 14 Punktów Obłędu.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
50,'odwagi','Bohater odznacza się wyjątkową odwagą. O trzym uje m odyfikator +10 do Siły W oli podczas testów przeciwko Strachowi i G rozie oraz zastraszaniu.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
51,'ogłuszanie','Po udanym ataku bronią białą Bohater może zadeklarować próbę ogłuszenia przeciwnika, zamiast zadawać mu obrażenia. W takiej sytuacji należy wykonać przeciwstaw ny test Krzepy. Jeśli Bohater wygra, jego przeciwnik musi natychmiast wykonać test Odporności, dodając m odyfikator + 10 za każdy Punkt Zbroi hełmu lub osłony noszonej na głowic. Jeśli ten test będzie nieudany, przeciwnik zostaje ogłuszony na I k i0 rund. W tym czasie nie może podejmować żadnych akcji i nie może stosować umiejętności unik.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
52,'opanowanie','Bohater nigdy nie traci zimnej krwi. Otrzym uje + 5 do Siły Woli, dodawane do początkowej wartości cechy');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
53,'ożywieniec','Postać jest nieumarłym stworem, przywróconym do życia za pomocą magii nekromanckiej (patrz Rozdział V II: Magia). Jest odporna na Strach, Grozę, trucizny, choroby oraz na wszystkie czary, umiejętności i zdolności, które wpływają na emocje i umysł.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
54,'pancerz wiary','Dzięki żarliwej modlitwie Bohater potrafi skutecznie rzucać czary, nawet nosząc pancerz. Zdolność umożliwia dodanie +3 do ujemnego modyfikatora do poziomu mocy czaru, któ ry związany jest noszeniem zbroi. N a przykład rzucanie czarów i jednoczesne zasłanianie się ciężką tarczą jest obciążone m odyfikatorem -3.
Zdolność pancerz w iary redukuje ten m odyfikator do 0');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
55,'poliglota','Bohater posiada naturalną zdolność uczenia się i zapamiętywania obcych języków. Otrzymuje modyfikator + 10 do
testów czytania i pisania oraz znajomości języka.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
56,'przemawianie','Gdy Bohater przemawia, potrafi skupić uwagę większej grupy słuchaczy. Wykorzystując przekonywanie, może oddziaływać na grupę osób 10 razy liczniejszą niż normalnie.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
57,'przerażający','Wygląd postaci wywołuje przerażenie wśród obserwatorów.
Swoim zachowaniem wzbudza Grozę, zgodnie z zasadami opisanymi
w Rozdziale IX : M istrz G ry');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
58,'rozbrajanie','Po udanym ataku bronią białą. Bohater może podjąć próbę rozbrojenia przeciwnika, zamiast zadawać mu obrażenia. W takiej sytuacji należy wykonać przeciwstawny test Zręczności. Jeśli Bohater wygra, jego przeciwnik zostaje rozbrojony i upuszcza broń.
Broń można podnieść, wykonując akcję .użycie przedmiotu". Jeśli przeciwnik wygra, utrzymuje broń w ręce. N ic można rozbrajać przeciwnika, który walczy bronią naturalną (kły, pazury, itp.).');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
59,'silny cios','Dzięki doświadczeniu nabytemu w wielu walkach Bohater potrafi precyzyjnie wymierzać ciosy w walce wręcz. Otrzymuje modyfikator + 1 do obrażeń zadawanych bronią białą');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
60,'straszny','Wygląd postaci wywołuje przestrach wśród obserwatorów.Swoim zachowaniem wzbudza Strach, zgodnie z zasadami opisanymi w Rozdziale IX : Mistrz Gry');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
61,'strzał mierzony','Wykonując atak bronią strzelecką, Bohater potrafi skoncentrować się i znacznie lepiej wycelować. Po zadeklarowaniu akcji „wycelowanie" otrzymuje modyfikator +20 do Umiejętności Strzeleckich przy rzucie na trafienie, zamiast normalnego* modyfikatora +10.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
62,'strzał precyzyjny','Wykonując atak bronią strzelecką, Bohater potrafi precyzyjnie wymierzyć strzał, który zadajc dodatkowe obrażenia. Otrzymuje modyfikator +1 do rzutów na obraż.enia podczas ataku z użyciem broni strzeleckiej.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
63,'strzał przebijający','Bohater potrafi znaleźć odsłoniętą szczelinę w pancerzu przeciwnika. Po udanym ataku bronią strzelecką może zignorować 1 Punkt Zbroi przeciwnika. Jeśli przeciwnik nic nosi zbroi, ta zdolność jest nieskuteczna.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
64,'strzelec wyborowy','Bohater potrafi wyjątkowo celnie strzelać. Otrzymuje +5 do Umiejętności Strzeleckich, dodawane do początkowej wartości cechy.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
65,'szał bojowy','W trakcie walki Bohater potrafi wpaść w szal bojowy.
Przez jedną rundę musi się doprowadzić do wściekłości (wyjąć, gryząc tarczę, bijąc się w piersi, itd.). W następnej rundzie jego pierwotna natura bierze górę, zapewniając modyfikator + 1C do testów Siły Woli i Krzepy, (także + I do Siły, czyli zadawanych obrażeń), przy jednoczesnym modyfikatorze -10 do testów Inteligencji i Walki Wręcz. Podczas walki zawsze atakuje najbliższego przeciwnika, wykonując „szarżę* lub „szaleńczy atak", nic może uciekać ani wykonywać akcji „odwrót". BG pozostaje pod wpływem szalu bojowego do końca starcia.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
66,'szczęście','Bohater jest nieprawdopodobnym szczęściarzem. Wydajc się wychodzić obronną ręką z najgorszych opresji. Każdego dnia dostajc dodatkowy Punkt Szczęścia. Szczegółowe zasady przyznawania i wydawania Punktów Szczęścia znajdziesz w Rozdziale VI: Walka,
obrażenia i ruch.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
67,'szósty zmysł','Bohater jest niezwykle czujny i niemal instynktownie wyczuwa zagrożenie. W przypadku zasadzki łub innego zagrożenia Mistrz Gry może wykonać tajny test Siły Woli Bohatera. Jeśli test okaże się udany, Mistrz Gry powinien Cię poinformować, że Twój Bohater ma złe przeczucie albo wrażenie, że jest obserwowany. Dzięki temu BG obdarzony szóstym zmysłem może uniknąć zaskoczenia w początkowej fazie walki.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
68,'szybki refleks','Bohater jest obdarzony wspaniałym refleksem. Otrzymuje +5 do Zręczności, dodawane do początkowej wartości cechy.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
69,'szybkie wyciągnięcie','Dzięki tej zdolności Bohater potrafi szybko zareagować, błyskawicznie dobywając broni lub wyciągając inny przedmiot zza pasa lub z kieszeni. Raz na rundę może użyć akcji „użycie przedmiotu" jako akcji natychmiastowej.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
70,'talent artystyczny','Bohater potrafi tw orzyć dzieła sztuki. O trzym uje modyfikator + 2 0 do testów rzem iosła (sztuka) oraz m odyfikator + 1 0 do testów w yceny przy szacowaniu wartości dzieł sztuki');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
71,'twardziel','Bohater jest wyjątkow o odporny na ból i zranienia. O trzym uje + 1 do Ż yw otności, dodawane do początkowej w aności cechy.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
72,'ulicznik','Bohater wychował się w m ieście i z łatwością orientuje się w terenie zabudowanym. Otrzym uje modyfikator + 1 0 do testów
skradania się i ukryw ania się w mieście');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
73,'urodzony wojownik','Bohater wyjątkowo sprawnie posługuje się bronią białą.
Otrzymuje + 5 do Walki Wręcz, dodawane do początkowej wartości cechy');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
74,'wędrowiec','Bohater wychował się na wsi i z łatwością orientuje się w terenie wiejskim. O trzym uje modyfikator + 1 0 do testów
skradania się i ukrywania się na terenach poza miastem');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
75,'widzenie w ciemności','Bohater dysponuje zdolnością wyraźnego widzenia przy oświetleniu porównywalnym ze światłem gwiazd. Zasięg wzroku w takich warunkach wynosi 30 metrów: Zdolność jest bezużyteczna w całkow itej ciem ności');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
76,'woltyżerka','Bohater potrafi dokonywać niewiarygodnych w yczynów podczas jazdy konnej. Potrafi stać na rękach na grzbiecie galopującego w ierzchowca, przeskakiwać z jednego konia na drugiego, zeskakiwać w pełnym biegu, itp. Bohater wykonuje testy jeździectw a tylko w najbardziej ekstrem alnych sytuacjach, a i wtedy otrzymuje modyfikator + 10 do testów tej umiejętności.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
77,'wyczucie kierunk','Bohater instynktow nie potrafi określać strony świata i orientow ać się w przestrzeni. Prawic nigdy się nic gubi i bez wahania potrafi wskazać kierunek północny. Dodatkowo otrzymuje modyfikator + 10 do testów nawigacji');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
78,'wykrywanie pułapek','Bohater jest ekspertem w wykrywaniu i rozbrajaniu pułapek.
Otrzymuje modyfikator + 1 0 do testów spostrzegaw czości i otwierania zam ków związanych z wykrywaniem i unieszkodliwianiem pułapek');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
79,'wyostrzone zmysły','Bohater posiada wyjątkowo wyczulone zmysły. Otrzym uje m odyfikator + 2 0 do wszystkich testów spostrzegawczości.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
80,'zapasy','Bohater wyjątkowo dobrze wałczy bez broni. Wykonując chwyt, otrzymuje modyfikator + 10 do Walki Wręcz. Dodatkow o otrzym uje modyfikator + 10 do Krzepy, gdy chwyta przeciwnika lub gdy wyzwala się z uścisku');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
81,'zapiekła nienawiść','Bohater podziela głęboko zakorzenioną wśród swojego ludu w rogość w obec wszystkich zielonoskórych. Ta wiekowa już tradycja napełnia go taką nienawiścią, że otrzym uje m odyfikator + 5 d o Walki W ręcz, gdy atakuje gobliny, orki i hobgobliny.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
82,'zmysł magii','Bohater potrafi um iejętnie manipulować Wiatrami Magii. Otrzymuje modyfikator + 10 do testów splatania magii oraz wykrywania magii.');
INSERT INTO TALENT (ID,NAME,DESCRIPTION) VALUES (
83,'żyłka handlowa','Bohater potrafi sprzedać niemal w szystko. O trzymuje modyfikator + 10 do testów targowania i wyceny');
|
SET NAMES UTF8;
DROP DATABASE IF EXISTS zx;
CREATE DATABASE zx CHARSET=UTF8;
use zx;
CREATE TABLE zx_pro1(
id INT PRIMARY KEY AUTO_INCREMENT,
pid INT,
img_url VARCHAR(255),
title VARCHAR(255),
price DECIMAL(8,2)
);
INSERT INTO zx_pro1 VALUES
(null,1,"http://127.0.0.1:3000/img/middle1-1.jpg","花语系列项链",2150),
(null,2,"http://127.0.0.1:3000/img/middle1-2.jpg","花语系列耳环",1450),
(null,3,"http://127.0.0.1:3000/img/middle1-3.jpg","花语系列",950),
(null,4,"http://127.0.0.1:3000/img/middle1-4.jpg","典雅系列仿珍珠项链",1450),
(null,5,"http://127.0.0.1:3000/img/middle1-5.jpg","华丽系列仿珍珠项链",767),
(null,6,"http://127.0.0.1:3000/img/middle1-6.jpg","时尚优雅仿水晶女士耳坠",575);
CREATE TABLE zx_prolist(
id INT PRIMARY KEY AUTO_INCREMENT,
img_url VARCHAR(255),
title VARCHAR(128),
subtitle VARCHAR(128),
price DECIMAL(10,2),
keywords VARCHAR(255),
details VARCHAR(255)
);
INSERT INTO zx_prolist VALUES
(null,"http://127.0.0.1:3000/img/home/found1.jpg","0号黑糖大姨妈纯手工古法红糖月子驱寒暖宫姜茶零号老姜汤","驱寒、大姨妈必备",56.00,"低糖","多种营养元素"),
(null,"http://127.0.0.1:3000/img/home/found2.jpg","贵州茅台酒53度 酱香型500ml","正品保证 支持验货",4288.00,"饮后留香","持久不散"),
(null,"http://127.0.0.1:3000/img/home/found3.jpg","膳魔师真空保温杯 500ml","24小时控温 ",185.00,"冬天保温","夏天保冷"),
(null,"http://127.0.0.1:3000/img/home/found4.jpg","ReFa双球滚轮瘦脸美容仪","深度捏揉紧致肌肤",999.00,"美容美发","微电流"),
(null,"http://127.0.0.1:3000/img/home/found5.jpg","GUESS时尚印花牛仔背包","时尚牛仔色 防泼水",1598.00,"经典标志组合","自然牛仔肌理"),
(null,"http://127.0.0.1:3000/img/home/found6.jpg","美的LED台灯化妆镜","美观实用 镜享生活",199.00,"创意礼品","化妆补光"),
(null,"http://127.0.0.1:3000/img/home/found7.jpg","华为P20 Pro 全面屏徕卡手机","眼界大开",4488.00,"三摄像游戏手机","双卡双待"),
(null,"http://127.0.0.1:3000/img/home/found8.jpg","美旅 DX2拉杆箱","便捷拉杆箱",352.00,"时尚设计","轻享差旅"),
(null,"http://127.0.0.1:3000/img/home/found9.jpg","记忆棉护腰靠垫","美国睡眠科学大美人专利",299.00,"缓解背部疲劳","撑腰护脊"),
(null,"http://127.0.0.1:3000/img/home/found10.jpg","Beats Solo3 Wireless蓝牙耳机 ","电池使用长达40小时",1830.00,"出色音效","充电五分钟播放三小时");
CREATE TABLE zx_cart(
uid INT PRIMARY KEY AUTO_INCREMENT,
img_url VARCHAR(255),
title VARCHAR(255),
price DECIMAL(10,2),
count INT,
id INT
);
|
set define off verify off feedback off
whenever sqlerror exit sql.sqlcode rollback
--------------------------------------------------------------------------------
--
-- ORACLE Application Express (APEX) export file
--
-- You should run the script connected to SQL*Plus as the Oracle user
-- APEX_050100 or as the owner (parsing schema) of the application.
--
-- NOTE: Calls to apex_application_install override the defaults below.
--
--------------------------------------------------------------------------------
begin
wwv_flow_api.import_begin (
p_version_yyyy_mm_dd=>'2016.08.24'
,p_release=>'5.1.3.00.05'
,p_default_workspace_id=>35377833833005224547
,p_default_application_id=>58757
,p_default_owner=>'THDEVELOP_APEX'
);
end;
/
prompt --application/set_environment
prompt APPLICATION 58757 - BlogPostRenderingButtonInReport
--
-- Application Export:
-- Application: 58757
-- Name: BlogPostRenderingButtonInReport
-- Date and Time: 00:23 Saturday November 18, 2017
-- Exported By: [email protected]
-- Flashback: 0
-- Export Type: Application Export
-- Version: 5.1.3.00.05
-- Instance ID: 63113759365424
--
-- Application Statistics:
-- Pages: 1
-- Items: 1
-- Processes: 1
-- Regions: 2
-- Buttons: 1
-- Dynamic Actions: 1
-- Shared Components:
-- Logic:
-- Navigation:
-- Lists: 2
-- Breadcrumbs: 1
-- Entries: 1
-- Security:
-- Authentication: 1
-- User Interface:
-- Themes: 1
-- Templates:
-- Page: 9
-- Region: 15
-- Label: 5
-- List: 11
-- Popup LOV: 1
-- Calendar: 1
-- Breadcrumb: 1
-- Button: 3
-- Report: 9
-- Globalization:
-- Reports:
-- Supporting Objects: Included
prompt --application/delete_application
begin
wwv_flow_api.remove_flow(wwv_flow.g_flow_id);
end;
/
prompt --application/ui_types
begin
null;
end;
/
prompt --application/create_application
begin
wwv_flow_api.create_flow(
p_id=>wwv_flow.g_flow_id
,p_display_id=>nvl(wwv_flow_application_install.get_application_id,58757)
,p_owner=>nvl(wwv_flow_application_install.get_schema,'THDEVELOP_APEX')
,p_name=>nvl(wwv_flow_application_install.get_application_name,'BlogPostRenderingButtonInReport')
,p_alias=>nvl(wwv_flow_application_install.get_application_alias,'F_58757')
,p_page_view_logging=>'YES'
,p_page_protection_enabled_y_n=>'Y'
,p_checksum_salt=>'F0732576EB9FAB3A9DD8C586434E7DFD2AA7FE79867DE36606CF65FFFAB25F34'
,p_bookmark_checksum_function=>'SH512'
,p_compatibility_mode=>'5.1'
,p_flow_language=>'en'
,p_flow_language_derived_from=>'0'
,p_direction_right_to_left=>'N'
,p_flow_image_prefix => nvl(wwv_flow_application_install.get_image_prefix,'')
,p_authentication=>'PLUGIN'
,p_authentication_id=>wwv_flow_api.id(36155471184763405847)
,p_application_tab_set=>0
,p_logo_image=>'TEXT:BlogPostRenderingButtonInReport'
,p_public_user=>'APEX_PUBLIC_USER'
,p_proxy_server=> nvl(wwv_flow_application_install.get_proxy,'')
,p_flow_version=>'release 1.0'
,p_flow_status=>'AVAILABLE_W_EDIT_LINK'
,p_flow_unavailable_text=>'This application is currently unavailable at this time.'
,p_exact_substitutions_only=>'Y'
,p_browser_cache=>'N'
,p_browser_frame=>'D'
,p_rejoin_existing_sessions=>'N'
,p_csv_encoding=>'Y'
,p_auto_time_zone=>'N'
,p_last_updated_by=>'[email protected]'
,p_last_upd_yyyymmddhh24miss=>'20171118002304'
,p_file_prefix => nvl(wwv_flow_application_install.get_static_app_file_prefix,'')
,p_ui_type_name => null
);
end;
/
prompt --application/shared_components/navigation/lists
begin
wwv_flow_api.create_list(
p_id=>wwv_flow_api.id(36155308701393405788)
,p_name=>'Desktop Navigation Menu'
,p_list_status=>'PUBLIC'
);
wwv_flow_api.create_list_item(
p_id=>wwv_flow_api.id(36155472397288405855)
,p_list_item_display_sequence=>10
,p_list_item_link_text=>'Home'
,p_list_item_link_target=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.:'
,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST'
,p_list_item_current_for_pages=>'1'
);
wwv_flow_api.create_list(
p_id=>wwv_flow_api.id(36155470898204405845)
,p_name=>'Desktop Navigation Bar'
,p_list_status=>'PUBLIC'
);
wwv_flow_api.create_list_item(
p_id=>wwv_flow_api.id(36155471066197405846)
,p_list_item_display_sequence=>10
,p_list_item_link_text=>'Log Out'
,p_list_item_link_target=>'&LOGOUT_URL.'
,p_list_item_current_for_pages=>'&LOGOUT_URL.'
);
end;
/
prompt --application/shared_components/files
begin
null;
end;
/
prompt --application/plugin_settings
begin
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308156245405788)
,p_plugin_type=>'ITEM TYPE'
,p_plugin=>'NATIVE_COLOR_PICKER'
,p_attribute_01=>'modern'
);
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308282837405788)
,p_plugin_type=>'ITEM TYPE'
,p_plugin=>'NATIVE_YES_NO'
,p_attribute_01=>'Y'
,p_attribute_03=>'N'
,p_attribute_05=>'SWITCH'
);
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308314414405788)
,p_plugin_type=>'REGION TYPE'
,p_plugin=>'NATIVE_CSS_CALENDAR'
);
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308437820405788)
,p_plugin_type=>'REGION TYPE'
,p_plugin=>'NATIVE_DISPLAY_SELECTOR'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308580675405788)
,p_plugin_type=>'REGION TYPE'
,p_plugin=>'NATIVE_IG'
);
wwv_flow_api.create_plugin_setting(
p_id=>wwv_flow_api.id(36155308659440405788)
,p_plugin_type=>'REGION TYPE'
,p_plugin=>'NATIVE_IR'
,p_attribute_01=>'IG'
);
end;
/
prompt --application/shared_components/security/authorizations
begin
null;
end;
/
prompt --application/shared_components/navigation/navigation_bar
begin
null;
end;
/
prompt --application/shared_components/logic/application_processes
begin
null;
end;
/
prompt --application/shared_components/logic/application_items
begin
null;
end;
/
prompt --application/shared_components/logic/application_computations
begin
null;
end;
/
prompt --application/shared_components/navigation/tabs/standard
begin
null;
end;
/
prompt --application/shared_components/navigation/tabs/parent
begin
null;
end;
/
prompt --application/shared_components/user_interface/lovs
begin
null;
end;
/
prompt --application/shared_components/navigation/trees
begin
null;
end;
/
prompt --application/pages/page_groups
begin
null;
end;
/
prompt --application/comments
begin
null;
end;
/
prompt --application/shared_components/navigation/breadcrumbs/breadcrumb
begin
wwv_flow_api.create_menu(
p_id=>wwv_flow_api.id(36155472261865405853)
,p_name=>' Breadcrumb'
);
wwv_flow_api.create_menu_option(
p_id=>wwv_flow_api.id(36155472639021405856)
,p_parent_id=>0
,p_short_name=>'Home'
,p_link=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.'
,p_page_id=>1
);
end;
/
prompt --application/shared_components/user_interface/templates/page
begin
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155308894015405789)
,p_theme_id=>42
,p_name=>'Left Side Column'
,p_internal_name=>'LEFT_SIDE_COLUMN'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.leftSideCol();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--showLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
' <div class="t-Header-nav">',
' #TOP_GLOBAL_NAVIGATION_LIST#',
' #REGION_POSITION_06#',
' </div>',
'</header>'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
'#SIDE_GLOBAL_NAVIGATION_LIST#',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-side" id="t_Body_side">',
' #REGION_POSITION_02#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>17
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2525196570560608698
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155308986620405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309053544405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309138242405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>false
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309271701405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309358228405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309472709405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Left Column'
,p_placeholder=>'REGION_POSITION_02'
,p_has_grid_support=>false
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>4
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309509428405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309607811405791)
,p_page_template_id=>wwv_flow_api.id(36155308894015405789)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155309775091405792)
,p_theme_id=>42
,p_name=>'Left and Right Side Columns'
,p_internal_name=>'LEFT_AND_RIGHT_SIDE_COLUMNS'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.bothSideCols();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8"> ',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--showLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
' <div class="t-Header-nav">',
' #TOP_GLOBAL_NAVIGATION_LIST#',
' #REGION_POSITION_06#',
' </div>',
'</header>'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
'#SIDE_GLOBAL_NAVIGATION_LIST#',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-side" id="t_Body_side">',
' #REGION_POSITION_02#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
' <div class="t-Body-actions" id="t_Body_actions">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' <div class="t-Body-actionsContent">',
' #REGION_POSITION_03#',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>17
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>false
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2525203692562657055
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309813980405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155309995607405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310069515405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>false
,p_max_fixed_grid_columns=>6
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310139635405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>6
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310218004405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310332287405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Left Column'
,p_placeholder=>'REGION_POSITION_02'
,p_has_grid_support=>false
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>3
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310408654405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310539471405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310603272405792)
,p_page_template_id=>wwv_flow_api.id(36155309775091405792)
,p_name=>'Right Column'
,p_placeholder=>'REGION_POSITION_03'
,p_has_grid_support=>false
,p_glv_new_row=>false
,p_max_fixed_grid_columns=>3
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155310725612405792)
,p_theme_id=>42
,p_name=>'Login'
,p_internal_name=>'LOGIN'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.appLogin();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody--login no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
'#FORM_OPEN#'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
' #REGION_POSITION_01#',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-wrap">',
' <div class="t-Body-col t-Body-col--main">',
' <div class="t-Login-container">',
' #BODY#',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>6
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2099711150063350616
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310804637405792)
,p_page_template_id=>wwv_flow_api.id(36155310725612405792)
,p_name=>'Body Header'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155310964932405793)
,p_page_template_id=>wwv_flow_api.id(36155310725612405792)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155311059946405793)
,p_theme_id=>42
,p_name=>'Marquee'
,p_internal_name=>'MASTER_DETAIL'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.masterDetail();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--masterDetail t-PageBody--hideLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
' <div class="t-Header-nav">',
' #TOP_GLOBAL_NAVIGATION_LIST#',
' #REGION_POSITION_06#',
' </div>',
'</header>'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
'#SIDE_GLOBAL_NAVIGATION_LIST#',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-info" id="t_Body_info">',
' #REGION_POSITION_02#',
' </div>',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
' <div class="t-Body-actions" id="t_Body_actions">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' <div class="t-Body-actionsContent">',
' #REGION_POSITION_03#',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>17
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>1996914646461572319
,p_translate_this_template=>'N'
);
end;
/
begin
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155311140297405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421248720405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421396053405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421492651405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421513764405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421666549405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Master Detail'
,p_placeholder=>'REGION_POSITION_02'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421778427405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421842262405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155421908829405793)
,p_page_template_id=>wwv_flow_api.id(36155311059946405793)
,p_name=>'Right Side Column'
,p_placeholder=>'REGION_POSITION_03'
,p_has_grid_support=>false
,p_glv_new_row=>false
,p_max_fixed_grid_columns=>4
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155422006461405793)
,p_theme_id=>42
,p_name=>'Minimal (No Navigation)'
,p_internal_name=>'MINIMAL_NO_NAVIGATION'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS# ',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES# t-PageBody--noNav" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
'</header>',
' '))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>',
''))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>4
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2977628563533209425
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422138306405793)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422247419405793)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422313293405794)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422473248405794)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422505820405794)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422656847405794)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422761565405794)
,p_page_template_id=>wwv_flow_api.id(36155422006461405793)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155422895452405794)
,p_theme_id=>42
,p_name=>'Modal Dialog'
,p_internal_name=>'MODAL_DIALOG'
,p_is_popup=>true
,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-Dialog-page t-Dialog-page--standard #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
'#FORM_OPEN#'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Dialog" role="dialog" aria-label="#TITLE#">',
' <div class="t-Dialog-header">#REGION_POSITION_01#</div>',
' <div class="t-Dialog-bodyWrapperOut">',
' <div class="t-Dialog-bodyWrapperIn"><div class="t-Dialog-body">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' #BODY#',
' </div></div>',
' </div>',
' <div class="t-Dialog-footer">#REGION_POSITION_03#</div>',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>3
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--standard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_height=>'auto'
,p_dialog_width=>'720'
,p_dialog_max_width=>'960'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2098960803539086924
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155422931355405794)
,p_page_template_id=>wwv_flow_api.id(36155422895452405794)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423090303405794)
,p_page_template_id=>wwv_flow_api.id(36155422895452405794)
,p_name=>'Dialog Footer'
,p_placeholder=>'REGION_POSITION_03'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423189560405794)
,p_page_template_id=>wwv_flow_api.id(36155422895452405794)
,p_name=>'Dialog Header'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155423325949405795)
,p_theme_id=>42
,p_name=>'Right Side Column'
,p_internal_name=>'RIGHT_SIDE_COLUMN'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.rightSideCol();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8"> ',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--hideLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
' <div class="t-Header-nav">',
' #TOP_GLOBAL_NAVIGATION_LIST#',
' #REGION_POSITION_06#',
' </div>',
'</header>'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
'#SIDE_GLOBAL_NAVIGATION_LIST#',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
' <div class="t-Body-actions" id="t_Body_actions">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' <div class="t-Body-actionsContent">',
' #REGION_POSITION_03#',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>17
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>false
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2525200116240651575
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423480784405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423548229405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423642524405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423787326405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>8
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423830152405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155423937091405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424015504405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424176748405795)
,p_page_template_id=>wwv_flow_api.id(36155423325949405795)
,p_name=>'Right Column'
,p_placeholder=>'REGION_POSITION_03'
,p_has_grid_support=>false
,p_glv_new_row=>false
,p_max_fixed_grid_columns=>4
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155424243368405795)
,p_theme_id=>42
,p_name=>'Standard'
,p_internal_name=>'STANDARD'
,p_is_popup=>false
,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS# ',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
'#FORM_OPEN#',
'<header class="t-Header" id="t_Header">',
' #REGION_POSITION_07#',
' <div class="t-Header-branding">',
' <div class="t-Header-controls">',
' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>',
' </div>',
' <div class="t-Header-logo">',
' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
' </div>',
' <div class="t-Header-navBar">',
' #NAVIGATION_BAR#',
' </div>',
' </div>',
' <div class="t-Header-nav">',
' #TOP_GLOBAL_NAVIGATION_LIST#',
' #REGION_POSITION_06#',
' </div>',
'</header>',
' '))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body">',
' #SIDE_GLOBAL_NAVIGATION_LIST#',
' <div class="t-Body-main">',
' <div class="t-Body-title" id="t_Body_title">',
' #REGION_POSITION_01#',
' </div>',
' <div class="t-Body-content" id="t_Body_content">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' <div class="t-Body-contentInner">',
' #BODY#',
' </div>',
' <footer class="t-Footer">',
' <div class="t-Footer-body">',
' <div class="t-Footer-content">#REGION_POSITION_05#</div>',
' <div class="t-Footer-apex">',
' <div class="t-Footer-version">#APP_VERSION#</div> ',
' <div class="t-Footer-customize">#CUSTOMIZE#</div>',
' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>',
' </div>',
' </div>',
' <div class="t-Footer-top">',
' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
' </div>',
' </footer>',
' </div>',
' </div>',
'</div>',
'<div class="t-Body-inlineDialogs">',
' #REGION_POSITION_04#',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>',
''))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">',
' <li class="t-NavigationBar-item">',
' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
' <span class="t-Icon a-Icon icon-user"></span>',
' <span class="t-Button-label">&APP_USER.</span>',
' </span>',
' </li>#BAR_BODY#',
'</ul>'))
,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item">',
' <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">',
' <span class="t-Icon #IMAGE#"></span>',
' <span class="t-Button-label">#TEXT#</span>',
' </a>',
'</li>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
,p_theme_class_id=>1
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>4070909157481059304
,p_translate_this_template=>'N'
);
end;
/
begin
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424331482405795)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Before Navigation Bar'
,p_placeholder=>'REGION_POSITION_08'
,p_has_grid_support=>false
,p_glv_new_row=>false
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424423565405795)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Breadcrumb Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424596072405795)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424689975405795)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Footer'
,p_placeholder=>'REGION_POSITION_05'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424720277405796)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Inline Dialogs'
,p_placeholder=>'REGION_POSITION_04'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424839243405796)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Page Header'
,p_placeholder=>'REGION_POSITION_07'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155424969003405796)
,p_page_template_id=>wwv_flow_api.id(36155424243368405795)
,p_name=>'Page Navigation'
,p_placeholder=>'REGION_POSITION_06'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_template(
p_id=>wwv_flow_api.id(36155425030090405796)
,p_theme_id=>42
,p_name=>'Wizard Modal Dialog'
,p_internal_name=>'WIZARD_MODAL_DIALOG'
,p_is_popup=>true
,p_javascript_code_onload=>'apex.theme42.initializePage.wizardModal();'
,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
'<head>',
' <meta http-equiv="x-ua-compatible" content="IE=edge" />',
' <meta charset="utf-8">',
' <title>#TITLE#</title>',
' #APEX_CSS#',
' #THEME_CSS#',
' #TEMPLATE_CSS#',
' #THEME_STYLE_CSS#',
' #APPLICATION_CSS#',
' #PAGE_CSS#',
' #FAVICONS#',
' #HEAD#',
' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>',
'</head>',
'<body class="t-Dialog-page t-Dialog-page--wizard #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
'#FORM_OPEN#'))
,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Dialog" role="dialog" aria-label="#TITLE#">',
' <div class="t-Dialog-header">#REGION_POSITION_01#</div>',
' <div class="t-Dialog-bodyWrapperOut">',
' <div class="t-Dialog-bodyWrapperIn"><div class="t-Dialog-body">',
' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
' #BODY#',
' </div></div>',
' </div>',
' <div class="t-Dialog-footer">#REGION_POSITION_03#</div>',
'</div>'))
,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#FORM_CLOSE#',
'#DEVELOPER_TOOLBAR#',
'#APEX_JAVASCRIPT#',
'#GENERATED_CSS#',
'#THEME_JAVASCRIPT#',
'#TEMPLATE_JAVASCRIPT#',
'#APPLICATION_JAVASCRIPT#',
'#PAGE_JAVASCRIPT# ',
'#GENERATED_JAVASCRIPT#',
'</body>',
'</html>'))
,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-alert">',
' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' #MESSAGE#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
' </div>',
' </div>',
' </div>',
'</div>'))
,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
,p_theme_class_id=>3
,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-body">',
' <h3>#MESSAGE#</h3>',
' <p>#ADDITIONAL_INFO#</p>',
' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
' </div>',
' </div>',
'</div>'))
,p_grid_type=>'FIXED'
,p_grid_max_columns=>12
,p_grid_always_use_max_columns=>true
,p_grid_has_column_span=>true
,p_grid_always_emit=>true
,p_grid_emit_empty_leading_cols=>true
,p_grid_emit_empty_trail_cols=>false
,p_grid_default_label_col_span=>2
,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="container">',
'#ROWS#',
'</div>'))
,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="row">',
'#COLUMNS#',
'</div>'))
,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>',
'#CONTENT#',
'</div>'))
,p_grid_first_column_attributes=>'alpha'
,p_grid_last_column_attributes=>'omega'
,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--wizard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
,p_dialog_height=>'auto'
,p_dialog_width=>'720'
,p_dialog_max_width=>'960'
,p_dialog_browser_frame=>'MODAL'
,p_reference_id=>2120348229686426515
,p_translate_this_template=>'N'
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155425158102405796)
,p_page_template_id=>wwv_flow_api.id(36155425030090405796)
,p_name=>'Wizard Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155425250467405796)
,p_page_template_id=>wwv_flow_api.id(36155425030090405796)
,p_name=>'Wizard Buttons'
,p_placeholder=>'REGION_POSITION_03'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_page_tmpl_display_point(
p_id=>wwv_flow_api.id(36155425396648405796)
,p_page_template_id=>wwv_flow_api.id(36155425030090405796)
,p_name=>'Wizard Progress Bar'
,p_placeholder=>'REGION_POSITION_01'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
end;
/
prompt --application/shared_components/user_interface/templates/button
begin
wwv_flow_api.create_button_templates(
p_id=>wwv_flow_api.id(36155460030763405824)
,p_template_name=>'Icon'
,p_internal_name=>'ICON'
,p_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL#" aria-label="#LABEL#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"><'
||'/span></button>'
,p_hot_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL#" aria-label="#LABEL#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-h'
||'idden="true"></span></button>'
,p_reference_id=>2347660919680321258
,p_translate_this_template=>'N'
,p_theme_class_id=>5
,p_theme_id=>42
);
wwv_flow_api.create_button_templates(
p_id=>wwv_flow_api.id(36155460127630405825)
,p_template_name=>'Text'
,p_internal_name=>'TEXT'
,p_template=>'<button onclick="#JAVASCRIPT#" class="t-Button #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>'
,p_hot_template=>'<button onclick="#JAVASCRIPT#" class="t-Button t-Button--hot #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>'
,p_reference_id=>4070916158035059322
,p_translate_this_template=>'N'
,p_theme_class_id=>1
,p_theme_id=>42
);
wwv_flow_api.create_button_templates(
p_id=>wwv_flow_api.id(36155460212793405825)
,p_template_name=>'Text with Icon'
,p_internal_name=>'TEXT_WITH_ICON'
,p_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-label">#LABEL#'
||'</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>'
,p_hot_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-'
||'label">#LABEL#</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>'
,p_reference_id=>2081382742158699622
,p_translate_this_template=>'N'
,p_theme_class_id=>4
,p_preset_template_options=>'t-Button--iconRight'
,p_theme_id=>42
);
end;
/
prompt --application/shared_components/user_interface/templates/region
begin
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155425521204405796)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
' </div>',
' <div class="t-Alert-body">#BODY#</div>',
' </div>',
' <div class="t-Alert-buttons">#PREVIOUS##CLOSE##CREATE##NEXT#</div>',
' </div>',
'</div>'))
,p_page_plug_template_name=>'Alert'
,p_internal_name=>'ALERT'
,p_plug_table_bgcolor=>'#ffffff'
,p_theme_id=>42
,p_theme_class_id=>21
,p_preset_template_options=>'t-Alert--horizontal:t-Alert--defaultIcons:t-Alert--warning'
,p_plug_heading_bgcolor=>'#ffffff'
,p_plug_font_size=>'-1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2039236646100190748
,p_translate_this_template=>'N'
,p_template_comment=>'Red Theme'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155425633595405797)
,p_plug_template_id=>wwv_flow_api.id(36155425521204405796)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155427314034405799)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#"> ',
'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',
'</div>'))
,p_page_plug_template_name=>'Blank with Attributes'
,p_internal_name=>'BLANK_WITH_ATTRIBUTES'
,p_theme_id=>42
,p_theme_class_id=>7
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>4499993862448380551
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155427481549405799)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#"> ',
'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',
'</div>'))
,p_page_plug_template_name=>'Blank with Attributes (No Grid)'
,p_internal_name=>'BLANK_WITH_ATTRIBUTES_NO_GRID'
,p_theme_id=>42
,p_theme_class_id=>7
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>3369790999010910123
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155427559458405799)
,p_plug_template_id=>wwv_flow_api.id(36155427481549405799)
,p_name=>'Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155427636309405799)
,p_plug_template_id=>wwv_flow_api.id(36155427481549405799)
,p_name=>'Sub Regions'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155427726983405799)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ButtonRegion t-Form--floatLeft #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-ButtonRegion-wrap">',
' <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##CLOSE##DELETE#</div></div>',
' <div class="t-ButtonRegion-col t-ButtonRegion-col--content">',
' <h2 class="t-ButtonRegion-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
' #BODY#',
' <div class="t-ButtonRegion-buttons">#CHANGE#</div>',
' </div>',
' <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
' </div>',
'</div>'))
,p_page_plug_template_name=>'Buttons Container'
,p_internal_name=>'BUTTONS_CONTAINER'
,p_plug_table_bgcolor=>'#ffffff'
,p_theme_id=>42
,p_theme_class_id=>17
,p_plug_heading_bgcolor=>'#ffffff'
,p_plug_font_size=>'-1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2124982336649579661
,p_translate_this_template=>'N'
,p_template_comment=>'Red Theme'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155427875180405799)
,p_plug_template_id=>wwv_flow_api.id(36155427726983405799)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155427922835405799)
,p_plug_template_id=>wwv_flow_api.id(36155427726983405799)
,p_name=>'Sub Regions'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155428699384405800)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Region t-Region--carousel #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Region-header">',
' <div class="t-Region-headerItems t-Region-headerItems--title">',
' <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
' </div>',
' <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>',
' </div>',
' <div class="t-Region-bodyWrap">',
' <div class="t-Region-buttons t-Region-buttons--top">',
' <div class="t-Region-buttons-left">#PREVIOUS#</div>',
' <div class="t-Region-buttons-right">#NEXT#</div>',
' </div>',
' <div class="t-Region-body">',
' #BODY#',
' <div class="t-Region-carouselRegions">',
' #SUB_REGIONS#',
' </div>',
' </div>',
' <div class="t-Region-buttons t-Region-buttons--bottom">',
' <div class="t-Region-buttons-left">#CLOSE##HELP#</div>',
' <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>',
' </div>',
' </div>',
'</div>'))
,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">',
' #SUB_REGION#',
'</div>'))
,p_page_plug_template_name=>'Carousel Container'
,p_internal_name=>'CAROUSEL_CONTAINER'
,p_javascript_file_urls=>'#IMAGE_PREFIX#plugins/com.oracle.apex.carousel/1.1/com.oracle.apex.carousel#MIN#.js?v=#APEX_VERSION#'
,p_plug_table_bgcolor=>'#ffffff'
,p_theme_id=>42
,p_theme_class_id=>5
,p_default_template_options=>'t-Region--showCarouselControls'
,p_preset_template_options=>'t-Region--hiddenOverflow'
,p_plug_heading_bgcolor=>'#ffffff'
,p_plug_font_size=>'-1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2865840475322558786
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155428769915405800)
,p_plug_template_id=>wwv_flow_api.id(36155428699384405800)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155428828729405800)
,p_plug_template_id=>wwv_flow_api.id(36155428699384405800)
,p_name=>'Slides'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155432034486405802)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Region t-Region--hideShow #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Region-header">',
' <div class="t-Region-headerItems t-Region-headerItems--controls">',
' <button class="t-Button t-Button--icon t-Button--hideShow" type="button"></button>',
' </div>',
' <div class="t-Region-headerItems t-Region-headerItems--title">',
' <h2 class="t-Region-title">#TITLE#</h2>',
' </div>',
' <div class="t-Region-headerItems t-Region-headerItems--buttons">#EDIT#</div>',
' </div>',
' <div class="t-Region-bodyWrap">',
' <div class="t-Region-buttons t-Region-buttons--top">',
' <div class="t-Region-buttons-left">#CLOSE#</div>',
' <div class="t-Region-buttons-right">#CREATE#</div>',
' </div>',
' <div class="t-Region-body">',
' #COPY#',
' #BODY#',
' #SUB_REGIONS#',
' #CHANGE#',
' </div>',
' <div class="t-Region-buttons t-Region-buttons--bottom">',
' <div class="t-Region-buttons-left">#PREVIOUS#</div>',
' <div class="t-Region-buttons-right">#NEXT#</div>',
' </div>',
' </div>',
'</div>'))
,p_page_plug_template_name=>'Collapsible'
,p_internal_name=>'COLLAPSIBLE'
,p_plug_table_bgcolor=>'#ffffff'
,p_theme_id=>42
,p_theme_class_id=>1
,p_preset_template_options=>'is-expanded:t-Region--scrollBody'
,p_plug_heading_bgcolor=>'#ffffff'
,p_plug_font_size=>'-1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2662888092628347716
,p_translate_this_template=>'N'
,p_template_comment=>'Red Theme'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155432166816405802)
,p_plug_template_id=>wwv_flow_api.id(36155432034486405802)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155432217945405802)
,p_plug_template_id=>wwv_flow_api.id(36155432034486405802)
,p_name=>'Sub Regions'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155434204557405804)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ContentBlock #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-ContentBlock-header"><h1 class="t-ContentBlock-title">#TITLE#</h1></div>',
' <div class="t-ContentBlock-body">#BODY#</div>',
' <div class="t-ContentBlock-buttons">#PREVIOUS##NEXT#</div>',
'</div>'))
,p_page_plug_template_name=>'Content Block'
,p_internal_name=>'CONTENT_BLOCK'
,p_theme_id=>42
,p_theme_class_id=>21
,p_preset_template_options=>'t-ContentBlock--h1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2320668864738842174
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155435136352405805)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-HeroRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-HeroRegion-wrap">',
' <div class="t-HeroRegion-col t-HeroRegion-col--left"><span class="t-HeroRegion-icon t-Icon #ICON_CSS_CLASSES#"></span></div>',
' <div class="t-HeroRegion-col t-HeroRegion-col--content">',
' <h1 class="t-HeroRegion-title">#TITLE#</h1>',
' #BODY#',
' </div>',
' <div class="t-HeroRegion-col t-HeroRegion-col--right"><div class="t-HeroRegion-form">#SUB_REGIONS#</div><div class="t-HeroRegion-buttons">#NEXT#</div></div>',
' </div>',
'</div>'))
,p_page_plug_template_name=>'Hero'
,p_internal_name=>'HERO'
,p_theme_id=>42
,p_theme_class_id=>22
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2672571031438297268
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155435296733405805)
,p_plug_template_id=>wwv_flow_api.id(36155435136352405805)
,p_name=>'Region Body'
,p_placeholder=>'#BODY#'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155435897982405805)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div id="#REGION_STATIC_ID#_parent">',
'<div id="#REGION_STATIC_ID#" class="t-DialogRegion #REGION_CSS_CLASSES# js-regionDialog" #REGION_ATTRIBUTES# style="display:none" title="#TITLE#">',
' <div class="t-DialogRegion-wrap">',
' <div class="t-DialogRegion-bodyWrapperOut"><div class="t-DialogRegion-bodyWrapperIn"><div class="t-DialogRegion-body">#BODY#</div></div></div>',
' <div class="t-DialogRegion-buttons">',
' <div class="t-ButtonRegion t-ButtonRegion--dialogRegion">',
' <div class="t-ButtonRegion-wrap">',
' <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##DELETE##CLOSE#</div></div>',
' <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
' </div>',
' </div>',
' </div>',
' </div>',
'</div>',
'</div>'))
,p_page_plug_template_name=>'Inline Dialog'
,p_internal_name=>'INLINE_DIALOG'
,p_theme_id=>42
,p_theme_class_id=>24
,p_default_template_options=>'js-modal:js-draggable:js-resizable'
,p_preset_template_options=>'js-dialog-size600x400'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2671226943886536762
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155435992255405805)
,p_plug_template_id=>wwv_flow_api.id(36155435897982405805)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155436866945405806)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-IRR-region #REGION_CSS_CLASSES#" role="group" aria-labelledby="#REGION_STATIC_ID#_heading">',
' <h2 class="u-VisuallyHidden" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',
'</div>'))
,p_page_plug_template_name=>'Interactive Report'
,p_internal_name=>'INTERACTIVE_REPORT'
,p_theme_id=>42
,p_theme_class_id=>9
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2099079838218790610
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155437121385405806)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Login-region t-Form--stretchInputs t-Form--labelsAbove #REGION_CSS_CLASSES#" id="#REGION_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Login-header">',
' <span class="t-Login-logo #ICON_CSS_CLASSES#"></span>',
' <h1 class="t-Login-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h1>',
' </div>',
' <div class="t-Login-body">',
' #BODY#',
' </div>',
' <div class="t-Login-buttons">',
' #NEXT#',
' </div>',
' <div class="t-Login-links">',
' #EDIT##CREATE#',
' </div>',
' #SUB_REGIONS#',
'</div>'))
,p_page_plug_template_name=>'Login'
,p_internal_name=>'LOGIN'
,p_theme_id=>42
,p_theme_class_id=>23
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2672711194551076376
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155437224152405806)
,p_plug_template_id=>wwv_flow_api.id(36155437121385405806)
,p_name=>'Content Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155437343245405806)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Region #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Region-header">',
' <div class="t-Region-headerItems t-Region-headerItems--title">',
' <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
' </div>',
' <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>',
' </div>',
' <div class="t-Region-bodyWrap">',
' <div class="t-Region-buttons t-Region-buttons--top">',
' <div class="t-Region-buttons-left">#PREVIOUS#</div>',
' <div class="t-Region-buttons-right">#NEXT#</div>',
' </div>',
' <div class="t-Region-body">',
' #BODY#',
' #SUB_REGIONS#',
' </div>',
' <div class="t-Region-buttons t-Region-buttons--bottom">',
' <div class="t-Region-buttons-left">#CLOSE##HELP#</div>',
' <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>',
' </div>',
' </div>',
'</div>',
''))
,p_page_plug_template_name=>'Standard'
,p_internal_name=>'STANDARD'
,p_plug_table_bgcolor=>'#ffffff'
,p_theme_id=>42
,p_theme_class_id=>8
,p_preset_template_options=>'t-Region--scrollBody'
,p_plug_heading_bgcolor=>'#ffffff'
,p_plug_font_size=>'-1'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>4070912133526059312
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155437429092405806)
,p_plug_template_id=>wwv_flow_api.id(36155437343245405806)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155437558132405806)
,p_plug_template_id=>wwv_flow_api.id(36155437343245405806)
,p_name=>'Sub Regions'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>true
,p_glv_new_row=>true
,p_max_fixed_grid_columns=>12
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155440562588405808)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-TabsRegion #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
' #BODY#',
' <div class="t-TabsRegion-items">',
' #SUB_REGIONS#',
' </div>',
'</div>'))
,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">',
' #SUB_REGION#',
'</div>'))
,p_page_plug_template_name=>'Tabs Container'
,p_internal_name=>'TABS_CONTAINER'
,p_theme_id=>42
,p_theme_class_id=>5
,p_preset_template_options=>'t-TabsRegion-mod--simple'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>3221725015618492759
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155440687512405808)
,p_plug_template_id=>wwv_flow_api.id(36155440562588405808)
,p_name=>'Region Body'
,p_placeholder=>'BODY'
,p_has_grid_support=>true
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155440731637405808)
,p_plug_template_id=>wwv_flow_api.id(36155440562588405808)
,p_name=>'Tabs'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>false
,p_glv_new_row=>true
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155441783879405808)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-BreadcrumbRegion #REGION_CSS_CLASSES#"> ',
' <div class="t-BreadcrumbRegion-body">',
' <div class="t-BreadcrumbRegion-breadcrumb">',
' #BODY#',
' </div>',
' <div class="t-BreadcrumbRegion-title">',
' <h1 class="t-BreadcrumbRegion-titleText">#TITLE#</h1>',
' </div>',
' </div>',
' <div class="t-BreadcrumbRegion-buttons">#PREVIOUS##CLOSE##DELETE##HELP##CHANGE##EDIT##COPY##CREATE##NEXT#</div>',
'</div>'))
,p_page_plug_template_name=>'Title Bar'
,p_internal_name=>'TITLE_BAR'
,p_theme_id=>42
,p_theme_class_id=>6
,p_default_template_options=>'t-BreadcrumbRegion--showBreadcrumb'
,p_preset_template_options=>'t-BreadcrumbRegion--useBreadcrumbTitle'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2530016523834132090
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_template(
p_id=>wwv_flow_api.id(36155442158061405808)
,p_layout=>'TABLE'
,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Wizard #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
' <div class="t-Wizard-header">',
' <h1 class="t-Wizard-title">#TITLE#</h1>',
' <div class="u-Table t-Wizard-controls">',
' <div class="u-Table-fit t-Wizard-buttons">#PREVIOUS##CLOSE#</div>',
' <div class="u-Table-fill t-Wizard-steps">',
' #BODY#',
' </div>',
' <div class="u-Table-fit t-Wizard-buttons">#NEXT#</div>',
' </div>',
' </div>',
' <div class="t-Wizard-body">',
' #SUB_REGIONS#',
' </div>',
'</div>'))
,p_page_plug_template_name=>'Wizard Container'
,p_internal_name=>'WIZARD_CONTAINER'
,p_theme_id=>42
,p_theme_class_id=>8
,p_preset_template_options=>'t-Wizard--hideStepsXSmall'
,p_default_label_alignment=>'RIGHT'
,p_default_field_alignment=>'LEFT'
,p_reference_id=>2117602213152591491
,p_translate_this_template=>'N'
);
wwv_flow_api.create_plug_tmpl_display_point(
p_id=>wwv_flow_api.id(36155442247976405808)
,p_plug_template_id=>wwv_flow_api.id(36155442158061405808)
,p_name=>'Wizard Sub Regions'
,p_placeholder=>'SUB_REGIONS'
,p_has_grid_support=>true
,p_glv_new_row=>true
);
end;
/
prompt --application/shared_components/user_interface/templates/list
begin
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155450775774405815)
,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-BadgeList-item #A02#">',
' <span class="t-BadgeList-label">#TEXT#</span>',
' <span class="t-BadgeList-value"><a href="#LINK#" #A03#>#A01#</a></span>',
'</li>',
''))
,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-BadgeList-item #A02#">',
' <span class="t-BadgeList-label">#TEXT#</span>',
' <span class="t-BadgeList-value"><a href="#LINK#" #A03#>#A01#</a></span>',
'</li>',
''))
,p_list_template_name=>'Badge List'
,p_internal_name=>'BADGE_LIST'
,p_theme_id=>42
,p_theme_class_id=>3
,p_list_template_before_rows=>'<ul class="t-BadgeList t-BadgeList--circular #COMPONENT_CSS_CLASSES#">'
,p_list_template_after_rows=>'</ul>'
,p_a01_label=>'Value'
,p_a02_label=>'List item CSS Classes'
,p_a03_label=>'Link Attributes'
,p_reference_id=>2062482847268086664
,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
'A01: Large Number',
'A02: List Item Classes',
'A03: Link Attributes'))
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155452478471405817)
,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Cards-item #A04#">',
' <div class="t-Card">',
' <a href="#LINK#" class="t-Card-wrap" #A05#>',
' <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>',
' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3></div>',
' <div class="t-Card-body">',
' <div class="t-Card-desc">#A01#</div>',
' <div class="t-Card-info">#A02#</div>',
' </div>',
' <span class="t-Card-colorFill u-color #A06#"></span>',
' </a>',
' </div>',
'</li>'))
,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Cards-item #A04#">',
' <div class="t-Card">',
' <a href="#LINK#" class="t-Card-wrap" #A05#>',
' <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>',
' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3></div>',
' <div class="t-Card-body">',
' <div class="t-Card-desc">#A01#</div>',
' <div class="t-Card-info">#A02#</div>',
' </div>',
' <span class="t-Card-colorFill u-color #A06#"></span>',
' </a>',
' </div>',
'</li>'))
,p_list_template_name=>'Cards'
,p_internal_name=>'CARDS'
,p_theme_id=>42
,p_theme_class_id=>4
,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'
,p_list_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#">'
,p_list_template_after_rows=>'</ul>'
,p_a01_label=>'Description'
,p_a02_label=>'Secondary Information'
,p_a03_label=>'Initials'
,p_a04_label=>'List Item CSS Classes'
,p_a05_label=>'Link Attributes'
,p_a06_label=>'Card Color Class'
,p_reference_id=>2885322685880632508
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155454893087405819)
,p_list_template_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b'
||'adge">#A01#</span></a></li>'
,p_list_template_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#'
||'</span></a></li>'
,p_list_template_name=>'Links List'
,p_internal_name=>'LINKS_LIST'
,p_theme_id=>42
,p_theme_class_id=>18
,p_list_template_before_rows=>'<ul class="t-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
,p_list_template_after_rows=>'</ul>'
,p_before_sub_list=>'<ul class="t-LinksList-list">'
,p_after_sub_list=>'</ul>'
,p_sub_list_item_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b'
||'adge">#A01#</span></a></li>'
,p_sub_list_item_noncurrent=>'<li class="t-LinksList-item#A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#<'
||'/span></a></li>'
,p_item_templ_curr_w_child=>'<li class="t-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t'
||'-LinksList-badge">#A01#</span></a>#SUB_LISTS#</li>'
,p_item_templ_noncurr_w_child=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#'
||'</span></a></li>'
,p_a01_label=>'Badge Value'
,p_a02_label=>'Link Attributes'
,p_a03_label=>'List Item CSS Classes'
,p_reference_id=>4070914341144059318
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155455640232405819)
,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-MediaList-item is-active #A04#">',
' <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>',
' <div class="t-MediaList-iconWrap">',
' <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES# u-color #A06#" #IMAGE_ATTR#></span></span>',
' </div>',
' <div class="t-MediaList-body">',
' <h3 class="t-MediaList-title">#TEXT#</h3>',
' <p class="t-MediaList-desc">#A01#</p>',
' </div>',
' <div class="t-MediaList-badgeWrap">',
' <span class="t-MediaList-badge">#A02#</span>',
' </div>',
' </a>',
'</li>'))
,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-MediaList-item #A04#">',
' <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>',
' <div class="t-MediaList-iconWrap">',
' <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES# u-color #A06#" #IMAGE_ATTR#></span></span>',
' </div>',
' <div class="t-MediaList-body">',
' <h3 class="t-MediaList-title">#TEXT#</h3>',
' <p class="t-MediaList-desc">#A01#</p>',
' </div>',
' <div class="t-MediaList-badgeWrap">',
' <span class="t-MediaList-badge">#A02#</span>',
' </div>',
' </a>',
'</li>'))
,p_list_template_name=>'Media List'
,p_internal_name=>'MEDIA_LIST'
,p_theme_id=>42
,p_theme_class_id=>5
,p_default_template_options=>'t-MediaList--showIcons:t-MediaList--showDesc'
,p_list_template_before_rows=>'<ul class="t-MediaList #COMPONENT_CSS_CLASSES#">'
,p_list_template_after_rows=>'</ul>'
,p_a01_label=>'Description'
,p_a02_label=>'Badge Value'
,p_a03_label=>'Link Attributes'
,p_a04_label=>'List Item CSS Classes'
,p_a05_label=>'Link Class'
,p_a06_label=>'Icon Color Class'
,p_reference_id=>2066548068783481421
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155456844316405820)
,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_name=>'Menu Bar'
,p_internal_name=>'MENU_BAR'
,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);',
'if (e.hasClass("js-addActions")) {',
' apex.actions.addFromMarkup( e );',
'}',
'e.menu({',
' behaveLikeTabs: e.hasClass("js-tabLike"),',
' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,',
' iconType: ''fa'',',
' slide: e.hasClass("js-slide"),',
' menubar: true,',
' menubarOverflow: true',
'});'))
,p_theme_id=>42
,p_theme_class_id=>20
,p_default_template_options=>'js-showSubMenuIcons'
,p_list_template_before_rows=>'<div class="t-MenuBar #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_menubar"><ul style="display:none">'
,p_list_template_after_rows=>'</ul></div>'
,p_before_sub_list=>'<ul>'
,p_after_sub_list=>'</ul></li>'
,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_reference_id=>2008709236185638887
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155457386119405820)
,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>',
''))
,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>',
''))
,p_list_template_name=>'Menu Popup'
,p_internal_name=>'MENU_POPUP'
,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
'var e = apex.jQuery("##PARENT_STATIC_ID#_menu", apex.gPageContext$);',
'if (e.hasClass("js-addActions")) {',
' apex.actions.addFromMarkup( e );',
'}',
'e.menu({ slide: e.hasClass("js-slide")});'))
,p_theme_id=>42
,p_theme_class_id=>20
,p_list_template_before_rows=>'<div id="#PARENT_STATIC_ID#_menu" class="#COMPONENT_CSS_CLASSES#" style="display:none;"><ul>'
,p_list_template_after_rows=>'</ul></div>'
,p_before_sub_list=>'<ul>'
,p_after_sub_list=>'</ul></li>'
,p_sub_list_item_current=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_item_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_a01_label=>'Data ID'
,p_a02_label=>'Disabled (True/False)'
,p_a03_label=>'Hidden (True/False)'
,p_a04_label=>'Title Attribute'
,p_a05_label=>'Shortcut'
,p_reference_id=>3492264004432431646
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155457489114405820)
,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item is-active #A02#">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" role="button">',
' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>',
' </a>',
'</li>'))
,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item #A02#">',
' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" role="button">',
' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>',
' </a>',
'</li>'))
,p_list_template_name=>'Navigation Bar'
,p_internal_name=>'NAVIGATION_BAR'
,p_theme_id=>42
,p_theme_class_id=>20
,p_list_template_before_rows=>'<ul class="t-NavigationBar #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
,p_list_template_after_rows=>'</ul>'
,p_before_sub_list=>'<div class="t-NavigationBar-menu" style="display: none" id="menu_#PARENT_LIST_ITEM_ID#"><ul>'
,p_after_sub_list=>'</ul></div></li>'
,p_sub_list_item_current=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>'
,p_sub_list_item_noncurrent=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>'
,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item is-active #A02#">',
' <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#">',
' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>',
' </button>'))
,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-NavigationBar-item #A02#">',
' <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#">',
' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>',
' </button>'))
,p_sub_templ_curr_w_child=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>'
,p_sub_templ_noncurr_w_child=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>'
,p_a01_label=>'Badge Value'
,p_a02_label=>'List Item CSS Classes'
,p_reference_id=>2846096252961119197
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155457574333405821)
,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_name=>'Side Navigation Menu'
,p_internal_name=>'SIDE_NAVIGATION_MENU'
,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.treeView#MIN#.js?v=#APEX_VERSION#'
,p_javascript_code_onload=>'apex.jQuery(''body'').addClass(''t-PageBody--leftNav'');'
,p_theme_id=>42
,p_theme_class_id=>19
,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Body-nav" id="t_Body_nav" role="navigation" aria-label="&APP_TITLE!ATTR.">',
'<div class="t-TreeNav #COMPONENT_CSS_CLASSES#" id="t_TreeNav" data-id="#PARENT_STATIC_ID#_tree" aria-label="&APP_TITLE!ATTR."><ul style="display:none">'))
,p_list_template_after_rows=>'</ul></div></div>'
,p_before_sub_list=>'<ul>'
,p_after_sub_list=>'</ul></li>'
,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_a01_label=>'ID Attribute'
,p_a02_label=>'Disabled True/False'
,p_a04_label=>'Title'
,p_reference_id=>2466292414354694776
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155457609642405821)
,p_list_template_current=>'<li class="t-Tabs-item is-active"><a href="#LINK#" class="t-Tabs-link"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>'
,p_list_template_noncurrent=>'<li class="t-Tabs-item"><a href="#LINK#" class="t-Tabs-link"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>'
,p_list_template_name=>'Tabs'
,p_internal_name=>'TABS'
,p_theme_id=>42
,p_theme_class_id=>7
,p_preset_template_options=>'t-Tabs--simple'
,p_list_template_before_rows=>'<ul class="t-Tabs #COMPONENT_CSS_CLASSES#">'
,p_list_template_after_rows=>'</ul>'
,p_reference_id=>3288206686691809997
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155458489022405822)
,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_list_template_name=>'Top Navigation Menu'
,p_internal_name=>'TOP_NAVIGATION_MENU'
,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);',
'if (e.hasClass("js-addActions")) {',
' if ( apex.actions ) {',
' apex.actions.addFromMarkup( e );',
' } else {',
' apex.debug.warn("Include actions.js to support menu shortcuts");',
' }',
'}',
'e.menu({',
' behaveLikeTabs: e.hasClass("js-tabLike"),',
' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,',
' slide: e.hasClass("js-slide"),',
' menubar: true,',
' menubarOverflow: true',
'});'))
,p_theme_id=>42
,p_theme_class_id=>20
,p_default_template_options=>'js-tabLike'
,p_list_template_before_rows=>'<div class="t-Header-nav-list #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_menubar"><ul style="display:none">'
,p_list_template_after_rows=>'</ul></div>'
,p_before_sub_list=>'<ul>'
,p_after_sub_list=>'</ul></li>'
,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
,p_a01_label=>'ID Attribute'
,p_a02_label=>'Disabled True / False'
,p_a03_label=>'Hide'
,p_a04_label=>'Title Attribute'
,p_a05_label=>'Shortcut Key'
,p_reference_id=>2525307901300239072
);
wwv_flow_api.create_list_template(
p_id=>wwv_flow_api.id(36155458914016405822)
,p_list_template_current=>'<li class="t-WizardSteps-step is-active" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap"><span class="t-WizardSteps-marker"></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"></span></span></div></li>'
,p_list_template_noncurrent=>'<li class="t-WizardSteps-step" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap"><span class="t-WizardSteps-marker"><span class="t-Icon a-Icon icon-check"></span></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"'
||'></span></span></div></li>'
,p_list_template_name=>'Wizard Progress'
,p_internal_name=>'WIZARD_PROGRESS'
,p_javascript_code_onload=>'apex.theme.initWizardProgressBar();'
,p_theme_id=>42
,p_theme_class_id=>17
,p_preset_template_options=>'t-WizardSteps--displayLabels'
,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<h2 class="u-VisuallyHidden">#CURRENT_PROGRESS#</h2>',
'<ul class="t-WizardSteps #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'))
,p_list_template_after_rows=>'</ul>'
,p_reference_id=>2008702338707394488
);
end;
/
prompt --application/shared_components/user_interface/templates/report
begin
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155442783113405809)
,p_row_template_name=>'Alerts'
,p_internal_name=>'ALERTS'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Alert t-Alert--horizontal t-Alert--colorBG t-Alert--defaultIcons t-Alert--#ALERT_TYPE#" role="alert">',
' <div class="t-Alert-wrap">',
' <div class="t-Alert-icon">',
' <span class="t-Icon"></span>',
' </div>',
' <div class="t-Alert-content">',
' <div class="t-Alert-header">',
' <h2 class="t-Alert-title">#ALERT_TITLE#</h2>',
' </div>',
' <div class="t-Alert-body">',
' #ALERT_DESC#',
' </div>',
' </div>',
' <div class="t-Alert-buttons">',
' #ALERT_ACTION#',
' </div>',
' </div>',
'</div>'))
,p_row_template_before_rows=>'<div class="t-Alerts">'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</div>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>14
,p_reference_id=>2881456138952347027
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155442842602405810)
,p_row_template_name=>'Badge List'
,p_internal_name=>'BADGE_LIST'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-BadgeList-item">',
' <span class="t-BadgeList-label">#COLUMN_HEADER#</span>',
' <span class="t-BadgeList-value">#COLUMN_VALUE#</span>',
'</li>'))
,p_row_template_before_rows=>'<ul class="t-BadgeList t-BadgeList--circular #COMPONENT_CSS_CLASSES#">'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</ul>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'GENERIC_COLUMNS'
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>6
,p_default_template_options=>'t-BadgeList--responsive'
,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed'
,p_reference_id=>2103197159775914759
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155444531125405811)
,p_row_template_name=>'Cards'
,p_internal_name=>'CARDS'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Cards-item #CARD_MODIFIERS#">',
' <div class="t-Card">',
' <a href="#CARD_LINK#" class="t-Card-wrap">',
' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>',
' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>',
' <div class="t-Card-body">',
' <div class="t-Card-desc">#CARD_TEXT#</div>',
' <div class="t-Card-info">#CARD_SUBTEXT#</div>',
' </div>',
' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>',
' </a>',
' </div>',
'</li>'))
,p_row_template_condition1=>':CARD_LINK is not null'
,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Cards-item #CARD_MODIFIERS#">',
' <div class="t-Card">',
' <div class="t-Card-wrap">',
' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>',
' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>',
' <div class="t-Card-body">',
' <div class="t-Card-desc">#CARD_TEXT#</div>',
' <div class="t-Card-info">#CARD_SUBTEXT#</div>',
' </div>',
' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>',
' </div>',
' </div>',
'</li>'))
,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards">'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</ul>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'NOT_CONDITIONAL'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'NOT_CONDITIONAL'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>7
,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'
,p_reference_id=>2973535649510699732
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155446871376405813)
,p_row_template_name=>'Comments'
,p_internal_name=>'COMMENTS'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Comments-item #COMMENT_MODIFIERS#">',
' <div class="t-Comments-icon a-MediaBlock-graphic">',
' <div class="t-Comments-userIcon #ICON_MODIFIER#" aria-hidden="true">#USER_ICON#</div>',
' </div>',
' <div class="t-Comments-body a-MediaBlock-content">',
' <div class="t-Comments-info">',
' #USER_NAME# · <span class="t-Comments-date">#COMMENT_DATE#</span> <span class="t-Comments-actions">#ACTIONS#</span>',
' </div>',
' <div class="t-Comments-comment">',
' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#',
' </div>',
' </div>',
'</li>'))
,p_row_template_before_rows=>'<ul class="t-Comments #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report">'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</ul>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'NOT_CONDITIONAL'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>',
''))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>7
,p_preset_template_options=>'t-Comments--chat'
,p_reference_id=>2611722012730764232
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155447248452405813)
,p_row_template_name=>'Search Results'
,p_internal_name=>'SEARCH_RESULTS'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-SearchResults-item">',
' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
' <div class="t-SearchResults-info">',
' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
' </div>',
' </li>'))
,p_row_template_condition1=>':LABEL_02 is null'
,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-SearchResults-item">',
' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
' <div class="t-SearchResults-info">',
' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
' </div>',
' </li>'))
,p_row_template_condition2=>':LABEL_03 is null'
,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-SearchResults-item">',
' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
' <div class="t-SearchResults-info">',
' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>',
' </div>',
' </li>'))
,p_row_template_condition3=>':LABEL_04 is null'
,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-SearchResults-item">',
' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
' <div class="t-SearchResults-info">',
' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>',
' <span class="t-SearchResults-misc">#LABEL_04#: #VALUE_04#</span>',
' </div>',
' </li>'))
,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-SearchResults #COMPONENT_CSS_CLASSES#">',
'<ul class="t-SearchResults-list">'))
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</ul>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>',
'</div>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'NOT_CONDITIONAL'
,p_row_template_display_cond2=>'NOT_CONDITIONAL'
,p_row_template_display_cond3=>'NOT_CONDITIONAL'
,p_row_template_display_cond4=>'NOT_CONDITIONAL'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>1
,p_reference_id=>4070913431524059316
,p_translate_this_template=>'N'
,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155447302916405813)
,p_row_template_name=>'Standard'
,p_internal_name=>'STANDARD'
,p_row_template1=>'<td class="t-Report-cell" #ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>'
,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Report #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES#>',
' <div class="t-Report-wrap">',
' <table class="t-Report-pagination" role="presentation">#TOP_PAGINATION#</table>',
' <div class="t-Report-tableWrap">',
' <table class="t-Report-report" summary="#REGION_TITLE#">'))
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
' </tbody>',
' </table>',
' </div>',
' <div class="t-Report-links">#EXTERNAL_LINK##CSV_LINK#</div>',
' <table class="t-Report-pagination t-Report-pagination--bottom" role="presentation">#PAGINATION#</table>',
' </div>',
'</div>'))
,p_row_template_type=>'GENERIC_COLUMNS'
,p_before_column_heading=>'<thead>'
,p_column_heading_template=>'<th class="t-Report-colHead" #ALIGNMENT# id="#COLUMN_HEADER_NAME#" #COLUMN_WIDTH#>#COLUMN_HEADER#</th>'
,p_after_column_heading=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</thead>',
'<tbody>'))
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>4
,p_preset_template_options=>'t-Report--altRowsDefault:t-Report--rowHighlight'
,p_reference_id=>2537207537838287671
,p_translate_this_template=>'N'
);
begin
wwv_flow_api.create_row_template_patch(
p_id=>wwv_flow_api.id(36155447302916405813)
,p_row_template_before_first=>'<tr>'
,p_row_template_after_last=>'</tr>'
);
exception when others then null;
end;
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155448651056405814)
,p_row_template_name=>'Timeline'
,p_internal_name=>'TIMELINE'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>',
' <div class="t-Timeline-wrap">',
' <div class="t-Timeline-user">',
' <div class="t-Timeline-avatar #USER_COLOR#">',
' #USER_AVATAR#',
' </div>',
' <div class="t-Timeline-userinfo">',
' <span class="t-Timeline-username">#USER_NAME#</span>',
' <span class="t-Timeline-date">#EVENT_DATE#</span>',
' </div>',
' </div>',
' <div class="t-Timeline-content">',
' <div class="t-Timeline-typeWrap">',
' <div class="t-Timeline-type #EVENT_STATUS#">',
' <span class="t-Icon #EVENT_ICON#"></span>',
' <span class="t-Timeline-typename">#EVENT_TYPE#</span>',
' </div>',
' </div>',
' <div class="t-Timeline-body">',
' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>',
' <p class="t-Timeline-desc">#EVENT_DESC#</p>',
' </div>',
' </div>',
' </div>',
'</li>'))
,p_row_template_condition1=>':EVENT_LINK is null'
,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>',
' <a href="#EVENT_LINK#" class="t-Timeline-wrap">',
' <div class="t-Timeline-user">',
' <div class="t-Timeline-avatar #USER_COLOR#">',
' #USER_AVATAR#',
' </div>',
' <div class="t-Timeline-userinfo">',
' <span class="t-Timeline-username">#USER_NAME#</span>',
' <span class="t-Timeline-date">#EVENT_DATE#</span>',
' </div>',
' </div>',
' <div class="t-Timeline-content">',
' <div class="t-Timeline-typeWrap">',
' <div class="t-Timeline-type #EVENT_STATUS#">',
' <span class="t-Icon #EVENT_ICON#"></span>',
' <span class="t-Timeline-typename">#EVENT_TYPE#</span>',
' </div>',
' </div>',
' <div class="t-Timeline-body">',
' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>',
' <p class="t-Timeline-desc">#EVENT_DESC#</p>',
' </div>',
' </div>',
' </a>',
'</li>'))
,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<ul class="t-Timeline #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_timeline">',
''))
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</ul>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'NOT_CONDITIONAL'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'NOT_CONDITIONAL'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>7
,p_reference_id=>1513373588340069864
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155448894641405814)
,p_row_template_name=>'Value Attribute Pairs - Column'
,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_COLUMN'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<dt class="t-AVPList-label">',
' #COLUMN_HEADER#',
'</dt>',
'<dd class="t-AVPList-value">',
' #COLUMN_VALUE#',
'</dd>'))
,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES#>'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</dl>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'GENERIC_COLUMNS'
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>6
,p_preset_template_options=>'t-AVPList--leftAligned'
,p_reference_id=>2099068636272681754
,p_translate_this_template=>'N'
);
wwv_flow_api.create_row_template(
p_id=>wwv_flow_api.id(36155449846319405815)
,p_row_template_name=>'Value Attribute Pairs - Row'
,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_ROW'
,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<dt class="t-AVPList-label">',
' #1#',
'</dt>',
'<dd class="t-AVPList-value">',
' #2#',
'</dd>'))
,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">'
,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</dl>',
'<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
,p_row_template_type=>'NAMED_COLUMNS'
,p_row_template_display_cond1=>'0'
,p_row_template_display_cond2=>'0'
,p_row_template_display_cond3=>'0'
,p_row_template_display_cond4=>'0'
,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
'</a>'))
,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
'</a>'))
,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
'</a>'))
,p_theme_id=>42
,p_theme_class_id=>7
,p_preset_template_options=>'t-AVPList--leftAligned'
,p_reference_id=>2099068321678681753
,p_translate_this_template=>'N'
);
end;
/
prompt --application/shared_components/user_interface/templates/label
begin
wwv_flow_api.create_field_template(
p_id=>wwv_flow_api.id(36155459563099405822)
,p_template_name=>'Hidden'
,p_internal_name=>'HIDDEN'
,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Form-labelContainer t-Form-labelContainer--hiddenLabel col col-#LABEL_COLUMN_SPAN_NUMBER#">',
'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label u-VisuallyHidden">'))
,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</label>',
'</div>'))
,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--hiddenLabel rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
,p_after_item=>'</div>'
,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden'
||'="true"></span></button>'
,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
,p_theme_id=>42
,p_theme_class_id=>13
,p_reference_id=>2039339104148359505
,p_translate_this_template=>'N'
);
wwv_flow_api.create_field_template(
p_id=>wwv_flow_api.id(36155459682431405823)
,p_template_name=>'Optional'
,p_internal_name=>'OPTIONAL'
,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">',
'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</label>',
'</div>',
''))
,p_before_item=>'<div class="t-Form-fieldContainer rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
,p_after_item=>'</div>'
,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden'
||'="true"></span></button>'
,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
,p_theme_id=>42
,p_theme_class_id=>3
,p_reference_id=>2317154212072806530
,p_translate_this_template=>'N'
);
wwv_flow_api.create_field_template(
p_id=>wwv_flow_api.id(36155459715328405823)
,p_template_name=>'Optional - Above'
,p_internal_name=>'OPTIONAL_ABOVE'
,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Form-labelContainer">',
'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</label>#HELP_TEMPLATE#',
'</div>'))
,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
,p_after_item=>'</div>'
,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
,p_after_element=>'#ITEM_POST_TEXT#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden'
||'="true"></span></button>'
,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
,p_theme_id=>42
,p_theme_class_id=>3
,p_reference_id=>3030114864004968404
,p_translate_this_template=>'N'
);
wwv_flow_api.create_field_template(
p_id=>wwv_flow_api.id(36155459890824405823)
,p_template_name=>'Required'
,p_internal_name=>'REQUIRED'
,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">',
' <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label>',
'</div>'))
,p_before_item=>'<div class="t-Form-fieldContainer is-required rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
,p_after_item=>'</div>'
,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden'
||'="true"></span></button>'
,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
,p_theme_id=>42
,p_theme_class_id=>4
,p_reference_id=>2525313812251712801
,p_translate_this_template=>'N'
);
wwv_flow_api.create_field_template(
p_id=>wwv_flow_api.id(36155459962515405823)
,p_template_name=>'Required - Above'
,p_internal_name=>'REQUIRED_ABOVE'
,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-Form-labelContainer">',
' <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label><span class="t-Form-required"><span class="a-Icon icon-asterisk"></span></span> #HELP_TEMPLATE#',
'</div>'))
,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
,p_after_item=>'</div>'
,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
,p_after_element=>'#ITEM_POST_TEXT#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden'
||'="true"></span></button>'
,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
,p_theme_id=>42
,p_theme_class_id=>4
,p_reference_id=>3030115129444970113
,p_translate_this_template=>'N'
);
end;
/
prompt --application/shared_components/user_interface/templates/breadcrumb
begin
wwv_flow_api.create_menu_template(
p_id=>wwv_flow_api.id(36155460686898405825)
,p_name=>'Breadcrumb'
,p_internal_name=>'BREADCRUMB'
,p_before_first=>'<ul class="t-Breadcrumb #COMPONENT_CSS_CLASSES#">'
,p_current_page_option=>'<li class="t-Breadcrumb-item is-active"><h1 class="t-Breadcrumb-label">#NAME#</h1></li>'
,p_non_current_page_option=>'<li class="t-Breadcrumb-item"><a href="#LINK#" class="t-Breadcrumb-label">#NAME#</a></li>'
,p_after_last=>'</ul>'
,p_max_levels=>6
,p_start_with_node=>'PARENT_TO_LEAF'
,p_theme_id=>42
,p_theme_class_id=>1
,p_reference_id=>4070916542570059325
,p_translate_this_template=>'N'
);
end;
/
prompt --application/shared_components/user_interface/templates/popuplov
begin
wwv_flow_api.create_popup_lov_template(
p_id=>wwv_flow_api.id(36155460801805405834)
,p_page_name=>'winlov'
,p_page_title=>'Search Dialog'
,p_page_html_head=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<!DOCTYPE html>',
'<html lang="&BROWSER_LANGUAGE.">',
'<head>',
'<title>#TITLE#</title>',
'#APEX_CSS#',
'#THEME_CSS#',
'#THEME_STYLE_CSS#',
'#FAVICONS#',
'#APEX_JAVASCRIPT#',
'#THEME_JAVASCRIPT#',
'<meta name="viewport" content="width=device-width,initial-scale=1.0" />',
'</head>'))
,p_page_body_attr=>'onload="first_field()" class="t-Page t-Page--popupLOV"'
,p_before_field_text=>'<div class="t-PopupLOV-actions t-Form--large">'
,p_filter_width=>'20'
,p_filter_max_width=>'100'
,p_filter_text_attr=>'class="t-Form-field t-Form-searchField"'
,p_find_button_text=>'Search'
,p_find_button_attr=>'class="t-Button t-Button--hot t-Button--padLeft"'
,p_close_button_text=>'Close'
,p_close_button_attr=>'class="t-Button u-pullRight"'
,p_next_button_text=>'Next >'
,p_next_button_attr=>'class="t-Button t-PopupLOV-button"'
,p_prev_button_text=>'< Previous'
,p_prev_button_attr=>'class="t-Button t-PopupLOV-button"'
,p_after_field_text=>'</div>'
,p_scrollbars=>'1'
,p_resizable=>'1'
,p_width=>'380'
,p_height=>'380'
,p_result_row_x_of_y=>'<div class="t-PopupLOV-pagination">Row(s) #FIRST_ROW# - #LAST_ROW#</div>'
,p_result_rows_per_pg=>100
,p_before_result_set=>'<div class="t-PopupLOV-links">'
,p_theme_id=>42
,p_theme_class_id=>1
,p_reference_id=>2885398517835871876
,p_translate_this_template=>'N'
,p_after_result_set=>'</div>'
);
end;
/
prompt --application/shared_components/user_interface/templates/calendar
begin
wwv_flow_api.create_calendar_template(
p_id=>wwv_flow_api.id(36155460780758405826)
,p_cal_template_name=>'Calendar'
,p_internal_name=>'CALENDAR'
,p_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">',
' <span class="visible-md visible-lg">#IDAY#</span>',
' <span class="hidden-md hidden-lg">#IDY#</span>',
'</th>'))
,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar">',
'<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>'))
,p_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" summary="#IMONTH# #YYYY#">'
,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</table>',
'</div>',
''))
,p_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
,p_day_close_format=>'</td>'
,p_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
,p_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
,p_weekend_close_format=>'</td>'
,p_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">'
,p_nonday_close_format=>'</td>'
,p_week_open_format=>'<tr>'
,p_week_close_format=>'</tr> '
,p_daily_title_format=>'<table cellspacing="0" cellpadding="0" border="0" summary="" class="t1DayCalendarHolder"> <tr> <td class="t1MonthTitle">#IMONTH# #DD#, #YYYY#</td> </tr> <tr> <td>'
,p_daily_open_format=>'<tr>'
,p_daily_close_format=>'</tr>'
,p_weekly_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar t-ClassicCalendar--weekly">',
'<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>'))
,p_weekly_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">',
' <span class="visible-md visible-lg">#DD# #IDAY#</span>',
' <span class="hidden-md hidden-lg">#DD# #IDY#</span>',
'</th>'))
,p_weekly_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">'
,p_weekly_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</table>',
'</div>'))
,p_weekly_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_weekly_day_close_format=>'</div></td>'
,p_weekly_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_weekly_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_weekly_weekend_close_format=>'</div></td>'
,p_weekly_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">'
,p_weekly_time_close_format=>'</th>'
,p_weekly_time_title_format=>'#TIME#'
,p_weekly_hour_open_format=>'<tr>'
,p_weekly_hour_close_format=>'</tr>'
,p_daily_day_of_week_format=>'<th scope="col" id="#DY#" class="t-ClassicCalendar-dayColumn">#IDAY#</th>'
,p_daily_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar t-ClassicCalendar--daily">',
'<h1 class="t-ClassicCalendar-title">#IMONTH# #DD#, #YYYY#</h1>'))
,p_daily_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL#" class="t-ClassicCalendar-calendar">'
,p_daily_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</table>',
'</div>'))
,p_daily_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_daily_day_close_format=>'</div></td>'
,p_daily_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_daily_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol" id="#TIME#">'
,p_daily_time_close_format=>'</th>'
,p_daily_time_title_format=>'#TIME#'
,p_daily_hour_open_format=>'<tr>'
,p_daily_hour_close_format=>'</tr>'
,p_cust_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar">',
'<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>'))
,p_cust_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">',
' <span class="visible-md visible-lg">#IDAY#</span>',
' <span class="hidden-md hidden-lg">#IDY#</span>',
'</th>'))
,p_cust_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" summary="#IMONTH# #YYYY#">'
,p_cust_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</table>',
'</div>'))
,p_cust_week_open_format=>'<tr>'
,p_cust_week_close_format=>'</tr> '
,p_cust_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_cust_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">'
,p_cust_day_close_format=>'</td>'
,p_cust_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">'
,p_cust_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_cust_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">'
,p_cust_nonday_close_format=>'</td>'
,p_cust_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
,p_cust_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">'
,p_cust_weekend_close_format=>'</td>'
,p_cust_hour_open_format=>'<tr>'
,p_cust_hour_close_format=>'</tr>'
,p_cust_time_title_format=>'#TIME#'
,p_cust_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">'
,p_cust_time_close_format=>'</th>'
,p_cust_wk_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar">',
'<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>'))
,p_cust_wk_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">',
' <span class="visible-md visible-lg">#DD# #IDAY#</span>',
' <span class="hidden-md hidden-lg">#DD# #IDY#</span>',
'</th>'))
,p_cust_wk_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">'
,p_cust_wk_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'</table>',
'</div>'))
,p_cust_wk_week_open_format=>'<tr>'
,p_cust_wk_week_close_format=>'</tr> '
,p_cust_wk_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_cust_wk_day_close_format=>'</div></td>'
,p_cust_wk_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
,p_cust_wk_weekend_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">'
,p_cust_wk_weekend_close_format=>'</td>'
,p_agenda_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<div class="t-ClassicCalendar t-ClassicCalendar--list">',
' <div class="t-ClassicCalendar-title">#IMONTH# #YYYY#</div>',
' <ul class="t-ClassicCalendar-list">',
' #DAYS#',
' </ul>',
'</div>'))
,p_agenda_past_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-ClassicCalendar-listTitle is-past">',
' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
' </li>'))
,p_agenda_today_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-ClassicCalendar-listTitle is-today">',
' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
' </li>'))
,p_agenda_future_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
' <li class="t-ClassicCalendar-listTitle is-future">',
' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
' </li>'))
,p_agenda_past_entry_format=>' <li class="t-ClassicCalendar-listEvent is-past">#DATA#</li>'
,p_agenda_today_entry_format=>' <li class="t-ClassicCalendar-listEvent is-today">#DATA#</li>'
,p_agenda_future_entry_format=>' <li class="t-ClassicCalendar-listEvent is-future">#DATA#</li>'
,p_month_data_format=>'#DAYS#'
,p_month_data_entry_format=>'<span class="t-ClassicCalendar-event">#DATA#</span>'
,p_theme_id=>42
,p_theme_class_id=>1
,p_reference_id=>4070916747979059326
);
end;
/
prompt --application/shared_components/user_interface/themes
begin
wwv_flow_api.create_theme(
p_id=>wwv_flow_api.id(36155461423114405838)
,p_theme_id=>42
,p_theme_name=>'Universal Theme'
,p_theme_internal_name=>'UNIVERSAL_THEME'
,p_ui_type_name=>'DESKTOP'
,p_navigation_type=>'L'
,p_nav_bar_type=>'LIST'
,p_reference_id=>4070917134413059350
,p_is_locked=>false
,p_default_page_template=>wwv_flow_api.id(36155424243368405795)
,p_default_dialog_template=>wwv_flow_api.id(36155422895452405794)
,p_error_template=>wwv_flow_api.id(36155310725612405792)
,p_printer_friendly_template=>wwv_flow_api.id(36155424243368405795)
,p_breadcrumb_display_point=>'REGION_POSITION_01'
,p_sidebar_display_point=>'REGION_POSITION_02'
,p_login_template=>wwv_flow_api.id(36155310725612405792)
,p_default_button_template=>wwv_flow_api.id(36155460127630405825)
,p_default_region_template=>wwv_flow_api.id(36155437343245405806)
,p_default_chart_template=>wwv_flow_api.id(36155437343245405806)
,p_default_form_template=>wwv_flow_api.id(36155437343245405806)
,p_default_reportr_template=>wwv_flow_api.id(36155437343245405806)
,p_default_tabform_template=>wwv_flow_api.id(36155437343245405806)
,p_default_wizard_template=>wwv_flow_api.id(36155437343245405806)
,p_default_menur_template=>wwv_flow_api.id(36155441783879405808)
,p_default_listr_template=>wwv_flow_api.id(36155437343245405806)
,p_default_irr_template=>wwv_flow_api.id(36155436866945405806)
,p_default_report_template=>wwv_flow_api.id(36155447302916405813)
,p_default_label_template=>wwv_flow_api.id(36155459682431405823)
,p_default_menu_template=>wwv_flow_api.id(36155460686898405825)
,p_default_calendar_template=>wwv_flow_api.id(36155460780758405826)
,p_default_list_template=>wwv_flow_api.id(36155454893087405819)
,p_default_nav_list_template=>wwv_flow_api.id(36155458489022405822)
,p_default_top_nav_list_temp=>wwv_flow_api.id(36155458489022405822)
,p_default_side_nav_list_temp=>wwv_flow_api.id(36155457574333405821)
,p_default_nav_list_position=>'SIDE'
,p_default_dialogbtnr_template=>wwv_flow_api.id(36155427726983405799)
,p_default_dialogr_template=>wwv_flow_api.id(36155427314034405799)
,p_default_option_label=>wwv_flow_api.id(36155459682431405823)
,p_default_required_label=>wwv_flow_api.id(36155459890824405823)
,p_default_page_transition=>'NONE'
,p_default_popup_transition=>'NONE'
,p_default_navbar_list_template=>wwv_flow_api.id(36155457489114405820)
,p_file_prefix => nvl(wwv_flow_application_install.get_static_theme_file_prefix(42),'#IMAGE_PREFIX#themes/theme_42/1.1/')
,p_files_version=>62
,p_icon_library=>'FONTAPEX'
,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#HAMMERJS_URL#',
'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#',
'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyWidget#MIN#.js?v=#APEX_VERSION#',
'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyTableHeader#MIN#.js?v=#APEX_VERSION#',
'#THEME_IMAGES#js/modernizr-custom#MIN#.js?v=#APEX_VERSION#',
'#THEME_IMAGES#js/theme42#MIN#.js?v=#APEX_VERSION#'))
,p_css_file_urls=>'#THEME_IMAGES#css/Core#MIN#.css?v=#APEX_VERSION#'
);
end;
/
prompt --application/shared_components/user_interface/theme_style
begin
wwv_flow_api.create_theme_style(
p_id=>wwv_flow_api.id(36155460928566405835)
,p_theme_id=>42
,p_name=>'Vista'
,p_css_file_urls=>'#THEME_IMAGES#css/Vista#MIN#.css?v=#APEX_VERSION#'
,p_is_current=>false
,p_is_public=>true
,p_is_accessible=>false
,p_theme_roller_read_only=>true
,p_reference_id=>4007676303523989775
);
wwv_flow_api.create_theme_style(
p_id=>wwv_flow_api.id(36155461056141405836)
,p_theme_id=>42
,p_name=>'Vita'
,p_is_current=>true
,p_is_public=>true
,p_is_accessible=>true
,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita.less'
,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita#MIN#.css?v=#APEX_VERSION#'
,p_theme_roller_read_only=>true
,p_reference_id=>2719875314571594493
);
wwv_flow_api.create_theme_style(
p_id=>wwv_flow_api.id(36155461114070405836)
,p_theme_id=>42
,p_name=>'Vita - Dark'
,p_is_current=>false
,p_is_public=>true
,p_is_accessible=>false
,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Dark.less'
,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Dark#MIN#.css?v=#APEX_VERSION#'
,p_theme_roller_read_only=>true
,p_reference_id=>3543348412015319650
);
wwv_flow_api.create_theme_style(
p_id=>wwv_flow_api.id(36155461225577405836)
,p_theme_id=>42
,p_name=>'Vita - Red'
,p_is_current=>false
,p_is_public=>true
,p_is_accessible=>false
,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Red.less'
,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Red#MIN#.css?v=#APEX_VERSION#'
,p_theme_roller_read_only=>true
,p_reference_id=>1938457712423918173
);
wwv_flow_api.create_theme_style(
p_id=>wwv_flow_api.id(36155461310836405836)
,p_theme_id=>42
,p_name=>'Vita - Slate'
,p_is_current=>false
,p_is_public=>true
,p_is_accessible=>false
,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Slate.less'
,p_theme_roller_config=>'{"customCSS":"","vars":{"@g_Accent-BG":"#505f6d","@g_Accent-OG":"#ececec","@g_Body-Title-BG":"#dee1e4","@l_Link-Base":"#337ac0","@g_Body-BG":"#f5f5f5"}}'
,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Slate#MIN#.css?v=#APEX_VERSION#'
,p_theme_roller_read_only=>true
,p_reference_id=>3291983347983194966
);
end;
/
prompt --application/shared_components/user_interface/theme_files
begin
null;
end;
/
prompt --application/shared_components/user_interface/theme_display_points
begin
null;
end;
/
prompt --application/shared_components/user_interface/template_opt_groups
begin
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155425813991405798)
,p_theme_id=>42
,p_name=>'ALERT_TYPE'
,p_display_name=>'Alert Type'
,p_display_sequence=>3
,p_template_types=>'REGION'
,p_help_text=>'Sets the type of alert which can be used to determine the icon, icon color, and the background color.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155426066570405798)
,p_theme_id=>42
,p_name=>'ALERT_TITLE'
,p_display_name=>'Alert Title'
,p_display_sequence=>40
,p_template_types=>'REGION'
,p_help_text=>'Determines how the title of the alert is displayed.'
,p_null_text=>'Visible - Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155426394375405798)
,p_theme_id=>42
,p_name=>'ALERT_ICONS'
,p_display_name=>'Alert Icons'
,p_display_sequence=>2
,p_template_types=>'REGION'
,p_help_text=>'Sets how icons are handled for the Alert Region.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155426573377405798)
,p_theme_id=>42
,p_name=>'ALERT_DISPLAY'
,p_display_name=>'Alert Display'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_help_text=>'Sets the layout of the Alert Region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155428053098405799)
,p_theme_id=>42
,p_name=>'STYLE'
,p_display_name=>'Style'
,p_display_sequence=>40
,p_template_types=>'REGION'
,p_help_text=>'Determines how the region is styled. Use the "Remove Borders" template option to remove the region''s borders and shadows.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155428249937405799)
,p_theme_id=>42
,p_name=>'BODY_PADDING'
,p_display_name=>'Body Padding'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_help_text=>'Sets the Region Body padding for the region.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155428965953405800)
,p_theme_id=>42
,p_name=>'TIMER'
,p_display_name=>'Timer'
,p_display_sequence=>2
,p_template_types=>'REGION'
,p_help_text=>'Sets the timer for when to automatically navigate to the next region within the Carousel Region.'
,p_null_text=>'No Timer'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155429384989405800)
,p_theme_id=>42
,p_name=>'BODY_HEIGHT'
,p_display_name=>'Body Height'
,p_display_sequence=>10
,p_template_types=>'REGION'
,p_help_text=>'Sets the Region Body height. You can also specify a custom height by modifying the Region''s CSS Classes and using the height helper classes "i-hXXX" where XXX is any increment of 10 from 100 to 800.'
,p_null_text=>'Auto - Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155429902453405801)
,p_theme_id=>42
,p_name=>'ACCENT'
,p_display_name=>'Accent'
,p_display_sequence=>30
,p_template_types=>'REGION'
,p_help_text=>'Set the Region''s accent. This accent corresponds to a Theme-Rollable color and sets the background of the Region''s Header.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155430517526405801)
,p_theme_id=>42
,p_name=>'HEADER'
,p_display_name=>'Header'
,p_display_sequence=>20
,p_template_types=>'REGION'
,p_help_text=>'Determines the display of the Region Header which also contains the Region Title.'
,p_null_text=>'Visible - Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155430771880405801)
,p_theme_id=>42
,p_name=>'BODY_OVERFLOW'
,p_display_name=>'Body Overflow'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_help_text=>'Determines the scroll behavior when the region contents are larger than their container.'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155431652814405802)
,p_theme_id=>42
,p_name=>'ANIMATION'
,p_display_name=>'Animation'
,p_display_sequence=>10
,p_template_types=>'REGION'
,p_help_text=>'Sets the animation when navigating within the Carousel Region.'
,p_null_text=>'Fade'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155433275157405804)
,p_theme_id=>42
,p_name=>'DEFAULT_STATE'
,p_display_name=>'Default State'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_help_text=>'Sets the default state of the region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155434437590405805)
,p_theme_id=>42
,p_name=>'REGION_TITLE'
,p_display_name=>'Region Title'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_help_text=>'Sets the source of the Title Bar region''s title.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155434807799405805)
,p_theme_id=>42
,p_name=>'BODY_STYLE'
,p_display_name=>'Body Style'
,p_display_sequence=>20
,p_template_types=>'REGION'
,p_help_text=>'Controls the display of the region''s body container.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155435300115405805)
,p_theme_id=>42
,p_name=>'DISPLAY_ICON'
,p_display_name=>'Display Icon'
,p_display_sequence=>50
,p_template_types=>'REGION'
,p_help_text=>'Display the Hero Region icon.'
,p_null_text=>'Yes (Default)'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155436298913405806)
,p_theme_id=>42
,p_name=>'DIALOG_SIZE'
,p_display_name=>'Dialog Size'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155440874266405808)
,p_theme_id=>42
,p_name=>'LAYOUT'
,p_display_name=>'Layout'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155441032050405808)
,p_theme_id=>42
,p_name=>'TAB_STYLE'
,p_display_name=>'Tab Style'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155441403690405808)
,p_theme_id=>42
,p_name=>'TABS_SIZE'
,p_display_name=>'Tabs Size'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155442394661405808)
,p_theme_id=>42
,p_name=>'HIDE_STEPS_FOR'
,p_display_name=>'Hide Steps For'
,p_display_sequence=>1
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155442971434405810)
,p_theme_id=>42
,p_name=>'BADGE_SIZE'
,p_display_name=>'Badge Size'
,p_display_sequence=>10
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155443171889405810)
,p_theme_id=>42
,p_name=>'LAYOUT'
,p_display_name=>'Layout'
,p_display_sequence=>30
,p_template_types=>'REPORT'
,p_help_text=>'Determines the layout of Cards in the report.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155444724770405812)
,p_theme_id=>42
,p_name=>'BODY_TEXT'
,p_display_name=>'Body Text'
,p_display_sequence=>40
,p_template_types=>'REPORT'
,p_help_text=>'Determines the height of the card body.'
,p_null_text=>'Auto'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155445442036405812)
,p_theme_id=>42
,p_name=>'STYLE'
,p_display_name=>'Style'
,p_display_sequence=>10
,p_template_types=>'REPORT'
,p_help_text=>'Determines the overall style for the component.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155445667001405812)
,p_theme_id=>42
,p_name=>'ANIMATION'
,p_display_name=>'Animation'
,p_display_sequence=>70
,p_template_types=>'REPORT'
,p_help_text=>'Sets the hover and focus animation.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155446023492405812)
,p_theme_id=>42
,p_name=>'ICONS'
,p_display_name=>'Icons'
,p_display_sequence=>20
,p_template_types=>'REPORT'
,p_help_text=>'Controls how to handle icons in the report.'
,p_null_text=>'No Icons'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155446927690405813)
,p_theme_id=>42
,p_name=>'COMMENTS_STYLE'
,p_display_name=>'Comments Style'
,p_display_sequence=>10
,p_template_types=>'REPORT'
,p_help_text=>'Determines the style in which comments are displayed.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155447435483405814)
,p_theme_id=>42
,p_name=>'ALTERNATING_ROWS'
,p_display_name=>'Alternating Rows'
,p_display_sequence=>10
,p_template_types=>'REPORT'
,p_help_text=>'Shades alternate rows in the report with slightly different background colors.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155447744060405814)
,p_theme_id=>42
,p_name=>'ROW_HIGHLIGHTING'
,p_display_name=>'Row Highlighting'
,p_display_sequence=>20
,p_template_types=>'REPORT'
,p_help_text=>'Determines whether you want the row to be highlighted on hover.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155447947488405814)
,p_theme_id=>42
,p_name=>'REPORT_BORDER'
,p_display_name=>'Report Border'
,p_display_sequence=>30
,p_template_types=>'REPORT'
,p_help_text=>'Controls the display of the Report''s borders.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155448917199405815)
,p_theme_id=>42
,p_name=>'LABEL_WIDTH'
,p_display_name=>'Label Width'
,p_display_sequence=>10
,p_template_types=>'REPORT'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155450804634405816)
,p_theme_id=>42
,p_name=>'LAYOUT'
,p_display_name=>'Layout'
,p_display_sequence=>30
,p_template_types=>'LIST'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155451663844405817)
,p_theme_id=>42
,p_name=>'BADGE_SIZE'
,p_display_name=>'Badge Size'
,p_display_sequence=>70
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155452669375405817)
,p_theme_id=>42
,p_name=>'BODY_TEXT'
,p_display_name=>'Body Text'
,p_display_sequence=>40
,p_template_types=>'LIST'
,p_help_text=>'Determines the height of the card body.'
,p_null_text=>'Auto'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155453362858405818)
,p_theme_id=>42
,p_name=>'STYLE'
,p_display_name=>'Style'
,p_display_sequence=>10
,p_template_types=>'LIST'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155453683222405818)
,p_theme_id=>42
,p_name=>'ANIMATION'
,p_display_name=>'Animation'
,p_display_sequence=>80
,p_template_types=>'LIST'
,p_help_text=>'Sets the hover and focus animation.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155453986189405818)
,p_theme_id=>42
,p_name=>'ICONS'
,p_display_name=>'Icons'
,p_display_sequence=>20
,p_template_types=>'LIST'
,p_null_text=>'No Icons'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155455347064405819)
,p_theme_id=>42
,p_name=>'DISPLAY_ICONS'
,p_display_name=>'Display Icons'
,p_display_sequence=>30
,p_template_types=>'LIST'
,p_null_text=>'No Icons'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155456225090405819)
,p_theme_id=>42
,p_name=>'SIZE'
,p_display_name=>'Size'
,p_display_sequence=>1
,p_template_types=>'LIST'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155459097514405822)
,p_theme_id=>42
,p_name=>'LABEL_DISPLAY'
,p_display_name=>'Label Display'
,p_display_sequence=>50
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155460344822405825)
,p_theme_id=>42
,p_name=>'ICON_POSITION'
,p_display_name=>'Icon Position'
,p_display_sequence=>50
,p_template_types=>'BUTTON'
,p_help_text=>'Sets the position of the icon relative to the label.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155461598172405839)
,p_theme_id=>42
,p_name=>'BOTTOM_MARGIN'
,p_display_name=>'Bottom Margin'
,p_display_sequence=>220
,p_template_types=>'FIELD'
,p_help_text=>'Set the bottom margin for this field.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155461794944405839)
,p_theme_id=>42
,p_name=>'REGION_BOTTOM_MARGIN'
,p_display_name=>'Bottom Margin'
,p_display_sequence=>210
,p_template_types=>'REGION'
,p_help_text=>'Set the bottom margin for this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155462524611405839)
,p_theme_id=>42
,p_name=>'LEFT_MARGIN'
,p_display_name=>'Left Margin'
,p_display_sequence=>220
,p_template_types=>'FIELD'
,p_help_text=>'Set the left margin for this field.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155462797151405839)
,p_theme_id=>42
,p_name=>'REGION_LEFT_MARGIN'
,p_display_name=>'Left Margin'
,p_display_sequence=>220
,p_template_types=>'REGION'
,p_help_text=>'Set the left margin for this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155463528825405840)
,p_theme_id=>42
,p_name=>'RIGHT_MARGIN'
,p_display_name=>'Right Margin'
,p_display_sequence=>230
,p_template_types=>'FIELD'
,p_help_text=>'Set the right margin for this field.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155463707824405840)
,p_theme_id=>42
,p_name=>'REGION_RIGHT_MARGIN'
,p_display_name=>'Right Margin'
,p_display_sequence=>230
,p_template_types=>'REGION'
,p_help_text=>'Set the right margin for this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155464565891405840)
,p_theme_id=>42
,p_name=>'TOP_MARGIN'
,p_display_name=>'Top Margin'
,p_display_sequence=>200
,p_template_types=>'FIELD'
,p_help_text=>'Set the top margin for this field.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155464785300405840)
,p_theme_id=>42
,p_name=>'REGION_TOP_MARGIN'
,p_display_name=>'Top Margin'
,p_display_sequence=>200
,p_template_types=>'REGION'
,p_help_text=>'Set the top margin for this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155465577619405841)
,p_theme_id=>42
,p_name=>'TYPE'
,p_display_name=>'Type'
,p_display_sequence=>20
,p_template_types=>'BUTTON'
,p_null_text=>'Normal'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155465739744405841)
,p_theme_id=>42
,p_name=>'SPACING_BOTTOM'
,p_display_name=>'Spacing Bottom'
,p_display_sequence=>100
,p_template_types=>'BUTTON'
,p_help_text=>'Controls the spacing to the bottom of the button.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155465907944405841)
,p_theme_id=>42
,p_name=>'SPACING_LEFT'
,p_display_name=>'Spacing Left'
,p_display_sequence=>70
,p_template_types=>'BUTTON'
,p_help_text=>'Controls the spacing to the left of the button.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155466146093405841)
,p_theme_id=>42
,p_name=>'SPACING_RIGHT'
,p_display_name=>'Spacing Right'
,p_display_sequence=>80
,p_template_types=>'BUTTON'
,p_help_text=>'Controls the spacing to the right of the button.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155466312342405841)
,p_theme_id=>42
,p_name=>'SPACING_TOP'
,p_display_name=>'Spacing Top'
,p_display_sequence=>90
,p_template_types=>'BUTTON'
,p_help_text=>'Controls the spacing to the top of the button.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155466538979405841)
,p_theme_id=>42
,p_name=>'SIZE'
,p_display_name=>'Size'
,p_display_sequence=>10
,p_template_types=>'BUTTON'
,p_help_text=>'Sets the size of the button.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155466704979405841)
,p_theme_id=>42
,p_name=>'STYLE'
,p_display_name=>'Style'
,p_display_sequence=>30
,p_template_types=>'BUTTON'
,p_help_text=>'Sets the style of the button. Use the "Simple" option for secondary actions or sets of buttons. Use the "Remove UI Decoration" option to make the button appear as text.'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155467403604405842)
,p_theme_id=>42
,p_name=>'BUTTON_SET'
,p_display_name=>'Button Set'
,p_display_sequence=>40
,p_template_types=>'BUTTON'
,p_help_text=>'Enables you to group many buttons together into a pill. You can use this option to specify where the button is within this set. Set the option to Default if this button is not part of a button set.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155468197973405842)
,p_theme_id=>42
,p_name=>'WIDTH'
,p_display_name=>'Width'
,p_display_sequence=>60
,p_template_types=>'BUTTON'
,p_help_text=>'Sets the width of the button.'
,p_null_text=>'Auto - Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155468687857405842)
,p_theme_id=>42
,p_name=>'LABEL_POSITION'
,p_display_name=>'Label Position'
,p_display_sequence=>140
,p_template_types=>'REGION'
,p_help_text=>'Sets the position of the label relative to the form item.'
,p_null_text=>'Inline - Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155468876769405842)
,p_theme_id=>42
,p_name=>'ITEM_SIZE'
,p_display_name=>'Item Size'
,p_display_sequence=>110
,p_template_types=>'REGION'
,p_help_text=>'Sets the size of the form items within this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155469065016405842)
,p_theme_id=>42
,p_name=>'LABEL_ALIGNMENT'
,p_display_name=>'Label Alignment'
,p_display_sequence=>130
,p_template_types=>'REGION'
,p_help_text=>'Set the label text alignment for items within this region.'
,p_null_text=>'Right'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155469212488405842)
,p_theme_id=>42
,p_name=>'ITEM_PADDING'
,p_display_name=>'Item Padding'
,p_display_sequence=>100
,p_template_types=>'REGION'
,p_help_text=>'Sets the padding around items within this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155469512965405842)
,p_theme_id=>42
,p_name=>'ITEM_WIDTH'
,p_display_name=>'Item Width'
,p_display_sequence=>120
,p_template_types=>'REGION'
,p_help_text=>'Sets the width of the form items within this region.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155469819977405843)
,p_theme_id=>42
,p_name=>'SIZE'
,p_display_name=>'Size'
,p_display_sequence=>10
,p_template_types=>'FIELD'
,p_null_text=>'Default'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155470081897405843)
,p_theme_id=>42
,p_name=>'ITEM_POST_TEXT'
,p_display_name=>'Item Post Text'
,p_display_sequence=>30
,p_template_types=>'FIELD'
,p_help_text=>'Adjust the display of the Item Post Text'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155470287363405843)
,p_theme_id=>42
,p_name=>'ITEM_PRE_TEXT'
,p_display_name=>'Item Pre Text'
,p_display_sequence=>20
,p_template_types=>'FIELD'
,p_help_text=>'Adjust the display of the Item Pre Text'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
wwv_flow_api.create_template_opt_group(
p_id=>wwv_flow_api.id(36155470402303405843)
,p_theme_id=>42
,p_name=>'RADIO_GROUP_DISPLAY'
,p_display_name=>'Radio Group Display'
,p_display_sequence=>300
,p_template_types=>'FIELD'
,p_help_text=>'Determines the display for radio group items.'
,p_null_text=>'Default'
,p_is_advanced=>'Y'
);
end;
/
prompt --application/shared_components/user_interface/template_options
begin
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155423297080405794)
,p_theme_id=>42
,p_name=>'STRETCH_TO_FIT_WINDOW'
,p_display_name=>'Stretch to Fit Window'
,p_display_sequence=>1
,p_page_template_id=>wwv_flow_api.id(36155422895452405794)
,p_css_classes=>'ui-dialog--stretch'
,p_template_types=>'PAGE'
,p_help_text=>'Stretch the dialog to fit the browser window.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155425479319405796)
,p_theme_id=>42
,p_name=>'STRETCH_TO_FIT_WINDOW'
,p_display_name=>'Stretch to Fit Window'
,p_display_sequence=>10
,p_page_template_id=>wwv_flow_api.id(36155425030090405796)
,p_css_classes=>'ui-dialog--stretch'
,p_template_types=>'PAGE'
,p_help_text=>'Stretch the dialog to fit the browser window.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155425789608405797)
,p_theme_id=>42
,p_name=>'COLOREDBACKGROUND'
,p_display_name=>'Highlight Background'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--colorBG'
,p_template_types=>'REGION'
,p_help_text=>'Set alert background color to that of the alert type (warning, success, etc.)'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155425903354405798)
,p_theme_id=>42
,p_name=>'DANGER'
,p_display_name=>'Danger'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--danger'
,p_group_id=>wwv_flow_api.id(36155425813991405798)
,p_template_types=>'REGION'
,p_help_text=>'Show an error or danger alert.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426111285405798)
,p_theme_id=>42
,p_name=>'HIDDENHEADER'
,p_display_name=>'Hidden but Accessible'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--accessibleHeading'
,p_group_id=>wwv_flow_api.id(36155426066570405798)
,p_template_types=>'REGION'
,p_help_text=>'Visually hides the alert title, but assistive technologies can still read it.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426245813405798)
,p_theme_id=>42
,p_name=>'HIDDENHEADERNOAT'
,p_display_name=>'Hidden'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--removeHeading'
,p_group_id=>wwv_flow_api.id(36155426066570405798)
,p_template_types=>'REGION'
,p_help_text=>'Hides the Alert Title from being displayed.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426413814405798)
,p_theme_id=>42
,p_name=>'HIDE_ICONS'
,p_display_name=>'Hide Icons'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--noIcon'
,p_group_id=>wwv_flow_api.id(36155426394375405798)
,p_template_types=>'REGION'
,p_help_text=>'Hides alert icons'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426694500405798)
,p_theme_id=>42
,p_name=>'HORIZONTAL'
,p_display_name=>'Horizontal'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--horizontal'
,p_group_id=>wwv_flow_api.id(36155426573377405798)
,p_template_types=>'REGION'
,p_help_text=>'Show horizontal alert with buttons to the right.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426776939405798)
,p_theme_id=>42
,p_name=>'INFORMATION'
,p_display_name=>'Information'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--info'
,p_group_id=>wwv_flow_api.id(36155425813991405798)
,p_template_types=>'REGION'
,p_help_text=>'Show informational alert.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426876541405798)
,p_theme_id=>42
,p_name=>'SHOW_CUSTOM_ICONS'
,p_display_name=>'Show Custom Icons'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--customIcons'
,p_group_id=>wwv_flow_api.id(36155426394375405798)
,p_template_types=>'REGION'
,p_help_text=>'Set custom icons by modifying the Alert Region''s Icon CSS Classes property.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155426967556405799)
,p_theme_id=>42
,p_name=>'SUCCESS'
,p_display_name=>'Success'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--success'
,p_group_id=>wwv_flow_api.id(36155425813991405798)
,p_template_types=>'REGION'
,p_help_text=>'Show success alert.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155427009826405799)
,p_theme_id=>42
,p_name=>'USEDEFAULTICONS'
,p_display_name=>'Show Default Icons'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--defaultIcons'
,p_group_id=>wwv_flow_api.id(36155426394375405798)
,p_template_types=>'REGION'
,p_help_text=>'Uses default icons for alert types.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155427164639405799)
,p_theme_id=>42
,p_name=>'WARNING'
,p_display_name=>'Warning'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--warning'
,p_group_id=>wwv_flow_api.id(36155425813991405798)
,p_template_types=>'REGION'
,p_help_text=>'Show a warning alert.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155427265743405799)
,p_theme_id=>42
,p_name=>'WIZARD'
,p_display_name=>'Wizard'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155425521204405796)
,p_css_classes=>'t-Alert--wizard'
,p_group_id=>wwv_flow_api.id(36155426573377405798)
,p_template_types=>'REGION'
,p_help_text=>'Show the alert in a wizard style region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155428131508405799)
,p_theme_id=>42
,p_name=>'BORDERLESS'
,p_display_name=>'Borderless'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155427726983405799)
,p_css_classes=>'t-ButtonRegion--noBorder'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155428307312405799)
,p_theme_id=>42
,p_name=>'NOPADDING'
,p_display_name=>'No Padding'
,p_display_sequence=>3
,p_region_template_id=>wwv_flow_api.id(36155427726983405799)
,p_css_classes=>'t-ButtonRegion--noPadding'
,p_group_id=>wwv_flow_api.id(36155428249937405799)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155428490637405799)
,p_theme_id=>42
,p_name=>'REMOVEUIDECORATION'
,p_display_name=>'Remove UI Decoration'
,p_display_sequence=>4
,p_region_template_id=>wwv_flow_api.id(36155427726983405799)
,p_css_classes=>'t-ButtonRegion--noUI'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155428576483405799)
,p_theme_id=>42
,p_name=>'SLIMPADDING'
,p_display_name=>'Slim Padding'
,p_display_sequence=>5
,p_region_template_id=>wwv_flow_api.id(36155427726983405799)
,p_css_classes=>'t-ButtonRegion--slimPadding'
,p_group_id=>wwv_flow_api.id(36155428249937405799)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429059098405800)
,p_theme_id=>42
,p_name=>'10_SECONDS'
,p_display_name=>'10 Seconds'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-cycle10s'
,p_group_id=>wwv_flow_api.id(36155428965953405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429101565405800)
,p_theme_id=>42
,p_name=>'15_SECONDS'
,p_display_name=>'15 Seconds'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-cycle15s'
,p_group_id=>wwv_flow_api.id(36155428965953405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429226194405800)
,p_theme_id=>42
,p_name=>'20_SECONDS'
,p_display_name=>'20 Seconds'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-cycle20s'
,p_group_id=>wwv_flow_api.id(36155428965953405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429470742405800)
,p_theme_id=>42
,p_name=>'240PX'
,p_display_name=>'240px'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'i-h240'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 240px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429581987405800)
,p_theme_id=>42
,p_name=>'320PX'
,p_display_name=>'320px'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'i-h320'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 320px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429644657405800)
,p_theme_id=>42
,p_name=>'480PX'
,p_display_name=>'480px'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'i-h480'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429723594405801)
,p_theme_id=>42
,p_name=>'5_SECONDS'
,p_display_name=>'5 Seconds'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-cycle5s'
,p_group_id=>wwv_flow_api.id(36155428965953405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155429881988405801)
,p_theme_id=>42
,p_name=>'640PX'
,p_display_name=>'640px'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'i-h640'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430097414405801)
,p_theme_id=>42
,p_name=>'ACCENT_1'
,p_display_name=>'Accent 1'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--accent1'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430188776405801)
,p_theme_id=>42
,p_name=>'ACCENT_2'
,p_display_name=>'Accent 2'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--accent2'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430243863405801)
,p_theme_id=>42
,p_name=>'ACCENT_3'
,p_display_name=>'Accent 3'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--accent3'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430374150405801)
,p_theme_id=>42
,p_name=>'ACCENT_4'
,p_display_name=>'Accent 4'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--accent4'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430400145405801)
,p_theme_id=>42
,p_name=>'ACCENT_5'
,p_display_name=>'Accent 5'
,p_display_sequence=>50
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--accent5'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430615005405801)
,p_theme_id=>42
,p_name=>'HIDDENHEADERNOAT'
,p_display_name=>'Hidden'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--removeHeader'
,p_group_id=>wwv_flow_api.id(36155430517526405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430823692405801)
,p_theme_id=>42
,p_name=>'HIDEOVERFLOW'
,p_display_name=>'Hide'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--hiddenOverflow'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155430908174405801)
,p_theme_id=>42
,p_name=>'HIDEREGIONHEADER'
,p_display_name=>'Hidden but accessible'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--hideHeader'
,p_group_id=>wwv_flow_api.id(36155430517526405801)
,p_template_types=>'REGION'
,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431040168405801)
,p_theme_id=>42
,p_name=>'NOBODYPADDING'
,p_display_name=>'Remove Body Padding'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--noPadding'
,p_template_types=>'REGION'
,p_help_text=>'Removes padding from region body.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431162827405801)
,p_theme_id=>42
,p_name=>'NOBORDER'
,p_display_name=>'Remove Borders'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--noBorder'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes borders from the region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431229436405801)
,p_theme_id=>42
,p_name=>'REMEMBER_CAROUSEL_SLIDE'
,p_display_name=>'Remember Carousel Slide'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-useLocalStorage'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431343133405801)
,p_theme_id=>42
,p_name=>'SCROLLBODY'
,p_display_name=>'Scroll'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--scrollBody'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431413759405801)
,p_theme_id=>42
,p_name=>'SHOW_MAXIMIZE_BUTTON'
,p_display_name=>'Show Maximize Button'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'js-showMaximizeButton'
,p_template_types=>'REGION'
,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431515604405802)
,p_theme_id=>42
,p_name=>'SHOW_NEXT_AND_PREVIOUS_BUTTONS'
,p_display_name=>'Show Next and Previous Buttons'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--showCarouselControls'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431792332405802)
,p_theme_id=>42
,p_name=>'SLIDE'
,p_display_name=>'Slide'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--carouselSlide'
,p_group_id=>wwv_flow_api.id(36155431652814405802)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431878495405802)
,p_theme_id=>42
,p_name=>'SPIN'
,p_display_name=>'Spin'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--carouselSpin'
,p_group_id=>wwv_flow_api.id(36155431652814405802)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155431949812405802)
,p_theme_id=>42
,p_name=>'STACKED'
,p_display_name=>'Stack Region'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155428699384405800)
,p_css_classes=>'t-Region--stacked'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432303707405802)
,p_theme_id=>42
,p_name=>'240PX'
,p_display_name=>'240px'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'i-h240'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 240px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432449200405802)
,p_theme_id=>42
,p_name=>'320PX'
,p_display_name=>'320px'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'i-h320'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 320px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432561181405803)
,p_theme_id=>42
,p_name=>'480PX'
,p_display_name=>'480px'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'i-h480'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets body height to 480px.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432652813405803)
,p_theme_id=>42
,p_name=>'640PX'
,p_display_name=>'640px'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'i-h640'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets body height to 640px.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432749910405803)
,p_theme_id=>42
,p_name=>'ACCENT_1'
,p_display_name=>'Accent 1'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--accent1'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432802734405803)
,p_theme_id=>42
,p_name=>'ACCENT_2'
,p_display_name=>'Accent 2'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--accent2'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155432910884405803)
,p_theme_id=>42
,p_name=>'ACCENT_3'
,p_display_name=>'Accent 3'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--accent3'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433045069405803)
,p_theme_id=>42
,p_name=>'ACCENT_4'
,p_display_name=>'Accent 4'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--accent4'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433110443405804)
,p_theme_id=>42
,p_name=>'ACCENT_5'
,p_display_name=>'Accent 5'
,p_display_sequence=>50
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--accent5'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433368139405804)
,p_theme_id=>42
,p_name=>'COLLAPSED'
,p_display_name=>'Collapsed'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'is-collapsed'
,p_group_id=>wwv_flow_api.id(36155433275157405804)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433416997405804)
,p_theme_id=>42
,p_name=>'EXPANDED'
,p_display_name=>'Expanded'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'is-expanded'
,p_group_id=>wwv_flow_api.id(36155433275157405804)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433587472405804)
,p_theme_id=>42
,p_name=>'HIDEOVERFLOW'
,p_display_name=>'Hide'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--hiddenOverflow'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433680300405804)
,p_theme_id=>42
,p_name=>'NOBODYPADDING'
,p_display_name=>'Remove Body Padding'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--noPadding'
,p_template_types=>'REGION'
,p_help_text=>'Removes padding from region body.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433771592405804)
,p_theme_id=>42
,p_name=>'NOBORDER'
,p_display_name=>'Remove Borders'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--noBorder'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes borders from the region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433801684405804)
,p_theme_id=>42
,p_name=>'REMEMBER_COLLAPSIBLE_STATE'
,p_display_name=>'Remember Collapsible State'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'js-useLocalStorage'
,p_template_types=>'REGION'
,p_help_text=>'This option saves the current state of the collapsible region for the duration of the session.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155433991420405804)
,p_theme_id=>42
,p_name=>'REMOVE_UI_DECORATION'
,p_display_name=>'Remove UI Decoration'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--noUI'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434011002405804)
,p_theme_id=>42
,p_name=>'SCROLLBODY'
,p_display_name=>'Scroll - Default'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--scrollBody'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434153007405804)
,p_theme_id=>42
,p_name=>'STACKED'
,p_display_name=>'Stack Region'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155432034486405802)
,p_css_classes=>'t-Region--stacked'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434303604405804)
,p_theme_id=>42
,p_name=>'ADD_BODY_PADDING'
,p_display_name=>'Add Body Padding'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--padded'
,p_template_types=>'REGION'
,p_help_text=>'Adds padding to the region''s body container.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434573048405805)
,p_theme_id=>42
,p_name=>'CONTENT_TITLE_H1'
,p_display_name=>'Heading Level 1'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--h1'
,p_group_id=>wwv_flow_api.id(36155434437590405805)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434639023405805)
,p_theme_id=>42
,p_name=>'CONTENT_TITLE_H2'
,p_display_name=>'Heading Level 2'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--h2'
,p_group_id=>wwv_flow_api.id(36155434437590405805)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434788406405805)
,p_theme_id=>42
,p_name=>'CONTENT_TITLE_H3'
,p_display_name=>'Heading Level 3'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--h3'
,p_group_id=>wwv_flow_api.id(36155434437590405805)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155434955974405805)
,p_theme_id=>42
,p_name=>'LIGHT_BACKGROUND'
,p_display_name=>'Light Background'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--lightBG'
,p_group_id=>wwv_flow_api.id(36155434807799405805)
,p_template_types=>'REGION'
,p_help_text=>'Gives the region body a slightly lighter background.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155435075430405805)
,p_theme_id=>42
,p_name=>'SHADOW_BACKGROUND'
,p_display_name=>'Shadow Background'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155434204557405804)
,p_css_classes=>'t-ContentBlock--shadowBG'
,p_group_id=>wwv_flow_api.id(36155434807799405805)
,p_template_types=>'REGION'
,p_help_text=>'Gives the region body a slightly darker background.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155435407049405805)
,p_theme_id=>42
,p_name=>'DISPLAY_ICON_NO'
,p_display_name=>'No'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155435136352405805)
,p_css_classes=>'t-HeroRegion--hideIcon'
,p_group_id=>wwv_flow_api.id(36155435300115405805)
,p_template_types=>'REGION'
,p_help_text=>'Hide the Hero Region icon.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155435534770405805)
,p_theme_id=>42
,p_name=>'FEATURED'
,p_display_name=>'Featured'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155435136352405805)
,p_css_classes=>'t-HeroRegion--featured'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155435638582405805)
,p_theme_id=>42
,p_name=>'REMOVE_BODY_PADDING'
,p_display_name=>'Remove Body Padding'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155435136352405805)
,p_css_classes=>'t-HeroRegion--noPadding'
,p_template_types=>'REGION'
,p_help_text=>'Removes the padding around the hero region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155435758043405805)
,p_theme_id=>42
,p_name=>'STACKED_FEATURED'
,p_display_name=>'Stacked Featured'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155435136352405805)
,p_css_classes=>'t-HeroRegion--featured t-HeroRegion--centered'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436040497405806)
,p_theme_id=>42
,p_name=>'AUTO_HEIGHT_INLINE_DIALOG'
,p_display_name=>'Auto Height'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-dialog-autoheight'
,p_template_types=>'REGION'
,p_help_text=>'This option will set the height of the dialog to fit its contents.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436174189405806)
,p_theme_id=>42
,p_name=>'DRAGGABLE'
,p_display_name=>'Draggable'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-draggable'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436317631405806)
,p_theme_id=>42
,p_name=>'LARGE_720X480'
,p_display_name=>'Large (720x480)'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-dialog-size720x480'
,p_group_id=>wwv_flow_api.id(36155436298913405806)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436425653405806)
,p_theme_id=>42
,p_name=>'MEDIUM_600X400'
,p_display_name=>'Medium (600x400)'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-dialog-size600x400'
,p_group_id=>wwv_flow_api.id(36155436298913405806)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436567982405806)
,p_theme_id=>42
,p_name=>'MODAL'
,p_display_name=>'Modal'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-modal'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436678120405806)
,p_theme_id=>42
,p_name=>'RESIZABLE'
,p_display_name=>'Resizable'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-resizable'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436718491405806)
,p_theme_id=>42
,p_name=>'SMALL_480X320'
,p_display_name=>'Small (480x320)'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155435897982405805)
,p_css_classes=>'js-dialog-size480x320'
,p_group_id=>wwv_flow_api.id(36155436298913405806)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155436978848405806)
,p_theme_id=>42
,p_name=>'REMOVEBORDERS'
,p_display_name=>'Remove Borders'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155436866945405806)
,p_css_classes=>'t-IRR-region--noBorders'
,p_template_types=>'REGION'
,p_help_text=>'Removes borders around the Interactive Report'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155437090555405806)
,p_theme_id=>42
,p_name=>'SHOW_MAXIMIZE_BUTTON'
,p_display_name=>'Show Maximize Button'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155436866945405806)
,p_css_classes=>'js-showMaximizeButton'
,p_template_types=>'REGION'
,p_help_text=>'Displays a button in the Interactive Reports toolbar to maximize the report. Clicking this button will toggle the maximize state and stretch the report to fill the screen.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155437663563405806)
,p_theme_id=>42
,p_name=>'240PX'
,p_display_name=>'240px'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'i-h240'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 240px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155437710224405806)
,p_theme_id=>42
,p_name=>'320PX'
,p_display_name=>'320px'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'i-h320'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
,p_help_text=>'Sets region body height to 320px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155437840226405806)
,p_theme_id=>42
,p_name=>'480PX'
,p_display_name=>'480px'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'i-h480'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
);
end;
/
begin
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155437982798405806)
,p_theme_id=>42
,p_name=>'640PX'
,p_display_name=>'640px'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'i-h640'
,p_group_id=>wwv_flow_api.id(36155429384989405800)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438055020405806)
,p_theme_id=>42
,p_name=>'ACCENT_1'
,p_display_name=>'Accent 1'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent1'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438185695405806)
,p_theme_id=>42
,p_name=>'ACCENT_10'
,p_display_name=>'Accent 10'
,p_display_sequence=>100
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent10'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438231491405807)
,p_theme_id=>42
,p_name=>'ACCENT_11'
,p_display_name=>'Accent 11'
,p_display_sequence=>110
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent11'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438391899405807)
,p_theme_id=>42
,p_name=>'ACCENT_12'
,p_display_name=>'Accent 12'
,p_display_sequence=>120
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent12'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438462328405807)
,p_theme_id=>42
,p_name=>'ACCENT_13'
,p_display_name=>'Accent 13'
,p_display_sequence=>130
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent13'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438512651405807)
,p_theme_id=>42
,p_name=>'ACCENT_14'
,p_display_name=>'Accent 14'
,p_display_sequence=>140
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent14'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438600672405807)
,p_theme_id=>42
,p_name=>'ACCENT_15'
,p_display_name=>'Accent 15'
,p_display_sequence=>150
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent15'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438722265405807)
,p_theme_id=>42
,p_name=>'ACCENT_2'
,p_display_name=>'Accent 2'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent2'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438837719405807)
,p_theme_id=>42
,p_name=>'ACCENT_3'
,p_display_name=>'Accent 3'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent3'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155438982314405807)
,p_theme_id=>42
,p_name=>'ACCENT_4'
,p_display_name=>'Accent 4'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent4'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439040963405807)
,p_theme_id=>42
,p_name=>'ACCENT_5'
,p_display_name=>'Accent 5'
,p_display_sequence=>50
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent5'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439144717405807)
,p_theme_id=>42
,p_name=>'ACCENT_6'
,p_display_name=>'Accent 6'
,p_display_sequence=>60
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent6'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439218220405807)
,p_theme_id=>42
,p_name=>'ACCENT_7'
,p_display_name=>'Accent 7'
,p_display_sequence=>70
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent7'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439377106405807)
,p_theme_id=>42
,p_name=>'ACCENT_8'
,p_display_name=>'Accent 8'
,p_display_sequence=>80
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent8'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439402866405807)
,p_theme_id=>42
,p_name=>'ACCENT_9'
,p_display_name=>'Accent 9'
,p_display_sequence=>90
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--accent9'
,p_group_id=>wwv_flow_api.id(36155429902453405801)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439580109405807)
,p_theme_id=>42
,p_name=>'HIDDENHEADERNOAT'
,p_display_name=>'Hidden'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--removeHeader'
,p_group_id=>wwv_flow_api.id(36155430517526405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439621937405807)
,p_theme_id=>42
,p_name=>'HIDEOVERFLOW'
,p_display_name=>'Hide'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--hiddenOverflow'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439752124405807)
,p_theme_id=>42
,p_name=>'HIDEREGIONHEADER'
,p_display_name=>'Hidden but accessible'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--hideHeader'
,p_group_id=>wwv_flow_api.id(36155430517526405801)
,p_template_types=>'REGION'
,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439831639405807)
,p_theme_id=>42
,p_name=>'NOBODYPADDING'
,p_display_name=>'Remove Body Padding'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--noPadding'
,p_template_types=>'REGION'
,p_help_text=>'Removes padding from region body.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155439918340405807)
,p_theme_id=>42
,p_name=>'NOBORDER'
,p_display_name=>'Remove Borders'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--noBorder'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes borders from the region.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440051227405807)
,p_theme_id=>42
,p_name=>'REMOVE_UI_DECORATION'
,p_display_name=>'Remove UI Decoration'
,p_display_sequence=>30
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--noUI'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440122474405807)
,p_theme_id=>42
,p_name=>'SCROLLBODY'
,p_display_name=>'Scroll - Default'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--scrollBody'
,p_group_id=>wwv_flow_api.id(36155430771880405801)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440222754405807)
,p_theme_id=>42
,p_name=>'SHOW_MAXIMIZE_BUTTON'
,p_display_name=>'Show Maximize Button'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'js-showMaximizeButton'
,p_template_types=>'REGION'
,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440369183405807)
,p_theme_id=>42
,p_name=>'STACKED'
,p_display_name=>'Stack Region'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--stacked'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440466679405808)
,p_theme_id=>42
,p_name=>'TEXT_CONTENT'
,p_display_name=>'Text Content'
,p_display_sequence=>40
,p_region_template_id=>wwv_flow_api.id(36155437343245405806)
,p_css_classes=>'t-Region--textContent'
,p_group_id=>wwv_flow_api.id(36155428053098405799)
,p_template_types=>'REGION'
,p_help_text=>'Useful for displaying primarily text-based content, such as FAQs and more.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155440944558405808)
,p_theme_id=>42
,p_name=>'FILL_TAB_LABELS'
,p_display_name=>'Fill Tab Labels'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'t-TabsRegion-mod--fillLabels'
,p_group_id=>wwv_flow_api.id(36155440874266405808)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441197956405808)
,p_theme_id=>42
,p_name=>'PILL'
,p_display_name=>'Pill'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'t-TabsRegion-mod--pill'
,p_group_id=>wwv_flow_api.id(36155441032050405808)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441236996405808)
,p_theme_id=>42
,p_name=>'REMEMBER_ACTIVE_TAB'
,p_display_name=>'Remember Active Tab'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'js-useLocalStorage'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441312198405808)
,p_theme_id=>42
,p_name=>'SIMPLE'
,p_display_name=>'Simple'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'t-TabsRegion-mod--simple'
,p_group_id=>wwv_flow_api.id(36155441032050405808)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441561405405808)
,p_theme_id=>42
,p_name=>'TABSLARGE'
,p_display_name=>'Large'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'t-TabsRegion-mod--large'
,p_group_id=>wwv_flow_api.id(36155441403690405808)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441628716405808)
,p_theme_id=>42
,p_name=>'TABS_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155440562588405808)
,p_css_classes=>'t-TabsRegion-mod--small'
,p_group_id=>wwv_flow_api.id(36155441403690405808)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441860900405808)
,p_theme_id=>42
,p_name=>'GET_TITLE_FROM_BREADCRUMB'
,p_display_name=>'Use Current Breadcrumb Entry'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155441783879405808)
,p_css_classes=>'t-BreadcrumbRegion--useBreadcrumbTitle'
,p_group_id=>wwv_flow_api.id(36155434437590405805)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155441940431405808)
,p_theme_id=>42
,p_name=>'HIDE_BREADCRUMB'
,p_display_name=>'Show Breadcrumbs'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155441783879405808)
,p_css_classes=>'t-BreadcrumbRegion--showBreadcrumb'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155442053403405808)
,p_theme_id=>42
,p_name=>'REGION_HEADER_VISIBLE'
,p_display_name=>'Use Region Title'
,p_display_sequence=>1
,p_region_template_id=>wwv_flow_api.id(36155441783879405808)
,p_css_classes=>'t-BreadcrumbRegion--useRegionTitle'
,p_group_id=>wwv_flow_api.id(36155434437590405805)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155442490241405809)
,p_theme_id=>42
,p_name=>'HIDESMALLSCREENS'
,p_display_name=>'Small Screens (Tablet)'
,p_display_sequence=>20
,p_region_template_id=>wwv_flow_api.id(36155442158061405808)
,p_css_classes=>'t-Wizard--hideStepsSmall'
,p_group_id=>wwv_flow_api.id(36155442394661405808)
,p_template_types=>'REGION'
,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155442557107405809)
,p_theme_id=>42
,p_name=>'HIDEXSMALLSCREENS'
,p_display_name=>'X Small Screens (Mobile)'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155442158061405808)
,p_css_classes=>'t-Wizard--hideStepsXSmall'
,p_group_id=>wwv_flow_api.id(36155442394661405808)
,p_template_types=>'REGION'
,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155442682289405809)
,p_theme_id=>42
,p_name=>'SHOW_TITLE'
,p_display_name=>'Show Title'
,p_display_sequence=>10
,p_region_template_id=>wwv_flow_api.id(36155442158061405808)
,p_css_classes=>'t-Wizard--showTitle'
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443029072405810)
,p_theme_id=>42
,p_name=>'128PX'
,p_display_name=>'128px'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--xxlarge'
,p_group_id=>wwv_flow_api.id(36155442971434405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443211742405810)
,p_theme_id=>42
,p_name=>'2COLUMNGRID'
,p_display_name=>'2 Column Grid'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_help_text=>'Arrange badges in a two column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443321768405810)
,p_theme_id=>42
,p_name=>'32PX'
,p_display_name=>'32px'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--small'
,p_group_id=>wwv_flow_api.id(36155442971434405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443410851405810)
,p_theme_id=>42
,p_name=>'3COLUMNGRID'
,p_display_name=>'3 Column Grid'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_help_text=>'Arrange badges in a 3 column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443524559405810)
,p_theme_id=>42
,p_name=>'48PX'
,p_display_name=>'48px'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--medium'
,p_group_id=>wwv_flow_api.id(36155442971434405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443673714405811)
,p_theme_id=>42
,p_name=>'4COLUMNGRID'
,p_display_name=>'4 Column Grid'
,p_display_sequence=>40
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443721019405811)
,p_theme_id=>42
,p_name=>'5COLUMNGRID'
,p_display_name=>'5 Column Grid'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443812368405811)
,p_theme_id=>42
,p_name=>'64PX'
,p_display_name=>'64px'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--large'
,p_group_id=>wwv_flow_api.id(36155442971434405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155443934095405811)
,p_theme_id=>42
,p_name=>'96PX'
,p_display_name=>'96px'
,p_display_sequence=>40
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--xlarge'
,p_group_id=>wwv_flow_api.id(36155442971434405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444015103405811)
,p_theme_id=>42
,p_name=>'FIXED'
,p_display_name=>'Span Horizontally'
,p_display_sequence=>60
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--fixed'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444153530405811)
,p_theme_id=>42
,p_name=>'FLEXIBLEBOX'
,p_display_name=>'Flexible Box'
,p_display_sequence=>80
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--flex'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444266676405811)
,p_theme_id=>42
,p_name=>'FLOATITEMS'
,p_display_name=>'Float Items'
,p_display_sequence=>70
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--float'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444300536405811)
,p_theme_id=>42
,p_name=>'RESPONSIVE'
,p_display_name=>'Responsive'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--responsive'
,p_template_types=>'REPORT'
,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444424514405811)
,p_theme_id=>42
,p_name=>'STACKED'
,p_display_name=>'Stacked'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155442842602405810)
,p_css_classes=>'t-BadgeList--stacked'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444668869405811)
,p_theme_id=>42
,p_name=>'2_COLUMNS'
,p_display_name=>'2 Columns'
,p_display_sequence=>15
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444820670405812)
,p_theme_id=>42
,p_name=>'2_LINES'
,p_display_name=>'2 Lines'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--desc-2ln'
,p_group_id=>wwv_flow_api.id(36155444724770405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155444982498405812)
,p_theme_id=>42
,p_name=>'3_COLUMNS'
,p_display_name=>'3 Columns'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--3cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445080584405812)
,p_theme_id=>42
,p_name=>'3_LINES'
,p_display_name=>'3 Lines'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--desc-3ln'
,p_group_id=>wwv_flow_api.id(36155444724770405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445131384405812)
,p_theme_id=>42
,p_name=>'4_COLUMNS'
,p_display_name=>'4 Columns'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--4cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445265257405812)
,p_theme_id=>42
,p_name=>'4_LINES'
,p_display_name=>'4 Lines'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--desc-4ln'
,p_group_id=>wwv_flow_api.id(36155444724770405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445303777405812)
,p_theme_id=>42
,p_name=>'5_COLUMNS'
,p_display_name=>'5 Columns'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--5cols'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445512754405812)
,p_theme_id=>42
,p_name=>'BASIC'
,p_display_name=>'Basic'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--basic'
,p_group_id=>wwv_flow_api.id(36155445442036405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445731984405812)
,p_theme_id=>42
,p_name=>'CARDS_COLOR_FILL'
,p_display_name=>'Color Fill'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--animColorFill'
,p_group_id=>wwv_flow_api.id(36155445667001405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445827285405812)
,p_theme_id=>42
,p_name=>'CARD_RAISE_CARD'
,p_display_name=>'Raise Card'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--animRaiseCard'
,p_group_id=>wwv_flow_api.id(36155445667001405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155445954500405812)
,p_theme_id=>42
,p_name=>'COMPACT'
,p_display_name=>'Compact'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--compact'
,p_group_id=>wwv_flow_api.id(36155445442036405812)
,p_template_types=>'REPORT'
,p_help_text=>'Use this option when you want to show smaller cards.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446152691405812)
,p_theme_id=>42
,p_name=>'DISPLAY_ICONS'
,p_display_name=>'Display Icons'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--displayIcons'
,p_group_id=>wwv_flow_api.id(36155446023492405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446275820405812)
,p_theme_id=>42
,p_name=>'DISPLAY_INITIALS'
,p_display_name=>'Display Initials'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--displayInitials'
,p_group_id=>wwv_flow_api.id(36155446023492405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446393923405812)
,p_theme_id=>42
,p_name=>'FEATURED'
,p_display_name=>'Featured'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--featured'
,p_group_id=>wwv_flow_api.id(36155445442036405812)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446475461405812)
,p_theme_id=>42
,p_name=>'FLOAT'
,p_display_name=>'Float'
,p_display_sequence=>60
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--float'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446596451405813)
,p_theme_id=>42
,p_name=>'HIDDEN_BODY_TEXT'
,p_display_name=>'Hidden'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--hideBody'
,p_group_id=>wwv_flow_api.id(36155444724770405812)
,p_template_types=>'REPORT'
,p_help_text=>'This option hides the card body which contains description and subtext.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446610643405813)
,p_theme_id=>42
,p_name=>'SPAN_HORIZONTALLY'
,p_display_name=>'Span Horizontally'
,p_display_sequence=>70
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'t-Cards--spanHorizontally'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155446745838405813)
,p_theme_id=>42
,p_name=>'USE_THEME_COLORS'
,p_display_name=>'Apply Theme Colors'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155444531125405811)
,p_css_classes=>'u-colors'
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155447020442405813)
,p_theme_id=>42
,p_name=>'BASIC'
,p_display_name=>'Basic'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155446871376405813)
,p_css_classes=>'t-Comments--basic'
,p_group_id=>wwv_flow_api.id(36155446927690405813)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155447143130405813)
,p_theme_id=>42
,p_name=>'SPEECH_BUBBLES'
,p_display_name=>'Speech Bubbles'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155446871376405813)
,p_css_classes=>'t-Comments--chat'
,p_group_id=>wwv_flow_api.id(36155446927690405813)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155447562820405814)
,p_theme_id=>42
,p_name=>'ALTROWCOLORSDISABLE'
,p_display_name=>'Disable'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--staticRowColors'
,p_group_id=>wwv_flow_api.id(36155447435483405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155447644631405814)
,p_theme_id=>42
,p_name=>'ALTROWCOLORSENABLE'
,p_display_name=>'Enable'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--altRowsDefault'
,p_group_id=>wwv_flow_api.id(36155447435483405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155447828044405814)
,p_theme_id=>42
,p_name=>'ENABLE'
,p_display_name=>'Enable'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--rowHighlight'
,p_group_id=>wwv_flow_api.id(36155447744060405814)
,p_template_types=>'REPORT'
,p_help_text=>'Enable row highlighting on mouse over'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448016715405814)
,p_theme_id=>42
,p_name=>'HORIZONTALBORDERS'
,p_display_name=>'Horizontal Only'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--horizontalBorders'
,p_group_id=>wwv_flow_api.id(36155447947488405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448161892405814)
,p_theme_id=>42
,p_name=>'REMOVEALLBORDERS'
,p_display_name=>'No Borders'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--noBorders'
,p_group_id=>wwv_flow_api.id(36155447947488405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448263315405814)
,p_theme_id=>42
,p_name=>'REMOVEOUTERBORDERS'
,p_display_name=>'No Outer Borders'
,p_display_sequence=>40
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--inline'
,p_group_id=>wwv_flow_api.id(36155447947488405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448343120405814)
,p_theme_id=>42
,p_name=>'ROWHIGHLIGHTDISABLE'
,p_display_name=>'Disable'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--rowHighlightOff'
,p_group_id=>wwv_flow_api.id(36155447744060405814)
,p_template_types=>'REPORT'
,p_help_text=>'Disable row highlighting on mouse over'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448468037405814)
,p_theme_id=>42
,p_name=>'STRETCHREPORT'
,p_display_name=>'Stretch Report'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--stretch'
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448578421405814)
,p_theme_id=>42
,p_name=>'VERTICALBORDERS'
,p_display_name=>'Vertical Only'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155447302916405813)
,p_css_classes=>'t-Report--verticalBorders'
,p_group_id=>wwv_flow_api.id(36155447947488405814)
,p_template_types=>'REPORT'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155448767684405814)
,p_theme_id=>42
,p_name=>'COMPACT'
,p_display_name=>'Compact'
,p_display_sequence=>1
,p_report_template_id=>wwv_flow_api.id(36155448651056405814)
,p_css_classes=>'t-Timeline--compact'
,p_group_id=>wwv_flow_api.id(36155445442036405812)
,p_template_types=>'REPORT'
,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449039844405815)
,p_theme_id=>42
,p_name=>'FIXED_LARGE'
,p_display_name=>'Fixed - Large'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--fixedLabelLarge'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449188563405815)
,p_theme_id=>42
,p_name=>'FIXED_MEDIUM'
,p_display_name=>'Fixed - Medium'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--fixedLabelMedium'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449238428405815)
,p_theme_id=>42
,p_name=>'FIXED_SMALL'
,p_display_name=>'Fixed - Small'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--fixedLabelSmall'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
end;
/
begin
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449314398405815)
,p_theme_id=>42
,p_name=>'LEFT_ALIGNED_DETAILS'
,p_display_name=>'Left Aligned Details'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--leftAligned'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449422015405815)
,p_theme_id=>42
,p_name=>'RIGHT_ALIGNED_DETAILS'
,p_display_name=>'Right Aligned Details'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--rightAligned'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449581038405815)
,p_theme_id=>42
,p_name=>'VARIABLE_LARGE'
,p_display_name=>'Variable - Large'
,p_display_sequence=>60
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--variableLabelLarge'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449618043405815)
,p_theme_id=>42
,p_name=>'VARIABLE_MEDIUM'
,p_display_name=>'Variable - Medium'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--variableLabelMedium'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449782743405815)
,p_theme_id=>42
,p_name=>'VARIABLE_SMALL'
,p_display_name=>'Variable - Small'
,p_display_sequence=>40
,p_report_template_id=>wwv_flow_api.id(36155448894641405814)
,p_css_classes=>'t-AVPList--variableLabelSmall'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155449943532405815)
,p_theme_id=>42
,p_name=>'FIXED_LARGE'
,p_display_name=>'Fixed - Large'
,p_display_sequence=>30
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--fixedLabelLarge'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450050603405815)
,p_theme_id=>42
,p_name=>'FIXED_MEDIUM'
,p_display_name=>'Fixed - Medium'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--fixedLabelMedium'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450113279405815)
,p_theme_id=>42
,p_name=>'FIXED_SMALL'
,p_display_name=>'Fixed - Small'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--fixedLabelSmall'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450207257405815)
,p_theme_id=>42
,p_name=>'LEFT_ALIGNED_DETAILS'
,p_display_name=>'Left Aligned Details'
,p_display_sequence=>10
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--leftAligned'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450329884405815)
,p_theme_id=>42
,p_name=>'RIGHT_ALIGNED_DETAILS'
,p_display_name=>'Right Aligned Details'
,p_display_sequence=>20
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--rightAligned'
,p_group_id=>wwv_flow_api.id(36155443171889405810)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450459466405815)
,p_theme_id=>42
,p_name=>'VARIABLE_LARGE'
,p_display_name=>'Variable - Large'
,p_display_sequence=>60
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--variableLabelLarge'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450533732405815)
,p_theme_id=>42
,p_name=>'VARIABLE_MEDIUM'
,p_display_name=>'Variable - Medium'
,p_display_sequence=>50
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--variableLabelMedium'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450694193405815)
,p_theme_id=>42
,p_name=>'VARIABLE_SMALL'
,p_display_name=>'Variable - Small'
,p_display_sequence=>40
,p_report_template_id=>wwv_flow_api.id(36155449846319405815)
,p_css_classes=>'t-AVPList--variableLabelSmall'
,p_group_id=>wwv_flow_api.id(36155448917199405815)
,p_template_types=>'REPORT'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155450990055405817)
,p_theme_id=>42
,p_name=>'2COLUMNGRID'
,p_display_name=>'2 Column Grid'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Arrange badges in a two column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451040968405817)
,p_theme_id=>42
,p_name=>'3COLUMNGRID'
,p_display_name=>'3 Column Grid'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Arrange badges in a 3 column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451113178405817)
,p_theme_id=>42
,p_name=>'4COLUMNGRID'
,p_display_name=>'4 Column Grid'
,p_display_sequence=>40
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Arrange badges in 4 column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451243596405817)
,p_theme_id=>42
,p_name=>'5COLUMNGRID'
,p_display_name=>'5 Column Grid'
,p_display_sequence=>50
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Arrange badges in a 5 column grid'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451330700405817)
,p_theme_id=>42
,p_name=>'FIXED'
,p_display_name=>'Span Horizontally'
,p_display_sequence=>60
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--fixed'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Span badges horizontally'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451478513405817)
,p_theme_id=>42
,p_name=>'FLEXIBLEBOX'
,p_display_name=>'Flexible Box'
,p_display_sequence=>80
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--flex'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Use flexbox to arrange items'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451598311405817)
,p_theme_id=>42
,p_name=>'FLOATITEMS'
,p_display_name=>'Float Items'
,p_display_sequence=>70
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--float'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Float badges to left'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451742421405817)
,p_theme_id=>42
,p_name=>'LARGE'
,p_display_name=>'64px'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--large'
,p_group_id=>wwv_flow_api.id(36155451663844405817)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451885779405817)
,p_theme_id=>42
,p_name=>'MEDIUM'
,p_display_name=>'48px'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--medium'
,p_group_id=>wwv_flow_api.id(36155451663844405817)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155451941716405817)
,p_theme_id=>42
,p_name=>'RESPONSIVE'
,p_display_name=>'Responsive'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--responsive'
,p_template_types=>'LIST'
,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452006316405817)
,p_theme_id=>42
,p_name=>'SMALL'
,p_display_name=>'32px'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--small'
,p_group_id=>wwv_flow_api.id(36155451663844405817)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452156141405817)
,p_theme_id=>42
,p_name=>'STACKED'
,p_display_name=>'Stacked'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--stacked'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Stack badges on top of each other'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452249784405817)
,p_theme_id=>42
,p_name=>'XLARGE'
,p_display_name=>'96px'
,p_display_sequence=>40
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--xlarge'
,p_group_id=>wwv_flow_api.id(36155451663844405817)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452312518405817)
,p_theme_id=>42
,p_name=>'XXLARGE'
,p_display_name=>'128px'
,p_display_sequence=>50
,p_list_template_id=>wwv_flow_api.id(36155450775774405815)
,p_css_classes=>'t-BadgeList--xxlarge'
,p_group_id=>wwv_flow_api.id(36155451663844405817)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452563728405817)
,p_theme_id=>42
,p_name=>'2_COLUMNS'
,p_display_name=>'2 Columns'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452793618405817)
,p_theme_id=>42
,p_name=>'2_LINES'
,p_display_name=>'2 Lines'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--desc-2ln'
,p_group_id=>wwv_flow_api.id(36155452669375405817)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452881334405817)
,p_theme_id=>42
,p_name=>'3_COLUMNS'
,p_display_name=>'3 Columns'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--3cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155452965815405817)
,p_theme_id=>42
,p_name=>'3_LINES'
,p_display_name=>'3 Lines'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--desc-3ln'
,p_group_id=>wwv_flow_api.id(36155452669375405817)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453002821405817)
,p_theme_id=>42
,p_name=>'4_COLUMNS'
,p_display_name=>'4 Columns'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--4cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453101898405818)
,p_theme_id=>42
,p_name=>'4_LINES'
,p_display_name=>'4 Lines'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--desc-4ln'
,p_group_id=>wwv_flow_api.id(36155452669375405817)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453247520405818)
,p_theme_id=>42
,p_name=>'5_COLUMNS'
,p_display_name=>'5 Columns'
,p_display_sequence=>50
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--5cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453444024405818)
,p_theme_id=>42
,p_name=>'BASIC'
,p_display_name=>'Basic'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--basic'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453575298405818)
,p_theme_id=>42
,p_name=>'CARDS_STACKED'
,p_display_name=>'Stacked'
,p_display_sequence=>5
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--stacked'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Stacks the cards on top of each other.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453707496405818)
,p_theme_id=>42
,p_name=>'COLOR_FILL'
,p_display_name=>'Color Fill'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--animColorFill'
,p_group_id=>wwv_flow_api.id(36155453683222405818)
,p_template_types=>'LIST'
,p_help_text=>'Fills the card background with the color of the icon or default link style.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155453849668405818)
,p_theme_id=>42
,p_name=>'COMPACT'
,p_display_name=>'Compact'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--compact'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
,p_help_text=>'Use this option when you want to show smaller cards.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454071992405818)
,p_theme_id=>42
,p_name=>'DISPLAY_ICONS'
,p_display_name=>'Display Icons'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--displayIcons'
,p_group_id=>wwv_flow_api.id(36155453986189405818)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454172277405818)
,p_theme_id=>42
,p_name=>'DISPLAY_INITIALS'
,p_display_name=>'Display Initials'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--displayInitials'
,p_group_id=>wwv_flow_api.id(36155453986189405818)
,p_template_types=>'LIST'
,p_help_text=>'Initials come from List Attribute 3'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454270949405818)
,p_theme_id=>42
,p_name=>'FEATURED'
,p_display_name=>'Featured'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--featured'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454398040405818)
,p_theme_id=>42
,p_name=>'FLOAT'
,p_display_name=>'Float'
,p_display_sequence=>60
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--float'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454401557405818)
,p_theme_id=>42
,p_name=>'HIDDEN_BODY_TEXT'
,p_display_name=>'Hidden'
,p_display_sequence=>50
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--hideBody'
,p_group_id=>wwv_flow_api.id(36155452669375405817)
,p_template_types=>'LIST'
,p_help_text=>'This option hides the card body which contains description and subtext.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454599963405818)
,p_theme_id=>42
,p_name=>'RAISE_CARD'
,p_display_name=>'Raise Card'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--animRaiseCard'
,p_group_id=>wwv_flow_api.id(36155453683222405818)
,p_template_types=>'LIST'
,p_help_text=>'Raises the card so it pops up.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454686612405818)
,p_theme_id=>42
,p_name=>'SPAN_HORIZONTALLY'
,p_display_name=>'Span Horizontally'
,p_display_sequence=>70
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'t-Cards--spanHorizontally'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454789789405819)
,p_theme_id=>42
,p_name=>'USE_THEME_COLORS'
,p_display_name=>'Apply Theme Colors'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155452478471405817)
,p_css_classes=>'u-colors'
,p_template_types=>'LIST'
,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within cards.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155454914106405819)
,p_theme_id=>42
,p_name=>'ACTIONS'
,p_display_name=>'Actions'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--actions'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
,p_help_text=>'Render as actions to be placed on the right side column.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455078297405819)
,p_theme_id=>42
,p_name=>'DISABLETEXTWRAPPING'
,p_display_name=>'Disable Text Wrapping'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--nowrap'
,p_template_types=>'LIST'
,p_help_text=>'Do not allow link text to wrap to new lines. Truncate with ellipsis.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455101313405819)
,p_theme_id=>42
,p_name=>'SHOWBADGES'
,p_display_name=>'Show Badges'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--showBadge'
,p_template_types=>'LIST'
,p_help_text=>'Show badge to right of link (requires Attribute 1 to be populated)'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455210909405819)
,p_theme_id=>42
,p_name=>'SHOWGOTOARROW'
,p_display_name=>'Show Right Arrow'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--showArrow'
,p_template_types=>'LIST'
,p_help_text=>'Show arrow to the right of link'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455462432405819)
,p_theme_id=>42
,p_name=>'SHOWICONS'
,p_display_name=>'For All Items'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--showIcons'
,p_group_id=>wwv_flow_api.id(36155455347064405819)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455528791405819)
,p_theme_id=>42
,p_name=>'SHOWTOPICONS'
,p_display_name=>'For Top Level Items Only'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155454893087405819)
,p_css_classes=>'t-LinksList--showTopIcons'
,p_group_id=>wwv_flow_api.id(36155455347064405819)
,p_template_types=>'LIST'
,p_help_text=>'This will show icons for top level items of the list only. It will not show icons for sub lists.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455790425405819)
,p_theme_id=>42
,p_name=>'2COLUMNGRID'
,p_display_name=>'2 Column Grid'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--cols t-MediaList--2cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455829336405819)
,p_theme_id=>42
,p_name=>'3COLUMNGRID'
,p_display_name=>'3 Column Grid'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--cols t-MediaList--3cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155455989477405819)
,p_theme_id=>42
,p_name=>'4COLUMNGRID'
,p_display_name=>'4 Column Grid'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--cols t-MediaList--4cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456095161405819)
,p_theme_id=>42
,p_name=>'5COLUMNGRID'
,p_display_name=>'5 Column Grid'
,p_display_sequence=>40
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--cols t-MediaList--5cols'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456176271405819)
,p_theme_id=>42
,p_name=>'APPLY_THEME_COLORS'
,p_display_name=>'Apply Theme Colors'
,p_display_sequence=>40
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'u-colors'
,p_template_types=>'LIST'
,p_help_text=>'Applies colors from the Theme''s color palette to icons in the list.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456341343405819)
,p_theme_id=>42
,p_name=>'LIST_SIZE_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--large'
,p_group_id=>wwv_flow_api.id(36155456225090405819)
,p_template_types=>'LIST'
,p_help_text=>'Increases the size of the text and icons in the list.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456492904405819)
,p_theme_id=>42
,p_name=>'SHOW_BADGES'
,p_display_name=>'Show Badges'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--showBadges'
,p_template_types=>'LIST'
,p_help_text=>'Show a badge (Attribute 2) to the right of the list item.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456520352405819)
,p_theme_id=>42
,p_name=>'SHOW_DESCRIPTION'
,p_display_name=>'Show Description'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--showDesc'
,p_template_types=>'LIST'
,p_help_text=>'Shows the description (Attribute 1) for each list item.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456604053405819)
,p_theme_id=>42
,p_name=>'SHOW_ICONS'
,p_display_name=>'Show Icons'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--showIcons'
,p_template_types=>'LIST'
,p_help_text=>'Display an icon next to the list item.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456736901405820)
,p_theme_id=>42
,p_name=>'SPANHORIZONTAL'
,p_display_name=>'Span Horizontal'
,p_display_sequence=>50
,p_list_template_id=>wwv_flow_api.id(36155455640232405819)
,p_css_classes=>'t-MediaList--horizontal'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Show all list items in one horizontal row.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155456994453405820)
,p_theme_id=>42
,p_name=>'ADD_ACTIONS'
,p_display_name=>'Add Actions'
,p_display_sequence=>40
,p_list_template_id=>wwv_flow_api.id(36155456844316405820)
,p_css_classes=>'js-addActions'
,p_template_types=>'LIST'
,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457082609405820)
,p_theme_id=>42
,p_name=>'BEHAVE_LIKE_TABS'
,p_display_name=>'Behave Like Tabs'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155456844316405820)
,p_css_classes=>'js-tabLike'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457101354405820)
,p_theme_id=>42
,p_name=>'ENABLE_SLIDE_ANIMATION'
,p_display_name=>'Enable Slide Animation'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155456844316405820)
,p_css_classes=>'js-slide'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457224208405820)
,p_theme_id=>42
,p_name=>'SHOW_SUB_MENU_ICONS'
,p_display_name=>'Show Sub Menu Icons'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155456844316405820)
,p_css_classes=>'js-showSubMenuIcons'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457777782405821)
,p_theme_id=>42
,p_name=>'ABOVE_LABEL'
,p_display_name=>'Above Label'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--iconsAbove'
,p_group_id=>wwv_flow_api.id(36155453986189405818)
,p_template_types=>'LIST'
,p_help_text=>'Places icons above tab label.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457820606405821)
,p_theme_id=>42
,p_name=>'FILL_LABELS'
,p_display_name=>'Fill Labels'
,p_display_sequence=>1
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--fillLabels'
,p_group_id=>wwv_flow_api.id(36155450804634405816)
,p_template_types=>'LIST'
,p_help_text=>'Stretch tabs to fill to the width of the tabs container.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155457917841405821)
,p_theme_id=>42
,p_name=>'INLINE_WITH_LABEL'
,p_display_name=>'Inline with Label'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--inlineIcons'
,p_group_id=>wwv_flow_api.id(36155453986189405818)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458038616405822)
,p_theme_id=>42
,p_name=>'LARGE'
,p_display_name=>'Large'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--large'
,p_group_id=>wwv_flow_api.id(36155456225090405819)
,p_template_types=>'LIST'
,p_help_text=>'Increases font size and white space around tab items.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458126239405822)
,p_theme_id=>42
,p_name=>'PILL'
,p_display_name=>'Pill'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--pill'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
,p_help_text=>'Displays tabs in a pill container.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458263713405822)
,p_theme_id=>42
,p_name=>'SIMPLE'
,p_display_name=>'Simple'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--simple'
,p_group_id=>wwv_flow_api.id(36155453362858405818)
,p_template_types=>'LIST'
,p_help_text=>'A very simplistic tab UI.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458394590405822)
,p_theme_id=>42
,p_name=>'SMALL'
,p_display_name=>'Small'
,p_display_sequence=>5
,p_list_template_id=>wwv_flow_api.id(36155457609642405821)
,p_css_classes=>'t-Tabs--small'
,p_group_id=>wwv_flow_api.id(36155456225090405819)
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458533118405822)
,p_theme_id=>42
,p_name=>'ADD_ACTIONS'
,p_display_name=>'Add Actions'
,p_display_sequence=>1
,p_list_template_id=>wwv_flow_api.id(36155458489022405822)
,p_css_classes=>'js-addActions'
,p_template_types=>'LIST'
,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458611321405822)
,p_theme_id=>42
,p_name=>'BEHAVE_LIKE_TABS'
,p_display_name=>'Behave Like Tabs'
,p_display_sequence=>1
,p_list_template_id=>wwv_flow_api.id(36155458489022405822)
,p_css_classes=>'js-tabLike'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458726193405822)
,p_theme_id=>42
,p_name=>'ENABLE_SLIDE_ANIMATION'
,p_display_name=>'Enable Slide Animation'
,p_display_sequence=>1
,p_list_template_id=>wwv_flow_api.id(36155458489022405822)
,p_css_classes=>'js-slide'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155458886495405822)
,p_theme_id=>42
,p_name=>'SHOW_SUB_MENU_ICONS'
,p_display_name=>'Show Sub Menu Icons'
,p_display_sequence=>1
,p_list_template_id=>wwv_flow_api.id(36155458489022405822)
,p_css_classes=>'js-showSubMenuIcons'
,p_template_types=>'LIST'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155459103772405822)
,p_theme_id=>42
,p_name=>'ALLSTEPS'
,p_display_name=>'All Steps'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155458914016405822)
,p_css_classes=>'t-WizardSteps--displayLabels'
,p_group_id=>wwv_flow_api.id(36155459097514405822)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155459212120405822)
,p_theme_id=>42
,p_name=>'CURRENTSTEPONLY'
,p_display_name=>'Current Step Only'
,p_display_sequence=>20
,p_list_template_id=>wwv_flow_api.id(36155458914016405822)
,p_css_classes=>'t-WizardSteps--displayCurrentLabelOnly'
,p_group_id=>wwv_flow_api.id(36155459097514405822)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155459342633405822)
,p_theme_id=>42
,p_name=>'HIDELABELS'
,p_display_name=>'Hide Labels'
,p_display_sequence=>30
,p_list_template_id=>wwv_flow_api.id(36155458914016405822)
,p_css_classes=>'t-WizardSteps--hideLabels'
,p_group_id=>wwv_flow_api.id(36155459097514405822)
,p_template_types=>'LIST'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155459402505405822)
,p_theme_id=>42
,p_name=>'VERTICAL_LIST'
,p_display_name=>'Vertical Orientation'
,p_display_sequence=>10
,p_list_template_id=>wwv_flow_api.id(36155458914016405822)
,p_css_classes=>'t-WizardSteps--vertical'
,p_template_types=>'LIST'
,p_help_text=>'Displays the wizard progress list in a vertical orientation and is suitable for displaying within a side column of a page.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155460411696405825)
,p_theme_id=>42
,p_name=>'LEFTICON'
,p_display_name=>'Left'
,p_display_sequence=>10
,p_button_template_id=>wwv_flow_api.id(36155460212793405825)
,p_css_classes=>'t-Button--iconLeft'
,p_group_id=>wwv_flow_api.id(36155460344822405825)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155460591384405825)
,p_theme_id=>42
,p_name=>'RIGHTICON'
,p_display_name=>'Right'
,p_display_sequence=>20
,p_button_template_id=>wwv_flow_api.id(36155460212793405825)
,p_css_classes=>'t-Button--iconRight'
,p_group_id=>wwv_flow_api.id(36155460344822405825)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155461675056405839)
,p_theme_id=>42
,p_name=>'FBM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-bottom-lg'
,p_group_id=>wwv_flow_api.id(36155461598172405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a large bottom margin for this field.'
);
end;
/
begin
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155461890533405839)
,p_theme_id=>42
,p_name=>'RBM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-bottom-lg'
,p_group_id=>wwv_flow_api.id(36155461794944405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a large bottom margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155461915467405839)
,p_theme_id=>42
,p_name=>'FBM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-bottom-md'
,p_group_id=>wwv_flow_api.id(36155461598172405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a medium bottom margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462040319405839)
,p_theme_id=>42
,p_name=>'RBM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-bottom-md'
,p_group_id=>wwv_flow_api.id(36155461794944405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a medium bottom margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462156855405839)
,p_theme_id=>42
,p_name=>'FBM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-bottom-none'
,p_group_id=>wwv_flow_api.id(36155461598172405839)
,p_template_types=>'FIELD'
,p_help_text=>'Removes the bottom margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462231510405839)
,p_theme_id=>42
,p_name=>'RBM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-bottom-none'
,p_group_id=>wwv_flow_api.id(36155461794944405839)
,p_template_types=>'REGION'
,p_help_text=>'Removes the bottom margin for this region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462336837405839)
,p_theme_id=>42
,p_name=>'FBM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-bottom-sm'
,p_group_id=>wwv_flow_api.id(36155461598172405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a small bottom margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462473007405839)
,p_theme_id=>42
,p_name=>'RBM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-bottom-sm'
,p_group_id=>wwv_flow_api.id(36155461794944405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a small bottom margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462646959405839)
,p_theme_id=>42
,p_name=>'FLM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-left-lg'
,p_group_id=>wwv_flow_api.id(36155462524611405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a large left margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462808958405839)
,p_theme_id=>42
,p_name=>'RLM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-left-lg'
,p_group_id=>wwv_flow_api.id(36155462797151405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a large right margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155462968613405840)
,p_theme_id=>42
,p_name=>'FLM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-left-md'
,p_group_id=>wwv_flow_api.id(36155462524611405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a medium left margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463083532405840)
,p_theme_id=>42
,p_name=>'RLM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-left-md'
,p_group_id=>wwv_flow_api.id(36155462797151405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a medium right margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463163296405840)
,p_theme_id=>42
,p_name=>'FLM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-left-none'
,p_group_id=>wwv_flow_api.id(36155462524611405839)
,p_template_types=>'FIELD'
,p_help_text=>'Removes the left margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463273019405840)
,p_theme_id=>42
,p_name=>'RLM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-left-none'
,p_group_id=>wwv_flow_api.id(36155462797151405839)
,p_template_types=>'REGION'
,p_help_text=>'Removes the left margin from the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463338123405840)
,p_theme_id=>42
,p_name=>'FLM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-left-sm'
,p_group_id=>wwv_flow_api.id(36155462524611405839)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a small left margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463430597405840)
,p_theme_id=>42
,p_name=>'RLM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-left-sm'
,p_group_id=>wwv_flow_api.id(36155462797151405839)
,p_template_types=>'REGION'
,p_help_text=>'Adds a small left margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463619927405840)
,p_theme_id=>42
,p_name=>'FRM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-right-lg'
,p_group_id=>wwv_flow_api.id(36155463528825405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a large right margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463816525405840)
,p_theme_id=>42
,p_name=>'RRM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-right-lg'
,p_group_id=>wwv_flow_api.id(36155463707824405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a large right margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155463947524405840)
,p_theme_id=>42
,p_name=>'FRM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-right-md'
,p_group_id=>wwv_flow_api.id(36155463528825405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a medium right margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464023104405840)
,p_theme_id=>42
,p_name=>'RRM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-right-md'
,p_group_id=>wwv_flow_api.id(36155463707824405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a medium right margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464188555405840)
,p_theme_id=>42
,p_name=>'FRM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-right-none'
,p_group_id=>wwv_flow_api.id(36155463528825405840)
,p_template_types=>'FIELD'
,p_help_text=>'Removes the right margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464285815405840)
,p_theme_id=>42
,p_name=>'RRM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-right-none'
,p_group_id=>wwv_flow_api.id(36155463707824405840)
,p_template_types=>'REGION'
,p_help_text=>'Removes the right margin from the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464317553405840)
,p_theme_id=>42
,p_name=>'FRM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-right-sm'
,p_group_id=>wwv_flow_api.id(36155463528825405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a small right margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464442138405840)
,p_theme_id=>42
,p_name=>'RRM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-right-sm'
,p_group_id=>wwv_flow_api.id(36155463707824405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a small right margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464664809405840)
,p_theme_id=>42
,p_name=>'FTM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-top-lg'
,p_group_id=>wwv_flow_api.id(36155464565891405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a large top margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464801808405840)
,p_theme_id=>42
,p_name=>'RTM_LARGE'
,p_display_name=>'Large'
,p_display_sequence=>40
,p_css_classes=>'margin-top-lg'
,p_group_id=>wwv_flow_api.id(36155464785300405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a large top margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155464902132405840)
,p_theme_id=>42
,p_name=>'FTM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-top-md'
,p_group_id=>wwv_flow_api.id(36155464565891405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a medium top margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465081686405840)
,p_theme_id=>42
,p_name=>'RTM_MEDIUM'
,p_display_name=>'Medium'
,p_display_sequence=>30
,p_css_classes=>'margin-top-md'
,p_group_id=>wwv_flow_api.id(36155464785300405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a medium top margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465106306405840)
,p_theme_id=>42
,p_name=>'FTM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-top-none'
,p_group_id=>wwv_flow_api.id(36155464565891405840)
,p_template_types=>'FIELD'
,p_help_text=>'Removes the top margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465236883405841)
,p_theme_id=>42
,p_name=>'RTM_NONE'
,p_display_name=>'None'
,p_display_sequence=>10
,p_css_classes=>'margin-top-none'
,p_group_id=>wwv_flow_api.id(36155464785300405840)
,p_template_types=>'REGION'
,p_help_text=>'Removes the top margin for this region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465327580405841)
,p_theme_id=>42
,p_name=>'FTM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-top-sm'
,p_group_id=>wwv_flow_api.id(36155464565891405840)
,p_template_types=>'FIELD'
,p_help_text=>'Adds a small top margin for this field.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465442438405841)
,p_theme_id=>42
,p_name=>'RTM_SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'margin-top-sm'
,p_group_id=>wwv_flow_api.id(36155464785300405840)
,p_template_types=>'REGION'
,p_help_text=>'Adds a small top margin to the region.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465606547405841)
,p_theme_id=>42
,p_name=>'DANGER'
,p_display_name=>'Danger'
,p_display_sequence=>30
,p_css_classes=>'t-Button--danger'
,p_group_id=>wwv_flow_api.id(36155465577619405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155465859130405841)
,p_theme_id=>42
,p_name=>'LARGEBOTTOMMARGIN'
,p_display_name=>'Large'
,p_display_sequence=>20
,p_css_classes=>'t-Button--gapBottom'
,p_group_id=>wwv_flow_api.id(36155465739744405841)
,p_template_types=>'BUTTON'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466092001405841)
,p_theme_id=>42
,p_name=>'LARGELEFTMARGIN'
,p_display_name=>'Large'
,p_display_sequence=>20
,p_css_classes=>'t-Button--gapLeft'
,p_group_id=>wwv_flow_api.id(36155465907944405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466279493405841)
,p_theme_id=>42
,p_name=>'LARGERIGHTMARGIN'
,p_display_name=>'Large'
,p_display_sequence=>20
,p_css_classes=>'t-Button--gapRight'
,p_group_id=>wwv_flow_api.id(36155466146093405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466492556405841)
,p_theme_id=>42
,p_name=>'LARGETOPMARGIN'
,p_display_name=>'Large'
,p_display_sequence=>20
,p_css_classes=>'t-Button--gapTop'
,p_group_id=>wwv_flow_api.id(36155466312342405841)
,p_template_types=>'BUTTON'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466651635405841)
,p_theme_id=>42
,p_name=>'LARGE'
,p_display_name=>'Large'
,p_display_sequence=>30
,p_css_classes=>'t-Button--large'
,p_group_id=>wwv_flow_api.id(36155466538979405841)
,p_template_types=>'BUTTON'
,p_help_text=>'A large button.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466891474405841)
,p_theme_id=>42
,p_name=>'DISPLAY_AS_LINK'
,p_display_name=>'Display as Link'
,p_display_sequence=>30
,p_css_classes=>'t-Button--link'
,p_group_id=>wwv_flow_api.id(36155466704979405841)
,p_template_types=>'BUTTON'
,p_help_text=>'This option makes the button appear as a text link.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155466958652405841)
,p_theme_id=>42
,p_name=>'NOUI'
,p_display_name=>'Remove UI Decoration'
,p_display_sequence=>20
,p_css_classes=>'t-Button--noUI'
,p_group_id=>wwv_flow_api.id(36155466704979405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467071737405841)
,p_theme_id=>42
,p_name=>'SMALLBOTTOMMARGIN'
,p_display_name=>'Small'
,p_display_sequence=>10
,p_css_classes=>'t-Button--padBottom'
,p_group_id=>wwv_flow_api.id(36155465739744405841)
,p_template_types=>'BUTTON'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467197785405841)
,p_theme_id=>42
,p_name=>'SMALLLEFTMARGIN'
,p_display_name=>'Small'
,p_display_sequence=>10
,p_css_classes=>'t-Button--padLeft'
,p_group_id=>wwv_flow_api.id(36155465907944405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467208739405841)
,p_theme_id=>42
,p_name=>'SMALLRIGHTMARGIN'
,p_display_name=>'Small'
,p_display_sequence=>10
,p_css_classes=>'t-Button--padRight'
,p_group_id=>wwv_flow_api.id(36155466146093405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467320514405841)
,p_theme_id=>42
,p_name=>'SMALLTOPMARGIN'
,p_display_name=>'Small'
,p_display_sequence=>10
,p_css_classes=>'t-Button--padTop'
,p_group_id=>wwv_flow_api.id(36155466312342405841)
,p_template_types=>'BUTTON'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467550293405842)
,p_theme_id=>42
,p_name=>'PILL'
,p_display_name=>'Inner Button'
,p_display_sequence=>20
,p_css_classes=>'t-Button--pill'
,p_group_id=>wwv_flow_api.id(36155467403604405842)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467664030405842)
,p_theme_id=>42
,p_name=>'PILLEND'
,p_display_name=>'Last Button'
,p_display_sequence=>30
,p_css_classes=>'t-Button--pillEnd'
,p_group_id=>wwv_flow_api.id(36155467403604405842)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467733390405842)
,p_theme_id=>42
,p_name=>'PILLSTART'
,p_display_name=>'First Button'
,p_display_sequence=>10
,p_css_classes=>'t-Button--pillStart'
,p_group_id=>wwv_flow_api.id(36155467403604405842)
,p_template_types=>'BUTTON'
,p_help_text=>'Use this for the start of a pill button.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467882414405842)
,p_theme_id=>42
,p_name=>'PRIMARY'
,p_display_name=>'Primary'
,p_display_sequence=>10
,p_css_classes=>'t-Button--primary'
,p_group_id=>wwv_flow_api.id(36155465577619405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155467992359405842)
,p_theme_id=>42
,p_name=>'SIMPLE'
,p_display_name=>'Simple'
,p_display_sequence=>10
,p_css_classes=>'t-Button--simple'
,p_group_id=>wwv_flow_api.id(36155466704979405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468055124405842)
,p_theme_id=>42
,p_name=>'SMALL'
,p_display_name=>'Small'
,p_display_sequence=>20
,p_css_classes=>'t-Button--small'
,p_group_id=>wwv_flow_api.id(36155466538979405841)
,p_template_types=>'BUTTON'
,p_help_text=>'A small button.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468252082405842)
,p_theme_id=>42
,p_name=>'STRETCH'
,p_display_name=>'Stretch'
,p_display_sequence=>10
,p_css_classes=>'t-Button--stretch'
,p_group_id=>wwv_flow_api.id(36155468197973405842)
,p_template_types=>'BUTTON'
,p_help_text=>'Stretches button to fill container'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468307087405842)
,p_theme_id=>42
,p_name=>'SUCCESS'
,p_display_name=>'Success'
,p_display_sequence=>40
,p_css_classes=>'t-Button--success'
,p_group_id=>wwv_flow_api.id(36155465577619405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468444719405842)
,p_theme_id=>42
,p_name=>'TINY'
,p_display_name=>'Tiny'
,p_display_sequence=>10
,p_css_classes=>'t-Button--tiny'
,p_group_id=>wwv_flow_api.id(36155466538979405841)
,p_template_types=>'BUTTON'
,p_help_text=>'A very small button.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468500813405842)
,p_theme_id=>42
,p_name=>'WARNING'
,p_display_name=>'Warning'
,p_display_sequence=>20
,p_css_classes=>'t-Button--warning'
,p_group_id=>wwv_flow_api.id(36155465577619405841)
,p_template_types=>'BUTTON'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468754841405842)
,p_theme_id=>42
,p_name=>'SHOWFORMLABELSABOVE'
,p_display_name=>'Show Form Labels Above'
,p_display_sequence=>10
,p_css_classes=>'t-Form--labelsAbove'
,p_group_id=>wwv_flow_api.id(36155468687857405842)
,p_template_types=>'REGION'
,p_help_text=>'Show form labels above input fields.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155468946985405842)
,p_theme_id=>42
,p_name=>'FORMSIZELARGE'
,p_display_name=>'Large'
,p_display_sequence=>10
,p_css_classes=>'t-Form--large'
,p_group_id=>wwv_flow_api.id(36155468876769405842)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469166194405842)
,p_theme_id=>42
,p_name=>'FORMLEFTLABELS'
,p_display_name=>'Left'
,p_display_sequence=>20
,p_css_classes=>'t-Form--leftLabels'
,p_group_id=>wwv_flow_api.id(36155469065016405842)
,p_template_types=>'REGION'
,p_help_text=>'Align form labels to left.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469384302405842)
,p_theme_id=>42
,p_name=>'FORMREMOVEPADDING'
,p_display_name=>'Remove Padding'
,p_display_sequence=>20
,p_css_classes=>'t-Form--noPadding'
,p_group_id=>wwv_flow_api.id(36155469212488405842)
,p_template_types=>'REGION'
,p_help_text=>'Removes padding between items.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469441881405842)
,p_theme_id=>42
,p_name=>'FORMSLIMPADDING'
,p_display_name=>'Slim Padding'
,p_display_sequence=>10
,p_css_classes=>'t-Form--slimPadding'
,p_group_id=>wwv_flow_api.id(36155469212488405842)
,p_template_types=>'REGION'
,p_help_text=>'Reduces form item padding to 4px.'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469697681405842)
,p_theme_id=>42
,p_name=>'STRETCH_FORM_FIELDS'
,p_display_name=>'Stretch Form Fields'
,p_display_sequence=>10
,p_css_classes=>'t-Form--stretchInputs'
,p_group_id=>wwv_flow_api.id(36155469512965405842)
,p_template_types=>'REGION'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469733928405843)
,p_theme_id=>42
,p_name=>'FORMSIZEXLARGE'
,p_display_name=>'X Large'
,p_display_sequence=>20
,p_css_classes=>'t-Form--xlarge'
,p_group_id=>wwv_flow_api.id(36155468876769405842)
,p_template_types=>'REGION'
,p_is_advanced=>'N'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155469984219405843)
,p_theme_id=>42
,p_name=>'LARGE_FIELD'
,p_display_name=>'Large'
,p_display_sequence=>10
,p_css_classes=>'t-Form-fieldContainer--large'
,p_group_id=>wwv_flow_api.id(36155469819977405843)
,p_template_types=>'FIELD'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155470195155405843)
,p_theme_id=>42
,p_name=>'POST_TEXT_BLOCK'
,p_display_name=>'Display as Block'
,p_display_sequence=>10
,p_css_classes=>'t-Form-fieldContainer--postTextBlock'
,p_group_id=>wwv_flow_api.id(36155470081897405843)
,p_template_types=>'FIELD'
,p_help_text=>'Displays the Item Post Text in a block style immediately after the item.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155470369762405843)
,p_theme_id=>42
,p_name=>'PRE_TEXT_BLOCK'
,p_display_name=>'Display as Block'
,p_display_sequence=>10
,p_css_classes=>'t-Form-fieldContainer--preTextBlock'
,p_group_id=>wwv_flow_api.id(36155470287363405843)
,p_template_types=>'FIELD'
,p_help_text=>'Displays the Item Pre Text in a block style immediately before the item.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155470534155405843)
,p_theme_id=>42
,p_name=>'DISPLAY_AS_PILL_BUTTON'
,p_display_name=>'Display as Pill Button'
,p_display_sequence=>10
,p_css_classes=>'t-Form-fieldContainer--radioButtonGroup'
,p_group_id=>wwv_flow_api.id(36155470402303405843)
,p_template_types=>'FIELD'
,p_help_text=>'Displays the radio buttons to look like a button set / pill button. Note that the the radio buttons must all be in the same row for this option to work.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155470628514405843)
,p_theme_id=>42
,p_name=>'STRETCH_FORM_ITEM'
,p_display_name=>'Stretch Form Item'
,p_display_sequence=>10
,p_css_classes=>'t-Form-fieldContainer--stretchInputs'
,p_template_types=>'FIELD'
,p_help_text=>'Stretches the form item to fill its container.'
);
wwv_flow_api.create_template_option(
p_id=>wwv_flow_api.id(36155470704187405843)
,p_theme_id=>42
,p_name=>'X_LARGE_SIZE'
,p_display_name=>'X Large'
,p_display_sequence=>20
,p_css_classes=>'t-Form-fieldContainer--xlarge'
,p_group_id=>wwv_flow_api.id(36155469819977405843)
,p_template_types=>'FIELD'
);
end;
/
prompt --application/shared_components/logic/build_options
begin
null;
end;
/
prompt --application/shared_components/globalization/language
begin
null;
end;
/
prompt --application/shared_components/globalization/translations
begin
null;
end;
/
prompt --application/shared_components/globalization/messages
begin
null;
end;
/
prompt --application/shared_components/globalization/dyntranslations
begin
null;
end;
/
prompt --application/shared_components/user_interface/shortcuts
begin
null;
end;
/
prompt --application/shared_components/security/authentications
begin
wwv_flow_api.create_authentication(
p_id=>wwv_flow_api.id(36155471184763405847)
,p_name=>'APEX'
,p_scheme_type=>'NATIVE_DAD'
,p_use_secure_cookie_yn=>'N'
,p_ras_mode=>0
);
end;
/
prompt --application/ui_types
begin
null;
end;
/
prompt --application/user_interfaces
begin
wwv_flow_api.create_user_interface(
p_id=>wwv_flow_api.id(36155470970585405846)
,p_ui_type_name=>'DESKTOP'
,p_display_name=>'Desktop'
,p_display_seq=>10
,p_use_auto_detect=>false
,p_is_default=>true
,p_theme_id=>42
,p_home_url=>'f?p=&APP_ID.:1:&SESSION.'
,p_login_url=>'f?p=&APP_ID.:LOGIN_DESKTOP:&SESSION.'
,p_theme_style_by_user_pref=>false
,p_navigation_list_id=>wwv_flow_api.id(36155308701393405788)
,p_navigation_list_position=>'SIDE'
,p_navigation_list_template_id=>wwv_flow_api.id(36155457574333405821)
,p_nav_list_template_options=>'#DEFAULT#'
,p_nav_bar_type=>'LIST'
,p_nav_bar_list_id=>wwv_flow_api.id(36155470898204405845)
,p_nav_bar_list_template_id=>wwv_flow_api.id(36155457489114405820)
,p_nav_bar_template_options=>'#DEFAULT#'
);
end;
/
prompt --application/user_interfaces/combined_files
begin
null;
end;
/
prompt --application/pages/page_00001
begin
wwv_flow_api.create_page(
p_id=>1
,p_user_interface_id=>wwv_flow_api.id(36155470970585405846)
,p_name=>'Button in Report'
,p_page_mode=>'NORMAL'
,p_step_title=>'Home'
,p_step_sub_title=>'Home'
,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'
,p_first_item=>'NO_FIRST_ITEM'
,p_autocomplete_on_off=>'OFF'
,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
'.SET{',
' margin-left: 10px;',
'}'))
,p_page_template_options=>'#DEFAULT#'
,p_overwrite_navigation_list=>'N'
,p_page_is_public_y_n=>'N'
,p_cache_mode=>'NOCACHE'
,p_last_updated_by=>'[email protected]'
,p_last_upd_yyyymmddhh24miss=>'20171118002304'
);
wwv_flow_api.create_page_plug(
p_id=>wwv_flow_api.id(35199036327490159910)
,p_plug_name=>'Report'
,p_region_name=>'REPORT-WITH-BUTTON'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(36155436866945405806)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select EMPLOYEES.EMPID as EMPID,',
' EMPLOYEES.NAME as NAME,',
' EMPLOYEES.SALARY as SALARY',
' from EMPLOYEES EMPLOYEES'))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_prn_content_disposition=>'ATTACHMENT'
,p_prn_document_header=>'APEX'
,p_prn_units=>'INCHES'
,p_prn_paper_size=>'LETTER'
,p_prn_width=>8.5
,p_prn_height=>11
,p_prn_orientation=>'HORIZONTAL'
,p_prn_page_header_font_color=>'#000000'
,p_prn_page_header_font_family=>'Helvetica'
,p_prn_page_header_font_weight=>'normal'
,p_prn_page_header_font_size=>'12'
,p_prn_page_footer_font_color=>'#000000'
,p_prn_page_footer_font_family=>'Helvetica'
,p_prn_page_footer_font_weight=>'normal'
,p_prn_page_footer_font_size=>'12'
,p_prn_header_bg_color=>'#9bafde'
,p_prn_header_font_color=>'#000000'
,p_prn_header_font_family=>'Helvetica'
,p_prn_header_font_weight=>'normal'
,p_prn_header_font_size=>'10'
,p_prn_body_bg_color=>'#efefef'
,p_prn_body_font_color=>'#000000'
,p_prn_body_font_family=>'Helvetica'
,p_prn_body_font_weight=>'normal'
,p_prn_body_font_size=>'10'
,p_prn_border_width=>.5
,p_prn_page_header_alignment=>'CENTER'
,p_prn_page_footer_alignment=>'CENTER'
);
wwv_flow_api.create_worksheet(
p_id=>wwv_flow_api.id(35199036787731159914)
,p_max_row_count=>'1000000'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'N'
,p_show_notify=>'Y'
,p_download_formats=>'CSV:HTML:EMAIL:XLS:PDF:RTF'
,p_owner=>'[email protected]'
,p_internal_uid=>35199036787731159914
);
wwv_flow_api.create_worksheet_column(
p_id=>wwv_flow_api.id(35199036897483159915)
,p_db_column_name=>'EMPID'
,p_display_order=>10
,p_column_identifier=>'A'
,p_column_label=>'Empid'
,p_column_type=>'NUMBER'
,p_column_alignment=>'RIGHT'
);
wwv_flow_api.create_worksheet_column(
p_id=>wwv_flow_api.id(35199036903342159916)
,p_db_column_name=>'NAME'
,p_display_order=>20
,p_column_identifier=>'B'
,p_column_label=>'Name'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_column(
p_id=>wwv_flow_api.id(35199037055733159917)
,p_db_column_name=>'SALARY'
,p_display_order=>30
,p_column_identifier=>'C'
,p_column_label=>'Salary'
,p_column_type=>'NUMBER'
,p_column_alignment=>'RIGHT'
);
wwv_flow_api.create_worksheet_rpt(
p_id=>wwv_flow_api.id(36164878468907786887)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'361648785'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_display_rows=>50
,p_report_columns=>'EMPID:NAME:SALARY'
,p_flashback_enabled=>'N'
);
wwv_flow_api.create_page_plug(
p_id=>wwv_flow_api.id(35199036462493159911)
,p_plug_name=>'Parameter'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(36155437343245405806)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_button(
p_id=>wwv_flow_api.id(35199036663162159913)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(35199036462493159911)
,p_button_name=>'SAVE_SET_VALUE_IN_SESSION'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(36155460127630405825)
,p_button_image_alt=>'Save Value in Session'
,p_button_position=>'BODY'
,p_warn_on_unsaved_changes=>null
,p_grid_new_row=>'N'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_item(
p_id=>wwv_flow_api.id(35199036593822159912)
,p_name=>'P1_TO_SET_VALUE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(35199036462493159911)
,p_prompt=>'To set value'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_field_template=>wwv_flow_api.id(36155459682431405823)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_da_event(
p_id=>wwv_flow_api.id(35199037146215159918)
,p_name=>'set to set value in session sate'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_api.id(35199036663162159913)
,p_bind_type=>'bind'
,p_bind_event_type=>'click'
);
wwv_flow_api.create_page_da_action(
p_id=>wwv_flow_api.id(35199037205496159919)
,p_event_id=>wwv_flow_api.id(35199037146215159918)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
,p_attribute_01=>'null;'
,p_attribute_02=>'P1_TO_SET_VALUE'
,p_stop_execution_on_error=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_api.create_page_process(
p_id=>wwv_flow_api.id(35199037829466159925)
,p_process_sequence=>10
,p_process_point=>'ON_DEMAND'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'save_value'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'update employees',
'set salary = apex_application.g_x02',
'where empid = apex_application.g_x01;'))
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
end;
/
prompt --application/deployment/definition
begin
null;
end;
/
prompt --application/deployment/install
begin
null;
end;
/
prompt --application/deployment/checks
begin
null;
end;
/
prompt --application/deployment/buildoptions
begin
null;
end;
/
prompt --application/end_environment
begin
wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false));
commit;
end;
/
set verify on feedback on define on
prompt ...done
|
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Waktu pembuatan: 15 Mar 2022 pada 00.07
-- Versi server: 10.4.21-MariaDB
-- Versi PHP: 8.0.12
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: `scii`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `akategoris`
--
CREATE TABLE `akategoris` (
`id` int(10) UNSIGNED NOT NULL,
`judul` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `akategoris`
--
INSERT INTO `akategoris` (`id`, `judul`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'promo', 'promo', '2019-01-03 08:30:37', '2020-12-10 07:23:24'),
(2, 'Powder Coating', 'powder-coating', '2019-01-17 05:03:28', '2019-01-17 05:03:28'),
(3, 'Cat Tembok', 'cat-tembok', '2019-01-22 06:04:33', '2019-01-22 06:04:33'),
(4, 'Cat Tembok Tinting', 'cat-tembok-tinting', '2019-01-22 06:05:04', '2019-01-22 06:05:04'),
(5, 'Cat Spesial', 'cat-spesial', '2019-01-22 06:06:52', '2019-01-22 06:06:52'),
(6, 'Waterproofing', 'waterproofing', '2019-01-22 06:08:13', '2019-01-22 06:08:13'),
(7, 'Cat Lantai', 'cat-lantai', '2019-01-22 06:08:43', '2019-01-22 06:08:43'),
(8, 'Cat Bercahaya', 'cat-bercahaya', '2019-01-30 01:53:22', '2019-01-30 01:53:22'),
(9, 'kegiatan', 'kegiatan', '2020-12-10 06:52:22', '2020-12-10 06:52:22'),
(10, 'artikel', 'artikel', '2020-12-10 06:52:57', '2020-12-10 07:24:39');
-- --------------------------------------------------------
--
-- Struktur dari tabel `artikels`
--
CREATE TABLE `artikels` (
`id` int(10) UNSIGNED NOT NULL,
`judul` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`akategori_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `artikels`
--
INSERT INTO `artikels` (`id`, `judul`, `akategori_id`, `img`, `content`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Gebyar Undian Berhadiah SCI Paint', '1', 'img/artikel/1551848839Gebyar_Undian_2019.jpg', '<p style=\"text-align: justify;\">Ayo ikutan promo <b>\"Gebyar Undian Berhadiah\"</b> Dapatkan kesempatan memenangkan 1 unit mobil Mitsubishi Xpander, 1 unit mobil Honda Brio, 15 unit sepeda motor Yamaha Lexi, 15 unit TV LED Samsung 32\", 30 unit HP Samsung, serta 75 unit sepeda gunung... untuk setiap pembelian produk cat San Central Indah (SCI Paint). <p align=\"center\"><span class=\"fr-video fr-fvc fr-dvb fr-draggable\" draggable=\"true\" contenteditable=\"false\"><iframe src=\"https://www.youtube.com/embed/TjbndqxayJE?wmode=opaque\" allowfullscreen=\"\" class=\"fr-draggable\" style=\"width: 520px; height: 292px;\" __idm_id__=\"518205441\" frameborder=\"0\"></iframe></span></p><p style=\"text-align: justify;\"><br>Berikut adalah syarat dan ketentuannya:</p><ul style=\"list-style-type: circle;\"><li style=\"text-align: justify;\">Periode promo Januari – Mei 2019.</li><li style=\"text-align: justify;\">Setiap pembelian minimal Rp 100.000,- (untuk semua produk PT. SCI) berhak mendapatkan satu lembar kupon undian (berlaku kelipatan).</li><li style=\"text-align: justify;\">Kupon undian dibagi menjadi 3 bagian, satu lembar untuk dimasukkan ke dalam kotak undian, bagian yang lainnya untuk disimpan sebagai bukti pengambilan hadiah (toko & pembeli).</li><li style=\"text-align: justify;\">Kotak undian diambil pada akhir periode undian oleh sales PT. NSI. Pengambilan kotak undian dilakukan dalam jangka waktu 14 hari setelah periode undian selesai.</li><li style=\"text-align: justify;\">Promo tidak berlaku untuk karyawan dan keluarga PT. NSI, PT. SCI, agen, serta penyalur.</li><li style=\"text-align: justify;\">Pajak undian ditanggung oleh pemenang.</li><li style=\"text-align: justify;\">Pengumuman pemenang diinformasikan pada para pemenang melalui surat resmi, email, website, social media, dan pengumuman melalui media massa.</li><li style=\"text-align: justify;\">Hadiah diundi pada Juni 2019 disaksikan oleh notaris dan pejabat yang berwenang.</li><li style=\"text-align: justify;\">Promo berlaku untuk semua konsumen <a href=\"http://www.nusasarana.id\" rel=\"noopener noreferrer\" target=\"_blank\">PT. NSI</a>.</li><li style=\"text-align: justify;\">Kupon undian wajib diisi lengkap agar hadiah bisa diklaim.</li><li style=\"text-align: justify;\">Pada saat pengambilan hadiah, pemenang wajib menyerahkan bukti kupon undian yang sudah distempel toko.</li><li style=\"text-align: justify;\">Hasil pengundian bersifat final dan tidak dapat diganggu gugat.</li><li style=\"text-align: justify;\">Izin Kemensos RI: 44/DYS-PSDBS.PI.01.01/01/2019.</li></ul><p style=\"text-align: justify;\"><b>Tunggu apalagi?</b> Ayo segera beli produk SCI Paint: cat tembok tinting Kem-Tone, cat tembok tinting UltraShield, cat tembok tinting Spectrum, cat tembok tinting ColorTone, cat tembok Tamitex, cat tembok Vinotex, cat tembok Panatex, cat tembok Apollo, cat genteng Tamitex, cat genteng Panatex, cat pelapis anti bocor Tamitex Pro, cat kayu/besi ABC.</p><p></p></p>\n', 'gebyar-undian-berhadiah-sci-paint', '2019-01-03 08:34:42', '2021-05-20 07:45:04'),
(3, 'About Sterling Powder Coatings', '10', 'img/artikel/1593500935Sterling Powder Coatings.png', '<div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Cat Powder Coatings atau pelapis serbuk/bubuk merupakan salah satu sistem pengecatan yang berkembang pesat saat ini. Sistem pengecatan ini tidak mempergunakan bahan cair ataupun pengencer yang biasa dilakukan pada cat konvensional (sitem pengecatan water base dan solvent base). Metode pengecatan powder coatings adalah menggunakan cat yang berbentuk serbuk/bubuk dan dibantu dengan alat semprot electric spray gun (spraybooth). Ketika spraybooth ini dialiri arus listrik, maka cat serbuk/bubuk akan diberi muatan elektrostatik pada saat disemprotkan kepada objek yang akan dilapisi (misal: logam besi dan allumunium). </span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>PT. San Central Indah</b> Mulai Memproduksi Powder Coating Di Bandung - Indonesia Pada Tahun 1990 Dengan Menggunakan Brand Sterling Powder Coatings. Pada Awalnya Wilayah Pemasaran Hanya Meliputi Pulau Jawa Saja Dan Pada Tahun 2000, PT. San Central Indah Mulai Memasarkan Sterling Powder Coatings Ke Seluruh Wilayah Indonesia.</span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Sterling Powder Coatings Saat Ini Didukung Oleh 4 Lines Produksi Dengan Kapasitas Masing-Masing Produksi 300kg/Jam. Selain Itu Didukung Pula Dengan Fasilitas Laboratorium Seperti: Oven Track Recorder, Oven Check For Hot Air Leak, Ticness Meter, Gloss Meter.</span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Sterling Powder Coatings Merupakan Powder Coatings Yang Berkualitas Dan Telah Lulus Pengujian: Weather Resistant Test (Quv A & B), SST (Salt Spray Test), Colour Eye Test, Impact Test, Bending Test, Cross Card, Pencil Hardness.</span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Sterling Powder Coatings Terdiri Dari Produk Polyester Dan Epoxy Polyester. <a href=\"https://sci-paint.com/product/view/sterling-polyester\" target=\"_blank\">Sterling Polyester </a>Adalah Powder Coatings Yang Diformulasikan Secara Khusus Untuk Aplikasi Outdoor, Dimana Ketahanan Terhadap Sinar UV Dan Ketahanan Terhadap Perubahan Cuaca Sangat Diperlukan. Polyester Powder Coating Dapat Diaplikasikan Pada Permukaan Metal Dan Allumunium. Kemudian <a href=\"https://sci-paint.com/product/view/sterling-epoxy-polyester\" target=\"_blank\">Sterling Epoxy Polyester</a> Adalah Powder Coatings Yang Diformulasikan Secara Khusus Untuk Aplikasi Indoor, Dimana Kebutuhan Warna Serta Tingkat Gloss Dapat Disesuaikan Dengan Kebutuhan. Epoxy Polyester Powder Coating Ini Sangat Cocok Untuk: Dish Washing, Electrical Panel, Office Furniture, Kompor Gas, Dll. Dimana Kebutuhan \'Mechanical Property Dan Scratch Resistant\' Sangat Diperlukan. Epoxy Polyester Powder Coating Ini Sangat Baik Di \'Flexibility Dan Flow\'. Mohon Diperhatikan Bahwa Epoxy Polyester Powder Coating Ini Tidak Cocok Digunakan Untuk Aplikasi Outdoor!</span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Sterling Powder Coatings</b> Merupakan Pelapis Serbuk/Bubuk Dengan Hasil Akhir Yang Berkualitas Tinggi Dan Lebih Tahan Lama Serta Memiliki Ketahanan Terhadap Kelembaban, Bahan Kimia, Sinar Ultraviolet, Kondisi Cuaca Ekstrem. Penggunaan Sterling Powder Coatings Dapat Mengurangi Resiko Goresan, Lecet, Korosi, Fading, Dan Masalah Keausan Lainnya.</span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><br></span></div><div style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Sterling Powder Coatings Memberikan Solusi Warna, Daya Tahan, Efisiensi Serta Keunggulan Yang Menarik Lainnya Yaitu Lebih Ramah Terhadap Lingkungan Jika Dibandingkan Dengan Cat Pelapis Konvensional Lain Yang Ada Di Pasaran Saat Ini.</span></div></div>\n', 'about-sterling-powder-coatings', '2019-01-17 05:07:55', '2020-12-10 06:59:26'),
(4, 'Cat Tembok, Jenis dan Karakternya', '10', 'img/artikel/1548138731Cat_Tembok.jpg', '<p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Sebelum mengaplikasikan cat tembok dengan warna sesuai konsep, ada beberapa jenis cat yang perlu diketahui sebagai bahan pertimbangan dalam mengaplikasikannya, diantaranya:</span><h6 style=\"text-align: justify;\"><span style=\"font-size: 18px;\"><b>A. Jenis cat tembok</b></span></h6><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Cat tembok yang bisa digunakan untuk mengecat dinding rumah ada 2 macam yaitu cat tembok untuk interior dan cat tembok untuk eksterior.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>1. Cat untuk eksterior</b></span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Cat untuk bagian luar rumah, digunakan sebagai perlindungan terhadap hujan dan sinar matahari, di samping memberi aspek estetika pada tembok dan juga berfungsi melindungi tembok dari cuaca.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Terpaan sinar matahari dan hujan serta perubahan suhu akibat perubahan cuaca membuat tembok luar cepat mengalami kerusakan,misalnya retak-retak akibat proses pemuaian dan penyusutan. Dibutuhkan cat tembok yang bersifat fleksibel atau berbahan lateks acrillic.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Selain itu, terpaan polusi asap kendaraan sangat mempengaruhi durasi kecemerlangan cat. Untuk itu diperlukan cat eksterior yang tahan terhadap cuaca dan polusi serta memiliki daya tahan yang baik.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Referensi cat tembok untuk eksterior: </span><a href=\"https://www.sci-paint.com/brands/kem-tone\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">Kem-Tone</a><span style=\"font-size: 1rem;\"> dan </span><a href=\"https://www.sci-paint.com/product/view/spectrum-ultrashield\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">UltraShield</a><span style=\"font-size: 1rem;\">.</span></p><p style=\"text-align: justify;\"><b>2. Cat untuk interior</b></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Cat interior digunakan untuk mengecat bagian dalam rumah. Jenis cat ini dapat dilihat dari kehalusan penampilan lapisan cat dan warnanya.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Jenis cat ini juga mudah dibersihkan jika ada noda/kotoran sehingga mudah dalam perawatan dan berbahan dasar air (water based).</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Dilihat dari tingkat kilapnya, biasanya cat tembok berbahan dasar air dapat dibedakan menjadi 2 yaitu doff dan semi kilap. </span><span style=\"font-size: 1rem;\">Referensi cat tembok untuk interior: Kem-Tone, </span><a href=\"https://www.sci-paint.com/brands/spectrum\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">Spectrum</a><span style=\"font-size: 1rem;\"> dan </span><a href=\"https://www.sci-paint.com/brands/colortone\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">ColorTone</a><span style=\"font-size: 1rem;\">.</span></p><p style=\"text-align: justify;\"><b>Sedangkan menurut bahan utamanya cat tembok terdiri dari:</b></p><ul style=\"list-style-type: circle;\"><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Cat tembok berbahan lateks yaitu jenis cat yang pelarutnya berbahan dasar air (water based).</span><br></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Cat tembok berbahan minyak yaitu jenis cat tembok yang pelarutnya berupa pelarut kimia (solvent based).</span></li></ul><p style=\"text-align: justify;\"><b>B. Karakter Cat Tembok</b><br></p><p style=\"text-align: justify;\"><b>Glossy</b><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Jenis ini memiliki 2 tipe yakni high gloss dan semi gloss. High gloss cenderung memantulkan cahaya hingga nampak berkilau. Cocok diaplikasikan untuk eksterior yang sering terpapar sinar matahari semisal pilar rumah. Jenis ini sangat mudah dibersihkan sehingga Anda tidak perlu repot. Sedangkan semi gloss memiliki tingkat kilap lebih rendah namun tidak mudah mengelupas. Cat ini pas digunakan untuk ruangan yang mudah terpapar noda semisal dapur dan kamar mandi. Referensi cat tembok: Kem-Tone Exterior.</span></p><p style=\"text-align: justify;\"><b>Doff atau matte </b></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Cat ini memberi efek kilap pada permukaan. Meski tak sekilap glossy namun tetap terlihat lembut. Sangat berkarakter sehingga nampak menyatu dengan dinding. Cocok diaplikasikan pada dinding luar rumah karena tahan cuaca ekstrem, atau digunakan untuk kamar tidur karena karakternya yang lembut. Referensi cat tembok: ColorTone dan </span><a href=\"https://www.sci-paint.com/brands/vinotex\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"font-size: 1rem; background-color: rgb(255, 255, 255);\">Vinotex</a><span style=\"font-size: 1rem;\">.</span></p><p style=\"text-align: justify;\"><b>Eggshell </b></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Seperti namanya tampilannya mirip kulit telur, sedikit bertekstur namun halus ketimbang matte/doff. Eggshell lebih mudah dibersihkan dan tidak terlalu memantulkan sinar matahari. Cocok diaplikasikan di ruang kerja, ruang keluarga dan atau ruang tamu. Referensi cat tembok: Spectrum.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Satin</b></span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Tampilan mewah namun tidak glossy dan juga tidak terlalu menempel seperti matte/doff. Jenis ini terasa lembut di tangan saat disentuh. Efeknya yang teduh dan tidak memantulkan cahaya cocok untuk diaplikasikan di ruang galeri atau resto. Di rumah akan cocok diaplikasikan di kamar tidur atau ruang tamu. Tipe cat ini juga mudah dibersihkan. Referensi cat tembok: Kem-Tone dan UltraShield.</span></p><p style=\"text-align: justify;\"><b>C. Harga Dan Kualitas</b></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Selain penjelasan di atas, Anda pun harus melakukan estimasi biaya untuk membeli cat tembok. Cara menghitung berapa banyak biaya yang dibutuhkan, maka Anda harus menghitung dulu berapa banyak kebutuhan cat tembok yang diperlukan (dalam jumlah gallon atau pail). Anda bisa gunakan </span><a href=\"https://www.sci-paint.com/paint-calculator\" rel=\"noopener noreferrer\" target=\"_blank\" style=\"font-size: 1rem; background-color: rgb(255, 255, 255);\">kalkulator cat</a><span style=\"font-size: 1rem;\"> untuk memperkirakan berapa banyak kebutuhan cat tembok yang akan digunakan berdasarkan luas area yang akan di cat. Selain itu kualitas cat tembok yang baik tidak hanya memberi rasa puas namun turut mencipta pemandangan indah hunian Anda. Jadi semacam investasi jangka panjang untuk perlindungan maksimal (baca juga: </span><a href=\"https://sci-paint.com/blog/read/cat-tembok-tinting-berkualitas\" target=\"_blank\" style=\"font-size: 1rem; background-color: rgb(255, 255, 255);\">cat tembok tinting berkualitas</a><span style=\"font-size: 1rem;\">).</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Setelah membaca semua uraian di atas maka sebaiknya Anda memilih cat tembok yang sesuai, jika Anda akan mengecat bagian eksterior, gunakan cat khusus untuk eksterior dan sebaliknya pilihlah cat tembok interior untuk mengecat bagian interior rumah Anda.</span></p><p></p></p>\n', 'cat-tembok-jenis-dan-karakternya', '2019-01-22 06:22:47', '2021-05-20 07:42:48'),
(5, 'Sci Ellutech Cat Atau Lampu', '10', 'img/artikel/1548814325SCi_ellutech_Logo.jpg', '<p style=\"text-align: justify;\">Cat seperti lampu bercahaya terang? Apakah Anda sudah pernah mendengarnya? Jika memang cat tersebut bisa bercahaya, maka tidak menutup kemungkinan bahwa rumah modern di masa depan semua temboknya bisa bercahaya sepanjang malam dan tidak lagi membutuhkan lampu untuk meneranginya. Menurut Anda, mungkinkah ini terwujud?<p style=\"text-align: justify;\">SCI Paint sudah sejak lama memikirkan semua kemungkinan di atas. Tim RnD SCI Paint saat ini sudah memasuki tahap pengembangan cat revolusioner dalam bentuk cahaya. Cat revolusioner ini adalah sci ellutech dengan teknologi \"electroluminescent paint\" dan cat ini benar-benar yang pertama kali diciptakan di Indonesia.</p><p style=\"text-align: justify;\">Sci ellutech adalah cat yang secara teknis bersifat electroluminescent yang dapat dianggap sebagai cat yang menyala. Sci ellutech mengkombinasikan bahan-bahan cat dengan listrik dan cahaya menjadi satu bagian cat pelapis bercahaya.</p><p style=\"text-align: justify;\"><br></p><p align=\"center\"><img style=\"width: 100%;\" data-filename=\"123.jpg\" src=\"/img/gambar/15882169320.png\"></p><p align=\"center\"><br></p><p align=\"center\" style=\"text-align: left; \">Sci ellutech pada prinsipnya dapat mengubah apapun menjadi lampu tanpa mengubah bentuk atau fungsinya. Apapun yang bisa Anda lakukan dengan lampu juga dapat Anda lakukan pada sci ellutech:<br></p><ul><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Menyalakan dan mematikannya sesuai kehendak.</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Mengontrol tingkat kecerahan cahayanya (terang atau redup).</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Dan masih banyak yang lainnya.</span></li></ul><p align=\"center\"><!--[if !vml]--></p><p align=\"center\"><img style=\"width: 50%;\" data-filename=\"321.jpg\" src=\"/img/gambar/15882169321.png\"><strong><br></strong></p><p style=\"text-align: justify;\">Sci ellutech adalah cat yang dapat diaplikasikan dalam jumlah desain yang tak terbatas (berbagai pola, bentuk dan fleksibel). Pada tahap pengembangan awal, sci ellutech baru diaplikasikan pada media konduktor dan kedepannya sci ellutech akan dapat diaplikasikan pada hampir semua media baik konduktor (misal: logam) maupun non konduktor (misal: kaca, plastic, tembok, dll).<br></p><p style=\"text-align: center;\"><span style=\"font-size: 1rem;\"><br></span></p><p style=\"text-align: center;\"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/VLjIM7lzS2A\" width=\"640\" height=\"360\" class=\"note-video-clip\"></iframe><span style=\"font-size: 1rem;\"><br></span></p><p style=\"text-align: center;\"><span style=\"font-size: 1rem;\"><br></span></p><p style=\"text-align: center;\"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/ijnBwEKVRxo\" width=\"640\" height=\"360\" class=\"note-video-clip\"></iframe><span style=\"font-size: 1rem;\"><br></span></p><p align=\"center\"><!--[if !vml]--></p><p></p><p></p><p></p><p></p><p></p><p></p></p>\n', 'sci-ellutech-cat-atau-lampu', '2019-01-30 02:12:05', '2021-05-20 07:26:19'),
(6, 'Cat Tembok Tinting Berkualitas', '10', 'img/artikel/1562744600SCIPaint Ads.jpg', '<p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Dalam menentukan cat dinding untuk hunian Anda sebaiknya jangan asal pilih. Pemilihan warna cat pada eksterior maupun interior rumah akan menentukan nilai estetika sebuah hunian. Dalam hal ini kualitas cat yang Anda pilih harus diperhatikan karena hunian tersebut akan ditempati dalam jangka panjang. Untuk itu, warnai dinding di rumah Anda dengan cat berkualitas yang tidak akan membuat Anda menyesal ketika mengoleskannya. Dan inilah 7 faktor yang harus Anda perhatikan saat memilih cat dinding terbaik untuk mewarnai seluruh dinding di rumah Anda.</span><br><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>1. BERKUALITAS PREMIUM</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Dalam memilih cat dinding carilah yang memiliki kualitas premium. Bukan hanya mampu merekat kuat pada dinding sehingga warna tak akan mudah pudar ataupun terkelupas namun antara cat dengan primer sudah menjadi satu kesatuan. Dengan menggunakan cat berkualitas premium, Anda akan mendapati hasil akhir yang memukau setelah proses mengecat rumah telah selesai. Cat premium juga mampu menciptakan kesan hunian tampak mewah dan berkelas berkat kualitas premium yang diusungnya.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>2. TERSEDIA BERAGAM PILIHAN WARNA</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Masih bingung mau menentukan warna yang tepat untuk mewarnai hunian Anda? Sebaiknya pilih produk cat yang menyediakan beragam pilihan warna bahkan hingga mencapai ribuan. Mau memilih warna pastel untuk hunian minimalis Anda atau warna natural untuk mewarnai bagian eksterior rumah semua dapat terwujud segera. Dinding yang dihiasi beragam warna membuat hunian Anda lebih cerah, ceria dan sedap dipandang. Anda pun akan betah berlama-lama tinggal di rumah.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>3. COCOK UNTUK SELURUH BAGIAN RUMAH</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Suka bingung memilih cat untuk interior maupun eksterior rumah? Kini mewarnai dinding interior atau eksterior rumah agar mendapat tampilan hunian yang menawan bukan lagi menjadi masalah. Warna dinding Anda bisa terlihat cerah dan bersih dengan produk cat berkualitas sehingga hunian Anda akan jauh dari kata kusam. Dengan memilih produk cat yang tepat (baca juga: </span><a href=\"https://sci-paint.com/blog/read/cat-tembok-jenis-dan-karakternya\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">cat tembok, jenis dan karakternya</a><span style=\"font-size: 1rem;\">) dengan ribuan koleksi warna maka Anda bebas mewarnai dinding di bagian eksterior dan interior dengan warna-warna favorit. Anda pun tak perlu mengeluarkan anggaran lebih untuk membeli produk cat berbeda saat mewarnai dinding interior dan eksterior rumah. Untuk itu carilah produk cat yang membuat semua dinding di rumah Anda dapat terlapisi sempurna.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>4. VOLUME CAT LEBIH BANYAK</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Memilih cat sesuai bujet juga selalu menjadi pertimbangan ketika hendak mengecat rumah. Maka itu, carilah produk cat yang bisa menghemat anggaran Anda. Tak perlu mencari produk cat dengan harga murah karena bisa saja kualitasnya juga sebanding dengan harga. Anda bisa membeli produk cat dengan harga mahal namun memiliki volume cat di atas rata-rata produk cat tembok sekelas lainnya yang ada dipasaran. Anda pun tidak akan risau apabila kekurangan stock cat ketika mau mewarnai seluruh dinding rumah.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>5. DAYA TUTUP CAT LEBIH BAIK</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Tahap pengecatan adalah salah satu faktor penting dalam pekerjaan interior. Pengecatan sangat dipengaruhi oleh warna, jenis dan kualitas dari cat itu sendiri. Jika cat sudah diaplikasikan namun warna masih belang, artinya cat belum menutup sempurna dan akhirnya harus diulang kembali proses pengecatan. Oleh karena itu pilihlah </span><b style=\"font-size: 1rem;\">cat tembok tinting berkualitas</b><span style=\"font-size: 1rem;\"> yang memiliki daya tutup lebih baik dibandingkan dengan produk cat sekelas lainnya dipasaran.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>6. CAT LEBIH HEMAT</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Pengertian hemat disini adalah bahwa pada saat pengecatan selain cat memiliki daya tutup yang baik juga harus diperhatikan daya sebarnya, apakah cat bisa digunakan untuk area yang lebih luas jika dibandingkan dengan produk cat sekelas lainnya dipasaran.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>7. KUALITAS WARNA TAHAN LAMA</b></span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Warna dinding kusam, cepat kotor hingga berjamur menjadi segelintir permasalahan penghuni rumah ketika menempati huniannya bertahun-tahun. Nah, agar masalah tersebut tidak terjadi pada Anda maka gunakan cat dinding yang berkualitas sebagai pelapis dinding hunian. Formula yang terkandung di dalam cat harus membuat warna dinding mampu bertahan lama. Dengan demikian Anda akan selalu merasa betah beraktivitas di dalam rumah.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Pasti Anda bertanya-tanya, produk cat apakah yang bisa memenuhi 7 faktor tersebut dalam mewarnai dinding rumah? Jawabannya adalah <b>cat tembok tinting</b>: </span><a href=\"https://sci-paint.com/brands/kem-tone\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">Kem-Tone</a><span style=\"font-size: 1rem;\">, UltraShield, Spectrum dan ColorTone. <b>Cat tembok tinting</b>: Kem-Tone, UltraShield, </span><a href=\"https://sci-paint.com/brands/spectrum\" target=\"_blank\" style=\"background-color: rgb(255, 255, 255); font-size: 1rem;\">Spectrum</a><span style=\"font-size: 1rem;\"> dan ColorTone mampu menjawab segala persoalan Anda saat hendak mengecat rumah.</span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Dengan segala keunggulan dari</span><span style=\"font-size: 1rem;\"><b> cat tembok tinting: Kem-Tone, <a href=\"https://sci-paint.com/product/view/spectrum-ultrashield\" target=\"_blank\">UltraShield</a>, Spectrum </b>dan<b> </b><a href=\"https://sci-paint.com/brands/colortone\" target=\"_blank\" style=\"\"><b>ColorTone</b></a> tersebut, masih maukah Anda berpaling ke produk cat yang lain?</span><br></p><div style=\"text-align: justify; \"><br></div></p>\n', 'cat-tembok-tinting-berkualitas', '2019-07-10 07:43:20', '2020-12-10 06:58:29'),
(8, 'Pemenang Gebyar Undian Berhadiah SCI Paint', '1', 'img/artikel/1564557323Pengumuman_Gebyar_Undian_SCIPaint.png', '<p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>Gebyar Undian Berhadiah SCI Paint</b></span><span style=\"font-size: 1rem;\"> untuk periode Januari s/d Mei 2019 yang diadakan oleh pihak PT. Nusa Sarana Indonesia (NSI) selaku distributor tunggal PT. San Central Indah (SCI Paint) telah selesai dilaksanakan dan ditutup secara resmi pada tanggal 31 Mei 2019. Semua kupon yang dikumpulkan ini berasal dari toko-toko bangunan yang tersebar di berbagai wilayah Indonesia, jumlah kupon yang terkumpul sangat banyak sekali dan ini menunjukkan bahwa loyalitas konsumen terhadap produk-produk SCI Paint (cat tembok tinting Kem-Tone, cat tembok tinting UltraShield, cat tembok tinting Spectrum, cat tembok tinting ColorTone, cat tembok Tamitex, cat tembok Vinotex, cat tembok Panatex, cat tembok Apollo, cat genteng Tamitex, cat genteng Panatex, cat pelapis anti bocor Tamitex Pro, cat kayu/besi ABC) masih tetap tinggi.</span><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Penarikan undian diadakan di <b>The Trans Luxury Hotel</b> Bandung pada tanggal 20 Juli 2019. Proses pengundian untuk hadiah utama dan hadiah hiburan, dilaksanakan secara terbuka di hadapan para tamu undangan dan beberapa perwakilan toko bangunan dari seluruh Indonesia. Notaris, perwakilan dinas sosial, dan pihak kepolisian selaku saksi pengundian pun, turut memastikan transparansi serta kelancaran jalannya penarikan undian. </span><br></p><p style=\"text-align: justify;\"><img data-filename=\"Pengundian_Grand_Prize_SCI_Paint.jpg\" style=\"width: 719.172px; height: 403.948px;\" src=\"/img/gambar/15882170220.png\"><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Adapun nilai hadiah yang dibagikan terdiri dari hadiah grand prize: 1 unit mobil Mitsubishi Xpander dan 1 unit mobil Honda Brio, kemudian ada juga hadiah hiburan: 15 unit sepeda motor Yamaha Lexi, 15 unit Samsung Smart TV LED 32\", 30 unit HP Samsung Galaxy A6, serta 75 unit sepeda Polygon Monarch 4. </span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Berikut ini adalah para pemenang <b>Gebyar Undian Berhadiah SCI Paint</b> untuk periode bulan Januari s/d Mei 2019 yang terpilih dari hasil penarikan undian pada tanggal 20 Juli 2019 di <b>The Trans Luxury Hotel</b><span style=\"font-weight: bold;\"> </span>Bandung:</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Konsumen SCI Paint yang beruntung mendapatkan hadiah grand prize pertama, yaitu 1 unit mobil <b>Mitsubishi Xpander</b> adalah konsumen dari cabang Bandung - Bapak <b>Adi Nugroho (3318012705950002).</b> Kemudian konsumen SCI Paint yang beruntung mendapatkan hadiah grand prize kedua, yaitu 1 unit mobil <b>Honda Brio</b> adalah konsumen dari cabang Jambi - <b>Ibu Susanti (1571084608630001).</b></span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Para pemenang hadiah hiburan dapat dilihat pada daftar di bawah ini:</span><br></p><p style=\"text-align: justify;\"><img data-filename=\"Pemenang_Hadiah_Hiburan_1.png\" style=\"width: 723.172px; height: 850.975px;\" src=\"/img/gambar/15882170221.png\"></p><p style=\"text-align: justify;\"><br></p><p style=\"text-align: justify;\"><img data-filename=\"Pemenang_Hadiah_Hiburan_2.png\" style=\"width: 723.172px; height: 939.407px;\" src=\"/img/gambar/15882170222.png\"><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem; font-weight: bold;\"><br></span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Syarat dan ketentuan</b></span><span style=\"font-size: 1rem;\"> untuk pengambilan hadiah:</span><br></p><ul><li style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Pemenang akan dihubungi via telepon sesuai nomor yang tertera di kupon undian.</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Hadiah dapat diambil di toko tempat pemenang membeli produk SCI Paint dengan menunjukkan kartu identitas pribadi dan potongan kupon undian.</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Pajak hadiah sebesar 25% ditanggung oleh pemenang.</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Hadiah tidak dapat diuangkan.</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Hadiah Mobil & Motor dalam kondisi On The Road (OTR).</span></li><li style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Warna hadiah sesuai persediaan.</span></li></ul><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>PERINGATAN:</b></span><span style=\"font-size: 1rem;\"> Waspada terhadap penipuan yang mengatasnamakan PT. NUSA SARANA INDONESIA dengan meminta transfer ke rekening tertentu.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Daftar nama pemenang <b>Gebyar Undian Berhadiah SCI Paint</b><span style=\"font-weight: bold;\"> </span>diumumkan di koran <b>KOMPAS</b> hari Rabu, 31 Juli 2019 dan di www.nusasarana.id atau bisa menghubungi langsung via nomor telepon distributor kami di: Bandung (022) 6037701, Jakarta (021) 29047288, Bekasi (021) 89521039, Purwokerto (0281) 6440906, Semarang (024) 3544811, Yogyakarta (0274) 4986837, Surabaya (031) 99001467, Denpasar (0361) 417129, Lampung (0721) 771908, Palembang (0711) 415086, Jambi (0741) 572560, Medan (061) 6642168, Batam (0778) 8073030, Makassar (0411) 4730338.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Selamat kepada para pemenang,</b> Dan kami dari PT. San Central Indah (SCI Paint) dan PT. Nusa Sarana Indonesia (NSI) mengucapkan terima kasih atas partisipasinya dalam <b>Gebyar Undian Berhadiah SCI Paint </b>ini.</span><br></p><p></p><p></p></p>\n', 'pemenang-gebyar-undian-berhadiah-sci-paint', '2019-07-31 07:15:23', '2020-09-04 07:22:54'),
(9, 'Tips dan trik cat tembok vinotex', '10', 'img/artikel/1574994597New Vinotex.jpg', '<p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Ingin memiliki suasana rumah yang lebih segar dan ceria? Gak usah bingung, Anda tinggal mengganti </span><span style=\'font-size: 1rem; font-family: \"Axiata Book Bold\";\'><span style=\"font-family: SamsungOne-400;\"><b>cat tembok</b></span></span><span style=\"font-size: 1rem;\"> di rumah Anda dengan warna yang baru. Selain itu Anda tidak perlu keluar biaya untuk menyewa tukang, cukup dikerjakan sendiri. </span><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Mengecat tembok tidaklah sulit walaupun memerlukan sedikit perencanaan, namun saat dilakukan dengan benar, dapat memberikan suasana yang berbeda dalam ruangan. Jika Anda ingin mengecat tembok dengan cara yang benar, Anda tidak akan melewatkan perencanaan dan terjun langsung. Namun, dengan sedikit pemikiran dan pelaksanaan, mengecat tembok Anda sendiri dapat memberi kepuasan dan semangat. Mulailah dengan menyiapkan peralatan dan memilih cat serta tembok yang berkualitas.</span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Setelah segala kebutuhan sudah dipersiapkan, selanjutnya perhatikan cara mengecat tembok rumah yang tepat dan benar dari <a href=\"https://www.sci-paint.com/product/view/vinotex-cat-tembok\" target=\"_blank\"><b>cat tembok Vinotex</b></a>. Hal ini penting sekali agar bisa mendapatkan hasil yang memuaskan dan agar cat tembok lebih awet, tidak mudah terkelupas.</span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\"><b>1. Persiapkan Permukaan</b></span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Permukaan yang akan dicat harus kering dan bersih, bebas dari debu, kotoran dan minyak. Lubang kecil atau retakan halus sebaiknya diperbaiki dahulu sebelum dicat dengan menggunakan <b>dempul/plamir/plamur Vinotex</b>.</span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Lindungi bagian yang tak ingin dicat dengan lakban, kertas atau pita perekat. Pembatas antara dinding dan lantai, jendela dan bingkai, jendela biasanya harus ditutupi agar tidak terkena noda cat. Setelah selesai, segera cabut pita perekat sebelum cat dinding mengering agar cat tidak ikut tercabut. </span><span style=\"font-size: 1rem;\">Untuk persiapan permukaan ada dua hal yang perlu diperhatikan dari langkah pertama ini.</span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">a. Permukaan baru:</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Untuk hasil sempurna, biarkan tembok baru benar-benar kering.</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">b. Permukaan lama:</span></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Apabila daya lekat dan kondisi cat lama masih baik, permukaan dinding bisa langsung dicat. Untuk hasil yang terbaik, kerok cat yang terkelupas sampai bersih dan amplas permukaan hingga rata.</span></p><p style=\"text-align: justify;\"><b style=\"font-size: 1rem;\">2. Cara Penggunaan</b><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Aduk terlebih dahulu sebelum digunakan. Pada bagian pengenceran gunakan tambahan air 10% untuk lapisan pertama dan 15% untuk lapisan berikutnya. Gunakan air bersih untuk pengenceran.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Pakailah alat pelindung mata pada saat pengamplasan dan pengecatan. Pastikan ada ventilasi yang cukup selama pengecatan dan pengeringan. Apabila tidak cukup ventilasi, pakailah alat pelindung respirator yang sesuai. Bila terkena kulit, bersihkan segera dengan air dan sabun.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>3. Gunakan Kuas Kecil Pada Bagian yang Sempit</b></span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Alat pengecat berupa roller tidak bisa diaplikasikan di semua bagian dinding, hanya pada area yang luas saja. Sementara untuk area yang sulit seperti sudut ruangan, gunakan kuas kecil selebar dua inci.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Selanjutnya untuk trik mengecat dengan rata adalah dengan membuat gerakan zig-zag dari atas ke bawah berulang kali sampai dinding tertutup rata. </span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Jika Anda menggunakan <b>cat tembok Vinotex</b>, lakukan pengaplikasiannya 3-4 lapis. Mengapa harus <b>cat tembok Vinotex</b>? Karena <b>cat tembok Vinotex</b> adalah cat interior-eksterior dengan kualitas mutu terjamin. <b>Cat tembok Vinotex</b> adalah cat tembok yang bebas merkuri dan timbal, sehingga aman untuk anggota keluarga yang beraktivitas di dalam rumah.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Cat tembok Vinotex</b> memiliki resin terbaik sehingga tidak mudah mengelupas. Menggunakan pigmen warna pilihan sehingga menghasilkan warna cerah dan tidak mudah pudar.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Hasil <b>cat tembok Vinotex</b> untuk waktu kering bisa disentuh adalah 30 menit, ini tergantung pada sirkulasi, suhu dan kelembapan udara. Untuk kering sempurna membutuhkan waktu 4-10 jam.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>4. Pembersihan Peralatan</b></span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Segera cuci peralatan dengan air bersih, supaya lebih awet dan bisa digunakan untuk kesempatan berikutnya.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>5. Cara Simpan dan Penanganannya</b></span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Kemasan cat harus selalu tertutup rapat dan jauhkan dari jangkauan anak-anak. Bila cat tumpah, taburkan pasir atau tanah pada daerah yang tertumpah. Jangan membuang sisa cat ke dalam selokan atau anak sungai. Buanglah ke tempat-tempat yang diijinkan menurut peraturan yang ada. Kemasan hanya dipergunakan untuk menyimpan cat.</span><br></p><p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\"><b>Selamat mencoba!</b></span><br></p><div style=\"text-align: justify;\"><br></div><p></p></p>\n', 'tips-dan-trik-cat-tembok-vinotex', '2019-11-29 02:29:57', '2020-12-10 06:58:00'),
(10, 'Spectrum Go Mural at Skywalk Pangandaran', '9', 'img/artikel/1598849588Mural Skywalk Pangandaran 1.jpg', '<p style=\"text-align: justify; \">Program penataan pantai Pangandaran dimulai sejak bulan September 2020 yang ditujukan untuk pembangunan sejumlah fasilitas publik di pantai Pangandaran. Diantaranya sarana pedestrian atau area pejalan kaki di kawasan taman pantai, menara life guard, tempat duduk, gajebo, shower, toilet, <b>skywalk</b>, adventure plyground, panggung pertunjukan dan gerbang. Dan semuanya telah berhasil diselesaikan pembangunannya pada bulan Desember 2019 lalu. <p style=\"text-align: center;\"><img data-filename=\"Pantai Pangandaran.jpg\" style=\"width: 587.609px; height: 330.188px;\" src=\"/img/gambar/15988556240.png\"><br></p><p style=\"text-align: justify; \">Hal itu agar tujuan mempercantik kawasan pantai Pangandaran yang ditargetkan guna menyedot lebih banyak kunjungan wisatawan di tahun 2020, nantinya bisa terwujud. Maka dari itu, sesuai arahan dari <b>Bupati Pangandaran H. Jeje Wiradinata </b>mengatakan bahwa proyek penataan Pantai Pangandaran akan dilanjutkan pada tahap 2 di tahun 2020 ini. </p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Pangandaran tahun ini akan mulai menyambungkan Pantai Barat dan Pantai Batu Hiu melalui jalur pantai dengan waktu tempuh diperkirakan hanya 10 hingga 15 menit. </span><b style=\"font-size: 1rem;\">Skywalk</b><span style=\"font-size: 1rem;\"> di Pantai Barat Pangandaran juga akan segera ditata dengan baik, karena di situ pusat keramaian, tahun ini akan mulai di mural.</span></p><p style=\"text-align: center;\"><img data-filename=\"Mural Skywalk Pangandaran 2.jpg\" style=\"width: 489.827px; height: 340.812px;\" src=\"/img/gambar/15988623821.png\"><span style=\"font-size: 1rem;\"><br></span></p><p style=\"text-align: justify; \">Demi mewujudkan arahan <b>Bupati Pangandaran H. Jeje Wiradinata</b> tersebut, maka kami dari pihak PT. San Central Indah (SCI Paint) dan PT. Nusa Sarana Indonesia (NSI) memberikan bantuan pengadaan produk <b>\'cat tembok tinting Spectrum\'</b> untuk mendukung program mural di pantai Pangandaran. Kami telah bekerjasama dengan para seniman dari komunitas seni lukis mural yang ada di Kabupaten Pangandaran untuk mempercantik Kawasan wisata pantai Pangandaran.</p><p style=\"text-align: center;\"><img data-filename=\"Serah Terima Spectrum di Pangandaran.jpg\" style=\"width: 480.301px; height: 370.094px;\" src=\"/img/gambar/15988556242.png\"><br></p><p style=\"text-align: justify; \">Beberapa bangunan pemerintahan serta fasilitas publik di kawasan wisata pantai Pangandaran akan dipercantik dengan menggunakan <b>\'cat tembok tinting Spectrum\'</b>. Fokus utama adalah mempercantik <b>Skywalk</b> dengan lukisan mural, karena diyakini akan menjadi pusat berkumpulnya pengunjung; Warga yang hobi swafoto akan terpuaskan dengan lukisan mural yang luar biasa. Selain <b>Skywalk</b>, pos pengamat pantai, poot taman bunga, bogie banker juga akan dipercantik dengan pengecatan lukis mural.</p><p style=\"text-align: center;\"><img data-filename=\"Mural Pangandaran.jpg\" style=\"width: 422.428px; height: 593.094px;\" src=\"/img/gambar/15988556243.png\"><br></p><p style=\"text-align: justify; \">Pengerjaan lukisan mural di <b>sky walk Pangandaran</b> dan sekitarnya sudah mulai dikerjakan pada tanggal 18 Agustus 2020 lalu, tepat sehari sesudah perayaan hari kemerdekaan RI ke-75. Dan saat artikel ini dibuat Pengerjaan lukisan mural di sky walk Pangandaran dan sekitarnya masih tetap berlangsung.</p><p style=\"text-align: center;\"><img data-filename=\"Mural Skywalk Pangandaran.jpg\" style=\"width: 506.797px; height: 381.06px;\" src=\"/img/gambar/15988623824.png\"><br></p><p style=\"text-align: justify; \">Apakah Anda penasaran bagaimana hasil akhir dari pengerjaan <b>lukisan</b> <b>mural di sky walk Pangandaran</b> dan sekitarnya tersebut?... Ayo segera datang dan saksikan langsung bagaimana proses pengerjaannya dan mari kita dukung para seniman mural Pangandaran agar terus semangat untuk menghasilkan banyak karya seni yang lebih indah.</p><p style=\"text-align: justify; \"><br></p><p style=\"text-align: center;\"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/XsMVFalxGQA\" width=\"640\" height=\"360\" class=\"note-video-clip\"></iframe><br></p><p style=\"text-align: justify;\"><span style=\"font-family: SamsungOne-400; color: rgb(255, 255, 255);\">#Skywalk Pangandaran #Mural Skywalk Pangandaran #Cat Tembok Tinting #Spectrum #Pantai Pangandaran #Cat Tembok #Mural #Pangandaran #Cat Tembok Spectrum #Cat Tinting</span></p><p></p><p></p><p></p><p></p></p>\n', 'spectrum-go-mural-at-skywalk-pangandaran', '2020-08-31 04:53:08', '2020-12-10 06:57:19'),
(11, 'Mewarnai stasiun Kereta Api Indonesia', '9', 'img/artikel/1607932557PT.San-Central-Indah_CSR_Kerteta-Api-Indonesia.jpg', '<p style=\"text-align: justify; \">SCI Paint berbagi warna bersama PT. Kereta Api Indonesia pada bulan Juli 2020; Program ini diselenggarakan oleh pihak PT. San Central Indah melalui program CSR 2020. <p style=\"text-align: justify; \">Kami dari pihak PT. San Central Indah mengucapkan terima kasih kepada semua pihak yang telah turut mendukung dan mensukseskan program CSR 2020 ini.</p><p style=\"text-align: justify; \">Tak lupa kami ucapkan terima kasih kepada Direksi dan karyawan di PT. Kereta Api Indonesia atas perhatian dan kerjasamanya dalam kegiatan ini.</p><p style=\"text-align: justify; \">Berikut video dkumentasinya:</p><p style=\"text-align: justify; \"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/lHnDvIkPDvM\" width=\"640\" height=\"360\" class=\"note-video-clip\"></iframe><br></p></p>\n', 'mewarnai-stasiun-kereta-api-indonesia', '2020-12-14 07:55:57', '2021-05-05 13:59:03'),
(12, 'San Central Indah Peduli Rumah Ibadah', '9', 'img/artikel/1607934525PT.San-Central-Indah_CSR_Peduli_Rumah_Ibadah.jpg', '<p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Baru-baru ini PT. San Central Indah aktif dalam kegiatan CSR dalam bentuk program pemberian cat gratis, termasuk kegiatan \"Peduli Rumah Ibadah\". Pembagian cat gratis ini pada awalnya hanya khusus ditujukan untuk rumah-rumah ibadah yang berada di sekitaran pabrik PT. San Central Indah dan kawasan Bandung Barat. Namun dikarenakan banyaknya permohonan (dalam bentuk proposal) dari wilayah di luar Bandung Barat, maka program </span><span style=\"font-size: 1rem;\">\"Peduli Rumah Ibadah\" pun mulai berjalan dibeberapa wilayah di luar Bandung Barat.</span><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Selain pembagian cat untuk rumah-rumah ibadah PT. San Central Indah juga</span><span style=\"font-size: 1rem;\"> turut berpartisipasi dalam pemberian cat gratis untuk memperindah/mempercantik kawasan kampung di sekitaran wilayah Bandung Barat, diantaranya seperti </span><span style=\"font-size: 1rem;\">program Spectrum mewarnai Lembur Tohaga Lodaya. </span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Kegiatan ini merupakan hasil kerjasama program CSR PT. San Central Indah dengan pihak panitia \"Lembur Tohaga Lodaya\" RW 08 Desa Cihanjuang Kecamatan Parongpong Kabupaten Bandung Barat yang diadakan pada bulan September 2020. </span></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Berikut video dokumentasinya:</span></p><p style=\"text-align: justify; \"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/tAxsSoIAcTs\" width=\"640\" height=\"360\" class=\"note-video-clip\"></iframe><span style=\"font-size: 1rem;\"><br></span></p><p></p></p>\n', 'san-central-indah-peduli-rumah-ibadah', '2020-12-14 08:28:45', '2021-05-05 14:09:27'),
(13, 'Kampung Warna Warni Babakan Sari', '9', 'img/artikel/1607935064PT.San-Central-Indah_CSR_Kampung-Warna-Warni-Babakan-Sari.jpg', '<p style=\"text-align: justify; \">Sebagai bentuk kepedulian dan tanggung jawab sosial PT. San Central Indah (SCI Paint) terhadap masyarakat, maka pihak perusahaan memberikan bantuan pengadaan cat tembok Vinotex untuk pengecatan di beberapa lokasi seperti: rumah ibadah (mesjid), rumah-rumah warga (kampung warna-warni). <p style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Pada video ini PT. San Central Indah (SCI Paint) memberikan bantuan cat tembok Vinotex untuk pengecatan kampung warna-warni di Babakan Sari - RW 06 Desa Batujajar Barat - Kabupaten Bandung Barat.</span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Kami segenap pimpinan dan karyawan PT. San Central Indah (SCI Paint) mengucapkan terima kasih yang sebesar-besarnya kepada Kepala Desa serta perangkat Desa Batujajar Barat dan juga Ketua RW serta warga RW 06 atas sambutannya dan kerjasamanya yang luar biasa, sehingga program CSR ini berjalan dengan baik dan sukses.</span></p><p><span style=\"font-size: 1rem;\"><br></span></p><p></p><div style=\"text-align: center;\"><iframe frameborder=\"0\" src=\"//www.youtube.com/embed/3p28f0H_hEU\" width=\"640\" height=\"360\" class=\"note-video-clip\" style=\"font-size: 1rem;\"></iframe></div><br><p></p></p>\n', 'kampung-warna-warni-babakan-sari', '2020-12-14 08:37:44', '2021-05-05 13:42:14');
INSERT INTO `artikels` (`id`, `judul`, `akategori_id`, `img`, `content`, `slug`, `created_at`, `updated_at`) VALUES
(14, 'Spectrum Cat Tembok Keluarga Indonesia', '10', 'img/artikel/1607935251Cat-Spectrum-Indonesia.jpg', '<p style=\"text-align: justify; \"><span style=\"font-family: interstate-light;\">Akhir-akhir ini keluarga Indonesia mulai ramai membicarakan bahwa cat tembok yang menggunakan teknologi mesin tinting adalah cat tembok berkualitas tinggi. Dan orang pun mulai banyak yang mencari dan menggunakan cat tembok tinting untuk mengecat rumahnya.</span><p style=\"text-align: justify; \"><span style=\"color: rgb(33, 37, 41); font-size: 1rem; font-family: interstate-bold;\"><span style=\"font-family: interstate-light;\"><b>Apakah tinting itu?...</b></span></span><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Tinting adalah istilah sederhana dari proses pencampuran berbagai warna untuk menghasilkan warna tertentu yang diinginkan. Tinting itu ibarat memasak masakan, dimana semua bumbu dimasukkan lalu diaduk hingga matang dan akhirnya siap dihidangkan. Proses tinting/pewarnaan tersebut dibuat pada sebuah mesin tinting yang berteknologi canggih dengan tingkat akurasi warna yang sangat baik.</span></p><p style=\"text-align: justify; \"><b>Apakah benar cat tembok tinting itu berkualitas tinggi?... </b><br></p><p style=\"text-align: justify; \"><span style=\"font-size: 1rem;\">Ya!.. Makanya level cat tembok tinting ini berada di posisi kelas menengah ke atas jika dilihat dari kisaran harganya.</span></p><p style=\"text-align: justify; \"><b>Apa keunggulan cat tembok tinting dibanding cat tembok biasa yang ready mix (non-tinting)?...</b><br></p><ul><li style=\"text-align: justify;\"><span style=\"font-size: 1rem;\">Pilihan warna tersedia lebih banyak, sehingga memudahkan konsumen untuk mengkombinasikan warna-warna yang harmonis untuk rumahnya. </span></li><li style=\"text-align: justify;\"><span style=\"font-family: interstate-light;\">Warna-warna khusus/custom pun dapat dibuat selama masih dalam batas kemampuan mesin. </span></li><li style=\"text-align: justify;\"><span style=\"font-family: interstate-light;\">Tidak takut stock warna kosong/langka. </span></li><li style=\"text-align: justify;\"><span style=\"font-family: interstate-light;\">Proses pembuatan sangat cepat dan dikerjakan langsung ditempat, bukan di pabrik.</span></li></ul><p style=\"text-align: justify; \"><span style=\"font-family: interstate-light; font-size: 1rem;\">Selain hal-hal di atas, dari sisi penjual, cat tembok tinting memberikan benefit dan kontribusi yang sangat besar dalam hal pengaturan stock barang. Kenapa?... Karena tidak perlu menyimpan banyak warna di gudang, tetapi cukup beberapa jenis base saja, alias tidak seribet cat tembok biasa (ready mix). </span><br></p><p style=\"text-align: justify; \"><span style=\"font-family: interstate-light; font-size: 1rem;\">Nah mulai sekarang mari kita beralih ke cat tembok tinting yang benar-benar berkualitas seperti cat tembok tinting </span><b style=\"font-family: Arial; font-size: 1rem;\"><a href=\"https://sci-paint.com/brands/spectrum\" target=\"_blank\"><span style=\"font-family: interstate-light;\">Spectrum</span></a></b><span style=\"font-family: interstate-light; font-size: 1rem;\"> catnya keluarga Indonesia..!</span></p><p></p><p></p><p></p><p></p></p>\n', 'spectrum-cat-tembok-keluarga-indonesia', '2020-12-14 08:40:51', '2021-05-20 07:15:16'),
(15, 'Tips Pengecatan Cat Tembok Kem-Tone', '10', 'img/artikel/1620193279Tips Pengecatan Kem-Tone.jpg', '<p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light; font-size: 1rem;\">Dalam semua kasus pengecatan, disamping kualitas cat temboknya sendiri, faktor lain yang sama pentingnya adalah keadaan permukaan yang akan dicat. Banyak sekali kasus kegagalan dalam pengecatan disebabkan karena kurang dipersiapkannya permukaan yang akan dicat. Berikut ini, kami mencoba untuk menjelaskan cara-cara pengecatan yang menurut pengalaman kami selama ini akan mengurangi kegagalan.</span><br><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-weight: bolder; font-family: interstate-light; font-size: 1rem;\">Permukaan Tembok Semen Baru</span><br></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Khusus untuk permukaan tembok semen yang baru, harus dipastikan bahwa permukaan tembok tersebut benar-benar kering (minimal 30 hari). Kadar kelembaban permukaan tembok dapat diukur dengan sebuah alat moisture meter (khusus untuk tembok semen). Kelembaban yang tinggi menunjukkan belum keringnya permukaan tembok tersebut. Kadar basa (alkali) permukaan tembok juga sebaiknya diukur dengan pensil pH. Idealnya, pH permukaan tembok harus dibawah 12. Untuk pH diatas 12, harus dinetralkan dahulu dengan larutan 3% phosphoric acid dan 2% zink chloride lalu dibilas dengan air bersih. Apabila tembok telah benar-benar kering, pastikan bahwa kotoran-kotoran dan debu yang mungkin melekat pada permukaan tembok harus dibersihkan dahulu.</span></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Setelah dipersiapkan, permukaan tembok baru bagian interior yang telah kering dapat langsung dicat dengan satu lapis </span><span style=\"font-family: Arial;\"><a href=\"https://sci-paint.com/product/view/kem-tone-alkali-resisting-primer\" target=\"_blank\"><span style=\"font-family: interstate-light;\">Kem-Tone Alkali Resisting Primer</span></a><span style=\"font-family: interstate-light;\"> atau </span><a href=\"https://sci-paint.com/product/view/kem-tone-3-in-1-alkali-resisting-primer-solvent-base\" target=\"_blank\"><span style=\"font-family: interstate-light;\">Kem-Tone 3 in 1 Primer</span></a><span style=\"font-family: interstate-light;\"> tanpa diencerkan</span><span style=\"font-weight: bolder; font-family: interstate-light;\">. </span><span style=\"font-family: interstate-light;\">Setelah kering, aplikasikan dua lapis </span><a href=\"https://sci-paint.com/product/view/kem-tone-satin-finish-paint\" target=\"_blank\"><span style=\"font-family: interstate-light;\">Kem-Tone Satin Finish Paint</span></a><span style=\"font-family: interstate-light;\"> atau </span><a href=\"https://sci-paint.com/product/view/kem-tone-flat-finish-paint\" target=\"_blank\"><span style=\"font-family: interstate-light;\">Kem-Tone Flat Finish Paint</span></a><span style=\"font-family: interstate-light;\"> tanp</span></span><span style=\"font-family: interstate-light;\">a diencerkan.</span></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-size: 1rem;\"><span style=\"font-family: interstate-light;\">Penggunaan plamuur atau dempul tembok sangat tidak dianjurkan, terutama untuk tembok eksterior. Untuk permukaan tembok semen interior, jika penggunaan dempul tidak bisa dihindari, gunakan hanya </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-wall-filler\" target=\"_blank\">Kem-Tone Wall Filler</a></span></span><span style=\"font-family: interstate-light;\">. Penggunaan dempul merk lain bisa menimbulkan ketidakcocokan system (incompatibility), dan hasilnya tidak bisa dijamin. Bersihkan permukaan tembok dari debu bekas amplas dengan lap basah sebelum dicat.</span></span><br></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Untuk permukaan tembok eksterior, aplikasikan satu lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-3-in-1-alkali-resisting-primer-solvent-base\" target=\"_blank\">Kem-Tone 3 in 1 Primer</a></span></span><span style=\"font-family: interstate-light;\"> atau </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-exterior-alkali-resisting-primer\" target=\"_blank\">Kem-Tone Exterior Alkali Resisting Primer</a></span></span><span style=\"font-family: interstate-light;\"> tanpa pengenceran. Setelah kering aplikasikan dua lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-exterior\" target=\"_blank\">Kem-Tone Exterior Satin Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> tanpa pengenceran.</span></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-weight: bolder; font-family: interstate-light; font-size: 1rem;\">Permukaan Tembok Gypsum</span><br></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Khusus untuk permukaan gypsum, bersihkan dahulu debu-debu gypsum yang biasanya timbul dari pengamplasan sambungan gypsum menggunakan lap basah. Setelah kering, beri satu lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-alkali-resisting-primer\" target=\"_blank\">Kem-Tone Alkali Resisting Primer</a></span></span><span style=\"font-family: interstate-light;\"> pada seluruh permukaan tembok. Pemberian primer ini sangat diperlukan dalam menyeragamkan daya serap permukaan gypsum untuk menghindari tampaknya sambungan pada gypsum board setelah pengecatan akhir. Setelah primernya kering, beri dua lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-satin-finish-paint\" target=\"_blank\">Kem-Tone Satin Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> atau </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-flat-finish-paint\" target=\"_blank\">Kem-</a></span><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-flat-finish-paint\" target=\"_blank\">em-</a></span><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-flat-finish-paint\" target=\"_blank\">Tone Flat Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> tanpa diencerkan.</span></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Untuk plafon gypsum, dianjurkan untuk menggunakan </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-gypsum-ceiling-paint\" target=\"_blank\">Kem-Tone Gypsum & Ceilling Paint</a></span></span><span style=\"font-family: interstate-light;\"> sebagai top-coat (cat akhir).</span></p><p style=\"text-align: justify; margin-left: 25px;\"><b>Permukaan GRC</b></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-size: 1rem;\">Untuk permukaan panel GRC (Glass-fiber Reinforced Concrete), disarankan untuk menghubungi produsen panel tersebut untuk mengetahui jenis release agent yang digunakan dalam proses pembuatan panel GRC tersebut. Dalam kasus tertentu, pencucian permukaan panel dengan detergen biasanya cukup untuk menghilangkan release agent yang menempel pada permukaan panel. Hubungi kami untuk keterangan dan rekomendasi lebih lanjut.</span></p><p style=\"text-align: justify; margin-left: 25px;\"><b>Permukaan Tembok Lama (Pengecatan Ulang)</b><br></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-size: 1rem;\">Untuk permukaan tembok yang sebelumnya telah dicat, pertama-tama bersihkan tembok dari debu dan kotoran. Kemudian ujilah lapisan cat lama tersebut dengan cara sebagai berikut:</span></p><ul><li style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Usapkan telapak tangan anda pada tembok tersebut untuk menguji apakah pada dinding tersebut telah terjadi pengapuran. Jika pada telapak tangan anda terdapat tepung putih yang halus, maka pengapuran (chalking) telah terjadi.</span></li><li style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Siramlah tembok dengan air bersih. Jika air terserap kedalam lapisan cat (dapat terlihat dari perubahan warna lapisan cat tersebut) maka dapat dipastikan bahwa lapisan cat tersebut sudah tidak layak lagi untuk dicat ulang. Pada keadaan yang lebih parah, akan terjadi gelembung-gelembung (blistering) pada lapisan cat, dimana daya lekat (adhesion) cat tersebut pada substrat sudah hilang.</span></li></ul><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light; font-size: 1rem;\">Jika salah satu atau kedua hal tersebut terjadi, maka ada dua pilihan yang dapat dilakukan sebelum pengecatan ulang dilaksanakan:</span><br></p><ul><li style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Jalan yang terbaik adalah dengan mengelupaskan seluruh lapisan cat yang lama dengan menggunakan </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-paint-remover\" target=\"_blank\">Kem-Tone Paint Remover</a></span></span><span style=\"font-family: interstate-light;\">. Setelah itu bersih, basuhlah tembok tersebut dengan air bersih. Setelah kering, tembok telah siap untuk dicat ulang kembali. Ikuti petunjuk pengecatan untuk permukaan tembok semen baru.</span></li><li style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Alternatif kedua adalah dengan cara mencuci lapisan cat yang lama dengan menggunakan sikat dan air sabun/detergen. Setelah kering berilah satu lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-3-in-1-alkali-resisting-primer-solvent-base\" target=\"_blank\">Kem-Tone 3 in 1 Primer</a></span></span><span style=\"font-family: interstate-light;\"> atau </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-wall-sealer\" target=\"_blank\">Kem-Tone Wall sealer</a></span></span><span style=\"font-family: interstate-light;\"> pada tembok tersebut. Setelah kering kini tembok telah siap untuk dicat kembali. Perlu diingat, alternatif ini bukanlah merupakan solusi terbaik.</span></li></ul><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light; font-size: 1rem;\">Khusus untuk tembok lama yang telah berjamur atau berlumut, bersihkan dahulu jamur/lumut dengan menggunakan 20% pemutih pakaian dalam air bersih. Kemudian ujilah kondisi lapisan cat lama seperti diatas.</span><br></p><p style=\"text-align: justify; margin-left: 25px;\"><span style=\"font-family: interstate-light;\">Jika kondisi lapisan cat lama masih layak untuk dicat ulang, pertama-tama bersihkan dahulu tembok tersebut dengan spons dan air sabun/detergen. Bilas dengan air bersih dan keringkan. Tambal lubang-lubang dan retakan dengan </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-wall-filler\" target=\"_blank\">Kem-Tone Wall Filler</a></span></span><span style=\"font-family: interstate-light;\">. Setelah kering, amplas dan bersihkan debu sisa amplas dengan lap basah. Daerah yang telah ditambal harus diberi satu lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-alkali-resisting-primer\" target=\"_blank\">Kem-Tone Alkali Resisting Primer</a></span></span><span style=\"font-family: interstate-light;\">. Setelah kering, beri satu lapis </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-satin-finish-paint\" target=\"_blank\">Kem-Tone Satin Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> atau </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-flat-finish-paint\" target=\"_blank\">Kem-Tone Flat Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> tanpa diencerkan. Untuk tembok eksterior, gunakan hanya </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-exterior-alkali-resisting-primer\" target=\"_blank\">Kem-Tone Exterior Alkali Resisting Primer</a></span></span><span style=\"font-family: interstate-light;\"> dan </span><span style=\"font-weight: bolder;\"><span style=\"font-family: interstate-light;\"><a href=\"https://sci-paint.com/product/view/kem-tone-exterior\" target=\"_blank\">Kem-Tone Exterior Satin Finish Paint</a></span></span><span style=\"font-family: interstate-light;\"> sebagai cat dasar.</span></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></p>\n', 'tips-pengecatan-cat-tembok-kem-tone', '2021-05-05 12:41:19', '2021-05-20 07:08:17'),
(16, 'testing produkk', '1', 'img/artikel/1642589964800x700.png', '<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.<p><span style=\"font-size: var(--bs-body-font-size); font-weight: var(--bs-body-font-weight); text-align: var(--bs-body-text-align);\">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.</span><br></p></p>\n', 'testing-produkk', '2022-01-19 03:18:15', '2022-01-19 03:59:24');
-- --------------------------------------------------------
--
-- Struktur dari tabel `brands`
--
CREATE TABLE `brands` (
`id` int(10) UNSIGNED NOT NULL,
`judul` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `brands`
--
INSERT INTO `brands` (`id`, `judul`, `img`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Kem-Tone', 'img/brands/1539764277kemtone.png', 'kem-tone', '2018-10-17 01:17:57', '2018-10-17 01:17:57'),
(2, 'Spectrum', 'img/brands/1539764300spectrum.png', 'spectrum', '2018-10-17 01:18:20', '2018-10-17 01:18:20'),
(3, 'ColorTone', 'img/brands/1539764322colortone.png', 'colortone', '2018-10-17 01:18:42', '2018-10-17 01:18:42'),
(4, 'Vinotex', 'img/brands/1539764372vinotex.png', 'vinotex', '2018-10-17 01:19:32', '2019-09-02 07:52:39'),
(5, 'Panatex', 'img/brands/1539764402panatex.png', 'panatex', '2018-10-17 01:20:02', '2019-09-02 07:52:50'),
(6, 'Tamitex', 'img/brands/1539764432tamitex.png', 'tamitex', '2018-10-17 01:20:32', '2019-09-02 07:53:15'),
(7, 'Sterling', 'img/brands/1539764476sterling.png', 'sterling', '2018-10-17 01:21:16', '2020-12-08 04:17:04'),
(8, 'ABC', 'img/brands/1539764496abc.png', 'abc', '2018-10-17 01:21:36', '2018-12-03 23:22:33'),
(9, 'Apollo', 'img/brands/1539766460apollo.png', 'apollo', '2018-10-17 01:54:20', '2019-09-02 07:53:40'),
(10, 'SCI Gard', 'img/brands/1543568119scigard.png', 'sci-gard', '2018-11-30 01:55:19', '2018-12-03 23:22:48'),
(11, 'Epo-Tone', 'img/brands/1543906751epo-tone.png', 'epo-tone', '2018-12-03 23:59:11', '2018-12-03 23:59:11'),
(12, 'Sanlux', 'img/brands/1576219153Sanlux_Zinc_Chromate.jpg', 'sanlux', '2019-12-13 06:39:13', '2019-12-13 06:39:13');
-- --------------------------------------------------------
--
-- Struktur dari tabel `brosurs`
--
CREATE TABLE `brosurs` (
`id` bigint(20) UNSIGNED NOT NULL,
`judul` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`pdf` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `brosurs`
--
INSERT INTO `brosurs` (`id`, `judul`, `img`, `pdf`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Cat tembok Pilihan keluarga Indonesia', 'img/b_cover/1625465053Cat Tembok Keluarga Indonesia - San Central Indah.jpg', 'img/b_pdf/1625465053Cat Tembok Pilihan Keluarga Indonesia 2.pdf', 'cat-tembok-pilihan-keluarga-indonesia', '2019-12-10 07:39:13', '2021-07-05 13:04:24'),
(2, 'Tips Memilih Cat Tembok Kem-Tone', 'img/cover/1575963653Tips Kem-Tone.jpg', 'img/b_pdf/1625465193Tips Memilih Cat Tembok Kem-Tone 2.pdf', 'tips-memilih-cat-tembok-kem-tone', '2019-12-10 07:40:59', '2021-07-05 13:06:49'),
(3, 'Tips Memilih Cat Tembok Spectrum', 'img/b_cover/1625465340Tips Spectrum by San Central Indah.jpg', 'img/b_pdf/1625465340Tips Memilih Cat Tembok Spectrum 2.pdf', 'tips-memilih-cat-tembok-spectrum', '2019-12-10 07:42:10', '2021-07-05 13:09:17'),
(4, 'Spectrum Catalogue', 'img/b_cover/1576046642Katalog Produk Spectrum.jpg', 'img/b_pdf/1576046642Spectrum Catalogue.pdf', 'spectrum-catalogue', '2019-12-10 09:14:58', '2019-12-11 06:44:07'),
(5, 'Katalog Produk Kem-Tone', 'img/cover/1576048694Cover Brosur.jpg', 'img/b_pdf/1576048694Katalog Produk Kem-Tone.pdf', 'katalog-produk-kem-tone', '2019-12-11 07:18:22', '2019-12-11 07:18:22'),
(6, 'Coating System Selection Guide', 'img/cover/1576056578Coating System.jpg', 'img/b_pdf/1576056578Coating System Selection Guide.pdf', 'coating-system-selection-guide', '2019-12-11 09:29:41', '2019-12-11 09:29:41'),
(7, 'Spectrum UltraPrimer', 'img/b_cover/1625469819Spectrum UltraPrimer - San Central Indah.jpg', 'img/b_pdf/1625469819Spectrum Ultra Primer.pdf', 'spectrum-ultraprimer', '2019-12-11 09:32:44', '2021-07-05 14:23:43'),
(8, 'Kem-Tone UltraPrimer', 'img/b_cover/1625469892Kem-Tone UltraPrimer - San Central Indah.jpg', 'img/b_pdf/1625470075Kem-Tone Ultra Primer.pdf', 'kem-tone-ultraprimer', '2019-12-11 09:55:40', '2021-07-05 14:27:59'),
(9, 'Spectrum Granite', 'img/b_cover/1625120604Spectrum Granite.jpg', 'img/b_pdf/1625120604Brosur Spectrum Granite 2021.pdf', 'spectrum-granite', '2019-12-12 03:29:17', '2021-07-01 13:23:42'),
(10, 'Sterling Powder Coating', 'img/cover/1576122674Sterling Powder Coatings.jpg', 'img/b_pdf/1576122674Sterling Powder Coating.pdf', 'sterling-powder-coating', '2019-12-12 03:51:14', '2019-12-12 03:51:14'),
(11, 'Sterling Auto Refinish Base Coat', 'img/cover/1576125843Sterling Auto Refinish Base Coat.jpg', 'img/b_pdf/1576218773Sterling Auto Refinish Base Coat.pdf', 'sterling-auto-refinish-base-coat', '2019-12-12 04:44:06', '2019-12-13 06:32:53'),
(12, 'EPO-TONE Decorative Series', 'img/b_cover/1625465599EPO-TONE Decorative Series - San Central Indah.jpg', 'img/b_pdf/1625465599PDF_EPOTONE_Decorative 2.pdf', 'epo-tone-decorative-series', '2019-12-12 08:01:26', '2021-07-05 13:13:25'),
(13, 'SCIGuard Waterproofing', 'img/cover/1576137740SCIGard Waterproofing.jpg', 'img/b_pdf/1576137740SCIGuard Waterproofing.pdf', 'sciguard-waterproofing', '2019-12-12 08:02:20', '2019-12-12 08:02:20'),
(14, 'EPO-TONE FlooringTopcoat', 'img/b_cover/1592811516EPO-TONE Flooring Topcoat.jpg', 'img/b_pdf/1592811516EPO-TONE FlooringTopcoat.pdf', 'epo-tone-flooringtopcoat', '2019-12-12 08:03:19', '2020-06-22 07:38:36'),
(15, 'Sanlux Zinc Chromate', 'img/cover/1576142669Sanlux Zinc Chromate.jpg', 'img/b_pdf/1576142669Sanlux Zinc Chromate.pdf', 'sanlux-zinc-chromate', '2019-12-12 09:24:29', '2019-12-12 09:24:29'),
(16, 'Katalog Produk SCI Paint', 'img/b_cover/1625465700Katalog Produk SCI Paint vol.1 - San Central Indah.jpg', 'img/b_pdf/1625465700Katalog Produk SCI Paint 2.pdf', 'katalog-produk-sci-paint', '2019-12-17 04:49:32', '2021-07-05 13:15:07'),
(17, 'Katalog Produk Tinting SCI Paint', 'img/b_cover/1576822116Katalog Produk Tinting SCI Paint.jpg', 'img/b_pdf/1625465869Katalog Produk Tinting 2.pdf', 'katalog-produk-tinting-sci-paint', '2019-12-19 03:36:46', '2021-07-05 13:17:58'),
(18, 'Katalog Produk Ready Mix', 'img/cover/1576818491Katalog Produk Ready Mix.jpg', 'img/b_pdf/1625476323Katalog Produk Ready Mix 2.pdf', 'katalog-produk-ready-mix', '2019-12-20 05:08:16', '2021-07-05 16:12:08'),
(19, 'Katalog Produk SCI Paint vol.2', 'img/cover/1576823006Katalog Produk SCI Paint vol.2.jpg', 'img/b_pdf/1625466094Katalog Produk SCI Paint Vol.2B.pdf', 'katalog-produk-sci-paint-vol2', '2019-12-20 06:23:27', '2021-07-05 13:21:41'),
(20, 'Panduan Memilih Cat', 'img/b_cover/1577092571Panduan memilih Cat.jpg', 'img/b_pdf/1625476436Panduan Memilih Cat 2.pdf', 'panduan-memilih-cat', '2019-12-20 09:38:19', '2021-07-05 16:14:00'),
(22, 'Spectrum Waterproof SW 08', 'img/cover/1594279658Spectrum Waterproof.jpg', 'img/b_pdf/1594279658Brosur Spectrum Waterproof WS08.pdf', 'spectrum-waterproof-sw-08', '2020-07-09 07:27:52', '2022-01-19 05:08:49'),
(23, 'testing brosur', 'img/cover/1642593811300.png', 'img/b_pdf/1642593811dummies.pdf', 'testing-brosur', '2022-01-19 05:03:31', '2022-01-19 05:03:31');
-- --------------------------------------------------------
--
-- Struktur dari tabel `contacts`
--
CREATE TABLE `contacts` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `contacts`
--
INSERT INTO `contacts` (`id`, `name`, `email`, `message`, `created_at`, `updated_at`) VALUES
(1, 'indah permatasari', '[email protected]', 'Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.', '2022-02-06 02:00:23', '2022-02-06 02:00:23'),
(2, 'indah permatasari', '[email protected]', 'Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.Lorem ipsum dolor sit amet consectetur, adipisicing elit. Alias facilis inventore praesentium libero. Laudantium provident quisquam totam vel nemo. Laborum quidem dolorem exercitationem omnis blanditiis possimus amet, fugit minima accusamus.', '2022-02-06 02:02:40', '2022-02-06 02:02:40');
-- --------------------------------------------------------
--
-- Struktur dari tabel `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `kategoris`
--
CREATE TABLE `kategoris` (
`id` int(10) UNSIGNED NOT NULL,
`judul` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` text COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `kategoris`
--
INSERT INTO `kategoris` (`id`, `judul`, `content`, `img`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'cat tembok tinting', 'Cat tembok tinting merupakan produk premium. Anda dapat memilih variasi warna yang tak terbatas dengan ribuan warna yang bisa dipilih dan dibuat oleh mesin berteknologi tinting.', 'img/kategori/bg/1540872974tinting.jpg', 'cat-tembok-tinting', '2018-10-17 01:13:06', '2019-12-04 04:01:53'),
(2, 'cat tembok', 'Cat pelapis ready mix (non tinting) dengan pilihan warna yang terbatas untuk permukaan tembok interior-eksterior. Cat pelapis ini berfungsi untuk memperindah, memperkuat dan melindungi permukaan yang dilapisi.', 'img/kategori/bg/1541564809bg-tembok.jpg', 'cat-tembok', '2018-10-17 01:13:19', '2019-12-04 04:12:50'),
(3, 'cat kayu dan besi', 'Cat pelapis ready mix yang diformulasikan khusus untuk permukaan kayu dan besi, dengan fungsi memperindah, memperkuat dan melindungi permukaan yang dilapisi.', 'img/kategori/bg/1541565763bg-kayu.jpg', 'cat-kayu-dan-besi', '2018-10-17 01:14:43', '2019-12-04 04:15:58'),
(4, 'cat pelapis anti bocor', 'Cat pelapis anti bocor sebagai pelindung & penguat untuk permukaan yang sering dialiri air seperti pada permukaan dinding, dak beton, talang air, genteng.', 'img/kategori/bg/1541565598bg-pelapis.jpg', 'cat-pelapis-anti-bocor', '2018-10-17 01:15:03', '2019-12-04 04:20:00'),
(5, 'cat dasar/dempul', 'Cat pelapis yang digunakan untuk melengkapi dan menyempurnakan proses aplikasi pengecatan atau pelapisan. Cat pelapis ini terdiri dari cat dasar (undercoat) digunakan untuk memperkuat lapisan cat warna (topcoat) dan dempul digunakan untuk menutupi retak/lubang pada permukaan tembok.', 'img/kategori/bg/1541570921bg-dasar.jpg', 'cat-dasardempul', '2018-10-17 01:15:26', '2019-12-04 04:29:15'),
(6, 'cat genteng', 'Cat pelapis yang diformulasikan khusus untuk permukaan genteng, dengan fungsi memperindah, memperkuat dan melindungi permukaan yang dilapisi.', 'img/kategori/bg/1541566676bg-genteng.jpg', 'cat-genteng', '2018-10-17 01:15:46', '2019-12-04 04:36:56'),
(7, 'cat mobil', 'Cat pelapis auto refinish yang diformulasikan khusus untuk mobil, dengan fungsi memperindah, memperkuat dan melindungi permukaan yang dilapisi.', 'img/kategori/1575011769AutoRefinish.jpg', 'cat-mobil', '2018-10-17 01:16:01', '2019-12-04 04:42:15'),
(8, 'cat spesial', 'Cat premium yang mempunyai karakteristik pada kemampuan dan kelebihan khusus.', 'img/kategori/bg/1541571287bg-spesial.jpg', 'cat-spesial', '2018-10-17 01:16:17', '2019-12-04 04:45:10'),
(9, 'cat industri', 'Cat pelapis premium yang diformulasikan khusus untuk memenuhi segala kebutuhan cat untuk industri.', 'img/kategori/bg/1541571639bg-industri.jpg', 'cat-industri', '2018-10-17 01:16:42', '2019-12-04 04:46:30'),
(10, 'cat gypsum', 'Cat pelapis premium yang diformulasikan khusus untuk permukaan gypsum, dengan fungsi memperindah, memperkuat dan melindungi permukaan yang dilapisi.', 'img/kategori/1546931926bg-gypsum.jpg', 'cat-gypsum', '2019-01-08 07:18:46', '2019-12-04 04:49:37');
-- --------------------------------------------------------
--
-- Struktur dari tabel `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2022_01_19_044515_create_contacts_table', 2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `products`
--
CREATE TABLE `products` (
`id` int(10) UNSIGNED NOT NULL,
`judul` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`content` text COLLATE utf8mb4_unicode_ci NOT NULL,
`brand_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`kategori_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`pdf` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `products`
--
INSERT INTO `products` (`id`, `judul`, `content`, `brand_id`, `kategori_id`, `img`, `pdf`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'kem-tone satin finish paint', 'Cat tembok berkualitas tinggi bernuansa satin yang lembut khusus untuk interior. Dengan permukaan cat yang sedikit mengkilap seperti kain satin, membuat nuansa ruangan anda tampak lebih luas dan terang tanpa kesan menyilaukan. Dapat dibersihkan dengan spons dan air sabun. Mengandung kadar VOC yang sangat rendah.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 20 – 25 m² /gallon \r\n(tergantung jenis permukaan tembok).', '1', '1', 'img/products/1539766899Kemtone-Satin.png', 'img/pdf/1577423522TDS_Kem-Tone_SatinFinishPaint.pdf', 'kem-tone-satin-finish-paint', '2018-10-17 02:01:39', '2019-12-27 05:12:06'),
(2, 'kem-tone exterior', 'Cat tembok 100% Acrylic khusus untuk eksterior yang tahan terhadap segala cuaca dan sinar UV matahari. Dilengkapi bahan anti lumut dan jamur. Warna tidak mudah pudar serta memiliki ketahanan yang dijamin hingga 5 Tahun (syarat dan ketentuan berlaku). Corak semi gloss sehingga kotoran tidak mudah melekat dan dapat dibersihkan dengan air sabun. Memiliki daya rekat yang kuat dan kadar VOC yang sangat rendah.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 20 – 25 m²/gallon\r\n(tergantung jenis permukaan tembok).', '1', '1', 'img/products/1539767009Kemtone-Exterior.png', 'img/pdf/1577423618TDS_Kem-Tone_Exterior.pdf', 'kem-tone-exterior', '2018-10-17 02:03:29', '2019-12-27 05:13:42'),
(3, 'kem-tone flat finish paint', 'Cat tembok dengan hasil akhir flat (dof) khusus untuk interior. Nuansa flat (dof) dapat menutupi ketidaksempurnaan tembok yang permukaannya tidak rata. Dapat dibersihkan dengan air sabun, ramah lingkungan dan mengandung kadar VOC yang sangat rendah.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 20 – 25 m² /gallon \r\n(tergantung jenis permukaan tembok).', '1', '1', 'img/products/1539767137Kemtone-Satin-Flat.png', 'img/pdf/1577423665TDS_Kem-Tone_FlatFinishPaint.pdf', 'kem-tone-flat-finish-paint', '2018-10-17 02:05:37', '2019-12-27 05:14:28'),
(4, 'spectrum interior exterior paint', 'Cat tembok dengan nuansa flat (dof) yang lembut khusus untuk interior dan eksterior. Keunggulan: kualitas tinggi dengan harga ekonomis, warna tetap segar, tidak mudah pudar, dapat dibersihkan dengan air sabun, ramah lingkungan dan mengandung kadar VOC yang sangat rendah.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 20 – 25 m² /gallon \r\n(tergantung jenis permukaan tembok).', '2', '1', 'img/products/1539767160Spectrum-Interior.png', 'img/pdf/1577423728TDS_Spectrum.pdf', 'spectrum-interior-exterior-paint', '2018-10-17 02:06:00', '2019-12-27 05:15:28'),
(5, 'ColorTone', 'Cat tembok dengan nuansa flat (dof) khusus interior. Keunggulan: kualitas menengah dengan harga ekonomis, warna lembut (soft), dapat dibersihkan dengan air sabun, ramah lingkungan, anti bakteri dan mengandung kadar VOC yang sangat rendah.\r\nKemasan: 2,5 liter dan 17,5 liter. \r\nDaya sebar secara teoritis: 11 m² /liter\r\n(tergantung jenis permukaan tembok).', '3', '1', 'img/products/1544171027Colortone-Interior-Eksterior.png', 'img/pdf/1577411741TDS_ColorTone.pdf', 'colortone', '2018-10-17 02:06:23', '2019-12-27 01:55:41'),
(6, 'Vinotex Cat Tembok', 'Cat tembok Vinotex merupakan cat emulsi standar untuk dinding (interior/eksterior) dan plafon. Ramah lingkungan karena berbahan dasar air, bebas timbal dan merkuri. Memiliki daya tutup yang baik, warna-warna yang cerah dan lapisan catnya tidak mengapur. Kemasan: 1kg, 4kg, 5kg, 20kg dan 23kg. Daya sebar teoritis: 5-6m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '4', '2', 'img/products/1539767303Vinotex-Interior-Eksterior.png', 'img/pdf/1577411770TDS_CT_Vinotex.pdf', 'vinotex-cat-tembok', '2018-10-17 02:08:23', '2019-12-27 01:56:10'),
(7, 'tamitex cat tembok', 'Cat tembok Tamitex adalah cat dekoratif untuk dinding (interior/eksterior) dan plafon. Ramah lingkungan karena berbahan dasar air, bebas timbal dan merkuri. Memiliki daya tahan dan daya lekat yang baik. Kemasan: 1kg, 5kg dan 23kg. Daya sebar teoritis: 6-7m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '6', '2', 'img/products/1539767545Tamitex-Cat-Tembok.png', 'img/pdf/1577411789TDS_CT_Tamitex.pdf', 'tamitex-cat-tembok', '2018-10-17 02:12:25', '2019-12-27 01:56:29'),
(8, 'panatex cat tembok', 'Cat tembok Panatex merupakan cat emulsi ekonomis untuk dinding (interior/eksterior) dan plafon. Ramah lingkungan, bebas timbal dan merkuri. Memiliki daya sebar yang luas, warna-warna yang cerah dan lapisan catnya tidak mengapur. Kemasan: 1kg, 4kg, 5kg, 20kg dan 23kg. Daya sebar teoritis: 5-6m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '5', '2', 'img/products/1539767657Panatex-cat-tembok.png', 'img/pdf/1577411807TDS_CT_Panatex.pdf', 'panatex-cat-tembok', '2018-10-17 02:14:17', '2019-12-27 01:56:47'),
(9, 'apollo cat tembok', 'Cat tembok Apollo merupakan cat yang berkualitas, khusus dibuat untuk semua jenis ruang dalam atau ruang luar yang dapat diaplikasikan dengan mudah pada segala jenis tembok, plafon dan lain-lain, dengan harga paling ekonomis. Kemasan: 5kg dan 20kg. Daya sebar teoritis: 4-5m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '9', '2', 'img/products/1539767762Apollo-Cat-Tembok.png', 'img/pdf/1579666244TDS_CT_Apollo.pdf', 'apollo-cat-tembok', '2018-10-17 02:16:02', '2020-01-22 04:10:44'),
(10, 'ABC Cat Kayu/Besi', 'Cat kayu/besi ABC merupakan cat alkyd synthetic bermutu tinggi untuk permukaan kayu dan besi interior maupun exterior. Memiliki lapisan cat yang sangat kilap dan cemerlang, ketahanan warna tinggi, tahan cuaca, dan cepat kering. Kemasan: 0,8lt. Daya sebar teoritis: 5-7m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '8', '3', 'img/products/1539768122Cat-Kayu-Abc.png', 'img/pdf/1577411837TDS_CK_ABC.pdf', 'abc-cat-kayubesi', '2018-10-17 02:22:02', '2019-12-27 01:57:17'),
(12, 'kem-tone ultraPrimer', 'Cat dasar berbahan dasar air digunakan khusus untuk tembok yang memiliki kadar kelembaban tinggi.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 45 – 50 m² /galon \r\n(tergantung jenis permukaan tembok).', '1', '5', 'img/products/1620613238Kem-Tone Ultra Primer.png', 'img/pdf/1577423775TDS_Kem-Tone_UltraPrimer.pdf', 'kem-tone-ultraprimer', '2018-10-17 02:26:11', '2021-05-10 09:20:38'),
(13, 'kem-tone exterior alkali resisting primer', 'Cat dasar berbahan dasar air dengan daya tahan pH/basa lebih tinggi khusus untuk eksterior. Dapat membantu daya rekat lebih kuat dan memperpanjang daya tahan cat akhir (top coat).\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 45 – 50 m² /gallon \r\n(tergantung jenis permukaan tembok).', '1', '5', 'img/products/1620196401Kem-Tone Exterior Alkali Resisting Primer.png', 'img/pdf/1577423878TDS_Kem-Tone_ExteriorAlkaliResistingPrimer.pdf', 'kem-tone-exterior-alkali-resisting-primer', '2018-10-17 18:03:59', '2021-05-05 13:33:21'),
(14, 'kem-tone wall sealer', 'Cat dasar berbahan dasar minyak khusus untuk pengecatan ulang pada tembok yang mengapur, dan untuk memperindah cat lama (khusus cat Kem-Tone) agar warnanya tampak cerah kembali. Cat dasar ini bersifat mengikat kembali partikel pigmen yang lepas pada permukaan cat yang kusam.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 45 – 50 m²/galon \r\n(tergantung jenis permukaan tembok).', '1', '5', 'img/products/1539824833Kemtone-Wall-Sealer.png', 'img/pdf/1577423934TDS_Kem-Tone_WallSealer.pdf', 'kem-tone-wall-sealer', '2018-10-17 18:07:13', '2019-12-27 05:18:58'),
(15, 'Kem-Tone 3 in 1 Alkali Resisting Primer (Solvent Base)', 'Cat dasar berbahan dasar minyak yang berfungsi sekaligus sebagai Wall Sealer, Alkali Resisting Primer dan Stain Blocker (anti noda). Dapat digunakan untuk permukaan interior dan eksterior. Tidak dapat digunakan untuk gypsum.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 45 – 50 m² /gallon (tergantung jenis permukaan tembok).', '1', '5', 'img/products/1539825015Kemtone-3in1.png', 'img/pdf/1577423974TDS_Kem-Tone_3in1.pdf', 'kem-tone-3-in-1-alkali-resisting-primer-solvent-base', '2018-10-17 18:10:15', '2019-12-27 05:19:35'),
(16, 'spectrum ultraPrimer', 'Cat dasar berbahan dasar air digunakan khusus untuk tembok yang memiliki kadar kelembaban tinggi.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 45 – 50 m²/galon \r\n(tergantung jenis permukaan tembok).', '2', '5', 'img/products/1592800559Spectrum UltraPrimer.png', 'img/pdf/1577424032TDS_Spectrum_UltraPrimer.pdf', 'spectrum-ultraprimer', '2018-10-17 18:11:12', '2020-06-22 04:35:59'),
(17, 'spectrum alkali resisting primer', 'Cat dasar berbahan dasar air yang tahan pH tinggi/basa untuk interior dan eksterior. Dianjurkan pemakaian cat dasar pada tembok dan gypsum yang baru agar hasil pengecatan lebih sempurna dan lebih tahan lama.\r\nKemasan: 3,78 liter dan 18,9 liter. \r\nDaya sebar teoritis: 40 – 50 m²/gallon \r\n(tergantung jenis permukaan).', '2', '5', 'img/products/1592800577Spectrum Alkali.png', 'img/pdf/1577424049TDS_Spectrum_Alkali.pdf', 'spectrum-alkali-resisting-primer', '2018-10-17 18:14:52', '2020-06-22 04:36:17'),
(18, 'ColorTone Alkali Resisting Primer', 'Cat dasar berbahan dasar air yang tahan pH tinggi/basa khusus interior. Sangat dianjurkan pemakaian cat dasar pada permukaan tembok dan gypsum yang baru agar hasil pengecatan lebih sempurna dan lebih tahan lama.\r\nKemasan: 2,5 liter dan 17,5 liter. \r\nDaya sebar secara teoritis: 22 m²/gallon \r\n(tergantung jenis permukaan tembok).', '3', '5', 'img/products/1539825355Colortone-Interior-Eksterior.png', 'img/pdf/1577412331TDS_ColorTone_Alkali.pdf', 'colortone-alkali-resisting-primer', '2018-10-17 18:15:55', '2019-12-27 02:05:31'),
(19, 'kem-tone wall filler', 'Dempul/plamuur tembok kualitas tinggi dengan daya rekat yang kuat. Khusus digunakan untuk menambal lubang dan retakan pada tembok maupun triplek. \r\nKemasan: 5Kg dan 25Kg.', '1', '5', 'img/products/1539825469Kemtone-Wall-Filler.png', 'img/pdf/1577424005TDS_Kem-Tone_WallFiler.pdf', 'kem-tone-wall-filler', '2018-10-17 18:17:49', '2019-12-27 05:20:06'),
(20, 'tamitex cat genteng', 'Cat genteng Tamitex merupakan cat acrylic khusus untuk genteng (beton press, tanah liat) yang diformulasikan agar tahan segala cuaca dengan penampilan semi kilap. Ramah lingkungan karena berbahan dasar air, bebas timbal & merkuri, anti UV serta tahan terhadap serangan jamur & lumut. Dapat digunakan juga untuk pengecatan atap asbes, paving stone, rambu jalan, serta lapangan tenis. Kemasan: 1kg, 4kg dan 20kg. Daya sebar teoritis: 10-11m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '6', '6', 'img/products/1539825575Tamitex-cat-genteng.png', 'img/pdf/1577412403TDS_CG_Tamitex.pdf', 'tamitex-cat-genteng', '2018-10-17 18:19:35', '2019-12-27 02:06:43'),
(21, 'panatex cat genteng', 'Cat genteng Panatex merupakan cat khusus untuk genteng yang diformulasikan agar tahan terhadap sinar matahari dengan penampilan semi kilap. Ramah lingkungan karena berbahan dasar air, melindungi genteng agar tidak mudah bocor, dan tidak mudah mengelupas. Kemasan: 1kg, 4kg dan 20kg. Daya sebar teoritis: 8-9m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '5', '6', 'img/products/1539825687Panatex-Cat-Genteng.png', 'img/pdf/1577412419TDS_CG_Panatex.pdf', 'panatex-cat-genteng', '2018-10-17 18:21:27', '2019-12-27 02:06:59'),
(23, 'kem-tone paint remover', 'Digunakan untuk merontokkan lapisan cat lama pada permukaan tembok tanpa merusak permukaan semen sama sekali. Dapat juga digunakan untuk merontokkan cat kayu/besi, duco, powder coating, dll.\r\nKemasan: 3,78 liter dan 18,9 liter.', '1', '8', 'img/products/1540266099Kemtone-Paint-Remover.png', 'img/pdf/1577424128TDS_Kem-Tone_PaintRemover.pdf', 'kem-tone-paint-remover', '2018-10-22 20:41:39', '2019-12-27 05:22:11'),
(24, 'Spectrum ultraShield', 'Cat tembok 100% Acrylic khusus untuk eksterior yang tahan terhadap segala cuaca dan sinar UV matahari. Dilengkapi bahan anti lumut dan jamur. Warna tidak mudah pudar serta memiliki ketahanan untuk warna-warna yang cerah. Corak semi gloss sehingga kotoran tidak mudah melekat dan dapat dibersihkan dengan air sabun. Memiliki daya rekat yang kuat dan kadar VOC yang sangat rendah. Kemasan: 3,78 liter dan 18,9 liter. Daya sebar teoritis: 20 – 25 m² /gallon (tergantung jenis permukaan tembok).', '2', '1', 'img/products/1544170720Spectrum-Ultrashield.png', 'img/pdf/1577424072TDS_UltraShield.pdf', 'spectrum-ultrashield', '2018-12-07 01:18:40', '2019-12-27 05:21:12'),
(26, 'sterling polyester', 'Sterling Polyester Powder Coating ini diformulasikan secara khusus untuk aplikasi outdoor, dimana ketahanan terhadap sinar UV dan ketahanan terhadap perubahan cuaca sangat diperlukan. Sterling Polyester Powder Coating dapat diaplikasikan pada permukaan metal dan allumunium. Sterling Polyester Powder Coating merupakan cat khusus industri, info selengkapnya silahkan hubungi kami.', '7', '9', 'img/products/1567410191Sterling_Polyester.jpg', 'img/pdf/1577412567TDS_Sterling_Polyester.pdf', 'sterling-polyester', '2018-11-29 20:26:06', '2019-12-27 02:09:31'),
(27, 'sterling epoxy polyester', 'Sterling Epoxy Polyester Powder Coating diformulasikan secara khusus untuk aplikasi indoor, dimana kebutuhan warna serta tingkat gloss dapat disesuaikan dengan kebutuhan. Sterling Epoxy Polyester Powder Coating ini sangat cocok untuk: Dish Washing, Electrical Panel, Office Furniture, Kompor Gas, dll. dimana kebutuhan \'mechanical property dan scratch resistant\' sangat diperlukan. Sterling Epoxy Polyester Powder Coating ini sangat baik di \'flexibility dan flow\'. Mohon diperhatikan bahwa Sterling Epoxy Polyester Powder Coating ini tidak cocok digunakan untuk aplikasi outdoor!.. Sterling Epoxy Polyester Powder Coating merupakan cat khusus industri, info selengkapnya silahkan hubungi kami.', '7', '9', 'img/products/1567410353Sterling_Epoxy_Polyester.jpg', 'img/pdf/1577412598TDS_Sterling_EpoxyPolyester.pdf', 'sterling-epoxy-polyester', '2018-11-29 20:28:01', '2019-12-27 02:09:58'),
(29, 'SCI Gard Elastomer Waterproofing Material', 'SCI Gard Elastomer Waterproofing Material adalah bahan pelapis tahan-air (waterproofing) yang sangat kuat dan super fleksibel, dirancang untuk digunakan pada permukaan semen/beton dan berbagai jenis permukaan lainnya. Dengan kemampuan elongasi yang mencapai 500% dan kekuatan tensile strength yang tinggi, SCI Gard merupakan pilihan yang paling cocok sebagai pelapis waterproofing dan untuk meredam retakan-retakan yang terjadi pada beton (bridging stress-cracks). SCI Gard memiliki 100% kandungan solid, tidak mengandung bahan VOC menjadikannya lebih ramah lingkungan. SCI Gard terdiri dari dua komponen (komponen A dan komponen B). Komponen A terdiri dari Isosianat dan komponen B terdiri dari Polieteramin. SCI Gard adalah cat spesial proyek, info selengkapnya silahkan hubungi kami.', '10', '8', 'img/products/1543568959scigard.png', 'img/pdf/1577424210TDS SCIGuard Waterproofing.pdf', 'sci-gard-elastomer-waterproofing-material', '2018-11-30 02:09:19', '2019-12-27 05:23:33'),
(30, 'Epoxy EpoTone', 'Cat epoxy Epo-Tone Flooring Topcoat adalah cat epoxy dua komponen khusus lantai (beton, kayu atau baja) yang memiliki daya rekat yang kuat, lebih awet (memiliki ketahanan terhadap zat kimia) dan higienis dengan beberapa varian warna membuat penampilan lantai menjadi menarik dan memberikan kesan ruangan lebih terang (kilap/gloss). Cat epoxy Epo-Tone Flooring Topcoat adalah cat spesial proyek, info selengkapnya silahkan hubungi kami.', '11', '8', 'img/products/1592799844EpoTone_Pic.png', 'img/pdf/1592799844TDS EPO-TONE FlooringTopcoat.pdf', 'epoxy-epotone', '2018-12-21 01:37:43', '2020-06-22 04:24:04'),
(35, 'Kem-Tone Gypsum & Ceiling Paint', 'Cat khusus untuk permukaan plafon gypsum interior. Keunggulan cat ini adalah bersifat “Non Spattering” (tidak menyiprat atau menetes pada saat diaplikasikan), “Non Yellowing”, dan tidak perlu diencerkan. Hasil akhir flat (dof) dapat membantu menutupi ketidaksempurnaan permukaan plafon. Ramah lingkungan dan mengandung kadar VOC yang sangat rendah. Kemasan: 5Kg dan 25Kg. Daya sebar teoritis: 20 – 25 m² /galon (tergantung jenis gypsum).', '1', '10', 'img/products/1546933412Kemtone-Gypsum.png', 'img/pdf/1577424156TDS_Kem-Tone_Gypsum.pdf', 'kem-tone-gypsum-ceiling-paint', '2019-01-08 07:43:32', '2019-12-27 05:22:37'),
(36, 'Spectrum Gypsum & Ceiling Paint', 'Cat khusus untuk permukaan plafon gypsum interior. Diformulasikan agar memiliki daya tutup tinggi dengan hasil akhir flat (dof). Keunggulan: harga cukup ekonomis, ramah lingkungan dan mengandung kadar VOC yang sangat rendah. Kemasan: 3,78 liter dan 18,9 liter. Daya sebar teoritis: 20 – 25 m² /galon (tergantung jenis gypsum).', '2', '10', 'img/products/1546933601Spectrum-Gypsum.png', 'img/pdf/1577424094TDS_Spectrum_Gypsum.pdf', 'spectrum-gypsum-ceiling-paint', '2019-01-08 07:46:41', '2019-12-27 05:21:34'),
(38, 'Epoxy EpoTone Decorative', 'Cat epoxy Epo-Tone Decorative Series adalah cat epoxy dua komponen yang dapat diaplikasikan di media kayu, MDF, GRC, beton, dan dengan teknik pengaplikasian khusus maka media yang di cat dapat menyerupai motif granit dan batu marmer. Kemasan: 3,5 liter dan 0,9 liter. Sangat cocok untuk pengerjaan \'Countertop Materials\'.', '11', '8', 'img/products/1567411667EpoTone_Decorative.jpg', 'img/pdf/1577424260TDS EPO-TONE Decorative Series.pdf', 'epoxy-epotone-decorative', '2019-09-02 08:07:47', '2019-12-27 05:24:23'),
(39, 'Kem-Tone Alkali Resisting Primer', 'Kem-Tone Alkali Resisting Primer adalah cat dasar khusus interior berbahan dasar air yang tahan pH tinggi/basa khusus untuk interior. Sangat dianjurkan pemakaian cat dasar pada permukaan tembok dan gypsum yang baru, agar hasil pengecatan lebih sempurna dan tahan lama. Kemasan: 3,78 liter dan 18,9 liter. Daya sebar teoritis: 40 - 50 m²/gallon (tergantung jenis permukaan tembok).', '1', '5', 'img/products/1568087265Kemtone-Alkali.png', 'img/pdf/1577424376TDS_Kem-Tone_AlkaliResistingPrimer.pdf', 'kem-tone-alkali-resisting-primer', '2019-09-10 03:47:45', '2019-12-27 05:26:20'),
(40, 'Kem-Tone Clear Glaze', 'Cairan satin bening (transparan) yang dapat diaplikasikan langsung di atas permukaan cat atau dicampurkan dengan cat berwarna untuk memperpanjang rentang waktu pengeringan dan mengubah warna cat apa pun menjadi glasir. Cairan ini sangat berguna untuk pengerjaan teknik \'Faux Finish Painting\' untuk menciptakan tekstur dan nuansa permukaan tembok yang unik dengan bantuan peralatan seperti: sponges, sisir, kantong plastik, kain, line-free rags, dll. Kemasan: 3,78 liter & 0,94 liter. Daya sebar teoritis: 40-80m² per gallon (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '1', '8', 'img/products/1568087473Kemtone-Clear-Glaze.png', 'img/pdf/1577424443TDS_Kem-Tone_TechniqueGlaze.pdf', 'kem-tone-clear-glaze', '2019-09-10 03:51:13', '2019-12-27 05:27:23'),
(41, 'Sterling Auto Refinish Base Coat', 'STERLING AUTO REFINISH BASECOAT adalah cat satu komponen (1K) yang terbuat dari resin akrilik yang bermutu tinggi. Sterling Auto Refinish Basecoat dapat digunakan sebagai cat midle coat pada pengecatan mobil dan kendaraan lainnya. STERLING AUTO REFINISH BASECOAT memiliki intercoat adhesion yang sangat baik terhadap cat primer maupun cat clear topcoat, tahan terhadap cuaca luar dan menjaga warna tidak pudar dalam jangka waktu yang lama. Kemasan: 4 liter, daya sebar teoritis: 8 - 10 m²/liter (per satu lapis) dan tampilan: semigloss.', '7', '7', 'img/products/1575010503Sterling_Auto_Refinish.jpg', 'img/pdf/1577424332TDS_Sterling_Auto_Refinish.pdf', 'sterling-auto-refinish-base-coat', '2019-11-29 06:55:03', '2020-12-08 04:16:39'),
(42, 'Sanlux Zinc Chromate', 'Zinc Chromate Sanlux adalah cat dasar/primer yang terbuat dari bahan Synthetic Alkid Chromate diformulasikan untuk memberikan perlindungan yang prima pada struktur besi dan baja terhadap proses terjadinya karat. Zinc Chromate Sanlux cepat kering dan memiliki ketahanan yang baik terhadap cuaca tropis, sehingga cocok untuk pemakaian di dalam maupun di luar ruangan. Kemasan: 1Kg, 5Kg & 25Kg.', '12', '8', 'img/products/1576219403Sanlux_Zinc_Chromate.jpg', 'img/pdf/1577424297TDS_Sanlux_Zinc_Chromate.pdf', 'sanlux-zinc-chromate', '2019-12-13 06:43:23', '2020-07-20 03:47:59'),
(44, 'Spectrum Waterproof SW 08', 'Spectrum Waterproof SW 08 adalah cat pelapis anti bocor (cat waterproofing) serbaguna yang dapat digunakan sebagai: cat dasar, cat tembok, cat genteng dan cat pelapis anti bocor. Spectrum Waterproof SW 08 bersifat elastis, kedap air serta sangat tahan cuaca sehingga sangat cocok untuk digunakan pada semua permukaan tembok, genteng, beton, galvanis/seng dan asbes. Kemasan: 1kg, 5kg dan 20kg. Daya sebar teoritis: 5-6m² per kg (tergantung tingkat porositas media, jenis warna & metode aplikasi).', '2', '4', 'img/products/1594279168Spectrum Waterproof SW 08.png', 'img/pdf/1594279168TDS_Spectrum_Waterproof_SW_08.pdf', 'spectrum-waterproof-sw-08', '2020-07-09 07:19:28', '2020-07-09 07:23:14'),
(45, 'Spectrum Granite', 'Spectrum Granite adalah cat spesial tekstur berbahan dasar air yang diformulasikan secara khusus sehingga dapat membuat tampilan efek batu granit yang tahan cuaca pada permukaan yang dicat. Spectrum Granite cocok untuk penggunaan interior dan eksterior. Pengaplikasian khusus menggunakan spray gun dan tidak boleh diaduk dengan mesin pengaduk. Spectrum Granite adalah cat spesial proyek, info selengkapnya silahkan hubungi kami. ', '2', '8', 'img/products/1624937729Spectrum Granite.png', 'img/pdf/1624937729TDS_Spectrum_Granite.pdf', 'spectrum-granite', '2021-06-29 10:35:29', '2021-07-08 16:37:25');
-- --------------------------------------------------------
--
-- Struktur dari tabel `sliders`
--
CREATE TABLE `sliders` (
`id` bigint(20) UNSIGNED NOT NULL,
`judul` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`img_mobile` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`link` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('active','deactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
`slug` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `sliders`
--
INSERT INTO `sliders` (`id`, `judul`, `img`, `img_mobile`, `link`, `status`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'cat decorative series', 'img/sliders/16443738801349x600.png', 'img/sliders/1644373880800x700.png', 'https://sci-paint.com/product/view/epoxy-epotone-decorative', 'deactive', 'cat-decorative-series', '2022-02-08 19:31:20', '2022-02-08 19:31:20'),
(2, 'cat besi anti karat', 'img/sliders/16443739961349x600.png', 'img/sliders/1644373996800x700.png', 'https://sci-paint.com/product/view/sanlux-zinc-chromate', 'deactive', 'cat-besi-anti-karat', '2022-02-08 19:33:16', '2022-02-08 19:33:16'),
(3, 'cat pelapis anti bocor', 'img/sliders/16443740411349x600.png', 'img/sliders/1644374041800x700.png', 'https://www.sci-paint.com/product/view/spectrum-waterproof-sw-08', 'deactive', 'cat-pelapis-anti-bocor', '2022-02-08 19:34:01', '2022-02-08 19:34:01');
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'scipaint', '[email protected]', NULL, '$2y$10$2E/6qqAiTQwH2m.qK5RYLOrnxvFbG2Z5GF4mEhDQldmArEt1DByjS', NULL, NULL, NULL);
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `akategoris`
--
ALTER TABLE `akategoris`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `akategoris_judul_unique` (`judul`);
--
-- Indeks untuk tabel `artikels`
--
ALTER TABLE `artikels`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `artikels_judul_unique` (`judul`);
--
-- Indeks untuk tabel `brands`
--
ALTER TABLE `brands`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `brands_judul_unique` (`judul`);
--
-- Indeks untuk tabel `brosurs`
--
ALTER TABLE `brosurs`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `contacts`
--
ALTER TABLE `contacts`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `kategoris`
--
ALTER TABLE `kategoris`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `kategoris_judul_unique` (`judul`);
--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indeks untuk tabel `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `products_judul_unique` (`judul`);
--
-- Indeks untuk tabel `sliders`
--
ALTER TABLE `sliders`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `akategoris`
--
ALTER TABLE `akategoris`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT untuk tabel `artikels`
--
ALTER TABLE `artikels`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT untuk tabel `brands`
--
ALTER TABLE `brands`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT untuk tabel `brosurs`
--
ALTER TABLE `brosurs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT untuk tabel `contacts`
--
ALTER TABLE `contacts`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `kategoris`
--
ALTER TABLE `kategoris`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT untuk tabel `products`
--
ALTER TABLE `products`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
--
-- AUTO_INCREMENT untuk tabel `sliders`
--
ALTER TABLE `sliders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) 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 */;
|
declare
c int;
sql_stmt varchar2(3000);
begin
select count(*) into c from user_tables where table_name = upper('SimpleTypesTestTable');
if c = 1 then
execute immediate 'drop table SimpleTypesTestTable';
end if;
sql_stmt := 'CREATE TABLE SimpleTypesTestTable
(
ID NUMBER PRIMARY KEY,
varchar2_notnull VARCHAR2(255) NOT NULL,
varchar2_null VARCHAR2(255) NULL,
char_notnull CHAR(1 BYTE) NOT NULL,
char_null CHAR(1 BYTE) NULL,
date_notnull DATE NOT NULL,
date_null DATE NULL,
timestamp_notnull TIMESTAMP NOT NULL,
timestamp_null TIMESTAMP NULL,
number80_notnull NUMBER(8, 0) NOT NULL,
number80_null NUMBER(8, 0) NULL,
float_notnull FLOAT NOT NULL,
float_null FLOAT NULL,
clob_notnull CLOB NOT NULL,
clob_null CLOB NULL
)';
EXECUTE IMMEDIATE sql_stmt;
INSERT INTO SimpleTypesTestTable VALUES (1, 'test string', null, 'c', null, TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss'), null, CURRENT_TIMESTAMP, NULL, 123, null, 123.123, null, 'str', null);
INSERT INTO SimpleTypesTestTable VALUES (2, 'test string', 'test string', 'c', 'c', TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss'), TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss'), CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, 123, 123, 123.123, 123.123, 'str', 'str');
select count(*) into c from user_tables where table_name = upper('GeometryTypesTestTable');
if c = 1 then
execute immediate 'drop table GeometryTypesTestTable';
end if;
sql_stmt := 'CREATE TABLE GeometryTypesTestTable
(
ID int PRIMARY KEY,
sdo_geometry_notnull SDO_GEOMETRY not null,
sdo_geometry_null SDO_GEOMETRY null,
sdo_geometry_sql nvarchar2(2000) not null
)';
EXECUTE IMMEDIATE sql_stmt;
--NULL column with NULL value
--point
INSERT INTO GeometryTypesTestTable VALUES (1, SDO_GEOMETRY(2001, NULL, MDSYS.SDO_POINT_TYPE(12, 14, NULL), NULL,NULL), NULL, 'MDSYS.SDO_GEOMETRY(2001, NULL, MDSYS.SDO_POINT_TYPE(12, 14, NULL), NULL,NULL)');
--line
INSERT INTO GeometryTypesTestTable VALUES (2, SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,2, 1,2,1, 3,2,2), SDO_ORDINATE_ARRAY(10,10, 10,14, 6,10, 14,10)), NULL, 'SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,2, 1,2,1, 3,2,2), SDO_ORDINATE_ARRAY(10,10, 10,14, 6,10, 14,10))');
--polygon
INSERT INTO GeometryTypesTestTable VALUES (3, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), SDO_ORDINATE_ARRAY(6,10, 10,1, 14,10, 10,14, 6,10)), NULL, 'SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), SDO_ORDINATE_ARRAY(6,10, 10,1, 14,10, 10,14, 6,10))');
-- NULL column with same value as not null
--point
INSERT INTO GeometryTypesTestTable VALUES (4, SDO_GEOMETRY(2001, NULL, MDSYS.SDO_POINT_TYPE(12, 14, NULL), NULL,NULL), SDO_GEOMETRY(2001, NULL, MDSYS.SDO_POINT_TYPE(12, 14, NULL), NULL,NULL), 'MDSYS.SDO_GEOMETRY(2001, NULL, MDSYS.SDO_POINT_TYPE(12, 14, NULL), NULL,NULL)');
--line
INSERT INTO GeometryTypesTestTable VALUES (5, SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,2, 1,2,1, 3,2,2), SDO_ORDINATE_ARRAY(10,10, 10,14, 6,10, 14,10)), SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,2, 1,2,1, 3,2,2), SDO_ORDINATE_ARRAY(10,10, 10,14, 6,10, 14,10)), 'SDO_GEOMETRY(2002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,2, 1,2,1, 3,2,2), SDO_ORDINATE_ARRAY(10,10, 10,14, 6,10, 14,10))');
--polygon
INSERT INTO GeometryTypesTestTable VALUES (6, SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), SDO_ORDINATE_ARRAY(6,10, 10,1, 14,10, 10,14, 6,10)), SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), SDO_ORDINATE_ARRAY(6,10, 10,1, 14,10, 10,14, 6,10)), 'SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1,1005,2, 1,2,1, 5,2,2), SDO_ORDINATE_ARRAY(6,10, 10,1, 14,10, 10,14, 6,10))');
end;
|
DROP VIEW IF EXISTS view_persediaan_barang2_dukcatpil;
CREATE VIEW view_persediaan_barang2_dukcatpil AS
SELECT
*,
sum(jumlah) OVER (PARTITION BY kode_barang ORDER BY serial, tanggal, id_persediaan) as pra_saldo
FROM
view_persediaan_barang_dukcatpil
WHERE
1 = 1 AND
id_skpd = 12;
GRANT ALL PRIVILEGES ON view_persediaan_barang2_dukcatpil TO lap_dukcatpil;
REVOKE INSERT, UPDATE, DELETE ON view_persediaan_barang2_dukcatpil FROM lap_dukcatpil;
|
create table ?SCHEMA?.accounts_third (
name char(10),
acctno smallint not null
generated by default as
identity(start with 100, increment by 10))
;
insert into ?SCHEMA?.accounts_third(name,acctno) values
('George',24),
('Paul',default),
('Kevin',36),
('Jim',default),
('Bert',default),
('Glen',46);
select * from ?SCHEMA?.accounts_third;
|
DELETE
FROM studcourses;
DELETE
FROM course;
DELETE
FROM student;
DELETE
FROM instructor;
INSERT INTO instructor (instructid, instructname)
VALUES(1, 'Sally'),
(2, 'Lucy'),
(3, 'Charlie');
INSERT INTO course (courseid, coursename, instructid)
VALUES (1, 'Data Science', 1),
(2, 'JavaScript', 1),
(3, 'Node.js', 1),
(4, 'Java Back End', 2),
(5, 'Mobile IOS', 2),
(6, 'Mobile Android', 3);
INSERT INTO student (studid, studname)
VALUES (1, 'John'),
(2, 'Julian'),
(3, 'Mary'),
(4, 'Julian'),
(5, 'Tyler'),
(6, 'Kim'),
(7, 'Juan'),
(8, 'Robby'),
(9, 'Roberto'),
(10, 'Bob'),
(11, 'Liz'),
(12, 'June'),
(13, 'April');
INSERT INTO studcourses (studid, courseid)
VALUES (1, 1),
(1, 4),
(2, 2),
(3, 3),
(3, 1),
(3, 6);
alter sequence hibernate_sequence restart with 20;
|
SELECT COUNT(*)
FROM site AS s,
so_user AS u1,
tag AS t1,
tag_question AS tq1,
question AS q1,
badge AS b1,
account AS acc
WHERE s.site_id = u1.site_id
AND s.site_id = b1.site_id
AND s.site_id = t1.site_id
AND s.site_id = tq1.site_id
AND s.site_id = q1.site_id
AND t1.id = tq1.tag_id
AND q1.id = tq1.question_id
AND q1.owner_user_id = u1.id
AND acc.id = u1.account_id
AND b1.user_id = u1.id
AND (q1.score >= 1)
AND (q1.score <= 10)
AND s.site_name = 'stackoverflow'
AND (t1.name in ('broadcastreceiver',
'chart.js',
'credentials',
'ksoap2',
'monodevelop',
'parameter-passing',
'plot',
'primary-key',
'split',
'testcafe',
'widget'))
AND (LOWER(acc.website_url) LIKE ('%com'))
|
prompt --application/set_environment
set define off verify off feedback off
whenever sqlerror exit sql.sqlcode rollback
--------------------------------------------------------------------------------
--
-- ORACLE Application Express (APEX) export file
--
-- You should run the script connected to SQL*Plus as the Oracle user
-- APEX_210100 or as the owner (parsing schema) of the application.
--
-- NOTE: Calls to apex_application_install override the defaults below.
--
--------------------------------------------------------------------------------
begin
wwv_flow_api.import_begin (
p_version_yyyy_mm_dd=>'2021.04.15'
,p_release=>'21.1.2'
,p_default_workspace_id=>32532315908301997117
,p_default_application_id=>105814
,p_default_id_offset=>0
,p_default_owner=>'WKSP_PERSONALWEBSITE'
);
end;
/
|
DROP TABLE IF EXISTS test_table;
DROP TABLE IF EXISTS test_table_2;
SET input_format_null_as_default = 0;
SELECT 1;
/* Check JSONCompactEachRow Output */
CREATE TABLE test_table (value UInt8, name String) ENGINE = MergeTree() ORDER BY value;
INSERT INTO test_table VALUES (1, 'a'), (2, 'b'), (3, 'c');
SELECT * FROM test_table FORMAT JSONCompactEachRow;
SELECT 2;
/* Check Totals */
SELECT name, count() AS c FROM test_table GROUP BY name WITH TOTALS ORDER BY name FORMAT JSONCompactEachRow;
SELECT 3;
/* Check JSONCompactEachRowWithNames and JSONCompactEachRowWithNamesAndTypes Output */
SELECT * FROM test_table FORMAT JSONCompactEachRowWithNamesAndTypes;
SELECT '----------';
SELECT * FROM test_table FORMAT JSONCompactEachRowWithNames;
SELECT 4;
/* Check Totals */
SELECT name, count() AS c FROM test_table GROUP BY name WITH TOTALS ORDER BY name FORMAT JSONCompactEachRowWithNamesAndTypes;
DROP TABLE IF EXISTS test_table;
SELECT 5;
/* Check JSONCompactEachRow Input */
CREATE TABLE test_table (v1 String, v2 UInt8, v3 DEFAULT v2 * 16, v4 UInt8 DEFAULT 8) ENGINE = MergeTree() ORDER BY v2;
INSERT INTO test_table FORMAT JSONCompactEachRow ["first", 1, "2", null] ["second", 2, null, 6];
SELECT * FROM test_table FORMAT JSONCompactEachRow;
TRUNCATE TABLE test_table;
SELECT 6;
/* Check input_format_null_as_default = 1 */
SET input_format_null_as_default = 1;
INSERT INTO test_table FORMAT JSONCompactEachRow ["first", 1, "2", null] ["second", 2, null, 6];
SELECT * FROM test_table FORMAT JSONCompactEachRow;
TRUNCATE TABLE test_table;
SELECT 7;
/* Check Nested */
CREATE TABLE test_table_2 (v1 UInt8, n Nested(id UInt8, name String)) ENGINE = MergeTree() ORDER BY v1;
INSERT INTO test_table_2 FORMAT JSONCompactEachRow [16, [15, 16, null], ["first", "second", "third"]];
SELECT * FROM test_table_2 FORMAT JSONCompactEachRow;
TRUNCATE TABLE test_table_2;
SELECT 8;
/* Check JSONCompactEachRowWithNamesAndTypes and JSONCompactEachRowWithNamesAndTypes Input */
SET input_format_null_as_default = 0;
INSERT INTO test_table FORMAT JSONCompactEachRowWithNamesAndTypes ["v1", "v2", "v3", "v4"]["String","UInt8","UInt16","UInt8"]["first", 1, "2", null]["second", 2, null, 6];
INSERT INTO test_table FORMAT JSONCompactEachRowWithNames ["v1", "v2", "v3", "v4"]["first", 1, "2", null]["second", 2, null, 6];
SELECT * FROM test_table FORMAT JSONCompactEachRow;
TRUNCATE TABLE test_table;
SELECT 9;
/* Check input_format_null_as_default = 1 */
SET input_format_null_as_default = 1;
INSERT INTO test_table FORMAT JSONCompactEachRowWithNamesAndTypes ["v1", "v2", "v3", "v4"]["String","UInt8","UInt16","UInt8"]["first", 1, "2", null] ["second", 2, null, 6];
INSERT INTO test_table FORMAT JSONCompactEachRowWithNames ["v1", "v2", "v3", "v4"]["first", 1, "2", null] ["second", 2, null, 6];
SELECT * FROM test_table FORMAT JSONCompactEachRow;
SELECT 10;
/* Check Header */
TRUNCATE TABLE test_table;
SET input_format_skip_unknown_fields = 1;
INSERT INTO test_table FORMAT JSONCompactEachRowWithNamesAndTypes ["v1", "v2", "invalid_column"]["String", "UInt8", "UInt8"]["first", 1, 32]["second", 2, "64"];
INSERT INTO test_table FORMAT JSONCompactEachRowWithNames ["v1", "v2", "invalid_column"]["first", 1, 32]["second", 2, "64"];
SELECT * FROM test_table FORMAT JSONCompactEachRow;
SELECT 11;
TRUNCATE TABLE test_table;
INSERT INTO test_table FORMAT JSONCompactEachRowWithNamesAndTypes ["v4", "v2", "v3"]["UInt8", "UInt8", "UInt16"][1, 2, 3]
INSERT INTO test_table FORMAT JSONCompactEachRowWithNames ["v4", "v2", "v3"][1, 2, 3]
SELECT * FROM test_table FORMAT JSONCompactEachRowWithNamesAndTypes;
SELECT '----------';
SELECT * FROM test_table FORMAT JSONCompactEachRowWithNames;
SELECT 12;
/* Check Nested */
INSERT INTO test_table_2 FORMAT JSONCompactEachRowWithNamesAndTypes ["v1", "n.id", "n.name"]["UInt8", "Array(UInt8)", "Array(String)"][16, [15, 16, null], ["first", "second", "third"]];
INSERT INTO test_table_2 FORMAT JSONCompactEachRowWithNames ["v1", "n.id", "n.name"][16, [15, 16, null], ["first", "second", "third"]];
SELECT * FROM test_table_2 FORMAT JSONCompactEachRowWithNamesAndTypes;
SELECT '----------';
SELECT * FROM test_table_2 FORMAT JSONCompactEachRowWithNames;
DROP TABLE IF EXISTS test_table;
DROP TABLE IF EXISTS test_table_2;
|
CREATE TABLE `cps_blacklist_email` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`date_created` datetime NOT NULL,
`email` varchar(255) NOT NULL,
`last_updated` datetime NOT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
`remark` text NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_cy6nq9l2l71dv1w8v4f0rcvug` (`created_by_id`),
KEY `FK_1nh7f1x7tvrcr15hudghqk2e5` (`modified_by_id`),
CONSTRAINT `FK_1nh7f1x7tvrcr15hudghqk2e5` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_cy6nq9l2l71dv1w8v4f0rcvug` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_camera_usage` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`business_type` varchar(255) NOT NULL,
`business_type_others` varchar(255) DEFAULT NULL,
`date_created` datetime NOT NULL,
`last_updated` datetime NOT NULL,
`member_id` bigint(20) NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_ddkv8w7cugnal2pw6pnogx6m8` (`member_id`),
KEY `FK_nphdv4fn6bf7a0bu518377y5x` (`created_by_id`),
KEY `FK_i8akhm2xl6h03clb7mjbpks32` (`modified_by_id`),
CONSTRAINT `FK_ddkv8w7cugnal2pw6pnogx6m8` FOREIGN KEY (`member_id`) REFERENCES `cps_member` (`id`),
CONSTRAINT `FK_i8akhm2xl6h03clb7mjbpks32` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_nphdv4fn6bf7a0bu518377y5x` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1629 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_camera_usage_detail` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`camera_usage_id` bigint(20) NOT NULL,
`date_created` datetime NOT NULL,
`detail_type` varchar(255) NOT NULL,
`detail_type_others` varchar(255) DEFAULT NULL,
`last_updated` datetime NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_ci35qsgpu5kmjrs5u9c7kgu6h` (`camera_usage_id`),
KEY `FK_2wyoaep6mv6712gheefuw2iyw` (`created_by_id`),
KEY `FK_qebge9ntf35uwausdtehy8m08` (`modified_by_id`),
CONSTRAINT `FK_2wyoaep6mv6712gheefuw2iyw` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_ci35qsgpu5kmjrs5u9c7kgu6h` FOREIGN KEY (`camera_usage_id`) REFERENCES `cps_camera_usage` (`id`),
CONSTRAINT `FK_qebge9ntf35uwausdtehy8m08` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=153 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_country` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`country_id` bigint(20) NOT NULL,
`date_created` datetime NOT NULL,
`last_updated` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UK_ewiargbidlieb6nn67xwd50gy` (`country_id`),
CONSTRAINT `FK_ewiargbidlieb6nn67xwd50gy` FOREIGN KEY (`country_id`) REFERENCES `country` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_equipment` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`criteria` int(11) DEFAULT NULL,
`date_created` datetime NOT NULL,
`equipment_type` varchar(255) NOT NULL,
`last_updated` datetime NOT NULL,
`name` varchar(255) NOT NULL,
`status` varchar(255) NOT NULL,
`legacy_id` bigint(20) DEFAULT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_h0njs9asanykdg6s01gysvhty` (`created_by_id`),
KEY `FK_plttn9q5gdtfahekxxtikvbpb` (`modified_by_id`),
CONSTRAINT `FK_h0njs9asanykdg6s01gysvhty` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_plttn9q5gdtfahekxxtikvbpb` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10026 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_invitation` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`date_created` datetime NOT NULL,
`email` varchar(255) NOT NULL,
`full_name` varchar(255) NOT NULL,
`last_updated` datetime NOT NULL,
`message` text,
`modified_by_id` bigint(20) DEFAULT NULL,
`sent_count` int(11) NOT NULL,
`sent_date` datetime DEFAULT NULL,
`site_id` bigint(20) NOT NULL,
`status` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_5fnnysefrwx21ctw5ipowhog9` (`created_by_id`),
KEY `FK_qn0sawi0faypnxf49urdvnhho` (`modified_by_id`),
KEY `FK_mho6lvpi3adjf5n66dnd5w6n5` (`site_id`),
CONSTRAINT `FK_5fnnysefrwx21ctw5ipowhog9` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_mho6lvpi3adjf5n66dnd5w6n5` FOREIGN KEY (`site_id`) REFERENCES `site` (`id`),
CONSTRAINT `FK_qn0sawi0faypnxf49urdvnhho` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_member` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`address` text NOT NULL,
`card_expiry_date` datetime DEFAULT NULL,
`card_issue_date` datetime DEFAULT NULL,
`card_name` varchar(255) DEFAULT NULL,
`city` varchar(255) NOT NULL,
`company_name` varchar(255) DEFAULT NULL,
`country_id` bigint(20) NOT NULL,
`country_verify_date` datetime DEFAULT NULL,
`country_verify_status` int(11) DEFAULT NULL,
`cps_no` varchar(255) DEFAULT NULL,
`cspl_status` int(11) DEFAULT NULL,
`cspl_verify_date` datetime DEFAULT NULL,
`date_created` datetime NOT NULL,
`email` varchar(255) NOT NULL,
`enquiry_status` varchar(255) NOT NULL,
`full_name` varchar(255) NOT NULL,
`is_lecturer` bit(1) NOT NULL DEFAULT b'0',
`last_updated` datetime NOT NULL,
`mailing_list_status` int(11) DEFAULT NULL,
`mc_received_date` datetime DEFAULT NULL,
`member_status` varchar(255) NOT NULL,
`member_type` varchar(255) NOT NULL,
`nationality` varchar(255) DEFAULT NULL,
`passport_no` varchar(255) NOT NULL,
`province` varchar(255) NOT NULL,
`remark` text,
`salutation` varchar(255) NOT NULL,
`salutation_other` varchar(255) DEFAULT NULL,
`send_mc_to_nso_date` datetime DEFAULT NULL,
`site_id` bigint(20) NOT NULL,
`submission_date` datetime NOT NULL,
`tel_home` varchar(255) DEFAULT NULL,
`tel_mobile` varchar(255) DEFAULT NULL,
`tel_office` varchar(255) DEFAULT NULL,
`welcome_kit_sent_date` datetime DEFAULT NULL,
`working_certificate` varchar(255) DEFAULT NULL,
`zip_code` varchar(255) DEFAULT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`invitation_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UK_6cgw45g6gbd90t646i58vix4g` (`email`),
KEY `FK_1dtjkjc94cadlc6mtk4ythp9f` (`country_id`),
KEY `FK_9nnob3gk3n3y0r5d1nvvqooym` (`site_id`),
KEY `FK_rmcsci6xk4bd8gra0c8xxpkms` (`created_by_id`),
KEY `FK_ml67c8guxik81sa6mnrrpw524` (`invitation_id`),
KEY `FK_l6659tvcnn9f6abkfw5lack0d` (`modified_by_id`),
CONSTRAINT `FK_1dtjkjc94cadlc6mtk4ythp9f` FOREIGN KEY (`country_id`) REFERENCES `country` (`id`),
CONSTRAINT `FK_9nnob3gk3n3y0r5d1nvvqooym` FOREIGN KEY (`site_id`) REFERENCES `site` (`id`),
CONSTRAINT `FK_l6659tvcnn9f6abkfw5lack0d` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_ml67c8guxik81sa6mnrrpw524` FOREIGN KEY (`invitation_id`) REFERENCES `cps_invitation` (`id`),
CONSTRAINT `FK_rmcsci6xk4bd8gra0c8xxpkms` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1742 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_member_equipment` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`date_created` datetime NOT NULL,
`equipment_id` bigint(20) NOT NULL,
`last_updated` datetime NOT NULL,
`member_id` bigint(20) NOT NULL,
`retain` bit(1) NOT NULL DEFAULT b'1',
`serial_number` varchar(255) NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UK1b600c9624c406482f70943b8ffd` (`serial_number`,`member_id`,`equipment_id`),
KEY `FK_psnou3oiqt9uy3310r4dp81a6` (`equipment_id`),
KEY `FK_pqnk5sjq5k1aknyh80oeah7l9` (`member_id`),
KEY `FK_gwlp5dqd6h1xe01cla6mmh7bi` (`created_by_id`),
KEY `FK_3508tw3ldwdncxvgcrksxuqm8` (`modified_by_id`),
CONSTRAINT `FK_3508tw3ldwdncxvgcrksxuqm8` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_gwlp5dqd6h1xe01cla6mmh7bi` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_pqnk5sjq5k1aknyh80oeah7l9` FOREIGN KEY (`member_id`) REFERENCES `cps_member` (`id`),
CONSTRAINT `FK_psnou3oiqt9uy3310r4dp81a6` FOREIGN KEY (`equipment_id`) REFERENCES `cps_equipment` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23444 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_renewal` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`available` bit(1) NOT NULL DEFAULT b'1',
`date_created` datetime NOT NULL,
`form_data` text,
`last_updated` datetime NOT NULL,
`member_id` bigint(20) NOT NULL,
`token` varchar(255) NOT NULL,
`used_by` text,
`used_on` datetime DEFAULT NULL,
`renewal_deadline` datetime DEFAULT NULL,
`sent` bit(1) NOT NULL DEFAULT b'0',
`submission_status` bit(1) NOT NULL DEFAULT b'0',
`created_by_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_33v6hpqgkj5mvcf4hq4jmhl5j` (`member_id`),
KEY `FK_8t9p03i4lfls63etj51cse72i` (`created_by_id`),
KEY `FK_ie104ucbx6bnsmdrvxoyt6aub` (`modified_by_id`),
CONSTRAINT `FK_33v6hpqgkj5mvcf4hq4jmhl5j` FOREIGN KEY (`member_id`) REFERENCES `cps_member` (`id`),
CONSTRAINT `FK_8t9p03i4lfls63etj51cse72i` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_ie104ucbx6bnsmdrvxoyt6aub` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=756 DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_sensor_cleaning` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`created_by_id` bigint(20) DEFAULT NULL,
`date_created` datetime NOT NULL,
`date_of_service` datetime NOT NULL,
`is_external` bit(1) NOT NULL DEFAULT b'0',
`last_updated` datetime NOT NULL,
`member_id` bigint(20) NOT NULL,
`member_equipment_id` bigint(20) DEFAULT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`release_date` datetime DEFAULT NULL,
`remark` text,
`serial` varchar(255) DEFAULT NULL,
`status` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_9lts0kope1ox37uqpeu469qfk` (`created_by_id`),
KEY `FK_nyqa61eageqlepy9by05d3jjr` (`member_id`),
KEY `FK_550h514qaebk08n0shrv1hnj7` (`member_equipment_id`),
KEY `FK_3daas36kveiweal4htlpwj627` (`modified_by_id`),
CONSTRAINT `FK_3daas36kveiweal4htlpwj627` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_550h514qaebk08n0shrv1hnj7` FOREIGN KEY (`member_equipment_id`) REFERENCES `cps_member_equipment` (`id`),
CONSTRAINT `FK_9lts0kope1ox37uqpeu469qfk` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_nyqa61eageqlepy9by05d3jjr` FOREIGN KEY (`member_id`) REFERENCES `cps_member` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `cps_template` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`version` bigint(20) NOT NULL,
`content` mediumtext,
`created_by_id` bigint(20) DEFAULT NULL,
`date_created` datetime NOT NULL,
`language_id` varchar(5) NOT NULL,
`last_updated` datetime NOT NULL,
`modified_by_id` bigint(20) DEFAULT NULL,
`name` varchar(255) NOT NULL,
`site_id` bigint(20) NOT NULL,
`status` varchar(255) DEFAULT NULL,
`template_type` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_56kuobpvjqhom4i5ey3xtygf3` (`created_by_id`),
KEY `FK_2w14cd57e8a35myuwl48hh95b` (`language_id`),
KEY `FK_s7g7oncjkelfa1knpm28t5p0x` (`modified_by_id`),
KEY `FK_651e3mntge5y9brsy8r36em8j` (`site_id`),
CONSTRAINT `FK_2w14cd57e8a35myuwl48hh95b` FOREIGN KEY (`language_id`) REFERENCES `lang` (`id`),
CONSTRAINT `FK_56kuobpvjqhom4i5ey3xtygf3` FOREIGN KEY (`created_by_id`) REFERENCES `user` (`id`),
CONSTRAINT `FK_651e3mntge5y9brsy8r36em8j` FOREIGN KEY (`site_id`) REFERENCES `site` (`id`),
CONSTRAINT `FK_s7g7oncjkelfa1knpm28t5p0x` FOREIGN KEY (`modified_by_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
/* **DISCLAIMER**
By accessing this code, you acknowledge the code is made available for presentation and demonstration purposes only and that the code: (1) is not subject to SOC 1 and SOC 2 compliance audits; (2) is not designed or intended to be a substitute for the professional advice, diagnosis, treatment, or judgment of a certified financial services professional; (3) is not designed, intended or made available as a medical device; and (4) is not designed or intended to be a substitute for professional medical advice, diagnosis, treatment or judgement. Do not use this code to replace, substitute, or provide professional financial advice or judgment, or to replace, substitute or provide medical advice, diagnosis, treatment or judgement. You are solely responsible for ensuring the regulatory, legal, and/or contractual compliance of any use of the code, including obtaining any authorizations or consents, and any solution you choose to build that incorporates this code in whole or in part. */
SELECT COUNT_BIG(1) as TotalCount FROM dbo.Sales(nolock)
-- #ROW_NUMBER_COUNT#
--let's execute the below query
-- We have Data from SALES,Products,MillennialCustomers and Twitter.
select CustKey, UserName, Emailstatus, Department, [Twitter Sentiment], cast(round(TotalSale/10000,0) as int) as Revenue
from (SELECT P.Department, TA.Sentiment AS [Twitter Sentiment],
sum(S.TotalAmount) as TotalSale,
M.UserName, M.Emailstatus, M.CustKey
FROM dbo.Sales as S
inner join dbo.Products as P on P.Products_ID= S.ProductId inner join [dbo].[Dim_Customer] DC
left outer join dbo.[TwitterAnalytics] TA on TA.[username]=DC.[userName] on DC.[id]=S.[Customerid]
inner join dbo.[MillennialCustomers] as M on M.CustKey = S.Customerid
where DC.[FullName]!='N/A'
group by DC.[FullName],P.Department,TA.Sentiment,M.UserName,M.CustKey,M.Emailstatus)
as result
|
-- @testpoint:分区表local索引,增加和删除分区,增加索引
--建普通表
DROP TABLE if EXISTS test_index_table_174 CASCADE;
create table test_index_table_174(
c_int int
) WITH (ORIENTATION = row) partition by range(c_int)(
partition p1 values less than (100),
partition p2 values less than (1000),
partition p3 values less than (5000),
partition p4 values less than (10001)
);
drop index if exists index_174_01;
create index index_174_01 on test_index_table_174(c_int) local (partition p1,partition p2,partition p3,partition p4);
select relname from PG_PARTITION where parentid=(select relfilenode from pg_class where relname='index_174_01') order by relname asc;
--增加分区
explain select c_int from test_index_table_174 where c_int > 5000 group by c_int;
ALTER TABLE test_index_table_174 ADD PARTITION P5 VALUES LESS THAN (50000);
explain select c_int from test_index_table_174 where c_int > 20000 group by c_int;
select relname from PG_PARTITION where parentid=(select relfilenode from pg_class where relname='index_174_01') order by relname asc;
--删除分区
explain select c_int from test_index_table_174 where c_int < 50 group by c_int;
ALTER TABLE test_index_table_174 drop PARTITION p1;
explain select c_int from test_index_table_174 where c_int < 50 group by c_int;
--清理环境
DROP TABLE if EXISTS test_index_table_174 CASCADE;
|
-- phpMyAdmin SQL Dump
-- version 4.1.4
-- http://www.phpmyadmin.net
--
-- Client : 127.0.0.1
-- Généré le : Lun 06 Septembre 2021 à 18:43
-- Version du serveur : 5.6.15-log
-- Version de PHP : 5.5.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 */;
--
-- Base de données : `jobboard_db`
--
-- --------------------------------------------------------
--
-- Structure de la table `contract`
--
CREATE TABLE IF NOT EXISTS `contract` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Contenu de la table `contract`
--
INSERT INTO `contract` (`id`, `name`) VALUES
(1, 'CDD'),
(2, 'CDI'),
(3, 'Alternance'),
(4, 'Stage');
-- --------------------------------------------------------
--
-- Structure de la table `jobs`
--
CREATE TABLE IF NOT EXISTS `jobs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`profession_id` int(11) NOT NULL,
`location_id` int(11) NOT NULL,
`contract_id` int(11) NOT NULL,
`company` varchar(255) NOT NULL,
`job_title` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`salary` varchar(255) NOT NULL,
`contact_user` varchar(255) NOT NULL,
`contact_email` varchar(255) NOT NULL,
`post_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`post_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ;
--
-- Contenu de la table `jobs`
--
INSERT INTO `jobs` (`id`, `profession_id`, `location_id`, `contract_id`, `company`, `job_title`, `description`, `salary`, `contact_user`, `contact_email`, `post_date`, `post_update`) VALUES
(1, 2, 1, 3, 'Subskill', 'Développeur Back', 'Agence digitale indépendante créée en 2008, Subskill se positionne comme un acteur de la transformation digitale des entreprises. Ils sont des Digital Experience Makers !', 'Non renseigné', 'Olivier Ross', '[email protected]', '2021-09-03 15:11:56', '2021-09-06 15:37:41'),
(2, 1, 2, 2, 'Microsoft Inc', 'Ingénieur DevOps', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed orci fringilla, sagittis enim id, luctus metus. Duis a magna urna. Fusce dui neque, pellentesque at tellus et, malesuada commodo lacus. Mauris a porttitor mi, a rutrum lacus. In quis el', '98k', 'Neil Boyd', '[email protected]', '2021-09-03 15:11:56', '2021-09-06 15:37:41'),
(3, 1, 1, 1, 'Cisco', 'Ingénieur réseau', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis nec erat vitae porta. Fusce rhoncus erat nunc, sed dictum sem dignissim eu. Vivamus nec purus quis leo finibus interdum vitae ut justo. Nam porta auctor dolor, consequat volutpat libero', '70k', 'Marc Noel', '[email protected]', '2021-09-04 13:15:15', '2021-09-06 15:37:41'),
(4, 1, 1, 1, 'Microsoft Inc.', 'Développeur junior C# (H/F)', 'Aliquam volutpat sed dolor in blandit. Cras sed dictum diam. Cras accumsan porttitor sem. In tempor ac tellus ac tristique. Fusce at odio diam. Sed laoreet elementum porttitor. Proin nec ligula vel velit iaculis efficitur. Phasellus nec dui mattis, sceler', '20k', 'jean', '[email protected]', '2021-09-04 13:17:43', '2021-09-06 15:37:41'),
(6, 2, 1, 3, 'Microsoft Inc.', 'Développeur junior C# (H/F)', 'Le Lorem Ipsum est simplement du faux texte employé dans la composition et la mise en page avant impression.', '20k', 'DUPONT Jean', '[email protected]', '2021-09-04 14:31:16', '2021-09-06 15:37:41'),
(7, 2, 1, 2, 'Tech solutions', 'Developpeur Full Stack', 'Au sein d''une petite équipe de 3 développeurs fonctionnant en méthode agile, vous toucherez à tous les aspects du développement. Vous aurez aussi l''appui d''experts externes qui nous accompagnent dans des domaines tels que l''infra, le sql et les intégratio', '40k', 'Laurent Panier', '[email protected]', '2021-09-04 14:44:56', '2021-09-06 15:37:41'),
(8, 5, 5, 2, 'Atlas', 'Chef de projet IA [H/F]', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam a massa massa. Sed et libero varius, tristique arcu sit amet, luctus turpis. Praesent quis suscipit nunc. Donec quis dictum libero, et malesuada orci. Suspendisse iaculis felis a purus convall', '50k', 'Ronald Byrd', '[email protected]', '2021-09-05 11:35:50', '2021-09-06 15:37:41'),
(9, 3, 4, 4, 'Tech Center', 'Stage - Intégrateur Web Wordpress [H/F]', 'Nulla facilisi. Vivamus sit amet libero risus. Suspendisse enim odio, sodales id ligula non, vestibulum molestie velit. Phasellus ut felis urna. Praesent sed velit eu libero facilisis faucibus id nec magna. Sed sit amet tristique lectus, vel elementum lig', 'Non rémunéré', 'Layla Lopez', '[email protected]', '2021-09-05 11:38:38', '2021-09-06 15:37:41'),
(10, 6, 3, 1, 'Marseille Tech', 'Graphiste [H/F]', 'Sed eu est suscipit, hendrerit tellus id, auctor lorem. Ut quis mollis urna. Sed sodales purus in lacinia iaculis. Sed et justo eget leo consectetur dapibus sit amet in elit. Cras ultricies cursus mi, in molestie massa vulputate et. Maecenas interdum impe', '25k', 'Laurent Noel', '[email protected]', '2021-09-05 11:41:07', '2021-09-06 15:37:41'),
(11, 4, 1, 2, 'Tech Industry', 'Modélisateur Blender [H/F]', 'Phasellus posuere dui sollicitudin urna ultricies, quis lobortis justo malesuada. Aenean vel velit ac nulla pretium consequat a vel nisi. Nulla non nulla tortor. Vivamus elementum est elit, sit amet mollis massa aliquet et. Pellentesque magna mauris, vehi', '35k', 'Camila Harrison', '[email protected]', '2021-09-05 11:43:15', '2021-09-06 15:37:41'),
(13, 2, 1, 3, 'SNCF', 'Alternant Développeur Back (H/F)', 'In tempor gravida porttitor. Vivamus lobortis pellentesque lacus, non ornare justo ullamcorper nec. Duis sed lectus a ligula tincidunt tincidunt. In scelerisque eros vel elit dignissim, sit amet hendrerit nisi ultricies. Aliquam erat volutpat. In convalli', '25k', 'Jennifer Owens', '[email protected]', '2021-09-06 09:05:35', '2021-09-06 15:37:41'),
(14, 2, 1, 3, 'Avis vérifiés', 'Alternant Développeur Back (H/F)', 'Curabitur lorem mauris, consectetur ac nisl eu, molestie varius quam. Aliquam a molestie risus. Etiam aliquet massa tincidunt elit lobortis aliquam. Fusce id dapibus ante, quis tincidunt elit. Maecenas in iaculis nulla, in blandit diam. Vestibulum pretium', '20k', 'Jamie Fuller', '[email protected]', '2021-09-06 15:11:54', '2021-09-06 15:37:41'),
(15, 2, 1, 3, 'IBM', 'Développeur Réseau [H/F]', 'In hendrerit diam vitae ex egestas, eu rutrum nibh pellentesque. Integer fermentum sapien a velit iaculis rhoncus. Nunc bibendum, mauris id aliquam mattis, lorem nibh bibendum ligula, cursus pretium nisl ex id nunc. In vitae sapien finibus, congue neque i', '20k', 'Dolores Williamson', '[email protected]', '2021-09-06 15:13:57', '2021-09-06 15:37:41'),
(16, 2, 1, 2, 'LCL', 'Développeur Blockchain [H/F]', 'Pellentesque in bibendum diam, eget ultrices turpis. Donec eros ipsum, tempus ut nisi at, posuere pellentesque eros. Sed venenatis lorem quis risus ultrices, eu rhoncus erat luctus. In ac arcu enim. Suspendisse pulvinar diam vitae massa ullamcorper fermen', '50k', 'Beverly Pena', '[email protected]', '2021-09-06 15:15:00', '2021-09-06 15:37:41'),
(17, 2, 1, 4, 'Crédit agricole', 'Stagiaire développeur [H/F]', 'Sed commodo vehicula metus, eu volutpat justo sodales et. Aliquam dictum dictum leo. Nullam eget elit dui. Cras non elit ut tellus aliquet placerat. Curabitur non turpis mattis, vestibulum ligula in, gravida erat. Interdum et malesuada fames ac ante ipsum', 'Non rémunéré', 'Diane Bailey', '[email protected]', '2021-09-06 15:16:22', '2021-09-06 15:37:41'),
(18, 2, 1, 1, 'AXA', 'Développeur junior C# (H/F)', 'Aliquam turpis erat, euismod ut hendrerit at, dapibus vitae nunc. Aenean posuere, justo et luctus elementum, quam enim venenatis magna, non vestibulum sem ipsum ac nisl. Pellentesque interdum posuere tellus, in lobortis risus tristique a. Nunc nisl neque,', '20k', 'Javier Castillo', '[email protected]', '2021-09-06 15:17:31', '2021-09-06 15:37:41'),
(19, 2, 1, 2, 'Orange', 'Développeur Fullstack [H/F]', 'Fusce at urna massa. Praesent egestas mi dui, tempor dictum nulla lacinia eget. Morbi quis lectus faucibus ipsum sagittis venenatis. Cras luctus, dui non ornare mattis, sem elit fermentum lacus, tempor euismod urna purus et ex. Aenean faucibus leo nibh, e', '98k', 'Marion Alvarez', '[email protected]', '2021-09-06 15:19:12', '2021-09-06 15:37:41'),
(20, 2, 1, 4, 'Thales', 'Stagiaire développeur [H/F]', 'Quisque sed sagittis erat, vitae laoreet orci. Phasellus quis efficitur velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Sed vel tempor urna. Quisque a ante lobortis mi posuere efficitur ac id massa. Nunc temp', 'Non rémunéré', 'Amber Hawkins', '[email protected]', '2021-09-06 15:20:43', '2021-09-06 15:37:41'),
(21, 2, 1, 2, 'Bouygues', 'Dev Ops', 'Quisque sed sagittis erat, vitae laoreet orci. Phasellus quis efficitur velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Sed vel tempor urna. Quisque a ante lobortis mi posuere efficitur ac id massa. Nunc temp', '50k', 'Michele Spencer', '[email protected]', '2021-09-06 15:28:23', '2021-09-06 15:37:41'),
(22, 2, 1, 2, 'JP Tech', 'Développeur informatique ', 'Fusce at urna massa. Praesent egestas mi dui, tempor dictum nulla lacinia eget. Morbi quis lectus faucibus ipsum sagittis venenatis. Cras luctus, dui non ornare mattis, sem elit fermentum lacus, tempor euismod urna purus et ex. Aenean faucibus leo nibh, e', '20k', 'Alfredo Spencer', '[email protected]', '2021-09-06 15:34:07', '2021-09-06 15:54:13');
-- --------------------------------------------------------
--
-- Structure de la table `location`
--
CREATE TABLE IF NOT EXISTS `location` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Contenu de la table `location`
--
INSERT INTO `location` (`id`, `name`) VALUES
(1, 'Paris'),
(2, 'Bordeaux'),
(3, 'Marseille'),
(4, 'Lille'),
(5, 'Lyon');
-- --------------------------------------------------------
--
-- Structure de la table `profession`
--
CREATE TABLE IF NOT EXISTS `profession` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Contenu de la table `profession`
--
INSERT INTO `profession` (`id`, `name`) VALUES
(1, 'Ingénieur'),
(2, 'Développeur'),
(3, 'Intégrateur'),
(4, 'Modélisateur'),
(5, 'Chef de projet'),
(6, 'Graphiste');
/*!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 */;
|
-- Step 1 - create an asymmetic key from D:\Labfiles\Lab13\Starter\strong_name.snk
USE master
GO
IF EXISTS ( SELECT * FROM sys.server_principals WHERE name = N'sign_assemblies' )
DROP LOGIN sign_assemblies
IF EXISTS ( SELECT * FROM sys.asymmetric_keys WHERE name = N'assembly_key')
DROP ASYMMETRIC KEY assembly_key
-- Step 2 - create an asymmetic key from D:\Labfiles\Lab13\Starter\strong_name.snk
CREATE ASYMMETRIC KEY assembly_key FROM FILE = '<path>';
-- Step 3 - create a login from the asymmetic key
CREATE LOGIN sign_assemblies FROM
-- Step 4 - grant the UNSAFE ASSEMBLY permission to the new login
GRANT UNSAFE ASSEMBLY TO sign_assemblies;
|
-- create db
-- DROP DATABASE IF EXISTS abacustest;
-- CREATE DATABASE abacustest DEFAULT CHARACTER SET utf8;
DROP TABLE IF EXISTS login;
DROP TABLE IF EXISTS account_contact;
DROP TABLE IF EXISTS account_device;
DROP TABLE IF EXISTS account;
DROP TABLE IF EXISTS acl_ug_target_relationship;
DROP TABLE IF EXISTS acl_target;
DROP TABLE IF EXISTS acl_user_group_relationship;
DROP TABLE IF EXISTS acl_group;
DROP TABLE IF EXISTS acl_user;
DROP TABLE IF EXISTS data_type;
-- account table.
DROP TABLE IF EXISTS login;
DROP TABLE IF EXISTS account_contact;
DROP TABLE IF EXISTS account_device;
DROP TABLE IF EXISTS account;
CREATE TABLE account(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
gui varchar(64) NOT NULL,
email_address varchar(64),
first_name varchar(32) NOT NULL,
middle_name varchar(32),
last_name varchar(32) NOT NULL,
birth_date date,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (gui),
UNIQUE (email_address),
PRIMARY KEY (id)
);
CREATE INDEX account_first_name_ind on account (first_name);
CREATE INDEX account_last_name_ind on account (last_name);
CREATE INDEX account_birth_date_ind on account (birth_date);
-- login table
DROP TABLE IF EXISTS login;
CREATE TABLE login(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
account_id bigint NOT NULL,
login_id varchar(64) NOT NULL,
login_password varchar(128) NOT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (login_id),
PRIMARY KEY (id),
FOREIGN KEY (account_id)
REFERENCES account (id)
ON UPDATE CASCADE ON DELETE RESTRICT
);
-- contact
DROP TABLE IF EXISTS account_contact;
CREATE TABLE account_contact(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
account_id bigint NOT NULL,
mobile varchar(16) DEFAULT NULL,
telephone varchar(16) DEFAULT NULL,
email varchar(64) DEFAULT NULL,
address varchar(128) DEFAULT NULL,
address_2 varchar(128) DEFAULT NULL,
city varchar(32) DEFAULT NULL,
state varchar(32) DEFAULT NULL,
country varchar(32) DEFAULT NULL,
zip_code varchar(16) DEFAULT NULL,
category varchar(32) DEFAULT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (account_id)
REFERENCES account (id)
ON UPDATE CASCADE ON DELETE RESTRICT
);
-- device table
DROP TABLE IF EXISTS account_device;
CREATE TABLE account_device(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
account_id bigint NOT NULL,
name varchar(64) NOT NULL,
udid varchar(64) NOT NULL,
platform varchar(64) DEFAULT NULL,
model varchar(64) DEFAULT NULL,
manufacturer varchar(64) DEFAULT NULL,
produce_time timestamp,
category varchar(32) DEFAULT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (udid),
PRIMARY KEY (id),
FOREIGN KEY (account_id)
REFERENCES account (id)
ON UPDATE CASCADE ON DELETE RESTRICT
);
-- acl user
DROP TABLE IF EXISTS acl_user_group_relationship;
DROP TABLE IF EXISTS acl_user;
CREATE TABLE acl_user(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
gui varchar(64) NOT NULL,
name varchar(32) NOT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (gui),
UNIQUE (name),
PRIMARY KEY (id)
);
-- acl group.
DROP TABLE IF EXISTS acl_user_group_relationship;
DROP TABLE IF EXISTS acl_group;
CREATE TABLE acl_group(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
gui varchar(64) NOT NULL,
name varchar(32) NOT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (gui),
UNIQUE (name),
PRIMARY KEY (id)
);
-- acl_user_group_relationship
DROP TABLE IF EXISTS acl_user_group_relationship;
CREATE TABLE acl_user_group_relationship(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
user_gui varchar(64) NOT NULL,
group_gui varchar(64) NOT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (user_gui)
REFERENCES acl_user (gui)
ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (group_gui)
REFERENCES acl_group (gui)
ON UPDATE CASCADE ON DELETE CASCADE
);
-- acl_target.
DROP TABLE IF EXISTS acl_ug_target_relationship;
DROP TABLE IF EXISTS acl_target;
CREATE TABLE acl_target(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
gui varchar(64) NOT NULL,
name varchar(128) NOT NULL,
category varchar(64) NOT NULL,
sub_category varchar(64) NOT NULL,
type varchar(64) NOT NULL,
sub_type varchar(64) NOT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
UNIQUE (gui),
UNIQUE (name),
PRIMARY KEY (id)
);
CREATE INDEX cl_target_category_ind on acl_target (category);
CREATE INDEX cl_target_sub_category_ind on acl_target (sub_category);
CREATE INDEX cl_target_type_ind on acl_target (type);
CREATE INDEX cl_target_sub_type_ind on acl_target (sub_type);
-- acl_ug_target_relationship
DROP TABLE IF EXISTS acl_ug_target_relationship;
CREATE TABLE acl_ug_target_relationship(
id bigint GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
ug_gui varchar(64) NOT NULL,
target_gui varchar(64) NOT NULL,
privilege bigint NOT NULL,
description varchar(1024) DEFAULT NULL,
status int DEFAULT 0,
last_update_time timestamp NOT NULL,
create_time timestamp NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (target_gui)
REFERENCES acl_target (gui)
ON UPDATE CASCADE ON DELETE CASCADE
);
CREATE INDEX acl_ug_target_relationship_ug_gui_ind on acl_ug_target_relationship (ug_gui);
-- data type
DROP TABLE IF EXISTS data_type;
CREATE TABLE data_type(
byteType tinyint DEFAULT NULL,
charType smallint DEFAULT NULL,
booleanType tinyint DEFAULT NULL,
shortType smallint DEFAULT NULL,
intType int DEFAULT NULL,
longType bigint DEFAULT NULL,
floatType float DEFAULT NULL,
doubleType double DEFAULT NULL,
bigDecimalType decimal(10, 0 ) DEFAULT NULL,
stringType varchar(1024) DEFAULT NULL,
byteArrayType varbinary(1024) DEFAULT NULL,
characterStreamType char(255) DEFAULT NULL,
binaryStreamType varbinary(1024) DEFAULT NULL,
clobType clob DEFAULT NULL,
blobType blob DEFAULT NULL,
dateType date DEFAULT NULL,
timeType time DEFAULT NULL,
timestampType timestamp NOT NULL,
longDateType bigint DEFAULT NULL,
longTimeType bigint DEFAULT NULL,
longTimestampType bigint DEFAULT NULL,
enumType varchar(64) DEFAULT NULL,
stringArrayListType varchar(1024) DEFAULT NULL,
booleanLinkedListType varchar(1024) DEFAULT NULL,
doubleArrayListType varchar(1024) DEFAULT NULL,
dateArrayListType varchar(1024) DEFAULT NULL,
timestampArrayListType varchar(1024) DEFAULT NULL,
bigDecimalArrayListType varchar(1024) DEFAULT NULL,
stringHashSetType varchar(1024) DEFAULT NULL,
booleanLinkedHashSetType varchar(1024) DEFAULT NULL,
dateHashSetType varchar(1024) DEFAULT NULL,
timestampHashSetType varchar(1024) DEFAULT NULL,
bigDecimalHashSetType varchar(1024) DEFAULT NULL,
stringHashMapType varchar(1024) DEFAULT NULL,
booleanLinkedHashMapType varchar(1024) DEFAULT NULL,
floatHashMapType varchar(1024) DEFAULT NULL,
dateHashMapType varchar(1024) DEFAULT NULL,
timestampHashMapType varchar(1024) DEFAULT NULL,
bigDecimalHashMapType varchar(1024) DEFAULT NULL,
StringVectorType varchar(1024) DEFAULT NULL,
StringConcurrentHashMapType varchar(1024) DEFAULT NULL,
jsonType varchar(1024) DEFAULT NULL,
xmlType varchar(1024) DEFAULT NULL
);
-- ================================================================================================
-- author
DROP TABLE IF EXISTS author;
CREATE TABLE author(
id int GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
firstName varchar(64) NOT NULL,
lastName varchar(64) NOT NULL,
birthDay timestamp DEFAULT NULL,
PRIMARY KEY (id)
);
-- book
DROP TABLE IF EXISTS book;
CREATE TABLE book(
id int GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
name varchar(64) NOT NULL,
language varchar(64) DEFAULT NULL,
PRIMARY KEY (id)
);
-- authorbook
DROP TABLE IF EXISTS authorbook;
CREATE TABLE authorbook(
AuthorId int NOT NULL,
bookId int NOT NULL,
UNIQUE (bookId,AuthorId)
);
-- contact
DROP TABLE IF EXISTS contact;
CREATE TABLE contact(
id int GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
hostId int NOT NULL,
mobile varchar(32) DEFAULT NULL,
telephone varchar(32) DEFAULT NULL,
email varchar(64) DEFAULT NULL,
address varchar(128) DEFAULT NULL,
PRIMARY KEY (id)
);
-- email
DROP TABLE IF EXISTS email;
CREATE TABLE email(
id int GENERATED BY DEFAULT AS IDENTITY(START WITH 1, INCREMENT BY 1),
contactId int NOT NULL,
emailAddress varchar(64) DEFAULT NULL,
PRIMARY KEY (id)
);
-- prepare test data
INSERT INTO book (id, name ) VALUES ( 1, 'book1');
INSERT INTO book (id, name ) VALUES ( 2, 'book2');
INSERT INTO book (id, name ) VALUES ( 3, 'book3');
INSERT INTO book (id, name ) VALUES ( 4, 'book4');
INSERT INTO book (id, name ) VALUES ( 5, 'book5');
INSERT INTO book (id, name ) VALUES ( 6, 'book6');
INSERT INTO book (id, name ) VALUES ( 7, 'book7');
INSERT INTO author (id, firstName , lastName,birthDay) VALUES ( 1, 'author1', 'num1', to_date('01/01/2001','DD/MM/YYYY'));
INSERT INTO author (id, firstName , lastName,birthDay) VALUES ( 2, 'author2', 'num2', to_date('01/01/2002','DD/MM/YYYY'));
INSERT INTO author (id, firstName , lastName,birthDay) VALUES ( 3, 'author3', 'num3', to_date('01/01/2003','DD/MM/YYYY'));
INSERT INTO author (id, firstName , lastName,birthDay) VALUES ( 4, 'author4', 'num4', to_date('01/01/2004','DD/MM/YYYY'));
INSERT INTO author (id, firstName , lastName,birthDay) VALUES ( 5, 'author5', 'num5', to_date('01/01/2005','DD/MM/YYYY'));
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 1, 1 );
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 1, 2 );
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 1, 3 );
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 2, 2 );
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 2, 3 );
INSERT INTO AuthorBook (bookId, authorId ) VALUES ( 3, 3 );
INSERT INTO contact (id, hostId, email) VALUES ( 1, 1, '[email protected]' );
INSERT INTO contact (id, hostId, email) VALUES ( 2, 2 , '[email protected]');
INSERT INTO contact (id, hostId, email) VALUES ( 3, 3 , '[email protected]');
INSERT INTO contact (id, hostId, email) VALUES ( 4, 4 , '[email protected]');
INSERT INTO contact (id, hostId, email) VALUES ( 5, 5 , '[email protected]');
-- ======================================================================================
|
CREATE TABLE challanges (
id serial NOT NULL,
created_at timestamp without time zone DEFAULT now() NOT NULL,
updated_at timestamp without time zone DEFAULT now() NOT NULL,
name text NOT NULL,
description text NOT NULL,
conditions jsonb
);
|
CREATE TABLE source
(
id INT,
name STRING,
money DECIMAL(32, 2),
dateone timestamp,
age bigint,
datethree timestamp,
datesix timestamp(6),
datenigth timestamp(9),
dtdate date,
dttime time
) WITH (
'connector' = 'console',
'number-of-rows' = '10', -- 输入条数,默认无限
'rows-per-second' = '1' -- 每秒输入条数,默认不限制
);
CREATE TABLE sink
(
id INT,
name STRING,
money DECIMAL(32, 2),
dateone timestamp,
age bigint,
datethree timestamp,
datesix timestamp(6),
datenigth timestamp(9),
dtdate date,
dttime time
) WITH (
'connector' = 'console',
'print' = 'true'
);
insert into sink
select *
from source;
|
/*
Navicat MySQL Data Transfer
Source Server : Local
Source Server Version : 50624
Source Host : 127.0.0.1:3306
Source Database : pawoon_test
Target Server Type : MYSQL
Target Server Version : 50624
File Encoding : 65001
Date: 2016-05-31 04:28:11
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for tbl_users
-- ----------------------------
DROP TABLE IF EXISTS `tbl_users`;
CREATE TABLE `tbl_users` (
`uuid` varchar(255) NOT NULL,
`nama` text NOT NULL,
`alamat` text,
PRIMARY KEY (`uuid`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tbl_users
-- ----------------------------
INSERT INTO `tbl_users` VALUES ('037a8f749f990fd51edd27f9bae8d36c:df', 'ibnu', 'jl.ultraviolet jakarta kelapa gading');
INSERT INTO `tbl_users` VALUES ('037a8f749f990fd51edd27f9bae8d36c:d3', 'hajar', 'kelapa gading timur, jakarta');
INSERT INTO `tbl_users` VALUES ('037a8f749f990fd51edd27f9bae8d36c:dd', 'inoeng', 'tanbora,jakarta selatan');
|
-- file:domain.sql ln:210 expect:true
SELECT cast('1' as dnotnull)
|
CREATE TABLE nullable_table (
id SERIAL PRIMARY KEY,
value INTEGER
);
|
--Проверка того, укакая у вас установлена версия PostgreSQL
SELECT
version();
|
-- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: testlaravel3
-- ------------------------------------------------------
-- Server version 5.5.5-10.1.19-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES 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 `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
KEY `password_resets_email_index` (`email`),
KEY `password_resets_token_index` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `password_resets`
--
LOCK TABLES `password_resets` WRITE;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `semesters`
--
DROP TABLE IF EXISTS `semesters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `semesters` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`semester` int(11) NOT NULL,
`startDate` date NOT NULL,
`endDate` date NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `semesters_semester_unique` (`semester`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `semesters`
--
LOCK TABLES `semesters` WRITE;
/*!40000 ALTER TABLE `semesters` DISABLE KEYS */;
INSERT INTO `semesters` VALUES (1,1,'2016-09-01','2016-11-30',NULL,NULL,NULL),(2,2,'2016-12-01','2017-02-28',NULL,NULL,NULL),(3,3,'2017-03-01','2017-05-31',NULL,NULL,NULL);
/*!40000 ALTER TABLE `semesters` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `students`
--
DROP TABLE IF EXISTS `students`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `students` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`age` int(11) NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `students`
--
LOCK TABLES `students` WRITE;
/*!40000 ALTER TABLE `students` DISABLE KEYS */;
INSERT INTO `students` VALUES (1,'Lý Hà Huyên',22,NULL,NULL,NULL),(2,'Thuỳ Đăng Thành',31,NULL,NULL,NULL),(3,'Hồ Nguyên Vương',24,NULL,NULL,NULL),(4,'Đoàn Tất Đàn',19,NULL,NULL,NULL);
/*!40000 ALTER TABLE `students` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `grades`
--
DROP TABLE IF EXISTS `grades`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `grades` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`student_id` int(10) unsigned NOT NULL,
`semester_id` int(10) unsigned NOT NULL,
`math` double(4,2) unsigned NOT NULL,
`physics` double(4,2) unsigned NOT NULL,
`chemistry` double(4,2) unsigned NOT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `grades_student_id_semester_id_unique` (`student_id`,`semester_id`),
KEY `grades_semester_id_foreign` (`semester_id`),
CONSTRAINT `grades_semester_id_foreign` FOREIGN KEY (`semester_id`) REFERENCES `semesters` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `grades_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `students` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `grades`
--
LOCK TABLES `grades` WRITE;
/*!40000 ALTER TABLE `grades` DISABLE KEYS */;
INSERT INTO `grades` VALUES (1,1,1,8.70,9.00,7.00,NULL,NULL,NULL),(3,1,2,9.00,8.00,9.00,NULL,NULL,NULL),(4,1,3,5.80,8.50,7.70,NULL,NULL,NULL),(5,2,1,2.40,6.70,8.80,NULL,NULL,NULL),(6,2,2,5.30,6.60,7.20,NULL,NULL,NULL),(7,2,3,4.10,7.00,6.30,NULL,NULL,NULL),(8,3,1,9.10,4.60,8.10,NULL,NULL,NULL),(9,3,2,7.90,4.60,7.00,NULL,NULL,NULL),(10,3,3,8.20,4.40,7.40,NULL,NULL,NULL),(11,4,1,6.00,6.00,6.20,NULL,NULL,NULL),(12,4,3,6.20,5.50,7.00,NULL,NULL,NULL);
/*!40000 ALTER TABLE `grades` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
/*!40000 ALTER TABLE `users` 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-01-23 11:22:00
|
-- Adminer 4.1.0 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS `event`;
CREATE TABLE `event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`recurrence` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `event` (`id`, `title`, `start_date`, `end_date`, `recurrence`) VALUES
(5, 'event 1', '2022-01-03', '2022-01-07', '{\"recurrence_type\":\"0\",\"every_type\":\"every\",\"every_day\":\"day\"}'),
(7, 'event 3', '2022-01-03', '2022-01-07', '{\"recurrence_type\":\"0\",\"every_type\":\"every_other\",\"every_day\":\"day\"}'),
(8, 'event 4', '2022-01-03', '2022-01-07', '{\"recurrence_type\":\"0\",\"every_type\":\"every_third\",\"every_day\":\"day\"}');
-- 2022-01-03 16:51:24
|
alter table application.applications
alter column owner_id type integer using owner_id::integer;
|
{Source_to_Source}
SELECT distinct SOURCE_CODE, TARGET_CONCEPT_ID
FROM CTE_VOCAB_MAP
WHERE lower(SOURCE_VOCABULARY_ID) = 'icd10' AND lower(TARGET_VOCABULARY_ID) = 'icd10'
|
SELECT
name,
greeting,
substring( greeting from '#(\d+)' ) AS user_id
FROM greetings;
|
/*
Navicat Premium Data Transfer
Source Server : 本地数据库
Source Server Type : MySQL
Source Server Version : 80017
Source Host : localhost:3306
Source Schema : db_dorm
Target Server Type : MySQL
Target Server Version : 80017
File Encoding : 65001
Date: 20/03/2022 00:21:06
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for t_admin
-- ----------------------------
DROP TABLE IF EXISTS `t_admin`;
CREATE TABLE `t_admin` (
`adminId` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sex` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tel` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`adminId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_admin
-- ----------------------------
INSERT INTO `t_admin` VALUES (1, 'admin', '123', 'Lero', '男', '123');
-- ----------------------------
-- Table structure for t_dorm
-- ----------------------------
DROP TABLE IF EXISTS `t_dorm`;
CREATE TABLE `t_dorm` (
`dormId` int(11) NOT NULL AUTO_INCREMENT,
`dormBuildId` int(11) NULL DEFAULT NULL,
`dormName` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormType` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormNumber` int(11) NULL DEFAULT NULL,
`dormTel` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`dormId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_dorm
-- ----------------------------
INSERT INTO `t_dorm` VALUES (1, 1, '220', '男', 6, '110');
-- ----------------------------
-- Table structure for t_dormbuild
-- ----------------------------
DROP TABLE IF EXISTS `t_dormbuild`;
CREATE TABLE `t_dormbuild` (
`dormBuildId` int(11) NOT NULL AUTO_INCREMENT,
`dormBuildName` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormBuildDetail` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`dormBuildId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_dormbuild
-- ----------------------------
INSERT INTO `t_dormbuild` VALUES (1, '1栋', '这是一栋。。。');
INSERT INTO `t_dormbuild` VALUES (4, '2栋', '这是3栋');
INSERT INTO `t_dormbuild` VALUES (5, '3栋', '飞洒地方');
INSERT INTO `t_dormbuild` VALUES (6, '4栋', '这是4栋');
INSERT INTO `t_dormbuild` VALUES (9, '10栋', '阿迪斯发');
-- ----------------------------
-- Table structure for t_dormmanager
-- ----------------------------
DROP TABLE IF EXISTS `t_dormmanager`;
CREATE TABLE `t_dormmanager` (
`dormManId` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormBuildId` int(11) NULL DEFAULT NULL,
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sex` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tel` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`dormManId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_dormmanager
-- ----------------------------
INSERT INTO `t_dormmanager` VALUES (2, 'manager2', '123', 4, '小张', '男', '123');
INSERT INTO `t_dormmanager` VALUES (3, 'manager3', '123', 1, '小李', '女', '123');
INSERT INTO `t_dormmanager` VALUES (4, 'manager4', '123', 5, '小陈', '男', '123');
INSERT INTO `t_dormmanager` VALUES (5, 'manager5', '123', 1, '小宋', '男', '123');
INSERT INTO `t_dormmanager` VALUES (7, 'manager6', '123', 4, '呵呵 ', '女', '123');
INSERT INTO `t_dormmanager` VALUES (8, 'manager1', '123', 6, '小白', '男', '123');
INSERT INTO `t_dormmanager` VALUES (9, 'manager7', '123', 1, '哈哈', '女', '123');
INSERT INTO `t_dormmanager` VALUES (10, 'manager10', '123', 9, '喝了咯', '男', '17683994234');
-- ----------------------------
-- Table structure for t_record
-- ----------------------------
DROP TABLE IF EXISTS `t_record`;
CREATE TABLE `t_record` (
`recordId` int(11) NOT NULL AUTO_INCREMENT,
`studentNumber` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`studentName` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormBuildId` int(11) NULL DEFAULT NULL,
`dormName` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`date` date NULL DEFAULT NULL,
`detail` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`recordId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_record
-- ----------------------------
INSERT INTO `t_record` VALUES (3, '007', '测试1', 1, '221', '2014-08-11', '123');
INSERT INTO `t_record` VALUES (4, '005', '赵起', 4, '220', '2014-08-12', '...');
INSERT INTO `t_record` VALUES (5, '006', '王珂珂', 4, '111', '2014-08-12', '00');
INSERT INTO `t_record` VALUES (6, '004', '李进', 6, '220', '2014-08-12', '....');
INSERT INTO `t_record` VALUES (7, '004', '李进', 6, '220', '2014-08-12', '22');
INSERT INTO `t_record` VALUES (16, '003', '王五', 5, '201', '2022-03-18', '111');
INSERT INTO `t_record` VALUES (17, '002', '李四', 4, '120', '2022-03-19', 'abc');
-- ----------------------------
-- Table structure for t_student
-- ----------------------------
DROP TABLE IF EXISTS `t_student`;
CREATE TABLE `t_student` (
`studentId` int(11) NOT NULL AUTO_INCREMENT,
`stuNum` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`dormBuildId` int(11) NULL DEFAULT NULL,
`dormName` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sex` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tel` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`studentId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_student
-- ----------------------------
INSERT INTO `t_student` VALUES (3, '003', '111', '王五', 5, '201', '男', '2');
INSERT INTO `t_student` VALUES (4, '004', '123', '李进', 6, '220', '女', '1');
INSERT INTO `t_student` VALUES (5, '005', '123', '赵起', 4, '220', '女', '123');
INSERT INTO `t_student` VALUES (6, '006', '123', '王珂珂', 4, '111', '女', '111');
INSERT INTO `t_student` VALUES (9, '007', '123', '测试1', 1, '221', '男', '123');
INSERT INTO `t_student` VALUES (28, '001', '123', '测试1', 1, '111', '男', '123');
INSERT INTO `t_student` VALUES (29, '008', '123', '测试3', 6, '123', '男', '123');
INSERT INTO `t_student` VALUES (32, '019', '123', '喝了咯', 6, '220', '男', '17683994234');
SET FOREIGN_KEY_CHECKS = 1;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.