sql stringlengths 6 1.05M |
|---|
<gh_stars>1000+
CREATE OR REPLACE FUNCTION getDaysFromGuaranteeMonths(p_months text)
RETURNS INTEGER AS
$BODY$
BEGIN
if (p_months = '12') then RETURN 365;
elseif (p_months = '24') then RETURN 730;
elseif (p_months = '36') then RETURN 1095;
END if;
RETURN NULL;
END;
$BODY$
LANGUAGE plpgsql;
COMMENT ON FUNCTION getDaysFromGuaranteeMonths(text) IS
'Return the corresponding days for months 12, 24, 36. For other values return NULL'; |
WITH ranked_emp AS (
SELECT emp_name
,dept_id
,salary
,DENSE_RANK() OVER (PARTITION BY dept_id ORDER BY salary ) ranking
FROM emp
)
SELECT dept_id
,ranking
,emp_name
,salary
FROM ranked_emp
WHERE ranking <= 2
ORDER BY dept_id, ranking;
|
<gh_stars>0
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144130', 'messageBoard', 'sysmessageboard', '[0],[sysmessageboard],', '咨询留言板', '', '/messageBoard', '99', '2', '1', NULL, '1', '0');
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144131', 'messageBoard_list', 'messageBoard', '[0],[sysmessageboard],[messageBoard],', '咨询留言板列表', '', '/messageBoard/list', '99', '3', '0', NULL, '1', '0');
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144132', 'messageBoard_add', 'messageBoard', '[0],[sysmessageboard],[messageBoard],', '咨询留言板添加', '', '/messageBoard/add', '99', '3', '0', NULL, '1', '0');
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144133', 'messageBoard_update', 'messageBoard', '[0],[sysmessageboard],[messageBoard],', '咨询留言板更新', '', '/messageBoard/update', '99', '3', '0', NULL, '1', '0');
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144134', 'messageBoard_delete', 'messageBoard', '[0],[sysmessageboard],[messageBoard],', '咨询留言板删除', '', '/messageBoard/delete', '99', '3', '0', NULL, '1', '0');
INSERT INTO `guns`.`sys_menu` (`id`, `code`, `pcode`, `pcodes`, `name`, `icon`, `url`, `num`, `levels`, `ismenu`, `tips`, `status`, `isopen`) VALUES ('1030292142420144135', 'messageBoard_detail', 'messageBoard', '[0],[sysmessageboard],[messageBoard],', '咨询留言板详情', '', '/messageBoard/detail', '99', '3', '0', NULL, '1', '0');
|
<filename>www/upgrade/17/pgsql.sql
ALTER TABLE %DB_TBL_PREFIX%repeat
ADD COLUMN status smallint DEFAULT 0 NOT NULL;
|
<filename>connect-database/src/main/resources/db/plsql/sp2_execute_add_two_numbers.sql
set serveroutput on
declare
v_output number;
begin
v_output := multiply_two_numbers(3, 2);
dbms_output.put_line(v_output);
exception
when others then dbms_output.put_line('has exception');
end; |
<reponame>kanish671/goalert<filename>migrate/migrations/20170619123628-add-constraints.sql
-- +migrate Up
ALTER TABLE escalation_policy ADD UNIQUE(name);
ALTER TABLE service ADD UNIQUE(name);
-- +migrate Down
ALTER TABLE escalation_policy DROP CONSTRAINT UNIQUE(name);
ALTER TABLE service DROP CONSTRAINT UNIQUE(name);
|
<reponame>bcgov/cas-ggircs
-- Verify ggircs-app:triggers/update_timestamps on pg
begin;
select pg_get_functiondef('ggircs_app_private.update_timestamps()'::regprocedure);
rollback;
|
ALTER TABLE `user_details` ADD `attributes` JSON NULL AFTER `online_status`; |
<filename>src/test/isolation2/sql/reindex/vacuum_analyze_while_reindex_ao_btree.sql<gh_stars>10-100
DROP TABLE IF EXISTS reindex_ao;
CREATE TABLE reindex_ao (a INT) WITH (appendonly=true);
insert into reindex_ao select generate_series(1,1000);
select 1 as reltuples_same_as_count from pg_class where relname = 'reindex_ao' and reltuples = (select count(*) from reindex_ao);
insert into reindex_ao select generate_series(1,1000);
select 1 as reltuples_same_as_count from pg_class where relname = 'reindex_ao' and reltuples = (select count(*) from reindex_ao);
create index idx_btree_reindex_vacuum_analyze_ao on reindex_ao(a);
-- @Description Ensures that a vacuum during reindex operations is ok
--
DELETE FROM reindex_ao WHERE a < 128;
1: BEGIN;
-- Remember index relfilenodes from master and segments before
-- reindex.
1: create temp table old_relfilenodes as
(select gp_segment_id as dbid, relfilenode, oid, relname from gp_dist_random('pg_class')
where relname = 'idx_btree_reindex_vacuum_analyze_ao'
union all
select gp_segment_id as dbid, relfilenode, oid, relname from pg_class
where relname = 'idx_btree_reindex_vacuum_analyze_ao');
1: REINDEX index idx_btree_reindex_vacuum_analyze_ao;
2&: VACUUM ANALYZE reindex_ao;
1: COMMIT;
2<:
-- Validate that reindex changed all index relfilenodes on master as well as
-- segments. The following query should return 0 tuples.
1: select oldrels.* from old_relfilenodes oldrels join
(select gp_segment_id as dbid, relfilenode, relname from gp_dist_random('pg_class')
where relname = 'idx_btree_reindex_vacuum_analyze_ao'
union all
select gp_segment_id as dbid, relfilenode, relname from pg_class
where relname = 'idx_btree_reindex_vacuum_analyze_ao') newrels
on oldrels.relfilenode = newrels.relfilenode
and oldrels.dbid = newrels.dbid
and oldrels.relname = newrels.relname;
2: COMMIT;
3: SELECT COUNT(*) FROM reindex_ao WHERE a = 1500;
3: SELECT 1 as reltuples_same_as_count from pg_class where relname = 'reindex_ao' and reltuples = (SELECT count(*) from reindex_ao);
3: INSERT INTO reindex_ao VALUES (0);
|
CREATE TABLE airports(LocationID Text,ARPLatitude float,ARPLongitude float,Type Text,FacilityName Text,Use Text,FSSPhone Text,Manager Text,ManagerPhone Text,ARPElevation Text,MagneticVariation Text,TrafficPatternAltitude Text,FuelTypes Text,Customs Text,Beacon Text,LightSchedule Text,SegCircle Text,ATCT Text,UNICOMFrequencies Text,CTAFFrequency Text,NonCommercialLandingFee Text,State Text, City Text);
.separator ","
.import airport.csv airports
CREATE TABLE airportfreq(LocationID Text,Type Text, Freq Text);
.import freq.csv airportfreq
CREATE TABLE airportrunways(LocationID Text,Length Text,Width Text,Surface Text,LEIdent Text,HEIdent Text,LELatitude Text,HELatitude Text,LELongitude Text,HELongitude Text,LEElevation Text,HEElevation Text,LEHeadingT Text,HEHeading Text,LEDT Text,HEDT Text,LELights Text,HELights Text,LEILS Text,HEILS Text,LEVGSI Text,HEVGSI Text,LEPattern Text, HEPattern Text);
.import runway.csv airportrunways
CREATE TABLE airportdiags(LocationID Text, tfwA float, tfwB float, tfwC float, tfwD float, tfwE float, tfwF float, wftA float, wftB float, wftC float, wftD float, wftE float, wftF float);
.import aptdiags.csv airportdiags
CREATE TABLE nav(LocationID Text,ARPLatitude float,ARPLongitude float,Type Text,FacilityName Text,Variation TinyInt,Class Text,Hiwas Text,Elevation Text);
.import nav.csv nav
CREATE TABLE fix(LocationID Text,ARPLatitude float,ARPLongitude float,Type Text,FacilityName Text);
.import fix.csv fix
CREATE TABLE obs(ARPLatitude float,ARPLongitude float,Height float);
.import dof.csv obs
CREATE TABLE afd(LocationID Text,File Text);
.import afd.csv afd
CREATE TABLE takeoff(LocationID Text,File Text);
.import mins/to.csv takeoff
CREATE TABLE alternate(LocationID Text,File Text);
.import mins/alt.csv alternate
CREATE TABLE awos(LocationID Text, Type Text, Status Text, Latitude float,Longitude float, Elevation Text, Frequency1 Text, Frequency2 Text, Telephone1 Text, Telephone2 Text, Remark Text);
.import awos.csv awos
CREATE TABLE saa(designator TEXT,name TEXT,upperlimit TEXT,lowerlimit TEXT,begintime TEXT,endtime TEXT,timeref TEXT,beginday TEXT,endday TEXT,day TEXT,FreqTx TEXT,FreqRx TEXT,lat FLOAT,lon FLOAT);
.import saa.csv saa
CREATE TABLE airways(name Text, sequence Text, Latitude float, Longitude float);
.import aw.csv airways
.import ourairports.csv airports
|
<reponame>kurokage87/point-of-sale
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 1192.168.3.11
-- Generation Time: Sep 30, 2018 at 01:20 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `ta`
--
-- --------------------------------------------------------
--
-- Table structure for table `barang_masuk`
--
CREATE TABLE `barang_masuk` (
`id` int(11) NOT NULL,
`produk_id` int(11) DEFAULT NULL,
`jumlah_barnag_baru` varchar(100) DEFAULT NULL,
`tgl_kadaluarsa` date DEFAULT NULL,
`status_barang` smallint(6) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `barang_masuk`
--
INSERT INTO `barang_masuk` (`id`, `produk_id`, `jumlah_barnag_baru`, `tgl_kadaluarsa`, `status_barang`) VALUES
(5, 1, '15', '2018-09-30', 2);
-- --------------------------------------------------------
--
-- Table structure for table `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1538272613),
('m130524_201442_init', 1538272614),
('m180916_081150_table_kebutuhan', 1538272621);
-- --------------------------------------------------------
--
-- Table structure for table `mutasi_barang`
--
CREATE TABLE `mutasi_barang` (
`id` int(11) NOT NULL,
`produk_terjual` varchar(100) DEFAULT NULL,
`produk_dikembalikan` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `penjualan`
--
CREATE TABLE `penjualan` (
`id` int(11) NOT NULL,
`produk_id` int(11) DEFAULT NULL,
`tgl_beli` date DEFAULT NULL,
`jumlah` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `penjualan`
--
INSERT INTO `penjualan` (`id`, `produk_id`, `tgl_beli`, `jumlah`) VALUES
(1, 1, '2018-03-09', '3');
-- --------------------------------------------------------
--
-- Table structure for table `produk`
--
CREATE TABLE `produk` (
`id` int(11) NOT NULL,
`nama` varchar(255) DEFAULT NULL,
`harga_jual` varchar(100) DEFAULT NULL,
`harga_satuan_modal` varchar(100) DEFAULT NULL,
`stok_awal` varchar(100) DEFAULT NULL,
`tgl_kadaluarsa` date DEFAULT NULL,
`kategori` varchar(100) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `produk`
--
INSERT INTO `produk` (`id`, `nama`, `harga_jual`, `harga_satuan_modal`, `stok_awal`, `tgl_kadaluarsa`, `kategori`, `user_id`) VALUES
(1, '<NAME>', '15000', '10000', '100', '2018-09-29', '2', 1),
(2, 'Galamai', '12000', '8000', '20', '2018-09-30', '2', 2),
(3, 'Kue lapan', '10000', '7000', '30', '2018-09-30', '2', 3);
-- --------------------------------------------------------
--
-- 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,
`level` smallint(6) DEFAULT NULL,
`nama` 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`, `level`, `nama`) VALUES
(1, 'admin', 'SHVYMBisJxLFenLUlWgI9ZK5bhptsb7u', '$2y$13$Iaf0e8IzPpyHJCAgKWboEeXMkCBpL.O6srlJ83qz/ArmCeZ.npf7S', NULL, '<EMAIL>', 10, 1538272757, 1538272757, 0, NULL),
(2, 'supplier1', '-bnNGG-tU60TROgzaBLWmvWNGprVLH0s', '$2y$13$JptANiHqGVMTLOD0HOjGKeMgXJ/pkUAO7qgh.mxR3dMezfaKl/8xe', NULL, '<EMAIL>', 10, 1538274106, 1538274106, 2, NULL),
(3, 'sup2', '3ZShMMPalBaXVJDuhaCDU4EwreqQHa3w', '$2y$13$gDDL1TeD8jZm.w1fBAwg5esbHl88o5nR2sbTTe9n7gng8aXX3d0te', NULL, '<EMAIL>', 10, 1538274132, 1538274132, 2, NULL),
(4, 'owner', 'PeYhk8juSE9B4glzh8cWNFnBottA6Vw3', '$2y$13$..X90zIuw/u0DbvpGEM3q.hrUjdZpZokIwn1H7yQG3UvbtZAYPjum', NULL, '<EMAIL>', 10, 1538274159, 1538274159, 1, NULL),
(5, 'karyawan', 'oV3Wc1712CW-cshhc-bHwQM6CcDK4eMq', '$2y$13$N2fCLWjopAhVKLwbvdmhcuQed0tRBvoe/C8XlaPmwzq1eXC8OKXFm', NULL, '<EMAIL>', 10, 1538274191, 1538274191, 3, NULL);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `barang_masuk`
--
ALTER TABLE `barang_masuk`
ADD PRIMARY KEY (`id`),
ADD KEY `fk-barang_masuk-produk_id-produk-id` (`produk_id`);
--
-- Indexes for table `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- Indexes for table `mutasi_barang`
--
ALTER TABLE `mutasi_barang`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `penjualan`
--
ALTER TABLE `penjualan`
ADD PRIMARY KEY (`id`),
ADD KEY `fk-penjualan-produk_id-produk-id` (`produk_id`);
--
-- Indexes for table `produk`
--
ALTER TABLE `produk`
ADD PRIMARY KEY (`id`),
ADD KEY `fk-produk-user_id-user-id` (`user_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>`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `barang_masuk`
--
ALTER TABLE `barang_masuk`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `mutasi_barang`
--
ALTER TABLE `mutasi_barang`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `penjualan`
--
ALTER TABLE `penjualan`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `produk`
--
ALTER TABLE `produk`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `barang_masuk`
--
ALTER TABLE `barang_masuk`
ADD CONSTRAINT `fk-barang_masuk-produk_id-produk-id` FOREIGN KEY (`produk_id`) REFERENCES `produk` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `penjualan`
--
ALTER TABLE `penjualan`
ADD CONSTRAINT `fk-penjualan-produk_id-produk-id` FOREIGN KEY (`produk_id`) REFERENCES `produk` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `produk`
--
ALTER TABLE `produk`
ADD CONSTRAINT `fk-produk-user_id-user-id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.4
-- Dumped by pg_dump version 9.6.4
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
--
-- Name: postgis; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS postgis WITH SCHEMA public;
--
-- Name: EXTENSION postgis; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION postgis IS 'PostGIS geometry, geography, and raster spatial types and functions';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: kingdoms; Type: TABLE; Schema: public; Owner: patrick
--
CREATE TABLE kingdoms (
gid integer NOT NULL,
name character varying(80),
claimedby character varying(80),
geog geography(MultiPolygon,4326),
summary text,
url text
);
ALTER TABLE kingdoms OWNER TO patrick;
--
-- Name: locations; Type: TABLE; Schema: public; Owner: patrick
--
CREATE TABLE locations (
gid integer NOT NULL,
name character varying(80),
type character varying(80),
geog geography(Point,4326),
summary text,
url text
);
ALTER TABLE locations OWNER TO patrick;
--
-- Name: locations_gid_seq; Type: SEQUENCE; Schema: public; Owner: patrick
--
CREATE SEQUENCE locations_gid_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE locations_gid_seq OWNER TO patrick;
--
-- Name: locations_gid_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: patrick
--
ALTER SEQUENCE locations_gid_seq OWNED BY locations.gid;
--
-- Name: political_gid_seq; Type: SEQUENCE; Schema: public; Owner: patrick
--
CREATE SEQUENCE political_gid_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE political_gid_seq OWNER TO patrick;
--
-- Name: political_gid_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: patrick
--
ALTER SEQUENCE political_gid_seq OWNED BY kingdoms.gid;
--
-- Name: kingdoms gid; Type: DEFAULT; Schema: public; Owner: patrick
--
ALTER TABLE ONLY kingdoms ALTER COLUMN gid SET DEFAULT nextval('political_gid_seq'::regclass);
--
-- Name: locations gid; Type: DEFAULT; Schema: public; Owner: patrick
--
ALTER TABLE ONLY locations ALTER COLUMN gid SET DEFAULT nextval('locations_gid_seq'::regclass);
--
-- Data for Name: kingdoms; Type: TABLE DATA; Schema: public; Owner: patrick
--
COPY kingdoms (gid, name, claimedby, geog, summary, url) FROM stdin;
5 The North Stark 0106000020E6100000070000000103000000010000002F000000174576B64F5E254009F1B25BEC853F4064B7D80BF01D254034644F592B9D3F4023C7CD1E172525406F932E92A0B23F40AC680FAD2CFA24408A4A8854A9CB3F408CF08936C0FD2440086A727AF7D93F40A0E6B74465332540F7AD2F3FC1DB3F40BB9D11076E4C254094459FDB7BE63F40C05E3DBBD12F254001A946C693F63F40E1D6C2313E2C25400E305044CE0740406A7804C053012540264A349D1F054040350A513B42CF244012658901CAF43F40FF9B9DB6309D244084895CA045E83F40FF9B9DB6309D24403F5F66E0FDB73F40EAA56FA88B672440C13F7CBAAFA93F400B1EF51EF863244096CCDFBC70923F40B537BC237A35244009F1B25BEC853F40DC706D4E4A152440E8782DE57F893F40086B4A2D7ED82340A68822F8A6903F4097CDB76FF7902340B183397F79AB3F401AAECD49A9822340BB7E50064CC63F40F3741C1FD9A22340086A727AF7D93F40F3741C1FD9A22340D635AAC854DF3F409E8EE3235B74234001A946C693F63F40FA3548D33C862340370677D855034040D8BDC25CD0892340ACC7BFE088124040F3741C1FD9A2234083F1984C011740406AD3DA90C3CD23405A1B72B8791B40407A08DDEA04202440208908E9BB2140403257A649C8432440A606942C252F4040AF76906F16522440FA4F57BEEB414040883DDF4446722440882B841F704E40403BCB7CEFA5B2244066B3FEA8035240408CF08936C0FD2440B001ABB3F74940407F6E32CEF8362540B001ABB3F7494040583581A32857254002AEF8DB06414040CAD21361AF9E25402B841F708E3C404097170BCE17F8254002AEF8DB06414040E73C1815324326407C306D989D334040AC0D39DCBC2D2640F0544037192740408A95B3655031264006D2AE26B308404003F471D73A5C2640370677D855034040B5810F829A9C26402221CC3C00F33F40DBBAC0AC6A7C2640495A7D67D0D23F40562700E13EFF254069D202DE3CCF3F40686A83FD69A925400D2B9E2E5BBD3F406D2BAFB1CD8C254054DCD4CF97993F40174576B64F5E254009F1B25BEC853F400103000000010000003400000032CC8B05E70B384067507412BB6D40409AF5471D90E437408207CED4C38640409AF5471D90E437408C02E55B96A14040BB6DCD93FCE03740141DE608B7CA404008E02FE99CA037408B7BA47AA1F5404076CA17B5A95C37407ABF613F6BF74040B7BA22A282553740E722092A83074140FF6B5943BF31374074FE358B07144140A3C4F493DD1F3740D1A59A3AE9254140C43C7A0A4A1C37401D91BCAE94394140052D85F722153740F6570B84C459414025A50A6E8F113740E0DA9C942A784140405C6430982A3740EAD5B31BFD924140A3C4F493DD1F374078B1E07C819F4140FF6B5943BF313740886D23B8B79D41405652923E3D603740164950193CAA41400EA15B9D00843740164950193CAA4140C7EF24FCC3A73740FA91F65633914140239789ABA5B93740CF1E5A59F4794140FC5DD880D5D93740E69BC8488E5B4140F69CACCC71F63740E69BC8488E5B414032CC8B05E70B3840E0DA9C942A78414073BC96F2BF0438401C0A7CCD9F8D41407A7DC2A623E837402605935472A84140FC5DD880D5D937400F882465D8C6414073BC96F2BF0438400AC7F8B074E34140AEEB752B351A3840247E52737DFC4140B5ACA1DF98FD374050F1EE70BC134240AEEB752B351A38400840B8CF7F374240A92A4A77D136384018FCFA0AB6354240A3691EC36D5338404A30C3BC583042407C306D989D7338401EBD26BF19194240766F41E43990384014C20F3847FE4140F38E2B0A889E38402A3F7E27E1DF4140503690B969B038405C7346D983DA4140ACDDF4684BC23840EF0F9FEE6BCA41404A75640506CD3840A9E5A82E249A414029FDDE8E99D03840BF62171EBE7B4140EECDFF5524BB38407377F5A912684140CD557ADFB7BE3840278CD33567544140A71CC9B4E7DE38409AB0A6D4E2474140FC0202B0650D3940FC183738283D41403EF30C9D3E0639406442F34FD1154140DC8A7C39F9103940281314175C0041403271B534773F39409C37E7B5D7F340409A9A714C2018394034956B7F23C74040BB12F7C28C1439400A22CF81E4AF40403EF30C9D3E0639408C02E55B96A14040D216A6931BA23840AD7A6AD2029E4040B85F4CD11289384092C31010FA84404088B2C400653A384092C31010FA84404032CC8B05E70B384067507412BB6D40400103000000010000000A000000A9CF73A6616A3940FA7BC1CE7021414027EF5DCCAF7839402BB08980131C4140A40E48F2FD8639409ED45C1F8F0F41408396C27B918A394020B572F940014140935205B7C78839406A031F0435F94040789BABF4BE6F39407ABF613F6BF740401CF44645DD5D39405A47DCC8FEFA40405EE45132B6563940EF80AA479E0641407F5CD7A8225339405486B0149B174140A9CF73A6616A3940FA7BC1CE702141400103000000010000001F000000B0A6D4E287BD3940758950CFE84B414000B6ACA1DF98394040A6B78EB85141400ED579735E7B3940DE3D272B735C4140D54210A4A08139401D1CD7F275714140789BABF4BE6F39408E2E4F6C1B8141400777D855437C394034246026F18A41406A7CDE22408D3940F23355391892414069DF68B988713940B1434A4C3F994140ECBF7E933A63394057395B0615A34140D54210A4A0813940D458452C63B14140B3CA8A2D3485394040BCEC167BC1414016331B91797A3940EF0F9FEE6BCA41409A13316B2B6C394022E1DC09C6E041407F5CD7A822533940C8D6EDC39BEA41405EE45132B6563940762AA09B8CF3414068DF68B988713940666E5D6056F5414068DF68B988713940FCA72BDFF5004240789BABF4BE6F3940993F9B7BB00B42401CF44645DD5D3940FE44A148AD1C42400C38040AA75F3940624AA715AA2D42405723267E527339407206EA50E02B4240935205B7C788394047934D53A11442406D19548CF7A839403D9836CCCEF94140B8047600A3BC3940748D2A32D5D74140978CF08936C03940AB821E98DBB5414015ACDAAF84CE39402605935472A84140BE3E61D311F43940B1434A4C3F9941403A5E4BF95F023A403C8201440C8A41408C0A99216FF93940968CF0893680414092CBC4D5D2DC3940B4670097EB604140B0A6D4E287BD3940758950CFE84B41400103000000010000000E000000BC4163837701374027A6E22016504240A5C4F493DD1F37400CEF885E0D37424023E4DEB92B2E37404EDF934BE62F42405318A76BCE283740E17BEC60CE1F42406ECF002ED74137403B86DBA6F81542406ECF002ED7413740D780D5D9FB044240E1F3D3CC523537404147075B5CF94140A5C4F493DD1F37405A61EBB3ADF641407B5158969E0837401871E0C6D4FD41401EAAF3E6BCF63640C6C4929EC5064240ED752B351AFC3640B8A5C5CC462442401EAAF3E6BCF636400CEF885E0D3742403F22795D29F3364081B0D16640464240BC4163837701374027A6E220165042400103000000010000000B00000092FA3096BDC93740B05D5937EE9442403653CCE6DBB7374057536AF1C39E4240FA23EDAD66A2374015635F04EBA542401B9C7224D39E374082C606EF02B642401B9C7224D39E3740205E768BBDC042407743D7D3B4B03740C653874593CA4240F562C1F902BF3740EE29AED91AC642402F92A03278D4374059F0DF5A7BBA4240B372B60C2AC63740CC14B3F9F6AD42407182AB1F51CD37402E7D435D3CA3424092FA3096BDC93740B05D5937EE9442400103000000010000001D030000A1D164D1A14D2C406024B6D25596404089D1D6E14D052E4049E37F26DE8C4040CF4EB8D8C54230405B31493259884040734CB4A47A5C31406765CFE4558540406F01887BC9DE3140E82B207BF5844040B2EE8081044F324084E71EA3CD7D4040248FC25687753340DE843BF537874040F91A62E9A00134409C4F2B08C7774040BE86949E45D234402330BFF7E4754040F7406E9C7567354040FDF9FEA0794040B80541D4987A3540F2FA621449684040E17119A5578B354084A7290D624A404018682A702A843540FCCD88B9BD3440402D9E96D8898C3540442FCB1C1E21404043D40241E9943540846AF8E4FA0D40407ACA130CBC8D3540A90BF0BC22E63F40BFB17442E49A3540E8461D85FFD23F4064FBBE149EB135402D2E7EBB27E03F406162D685DFDD354025E961BE1DEC3F409F041BBFFDF63540F5376DF054E73F405FC9EDF6200A36403BB8B6B53BC83F406CBA3D62761E36402FC7664AE6B33F407F57C13B175336408F2950E677BD3F4000E166AB5D793640DB55CD19AABE3F404A74FB4FD1A636408238007B22A93F40AF82185AAED036407547B00FCD943F4077F31E001D043740291B33DC9A933F4000C2E06C6D1E3740709B7CA181743F405ADFAD0BF5333740FB02279D90623F409C2D26B35E6D3740E6CCBA34315A3F40C499FE831D7E3740A92A76FB12413F40A1D95921AA8D3740510DA95C8B2B3F40DF7B9E5AC8A637409D392690BD2C3F408A0A052A8CB137408803BA275E243F408FB63898D7D13740215CB48EC2263F40CD587DD1F5EA374049C88C5F81373F40B1DDF46B8CEE3740E6CCBA34315A3F40D204B13F410B38405B651039226C3F40BC355C48232F3840C30C16D2BD693F40672BDA8828663840246FFF6D4F733F40515C85910A8A38409807557240853F40C35BF2063DC838407547B00FCD943F4045E5977683EE3840291B33DC9A933F40FE644EB19C0D394031604FD9A4873F408E782C1BF71B3940D842823A1D723F40BF2921E9BF2039406AEF483336543F40A95ACCF1A1443940E12087C6E5393F4009BDB58D334E3940DC7453589A193F408DDF438C3848394022F59C1D81FA3E4095246089423C394046B54180F4EA3E405C2E4FBE6F433940248E85AC3FCE3E402AE47161E86A39406B0ECF7126AF3E403F1ADEC94773394042A2F6A0679E3E403F1ADEC947733940CD09A19C768C3E40AE060060ED643940A59DC8CBB77B3E403F1ADEC947733940148AEA615D6D3E404C0B2E359D8739403F8FABC1DA513E404C0B2E359D87394018BCBB7FDA143E40475FFAC651673940A323667BE9023E4084013F00708039403124F905B7C43D4032298E5EF25E3940EED5805E4D8B3D4009BDB58D334E394044E0021E48543D40B19FE8EEAB383940821B30E624413D4090782C1BF71B3940540324A71A103D40DB<KEY>1D3940E8AFEA9F33F23C40B238D17D6A0C394026EB176810DF3C405A1B04DFE2F63840B997DE6029C13C4052D858AE2CE53840F378CAE5B89E3C405545EA27BDE638408A7FD2211F903C40697B56901CEF3840113B49AFE25D3C405C8A0625C7DA384019194E3BAB253C40E0AC9423CCD43840382DBF2FD3F53B40A8B68358F9DB38406A779C8C5ACE3B40A8B68358F9DB3840282924E5F0943B40E0AC9423CCD43840FFBC4B1432843B40331E2E5408CA38401B38D4799B803B407A9E7719EFAA3840F7772F1728903B400D4B3E12088D3840CD726EB7AAAB3B405877BB453A8E3840B6A319C08CCF3B408928B013039338400037AE6400FD3B4029C6C677718938406E8AE76BE71A3C40D7ED15D6F3673840BF62980D653C3C40F3689E3B5D643840B68493819C743C401E6E5F9BDA4838404EDD8DE800773C40497320FB572D384017E77C1D2E7E3C407BBDFD57DF0538402A1DE9858D863C403E1BB91EC1EC3740B4EBAAF2DDA03C4029E54CB661E43740C275E3ECF1883C40C13D471DC6E63740B1D85F1351543C409AD16E4C07D63740886C874292433C4015AFE04D02DC37402F4FBAA30A2E3C40D1C77F17DACE3740225E6A38B5193C4078AAB27852B937401CB236CA69F93B407FEFCE755CAD37407FAD08F5B9D63B4078AAB27852B937408146F18378AA3B4033C351422AAC374037B35CDF047D3B40EEDBF00B029F374099AE2E0A555A3B40C56F183B438E37409402FB9B093A3B401AE1B16B7F833740DB824461F01A3B406061FB30666437407B205BC55E113B40CAA1E958C03537407B205BC55E113B409C89DD19B60437404A6F66F7950C3B40C78E9E7933E9364091EFAFBC7CED3A4012BB1BAD65EA36400F660A4D36C73A4096DDA9AB6AE43640396BCBACB3AB3A40298A70A483C6364065708C0C31903A40ECE72B6B65AD36409C669DD703893A40D7B1BF0206A53640EFD73608407E3A40336875304C8E3640C026423A77793A40BECF1F2C5B7C364073FAC40645783A4041F2AD2A6076364018440FD9FE8E3A40045069F1415D36401FF042474AAF3A404CD0B2B6283E3640534D6B835ED43A402364DAE5692D3640EBA565EAC2D63A40013D1E12B5103640318DC620EBE33A40B7A9896D41E33540D6D610F3A4FA3A409682CD998CC63540D6D610F3A4FA3A4058E088606EAD3540969BE32AC80D3B40DC02175F73A73540603EBBEEB3E83A406D16F5C8CDB535406FC8F3E8C7D03A40C733C26755CB3540A8BE04B49AC93A40E85A7E3B0AE83540AE0321B1A4BD3A40D8D04541F6FF354041B0E7A9BD9F3A4024FDC27428013640513A20A4D1873A40786E5CA564F635400B53BF6DA97A3A402EDBC700F1C83540A4ABB9D40D7D3A403620E4FDFABC35404449D0387C733A402796AB03E7D43540CEB07A348B613A406C7D0C3A0FE235407693AD95034C3A409C2E0108D8E63540D14963C349353A404311346950D135400F85908B26223A40C9CCAAF6139F3540C4581358F4203A40B5963E8EB49635407F71B221CC133A40755B11C6D7A9354042CF6DE8ADFA3940529B6C6364B93540658F124B21EB3940E3AE4ACDBEC73540E4056DDBDAC43940A3731D05E2DA354022419AA3B7B1394040784BDA91FD3540CA23CD04309C39406E9057199C2E3640A1B7F433718B3940AC329C52BA473640FC6DAA61B77439407C81A784F1423640F85A5F822A2839404937CA276A6A364040DBA847110939409663475B9C6B36409B915E7557F238401A86D559A16536400A7E800BFDE338404F0284D4A5E53540722586A498E13840EF9F9A3814DC35406534363943CD38404F0284D4A5E535402FD70DFD2EA838409A9518791913364069660757C074384013DAA1EB5545364069660757C07438403C467ABC14563640D00D0DF05B723840517CE624745E36406BFFEFE57E4838407AE8BEF5326F36406BFFEFE57E48384071A3A2F8287B3640D9EB117C243A3840F5C530F72D753640A48EE93F10153840ED8014FA23813640FF449F6D56FE374016EDECCAE2913640C2A25A3438E5374023DE3C3638A636407DBBF9FD0FD837406D71D1DAABD33640AE6CEECBD8DC37401A0038AA6FDE3640B6B10AC9E2D03740E94E43DCA6D93640AF05D75A97B037407A62214601E83640263715EE46963740BF49827C29F536402E7C31EB508A374057A27CE38DF7364060C60E48D86237404AB12C7838E33640E4E89C46DD5C3740367BC00FD9DA3640A0013C10B54F3740D37FEEE488FD3640FBB7F13DFB383740B704667F1F013740F60BBECFAF1837401FAC6B18BBFE36403C8C079596F93640B2583211D4E03640FFE9C25B78E0364051F6487542D73640A6CCF5BCF0CA3640CDD3BA763DDD36401CFE3350A0B03640D82B2253D41D3740E05BEF16829736404DC47757C52F3740346671D67C60364072FE7E0A07993740B888FFD4815A3640BE2AFC3D399A3740E48DC034FF3E3640E796D40EF8AA3740BB21E863402E36407C56E6E69DD93740AE3098F8EA19364057FD58F56B153840A13F488D95053640A190ED99DF423840A984648A9FF93540F2689E3B5D6438409C93141F4AE53540FAADBA38675838400B8036B5EFD635404D1F5469A34D3840B262691668C13540E0CB1A62BC2F384005D40247A4B63540C7E97A8B11073840E2135EE430C63540312A69B36BD83740DBCE41E726D235407FEFCE755CAD374033EC0E86AEE73540E383892F6B5E37403B312B83B8DB3540D1E60556CA293740043B1AB8E5E235404F5D60E6830337402562D68B9AFF3540652CB5DDA1DF3640708E53BFCC003640B2F11AA092B4364085C4BF272C093640980F7BC9E78B3640325326F7EF133640F3C530F72D7536401B84D1FFD1373640A3ED7F55B0533640F317F92E13273640880BE07E052B3640F317F92E1327364007823A0FBF043640537AE2CAA43036403187FB6E3CE9354044F0A9D090483640E8F366CAC8BB354044F0A9D090483640B2963E8EB496354050E1F93BE65C36409FF9BAB41362354026DC38DC687836406A9C9278FF3C3540499CDD3EDC683640CAFE7B14914635404B35C6CD9A3C3640A73ED7B11D5635404689925F4F1C3640BB74431A7D5E3540A13F488D9505364092086B49BE4D354080188CB9E0E835406A9C9278FF3C3540FF8EE6499AC235404FBAF2A154143540844A5DD75D903540B761F83AF0113540EE8A4BFFB76135405F442B9C68FC344050861D2A083F3540CE304D320EEE3440E232E422212135407BBFB301D2F83440F901391A3FFD34402E9336CE9FF734400A255AA311B934401A5DCA6540EF344081569836C19E3440312C1F5D5ECB34404DF96FFAAC7934406922302831C43440FB20BF582F583440ED44BE2636BE3440BD7E7A1F113F3440E0536EBBE0A934409C57BE4B5C2234406ABB18B7EF9734404A7F0DAADE0034401F8F9B83BD963440DD2BD4A2F7E23340129E4B186882344069937E9E06D13340E9317347A9713440E0C4BC31B6B633407CDE3940C2533440AA6794F5A1913340EBCA5BD667453440504AC7561A7C3340773206D276333440E9A2C1BD7E7E3340A87CE32EFE0B34409D76448A4C7D3340D481A48E7BF033408840D821ED7433402F385ABCC1D93340041E4A23E87A33408AEE0FEA07C33340CD2739581582334031D1424B80AD33408840D821ED7433400FAA8677CB9033405FD4FF502E6433401F34BF71DF7833403DAD437D79473340B1E0856AF85A33408AD9C0B0AB483340C06ABE640C433340EA3BAA4C3D523340CFF4F65E202B3340DCB17152296A3340EB6F7FC4892733409431288D42893340C203A7F3CA16334056F6FAC4659C3340A1DCEA1F16FA3240EE4EF52BCA9E3340407A018484F032408DEC0B9038953340E85C34E5FCDA3240D91889C36A963340A375D3AED4CD3240EE4EF52BCA9E3340C735781148BE3240254506F79C973340755DC76FCA9C3240CD273958158233406FB193017F7C32400B636620F26E33401ED9E25F015B32403DAD437D794733403A546BC56A57324030BCF31124333340C5BB15C179453240A0A815A8C92433409C4F3DF0BA3432407F8159D414083340BF0FE2522E2532404FD064064C0333404B778C4E3D133240C468BA0A3D1533406E3731B1B003324007501B4165223340DE23534756F5314069B204DDF62B334024A49C0C3DD631404D377C778D2F3340CB86CF6DB5C0314076A354484C4033407F5A523A83BF3140EFE7DDBA887233407F5A523A83BF314079B69F27D98C33404764416FB0C6314017BBCDFC88AF33405C9AADD70FCF3140EBB50C9D0BCB334063DFC9D419C33140CF3A8437A2CE3340514246FB788E31409844736CCFD5334098C28FC05F6F31403D8EBD3E89EC3340EB3329F19B6431403BF5D4AFCA183440838C23580067314054D7748675413440A74CC8BA73573140F042BACC66903440C3C75020DD533140CBE92CDB34CC3440626567844B4A3140BC5FF4E020E43440413EABB0962D3140C10B284F6C0435403B9277424B0D314036A47D535D163540EF65FA0E190C314069EE5AB0E4EE3440570D00A8B40931406A87433FA3C23440570D00A8B4093140CD82156AF39F34404FC8E3AAAA1531409725ED2DDF7A3440B76FE943461331404E9258896B4D34400BE182748208314040A1081E1639344036E643D4FFEC30409C57BE4B5C22344061EB04347DD13040E2D7071143033440387F2C63BEC030400DDDC870C0E733401C04A4FD54C430406FD89A9B10C5334098E115FF4FCA3040397B725FFC9F33406830213187C53040648033BF798433402B8EDCF768AC3040425977EBC4673340A1BF1A8B189230402132BB17104B33406384EDC23BA530401C8687A9C42A33407EFF7528A5A1304093B7C53C7410334049A24DEC907C30406206D16EAB0B3340C718A87C4A563040C468BA0A3D1533405280527859443040AF324EA2DD0C3340AD3608A69F2D30409650AECB32E432404DD41E0A0E243040304291C155BA3240610A8B726D2C3040096FA17F557D3240F96285D9D12E3040EF8C01A9AA543240A045B83A4A1930405F79233F504632405C5E5704220C30409FB450072D3332408C0F4CD2EA103040AD3E8901411B32405C5E5704220C304007F53E2F870432409695F2348FFB2F40D8434A61BEFF3140B3A96329B7CB2F40AD3E8901411B3240D2BDD41DDF9B2F4001B022327D103240193E1EE3C57C2F4034FAFF8E04E931401F833AE0CF702F40E8666BEA90BB3140A53EB16D933E2F400036C0E1AE97314045DCC7D101352F4032809D3E36703140C7656D41485B2F40A8B1DBD1E55531402E0D73DAE3582F40F0312597CC363140AD83CD6A9D322F40BE8030C903323140CA973E5FC5022F407A99CF92DB243140FF7A044B0BAF2E40B28FE05DAE1D3140C471A8A0AB692E40522DF7C11C1431409B05D0CFEC582E4030063BEE67F7304012370E639C3E2E40D23C3AE194C13040AA8F08CA00412E40949AF5A776A83040D60E2C7A4C9E2E400CCC333B268E304021FD1E9B6B202E40C6E074F2635D3040A0DD2AEA3A7F2D4070466DE274323040AE2E8197E2B92C40E84EABDB531430406316B904CE482B400344596D8C0D3040D621849FD9692A40C5C81503E4EA2F400E29B0BDF5992940FB11B7248E9C2F409323FF6543F72840612B71102B422F4047EE66D8834828404B81EFA7A3C62E4090E41604E2B427405873005712422E4062D28836613F27406565110681BD2D408DE7F5EE78FC2640D029AA049E9D2D40AAFB66E3A0CC2640CCF7D8E620F62D40AAFB66E3A0CC264058C69A5371102E409FA3FF060A8C2640A0592FF8E43D2E404786326882762640DC628BA244832E404786326882762640FC894776F99F2E40D79910D2DC842640E075D681D1CF2E40B67254FE27682640FC5776587CF82E404473E788F52926406C57E3CDAE362F40381B80AC5EE925403461D202DC3D2F407F9BC97145CA25402C1CB605D2492F40C51B13372CAB25409C08D89B773B2F40B37E8F5D8B76254004B0DD3413392F40FAFED822725725406412C7D0A4422F40CA4DE454A9522540E49B6C40EB682F4063A6DEBB0D552540A4603F780E7C2F400989111D863F2540D0CC1749CD8C2F40BFF57C781212254008C32814A0852F409ECEC0A45DF52440A01B237B04882F4084EC20CEB2CC24404811A1BB09BF2F40724F9DF4119824400C97EDE7610930401832D0558A82244064B4BA86E91E30408F630EE93968244018883D53B71D3040B5BC9BDA6B2C24409A11E3C2FD433040B2A950FBDEDF234082428ECBDF673040852A2D4B938223403CC24406F986304022B5F8CF742C2340F641FB4012A63040F635D51F29CF2240E6B7C246FEBD3040FA67A63DA6762240D62D8A4CEAD530408EAD55C57D2C2240389073E87BDF30404C5FDD1D14F32140389073E87BDF3040632E321532CF214010249B17BDCE304058D6CA389B8E21405A50184BEFCF3040DE9141C65E5C2140C4F71DE48ACD30403AE1DF8263192140B606CE7835B93040C09C561027E7204026F3EF0EDBAA3040ED3A00FF629F2040426E787444A730403B0066C1537420407A64893F17A03040211EC6EAA84B20409C242EA28A903040D78A3146351E204082A9A53C21943040A1C9360F370A1F40B05A9A0AEA9830409AA3A0501D711E40642E1DD7B797304060B9CAE4AD861D402047BCA08F8A30405A93342694ED1C400C11503830823040C56C0BDDAC921C4036161198AD663040E4807CD1D4621C4044A04992C14E30405FE48B8201F01B402825C12C585230403AAA84CFBF861B40D6B327FC1B5D3040D6345054A1301B4004651CCAE461304093E6D7AC37F71A401A9B8832446A3040D00EBA9587971A40529199FD16633040BA5EEBDC59161A40F22EB06185593040B64BA0FDCCC9194044A04992C14E3040838760507778194022E0A42F4E5E3040B0250A3FB330194036161198AD6630402E9C64CF6C0A194014566C353A7630405B3A0EBEA8C2184042076103037B3040934FA5C76B1618404A4C7D000D6F3040088D1EBA7E0A174036161198AD663040F2DC4F01518916409EBD163149643040CDA2484E0F201640C629EF010875304027DF9B2B879015403CC24406F9863040D2F39FAA7C221540A8157E0DE0A43040CFE054CBEFD51440D28156DE9EB53040AEB998F73AB9144010249B17BDCE30407AF5584AE56714404481C353D1F3304037A7E0A27B2E14408223088DEF0C314037A7E0A27B2E14401E2836629F2F31405CE1E755BD971440AEA22B3D3B6A3140B1CCE3D6C7051540EA44707659833140842E3AE88B4D154060DDC57A4A953140F72DA75DBE8B1540963AEEB65EBA3140CA8FFD6E82D31540E6129F58DCDB3140BB05C5746EEB154000F53E2F870432400FF1C0F578591640DD349ACC13143240958DB1444CCC1640827EE49ECD2A3240A72A351EED00174027C82E7187413240F802E6BF6A221740E78C01A9AA543240CF7787B0BBB61740EE383517F6743240B16316BC93E61740A6B8EB510F943240C3009A95341B1840274291C155BA3240C713E574C1671840E90664F978CD32403C269DC980F2184010733CCA37DE32409211994A8B60194065E4D5FA73D332406473EF5B4FA819406B29F2F77DC732400824519F4AEB19400BC7085CECBD3240F89918A536031A40061BD5EDA09D32406EACD0F9F58D1A40016FA17F557D3240845C9FB2230F1B401CEA29E5BE793240F75B0C28564D1B40ADFD074F198832401C9613DB97B61B40DDAEFC1CE28C3240800B4856B60C1C403020964D1E823240B3CF87030C5E1C40C4CC5C463764324035592D7352841C40EED11DA6B448324008BB838416CC1C407939C8A1C3363240AE7E30A79E5B1D4065035C39642E3240E555BB3381F91D403652676B9B293240B8B7114545411E4026C82E7187413240A1C9360F370A1F40CB11794341583240752B8D20FB511F40A00CB8E3C3733240955249F4AF6E1F40C97890B482843240618E09475A1D1F40061BD5EDA09D32402ECAC99904CC1E4082F846EF9BA33240B5A4C665B8F41D40130C2559F6B13240F1CCA84E08951D40736E0EF587BB3240D2B8375AE0C41D4020FD74C44BC63240F7F23E0D222E1E406B29F2F77DC732403C54029418B41E4047694D950AD73240B67905C8648B1F40545A9D0060EB3240467753DCDA0F20401D648C358DF232400A4F71F38A6F2040768159D4140833402F8978A6CCD8204097A815A8C9243340CAF4BDECBD2721402E6827806F533340BC6A85F2A93F2140CB6C55551F763340F36096BD7C382140A06794F5A19133405E1BE735A5822140F23F45971FB33340317D3D4769CA21406E1DB7981AB933402D4B6C29EC222240BB4934CC4CBA3340AFD41199324922406E1DB7981AB9334000ADC23AB06A2240F984619429A7334043FB3AE219A422406971832ACF983340C584E05160CA2240992278F8979D334007D358F9C9032340C9D36CC660A233409BF98142B15E2340A613C863EDB133407EE5104E898E23404A5D1236A7C83340CEBDC1EF06B0234022F13965E8B73340883D782A20CF23400EBBCDFC88AF3340B1A950FBDEDF2340307B725FFC9F3340B1A950FBDEDF234070B69F27D98C33405B9FCE3BE41624408B31288D42893340A945AEBFE49024406971832ACF983340238A373221C32440992278F8979D3340CD7FB57226FA2440BB4934CC4CBA3340FAFED82272572540845323017AC1334013E178F91C8025400031950275C73340F29A36E77708264097898F69D9C933409FA3FF060A8C2640C83A8437A2CE33403B0F454DFBDA2640368EBD3E89EC3340DEBFA690F61D2740FD97AC73B6F33340B121FDA1BA65274057B579123E0934409A52A8AA9C8927400A89FCDE0B0834401CDC4D1AE3AF274079751E75B1F933409E65F38929D6274079751E75B1F93340A9BD5A66C01628403B3AF1ACD40C344053B3D8A6C54D2840E8C8577C981734409E466D4B397B2840F4B9A7E7ED2B34409E466D4B397B2840ED748BEAE3373440ACD0A5454D632840C9B4E687704734402A4700D6063D28406EFE305A2A5E344076F91AB96AC52740EADBA25B25643440E504C38D00122740287EE794437D3440AAFB66E3A0CC2640C81BFEF8B1733440763727364B7B264076434D573452344055106B62965E26404DD774867541344013C2F2BA2C25264085CD8551483A34406187587D1DFA2540E52F6FEDD9433440B691DA3C18C325404DD7748675413440713017B6213D25409357BE4B5C223440FE30AA40EFFE24407F2152E3FC193440EC9326674ECA2440BF5C7FABD9063440C7591FB40C61244057B579123E093440AD777FDD61382440C6A19BA8E3FA3340BC01B8D775202440D9D707114303344049024B6243E22340BF5C7FABD906344025C843AF017923408EAB8ADD10023440DF6680280BF3224056B579123E093440E3985146889A224033F5D4AFCA18344091C0A0A40A792240BCC3961C1B3334401FC1332FD83A2240610DE1EED44934406D8699F1C80F2240F220BF582F5834404C5FDD1D14F321404DD7748675413440FA862C7C96D12140D83E1F82842F34401FE0B96DC8952140D83E1F82842F344023128B8B453D2140ED748BEAE33734404126FC7F6D0D21400F35304D572834404126FC7F6D0D21409B9CDA48661634408FEB61425EE22040D292EB13390F3440CF268F0A3BCF2040D9D7071143033440ED3A00FF629F204081BA3A72BBED33406059F3B285382040C0F5673A98DA334056171C2CD3811F40F0A65C0861DF3340362E6CD5FE1A1E40289D6DD333D83340CEA5EC7A53781D40289D6DD333D833402CF58A3758351D4005DDC870C0E733409BE1ACCDFD261D40417F0DAADE003440E9A61290EEFB1C40CB4DCF162F1B34401A58075EB7001D40ED748BEAE33734401532719F9D671C406852FDEBDE3D3440111F26C0101B1C402917D02302513440B820DF5F79601B404A3E8CF7B66D344067482EBEFB3E1B40B6F8DC6FDFB7344052985F05CEBD1A40165BC60B71C134401BC1D478EB1F1A403FC79EDC2FD23440F686CDC5A9B61940E410E9AEE9E83440D55F11F2F4991940D486B0B4D5003540D55F11F2F4991940A23CD3574E28354057E9B6613BC019403350B1C1A836354069863A3BDCF4194070F2F5FAC64F3540C9E823D76DFE1940AD943A34E568354017AE89995ED31940828F79D4678435406160A47CC25B19408F80C93FBD98354090FE4D6BFE131940B0A7851372B53540074F123D9E541840FB3A1AB8E5E23540A7EC28A10C4B184096A65FFED631364024638331C62418409C52936C22523640E5275669E9371840E5E52711967F3640B676619B203318401B43504DAAA43640B676619B2033184074601DEC31BA3640074F123D9E541840E9F872F022CC3640E5275669E9371840FD2EDF5882D43640E1140B8A5CEB174081516D5787CE36404ADB9661E84317403425F02355CD36408703794A38E416409DCCF5BCF0CA364032187DC92D7616402834A0B8FFB836401F7BF9EF8C41164082EA55E645A236406A2D14D3F0C91540686FCD80DCA5364007B8DF57D2731540F91B9479F587364007B8DF57D27315403957C141D2743640E17DD8A4900A15405C1766A445653640CCCD09EC62891440CB03883AEB56364038A7E0A27B2E144010EBE8701364364095F67E5F80EB1340BD794F40D76E3640876C46656C03144061C3991291853640F86BB3DA9E41144013FE3350A0B036407AF5584AE5671440CD7DEA8AB9CF36407E08A42972B4144072C7345D73E636408FA5270313E91440CBE401FCFAFB3640DB5742E67671144093EEF030280337404731199D8F161440ED0BBECFAF183740E3BBE42171C0134030F31E06D8253740F2451D1C85A81340F2B7F13DFB3837400F5A8E10AD7813402F5A367719523740D431AC275DD8134028151A7A0F5E3740D431AC275DD8134034066AE5647237408359FB85DFB61340C519484FBF80374004E3A0F525DD13407F99FE89D89F3740D431AC275DD813403F5ED1C1FBB23740A06D6C7A07871340B4F626C6ECC43740A06D6C7A0787134059407198A6DB374022F711EA4DAD134052FB549B9CE73740B30AF053A8BB13400436EFD8AB123840F55868FB11F5134078CE44DD9C24384059CE9C76304B144085BF9448F2383840DB5742E676711440F212CE4FD95638400C0937B43F76144045EB7EF1567838404E57AF5BA9AF144019E6BD91D99338402D30F387F492144048FEC9D0E3C43840EEF4C5BF17A61440D0CC8B3D34DF384025CC504CFA431540062AB4794804394016421852E65B1540F05A5F822A2839406A2D14D3F0C915405DAE9889114639406A2D14D3F0C9154002F8E25BCB5C3940CC8FFD6E82D315408BC6A4C81B773940AD7B8C7A5A031640A5A8449FC69F39405FB626B8692E1640EA8FA5D5EEAC3940207BF9EF8C4116409CCA3F13FED739407566F57097AF1640E0B1A04926E53940362BC8A8BAC2164070C57EB380F33940AC3D80FD794D17407771B221CC133A4001297C7E84BB1740A0DD8AF28A243A40E7275669E9371840A0DD8AF28A243A403B1352EAF3A51840EB090826BD253A40DFC3B32DEFE818405BF629BC62173A40C8D5D8F7E0B11940407BA156F91A3A402E5E58528C541A4012639517EFE9394096E6D7AC37F71A40C53618E4BCE839407BE5B1979C731B406D194B4535D3394095A8CB2F57411C40D4C050DED0D039407AA7A51ABCBD1C40AB54780D12C039406E30B8FF34221D40C08AE47571C8394011E1194330651D40509EC2DFCBD639403208D616E5811D401F54E58244FE39402EF58A3758351D4048C0BD53030F3A40DA098FB64DC71C40C49D2F55FE143A405880E94607A11C40C94963C349353A409BCE61EE70DA1C4021673062D14A3A40501C470B0D521D40664E9198F9573A4015F46422BDB11D40B27A0ECC2B593A40A407438C17C01D40FC0DA3709F863A40B3917B862BA81D409912D1454FA93A401C58075EB7001D40D7B4157F6DC23A40A7454F09F8751C40C82ADD8459DA3A40556D9E677A541C40D41B2DF0AEEE3A40670A22411B891C4019038E26D7FB3A40B8E2D2E298AA1C40426F66F7950C3B40F0B95D6F7B481D4072205BC55E113B40D5B8375AE0C41D4096E0FF27D2013B40FE058AECAE7A1E409D251C25DCF53A405304D14C46351F4081AA93BF72F93A4057171C2CD3811F40B15B888D3BFE3A40D58D76BC8C5B1F40B707BCFB861E3B4040674D73A5001F40B46ED36CC84A3B40372E6CD5FE1A1E4029072971B95C3B4073564EBE4EBB1D409F9F7E75AA6E3B402DF58A3758351D40E286DFABD27B3B40D7098FB64DC71C40FF0168113C783B4073945A3B2F711C40F7BC4B1432843B40C56C0BDDAC921C40345F904D509D3B4048F6B04CF3B81C404150E0B8A5B13B40386C7852DFD01C40390BC4BB9BBD3B40704303DFC16E1D40996DAD572DC73B4085F3D197EFEF1D40D263BE2200C03B40FB058AECAE7A1E40164B1F5928CD3B40CE67E0FD72C21E406F68ECF7AFE23B405F7BBE67CDD01E40918FA8CB64FF3B40FF18D5CB3BC71E400528FECF55113C4015C9A38469481F40C6ECD00779243C40A1BD89D8E8841F40EF06FD61F91C3C4070B49F0574B61F40E9138DDB2D413C40DFA0C19B19A81F40D24438E40F653C400C3F6B8A55601F4093090B1C33783C402D66275E0A7D1F40005D44231A963C40C9F0F2E2EB261F40F2D20B2906AE3C408AB5C51A0F3A1F402E75506224C73C407505F761E1B81E404F9C0C36D9E33C402740919FF0E31E4039CDB73EBB073D402953DC7E7D301F40C29B79AB0B223D407A2B8D20FB511F40E2C2357FC03E3D40AEEFCCCD50A31F4020657AB8DE573D40DA8D76BC8C5B1F40BD69A88D8E7A3D4016B658A5DCFB1E400F42592F0C9C3D40C1CA5C24D28D1E40685F26CE93B13D40CD414A3F59291E40AD468704BCBE3D40BBA4C665B8F41D405290D1D675D53D40014496698F301D409677320D9EE23D4076810F5CA2241C40ABAD9E75FDEA3D40B2A9F144F2C41B40BFE30ADE5CF33D408D6FEA91B05B1B40573C0545C1F53D40BA0D9480EC131B40FC854F177B0C3E409CF9228CC4431B40A914B6E63E173E40CDAA175A8D481B4085541184CB263E40F1E41E0DCFB11B40BBB139C0DF4B3E40333397B438EB1B40E41D12919E5C3E40AD589AE884C21C40B46C1DC3D5573E40236B523D444D1D40AE2701C6CB633E40C92EFF5FCCDC1D407D760CF8025F3E40EE6806130E461E40FFFFB16749853E4052DE3A8E2C9C1E40581D7F06D19A3E404354029418B41E4079443BDA85B73E40761842416E051F40E1EB407321B53E407A2B8D20FB511F40D4FAF007CCA03E405C171C2CD3811F408A675C6358733E4051A02E114CE61F404DC5172A3A5A3E40BC76C0510D4E2040B0C0E9548A373E4058E20598FE9C2040721EA51B6C1E3E407909C26BB3B9204057A31CB602223E40E1B0C7044FB72040662D55B0160A3E40FB9267DBF9DF2040440699DC61ED3D408CA6454554EE20409FBC4E0AA8D63D401CBA23AFAEFC2040E63C98CF8EB73D40E09141C65E5C2140FD0BEDC6AC933D40F32EC59FFF902140A4EE1F28257E3D408E9A0AE6F0DF21400B9625C1C07B3D40314B6C29EC222240B378582239663D40E3850667FB4D224045251F1B52483D40BA192E963C3D2240ED07527CCA323D40708699F1C80F2240170D13DC47173D40D82D9F8A640D224026974BD65BFF3C401337FB34C45222405D8D5CA12EF83C40DF5335497EA62240C534623ACAF53C408104978C79E9224096836D6C01F13C40737A5E92650123403C66A0CD79DB3C405879387DCA7D23406D17959B42E03C40AA51E91E489F2340D96ACEA229FE3C407AA0F4507F9A2340E65B1E0E7F123D40E98C16E7248C23404079EBAC06283D401C5156947ADD23407D1B30E624413D40F7F7C8A24819244076D613E91A4D3D40D29E3BB116552440F2B385EA15533D4092630EE93968244082C7635470613D404FF60F03E0D32440FFA4D5556B673D4052095BE26C202540EF1A9D5B577F3D408AFF6BAD3F192540D94B486439A33D4065A6DEBB0D552540621A0AD189BD3D4083BA4FB0352525404C4BB5D96BE13D40299D8211AE0F2540B99EEEE052FF3D40619393DC80082540F640331A71183E40AF58F99E71DD244033E377538F313E40D8C4D16F30EE24404819E4BBEE393E40A813DDA167E92440BDB139C0DF4B3E404FF60F03E0D32440DED8F59394683E40A813DDA167E92440832240664E7F3E40AE58F99E71DD2440591D7F06D19A3E407762E8D39EE42440DBA6247617C13E409FCEC0A45DF5244033C4F1149FD63E40CF7FB57226FA2440243AB91A8BEE3E4089FF6BAD3F192540BD92B381EFF03E407A7533B32B31254048FA5D7DFEDE3E40E9615549D12225404F3F7A7A08D33E4081BA4FB0352525408F7AA742E5BF3E403B3A06EB4E442540E2EB407321B53E40E11C394CC72E2540B97F68A262A43E40B26B447EFE29254044E7129E71923E400A89111D863F25404C2C2F9B7B863E409B9CEF86E04D25408B675C6358733E400344F51F7C4B254002999AF607593E402CB0CDF03A5C254025593F597B493E4085CD9A8FC27125404919E4BBEE393E405C61C2BE03612540D4808EB7FD273E40DEEA672E4A8725400B779F82D0203E408F25026C59B22540DBC5AAB4071C3E4012AFA7DB9FD825400B779F82D0203E40D2737A13C3EB25405FE838B30C163E4033D663AF54F5254052F7E847B7013E40F39A36E777082640298B1077F8F03D400538BAC0183D2640D16D43D870DB3D40964B982A734B2640D16D43D870DB3D40275F7694CD59264033691503C1B83D40E0DE2CCFE67826407F959236F3B93D409A5EE309009826405490D1D675D53D40838F8E12E2BB2640D16D43D870DB3D406DC0391BC4DF26407DFCA9A734E63D4056F1E423A6032740EA4FE3AE1B043E40A08479C819312740B259D2E3480B3E40C9F05199D841274052F7E847B7013E40E3D2F16F836A27401555A40E99E83D40F56F7549249F2740700B5A3CDFD13D40AEEF2B843DBE2740C47CF36C1BC73D409820D78C1FE22740A8016B07B2CA3D40B8479360D4FE2740BC37D76F11D33D40431655CD2419284069C63D3FD5DD3D40DA6E4F34891B2840ADAD9E75FDEA3D408564CD748E5228401B01D87CE4083E4000A956E7CA842840AB14B6E63E173E4021D012BB7FA12840741EA51B6C1E3E40641E8B62E9DA2840B359D2E3480B3E40B5F63B0467FC2840A6688278F3F63D406E76F23E801B2940F294FFAB25F83D4028F6A879993A29409F23667BE9023E40801376182150294083A8DD1580063E4072893D1E0D68294021AD0BEB2F293E40039D1B8867762940C6F655BDE93F3E408426C1F7AD9C2940964561EF203B3E403EA67732C7BB2940E171DE22533C3E40C774399F17D629409D8A7DEC2A2F3E40E89BF572CCF22940E9B6FA1F5D303E40E89BF572CCF229406B40A08FA3563E40716AB7DF1C0D2A402B0573C7C6693E408A4C57B6C7352A4038F6C2321C7E3E4065F3C9C495712A4045E7129E71923E40B0865E69099F2A40139D3541EAB93E40005F0F0B87C02A40B8E67F13A4D03E409272ED74E1CE2A40C5D7CF7EF9E43E40D1AD1A3DB<KEY>EEBD31ECE12B4040D8F2363AC8AF2A40E87815EFD737404027B89CFCB8842A408AEC450A6C3E404045CC0DF1E0542A4048DBFE8A69414040535646EBF43C2A4052F6343F99454040535646EBF43C2A40BC73548F5A534040A52EF78C725E2A405EE784AAEE594040172E6402A59C2A40AB1302DE205B40408A2DD177D7DA2A406902BB5E1E5E4040DC05821955FC2A4088535D7BAD6A4040DC05821955FC2A40C21F88FDA5734040BEF110252D2C2B40B0BF354C6C7B40405A5D566B1E7B2B403EFDF9FEA0794040D3A1DFDD5AAD2B40FCEBB27F9E7C404067C8082742082C40B3954F03928B4040A1D164D1A14D2C406024B6D255964040 The north or the North is one of the constituent regions of Westeros and was a sovereign nation ruled by Kings in the North before Aegons Conquest. The largest region of the Seven Kingdoms, the dominion of House Stark extends from the border of the New Gift, which is controlled by the Nights Watch, to the southern edge of the Neck far to the south. The north has been ruled by the Starks for thousands of years from the castle known as Winterfell. Notable bannermen of the region include Bolton, Cerwyn, Dustin, Flint, Glover, Hornwood, Karstark, Manderly, Mormont, Reed, Ryswell, Tallhart, and Umber. Bastards of noble origin raised in the north are given the surname Snow. https://awoiaf.westeros.org/index.php/North
8 The Vale Arryn 0106000020E6100000060000000103000000010000000D0000006732C227DA0033401DB5F8616F2F3240FACE1A3DC2F03240969AF7B44E063240AEE3F8C816DD3240A6563AF084043240418051DEFECC3240F2415C6430183240FC555B1EB79C3240F2415C64301832407F3671F8688E324054AAECC7750D3240334B4F84BD7A324024762416D3123240011787D21A80324090D9CB00EB2232408931887F3BA932409BD4E287BD3D3240B4A4247D7AC03240E6BF04FC685132402B03E3EE64EB3240E6BF04FC6851324057767FECA302334017F4CCAD0B4C32406732C227DA0033401DB5F8616F2F32400103000000010000000C0000004533FCCF785833404EE9C013122A3240DC0940B8CF7F3340C10D94B28D1D324064244165F0A83340F2415C64301832406E1F58ECC2C33340E84645DD5DFD314001BCB001ABB3334030F87B7E9AD93140F7C0997AD898334040B4BEB9D0D73140EDC582F3057E33407AE39DF245ED3140B196A3BA906833406C275BB70FEF3140C81312AA2A4A334008BFCA53CAF931409CA075ACEB32334013BAE1DA9C1432406B6CADFA48383340B0515177571F32404533FCCF785833404EE9C013122A32400103000000010000000F000000EC0FD65126E53540BED3A8DF1EE631408AA745EEE0EF3540C294D49382C93140FCCB188D5CE33540B899BD0CB0AE3140C19C3954E7CD35401A024E70F5A33140D719A84381AF35401A024E70F5A331405AFABD1D33A135408C26210F719731404043645B2A8835405CF2585DCE9C3140A1ABF4BE6F7D3540C8550048E6AC3140258C0A99216F3540E40C5A0AEFC5314092EFB183397F354070E8866B73D231409CEAC80A0C9A3540F4C89C4525C431401A0AB3305AA835400E80F6072EDD314033C10CF362C1354040B4BEB9D0D731405F34A9F0A1D83540BED3A8DF1EE63140EC0FD65126E53540BED3A8DF1EE6314001030000000100000012000000C8BDEDEE2D883840F3415C6430183240C1FCC13ACAA4384066662F03AC0B3240C49937A481C038404E4C4BAA5A0E3240DF5091668AD938407F80135CFD083240E7AE3284A5D83840E84645DD5DFD314093656FF2DEC5384064C9B999F4EF31401FA426EAABB6384000C4B3CCF7DE3140C1FCC13ACAA4384042B4BEB9D0D73140DB16A6931BA23840B4D891584CCB3140B701ABB3F7893840A41C4F1D16CD31404A9E03C9DF793840481260D7EBD63140106F24906A6438401080F6072EDD3140DC9DE674104E3840F66512AFDCDF314067DC9D6CDD3E38405C6B187CD9F03140703A3F8AF83D3840C0701E49D60132403E0677D8554338402DD4C533EE1132409C4A51F1EE7038405D088EE5900C3240C8BDEDEE2D883840F3415C6430183240010300000001000000DD010000BE7F3189F93A3340D8305C96CDE52140EED54F0349023340EEECFAFE673F2240AD16B32B14D23240AAB1482E4F1223402A98797CAA713240FBE3531AE28124403D4588865E2C324000E1C678B54225408BF6350D02D8314015CDBDE4CA3F2640A9D7CAC9B28F31405A89CD1AD3302740C8B85F8663473140E1047A2810522840338D17CD452C31401C4B8EA88DC42840B6C9DB78210B314026C1895E18432940B10EDE1DDCCB304031378514A3C12940704F4146A79B304084E5A5F9192E2A401728980979713040E7824AECD2D62A408E30D60258533040BCAFA480B3A32B401EA12061302F3040BA338F87CFA62C40433DB378262630402489A433A14F2E40433DB37826263040111E0B2D7B162F407540F7DACC3430405811A1BB09BF2F407BEC2A4918553040A0A435607DEC2F409C13E71CCD713040A8EFE74EC60B3040CA2BF35BD7A230403A03C6B8201A30401A6BBB6E96F0304034BEA9BB16263040E720DE110F18314016432156AD29304092165C52144F3140B09B1BBD112C3040FF699559FB6C3140D25BC01F851C3040B8E94B94148C31400A52D1EA57153040263D859BFBA9314026CD5950C11130406A24E6D123B731409A65AF54B22330408EE48A3497A731408CDB765A9E3B3040C5DA9BFF69A031403025C12C58523040F68B90CD32A53140FEDAE3CFD079304063DFC9D419C33140F695C7D2C68530407DC169ABC4EB3140DA1A3F6D5D8930404A778C4E3D13324014115038308230400C3C5F8660263240062000CDDA6D3040950A21F3B040324028E0A42F4E5E3040E6E2D1942E623240760C2263805F304093713864F26C3240062000CDDA6D3040A7A7A4CC51753240AC694A9F9484304077F6AFFE887032409CDF11A5809C30401C40FAD0428732408C55D9AA6CB4304038BB8236AC833240E672A649F4C9304045ACD2A101983240F463F6B449DE304073C4DEE00BC93240089A621DA9E63040A821071D20EE3240A637798117DD30402AABAC8C66143340E672A649F4C93040FFA5EB2CE92F3340D23C3AE194C130408FB9C996433E3340CAF71DE48ACD3040493980D15C5D33401CD0CE8508EF30404EE5B33FA87D33401CD0CE8508EF3040E5A4C5174EAC3340D0A35152D6ED30409AC1CF1244D1334050E38F70EDFA3040F56B2F3AC9D03340FA0F2A2395FE30400C78B5594EE933404A12C10DED0F31405B7A4C44A6FA3340A22F8EAC74253140FFC396166011344022E31965953B3140E71E28681C2534401A9EFD678B473140D894EF6D083D3440A296A51DB6513140B5D44A0B954C34409A518920AC5D314075991D43B85F34400C14C56D775F3140A8202CC8A674344070E5B04FED4C31408F7BBD1963883440A8DBC11AC04531400E2F49D2839E34401E74171FB15731407C589C9090CC3440A642D98B01723140C7EB303504FA3440FE5FA62A89873140E0CDD00BAF22354014961293E88F3140D888B40EA52E35406607ACC324853140A192A343D2353540CCD897A59A7231409FBC898CAC2535407ED600BB42613140333F6A3CEB173540C62C64374F52314001B85BB7FC02354094A555B2603D314036D852CBA9EB344044A3BEC7082C31409E7F586445E934405E482D764C183140B2B5C4CCA4F134401A61CC3F240B314031695085C50735401046968BF4063140D6B29A577F1E354070A87F27861031403AEB9DAA3638354038B26E5CB3173140768DE2E354513540981458F844213140F6406E9C75673540A22F8EAC74253140916F82BAFF793540EC85F12881163140A5A5EE225F823540B2B9C6A6880D314036B9CC8CB99035405E482D764C183140F3A7850DB793354090CF3BFB3A2D31406840DB11A8A53540046891FF2B3F31405AB6A21794BD3540FE227502224B3140081B239E7DD83540967B6F69864D314001D606A173E43540E0D1D2E5923E314004AC205899F4354034436C16CF33314013738A7A141936407E6FE94901353140B8BCD44CCE2F3640046891FF2B3F31407F2DDBF23C6336404034BC81244831406C34A0B2449736403AC5B93B40643140F502621F95B1364080AC1A72687131402ECF8CA18DBA3640E00E040EFA7A314024B456ED5DB6364090738494E395314055654BBB26BB3640208762FE3DA43140E578292581C936400E27104D04AC3140B32E4CC8F9F036405A538D8036AD314016674F1BB10A37405E29A7375CBD3140A950473C3129374056E48A3A52C931407F4B86DCB34437402809B023AFD431401A7A9AFA3D57374004490BC13BE43140DE1487E9867A374004490BC13BE43140FF3B43BD3B973740249AADDDCAF03140B5E5DF402FA63740B4AD8B4725FF314004E8762B87B73740729C44C822023240CCF16560B4BE3740081F257861F43140C1D62FAC84BA3740760B470E07E631406C8F7CC422B537400273F10916D431405583F6A49D9C374084BF6551F5BD3140A51E761EB48137401842460134B031400AF061002A6F3740CC15C9CD01AF314077066ADFA9503740B60943AE7C963140A0351188012537402C3B81412C7C3140D27FEEE488FD3640E853200B046F3140ACE92FCBEFFC3640ACB1DBD1E55531408D988DAE60F03640EAEC089AC24231403F96F6C308DF3640B665FA14D42D314025B456ED5DB63640F05B0BE0A6263140DFF6DBFF0F9936407AC3B5DBB5143140C8EA55E08A803640B0E3ACEF62FD304016B0BBA27B553640042B60D7C402314012DAA1EB55453640C243FFA09CF53040C101F149D8233640DAE86D4FE0E1304027D3DC2B4E113640C2DCE72F5BC9304008823A0FBF0436406ABF1A91D3B3304027D3DC2B4E113640147867A971AE3040C4D70A01FE333640EEE1A88FD8AD30404DA6CC6D4E4E3640D266202A6FB130409CA86358A65F3640E69C8C92CEB930401B5CEF10C7753640585FC8DF99BB3040B68A032F518836403CE43F7A30BF3040C37B539AA69C36403EBA593156CF30400763B4D0CEA936401CFAB4CEE2DE304056654BBB26BB36408EBCF01BAEE03040D518D77347D13640007F2C6979E2304096DDA9AB6AE43640C8881B9EA6E93040005BC9FB2BF23640CC5E3555CCF93040005BC9FB2BF23640A05974F54E153140DC9A2499B8013740981458F844213140961ADBD3D120374092CF3BFB3A2D3140046E14DBB83E37404879D87E2E3C3140BEEDCA15D25D3740D0479AEB7E563140E559A3E6906E374074BBCA06135D314047BC8C822278374074BBCA06135D3140A71E761EB4813740FE227502224B3140766D8150EB7C3740F2312597CC3631407EB29D4DF57037400CD793451023314071C14DE29F5C3740A05974F54E1531400E894A8FE84237409468248AF9003140331F09A98143374014B598D1D8EA3040A30B2B3F2735374038753D344CDB304057DFAD0BF53337409E462916C2C83040A035118801253740C006CE7835B93040A3CEF916C0F83640B4157E0DE0A4304049B12C7838E3364094C4DBF05098304032A5A658B3CA3640DE1A3F6D5D893040001E98D3C4B536400ECC333B268E3040353E8FE7719E3640F07A911E978130407379BCAF4E8B364030B6BEE6736E3040ED8014FA238136400E8F0213BF5130408A4811A76C673640540F4CD8A5323040B54DD206EA4B3640B0C50106EC1B304012DAA1EB55453640DEA0DC1C8F103040C9833E6F49543640EE002FCEC8083040B3B4E9772B7836404448E2B52A0E3040B68A032F518836400C52D1EA57153040CD96894ED6A036409A8F959D8C1330407CFB09D5BFBB36405A7E4E1E8A1630407FD1238CE5CB3640040DB5ED4D21304081A73D430BDC36402E798DBE0C3230406802CF94C7EF3640F6827CF339393040C11F9C334F0537400CB9E85B99413040DB013C0AFA2D3740485B2D95B75A30402CDAECAB774F3740B6AE669C9E783040A4485C678E7137408CA9A53C2194304018E1B16B7F833740A8FA4759B0A030402FED378B049C374044295C773AB3304092253BDEBBB5374034C909C600BB304049CFD761AFC4374040BA593156CF3040CFC77F17DACE3740B452AF3547E130407511CAE993E537407C5C9E6A74E83040E9A91FEE84F737400C707CD4CEF6304061188FA99B1938405257DD0AF7033140487320FB572D3840FEE543DABA0E31404A493AB27D3D3840668D4973560C314038E9E700444538405C7213BF26083140C726ACB378433840A4C8763B33F930405CA98C63B73538407C5C9E6A74E830400562D97B553038405E0BFC4DE5DB3040A429D6289E1638406450184BEFCF30405251258720F53740D43C3AE194C13040B0DDF46B8CEE3740ACD06110D6B030409F7DA2BA52F63740B4157E0DE0A43040E08EE93955F33740BA5A9A0AEA983040EF18223469DB374044C24406F98630407165967B48C5374002DBE3CFD0793040DC7B9E5AC8A637408C428ECBDF673040650D2F9FB1843740F85896AA5F493040A17242B068613740BCB651714130304072C14DE29F5C3740E8912C88E42430406061FB30666437406CB4BA86E91E304024FCE71FAF87374022883D53B71D30408734EB7266A13740C2FB6D6E4B243040AFA0C34325B237402E798DBE0C3230407B80CC2F78C937407C7B24A964433040270F33FF3BD4374016AA38C7EE553040A3ECA40037DA3740BCF38299A86C3040C41361D4EBF637404C076103037B30400CD1DBC139143840AA9330E86E74304018C22B2D8F283840F6BFAD1BA1753040BE0B76FF483F3840FA95C7D2C6853040F19284843754384094C4DBF050983040916DCC100D87384032C909C600BB3040CC7628BB6CCC38407C5C9E6A74E83040697B56901CEF3840042B60D7C402314050D6E7E1D8023940727E99DEAB203140F51F32B4921939400AD7934510233140B6E404ECB52C394026521CAB791F3140585835074A333940542DF7C11C143140F7F54B6BB829394022A6E83C2EFF3040414CAFE7C41A3940884DEED5C9FC30408087DCAFA107394060E115050BEC304045BBB12DA9FE3840A837798117DD30408320C53E60DB38408810BDAD62C030401C12A83483B13840B4157E0DE0A430406AD70DF773863840FA95C7D2C6853040436B3526B575384084FD71CED57330408E97B259E77638402CE0A42F4E5E3040FE83D4EF8C683840F03D60F62F45304090309BE8A54A3840C6D18725713430400EA7F5785F24384096209357A82F3040A153BC7178063840E8912C88E4243040A998D86E82FA37404448E2B52A0E304095626C0623F23740EC247F2564CD2F408EB63898D7D13740A491EA80F09F2F406D8F7CC422B53740C8518FE363902F40766D8150EB7C374098A09A159B8B2F40A17242B0686137405CFE55DC7C722F400E894A8FE8423740500D0671275E2F40B29563393B1D3740D02F946F2C582F4027F18715C5F236403CD79908C8552F4075B6EDD7B5C73640F4EF38D29F482F40806A0C1BA49F364050A6EEFFE5312F408FF44415B887364048FABA919A112F40072683A8676D364054D8BF1D63D92E400C9585EE4B513640C45DCA42C79E2E400F04883430353640A08ADA00C7612E407FF0A9CAD526364054F7455C53342E409150FC7B0F1F3640740BB7507B042E405BF3D33FFBF93540109682D55CAE2D40DF15623E00F43540A88765CB7F842D4038332FDD870936405C5BE8974D832D407FF0A9CAD526364008EA4E67118E2D40D80D77695D3C364050D1AF9D399B2D40F2EF164008653640C8AE219F34A12D408303F5A962733640B4DFCCA716C52D4056281A93BF7E36403CAE8E1467DF2D40AE45E7314794364060D54AE81BFC2D408E5B5C86F9B33640B8F21787A3112E4063569B267CCF36400486AC2B173F2E40B2583211D4E03640ECB65734F9622E403851DAC6FEEA3640DC2C1F3AE57A2E40D37FEEE488FD364028599C6D177C2E406493CC4EE30B374088546E9867592E40D64629BA9C34374060058C1000522E40E0AD6F78454E3740840F529B5D652E4045BC8C8222783740C45DCA42C79E2E408D79077070953740D04E1AAE1CB32E4047F9BDAA89B43740C45DCA42C79E2E4060DB5D8134DD3740443B3C44C2A42E4043C7EC8C0C0D38405871A8AC21AD2E409675B7E5AF3E3840AC8E754BA9C22E40A8123BBF50733840D861658DA9FF2E405FBCD742448238401404AAC6C7182F40FCC00518F4A438406C2177654F2E2F403C39640838CE3840ECFEE8664A342F4065A53CD9F6DE3840DC74B06C364C2F4060363A9312FB3840E020E4DA816C2F4051AC0199FE1239408CAF4AAA45772F40D05F8D511F2939400448A0AE36892F4091246089423C3940E4332FBA0EB92F401AF321F692563940FC15CF90B9E12F40435FFAC651673940189157F622DE2F40B7F74FCB4279394074470D2469C72F400424CDFE747A394008F4D31C82A92F403B1ADEC94773394034F9947CFF8D2F40819A278F2E54394080BEFA3EF0622F40BA90385A014D3940F8EF38D29F482F40FBA17FD9034A394020F5F9311D2D2F40713AD5DDF45B39408C35E85977FE2E40A0EBC9ABBD603940B43AA9B9F4E22E4055BF4C788B5F39409413EDE53FC62E40F55C63DCF955394048E76FB20DC52E40644985729F4739409C5809E349BA2E40339890A4D64239407C314D0F959D2E40AD9FE8EEAB3839400899F70AA48B2E40EAEF88DB751D3940EC1D6FA53A8F2E40109BBA19FC1539403CB9EE1E51742E40FA79C1D589053940781E023008512E40F5CD8D673EE53840D4AAD114744A2E4065A53CD9F6DE3840EC4F40C3B7362E4036DFD4E640E2384008F5AE71FB222E406D46D9A136E0384064B8D2DC1E1F2E40840B521A73E33840E4F7D8E620F62D40CE7F5F21A8DB3840CC778BD069EB2D40916BA4CBACDB3840306972175DEB2D407C3538634DD338408C1F2845A3D42D40EEF773B018D5384058C2FF088FAF2D4043690DE154CA3840349B4335DA922D40F0F4DEFFE1BF38409C002E251B922D4051F345DB68B238402065D7CC7A8A2D40A9D3E151898B3840349B4335DA922D4051B614B3017638402065D7CC7A8A2D40479BDEFED1713840ACCC81C889782D403F56C201C87D384064E52092616B2D40D23FBA22489C38401474876125762D4093048D5A6BAF3840003E1BF9C56D2D40A0F5DCC5C0C33840ACCC81C889782D40B0F205407DCD3840A8ADE71497832D40E7791BC70ED43840D8A82E10367F2D40F3F773B018D53840A4DB315D34642D407F5F1EAC27C33840BCAA865452402D4056F345DB68B238407C5C0EADE8062D40EE4B4042CDB43840F8D2683DA2E02C404EAE29DE5EBE3840D8ABAC69EDC32C40D77CEB4AAFD838407004A7D051C62C404C15414FA0EA3840A0B59B9E1ACB2C40DC281FB9FAF83840BC973B75C5F32C40A5320EEE270039406CD2D5B2D41E2D4096A8D5F313183940200D70F0E3492D40E03B6A98874539409851F962207C2D40ED2CBA03DD593940B878B536D5982D4032141B3A05673940E829AA049E9D2D405A80F30AC47739402865D7CC7A8A2D408A31E8D88C7C394040342CC498662D40F2D8ED71287A39408CF99186893B2D405C19DC99824B3940B4521F78BBFF2C40789464FFEB473940F8D2683DA2E02C40D8F64D9B7D5139400018853AACD42C40C127F9A35F753940C821746FD9DB2C40307B32AB469339407849C3CD5BBA2C40736293E16EA03940CC53458D56832C40FF54E07AF49A3940E85EACFB6E6B2C40E1394253279A3940284F17B8A6602C405894D20C019A39402466B221F4032C408CF28E6BC594394018F9D72070CB2B403028FA3B42893940D07AB6A0E9952B40F2774B99D2813940A0FDDFB134972B409C2ADD21D28139400095894932972B40FA1D0A6F326E394090696F21E7982B402C68E7CBB9463940D0A49CE9C3852B408172698BB40F3940F8FD29DBF5492B409741BE82D2EB384030F43AA6C8422B406890C9B409E73840088862D509322B40211080EF2206394048C38F9DE61E2B40DA8F362A3C253940B4AFB1338C102B40EEC5A2929B2D3940F4EADEFB68FD2A40AADE415C73203940D4C32228B4E02A40F15E8B215A013940F4D7931CDCB02A4023A9687EE1D93840E47F2C4045702A40F5905C3FD7A838403445920236452A40D369A06B228C384044CFCAFC492D2A400DF999C5B358384034324723A9F829405379E38A9A39384034324723A9F82940DA345A185E073840884F14C2300E2A403C302C43AEE4374098D94CBC44F6294073263D0E81DD3740C877F6AA80AE2940DCCD42A71CDB3740ECD0839CB27229404ABA643DC2CC374090A06B1E9E102940923AAE02A9AD3740FC7942D5B6B52840D30EC459446E37405084C494B17E2840CFFB787AB7213740E4ADB86A9B6328405F806E07BA04374060D1013F514928402D8A4EE38EE636408CA2208627242840402A3D41E58F3640AC56732A7CD827409F6EC80476DD36407083C6E7E3092840236D12ABF3163740EC0E901993282840360A9684944B3740C4A2B748D41728405631525849683740C4A2B748D41728400FB10893628737405CFBB1AF381A2840F748CB0C86D73740D43F3B22754C284080178D79D6F1374090BFF15C8E6B28409AF92C50811A384090BFF15C8E6B2840986044C1C246384090BFF15C8E6B284096C75B3204733840D852860102992840FCD5783CE19C3840440DD7792AE328401EFD341096B93840440DD7792AE32840B3BC46E83BE838407C03E844FDDB28402D01D05A781A3940440DD7792AE32840FBB6F2FDF041394050970F743ECB28409F675441EC8439403CC8BA7C20EF2840373AB1F81E003A40E4AAEDDD98D92840CEF9C2D0C42E3A40145CE2AB61DE2840A3F40171474A3A40282B37A37FBA284073430DA37E453A40F466F7F5296928409603B205F2353A40F453AC169D1C2840C00873656F1A3A40E0B6283DFCE72740442B016474143A40602D83CDB5C12740C84D8F62790E3A40DCA3DD5D6F9B27407030C2C3F1F839402C69432060702740E7610057A1DE39403CF37B1A74582740495DD281F1BB3940A09A81B30F5627406C1D77E464AC3940A8DF9DB0194A27403C6C82169CA7394098421AD7781527407BA7AFDE78943940AC116FCE96F12640FA1D0A6F326E39402443AD6146D72640C4C0E1321E493940ACFE23EF09A52640A9DE415C732039400009A6AE046E264090FCA185C8F7384050CE0B71F5422640761A02AF1DCF38402CA74F9D40262640B6552F77FABB3840C4FF4904A52826400182ACAA2CBD38407C7F003FBE4726400182ACAA2CBD384044571E566EA72640D1D0B7DC63B838405C39BE2C19D0264040BDD97209AA3840EC4C9C9673DE2640F0E428D18B883840A4B907F2FFB02640671667643B6E384028757E7FC37E26402974222B1D553840E0E1E9DA4F512640C811398F8B4B384034EC6B9A4A1A2640842AD858633E3840AC1DAA2DFAFF25404788931F452538404476A4945E0226407E7EA4EA171E38408C093939D22F2640D2EF3D1B54133840D057B1E03B69264049217CAE03F93740489C3A53789B26403C302C43AEE437405C39BE2C19D0264013C45372EFD337405C39BE2C19D026404062FD602B8C37405C39BE2C19D02640DA53E0564E623740FCD6D49087C62640E431E5E2162A3740E0F434BADC9D26405A632376C60F374084924B1E4B94264061A83F73D0033740F8C389B1FA792640472DB70D6707374070F5C744AA5F2640531E0779BC1B37404044D376E15A26407545C34C71383740E42606D859452640966C7F2026553740944E5536DC2326405631525849683740CC446601AF1C264024E774FBC18F3740F8E20FF0EAD42540B5FA52651C9E374050ED91AFE59D25407113F22EF490374064BCE6A6037A25401F3B418D766F3740246E6EFF994025407AF1F6BABC583740B06E018A67022540FE1385B9C15237407465A5DF07BD24400A05D52417673740EC96E372B7A22440B5FA52651C9E3740C42A0BA2F891244007D303079ABF37405C8305095D9424405FF0D0A521D5374070525A007B70244043754840B8D83740D0A1F8BC7F2D244081B0750895C5374024AC7A7C7AF623408C8E7A945D8D3740F4FA85AEB1F123405C766E55535C3740F4FA85AEB1F12340AC3BD417443137406C2CC44161D723409F4A84ACEE1C37403423689701922340ADD4BCA602053740A0FC3E4E1A372340A0E36C3BADF03640E47C8813011823409B3739CD61D0364020A56AFC50B8224058E9C025F8963640C474527E3C562240385BEDE0014E3640F012FC6C780E224073EAE63A931A3640D0EB3F99C3F12140285752961FED3540FC57186A82022240929740BE79BE354044D8612F69E3214078B5A0E7CE953540CCD8F4B936A521405FD30011246D3540101422821392214045F1603A7944354010142282139221405BC0B53197203540C893D8BC2CB1214003A3E8920F0B3540BC4EBCBF22BD21405E599EC055F434403480FA52D2A22140F10565B96ED63440189E5A7C277A21404D55037673933440C4808DDD9F64214042FD9B99DC523440FC769EA8725D2140E9DFCEFA543D3440888A7C12CD6B2140EC78B78913113440B4F654E38B7C214055B9A5B16DE233401014228213922140EFAA88A790B8334028F6C158BEBA2140D6C8E8D0E58F3340186C895EAAD22140C32B65F7445B3340708956FD31E82140BE7F3189F93A3340D8305C96CDE521400103000000010000000D000000C334FDA72BDF314016C8629D866C314088051E6FB6C9314052F741D6FB8131403659D046A7D23140A8DD7AD179B031407188AF7F1CE83140144122BC91C03140CE2F142FFEF931401E3C394364DB3140B7B2A53F641832404AAFD540A3F2314049C8BD73575C3240F802881894FB31406A4043EAC35832408865F55A0DB43140FDDC9BFFAB483240DA1143831CAB3140F3E18478D92D32404475EA6D34BB3140B7B2A53F641832401A024E70F5A33140CE2F142FFEF93140C41B157577753140C334FDA72BDF314016C8629D866C3140 For the smaller valley from which the region takes its name, see Vale of Arryn (valley). The Vale of Arryn or the Vale is one of the constituent regions of the Seven Kingdoms of Westeros. It was formerly a sovereign nation ruled by the Kings of Mountain and Vale before Aegons Conquest. The Mountains of the Moon surround the smaller Vale proper, although the valleys name is often applied to all of House Arryns realm. The Vale is ruled by the Arryns from the castle known as the Eyrie. Notable houses of this region include Baelish, Belmore, Corbray, Egen, Grafton, Hersy, Hunter, Melcolm, Redfort, Royce, Templeton, and Waynwood. Bastards of noble origin raised in the Vale are given the surname Stone. https://awoiaf.westeros.org/index.php/Vale%20of%20Arryn
9 The Westerlands Lannister 0106000020E610000002000000010300000001000000B100000090DBBA8F15EE2740F892DEA8185626408E886EE87273284064F1C93E2FEC2540AB4C33AA78ED284012A2EE57F13E25402E2AB2571B0D29405A39598516EC244032E5AFB2604C29406DA4F28B3C2524401A7DA34D675229405C73F97A6C6723401A7DA34D67522940828BA18B465B224020F62BA51E102940DEECEABDCA002140D302091BEDE22840DAEF775FF73F20405DB8551E807F28407B15F137550A1F407C99EADA30372840AD611FFB2BFB1D40BC9AFCB5F3E8284023651588FF151B40DEBA79D405E32940A85F64304D731A409A7FC703EDB52A40E4218EA9AEE21940528917D88E492B401CE744C43C911840DF7D4C3D83282C4001FEDAF953D3164079649251E6822C40C833DC72BA5D1540A379ADC093372C406B0FC0D7B8721440CE4C532CB36A2B40E096A06BA8901240E2B7EC32D9A32A400DE65BD0ABC01040BFD9E417552B2A40CB15C2ADA80E0F400C8B929EF8D62940C9107A419D470C4013041BF6AF9429406D68739F7F590A40266FB4FCD5CD2840E2EF53336F770840FED5AE860C1628404A852318F01907400D44D52E5F8E2640824ADA327EC8054079D61772B3F12540408B3D5B49980540B81457E4F85D24401EAD3540C51F05403CCD3089B8392340AC1D809E9DFB0440A95F73CC0C9D224067617068950A0440982E7ABB3CDF21403B8982906A100240F3D138F14E062140912FCE67A97600409B681AB1925A2040F2893B995432FE3FCE361D11994B1F40E492E27DDAEFFB3FF909C37CB87E1E400474773A8BA7FB3FACCFE282ED081B40E692E27DDAEFFB3F6AB80B59599C1940403D2B2A638DFB3F571B887FB8671940A0FD650D1A92FD3FF7B89EE3265E194000AC7B26DFCDFE3F2A7DDE907CAF1940200C19983AD0FF3FC3D5D8F7E0B119408021D78555D7004067A5C079CC4F1940500C407C92830140DED6FE0C7C3519407059920E61390240762FF973E0371940E0F45C48992803403A07178B90971940205620CF8FAE03400D696D9C54DF1940205620CF8FAE0340E80FE0AA221B1A4070411C509A1C044075F1ECF6FF811A4070411C509A1C04408ED38CCDAAAA1A4000DE0C9F6D8F04402D71A33119A11A4040521B05F161054008181640E7DC1A40406566E47DAE0540339739F0323A1B4070EB9914F3490740B620DF5F79601B40801130D30CE3074064482EBEFB3E1B40B071CD4468E508401EC8E4F8145E1B402097D078B4BC09401EC8E4F8145E1B40801F50D35F5F0A40EE7D851E789E1B408090A8A4B43C0B40BB332A3F06AD1B4000FEEADF6B3B0C4096F9228CC4431B40B0E72DC10D640D40F348C148C9001B4090F9528BFF2C0E40B50D9480EC131B4030BDFFAD87BC0E40FA6E5707E3991B40D06C3BDCE77B0F40C159C0FD1F461C4000677F31EF0010401332719F9D671C40B8B4644E8B78104071810F5CA2241C409029063FDC0C11402E3397B438EB1B40C813DCAA4BF7114021BCA999B14F1C4050B0CCF91E6A1240F8304B8A02E41C401088EA10CFC912407BBAF0F9480A1D40E8FC8B01205E1340BE0869A1B2431D4040E887822ACC13402CF58A3758351D40885C96E8AD9E14404D1C470B0D521D4008F98637811115403B7FC3316C1D1D40C8D0A44E31711540DB1CDA95DA131D40103268D527F7154004A838A5897F1C4068E482B88B7F1540BB332A3F06AD1B40880B3F8C409C15406335E3DE6EF21A40A032FB5FF5B815401AC1D478EB1F1A4030338EEAC27A1540B238551E407D19404834B4FF5DFE1440B238551E407D1940B80D8BB676A314402D9C64CF6C0A1940D821FCAA9E731440054F123D9E54184070ACC72F801D144032EDBB2BDA0C1840F82222C039F713402CC7256DC0731740F82222C039F71340A72A351EED00174070997C50F3D013407366F57097AF1640009A0FDBC09213407FDDE28B1E4B1640009A0FDBC09213409CF15380461B1640A04A711EBCD51340EAB6B94237F01540B0E7F4F75C0A1440DB2C814823081640885C96E8AD9E1440A93D80FD794D1740505A4ABE779715402CC7256DC0731740203268D527F7154029B4DA8D33271740C0F514F8AF861640FB15319FF76E17403008CD4C6F1117406E159E142AAD1740B8A4BD9B42841740C0ED4EB6A7CE1740787CDBB2F2E31740531478FF8E29184000068122390A184017EC95163F89184068686ABECA13184031AFAFAEF956194000068122390A18400824519F4AEB1940D87A22138A9E18400A379C7ED7371A4028661E94940C19401CD41F58786C1A4000DBBF84E5A01940125D323DF1D01A40886465F42BC719404834BDC9D36E1B40A08B21C8E0E31940BF46751E93F91B40B09E6CA76D301A405FE48B8201F01B40B09E6CA76D301A40E4807CD1D4621C40C04E3B609BB11A40386C7852DFD01C40507564A9820C1B40522F92EA999E1D40C061863F28FE1A401607B0014AFE1D40C061863F28FE1A4049CBEFAE9F4F1E40B8D74D4514161B401C2D46C063971E40B060602A8D7A1B40E10464D713F71E4098E9720F06DF1B40A1C9360F370A1F4068C19026B63E1C4036F05F581E651F4068D4DB05438B1C40AF1E5975760D20402022C122DF021D40083C2614FE222040000E502EB7321D40DFCF4D433F122040E0F9DE398F621D40BB8C50A7F1D71F4050E600D034541D4088C810FA9B861F407020088376BD1D402766275E0A7D1F40E832C0D735481E40C7033EC278731F40886C3400AAEF1E405A2A670B60CE1F40687E59CA9BB81F4037ED1AE2C627204090EF4463623E2040C800F94B21362040A8D1E4390D672040F16CD11CE0462040C8C6CFEF44DC2040E927B51FD65220409828260109242140DA9D7C25C26A204020B2CB704F4A2140DA9D7C25C26A204098F654E38B7C2140C4CE272EA48E204044ECD22391B321405C272295089120405CCE72FA3BDC21404558CD9DEAB42040209345325FEF214050B0347A81F52040209345325FEF2140496B187D77012140481269E2AA4C22405B089C5618362140841BC58C0A9222404539475FFA59214024CC26D005D522409711F800787B2140007399DED31023409E5614FE816F214084FC3E4E1A3723405B089C5618362140E02C57CC2E9923400A30EBB49A14214060B6FC3B75BF23403E13B1A0E0C02040E03FA2ABBBE52340BC890B319A9A2040FC214282660E2440F47F1CFC6C932040DC0DD18D3E3E2440DEB0C7044FB7204080BE32D139812440FFD783D803D42040C40CAB78A3BA2440CF268F0A3BCF20409CB31D8771F62440F04D4BDEEFEB2040CC6412553AFB2440BC6A85F2A93F21409CB31D8771F624405F1BE735A582214070157498353E254053A4F91A1EE7214010B38AFCA334254005DF93582D12224000295202904C25407F231DCB6944224068D0579B2B4A2540C1719572D37D224088E4C88F531A254095D3EB8397C522409029E58C5D0E25405698BEBBBAD822406C0229B9A8F12440BA0DF336D92E23401C2A78172BD024400BE6A3D856502340449650E8E9E02440CCAA76107A6323402482DFF3C1102540C878A5F2FCBB23409029E58C5D0E25402CEED96D1B122440EC8BCE28EF1725402F01254DA85E24406078F0BE940925407894B9F11B8C2440BCDAD95A261325404CF60F03E0D32440A0C66866FE422540E01C394CC72E254048BCE6A6037A2540E42F842B547B25401C0BF2D83A7525407F9BC97145CA254084B2F771D672254031D663AF54F52540381F63CD624525404AB80386FF1D264068D0579B2B4A25404ECB4E658C6A2640203DC3F6B71C2540D79910D2DC842640785A90953F322540E93694AB7DB9264084B2F771D67225402C850C53E7F226407C6DDB74CC7E25402F985732743F274058144E839ABA2540E1D2F16F836A2740109404BEB3D92540E4E53C4F10B727403C00DD8E72EA25400D521520CFC7274084937133E617264090DBBA8F15EE2740F892DEA8185626400103000000010000001C000000374CA1CE158B1C40883DD373E9951F408D32DAC993B91C40B076849EB9751F40FFCF6C871A011D409880569014401F40EAD93E7975CB1C40C07A336F48031F4067F9289FC3D91C4000F767B6438D1E40374CA1CE158B1C4068E14F8250491E40384CA1CE158B1C4048B61F1A6AC11D40BB2CB7A8C77C1C40B8ED5CF4FCF11C40571336527E5D1C40C85E6B7B89651C40C0EDE25C2B601C4030681DEBBACC1B407C4A2D7ED8DB1B4020331B91797A1B409A0F0803CB4C1B40A013316B2B6C1B40AD528B1FF6F61A40083DED82D4441B40B213B7D359DA1A40084B6E45BE9C1A4020FE9E9F66961A4058BDD09A5E5C1A40F61143831C2B1A40E05E122974311A400855C69F47D5194098ECAFD3D3711A404484A5D8BCEA194050EE232411211B40DB5AE9C013121A40E0033C5804651B40B321389643321A4020E6C582F3051C401A3D73EB02B31A40E069913BF87B1C406A6280321DFE1A40C06FB45CC4B81C40FC77986610421B409075D77D90F51C406D152B2497891B4010486C95588F1D409CC2B2F444D81B4020BC423B36FE1D40D2306679560A1C4010AEC1784CA61E40B1B8E002EA0D1C40C0B907BBE41F1F40374CA1CE158B1C40883DD373E9951F40 The westerlands is a region in the west of the continent of Westeros. Before the Targaryen conquest, it was known as the Kingdom of the Rock. People from the westerlands are known as westermen. The customary surname of bastards of noble origin born in the westerlands is Hill.\nThe westerlands is ruled from Casterly Rock by House Lannister. Notable bannermen have included Banefort, Brax, Broom, Clegane, Crakehall, Farman, Lefford, Lydden, Marbrand, Payne, Prester, Reyne, Serrett, Swyft, Tarbeck, and Westerling. https://awoiaf.westeros.org/index.php/Westerlands
1 Riverlands Tully 0106000020E610000001000000010300000001000000A30000000D923FB716763140507DC6FDD06D104038D5B654CA6A3140DA748804F28B1040C28A03585D073140C09066A6149511405E8E19676B9F3040E2F258C8B4101340C4A7D35208453040B61FB35C95DD1340EEE4768A912C2F4058C1F6CB3D77144049E77ABEDC122E4093070B4CBBE914405C5214C5024C2D40805AFC41072F154079649251E6822C40C833DC72BA5D1540DF7D4C3D83282C4001FEDAF953D31640528917D88E492B401CE744C43C9118409A7FC703EDB52A40E4218EA9AEE21940DEBA79D405E32940A85F64304D731A40BC9AFCB5F3E8284023651588FF151B407C99EADA30372840AD611FFB2BFB1D405DB8551E807F28407B15F137550A1F40D302091BEDE22840DAEF775FF73F204020F62BA51E102940DEECEABDCA0021401A7DA34D67522940828BA18B465B22401A7DA34D675229405C73F97A6C67234032E5AFB2604C29406DA4F28B3C2524402E2AB2571B0D29405A39598516EC2440AB4C33AA78ED284012A2EE57F13E25408E886EE87273284064F1C93E2FEC254090DBBA8F15EE2740F892DEA818562640B1027763CA0A284088B907F2FFB02640FA950B083E38284064607A00CEEC2640B315C242575728402C6A6935FBF32640ACD0A5454D632840D44C9C9673DE26407F32FC5611AB28403CF4A12F0FDC264038B2B2912ACA28404439BE2C19D026405AD96E65DFE6284004FE90643CE326405AD96E65DFE62840E8E91F701413274095E2CA0F3F2C294004CCBF46BF3B2740471D654D4E57294090DF9DB0194A274091B0F9F1C18429409824BAAD233E2740DB438E9635B22940602EA9E2504527405588170972E42940845565B605622740DE56D975C2FE2940E4B74E52976B27406E6AB7DF1C0D2A40BC5EC16065A7274020A5511D2C382A406C995B9E74D2274020A5511D2C382A40E8DDE410B104284009D6FC250E5C2A403CB695B22E262840CA9ACF5D316F2A40145D08C1FC61284009D6FC250E5C2A40F84897CCD4912840E16924554F4B2A40C8AAEDDD98D9284020A5511D2C382A40DC4771B7390E294020A5511D2C382A40C03300C3113E2940A973138A7C522A40D0D0839CB2722940D2DFEB5A3B632A40A432DAAD76BA29400391E02804682A40B8CF5D8717EF2940E16924554F4B2A40704F14C2300E2A40B8FD4B84903A2A400063F22B8B1C2A401C92063E9FEB2940C43A10433B7C2A400AF58264FEB629407CBAC67D549B2A401EB18C7C8F462940088988EAA4B52A40483CEB8B3EB22840088988EAA4B52A40F6633AEAC090284068EB718636BF2A403EE483AFA771284070308E8340B32A407C1FB177845E2840B8B0D74827942A402A4700D6063D284074625FA1BD5A2A40116560FF5B1428401C45920236452A400D521520CFC72740C427C563AE2F2A40D248B9756F8227405C80BFCA12322A4051BF1306295C2740C86CE160B8232A405804300333502740704F14C2300E2A405804300333502740C85996812BD729407E5DBDF4641427403446B817D1C82940F58EFB8714FA2640A432DAAD76BA294052DE994419B726400495C34908C4294068ADEE3B379326404C150D0FEFA42940D79910D2DC84264064E461060D812940F5AD81C60455264034336D38447C29405A423C80130626405C9F4509038D2940E742CF0AE1C7254024A9343E30942940A4F45663778E2540A0EDBDB06CC62940AC39736081822540E8805255E0F32940531CA6C1F96C254060C5DBC71C262A409257D389D6592540AC58706C90532A40236BB1F33068254098891B7572772A40FAFED82272572540E01CB019E6A42A405A61C2BE03612540F4B933F386D92A403C4D51CADB902540F4CC7ED213262B405E740D9E90AD2540F4CC7ED213262B407F9BC97145CA25402CC38F9DE61E2B4052FD1F83091226402CC38F9DE61E2B40AE2D38011E742640D073F1E0E1612B4012A36C7C3CCA2640DCCB58BD78A22B4055F1E423A603274034E9255C00B82B401AC9023B566327402CA4095FF6C32B40497AF7081F6827405410E22FB5D42B40B121FDA1BA65274038FC703B8D042C40ADEF2B843DBE27406CC0B0E8E2552C403E030AEE97CC2740E4043A5B1F882C400D521520CFC7274088B59B9E1ACB2C40EC2A594C1AAB27406CA12AAAF2FA2C40A397C4A7A67D27402C66FDE1150E2D40973F5DCB0F3D2740F46FEC1643152D407618A1F75A2027400C528CEDED3D2D407E5DBDF46414274020EF0FC78E722D408DE7F5EE78FC2640D029AA049E9D2D4062D28836613F27406565110681BD2D4090E41604E2B427405873005712422E4047EE66D8834828404B81EFA7A3C62E409323FF6543F72840612B71102B422F400E29B0BDF5992940FB11B7248E9C2F40D621849FD9692A40C5C81503E4EA2F406316B904CE482B400344596D8C0D3040AE2E8197E2B92C40E84EABDB53143040A0DD2AEA3A7F2D4070466DE27432304021FD1E9B6B202E40C6E074F2635D3040D60E2C7A4C9E2E400CCC333B268E304037711516DEA72E40229B8832446A304020A2C01EC0CB2E4054E5658FCB4230400AD36B27A2EF2E401E883D53B71D3040ECBEFA327A1F2F40A2AACB51BC1730403A65DAB67A992F40EED64885EE1830401B5169C252C92F404248E2B52A0E3040AC64472CADD72F4070F34092B4E72F404728EB9BC2033040C0B8A654A5BC2F407540F7DACC3430405811A1BB09BF2F40433DB37826263040111E0B2D7B162F40433DB378262630402489A433A14F2E401EA12061302F3040BA338F87CFA62C408E30D60258533040BCAFA480B3A32B401728980979713040E7824AECD2D62A40704F4146A79B304084E5A5F9192E2A40B10EDE1DDCCB304031378514A3C12940B6C9DB78210B314026C1895E18432940338D17CD452C31401C4B8EA88DC42840C8B85F8663473140E1047A2810522840A9D7CAC9B28F31405A89CD1AD33027408BF6350D02D8314015CDBDE4CA3F26403D4588865E2C324000E1C678B54225402A98797CAA713240FBE3531AE2812440AD16B32B14D23240AAB1482E4F122340EED54F0349023340EEECFAFE673F2240BE7F3189F93A3340D8305C96CDE52140CD096A830D23334058A7B62687BF2140179DFE2781503340A46C1CE977942140E55221CBF977334094CF980FD75F2140FE34C1A1A4A03340600B5962810E2140B06F5BDFB3CB3340CCF77AF8260021404E7489B463EE3340284719B52BBD2040897DE55EC333344094EE1E4EC7BA2040573308023C5B34407C0C7F771C92204018F8DA395F6E3440F03DBD0ACC772040F85CD7EC2E8334409ABD7CB4010F2040F5CF35C0EF8334405E4E9FD422511F40AEF6558F3C553440905858946BC01D40859FC51C011F344039ADC45021931C40687CBB5CC2E53340F4F0B41A19A21B402CD761DE0BB43340A1429435A2351B400380D16BD07D33404E9473502BC91A40DA2841F994473340C818C742EEA71940DA8786F7CD063340A03D4CC9966E1840762C5708A3DF3240FBE00AFFA89517400BB7E4BFF9B932406376DAE329381640D62BCE9AC186324018BD574F4E861440E2BE994BF7423240FED3ED8465C81240C59B8F8BB8093240420FA0557EF51140962ABCBFFED431406CE245C19D2811400D923FB716763140507DC6FDD06D1040 The riverlands is a central region of the Seven Kingdoms of Westeros, consisting of the rich, fertile, and populous areas around the three forks of the Trident and the northern Blackwater Rush. At the time of Aegons Conquest the riverlands and the Iron Islands were ruled by House Hoare, the Kings of the Isles and the Rivers, although native river kings ruled centuries earlier. Because of their central position in Westeros and lack of natural boundaries, the riverlands have been a frequent battleground. The people of the riverlands are known as "rivermen" or occasionally "riverlanders", and they are a mixture of hardy warriors, peaceful fisherfolk and devout smallfolk. Their lords have a reputation for being notoriously quarrelsome, and are refered to as "river lords". Noble bastards born in the riverlands are given the surname Rivers.\nThe riverlands are ruled from Riverrun by House Tully, the Lords Paramount of the Trident. Notable houses of the region have included Blackwood, Bracken, Darry, Frey, Lothston, Mallister, Mooton, Mudd, Piper, Ryger, Strong, Vance, and Whent. https://awoiaf.westeros.org/index.php/Riverlands
3 Gift Night's Watch 0106000020E6100000010000000103000000010000003C000000A1BC898CAC253540A0032C34DBEB40404506D45E663C35405B1CCBFDB2DE404061815CC4CF383540AE8D642EEFD340400E10C39393433540F8E3C7AAFBC440403FC1B7615C483540066E00A50FAD40407B63FC9A7A6135402A2EA507839D4040C04A5DD1A26E35400CDD02EBF3904040F7406E9C7567354040FDF9FEA0794040BE86949E45D234402330BFF7E4754040F91A62E9A00134409C4F2B08C7774040248FC25687753340DE843BF537874040B2EE8081044F324084E71EA3CD7D40406F01887BC9DE3140E82B207BF5844040734CB4A47A5C31406765CFE455854040CF4EB8D8C54230405B3149325988404089D1D6E14D052E4049E37F26DE8C4040A1D164D1A14D2C406024B6D255964040550CFF0EB1782C4062FACF897BA64040E41FDD780B872C40B0FC6674D3B740402EB3711D7FB42C4023BFA2C19EB94040C3D99A66660F2D4065D0E940A1B64040B34F626C52272D4018A46C0D6FB5404048768BB539822D40B0FC6674D3B7404031A736BE1BA62D4065D0E940A1B640405A130F8FDAB62D405E8BCD4397C24040C9FF302580A82D40EE9EABADF1D0404031A736BE1BA62D40A4484831E5DF4040C9FF302580A82D4005AB31CD76E94040ACEBBF3058D82D408188A3CE71EF4040FEC370D2D5F92D40129C8138CCFD40408792323F26142E40BE2AE80790084140D025C7E399412E401F8DD1A32112414021FE778517632E405959FC251A1B41405AF48850EA5B2E402263EB5A472241402CF7F41675632E406FD8B55865254140194AE60CC1A82E401B6C0A777C3A4140590983E4F5D82E40E3F40C27CC4841409AC81FBC2A092F40A7F06DAADC574140AAB7A3C96C452F405384C2C8F36C41408BD60E0DBC8D2F40561164F5326C414060C1F39D0ED92F4029CEEC577F774140F6B9D97F3A1B3040E4226955D28841404FE182BC68453040BA6C93E45D93414066EA492329803040BA6C93E45D93414035BBEB5AFDCC3040C086D63DDC91414058F83874BA043140E195C72893894140B639250A672D3140D8EEE2A2D58B4140032D4894985A3140A81ECAD8E29741400D0289485C9831409CEA4326E69A41400D4171AABDDA324014F3811FC57C4140D95388E51FA933403EA9579039724140C6A679DB6BEE334044503C16F76F4140F11AD8DD5BCE34402FBB5237DE6241408973D244C0D03440BA22FD32ED504140C169E30F93C9344057EAF9DF353741407C8282D96ABC34405414E02810274140458C710E98C334403D085A098B0E4140BA24C71289D53440F820F9D26201414003B85BB7FC023540D0B42002A4F04040A1BC898CAC253540A0032C34DBEB4040 This article is about the region. For the television episode, see "The Gift". The Gift, consisting of Brandons Gift and the New Gift, is the area in the north stretching fifty leagues south from the Wall, land given to the Nights Watch in perpetuity to support and aid the Watch. It is under the protection of both the Watch and Winterfell. The eastern lands of the Gift consist of large rolling plans that reach the Shivering Sea, while the western regions, which end at the Bay of Ice, are increasingly forested and mountainous. https://awoiaf.westeros.org/index.php/Gift
2 The Iron Islands Greyjoy 0106000020E6100000070000000103000000010000000E000000BB0E54C35A6320406CFEE68593C02A40B54D280FF77F2040943798B063A02A40B54D280FF77F204098F8C364C7832A40FCFE5EB0335C20400422807C705C2A400881B618FB222040C031758F97632A40E7151115ACDA1F403C515FB5E5712A40F397687D73A11F40249A05F3DC582A400A9C174E022F1F40249A05F3DC582A40E770E7E51BA71E40648A10E0B5512A402E221E8758831E4038903301828E2A40590E7AA3A2EE1E4050478DC38AA72A40C3EAE0ACC5521F402C0EDC98BAC72A402345F04D21F01F4030CF074D1EAB2A40BB0E54C35A6320406CFEE68593C02A400103000000010000001D000000C4275498C805224078DB14BFCA5329403B86120AB3302240881E98DBF5FD28400E8C352B7F6D224014C0D9690BD328400E8C352B7F6D2240204231D2D299284071F4C58EC462224094ED445243392840E8528400AF8D2240C0E7213177FC27405FB1427299B82240504A8F73F0B4274065726E26FD9B2240F863567872862740F3D4DB687654224004E6ADE0394D27408545CA6DD964214048D6B8CD124627400365B49327732140F0EF7FD294172740A7BD4FE445612140BC81CC4D83E52640714F9C5F342F2140F4B0AB86F8FA26401A696364B6002140D43826108CFE264083921F7C5FD92040F0EF7FD29417274083921F7C5FD92040608D12901B5F274068DBC5B956C020405CCCE6DBB77B27400573355611CB2040540BBB275498274083921F7C5FD92040E420D35B47DC2740A9CBD0A62FB920403C070C57C50A2840A30AA5F2CBD52040B465CAC8AF3528403BE1E8DA22FD20402CC4883A9A602840F32FB239E6202140A8E37260E86E2840E1EC2E1DBB762140084C03C42D642840119AB6ED68C52140D01C248BB84E2840EA6005C398E52140ECD37D4DC16728402690E4FB0DFB2140F80880A702BA284088F8745F53F02140446D613AB9212940C4275498C805224078DB14BFCA53294001030000000100000016000000ECD63CC90FBE1F40F834EAB787992940C690AB2B222A20407C9C40732E372940B44D280FF77F2040881E98DBF5FD284063A1DAE6E7882040247C1CA541D128409A96CE4CEE66204040BAB6483F962840536CD88CA6362040906604714E8D28406AE9467C4018204038F98A94DBB22840A4250628D3E11F4038F98A94DBB228402DC747B6E8B61F4074286ACD50C8284003DBEB999E4B1F405871100B48AF2840DFAFBB31B8C31E4014471A4B007F2840126BC4C44F6A1E4098273025B27028404526CD57E7101E40204231D2D299284010B819D3D5DE1D40A45C327FF3C228401579458739C21D4060ABFBDDB6E628402A6F7395DEF71D4058EACF2953032940126BC4C44F6A1E40786255A0BFFF284041184C95FDB81E40A4D5F19DFE162940EEE4BD8BF9151F40C88762E7D94A2940E92392D795321F40206E9BE257792940FE19C0E53A681F4008F12CF3BD972940ECD63CC90FBE1F40F834EAB7879929400103000000010000000D0000002A252037BE901B40A8961D5262FA2840E373E99581B41B4090DFC38F59E128406C152B2497891B405871100B48AF2840E373E99581B41B40F4CE94D493822840B3C661C5D3651B407C70D662A957284089DA05A989FA1A4098AE7006A71C28409B1D89C5B4A41A4058BE6519CE2328402A80F6072E5D1A40D8173B128B692840E98FEB1A55641A402CFE730D09982840D74C68FE29BA1A40A45C327FF3C228400039C41A74251B40C0138C41FCDB28405CE028CA55371B40EC86283F3BF328402A252037BE901B40A8961D5262FA28400103000000010000002F0000000D16F253ABB8194034EB09D2F15A2940F1B5EDC187BB1940082118A4CD27294055CFB4C125E41840CC819E2D0AF728403E1E50F5C8D31840BCD9A06E8DA42840D5F493DD1FFB1840483C0EB1065D2840A8FAB6FEEB37194018CE5A2CF52A2840BCF0E40C916D194004D82C1E50F52740CC25E766D2BF194078BD2B712FCC27404AF87B7E9A591A400C5A848617BC2740CACA109662F31A401C16C7C14DBA27407E58AE40C2331B40A430C86E6EE327406093D3BBCFC21B406040BD8195EA2740B6790CB74DF11B40440223DE97252840DF6568D3975C1C40B465CAC8AF35284065F9289FC3D91C40803102170D3B2840A12808D838EF1C4098AE7006A71C284024091EB2EAE01C4034CD208456D327404A42CFDCBAC01C40ECE1FE0FABBF274063467EAD494E1C4020D7F275B19D27403C0DCD82796E1C40DCACFCB5696D2740318B751AB2A71C40341A7692DC472740773CACBBEE831C401068054901142740897F2FD8192E1C4090481B23B30527404A9DA5AD2A8D1B40142931FD64F72640E0C03EA407291B40980947D716E92640CED891584C4B1A4064D57E2574EE26401B4BF4ADEC0A1A40046DEEC12EF926408935DC79F9C61940C83D0F89B9E32640ADBBE2B24F1B1940082E1A7692DC2640A4470C0D72AC184058193CEA3DF026403F2CD1B7B22B184058193CEA3DF02640BA9810EC86AE1740409CCDFAA30E2740330550205B311740740A817FB5402740BCA691AE70061740385461654B7F2740966DE083A02617401C16C7C14DBA27400DCC9EF58A51174040C8370B29EE27404EBCA9E2634A174008D343A5221028403F87A78822F81640B465CAC8AF35284067C058B3F2D71640D0560F5E27862840EC53197F1E55174084E4AC0887C62840A4A2E2DDE178174068A6126589012940BF593CA0EA91174098539A3537502940C30CE791641D1840B40AF4F73F692940BFFE65CF7AC51840641FD283945529400A634762312D1940FCBB2A997C4529403FD1FAE6425F194044A74C0D285929400D16F253ABB8194034EB09D2F15A29400103000000010000001A000000505BCFB128631E40449CCDFAA30E27402361F2D2F49F1E40D43826108CFE2640DCAFBB31B8C31E40C83D0F89B9E326405F90D10B6AB51E4048E43990FC9D26408C8AAEEA9D781E40D0857B1E12732640CD7AB9D776711E40407063EA1E2F2640DCAFBB31B8C31E40FC456D2AD7FE25402CD5C878D20E1F4094A3F1F322D22540FC2741A824C01E4024404A090BC22540561CFB658C461E4044F7A3CB13DB254073E1D5EA7EB71D40F04A56A304E425404AF579CE344C1D40742B6C7DB6D52540DF1813C511E81C401C45338238A72540D0E3106BD0951C40A45F342F59D02540448F24EB40351C40D8CDE7B36A022640039F19FE673C1C4084606ED7F72726400E2171662F031C40B8CE215C095A264024179F74D4381C403CE922092A832640733CACBBEE831C4090957031397A26400091983B7EE41C406061A87F967F2640D396BB5C4A211D401476860BEB6B2640FC821779948C1D40546691F8C3642640A94F896F90E91D4050A5654460812640E47E68A805FF1D40D8BF66F180AA26408316D844C0091E40C83D0F89B9E32640505BCFB128631E40449CCDFAA30E27400103000000010000000E000000AE13B7D359DA1A4098DDDCC691092640E3816A586B0C1B407C26830489F02540C8CA109662F31A4090A3F1F322D2254036B5F8616FAF1A40B8DCA21EF3B1254075F2585DCE1C1A40FCCCAD0BCCAA254092B733E2C08D1940A82060E3BCB32540723FAE6B5491194090A3F1F322D225409F398B4A88541940AC5A4BB62BEB2540A4FAB6FEEB371940A4991F02C8072640169849BC727F1940B09436899A222640A8AD61F065C31940901CB1122E262640FE939AEBE3F1194084219A8B5B0B26400DC99C4525441A4044318F9E82122640AE13B7D359DA1A4098DDDCC691092640 The Iron Islands is one of the constituent regions of the Seven Kingdoms. Until Aegons Conquest it was ruled by the Kings of the Iron Islands and then briefly the Kings of the Isles and the Rivers.\nThe Iron Islands are home to a fierce seafaring people who call themselves the ironborn. While some say the archipelago is named after the abundant iron ore on the islands, the ironmen claim it is instead named after their own unyielding nature. It is often said that every captain is a king aboard his own ship, so the islands are also called "the land of ten thousand kings". The isles are ruled by House Greyjoy from their castle of Pyke. Notable houses have included Blacktyde, Botley, Drumm, Goodbrother, Greyiron, Harlaw, Hoare, Merlyn, Stonehouse, Sunderly, Tawney, and Wynch. Bastards of noble origin from the Iron Islands receive the surname Pyke. https://awoiaf.westeros.org/index.php/Iron%20Islands
6 Dorne Martell 0106000020E61000000200000001030000000100000094010000820BA70CA3272440CCAFC32AFDC022C06FDFBE5639AF23408BE36222540022C028652424BF3F23405D8F5F51450921C024AA26C9790023406C3FFBFC250320C0D03D7BE79015234018394B65756F1DC052BCB496FA752340BD9044C357811BC0A56AD57B71E2234077D4348D4F901AC0E6297253A61224402029A149056319C0C1CF543F3E9D244019ABD08542DE16C0444E8EEEA7FD244022A06ED6DD9815C02A6A6C90CA0626403D00A62D9F8C13C092A53EE31DB127403B2003CA760912C0BDCBE58526682840F4A56897FC9911C09B9F24A0C43229403623906BA34811C0AFEA600A13EF29403682D569DC0711C09BC13C077B372B408FA97EA60A3211C0401E7ED168102C4006B2BC9FE91311C01A06D6C08E1C2D401A1D56A60F4D10C012CFC26C65E02D400862BE74F49F0EC02F344230329B2E4070F78D5975420DC05D88450141922F40372D8FD2DBCC0BC0169E0B1FB5503040A3BFD11530300BC05DB96053F6003140144F87B757540BC0B681C491EB6B3140A8BC447403F10BC026B23435DAD031407CE99E08E4BD0CC0CC2B46FA72E7314063057DAA06C70DC0D85FCCAC6FE43140CC9F94FB92300FC0C8C300961CFD3140E000169E105410C077EB4FF49EDB3140E013617D9DA010C0FB0DDEF2A3D5314048CEB1F5C5EA10C0B9FC9673A1D8314018EBEB09803E11C0BFA8CAE1ECF8314088A53C82A88811C07D978362EAFB3140A8AD72176D4A12C0AA725E798DF0314070DDF70AB4EA12C0D0081D9326F1314080038EC9CD8313C0F3C8C1F599E1314088A011A36EB813C09EFB60931EC83140C0338464F1C713C013C8BFC5D4B9314060697F25742C14C0D8FB9443DCB03140D8AD0898B05E14C0B08FBC721DA03140D023D09D9C7614C0C1EF0E2457983140E0C053773DAB14C01DA6C4519D813140D87B377A33B714C0A80D6F4DAC6F3140F8A2F34DE8D314C0CEA32D6745703140685D44C6101E15C0B5FEBEB801843140F03E5112EE8415C0F70F063804813140F00C80F470DD15C0FE5422350E753140600CED69A31B16C0590BD862545E31408033A93D583816C05E7ADAA8384231405082B46F8F3316C08C55B5BFDB363140D0C63DE2CB6516C0CD66FC3EDE3331403894D93981FC16C0F3FCBA587734314060CEE0ECC26517C09570EB730B3B31409092209A18B717C0C8BAC8D09213314020742DE6F51D18C0A6930CFDDDF63040A8CB0138BF9C18C07E27342C1FE6304068A31F4F6FFC18C0D198CD5C5BDB3040D05D70C7974619C0671BAE0C9ACD3040B004E3D5658219C06445945574BD3040087A175184D819C0F2825808A9BB304040F93A01D0351AC0BD6261F4FBD2304020E5C90CA8651AC00F3B129679F4304050DBDAD77A5E1AC083D3679A6A06314000032A36FD3C1AC0B93090D67E2B3140D03EEA88A7EB19C06895105D6846314050B5441961C519C09B1C1FE2565B314070DC00ED15E219C063260E1784623140403E57FED9291AC097AD1C9C7277314068AA2FCF983A1AC073ED7739FF863140700297AB2F7B1AC0F0071B6361C9314000D1581880951AC01405F1ED3BF631408047B3A8396F1AC0D79FDDDC841932405096BEDA706A1AC0A5550080FD40324038824DE6489A1AC0D8DC0E05EC55324020B3F8EE2ABE1AC0B8F283599E753240283D31E93EA61AC02F61F314B597324060EE25B707AB1AC03F285D3730BC324028507CC8CBF21AC02583EE88ECCF3240C0A8762F30F51AC03F658E5F97F8324000D1581880951AC0913D3F01151A3340F033D53EDF601AC051021239382D334060DBDAD77A5E1AC0E215F0A2923B334000D1581880951AC008ACAEBC2B3C334038824DE6489A1AC0E5EB095AB84B334050BC54998A031BC09E6BC094D16A334000B2D2D98F3A1BC0B57746B456833340008001BC12931BC0FB9BD812E6CC3340B844D4F335A61BC0BF36C5012FF03340983063FF0DD61BC02C8AFE08160E3440683A52343BDD1BC0692C434234273440D82674CAE0CE1BC0D3A96292F5343440509DCE5A9AA81BC0BA04F4E3B1483440509DCE5A9AA81BC04B18D24D0C573440B0BA9BF921BE1BC0DC2BB0B76665344020ECD98CD1A31BC0AE50D5A0C370344040CE79637CCC1BC07E9FE0D2FA6B3440D0F4A2AC63271CC0E81C0023BC793440D84C0A89FA671CC0DF01CA6E8C75344020AECD0FF1ED1CC0ECF219DAE1893440C05E2F53EC301DC0BC7E563480C13440A84ABE5EC4601DC078D42626BFF03440502DF1BF3C4B1DC0F85DCC9505173540385E9CC81E6F1DC09662FA6AB53935400055401EBF291DC091F3F724D155354048D589E3A50A1DC0E3CBA8C64E77354048F40F2296651CC0A4907BFE718A354020CD534EE1481CC0B181CB69C79E3540507E481CAA4D1CC0857C0A0A4ABA35407060E8F254761CC06DD79B5B06CE354048392C1FA0591CC07AC8EBC65BE23540D0C2D18EE67F1CC02F72884A4FF1354008CC2D3946C51CC058DE601B0E023640481AA6E0AFFE1CC04039F26CCA153640384B51E991221DC09856BF0B522B364008F2C3F75F5E1DC005AAF81239493640F09836062E9A1DC069E2FB65F0623640007BD6DCD8C21DC03EDD3A06737E36406098A37B60D81DC0733A634287A3364028E7AEAD97D31DC065B02A4873BB3640B02B3820D4051EC0BECDF7E6FAD03640B02B3820D4051EC04972D30A71FB364038D463CE0A871DC0C1E042C6871D37408054AD93F1671DC0F567514B7632374018ADA7FA556A1DC0310A9684944B374070FC45B75A271DC07282F474D8743740B037737F37141DC017CC3E47928B3740F8FCD84128E91CC068A4EFE80FAD37409887A4C609931CC04FFF803ACCC03740D0AF86AF59331CC0FE6301C1B5DB3740A83063FF0DD61BC0D35E406138F73740B8BA9BF921BE1BC0E325AA83B31B38405045677E03681BC0802AD858633E384038507CC8CBF21AC09F7B7A75F24A3840C0C7FC6D20501AC0C0A23649A767384040F93A01D0351AC04971F8B5F7813840A8A0409A6B331AC0583862D872A63840F0525B7DCFBB19C0089DE25E5CC1384050A2F939D47819C00A73FC1582D13840987AAADB519A19C03B24F1E34AD6384040E6EF2143E919C0A3CBF67CE6D33840981608A0574B1AC0E1062445C3C0384070BD7AAE25871AC0583862D872A6384070D0C58DB2D31AC0F8D5783CE19C384048321C9F761B1BC0F8D5783CE19C3840C089F0F03F9A1BC029876D0AAAA13840D82674CAE0CE1BC081A43AA931B73840080A3AB6267B1BC00058C66152CD384070B13F4FC2781BC00D4916CDA7E13840D000DE0BC7351BC0A5A110340CE43840683342B4119F1AC01A3A6638FDF53840F0EEB841D56C1AC009DA1387C3FD384008032A36FD3C1AC0D3B91C7316153940B0D211B8E8DA19C05AB2C428411F3940F03F109E426F19C0FFFB0EFBFA353940085481926A3F19C00CED5E66504A39406019E7545B1419C0B87BC53514553940F05E96DC32CA18C09FD65687D0683940B8ADA10E6AC518C0077E5C206C66394088980A05A77119C0FE62266C3C623940B0D211B8E8DA19C05BEFF550A85B39406020F7D484521AC051D4BF9C785739408015E28ABCC71AC07BD980FCF53B394000B2D2D98F3A1BC0A16F3F168F3C3940F0F5C8C1FEAA1BC0975409625F383940A843AEDE9A221CC0CE4A1A2D32313940F82EAA5FA5901CC04A288C2E2D37394040C23E0419BE1CC085F4B6B02540394048075B0123B21CC0E756A04CB749394050392C1FA0591CC053AAD9539E673940506BFD3C1D011CC0BE27F9A35F753940D0CE0CEE498E1BC07FECCBDB8288394040A8E3A462331BC0FE9F5794A39E394048321C9F761B1BC0D0C47C7D00AA3940F0CF3203E5111BC0681D77E464AC3940281EABAA4E4B1BC053E70A7C05A4394060E2EA57A49C1BC0A858A4AC4199394080C48A2E4FC51BC0B8B8F65D7B9139402075EC714A081CC07FECCBDB82883940882F3DEA72521CC0ACC7A6F2257D3940C0389994D2971CC09B675441EC843940E05F556887B41CC0E969EB2B44963940C0389994D2971CC08EB335FEFDAC394098CCC0C313871CC07F29FD03EAC43940882F3DEA72521CC0D570B0EB4BCA394038578C48F5301CC0D746CAA271DA3940704D9D13C8291CC0F6976CBF00E7394060B0193A27F51BC06A30C2C3F1F8394000934C9B9FDF1BC0333AB1F81E003A40D09C3BD0CCE61BC00DA4F2DE85FF394018114A3650B91CC0459A03AA58F83940D8E8674D00191DC0B5862540FEE93940405E9CC81E6F1DC081FF16BB0FD53940E0531A0924A61DC03C18B684E7C73940C0FA8C17F2E11DC0D29A963426BA394048977D66C5541EC0AC04D81A8DB9394060474C1FF3D51EC0EE151F9A8FB639400895313C8F4D1FC07C53E34CC4B439400863601E12A61FC0181BE0F90C9B3940A8CEA56403F51FC004E57391AD923940106709ED9A1920C0C0FD125B858539406C300AFA6D4F20C0404A87A2646F39405861B502507320C0D3F64D9B7D513940D8EA5A72969920C0E0AA6CDE6B293940300828111EAF20C04DC174BDEB0A394078EF884746BC20C0217F823507EA384038608FEDB4EF20C087506E177DD7384038C7A65EF61B21C0837A546057C738408C9F5700743D21C053C95F928EC2384080C15274AB7521C041690DE154CA38404832591A1AA921C0F53C90AD22C93840045E43C37EE821C0B0552F77FABB38400C0A7731CA0822C0BFDF67710EA4384024EC1608753122C0E39F0CD481943840B8FFF471CF3F22C0038A977FCF743840C044116FD93322C08EF1417BDE6238407C5DB038B12622C0A796B029224F384044679F6DDE2D22C07F2AD858633E3840C0AB28E01A6022C03028416E0B2D3840043FBD848E8D22C0376D5D6B1521384060F572B2D47622C0DE4F90CC8D0B38408C614B83938722C08808DDE42B06384014300DF0E3A122C01BF2D405AC243840C816DB9B3EED22C0681E5239DE2538401C56A3AEFD3A23C02337F102B6183840348C0F175D4323C01646A197600438408464C0B8DA6423C0979215DF3FEE3740CCF7545D4E9223C0335A128C88D43740DCE8A4C8A3A623C0697A09A035BD3740C06D1C633AAA23C07804429A49A5374010DFB593769F23C06A13F22EF4903740A4F293FDD0AD23C0BCAE71A80A763740F01E113103AF23C0E9894CBFAD6A374044A3F540CCF023C0C3F38DA5146A374004CFDFE9303024C032E0AF3BBA5B374024F69BBDE54C24C0BE475A37C9493740B0C45D2A366724C02F0A9684944B3740D8974D6C36A424C049AF0433D8373740B4D7A809C3B324C08F2F4EF8BE1837400449423AFFA824C03AE89A105D1337409CF50833188B24C02A2131EEE1EE36409CF50833188B24C09BA63B1346B43640FCF0DA5D686824C08770CFAAE6AB364060FFF767459224C07A7F7F3F91973640CC52316F2CB024C00D2C4638AA793640CC52316F2CB024C0003BF6CC546536405475BF6D31AA24C0499159496156364060FFF767459224C088CC86113E43364090B0EC350E9724C05645788C4F2E3640B81CC506CDA724C0F2CF431131D835405475BF6D31AA24C01AFFEAB988AC354024C4CA9F68A524C038135CAEB07C354020C4CA9F68A524C05AFDE659FE5C354010D37A34139124C0082536B8803B3540D43036FBF47724C00379024A351B35409049D5C4CC6A24C0CFF1F3C44606354054A7908BAE5124C0208D733E5DEB3440407124234F4924C0ACF41D3A6CD93440A0D30DBFE05224C08DA37B1DDDCC3440205DB32E277924C095E8971AE7C034405CFFF767459224C07EDC11FB61A8344048C98BFFE58924C0076EA23F4B8634400C2747C6C77024C0BFB02752FD683440E0BA6EF5086024C0BCDA0D9BD7583440441D58919A6924C005317117E4493440F857F2CEA99424C07C62AFAA932F3440DCDC6969409824C0F293ED3D43153440403F5305D2A124C0BF0CDFB8540034408026B43BFAAE24C0EA11A018D2E433405821F3DB7CCA24C0B5B477DCBDBF3340D4FE64DD77D024C0CB83CCD3DB9B3340A44D700FAFCB24C0684BC98024823340C0C8F87418C824C05B5A7915CF6D3340B81CC506CDA724C028D36A90E0583340783564D0A49A24C0444EF3F54955334020B17FC0DB5824C05DF361A48D413340702219F1174E24C0E584F2E8761F3340F844A7EF1C4824C0B76CE6A96CEE3240DC620719721F24C05434E356B5D43240484F29AF171124C021ADD4D1C6BF3240549445AC210524C09BB42C1C9CB53240549445AC210524C060E8019AA3AC324084F16DE8352A24C030370DCCDAA7324084588559775624C0BF74D17E0FA6324000B059AB40D524C084A8A6FC169D32407C8DCBAC3BDB24C02B8BD95D8F873240340D82E754FA24C0147F533E0A6F32406C6AAA23691F25C08E86AB88DF6432404065E9C3EB3A25C005B8E91B8F4A3240A0C7D25F7D4425C04B3833E1752B3240D478C72D464925C00E96EEA757123240608CA597A05725C04AFB01B90EEF31403042C83A197F25C0D662ACB41DDD3140801A79DC96A025C0D38C92FDF7CC31408081904DD8CC25C02E43482B3EB63140A88651AD55B125C09314340DB4A331405469840ECE9B25C0DF40B140E6A431407C072EFD095425C075C391F0249731408C9166F71D3C25C038214DB7067E314030C865EA4A0625C0D11230AD29543140F02521B12CED24C07E64655486223140B82F10E659F424C07C27342C1FE6304044529EE45EEE24C0A556DBD476BA3040FC6A3DAE36E124C0FF0C9102BDA330407848AFAF31E724C0A9C5DD1A5B9E30405C343EBB091725C0958F71B2FB953040688CA597A05725C03C72A413748030404CBD50A0827B25C0AC5EC6A919723040E8154B07E77D25C0A888ACF2F36130403887E437237325C0E8C3D9BAD04E304094A4B1D6AA8825C013C99A1A4E33304038EEFBA8649F25C0394E3F4D2DF62F40F8069B723C9225C0EEBAAAA8B9C82F409CE9CDD3B47C25C0A7C0FE92046F2F409CE9CDD3B47C25C003109D4F092C2F40487834A3788725C0C1C124A89FF22E4058AEA00BD88F25C085B8C8FD3FAD2E4020B88F40059725C0AC1156EF71712E40DC37467B1EB625C0617EC14AFE432E40E82896E673CA25C06A5CC6D6C60B2E406C4B24E578C425C058BF42FD25D72D405C5AD47923B025C09F3F8CC20CB82D4034EEFBA8649F25C08A09205AADAF2D400091D36C507A25C06C7B4C15B7662D4048111D32375B25C0898FBD09DF362D40A0C7D25F7D4425C02481A0FF010D2D40E00200285A3125C02D5FA58BCAD42C40DC56CCB90E1125C06E33BBE265952C40A80CEF5C873825C043B497321A382C40EC5A6704F17125C09179FDF40A0D2C4078292971418C25C0D24D134CA6CD2B4004A41E4CDDC625C02758950BA1962B40ECD4C954BFEA25C0EC4E396141512B40B0999C8CE2FD25C0CDC0651C4B082B40C08AECF7371226C037015444A5D92A404459AE64882C26C0BCBCCAD168A72A40C4362066833226C02996A188814C2A40C4362066833226C0114DEA4095F72940C4362066833226C08A17116303B12940F82C3131562B26C0A82B82572B81294004B7692B6A1326C0AAC46AE6E954294054E3E65E9C1426C0C093BFDD07312940C0362066833226C0CA71C469D0F828407CB6D6A09C5126C02D6D969420D628404805E2D2D34C26C0AAE3F024DAAF284028DE25FF1E3026C0ECB7067C7570284004B7692B6A1326C0E70BD30D2A5028402432F290D30F26C0C038E3CB29132840CCC05860971A26C008521520CFC72740100FD107015426C087C86FB088A1274080620A0FE87126C065A1B3DCD3842740A422AF715B6226C007D8B2CF004F2740E8A2F836424326C0D27A8A93EC29274060D436CAF12826C09EB64AE696D82640A00F6492CE1526C07C8F8E12E2BB26406CB23B56BAF025C01FC68D050F862640680608E86ED025C088067C2D695726402864C3AE50B725C09790B4277D3F26405CAEA00BD88F25C0DE10FEEC632026400CD6EF695A6E25C085F3304EDC0A2640042ABCFB0E4E25C045B80386FF1D26400017711C820125C05C87587D1DFA254000B059AB40D524C00816BF4CE10426402409E79C729924C0F3DF52E481FC2540B4097A27405B24C0B5A4251CA50F2640EC987381D12724C0ED9A36E777082640E0400CA53AE723C001D1A24FD710264054C616CA9EAC23C0F2466A55C328264070DA87BEC67C23C0136E26297845264044C27B7FBC4B23C067DFBF59B43A26401CEF8B3DBC0E23C0D11FAE810E0C264070F90DFDB6D722C0AA4CBE3F0ECF2540409CE5C0A2B222C0512FF1A086B9254030AB95554D9E22C035B4683B1DBD2540C89C784B707422C04E960812C8E52540EC5C1DAEE36422C0DFA9E67B22F425401C62DE0D614922C0FB246FE18BF025401CFBC69C1F1D22C0FA8B8652CD1C2640DC588263010422C09C3CE895C85F26409C71212DD9F621C0F559B53450752640281EE825F2D821C0E12349CCF06C264054777517249D21C0AED96B6F69942640A03CDBD9147221C0DF8A603D329926409038408F321121C0E43694AB7DB92640D8B8895419F220C0DEF177AE73C5264040F9777C73C320C0D6AC5BB169D126405C0DE9709B9320C0764A7215D8C72640CCF90A07418520C03B200FD5A4BB2640CCF90A07418520C0729E3EA78CA72640049C4F405F9E20C0E9CF7C3A3C8D2640EC87DE4B37CE20C0EA6865C9FA602640E8EEF5BC78FA20C05CEE6FEE5E26264048B8F6C94B3021C00F48906A5EAC2540EC68580D477321C0168DAC6768A02540C06397ADC98E21C0926A1E6963A62540B485922101C721C06AFE4598A4952540C82216FBA1FB21C06452122A597525402040E399291122C015134A179A272540D4136666F70F22C04EA243712BF42440B053C103841F22C0E99326674ECA2440608E5B41934A22C0B336FE2A3AA52440EC5C1DAEE36422C05A19318CB28F24406CE6C21D2A8B22C08D630EE9396824407092F68B75AB22C003954C7CE94D2440CCAFC32AFDC022C0820BA70CA3272440CCAFC32AFDC022C00103000000010000001A000000619CE59C5DC7394028CA68274FE614C0D65D2EA590D63940288B94DBB2C914C0092F6CC0EAEC3940D896DA1D4B4315C0CADBD63CC90F3A40383E3FCD2C5515C0050BB6753E253A40183A90FC9DC715C00E69579359243A408816F705C12B16C03F9D1F45FC1E3A40F0F25D0FE48F16C03F9D1F45FC1E3A40B837557C4CE916C0DB971978FF0D3A40089C360F035117C0E058452C63F1394060826F0A817F17C064395B0615E339403849BEDFB09F17C0D65D2EA590D63940A82525E9D30318C0F7D5B31BFDD2394048316B2B6C7D18C0E47CFB760FB939400080348A2FA118C0F29BC8488E9B394040703F77089A18C0FBF96966A99A3940B8DC7EABDC1C18C08E96C27B918A3940500018A2B9B817C0B76CE90F19863940887C4CE9B44217C08E96C27B918A3940E07006A71CC916C057A1CE158BAC3940D83B044DDB7616C07AB6C9F5AEC4394020AE66A27B3616C0A38CF08936C039407020C9F71BF615C081146B13CAC33940A8DBD18AB39C15C0725828D893C5394090A6CF30724A15C092D0AD4E00C239404081C2E957FF14C0619CE59C5DC7394028CA68274FE614C0 Dorne is the large peninsula which makes up the southernmost part of Westeros, and is one of the constituent regions of the Seven Kingdoms. The lords of the ruling House Nymeros Martell style themselves "Prince" and "Princess" in the Rhoynish fashion. The Martells rule from their capital, Sunspear, outside of which sprawls the shadow city. Notable houses include Allyrion, Blackmont, Dayne, Fowler, Jordayne, Qorgyle, Santagar, Toland, Uller, Vaith, Wyl, and Yronwood. https://awoiaf.westeros.org/index.php/Dorne
7 Stormlands Baratheon 0106000020E61000000800000001030000000100000022010000C8C300961CFD3140E000169E105410C0D85FCCAC6FE43140CC9F94FB92300FC0CC2B46FA72E7314063057DAA06C70DC026B23435DAD031407CE99E08E4BD0CC0B681C491EB6B3140A8BC447403F10BC05DB96053F6003140144F87B757540BC0169E0B1FB5503040A3BFD11530300BC05D88450141922F40372D8FD2DBCC0BC02F344230329B2E4070F78D5975420DC012CFC26C65E02D400862BE74F49F0EC01A06D6C08E1C2D401A1D56A60F4D10C0401E7ED168102C4006B2BC9FE91311C09BC13C077B372B408FA97EA60A3211C0AFEA600A13EF29403682D569DC0711C068B23BDB26012A4078F173161CC40EC079A1BFE8683D2A4066FDA79CCEC00BC02BF01162C5912A40B8A680153A6609C06BF1233D88432B403523FFF9C43E06C058868A36620A2C40FC5800732BC904C0801F90AC2BC22C40E66C090716CC03C0EE74A558FD6A2E40DD72234A6F4A02C0C9AAE89483233040D4783D8DC8C800C00AACFA6F46D53040BED8291A9BC7FFBF03D42C1A56583140D2BFD819A5FDFDBFA3D4B58737B13140A6E7EA417A03FCBF9741EAD601F53140F493505C12E8F8BFB464F496402E3240DEA21184F123F5BFB405AF98076F3240FAF09F2EEA5BEFBFFBDE8EC9BA9D3240EEE299C015BEE2BF603ABEB8E5C43240A83E74DFCCC6CDBF009A8C2400DD324028C14DCDC568D93FB347249C95F03240602C83DBD5E2E93F9BDF17379CF63240BA1BFED3BEA0F33F95C5D4DD1DF83240469EAD18E610FB3F24D7D93DBD1433409960C77879340140607C33BC7346334032D03F0004590540A43EE5D523553340B2D263B689BC064062C1BD017DA63340A5E052071B410740D3F12DA56B0B3440C3C1E7C3CBF806408B5AC377465E3440EF948D2FEB2B0640190D83D9ACBB344097E9F9EBA0FE044024837E8F373A3540265A444A79DA04409A6EEC8D6BDE3540265A444A79DA04402E7D644CDEBB36406819E121AE0A05408645C88AD3263740F6892B8086E60440F37E4D6EC260374020C592A30981044069837B43728337408011E535D83605409AE876C24C8B374080502AC8636F0540CCF1AED9A9953740E0D807D5CE420640ADB3579CA7D53740B03A5EE6928A0640D34916B640D6374020C8082078FD04408AC9CCF059F53740F0DD32B4081304405FC40B91DC10384040B6E35586340440DF4DB10023373840802AF2BB090705409F128438464A384020C8082078FD0440DBB4C8716463384020A272615E64044092347FAC7D823840D0C9C1BFE04204403FC3E57B418D3840602DD1700DD00340D8F1F999CB9F3840C019F306B3C10340BF4C8BEB87B33840607E28CD7AD20240241E77CDFDA0384050CE59144D5102406D9EC092E4813840201D6546844C0240DC8AE2288A73384090F63BFD9CF101404AA1EA070A553840F0BBA1BF8DC601409F128438464A3840400B407C9283014012ABD93C375C3840305B71C364020140ADD9ED5AC16E384000A82FFCA8C6FF3FF8056B8EF36F3840007074739D64FE3F38419856D05C3840C0E81A2E8D45FD3FD7089503194338404039DFFF2C86FC3FC4D2289BB93A3840C07658F23F7AFB3F71618F6A7D453840C03D77549994FA3F034B878BFD633840C005BCCB8D32F93FCA5476C02A6B3840E0192DC0B502F93FFA056B8EF36F384040F6E22BD270F73F58923A735F693840803236094AE1F63F6AF28C249961384080E6098C16AFF53FB548F0A0A5523840408546052029F53FBAB7F2E6893638400049F327A8B8F53F471F9DE298243840C0213754F39BF53F6ADF41450C153840A0C073CDFC15F53FE4E6998FE10A38408073213B2E60F43FE4E6998FE10A38408027F5BDFA2DF33F11EC5AEF5EEF374060B53282AD62F13F87477FCBE8C43740608E76AEF845F13F12AF29C7F7B23740C004D13EB21FF13F2FBA16A013A937400090ADD2F5FBF03FD1A7DC22A2A737408087F4E4BEF6F03F788015A96DA0374020546FFBB6DCF03F9894869D95703740C004D13EB21FF13F49BCD5FB174F3740800285147C18F23F5770F43E06273740C03C8CC7BD81F23F25E9E5B917123740800285147C18F23FB326AA6C4C10374000194233DAEFF03F0D1A91C2F93537400002D371E616ED3F8CA33632405C3740005E1317957BE73F129CDEE76A66374000FF9BBAD4FCE53F129CDEE76A663740C03E61D71DF8E33FE1EAE919A2613740C01A17433A66E23F37329D0104673740C082BE48D301E03F7B19FE372C743740805F710C1F61DB3F28A86407F07E3740808E37741117D83F9A6AA054BB80374000968BB391F0CD3F119CDEE76A663740004874A982ABC43FD6F999AE4C4D37400038CB8566CFB33FAF63DB94B34C374000A0DE9EF2D3953F9E0389E37954374000127F3DD301C1BF212617E27E4E374000B040EADE2CD1BFB8A8F791BD40374080C27656478CD9BF2050FD2A593E374080DB44171CFADFBF03FF5A0ECA313740C03EDCA31B47E3BF00294157A4213740C024AD45ECE4E5BFD8BC6886E5103740C094235703A9E8BFB15090B526003740C006E6925074EABF68BDFB10B3D23640407D40230A4EEABF3636ED8BC4BD3640001C7D9C13C8E9BF202A676C3FA53640805B42B95CC3E7BFF8BD8E9B8094364040E5E728A3E9E7BF7CE01C9A858E3640407D40230A4EEABF7B0A03E35F7E3640C03FC730F759EBBF606391B56A6A3640C0C4EB022A27EBBFC9F240B52D38364000A164A2525CECBF6DFF595F80123640C05438251F2AEBBF0AC7560CC9F83540C0190B5D423DEBBFCD2412D3AADF3540803D55F125CFECBFC033C26755CB354080E88A4B9092F0BFACFD55FFF5C2354040BF824DA56EF1BFC033C26755CB354000967A4FBA4AF2BFEC75B4EF39EC3540A046DC92B58DF2BFE706B2A955083640C0DF5AA2B775F4BF600E0AF42AFE354080C99D83599EF5BFC5DFF5D5A0EB3540802815E0191DF7BF472C6A1D80D53540A0756772E8D2F7BFC033C26755CB3540608666273F18F9BFB6188CB325C7354060D292A4724AFABF0E365952ADDC354060E4B76E6413FBBF91BFFEC1F302364020A98AA68726FBBFECB2E517A1283640C033562B69D0FABFDE28AD1D8D40364080BF47C5E5FDF9BFFF4F69F1415D36400037C86A3A5BF9BFD34AA891C4783640C0E729AE359EF9BFE03BF8FC198D3640005C3814B970FABFA4D6E4EB62B03640C00DC06C4F37FABFE9BD45228BBD3640C033562B69D0FABF9F67E2A57ECC3640C06B11B47432FCBF602CB5DDA1DF3640A090815DF347FDBFF13F9347FCED3640003E71611D00FFBF3351DAC6FEEA36403076433DF11D00C0A5131614CAEC364050D6E0AE4C2001C00F9135648BFA36407086AF677AA101C012674F1BB10A3740C0FBE3E298F701C01AE99C40223B3740C071ABE8840F02C0C7770310E645374050FC766D66B901C097C60E421D41374090245956B65901C080BA882298283740E03A1675143100C0769F526E682437400052E25545D0FEBFAF6B7DF0602D3740202D72ACC6BAFDBFC7770310E6453740E0DF1F1AF804FDBF2AB006639D5F374040F6DC3856DCFBBFDA1487E9867A3740C05A12FF1DEDFABF58C812A2A7903740E048ED342C24FABF65B9620DFDA43740C02131617707FABF6FD498C12CA9374040F6DC3856DCFBBFCD6068A698A237400007DCEDAC21FDBFC51B4CA98EAE3740002D72ACC6BAFDBF89B63898D7D13740608F5B4858C4FDBFBF1361D4EBF6374040C6F0BBC8A2FFBF409D0644321D384070613FBEFB8B00C0A4D50997E9363840404CA8B4383801C02DA4CB033A513840A037A43543A601C090DCCE56F16A384040E805793EE901C070F243ABA38A3840F00F55D7C0C701C0153C8E7D5DA138408087D57C152501C00DF7718053AD3840E03A1675143100C0212DDEE8B2B53840C03B2537E7F8FFBF65143F1FDBC23840C08921A74B2C00C03839640838CE3840B0257F6B51DD00C05045EA27BDE6384080613FBEFB8B00C02C8545C549F63840A06265D3960F00C04391CBE4CE0E3940A0B5F106725DFEBF64B887B8832B3940001901B89EEAFDBF257D5AF0A63E394020F4900E20D5FCBF131D083F6D46394000E01F1AF804FDBF5BDA822CBB63394020799E29FAECFEBFD51E0C9FF7953940E03C4B4C827CFFBF81AD726EBBA0394000C54E6F281900C072233A74A7B83940E0135AA15F1400C08759A6DC06C1394000D8994EB56500C0D385231039C23940D0C20245F21101C0DACA3F0D43B63940D0E898030CAB01C07A685671B1AC3940D00E2FC2254402C055D2975718AC3940E0217AA1B29002C0B6CD698268893940806F5FBE4E0803C0BB3C6CC84C6D394030330CE1D69703C0D035A7084539394080302D2CD3CE04C0C51A715415353940F02F9AA1050D05C0B82921E9BF203940602F0717384B05C0AA38D17D6A0C39400006FF184D2706C0970265150B043940F01724E33EF006C05C363A9312FB38403002FA4EAEDA07C01579BFA5C4DD3840E04FDF6B4A5208C010CD8B3779BD3840D0D8F150C3B608C02972FAE5BCA9384030C4EDD1CD2409C06301F43F4E76384040D85EC6F5F408C08D06B59FCB5A3840E012F903052009C0649ADCCE0C4A3840E0AE56C80AD109C0DEA13419E23F3840100FF43966D30AC0F746A3C7252C3840A06EFE20F4130CC009A7F5785F243840E0BB50B3C2C90CC0B08928DAD70E384010A6261F32B40DC031D69C21B7F8374010CCBCDD4B4D0EC01CA030B957F03740307C8B9679CE0EC0FADF8B56E4FF3740B02BC7C4D98D0FC050273F3E46053840B0F7B9F3B00E10C0EA55535CD0173840D031C1A6F27710C07893170F05163840803A8AC684FB10C0FCB5A50D0A103840C0CD1E6BF82811C02A918024AD0438404012A8DD345B11C018312E73730C3840C0AE982C08CE11C0D349CD3C4BFF374008422DD17BFB11C07B2C009EC3E9374000B8F4D6671312C0D6E2B5CB09D3374088419A46AE3912C0D136825DBEB2374088419A46AE3912C021D201D7D4973740682D2952866912C0F68F0F4FF076374028371887B37012C0883CD64709593740983685FCE5AE12C0376425A68B373740880FC928319212C0574EB051D917374048D49B6054A512C0E3B55A4DE80537407040743113B612C0F515ADFE21FE364028C02A6C2CD512C091DDA9AB6AE4364028C02A6C2CD512C0AA82185AAED0364000996E9877B812C0A067E2A57ECC3640D0D42EEB216712C045B12C7838E3364048F3219F440012C06402CF94C7EF3640A842C05B49BD11C0E0DF4096C2F536404812A8DD345B11C03351DAC6FEEA364000C42F36CB2111C0FEF3B18AEAC53640B0B9AD76D05811C058AA67B830AF3640007F1339C12D11C0BE7B539AA69C3640F0E18F5F20F910C0470DE4DE8F7A364070B051CC701311C0E3D4E08BD860364090C4C2C098E310C01BCBF156AB593640284F8E457A8D10C0809CDD382147364038815F63F73410C0BFD70A01FE333640E065CE771BF70FC0B57FA32467F33540083B1D5152BD10C0AFD36FB61BD33540083B1D5152BD10C0CFBDFA6169B3354050A81B37AC5110C0163E442750943540F845329B1A4810C0E3B635A2617F3540E0BBF9A0066010C0F2406E9C75673540D86392C46F1F10C0612D90321B593540E065CE771BF70FC0C15248A64526354070BC8C2BD42110C0FEB75BB7FC023540E0CE448093AC10C0D54B83E63DF23440B81D50B2CAA710C02D2C1F5D5ECB3440B84F21D0474F10C0870CBBD37EA434403894AA42848110C03F4F40E63087344090E348FF883E10C085CF89AB17683440E065CE771BF70FC0BAEF80BFC4503440A07BF80BAC0C0FC0FC00C83EC74D3440C0F30B3CCE2B0EC05072616F03433440700810BBC3BD0DC022978658604E34401094015540EB0CC06EC3038C924F344090E4C526E02B0CC015A636ED0A3A344000AB51FE6B840BC0CEE8BBFFBC1C344090486862DA7A0BC0619582F8D5FE3340708428B584290BC0FE5C7FA51EE533402049FBECA73C0BC036539070F1DD3340B095BAF4A8300CC0DD35C3D169C8334080936ECA72290DC0984E629B41BB3340D0F4315169AF0DC000F66734DDB833406041F1586AA30EC0615851D06EC233400018E95A7F7F0FC07AFDBF7EB2AE334090B4D9A952F20FC0E43DAEA60C80334018F72669E34C10C07E2F919C2F5633400880394E5CB110C0B34F88B0DC3E3340F09D9977B18810C09C43029157263340203C4366ED4010C0380BFF3DA00C3340D05283988EAA0FC048953738B4F43240303FA52E349C0FC01C5345B0CFD33240C01E76C7652B10C0E9CB362BE1BE3240B8A788ACDE8F10C06A18AB72C0A83240806C5BE401A310C049F1EE9E0B8C3240200A7248709910C0587B27991F743240B04F21D0474F10C097B65461FC6032406077702ECA2D10C0FC874043724E32407003E5DB89ED0FC046DEA3BF7E3F3240A0A18ECAC5A50FC04A4DA605632332407046C525E80910C0C8C300961CFD3140E000169E105410C00103000000010000002F000000D8F2EF486FDA3840E0AAE8ED12A1F63F70C93331C601394020394DC88610F53F38D43FCBBF23394080C7B1A2FA7FF33FF122092A83473940C05167ACDF61F23FEC61DD751F643940006223EF1A98F03F3E0E2B9E2E5B3940006F746D917EEC3FCAE957FFB2673940C07F30B0CCB4EA3F16D579735E7B394080F57AA6E7D2EB3FB56CE90F19863940C00537E92209EA3F520459ACD390394040F929777660EB3F9EEF7A207FA439408083DF805B42EA3FD02343D2219F3940C05F41D86833E03FE5A0B1C1BB80394080198D9F1791D63FB56CE90F1986394000C6B697440ACD3F93F46399AC8939400039DB6AE385C03F11144EBFFA973940004C9667A5C0AA3F93F46399AC89394000A43F584799B4BFCAE957FFB267394000902FA1B673C1BFB032FE3CAA4E3940003625B27049CBBF3E0E2B9E2E5B394000723C32241DD2BF89F94C12DA6E394000662FC07774D3BFF65CF4FCF17E394080243FB58A9BDABF16D579735E7B394080FB688EF613DFBF7FFE358B0754394080F37E3D16A8E0BF6447DCC8FE3A394000183243DEF2DBBF8A808DF3CE1A3940001483724F65DCBFD231C4940BF7384000183243DEF2DBBF359A54F850EC3840006280EFE8E6D3BFA7BE2797CCDF3840003625B27049CBBFC836AD0D39DC384000C2B7DDBD05B1BF6C8F485E57CA38400098EDFAFEE4983F1FA426EAABB6384000F696EBA0BDB23FB3407FFF93A6384000291F28A84FC23FE47447B136A138400015DECE8803D73FE47447B136A13840805B9207DAA5E03F56991A50B2943840404BD6C49E6FE23F9889253D8B8D3840003FC952F2C6E33FD3B8047600A3384040A806D7603CE63F51D8EE9B4EB1384000949BC39678E83FFF2BA1733FBA38404073233E200CEC3F8C07CED4C3C63840C0DC60C28E81EE3FCDF7D8C19CBF384020E47A57E25EF03F401CAC6018B3384020A1F73AB7B4F03FCDF7D8C19CBF38408088DD565E63F33F1FA426EAABB6384080842E<KEY>0C3384020394DC88610F53FD8F2EF486FDA3840E0AAE8ED12A1F63F010300000001000000090000002D681DEBBACC3940808B28C5A321D83FC3A1EB695AD83940808FD79532AFD73F58DBB9E8F9E3394080365654FF6FD33F71F59D414BE1394000DFD07B9D5BCA3FEC7712FEE1D33940008272180242BF3F87720C31E5C23940003D8A3B7213C03F1A0F6546CDB2394000E27F4C2CE9C93FF1383EB245B73940804263C6AB18D23F2D681DEBBACC3940808B28C5A321D83F01030000000100000018000000F322092A83473940502F0519BDA00AC0EAC4670C68483940A007BD5151770BC03C71B534773F3940B0EF699D0C550CC0E0C95085952D394050795877DD070DC0D86BAF677A2E394020F3513E87B30DC076031F0435393940409C2A3EA6740EC0C8AF6C2C443039405045033EC5350FC0ADF8126A3B17394010D3A0E824760FC040956B7F230739407026CD57E71010C0EC4BA8ED5CF43840D80234610A7510C0B11CC9B4E7DE3840B0085782D6B110C04A7A4D7E33B238405061F2D2F49F10C0639431D784AF3840F045B77D351F10C0F06F5E3809BC3840C0E295FB4B7D0FC0E811BD1AEEBC3840F029C8E805B50EC0002CA1733FBA384010B0CE215C090EC0AE7F534B30C3384070A488DFC38F0DC0A0608679B1E0384010894D8A040F0DC08AE3178A17FF384050795877DD070DC0F746BF742F0F3940E05D1D221E870CC0B556B48756163940E07570D662A90BC0C8AF6C2C44303940502F0519BDA00AC076031F043539394050B15C8184670AC0F322092A83473940502F0519BDA00AC001030000000100000009000000EEFE52DFD67F3940103CD9BA7D7807C03AEA74538293394080D96B7804C007C03AEA745382933940701491F3114F08C0FEBA951A0D7E39405010E22283C108C05067E3421C753940A06642F34FD109C01538040AA75F394020C500653AFC09C056280FF77F583940C0AD74E0090909C0C38BB6E1976839407053653FAE6B08C0EEFE52DFD67F3940103CD9BA7D7807C00103000000010000000E0000009A3FD2DE6A263640F8C40C3697D812C0D56EB117E03B364038F4EB6E0CEE12C0EF250BDAE8543640A8917E2C933513C02C55EA125E6A3640A8D052782F5213C0A874D438AC783640A8D052782F5213C0DAA89CEA4E733640C0FB82E015DA13C0BFF14228465A3640F0E7DEFC5F4514C0D56EB117E03B36402817BE35D55A14C0574FC7F1912D3640B8792B784E1314C0DB2FDDCB431F3640880B78F33CE113C037D7417B25313640984EFB0F688B13C037D7417B25313640A8D052782F5213C0A9FB141AA1243640F08189196C2E13C09A3FD2DE6A263640F8C40C3697D812C00103000000010000000E000000F7C84D40B1B03440F85EB752A3C111C01280A702BAC934408000F9E0B89611C08E9F912808D83440803FCD2C55B311C05E6BC97665DD34409035FB3AFAE811C0B775B8BC8FD33440603B1E5CC62512C05370B2EF92C23440986AFD943B3B12C0BE36E470F3B6344050F89A3F9B7B12C01741D3B61DAD3440D0178565E98912C07AA9631A63A2344070314C6A6B5B12C0C4F70F25579A3440603B1E5CC62512C047D825FF088C3440D064DA736FFE11C05FF209585A893440F85EB752A3C111C0A37F8AAEEA9D344060C747B6E8B611C0F7C84D40B1B03440F85EB752A3C111C001030000000100000009000000C57E50064C4634409035FB3AFAE811C02126B5B52D583440986AFD943B3B12C04AFCDB49B553344088277A78109112C0FE10BAD509403440E0CEDE27F2A212C0F415A34E37253440B09FFFEE7C8D12C077F6B828E9163440D0178565E98912C05EDCD4CF9719344040C398E5592912C0BB83397F792B3440B0AD80B166E511C0C57E50064C4634409035FB3AFAE811C0 The stormlands are one of the constituent regions of the Seven Kingdoms on the continent of Westeros. The Kingdom of the Storm was a sovereign nation until the War of Conquest, in which the last Storm King was slain. The region is so-named for the savage and frequent autumn storms that batter the coast after beginning in the Summer Sea. The stormlands are ruled from the castle of Storms End by House Baratheon. Notable bannermen of the region include Buckler, Caron, Connington, Dondarrion, Errol, Estermont, Penrose, Selmy, Staedmon, Swann, Tarth, and Wylde. Noble bastards raised in the stormlands are given the surname Storm. https://awoiaf.westeros.org/index.php/Stormlands
10 Crownsland Targaryen 0106000020E61000000400000001030000000100000012000000ECD2E8CE51A03840B0DD67E1D5EA1C40D5557ADFB7BE3840E8CD72CEAEE31C40AC7F534B30C338407830E010289C1C40BC3B968666C1384008934D53A1541C40AAE2DDE178A738409073632D53461C400C4B6E45BE9C38405805B0A841141C4045DDD7147C96384088FF8C8775D71B400AAEF8DB06813840285828D893C51B4049018E5F285E38402897FC2330E21B401E8EF161E9463840C8EF97744ED01B40E35E1229743138402897FC2330E21B401393DADA162C384098F5BA951A0D1C402CADBE336829384008934D53A1541C40A16E073C9B38384088F10BC58B7F1C4018CDC5AD8563384008D2219F3D711C40E1D7D1477F85384088F10BC58B7F1C4056991A50B2943840B85FBF499DB11C40ECD2E8CE51A03840B0DD67E1D5EA1C4001030000000100000019010000F37E4D6EC260374020C592A3098104408645C88AD3263740F6892B8086E604402E7D644CDEBB36406819E121AE0A05409A6EEC8D6BDE3540265A444A79DA044024837E8F373A3540265A444A79DA0440190D83D9ACBB344097E9F9EBA0FE04408B5AC377465E3440EF948D2FEB2B0640D3F12DA56B0B3440C3C1E7C3CBF8064062C1BD017DA63340A5E052071B410740A43EE5D523553340B2D263B689BC0640EDD54F0349023340F88E73EC91AD0740A0417277509432404F3A0730DCDA08400041E9096F3B3240AAE20DD2F9C80A40962ABCBFFED431401C770BE02CB40D400D923FB716763140507DC6FDD06D1040962ABCBFFED431406CE245C19D281140C59B8F8BB8093240420FA0557EF51140E2BE994BF7423240FED3ED8465C81240D62BCE9AC186324018BD574F4E8614400BB7E4BFF9B932406376DAE329381640762C5708A3DF3240FBE00AFFA8951740DA8786F7CD063340A03D4CC9966E1840DA2841F994473340C818C742EEA719400380D16BD07D33404E9473502BC91A402CD761DE0BB43340A1429435A2351B40687CBB5CC2E53340F4F0B41A19A21B40859FC51C011F344039ADC45021931C40AEF6558F3C553440905858946BC01D40F5CF35C0EF8334405E4E9FD422511F40F85CD7EC2E8334409ABD7CB4010F204018F8DA395F6E3440F03DBD0ACC772040854B1441468C3440AC029042EF8A204023504216F6AE3440284719B52BBD2040DCCFF8500FCE3440BC5AF71E86CB2040659EBABD5FE834407C1FCA56A9DE2040E727602DA60E354074DAAD599FEA20404D367D37833835403CE49C8ECCF12040EA3AAB0C335B3540349F8091C2FD20409530294D3892354004EE8BC3F9F82040DFC3BDF1ABBF3540EC0BECEC4ED020400DDCC930B6F03540C49F131C90BF20400597AD33ACFC354070C7627A129E20404F2A42D81F2A3640F03DBD0ACC772040CE1AFFB8A77C3640B847AC3FF97E204020F3AF5A259E3640284719B52BBD204047C69F9C25DB3640B828260109242140B7C50C125819374000BCBAA57C512140FA1385B9C1523740889DC7F159B821404CEC355B3F7437408458ABF44FC421405E89B934E0A837403CD8612F69E32140776B590B8BD13740F012FC6C780E2240C9430AAD08F3374058CD4CE5A0582240CEEF3D1B54133840CCCCB95AD3962240BECC1C9281573840ACB84866ABC622409A0C782F0E673840F84BDD0A1FF42240774CD3CC9A763840D8376C16F72323401B961D9F548D38401441C8C056692340912E73A3459F384064197962D48A23407A5F1EAC27C3384060D45C65CA962340B70163E545DC384098DDB80F2ADC2340C4F2B2509BF03840C44991E0E8EC23407E72698BB40F3940F40DD18D3E3E2440762D4D8EAA1B3940ECC8B490344A2440CE4A1A2D3231394060B5D626DA3B244067A31494963339401C675E7F70022440C159CAC1DC1C3940A867F1093EC4234027559CEC2CFA38401441C8C056692340DB281FB9FAF83840885FBB74790223401A644C81D7E53840844C7095ECB52240CD37CF4DA5E43840D843A7755A32224021A9687EE1D93840E4CDDF6F6E1A22407C5F1EAC27C338406C8956FD31E82140EC4B4042CDB43840ECFFB08DEBC12140B6EE1706B98F3840E0A749B154812140B142E4976D6F3840F4769EA8725D21409C0C782F0E6738400846F39F90392140568C2E6A2786384074EDF8382C372140100CE5A440A53840DC94FED1C73421401CFD341096B9384090016A2D540721400082ACAA2CBD38404429B98BD6E520402342510DA0AD3840F05008EA58C420401E961D9F548D384094333B4BD1AE2040F07D11604A5C384088DBD36E3A6E2040EAD1DDF1FE3B3840202183F6112420407C7EA4EA171E3840B892CABEC3881F40F2AFE27DC7033840E03074ADFF401F4004D303079ABF3740F8BAACA713291F40AAB5366812AA374048935D49914A1F400DB1089362873740704452175A4F1F40C8C9A75C3A7A37409058C30B821F1F4045A7195E35803740C880A5F4D1BF1E4015F624906C7B3740680B7179B3691E40D753E0564E62374000963CFE94131E407677946AEEDF364068F8259A261D1E40A07C55CA6BC4364048D169C671001E4008245B6307C236400083F11E08C71D40614128028FD73640C03479779E8D1D401615ABCE5CD63640B084AABE700C1D405C95F49343B73640F836C5A1D4941C402F16D1E3F7593640F836C5A1D4941C408ACC86113E43364008D4487B75C91C4001FEC4A4ED283640A0715FDFE3BF1C404A17F7F892DD354000AEB2BC5B301C40008462541FB0354020AFD8D1F6B31B40CFD26D8656AB35408888AF880F591B40B357E520EDAE3540B0130E98BEC41A40234407B792A035402864D2695E051A409A75454A42863540E8155AC2F4CB1940784E89768D693540F88C47DD7B671940D3043FA4D352354058661E94940C194021CAA466C427354010055B0D9E861840054F1C015B2B3540A0F2A2B8DEFB17406005D22EA1143540C87D01C88D6717403FDE155BECF7344028BA54A505D816408C0A938E1EF93440009398D150BB1640448A49C93718354010301CABF1EF1640517B99348D2C3540882F8920242E1740BFCED23B744A3540702E630B89AA1740E0F58E0F2967354058A42A1175C217402A8923B49C943540F8CA535A5C1D1840377A731FF2A83540D8B6E265344D1840E308DAEEB5B3354088DE31C4B62B18402F355722E8B4354008CC796FF7A01740C3E11D1B0197354078A5502610461740A1BA61474C7A35403057D87EA60C17404FE2B0A5CE58354068E2368E557816400AFB4F6FA64B354058CFEBAEC82B16400AFB4F6FA64B354058A955F0AE921540E83AAB0C335B354090D137D9FE3215404FE2B0A5CE5835405070745208AD1440F6C4E30647433540E8FA3FD7E9561440054F1C015B2B3540A0ACC72F801D144098FBE2F9730D3540483793B461C71340A9851BF487F5344010FD8B01205E13400E5707D6FDE23440E8AF396F51A81240043CD121CEDE34400059F8A755EB1140454D18A1D0DB344088146F3519B91140C05470EBA5D13440F80091CBBEAA11401B0B2619ECBA3440105A1EBDF06E114048E600308FAF344098024A6B27F01040D34DAB2B9E9D344008DC202240951040559A1F737D87344008DC202240951040590922B9616B344078C842B8E5861040E470CCB47059344000C9D542B348104065BD40FC4F433440C8D2C477E04F10406D025DF959373440B0BE5383B87F10400F768D14EE3D3440E8C7AF2D18C510402EC72F317D4A344000AA4F04C3ED10403AB87F9CD25E344040B3ABAE22331140B795F19DCD64344008D0E5C2DC86114045D3B55002633440E8BB74CEB4B611401C67DD7F4352344048D9416D3CCC11402EC72F317D4A34407077EB5B78841140F124EBF75E313440C0816D1B734D1140EE4ED1403921344000AA4F04C3ED10408A16CEED8107344058B4D1C3BDB6104001480C8131ED334098EFFE8B9AA310408AD99CC51ACB334078C842B8E586104068B2E0F165AE3340E0B4644E8B78104070F7FCEE6FA233400097042536A11040B208446E729F334098024A6B27F0104021F565041891334090BD2D6E1DFC1040BCDF10CE398733400865F15726E41040480FA15B9D823340001C3567ED871040B3E7DF869771334040295C36000410408AF702CAC263334040EEEDF1CB6E0F402E59D1D0DE863340606262A291C40E40DF95071DDAA7334090F3F3BEC8EF0D40D1BA9FD7FAA9334010F124F17C120D403B343916BE843340D08C5A7648790C403B343916BE843340205051D019F10B406266CBF9246A334060FEFF58C2F10A4097D26A0FA261334060FEFF58C2F10A40F62EE7E1F3663340207D18721C830A4056EA08A17C80334040D46FB670030A40A8CAC21A269C33400068D0A0F30B0A40DFF4AC0911BC3340B087BCDAB0BE0A404D8B360E79D33340803065965C3E0B40410F74B5D0E93340D0F35BF02DB60A40D795DA760D0F3440B087BCDAB0BE0A406D1C41384A3434407013482AEB680B408A905B9C76583440408A8BA8FC9B0B40CE3608E409623440902890FB13E00B4005024DE6BD6D3440D0942F1191D70B402017C25DB37D3440101617F836460C40AA2166C647B934404082B60DB43D0C404049279B4DCA344080039EF459AC0C4085AD1EBC4EFC3440E0BEBFB3E2C50C40A1C29333440C3540405DC406FA090D40478307279743354010F124F17C120D401F517543305E3540C067686F8E450D4071D289D0A265354080C18E812EA30D404AFF9CD97294354080A47115BDCD0D4008B8957E169F354090D6D652571A0E403F83DA80CAAA354090D6D652571A0E40916394FA73C6354090B1E44B9DE60E4076ADC46FB5CA3540109F6B48C04C0F4085E7D1A1CBDC3540908CF244E3B20F40F27D5BA633F435405020532F66BB0F40362408EEC6FD354040EEEDF1CB6E0F406C90A70344F5354020D9A520A3F70E405EB53FBE64F73540C02559FC623C0E406A3102170DE1354030238A2E175F0D4092C239E7AADA354080039EF459AC0C40D6C16CBA17DE3540400AFFAC9F2C0C405C3801ED96F235409020D27273280C4093256FE14505364040931B4A578E0C405E559936503536404099F869C38F0C40D632195BF73C364000F6B69DCB210C408E0D1BF391543640B0AFBAD936310C40C00A93B9A0643640B084CB95A3D30C40007715A938773640B06DDF73E0D60C40E516C3F7FE7E3640406B26D477910D40B1561E958B8E364030558FCAB43D0E40F525FE303A92364040B28705950F0E40C8C2F6654A9F3640002ED3F6FF200E40DC2ECF3609B03640701B881773D40D4083D86BBAFCBE3640100717234B040E4003EC492457CD3640B0F2A52E23340E40574E33C0E8D6364010A307721E770E4037D3AA5A7FDA3640E002386E473B0F401C7358A945E23640102961B72E960F40C8372BE168F5364050648E7F0B830F40177FDEC8CAFA36405058F0086D1C1040E3BE3966570A3740989C797BA94E1040A731D7F61D4F374050A668B0D65510406D56FCDF7A5A3740501B9D2BF5AB1040676282FFFF723740C855376904D710408E193A5D0B843740A04033EA0E4511403805C968E3B3374078A063E637091240188A40037AB7374048D9D70EACB0124083580270CAD1374020C4D38FB61E13408D8E6ED829DA3740F8FC47B82AC61340782296076BC93740C8E7433935341440989D1E6DD4C5374070FA8E18C2801440EED84B35B1B23740C8D1AC2F72E01440CD5DC3CF47B6374048330341362815406DEC299F0BC13740B02881813B5F15406EEC299F0BC13740C8E2D1F963A91540A8C704B6AEB537406889440832E5154052651B1A1DAC3740407440893C531640F8E7FBC95B9E3740C8416F6BBFAB1640431479FD8D9F3740A05327C07E3617404D4AE565EDA73740A07AE39333531740B2FD701E0EBE37405018FAF7A149174088733824FAD5374068E8E1798DE71640B2242DF2C2DA3740904B5EA0ECB2164077700EAFD4023840F8E13E6F96E71540ED4D80B0CF08384040631BBF4A8A1540BC81552ED7FF374068C697E5A95515400DC9081639053840101636A2AE121540B78DDB4D5C183840E0EF0C59C7B7144083CD36EBE827384040047E4DEF8714403CBCEF6BE62A384078D3D2440D641440B2C01D41964D38400024048CDFE21340924595DB2C51384028124C3720581340A88AB1D836453840C813724CBBDB124072A350A20E383840B880DDA747AE1240C8DE7D6AEB24384040F8CAC2CE491240B272A5992C14384050162BEC2321124012E43ECA6809384040351EA046BA114097EB96143EFF3740E884BC5C4B771140E8324AFC9F04384068D5EDA31DF61040AD30B31148F33740B056CAF3D198104063DD790A61D537408809E5D635211040BE33DD866DC63740E8892E9C1C021040178A40037AB7374060EF5904ED2C0F4032EA92B4B3AF3740D0F112A455720E40B8F1EAFE88A53740206A9349AACF0D40CD3607FC92993740804623A02BBA0C40482FAFB1BDA3374000709813491C0C40925B2CE5EFA43740804B95DFFC440B40B8F1EAFE88A537409050071FCECF0940533E5F46688F3740508EED8613020940339C1A0D4A7637408018268127EA084073922BD81C6F3740B054E6D3D1980840F872C74E3D483740B02D2A001D7C0840AE464A1B0B473740602F5015B8FF0740293FF2D03551374030579F733ADE074009C4696BCC543740B0483349B15A0640F37E4D6EC260374020C592A3098104400103000000010000001A000000C36DCD93FCE03740689588D3F2321B40382F169C2FF03740C8BE44EB9B0B1B4095D67A4B110238405821B22D15C41A4063A2B2996E07384070A30996DC8A1A4017B79025C3F33740207EFC4EC23F1A40EC43F42784DC374078E68CB207351A405F68C7C6FFCF374090DCBAC0AC6A1A40E148DDA0B1C1374058ADDB8737551A405CCB515D48B43740682F33F0FE1B1A40B6D540A372AA374030C17F6BEDE919406AEA1E2FC79637400849FAF480ED1940C5F40D75F18C374088A7B8666B181A40A1DF1295CD7437404878D92DF6021A40776C76978E5D3740203F280326231A400A09CFAC764D3740E04E1D164D2A1A402323B305C84A374030C17F6BEDE91940C77B4E56E638374058BB5C4A21AD194041FEC2127D2B3740902910CF32DF194020863D9C102F3740C0D6979FE02D1A40C77B4E56E6383740486A586B0CAB1A406C715F10BC42374010AF4FD874041B4067B0335C585F37407017E03BBAF91A404F33C56CBE7D37402031A7403CCB1A408EFF190FEBAE374078D80BF01DDD1A405F68C7C6FFCF37402866A99A7D1D1B40C36DCD93FCE03740689588D3F2321B400103000000010000000F0000007C61C021503839400056B6F4870C22405BE93AABE33B39401894509885D1214001DF4B65B9453940AC30A9AD6DC121408EBA78C63D523940D8695AD83DA12140D0AA83B3164B39403C9316F0E6792140957BA47AA1353940501085DF805B21407166A99A7D1D394038592B1D784221402ED92844ED08394048156E58AE402140C9D32277F0F7384014207AF2A762214003668C46AEF13840E4259D13749F214047F30C9D3E06394000DDF6D57CB821409A3CD02E0519394098B33ABED3DF21407AC44AB8981C394060BE4658CD012240D66BAF677A2E3940ACA968CC781522407C61C021503839400056B6F4870C2240 The crownlands is one of the nine constituent regions of the Seven Kingdoms of Westeros. It was never a sovereign nation, instead being contested by river kings, Storm Kings, and local petty kings until Aegon the Conqueror seized control of the area during his Wars of Conquest and made it his primary foothold on the continent. Since then, the crownlands have been ruled directly by the crown on the Iron Throne, first House Targaryen and, after Roberts Rebellion, House Baratheon. Bastards of noble origin raised in the crownlands are given the surname Waters.\nSome notable houses of the crownlands include Bar Emmon, Celtigar, Massey, Rosby, Rykker, Stokeworth, Sunglass, and Velaryon. https://awoiaf.westeros.org/index.php/Crownlands
11 The Reach Tyrell 0106000020E6100000060000000103000000010000001000000003AF8189196C1E40C0C33483105A01C0754C1447A0B31E40F0AF909F5AC501C0485237686CF01E4090082CF078B301C02C149DC46E2B1F4000F313BC856F01C0A3725B3659561F40908A8358407A01C0FF19C0E53A681F4030A09B8C33BE01C0A3725B3659561F4080BBD6E1F23E02C04C8C223BDB271F40E0E0E3280D8A02C0B5B5DE5284001F4030C71C248BB802C090036E09A9CC1E40108E6BF9BAD802C03FDE60C28E811E40503FA29AF7B402C04A60B82A56481E40A0B104F0977402C03AA475EF1F4A1E40D06C0D832F1B02C04A60B82A56481E407090A6790CB701C0E8F727C710531E40F031E807228C01C003AF8189196C1E40C0C33483105A01C0010300000001000000090000001FFE240895042040E070A4B104F0FFBF9F64DA736FFE1F4090242E754C6300C0BBA274176DC31F40606925E2B4BC00C03388736A4C9A1F40007F3D16A80001C0CDE5F733986D1F40E00A6770CA9100C0B22E9E718F541F4010C66F03623800C0C824CC7F348A1F4020268A23D059FFBFDC1AFA8DD9BF1F4080C31CE156A1FFBF1FFE240895042040E070A4B104F0FFBF01030000000100000009000000F2F23E4EE36D1E4020DC36C5AFF2FCBF53D48ED033B71E402099B3A88448FDBF115D430266121F40A05DC7FD628AFEBF31D5C878D20E1F4020655E6F6C76FFBF6E8BE8923CD01E4080EF2B1B0B1100C0651712ED5E611E4020268A23D059FFBF15F204A644161E4080716BE1181FFEBF30A95E684D2F1E40C0FB20EBFD00FDBFF2F23E4EE36D1E4020DC36C5AFF2FCBF0103000000010000000E0000005B77D136FC121D4060B4EEFD43C9FDBF716DFF44A1481D4040EF13795158FEBF49344E1AD1681D40A00A4FCE10D9FEBF8C245907AA611D40B0DF3608E40900C0C0920C8CBB931D4050ACA8FEDF6600C0C906E33199021E40909CB3EBB85F00C0C906E33199021E40C006B89F3B0401C0F600C010CDC51D4020E31EA95E6801C0C0920C8CBB931D4080BF85B281CC01C091E584BB0D451D407094554A9B4401C097A6B06F71281D40901A5C83F19800C08871AE1530D61C40608099C42BF7FFBF8871AE1530D61C4080CB7A8274BCFEBF5B77D136FC121D4060B4EEFD43C9FDBF0103000000010000002301000079649251E6822C40C833DC72BA5D15405C5214C5024C2D40805AFC41072F154049E77ABEDC122E4093070B4CBBE91440EEE4768A912C2F4058C1F6CB3D771440C4A7D35208453040B61FB35C95DD13405E8E19676B9F3040E2F258C8B4101340C28A03585D073140C09066A61495114038D5B654CA6A3140DA748804F28B10400D923FB716763140507DC6FDD06D1040962ABCBFFED431401C770BE02CB40D400041E9096F3B3240AAE20DD2F9C80A40A0417277509432404F3A0730DCDA0840EDD54F0349023340F88E73EC91AD0740A43EE5D523553340B2D263B689BC0640607C33BC7346334032D03F000459054024D7D93DBD1433409960C7787934014095C5D4DD1DF83240469EAD18E610FB3F9BDF17379CF63240BA1BFED3BEA0F33FB347249C95F03240602C83DBD5E2E93F009A8C2400DD324028C14DCDC568D93F603ABEB8E5C43240A83E74DFCCC6CDBFFBDE8EC9BA9D3240EEE299C015BEE2BFB405AF98076F3240FAF09F2EEA5BEFBFB464F496402E3240DEA21184F123F5BF9741EAD601F53140F493505C12E8F8BFA3D4B58737B13140A6E7EA417A03FCBF03D42C1A56583140D2BFD819A5FDFDBF0AACFA6F46D53040BED8291A9BC7FFBFC9AAE89483233040D4783D8DC8C800C0EE74A558FD6A2E40DD72234A6F4A02C0801F90AC2BC22C40E66C090716CC03C058868A36620A2C40FC5800732BC904C06BF1233D88432B403523FFF9C43E06C02BF01162C5912A40B8A680153A6609C079A1BFE8683D2A4066FDA79CCEC00BC068B23BDB26012A4078F173161CC40EC0AFEA600A13EF29403682D569DC0711C09B9F24A0C43229403623906BA34811C0BDCBE58526682840F4A56897FC9911C092A53EE31DB127403B2003CA760912C02A6A6C90CA0626403D00A62D9F8C13C0444E8EEEA7FD244022A06ED6DD9815C0C1CF543F3E9D244019ABD08542DE16C0E6297253A61224402029A149056319C0A56AD57B71E2234077D4348D4F901AC052BCB496FA752340BD9044C357811BC0D03D7BE79015234018394B65756F1DC024AA26C9790023406C3FFBFC250320C028652424BF3F23405D8F5F51450921C06FDFBE5639AF23408BE36222540022C0820BA70CA3272440CCAFC32AFDC022C09195DF06B70F24409020CAD06BF422C02C87C2FCD9E523401CEF8B3DBC0E23C033CCDEF9E3D92340A4BD4DAA0C2923C0E9384A5570AC2340EC50E24E805623C0DEE0E278D96B234058F8E7E71B5423C00B7F8C67152423409C7831AD023523C061890E2710ED2240688220E22F3C23C086E29B1842B1224090EEF8B2EE4C23C05631A74A79AC22409C46608F858D23C0D5A701DB32862240B86D1C633AAA23C0236D679D235B224054C616CA9EAC23C05A637868F6532240CC0AA03CDBDE23C069EDB0620A3C2240FCBB940AA4E323C02EE454B8AAF621400401B107AED723C078966F9B0E7F21408CBC279571A523C067F9EBC16D4A214080770B9867B123C0ECB4624F311821405C1E7EA635ED23C0AA66EAA7C7DE204024286DDB62F423C08F844AD11CB62040B0F62E48B30E24C046F1B52CA988204038C5F0B4032924C0C46710BD626220406876E582CC2D24C0A34054E9AD452040105918E4441824C05168A34730242040A49EC76B1CCE23C0EAC09DAE942620409C46608F858D23C081199815F92820405C3D04E5254823C03041E7737B07204054E59C088F0723C07E963FDC1EDF1F400C5208641BDA22C00C97D266ECA01F402466795843AA22C0E34980D41DEB1E40A097B7EBF28F22C0AC72F5473B4D1E40447AEA4C6B7A22C069247DA0D1131E4004718EA20B3522C0B5D69783359C1D40C0DDF9FD970722C0E174417271541D401C2D98BA9CC421C01658075EB7001D4068F2FD7C8D9921C03BB1944FE9C41C4078151F06605521C08563AF324D4D1C40140702FC822B21C09C32042A6B291C4038608FEDB4EF20C01AA95EBA24031C40587400E2DCBF20C0CD027F3624891B40FCAAFFD4098A20C0E3D1D32D42651B40A4261BC5404820C0E3D1D32D42651B407C532B83400B20C0BE78463C10A11B40288A1CF2C6C21FC05AE48B8201F01B40489E8DE6EE921FC0DF807CD1D4621C402032B51530821FC0E193C7B061AF1C40900B8CCC48271FC0B5F51DC225F71C4090F840EDBBDA1EC078CD3BD9D5561D4018B4B77A7FA81EC06A4303DFC16E1D40B8C8BBF9743A1EC045EA75ED8FAA1D40B8B5701AE8ED1DC0B1A4C665B8F41D404071E7A7ABBB1DC023A433DBEA321E404071E7A7ABBB1DC0AC72F5473B4D1E4048E8D4C232571DC0FE4AA6E9B86E1E4080867EB16E0F1DC01F7262BD6D8B1E400042F53E32DD1CC01F7262BD6D8B1E40D8C2D18EE67F1CC0D1ACFCFA7CB61E40F8D642830E501CC0714A135FEBAC1E40D8E157CDD6DA1BC0D2ACFCFA7CB61E40008001BC12931BC05B7BBE67CDD01E4048004B81F9731BC09271CF32A0C91E4020C643CEB70A1BC0FF4AA6E9B86E1E4008F7EED6992E1BC0332E6CD5FE1A1E40A862341D8B7D1BC0B6D69783359C1D40F8F5C8C1FEAA1BC0A026C9CA071B1D40B0757FFC17CA1BC02914117648901C4060C36419B4411CC001C7BEE379DA1B400887113C3CD11CC018B5991988111B408099C990FB5B1DC072F1ECF6FF811A4000236F0042821DC0AE19CFDF4F221A407022DC7574C01DC0085622BDC7921940D084C51106CA1DC015EC95163F891840987B6967A6841DC0D2BCA3ADC5AA1740704162B4641B1DC037515E67D45B1740E01A396B7DC01CC081E4F20B48891740907459E77C461CC05133FE3D7F84174098EB460204E21BC081E4F20B4889174040BB2E84EF7F1BC020820970B67F1740C076A511B34D1BC0A73D80FD794D1740183C0BD4A3221BC0E98BF8A4E3861740C0952B50A3A81AC0E98BF8A4E3861740F0EEB841D56C1AC09CE51821E30C1740388E8845ACA819C092AC37833C271640B8CC274D5A2018C0A87B8C7A5A031640B0617591369317C009DE7516EC0C164028C58442632017C09C049F5FD3671640481E123495E416C06921D9738DBB16400815B689359F16C04A0D687F65EB1640483D9872853F16C07BBE5C4D2EF01640B8166F299EE415C05684559AEC861640A866A070706315C07EF02D6BAB971640601828C9062A15C08103794A38E4164008407727890815C04D20B35EF237174048AD750DE39C14C05133FE3D7F84174050CCFB4BD3F713C0FB287C7E84BB1740204DD89B879A13C03E77F425EEF4174038F696D48BDD12C0575994FC981D1840F0A71E2D22A412C0181E6734BC301840E03C6C71FE1612C02ABBEA0D5D651840C015B09D49FA11C07861CA915DDF184050298E07A40812C0299C64CF6C0A19400896F96230DB11C0EA603707901D19406817693DB23F11C0C507AA155E5919402084D4983E1211C0435F7E6727D8194000A234C293E910C03F2DAD49AA301A4028C9F095480611C049668EE750161B40B0AAFDE1256D11C0BB65FB5C83541B40E05BF2AFEE7111C0DC6D31F247161C40C053BC1A2AB010C0F64FD1C8F23E1C4080054473C07610C08EA8CB2F57411C4000E6173D02D80FC095EDE72C61351C40E098C5AA33220FC04415378BE3131C40A0D485FDDDD00EC0F64FD1C8F23E1C407073C276E74A0EC0A0454F09F8751C40706077975AFE0DC021CFF4783E9C1C40309C37EA04AD0DC0610A22411B891C40509D5DFF9F300DC070945A3B2F711C4070B1CEF3C7000DC021CFF4783E9C1C4030DA4367E5620CC073A7A51ABCBD1C40108DF1D416AD0BC0AEB001C51B031D40B0A1F5530C3F0BC0377FC3316C1D1D4030F2B925AC7F0AC0E9B95D6F7B481D40C0693ACB00DD09C06E564EBE4EBB1D40001C55AE646509C08838EE94F9E31D4010090ACFD71809C0F0DFF32D95E11D4080E3069B8B4108C0FB375B0A2C221E4040F80A1A81D307C027B77EBA777F1E4030D2745B673A07C08A2CB33596D51E407071445F3E7606C044AC6970AFF41E40105F8C0A7FEB05C0362231769B0C1F40703863C1979005C0B7ABD6E5E1321F401060B21F1A6F05C0FAF94E8D4B6C1F401060B21F1A6F05C0AC34E9CA5A971F4030FD35F9BAA305C03C48C734B5A51F40F05D66F5E36706C0D7B30C7BA6F41F40E0F9C3B9E91807C0DFF82878B0E81F4010E49925590308C05F59F3B28538204000E37310BE7F08C0CCAC2CBA6C56204000593B16AA9708C02A762DC73F8C20408059CEA0775908C03C13B1A0E0C0204020F7E404E64F08C063E6A0E2E0FD204050A8D9D2AE5408C02957A7884F31214000E37310BE7F08C00C43369427612140806C198004A608C0B18C8066E1772140E0BBB73C096308C0A9476469D783214030E5BF3AF48607C049E57ACD457A214050D39A7002BE06C08AB99024E13A2140B00FEE4D7A2E06C0CB8DA67B7CFB2040A0E9578F609505C0233111CA359820400013608D4BB904C094B61BEF995D20407063245FEBF903C043DE6A4D1C3C204000C85925B30A03C0CE4515492B2A204030DDF02E765E02C0EAC09DAE94262040902C8FEB7A1B02C0F6B1ED19EA3A2040B02DB500169F01C02C0F1656FE5F2040E0CB5EEF515701C0CFBF7799F9A22040D05471D4CABB01C0D56BAB0745C3204010F31AC3067401C0EE4D4BDEEFEB204070B9A69A92CC00C0D87EF6E6D10F2140506C5408C41600C08AB99024E13A2140E0F5F9770A3D00C0C5C2ECCE40802140702F6EA07EE400C0FA1F150B55A5214070B9A69A92CC00C005787CE7EBE521401044721F747600C0D32D9F8A640D22405008B2CCC9C700C0ED0F3F610F362240203CB8C1B4BAFFBFC20A7E019251224040514FCB770EFFBFAED4119932492240801994426CACFDBFA1E3C12DDD342240A008958D1567FCBF2EE454B8AAF621400033C3A09B0EFBBF6FB86A0F46B72140E0D2252F400CFABF7151539E048B214020D571597613F9BF0C4336942761214020FC2D2D2B30F9BFEA1B7AC07244214020C2267AE9C6F8BFDE2A2A551D302140E03BF349742BF7BF850D5DB6951A21404052B068D202F6BFBA6A85F2A93F2140A07CDE7B58AAF4BF45D22FEEB82D2140801C410AFDA7F3BFD87EF6E6D10F214020829CE55F3CF2BF56F550778BE92040206E2BF1376CF2BF7AB5F5D9FED92040A01D671F982BF3BF233111CA3598204000A70C8FDE51F3BF9CFB37ECA3512040C0F91C8BB499F1BFF7B1ED19EA3A204080985904BE13F1BF0190F2A5B2022040C00D8E7FDC69F1BFDCE5DD98239C1F40E0E7F7C0C2D0F0BF033F6B8A55601F40605F7866172EF0BF80B5C51A0F3A1F400051C6E54D9FECBFA70E530C41FE1E40402D7C516A0DEBBFC422C40069CE1E40005AF68E26BCE8BF9371CF32A0C91E4080AC068BFC03E7BF43B8A4CF12031E4000C29D94BF57E6BF354DF213EF751D40C088BCF61872E5BF18778D9CA75B1C4000EA7F7D0FF8E5BFB501592189051C408003AFDB3E5AE3BFDA5AE612BBC91B4000CD918CFBBBDDBFD6479B332E7D1B400000F0485A80D8BF07F98F01F7811B40006C2FA35F2AD4BF28204CD5AB9E1B40004B3139B29FD1BFC078463C10A11B4000DFB8D5E04BC4BFF76E5707E3991B40002C5ECD573DBABF08181640E7DC1A40007E97B0E8C7BC3F1AD41F58786C1A4000DC78646936D13FC91AF5F4EAA51940008907CB38FADB3FE82E66E91276194080BC501473D1DE3F50D66B82AE731940006DDB14DAA6E13FBCAF4239C718194080794275C4DDE43F762FF973E037194080119B6F2B42E73F3E39E8A80D3F194000D2D552E246E93F8087605077781940C00AB7F0882CEA3F8CDFC72C0EB9194000F86B11FCDFE93FA8D4B2E2452E1A408004D371E616ED3FCD0EBA9587971A40C07D51E4067DF03FA4A2E1C4C8861A40807B05BAD075F13FC9FB6EB6FA4A1A4020776D656467F33F1F06F175F5131A40A05F8A316B0CF53F3E1A626A1DE4194000C14DB86192F53F71FD275663901940A071AFFB5CD5F53F03308CFEADF91840A0E37137AAA0F73F03308CFEADF91840C01C53D55086F83F095622BDC7921940C08DEFFB02CEFA3F6AB80B59599C1940403D2B2A638DFB3FACCFE282ED081B40E692E27DDAEFFB3FF909C37CB87E1E400474773A8BA7FB3FCE361D11994B1F40E492E27DDAEFFB3F9B681AB1925A2040F2893B995432FE3FF3D138F14E062140912FCE67A9760040982E7ABB3CDF21403B8982906A100240A95F73CC0C9D224067617068950A04403CCD3089B8392340AC1D809E9DFB0440B81457E4F85D24401EAD3540C51F054079D61772B3F12540408B3D5B499805400D44D52E5F8E2640824ADA327EC80540FED5AE860C1628404A852318F0190740266FB4FCD5CD2840E2EF53336F77084013041BF6AF9429406D68739F7F590A400C8B929EF8D62940C9107A419D470C40BFD9E417552B2A40CB15C2ADA80E0F40E2B7EC32D9A32A400DE65BD0ABC01040CE4C532CB36A2B40E096A06BA8901240A379ADC093372C406B0FC0D7B872144079649251E6822C40C833DC72BA5D15400103000000010000002E00000027578EA70E8B1640A4992BD324E422C00992B3221C1A1740282DEC9E506123C0BC1F51CD7B5A1740A84CD6C49E6F23C0AADCCDB050B01740940953A873C523C02DBDE38A02A21740B0FF80B618FB23C0CD07FE1837381840B473575CF66924C0D67BD4BE14A71840A8B71421C06B24C08909726974E718409CBCFD99ED5024C08CBC1C5BEE721940401599EA0B3F24C096B733E2C08D1940B07840D5234F24C0C12AD0DFFFA41940B0B22BA8928624C07A79993EC3C8194080B84EC95EC324C068361622981E1A40D89E87C4DCF124C068361622981E1A40F055E186E50A25C0F17C81DF3D271B4068F373446C5225C0E5FA297776601B40C49AD8F34D6425C0A9CB4A3E014B1B407CE9A152118825C0F73DAD93A10A1B404CEFC473DDC425C0A9CB4A3E014B1B40A4D5FD6E5BF325C0F73DAD93A10A1B40C08C5731640C26C08C61468A7EA61A40406D6D0B16FE25C0EC162CFC49101A401C34BCE0451E26C04ACC116E157A19407C9C4C448B1326C0F12064746F211940944D65EE184D26C04819677C9BEE184068989D73FC8526C0BCC47AFC0B8E1840ECB29E201DAF26C015B934BA73141840B4BDAABA16D126C0ECCCD89D29A91740804FF735059F26C09BA7CB560F5E1740A08D91D9026426C057041678BCD9164010B264787E5726C0A47678CD5C99164020F5E794A90126C027578EA70E8B164054B0F02741A825C07B8A1CB1122E164080AACD06756B25C0EC27AF6E99751640EC94B5D2812725C0E76683BA3592164048022FAFF40125C0BF2DD28F65B2164044C843DC85CA24C0219662F3AAA7164070C220BBB98D24C04C63D7341F6B16409CD18721767024C0A47678CD5C9916408400BB5EB75224C0E0A55706D2AE1640281F6BDC660924C0CAAF29F82C79164000ACCEDE27F223C060D3C2EE091516402024545594EE23C04ADD94E064DF154020AB9436899A23C0928ECB81A1BB1540107692DC474823C0C33B53524F0A1640A0D8FF1EC10023C027578EA70E8B1640A4992BD324E422C0 The Reach is one of the constituent regions of the Seven Kingdoms on the continent of Westeros. It was formerly a sovereign nation ruled by the Kings of the Reach before the War of Conquest. It is the second-largest of the kingdoms behind the north and is considered the most fertile and heavily-populated part of Westeros.\nThe Reach is considered the home of chivalry in Westeros. It is the place where knighthood is looked upon with the greatest reverence and esteemed the most. It is also the place where the rules to tournaments are the most stringent and managed. The Reach is ruled from the castle of Highgarden by House Tyrell. Notable houses have included Ashford, Caswell, Crane, Florent, Fossoway, Gardener, Hightower, Merryweather, Mullendore, Oakheart, Redwyne, Rowan, Tarly, and Vyrwel. Noble bastards born in the Reach are given the surname Flowers. https://awoiaf.westeros.org/index.php/Reach
\.
--
-- Data for Name: locations; Type: TABLE DATA; Schema: public; Owner: patrick
--
COPY locations (gid, name, type, geog, summary, url) FROM stdin;
67 Kingsgrave Castle 0101000020E6100000C07F9B0795A92C40F0722DE6F51D18C0 Kingsgrave is the seat of House Manwoody in Dorne. It is located in the Red Mountains approximately halfway through the Princes Pass, north of Skyreach and south of the tower of joy. https://awoiaf.westeros.org/index.php/Kingsgrave
70 Salt Shore Castle 0101000020E61000005BFE3103B95B35406030C985C23924C0 Salt Shore is the seat of House Gargalen in Dorne. It lies on the southern coast along the Summer Sea. https://awoiaf.westeros.org/index.php/Salt%20Shore
74 Lemonwood Castle 0101000020E6100000313DFD0BEEFB3740E06D4278D52D23C0 Lemonwood is the seat of House Dalt in Dorne. It lies just south of the mouth of the Greenblood, near Planky Town. https://awoiaf.westeros.org/index.php/Lemonwood
63 High Hermitage Castle 0101000020E610000001B1AD99BD662840C0A1B8C528631DC0 High Hermitage is the seat of House Dayne of High Hermitage. It is located in the Red Mountains of Dorne, northeast of Starfall along the Torentine. https://awoiaf.westeros.org/index.php/High%20Hermitage
41 Wyl Castle Castle 0101000020E6100000F572A7F282C7314038F99B9E2A2A11C0 Wyl is the seat of House Wyl in Dorne. It is located east of the Boneway at the mouth of the Wyl river at the Sea of Dorne. https://awoiaf.westeros.org/index.php/Wyl%20(castle)
9 Stokeworth Castle 0101000020E610000027965EFC989733407812DFA0C1491440 Stokeworth, also known as Castle Stokeworth, is the seat of House Stokeworth in the Crownlands. The maester at Stokeworth is Frenken.\nIt lies north of Kings Landing, between Rosby and Duskendale. https://awoiaf.westeros.org/index.php/Stokeworth
13 Pinkmaiden Castle 0101000020E6100000C8D4F72DA1F829400836EEACE56A1E40 Pinkmaiden Castle, also known simply as Pinkmaiden, is the seat of House Piper in the southwestern riverlands. The castle is located on the Red Fork south of Riverrun, southeast of Acorn Hall, northwest of Stoney Sept, and northeast of Hornvale. https://awoiaf.westeros.org/index.php/Pinkmaiden%20Castle
17 Wickenden Castle 0101000020E61000002E6088147DA33540D82771C12A2E2240 Wickenden is the seat of House Waxley in the Vale of Arryn. The town is located on the northern shore of the Bay of Crabs, northwest of Crackclaw Point. It is famous for making scented beeswax candles. https://awoiaf.westeros.org/index.php/Wickenden
266 Blazewater Bay Region 0101000020E6100000EC7CAAAE9EBD1B401AE822EDB0C23340 Blazewater Bay is a large bay of the Sunset Sea along the western coast of the North. It sits north of Cape Kraken and south of the Rills. It extends east into the Saltspear, which is fed by the Fever River. Flints Finger is located along Blazewater Bay. https://awoiaf.westeros.org/index.php/Blazewater%20Bay
33 Mistwood Castle 0101000020E6100000DEE64ECFBF00374060FB67E62D710EC0 Mistwood is the seat of House Mertyns in the stormlands. It is located in the southern rainwood in Cape Wrath. The lords solar is found in the Tower of Owls. https://awoiaf.westeros.org/index.php/Mistwood
36 Grandview Town 0101000020E61000001732BCC09E48344080091C400BDFF2BF Grandview is the seat of House Grandison in the Stormlands. https://awoiaf.westeros.org/index.php/Grandview
39 Fawnton Town 0101000020E610000038E7B558069A324000A0C3C0B989ED3F Fawnton is the seat of House Cafferen in the stormlands. https://awoiaf.westeros.org/index.php/Fawnton
51 Cider Hall Castle 0101000020E6100000D05E3028B5E02940000584EB9ED0F4BF Cider Hall is the seat of House Fossoway of Cider Hall in the Reach. It is located near the confluence of the Cockleswhent and the Mander. https://awoiaf.westeros.org/index.php/Cider%20Hall
23 Sharp Point Castle 0101000020E6100000ECA968677ACE374078BD827AB5FA1640 Sharp Point is the seat of House Bar Emmon in the crownlands. The castle is located along the Gullet at the northern end of Masseys Hook, north of Stonedance. It has a large watchtower upon which a great fire burns atop. https://awoiaf.westeros.org/index.php/Sharp%20Point
54 Brightwater Keep Castle 0101000020E61000005062D143FAAE1F40909466D8621912C0 Brightwater Keep is the seat of House Florent in the Reach. It sits near the source of the Honeywine, north of Honeyholt, east of Bandallon, and southwest of the Mander. https://awoiaf.westeros.org/index.php/Brightwater%20Keep
44 Vulture's Roost Castle 0101000020E61000003C42221582B52D40D01BC01D733813C0 Vultures Roost is a ruined castle in northern Dorne. It lies near the source of the Wyl river deep in the Red Mountains. https://awoiaf.westeros.org/index.php/Vulture's%20Roost
47 Lort Harroway's Town Town 0101000020E6100000F839C654DCE130409838707681732340 Lord Harroways Town, called Harroway for short, is a town in the riverlands that sits along the Trident, upriver of the ruby ford. It is the seat of House Roote but is named after extinct House Harroway. https://awoiaf.westeros.org/index.php/Lord%20Harroway's%20Town
56 Honeyholt Castle 0101000020E6100000D7FECD3E194F2040F0DAD4EB8EB915C0 Honeyholt is the seat of House Beesbury in the Reach. It is situated along the eastern bank of the Honeywine river between Brightwater Keep and Oldtown. https://awoiaf.westeros.org/index.php/Honeyholt
267 Cape Kraken Region 0101000020E6100000915C74354C521340938E46294CAB3240 Cape Kraken is a cape in the North that lies south and west of Blazewater Bay and west of the Neck. https://awoiaf.westeros.org/index.php/Cape%20Kraken
288 Blackwater Bay Region 0101000020E6100000787C2F2A2D6336401801B9DBAD2A1440 Blackwater Bay is a large body of water along the crownlands in eastern Westeros. Kings Landing, the capital of the Seven Kingdoms, sits where the Blackwater Rush pours into the bay. "Waters" is a common bastard name around Blackwater Bay. https://awoiaf.westeros.org/index.php/Blackwater%20Bay
60 Uplands Castle 0101000020E610000045CF744C59D72340C01CABAA4E4B1BC0 Uplands is the seat of House Mullendore in the Reach. It is located east of Oldtown and west of the Red Mountains, along a river which flows west to the Honeywine. https://awoiaf.westeros.org/index.php/Uplands
25 Haystack Hall Castle 0101000020E61000003E36ED8BC4BD364080CCB4184CC9F83F Haystack Hall is the seat of House Errol in the stormlands. It is located east of the kingsroad, northeast of Bronzegate, and south of the kingswood. https://awoiaf.westeros.org/index.php/Haystack%20Hall
290 Straits of Tarth Region 0101000020E6100000548D3EF20FF03740C06C43B0C700D93F The Straits of Tarth lie between the island of Tarth and the mainland stormlands, north of Shipbreaker Bay. https://awoiaf.westeros.org/index.php/Straits%20of%20Tarth
263 Bay of Seals Region 0101000020E6100000038A40CB229E37408497F5E9C2544040 The Bay of Seals is a bay in the North that extends from beyond the Wall to the shores that fall under the domain of House Umber. The Nights Watch have a castle astride it, Eastwatch-by-the-Sea. The isle of Skagos is situated in it. https://awoiaf.westeros.org/index.php/Bay%20of%20Seals
146 Lorath Castle 0101000020E61000008C96660D271D424048D707E80E912D40 Lorath is one of the Nine Free Cities. It is situated in a group of islands in the Shivering Sea near the northern coast of Essos. https://awoiaf.westeros.org/index.php/Lorath
147 Qohor City 0101000020E6100000D23316E84E7A4640E8F7F0B63DFD1240 Qohor, also known as the City of Sorcerers, is the easternmost of the nine Free Cities located in western Essos. https://awoiaf.westeros.org/index.php/Qohor
85 Silverhill Castle 0101000020E61000009C4BB947A16B254040C9F3AC53100D40 Silverhill is the seat of House Serrett in the Westerlands. It is located in hilly and mountainous terrain south of Deep Den and northeast of Cornfield. A nearby river flows south past Goldengrove to the Mander. https://awoiaf.westeros.org/index.php/Silverhill
113 Stone Mill Landmark 0101000020E61000000A7BD7B1A1722A40C4510C4AE3132140 Stone Mill, also called the Stone Mill, is a crossing of the Red Fork of the Trident in the Riverlands. https://awoiaf.westeros.org/index.php/Stone%20Mill
89 Feastfires Castle 0101000020E6100000479ECC1E64CE164068FF93C134FD1340 Feastfires is the seat of House Prester in the westerlands. It is located at the southwestern tip of a peninsula in the Sunset Sea. The peninsula is west of Lannisport and south of Fair Isle. Feastfires is southwest of nearby Kayce. https://awoiaf.westeros.org/index.php/Feastfires
97 Banefort Castle 0101000020E61000005156A290E2CD20402C0F6878964F2440 Banefort is the seat of House Banefort in the northwestern westerlands. It is situated along the coast of the Sunset Sea north of the Crag, near the Iron Islands, and is only two days sail from Pyke. https://awoiaf.westeros.org/index.php/Banefort
101 Oldstones Ruin 0101000020E6100000DA150F610CA02B40BC06CB598BF42740 Oldstones is the name given to the remnants of an ancient castle in the northern riverlands that once belonged to House Mudd. Its original name has long been lost. The local smallfolk gave it its new name of "Oldstones". https://awoiaf.westeros.org/index.php/Oldstones
29 Griffin's Roost Castle 0101000020E610000076F31CB9F0D03540E0DEED2C8537F4BF <NAME> is the seat of House Connington in the Stormlands. It is a castle located between Storms End and Crows Nest in northwestern Cape Wrath. It is ruled by Red Ronnet Connington, the Knight of <NAME>. https://awoiaf.westeros.org/index.php/Griffin's%20Roost
106 Redfort Castle 0101000020E6100000D7EEEEE340AE354020E4A6DA42E62540 Redfort, also called the Redfort, is the ancient seat of House Redfort in the Vale. It is located in the south of the valley. It is southeast of the Eyrie, south of Ironoaks, and north of Wickenden. https://awoiaf.westeros.org/index.php/Redfort
111 Longbow Hall Castle 0101000020E61000007E697A3F20FD3740082278CF632B2D40 Longbow Hall is the seat of House Hunter in the Vale. It is located south of the Fingers, east of Hearts Home, and north of Old Anchor. It appears to be located in the foothills between a mountain range and the east of the valley. Willamen is the maester at Longbow Hall. https://awoiaf.westeros.org/index.php/Longbow%20Hall
120 The Twins Castle 0101000020E61000008D047D21E8982A40C8D3FF27FAF12C40 The Twins, sometimes known as the Crossing, is the seat of House Frey in the northern riverlands. It is a fortified crossing of the Green Fork of the Trident and consists of two identical castles and a tower in the middle of their bridge. It is one of the most formidable strongholds of the Seven Kingdoms. https://awoiaf.westeros.org/index.php/Twins
268 Saltspear Region 0101000020E61000002BA8CC57DD2B234012138ED6A5D63340 The Saltspear is a long inlet that opens into Blazewater Bay in the North. At its eastern end is the mouth of the Fever River, whose headwaters are in the Neck. Rivers from Barrowton and the lake by Torrhens Square flow south to the Saltspear. https://awoiaf.westeros.org/index.php/Saltspear
124 Sisterton Town 0101000020E6100000FB57BCFE74CD3240211CFD3201493240 Sisterton is a town located on Sweetsister, an island of the Three Sisters, in the Bite. The seat of House Borrell, it is considered the most notorious smugglers den in all of Westeros. https://awoiaf.westeros.org/index.php/Sisterton
134 Last Hearth Castle 0101000020E6100000E547E6542F5E3340F93828C082543F40 https://awoiaf.westeros.org/index.php/Last%20Hearth
77 Tall Trees Town Town 0101000020E6100000D5389A699B472940F0AB49A646F738C0 Tall Trees Town is a town in the Summer Isles located on the southwest coast of the island Walano. It is the home port of the Cinnamon Wind. https://awoiaf.westeros.org/index.php/Tall%20Trees%20Town
135 Karhold Castle 0101000020E61000003B6FCE296BA337409B647CE8A37F3D40 Karhold is a strong castle and the seat of House Karstark in the North. It is located in the eastern half of the North, south of the Bay of Seals, while further to the east are the Grey Cliffs. https://awoiaf.westeros.org/index.php/Karhold
139 Tyrosh City 0101000020E6100000D6E8C9F0F2823C401000003B9A7F0CC0 Tyrosh is a harbor city and one of the Free Cities. It sits on an island to the north of the Stepstones, just off the coast of the Disputed Lands of Essos. The ruler of Tyrosh is an archon chosen from among the members of a conclave of the wealthiest and noblest of the city. https://awoiaf.westeros.org/index.php/Tyrosh
265 The Rills Region 0101000020E61000006035EC9FA0531F4020C6465E6F053640 The Rills are a region along the west coast of the North, west of the Barrowlands and southwest of Winterfell. The Stony Shore forms the coast of the region, while the Wolfswood and Sea Dragon Point are located to the north. Blazewater Bay is to the south. http://gameofthrones.wikia.com/wiki/The_Rills
141 Pentos City 0101000020E610000015CF9A92C3203F40C002060106881240 Pentos is one of the Free Cities of western Essos. It is a port located on the eastern coast of the Bay of Pentos. https://awoiaf.westeros.org/index.php/Pentos
93 Hornvale Castle 0101000020E61000008DE7160CA71C264048CFA744A7C31740 Hornvale is the seat of House Brax in the eastern westerlands. It is situated in hilly and mountainous terrain near the headwaters of the Red Fork, south of the Golden Tooth and north of Deep Den and the Goldroad. https://awoiaf.westeros.org/index.php/Hornvale
115 Shandystone Ruin 0101000020E610000081B63651AB9E364080864BC1690C21C0 Shandystone is an abandoned holdfast in Dorne. It has fluted columns and triple arches. https://awoiaf.westeros.org/index.php/Shandystone
157 Queenscrown Ruin 0101000020E6100000B84AC50933273240909EAC45D4E44040 Queenscrown is an abandoned tower holdfast with a village west of the kingsroad in the Gift, south of the Wall. https://awoiaf.westeros.org/index.php/Queenscrown
163 Parchments Castle 0101000020E6100000B78D0C9EAF463840C09645BA766EF63F Parchments is the seat of House Penrose in the Stormlands. https://awoiaf.westeros.org/index.php/Parchments
289 Massey's Hook Region 0101000020E610000082DBDD6665B137406C3E4988205F1240 Masseys Hook is a peninsula in the crownlands that defines the eastern extent of Blackwater Bay. Ships must sail around in order to get to Kings Landing from the south. The Gullet separates Masseys Hook from Dragonstone and Driftmark to the north, while southwest of the peninsula are the kingswood and the Wendwater. Sharp Point, the seat of House Bar Emmon, sits at the northern end of the Hook. Farther south on the eastern shore lies Stonedance, the seat of House Massey, from which the land gets its name. https://awoiaf.westeros.org/index.php/Massey's%20Hook
219 Pendric Hills Landmark 0101000020E6100000DFC8F756FD5A224044EEFC98B6862140 The Pendric Hills are the site of a gold mine in the Westerlands. Their exact location has not been published. https://awoiaf.westeros.org/index.php/Pendric%20Hills
186 Torrhen's Square Castle 0101000020E61000007EF2C1D6B2BB2740A5A3CD39BA9A3840 Torrhens Square is a castle in the north and the seat of House Tallhart. It is located south of the wolfswood, southwest of Winterfell, and north of Barrowton, on the northern shore of a large lake. A river from the lake leads south to the Saltspear. https://awoiaf.westeros.org/index.php/Torrhen's%20Square
189 Ten Towers Castle 0101000020E6100000CA23E75F22432240C421970447462840 Ten Towers or the Ten Towers is the seat of House Harlaw on the eastern coast of the isle of Harlaw in the Iron Islands. https://awoiaf.westeros.org/index.php/Ten%20Towers
196 Qarth City 0101000020E61000000713A2E1F9FE5540CDF70899494B41C0 Qarth is an ancient port city located on the southern coast of Essos. It has been referred to as the Queen of Cities, a title also claimed by Yunkai in Slavers Bay. https://awoiaf.westeros.org/index.php/Qarth
200 Sentinel Stand Ruin 0101000020E6100000FED2AEE39AB530409ADF78B81D824140 Sentinel Stand is an abandoned castle along the Wall belonging to the Nights Watch. It lies west of the Shadow Tower and east of Greyguard. https://awoiaf.westeros.org/index.php/Sentinel%20Stand
206 Deep Lake Ruin 0101000020E61000007CBBCBAFA15A324056F81782F5744140 Deep Lake is a castle along the Wall. The castle was abandoned some time ago by the Nights Watch due to the orders manpower shortages. To the east of Deep Lake sits Queensgate and to the west is the Nightfort. https://awoiaf.westeros.org/index.php/Deep%20Lake
210 Sable Hall Ruin 0101000020E6100000CCDFA8CE52AE3340247109FD06604140 Sable Hall is a castle along the Wall abandoned by the Nights Watch. It is located between Woodswatch-by-the-Pool to the west and Rimegate to the east. https://awoiaf.westeros.org/index.php/Sable%20Hall
154 <NAME> Ruin 0101000020E6100000E47122652F304540200D7CFB685520C0 <NAME> is a ruined city of the Rhoynar that sits on the eastern bank of the Rhoyne to the north of Volantis in western Essos. Almost directly across the river to the west sits the city of Volon Therys. https://awoiaf.westeros.org/index.php/Sar%20Mell
171 Tolos City 0101000020E61000002AB2D504CA904D40EC269CD25F6F2AC0 Tolos is a port city in central Essos. https://awoiaf.westeros.org/index.php/Tolos
213 Torches Ruin 0101000020E61000001BDEEF2EEA6834409E786147DC554140 The Torches is a castle along the Wall abandoned by the Nights Watch. It is located between the Long Barrow to the west and Greenguard to the east. https://awoiaf.westeros.org/index.php/Torches
179 Old Ghis Ruin 0101000020E610000023EAD85CB3735040843FFA13DFB333C0 Old Ghis is a ruined city in Essos. It is located in southwestern Ghiscar, east across the Gulf of Grief from the Valyrian peninsula. As Ghis, it was the capital city of the Old Empire of Ghis. The ancient city was one of the oldest known cultures and nations in the world. Its founding and golden age predate that of its successor, Valyria, by thousands of years. https://awoiaf.westeros.org/index.php/Old%20Ghis
286 The Vale of Arryn (valley) Region 0101000020E6100000B1CB59EB34683640E283ACB906062B40 The Vale of Arryn is a fertile valley bordered by the Mountains of the Moon in eastern Westeros. The valley gives its name to the larger realm ruled by House Arryn, commonly called the Vale of Arryn, which includes the Mountains of the Moon, the Fingers, and islands in the Bite and the narrow sea. https://awoiaf.westeros.org/index.php/Vale%20of%20Arryn%20(valley)
287 Bay Of Crabs Region 0101000020E61000000F984FC30F4E38408FF645668AEF2440 The Bay of Crabs is a large bay that opens off the narrow sea. Its northern shore includes Gulltown and Wickenden in the Vale of Arryn. The mouth of the Trident at Saltpans and the Quiet Isle opens into the bay. Its southern shore includes Maidenpool in the Riverlands and the forests of Crackclaw Point in the Crownlands. https://awoiaf.westeros.org/index.php/Bay%20of%20Crabs
170 Elyria City 0101000020E6100000A3BD7DD95FDD4C40FCFC004AA7892BC0 Elyria is an island city of central Essos. It is located on a small island east of the Valyrian peninsula in Slavers Bay. To the east lies Tolos and to the west the Lands of the Long Summer. https://awoiaf.westeros.org/index.php/Elyria
182 Yeen Ruin 0101000020E610000047950A9B396C50403CEF5EC3F9FC40C0 Yeen is a ruined city on the Zamoyos in the continent of Sothoryos. To the north is Zamettar at the river delta. Enormous apes are said to live in the forests south of Yeen. https://awoiaf.westeros.org/index.php/Yeen
202 Stonedoor Ruin 0101000020E6100000D1F38342376A3140CA906D86E6864140 Stonedoor is a castle along the Wall, abandoned by the Nights Watch. To the west lies Greyguard and to the east Hoarfrost Hill. https://awoiaf.westeros.org/index.php/Stonedoor
246 Lord Hewett's Town Town 0101000020E6100000289D27373BBF1E40948E30D01CC2FEBF Lord Hewetts Town is a large town on the island of Oakenshield in the Reach. The seat of of House Hewett, it is twice as big as Lordsport. It contains a stone quay and a pier-lined harbor. Oakenshield Castle sits above the harbor. https://awoiaf.westeros.org/index.php/Lord%20Hewett's%20Town
223 Nagga's Bones Landmark 0101000020E6100000D3CD293066771A40BE55B77CEA422840 Nagga was a legendary sea dragon said to live during the Age of Heroes, and was slain by the Grey King. https://awoiaf.westeros.org/index.php/Nagga
255 Whitetree Town 0101000020E61000009CCF3CA4C92A32401124022B5AB44140 Whitetree is a small free folk village beyond the Wall. Its name comes from the giant weirwood tree that is located in its midst. https://awoiaf.westeros.org/index.php/Whitetree
216 Fist of the First Men Landmark 0101000020E61000004E85C9C6FE3D30405C8960FC329B4240 The Fist of the First Men is a hill found beyond the Wall in the haunted forest. https://awoiaf.westeros.org/index.php/Fist%20of%20the%20First%20Men
233 Hollow Hill Landmark 0101000020E610000037FAFA61EDCF2A4088A22D07EB141A40 The hollow hill is a cave in the riverlands which serves as the hidden base of the brotherhood without banners. https://awoiaf.westeros.org/index.php/Hollow%20hill
6 High Heart Ruin 0101000020E6100000F1930CFCBC792C40D0EAF4D8A1E72040 High Heart is a very tall hill sacred to the children of the forest in the riverlands. Around its crown stands a ring of thirty-one weirwood stumps. The hill is considered a safe place due to its relative height compared to the very flat surrounding land, making it nearly impossible to be approached unseen. https://awoiaf.westeros.org/index.php/High%20Heart
7 Duskendale Town 0101000020E610000076BA3B1B4AEB34404095A091655A1740 Duskendale is a large port town off the coast of Blackwater Bay. It is located northeast of Kings Landing and Rosby in the crownlands. Formerly ruled by the Darklyns, it is now the seat of House Rykker. https://awoiaf.westeros.org/index.php/Duskendale
8 Antlers Castle 0101000020E6100000BFEE5863FD993340784CABCB43421D40 Antlers, also called the Antlers, is the seat of House Buckwell in the Crownlands. It is located southwest of Maidenpool, west of Rooks Rest, and northwest of Duskendale and Rosby. https://awoiaf.westeros.org/index.php/Antlers
10 Harrenhal Castle 0101000020E610000028EBBA22A5E63040988DCC9C8DC22040 Harrenhal, the largest castle in the Seven Kingdoms, is the seat of House Whent in the riverlands, on the north shore of the Gods Eye lake. Since its burning by dragonfire in the War of Conquest, however, it has become a dark and ruinous place. \nThe castles holdings are some of the richest in Westeros, claiming vast tracts of green fertile land which reach as far as the hills of House Wode near the crownlands. Harrentown is found near Harrenhal. https://awoiaf.westeros.org/index.php/Harrenhal
253 The Dothraki Sea Region 0101000020E6100000DE66D5E76A9F4E4090F4FDD47869F4BF The Dothraki sea is a vast inland region of the continent of Essos, located east of the Free Cities, north of Slavers Bay, and west of the Bone Mountains. Its landscape of steppes and plains is home to the nomadic Dothraki equestrian people, who constantly battle each other and raid surrounding lands. https://awoiaf.westeros.org/index.php/Dothraki%20sea
4 Sow's Horn Castle 0101000020E61000006CD5DB4E36DB324010102CED44A91940 Sows Horn is the seat of House Hogg in the crownlands. It consists of a towerhouse made of stone whose walls are eight feet thick. It stands over land sworn to House Hayford. Sows Horn sits near the border between the crownlands and the riverlands and is near the lands of House Wode. https://awoiaf.westeros.org/index.php/Sow's%20Horn
11 Stoney Sept Town 0101000020E61000000795321158FD2B4030E1CC0E998C1840 Stoney Sept is a walled town in the southern Riverlands. It is located south of Acorn Hall, southeast of Pinkmaiden, and north of the Goldroad. The headwaters of the Blackwater Rush are nearby. https://awoiaf.westeros.org/index.php/Stoney%20Sept
12 Acorn Hall Castle 0101000020E610000027BCEEE40C1A2C40448F853CF6072040 Acorn Hall is the seat of House Smallwood in the Riverlands. It is located southeast of Riverrun, northeast of Pinkmaiden, and north of Stoney Sept. High Heart is nearby. https://awoiaf.westeros.org/index.php/Acorn%20Hall
86 Clegane Hall Castle 0101000020E61000007E660EBB6B512240882F803EC2361040 House Clegane is a knightly house that holds fealty to House Lannister of Casterly Rock, and are among their primary bannermen. The house was founded by the kennelmaster at Casterly Rock after he safed lord Tytos Lannister from a lioness. As a reward, the kennelmaster gained a towerhouse with land southeast of Lannisport. The sigil of house Clegane is three dogs on a yellow field, representing the three dogs that died defending lord Tytos. The kennelmaster´s son died in a hunting accident shortly after King <NAME> was crowned, leaving his son <NAME> as the lord of the Clegane lands. http://westeroscraft.wikia.com/wiki/Clegane_Hall
239 Sallydance Town 0101000020E610000024CF39C499662C4048EEFC98B6862140 Sallydance is a small village on the Red Fork in the Riverlands. Its sept has windows of leaded glass. It is four days travel from the keep of House Lychester. https://awoiaf.westeros.org/index.php/Sallydance
291 Shipbreaker Bay Region 0101000020E610000017256A019E43384090918ED132DCF3BF Shipbreaker Bay is a large bay in the stormlands along the eastern coast of Westeros. Rocky and frequented by storms, it is named after the large number of ships that have been destroyed in its waters. https://awoiaf.westeros.org/index.php/Shipbreaker%20Bay
128 Widow's Watch Castle 0101000020E61000005710ED4DEE383840E90971DFC8E63540 Widows Watch is the seat of House Flint of Widows Watch in the North. It is located at the end of a peninsula between the Shivering Sea and the Bite, east of Ramsgate and the Broken Branch. https://awoiaf.westeros.org/index.php/Widow's%20Watch
222 Hammerhorn Castle 0101000020E61000002AE209544A641840C5DCFF31BCB52740 Hammerhorn is the seat of the main line of House Goodbrother in the Iron Islands. The castle lies in the Hardstone Hills on Great Wyk. Its maester is Murenmure. https://awoiaf.westeros.org/index.php/Hammerhorn
14 Riverrun Castle 0101000020E6100000550E6C5615A02A40E4EA8A59E5FB2240 Riverrun is the ancestral castle of House Tully, the Lords Paramount of the Trident. It is situated in the western riverlands, at the confluence of the Tumblestone and Red Fork rivers. Riverrun is north of Pinkmaiden and northwest of Acorn Hall. The castle sits along the river road, an easy ride which links Lannisport and the crossroads. https://awoiaf.westeros.org/index.php/Riverrun
31 Greenstone Castle 0101000020E6100000DC58110B0DCC3840F8848D38A75710C0 Greenstone is the seat of House Estermont on the island of Estermont in the Stormlands. https://awoiaf.westeros.org/index.php/Greenstone
32 Weeping Tower Castle 0101000020E61000008D0E9E2D42DF36403845C81B5E5C12C0 The Weeping Town is a market town in the stormlands. Lying on the southern shore of Cape Wrath, along the Sea of Dorne, it has a thriving port which handles much of the stormlands trade. It contains a seat, possibly known as the Weeping Tower. It is ruled by House Whitehead. The town has stout wooden walls, peaked roofs, and crooked alleys. It is large enough to support three inns: the Broken Shield, the Loon, and the Drunken Dornishman. https://awoiaf.westeros.org/index.php/Weeping%20Town
34 Stonehelm Castle 0101000020E6100000A8324F4B6C0A3440B0192F99C9E109C0 Stonehelm is a castle in the stormlands and is the ancient seat of House Swann. Its watchtowers are made of black and white stone. The castle is situated in the Red Watch region of the eastern Dornish Marches, on Cape Wrath along the coast of the Sea of Dorne. It was built to oversee the Slayne, a major river route in the stormlands. https://awoiaf.westeros.org/index.php/Stonehelm
16 Darry Castle 0101000020E61000006F919AA6A560314074EB1DE4B2BD2240 For the river, see Darry (river)Darry or Castle Darry is the seat of House Darry in the riverlands. Though old, Darry is a relatively small castle. https://awoiaf.westeros.org/index.php/Darry
19 Rook's Rest Castle 0101000020E61000007C4B84958711364090601CC06B121D40 Rooks Rest is the seat of House Staunton in the Crownlands. It is located on the northern shore of Blackwater Bay, west of Crackclaw Point. It is northwest of Driftmark, northeast of Duskendale, and southeast of Maidenpool. https://awoiaf.westeros.org/index.php/Rook's%20Rest
20 Dyre Den Castle 0101000020E61000000CD1243B2FEB3740B81300CD025E2240 The Dyre Den is the seat of House Brune of the Dyre Den. It is located on Crackclaw Point in the Crownlands. It lies at the end of the road from Maidenpool, on a cliff overlooking the Bay of Crabs. It is a small castle with three crooked towers. https://awoiaf.westeros.org/index.php/Dyre%20Den
314 Sothoryos Region 0101000020E61000001DDAC525D77451400AF1A1822D7843C0 Sothoryos or Sothoros is one of the four known continents in the world. It lies to the southeast of Westeros and is south of Essos across the Summer Sea. East of Sothoryos is the southern Jade Sea. https://awoiaf.westeros.org/index.php/Sothoryos
315 Ibben Region 0101000020E6100000F8EC03E3B3B6474001B66A65A3E14140 Ibben (sometimes called Ib after its largest island) is an island nation in the Shivering Sea, which is the polar sea north of the eastern continent, Essos. The chief city of Ibben is the Port of Ibben, situated on the southern coast of its largest island, Ib. https://awoiaf.westeros.org/index.php/Ibben
295 Skagos Region 0101000020E61000003C80AC9C8129384037E38CB7233D4140 Skagos is a large island in the mouth of the Bay of Seals. In theory, the island is part of the north and subject to House Stark of Winterfell. However, the island has little contact with mainland Westeros and the Seven Kingdoms, and in practice they rule themselves. The name “Skagos” means “stone” in the Old Tongue. <NAME> The Edge of the World is the largest collection of tales regarding the island. It is believed that unicorns live on Skagos. The island has a dread reputation; even the hardened sailor Roro Uhoris feared to go there. https://awoiaf.westeros.org/index.php/Skagos
24 Stonedance Castle 0101000020E6100000738B75B357353840981305B65CCD1340 Stonedance is the seat of House Massey in the crownlands. It is located on the eastern shore of Masseys Hook along the narrow sea, south of Sharp Point. https://awoiaf.westeros.org/index.php/Stonedance
26 Bronzegate Castle 0101000020E6100000B64195605A0A3640004C3F52DEBFF43F Bronzegate is the seat of House Buckler in the stormlands. The castle is located on the kingsroad between the Wendwater and Storms End. Felwood is to the west and Haystack Hall is to the northeast. Bronzegate is supported by several small towns. https://awoiaf.westeros.org/index.php/Bronzegate
27 Felwood Castle 0101000020E61000009F395FCB954835408062710C1F61DB3F Felwood is the seat of House Fell in the Stormlands. It is located northwest of Storms End at the southern edge of the kingswood, south of the Wendwater. https://awoiaf.westeros.org/index.php/Felwood
264 Stony Shore Region 0101000020E6100000A00F2DBD158115400C25AC8B0C843840 The Stony Shore is a region along the western coast of the North. It is sparsely populated with some inhabitants living in fishing villages. https://awoiaf.westeros.org/index.php/Stony%20Shore
28 Storm's End Castle 0101000020E6100000762CFE5697B6364000EBCBA745FFE4BF Storms End is the seat of House Baratheon, the Lords Paramount of the Stormlands. The castle is located at Durrans Point on the northern coast of Shipbreaker Bay, south of Bronzegate and northeast of Griffins Roost. The kingsroad runs north from Storms End through the stormlands to Kings Landing, the capital of the Seven Kingdoms. One of the strongest castles in the realm, Storms End was once the ancestral seat of the Storm Kings of House Durrandon extending back many thousands of years. The castle is said to be protected by spells woven into its very walls that prevent magic from affecting it or passing through it. <NAME>, Lord of Storms End, is served by <NAME>. https://awoiaf.westeros.org/index.php/Storm's%20End
21 The Whispers Ruin 0101000020E6100000336393CA07953840A82A50762EF72040 The Whispers is the name given to a ruined castle in the Crownlands, the region controlled directly by the Iron Throne in Kings Landing. The castle is located north-east of Kings Landing at the very tip of Crackclaw Point. The Whispers are named for the eerie sound the sea makes as it crashes into the holes in the cliffs below the castle. http://gameofthrones.wikia.com/wiki/The_Whispers
30 Rain House Castle 0101000020E61000007C09734E080F3940E0C35D31FBE0FFBF The Rain House is the seat of House Wylde in the stormlands. It sits in the eastern rainwood along the southern shore of Shipbreaker Bay near the northeastern tip of Cape Wrath. https://awoiaf.westeros.org/index.php/Rain%20House
42 <NAME> Castle 0101000020E6100000EB8C0252395233409036DA087EAD18C0 Gh<NAME> is a small bleak island in the Sea of Dorne. Its crumbling, old castle has been used by the Martells as a prison for the vilest of criminals and traitors, who are sent there to waste away. It is considered a horrible place to be sent. https://awoiaf.westeros.org/index.php/Ghaston%20Grey
43 Yronwood Castle 0101000020E61000005DE1CBED77DF3040F056B25D90B41BC0 For the tree, see ironwood. Yronwood is the ancestral seat of House Yronwood in northern Dorne. The formidable castle sits at the southern end of the Boneway as a guardian against intruders. It is located along the Sea of Dorne near the mouth of a river whose source is to the west near Skyreach. https://awoiaf.westeros.org/index.php/Yronwood
38 Blackhaven Castle 0101000020E6100000519074910ADD314000976DA825D106C0 Blackhaven is the seat of House Dondarrion in the southwestern stormlands. Part of the Dornish Marches, it is located in the northern Red Mountains near the Dornish border, north of the Wyl and south of the Cockleswhent. The fortress guards against invasions from Dorne and from outlaws hiding in the mountains. https://awoiaf.westeros.org/index.php/Blackhaven
50 Quiet Isle Region 0101000020E6100000FF163B4C4D3A3340A8633114D5DC2140 The Quiet Isle is an upthrust island that sits at the mouth of the Trident where it flows into the Bay of Crabs, southeast of Saltpans and northwest of Maidenpool. Its septry is a refuge for those sworn to the Faith of the Seven. <NAME> has often visited the isle. https://awoiaf.westeros.org/index.php/Quiet%20Isle
52 Highgarden Castle 0101000020E610000033A4B3AE056E254030AC04B2E82406C0 Highgarden is a castle which serves as the seat of House Tyrell, the regional capital of the Reach, and the heart of chivalry in the Seven Kingdoms. It lies on the Mander and is where the Ocean Road meets the Roseroad, making it an important crossroads. <NAME> is the Lord of Highgarden. The castles household includes <NAME>, <NAME>, the master-at-arms Ser Vortimer Crane, and the fool Butterbumps. <NAME> is the captain of the castle guards. https://awoiaf.westeros.org/index.php/Highgarden
53 Horn Hill Castle 0101000020E6100000E3DE4DEC14992540381F325D44C311C0 Horn Hill is the seat of House Tarly in the Reach. Located on an eponymous hill, the castle lies south of Highgarden and a hundred leagues northeast of Oldtown among the thickly-wooded foothills of the Red Mountains. The Tarlys are marcher lords of the Dornish Marches. There is a pond that lies below the castle. Given the Tarly huntsman sigil and L<NAME>s threats to kill <NAME> while hunting, it may be surmised that the woods around Horn Hill are teeming with game. https://awoiaf.westeros.org/index.php/Horn%20Hill
55 Bandallon Castle 0101000020E6100000730DB0A5ADD0194008F875898FA611C0 Bandallon is the seat of House Blackbar in the Reach. It is located along the Sunset Sea, west of Brightwater Keep, northwest of Oldtown, and southwest of the Shield Islands. https://awoiaf.westeros.org/index.php/Bandallon
58 Blackcrown Castle 0101000020E610000053D3A8F26B671940A867B112E7F91CC0 Blackcrown is the seat of House Bulwer in the southwestern Reach. It is located on the northern shore of Whispering Sound near Oldtown and Three Towers. Blackcrowns maester is Normund. https://awoiaf.westeros.org/index.php/Blackcrown
49 Saltpans Town 0101000020E6100000085C5749572E334004D9658FF3322240 Saltpans is a town in the riverlands that sits on the Bay of Crabs. It is the seat of House Cox, although semi-canon sources indicate that House Hawick is also from the town. Saltpans has never been an important trading port but ships do call there from time to time. A small castle dominates the town, overlooking the harbor. https://awoiaf.westeros.org/index.php/Saltpans
57 Oldtown City 0101000020E61000009077684DBD021F40A8BC0D39F3481AC0 Oldtown is one of the largest and oldest cities in Westeros, built by the First Men before the Andal invasion. The city was constructed around the seat of House Hightower, called the Hightower, located in the center of the city. Oldtown is further home to the Citadel, and houses the Starry Sept, formerly the seat of the High Septon of the Faith of the Seven. https://awoiaf.westeros.org/index.php/Oldtown
48 Old Stone Bridge Inn Landmark 0101000020E610000063EF36AEEC653440E8922866A82A1440 The Old Stone Bridge is an inn next to an old stone bridge. It is a tall, timbered building on the road between Rosby and Duskendale in the crownlands. https://awoiaf.westeros.org/index.php/Old%20Stone%20Bridge
40 Grassy Vale Castle 0101000020E610000001922D317322314000C036E5CF76C63F Grassy Vale is a town controlled by House Meadows in the Reach. It sits along the northern shore of the Blueburn river, close to the border with the stormlands. Grassfield Keep, the castle of Lord Elwood Meadows, is located in or near Grassy Vale. https://awoiaf.westeros.org/index.php/Grassy%20Vale
45 Nightsong Castle 0101000020E61000004E3402152F392B407034C966071711C0 Nightsong is the seat of House Caron. The formidable castle is located in the Dornish Marches in the southwestern stormlands, north of the Princes Pass and the Red Mountains. The castle is known for its Singing Towers. https://awoiaf.westeros.org/index.php/Nightsong
46 Ashford Castle 0101000020E61000001C081B62404C2D4080B5AAA6DAA2FDBF Ashford is the seat of House Ashford in the Reach. Ashford Castle and its town sit on the northern shore of a fording of the Cockleswent, north of the Dornish Marches. The town has whitewashed houses with thatched roofs. Nearby Ashford Castle is built in the shape of a triangle, with round towers thirty feet tall at each point. Between the towers run thick crenellated walls. https://awoiaf.westeros.org/index.php/Ashford
129 Hornwood Castle 0101000020E610000043EB50A3E8FA3240AED14ECD76EB3840 Hornwood is a castle in the north and the seat of House Hornwood. The castle is located in the Hornwood forest near the northwestern edge of the Sheepshead Hills, which are within the dominion of House Manderly, and the Hornwood lands also neighbor those of House Bolton to the north. Medrick serves as maester at the castle to Lord Halys Hornwood. https://awoiaf.westeros.org/index.php/Hornwood
79 Bitterbridge Castle 0101000020E6100000071330AC08D72C404023E64EB88EE73F Bitterbridge, formerly known as Stonebridge, is the seat of House Caswell in the Reach. It is situated where the river Mander meets the Roseroad. It takes its name from an ancient stone bridge that crosses the Mander. The castle is small, made of stone and timber. The keep is not that tall, but the land is low and flat and makes it seem taller. https://awoiaf.westeros.org/index.php/Bitterbridge
83 Crakehall Castle 0101000020E61000000334D9EE942B1A4010E2377EA75F0240 Crakehall or Crakehall Castle is the seat of House Crakehall in the southwestern westerlands. It is located on the Searoad along the Sunset Sea, south of Lannisport and north of Old Oak. Cornfield and Red Lake are east of Crakehall. There is a large forest in the vicinity of the castle. https://awoiaf.westeros.org/index.php/Crakehall
84 Cornfield Castle 0101000020E61000001FB8F8A1A61521401012E97275280740 Cornfield is the seat of House Swyft in the Westerlands. It is located southeast of Casterly Rock, east of Crakehall, and northwest of Red Lake. https://awoiaf.westeros.org/index.php/Cornfield
176 Yunkai City 0101000020E6100000CE8DB25064765040541CEE11DE7D26C0 Yunkai, dubbed the Yellow City, is one of the Slaver Cities on the eastern coast of Slavers Bay in central Essos. To the west lies the island of Yaros. Yunkai is one hundred leagues north of Astapor and fifty leagues south of Meereen. The citys main export is slaves, specifically bed slaves. https://awoiaf.westeros.org/index.php/Yunkai
62 Blackmont Castle 0101000020E6100000E189F1C5084A2840F00A86E05C821AC0 Blackmont is the seat of House Blackmont in Dorne. It is near the confluence of two rivers which form the Torentine, north of High Hermitage and Starfall in the western Red Mountains. https://awoiaf.westeros.org/index.php/Blackmont
66 Skyreach Castle 0101000020E6100000600A678C76532C408853401EBF291DC0 Skyreach is the seat of House Fowler in Dorne. It is located at the southern end of the Princes Pass, south of Kingsgrave and near a river that flows east to Yronwood. https://awoiaf.westeros.org/index.php/Skyreach
65 Sandstone Castle 0101000020E6100000705BBEE8E3552B40B0A902CB7FDC22C0 Sandstone is the seat of House Qorgyle. It lies west of the Hellholt and the Brimstone in the western desert of Dorne. https://awoiaf.westeros.org/index.php/Sandstone
68 Hellholt Castle 0101000020E61000009FF662F73A333040E83461DA2E4822C0 Hellholt, also called the Hellholt, is a castle and the seat of House Uller in southern Dorne. It is located near the source of the river Brimstone, east of Sandstone and west of Vaith. The Hellholt is a grim, stinking castle. https://awoiaf.westeros.org/index.php/Hellholt
69 Vaith Castle 0101000020E6100000335978945365344044AA95554D9E22C0 Vaith is the seat of House Vaith in Dorne. It lies on the river Vaith. There is a town beneath its walls. West of Vaith are the deep sands of Dorne. https://awoiaf.westeros.org/index.php/Vaith
71 Godsgrace Castle 0101000020E61000007B25EED66D783540E0E8345DFB1521C0 Godsgrace is the seat of House Allyrion in Dorne. It lies near the junction between the Vaith, the Scourge and the Greenblood rivers. https://awoiaf.westeros.org/index.php/Godsgrace
82 Old Oak Castle 0101000020E6100000E1DD56B3ED581D4000D6882C082FC8BF Old Oak is the seat of House Oakheart. It is located in the west of the Reach near the Sunset Sea, along the Ocean Road which links Highgarden and Lannisport. Old Oaks maester is Omer. https://awoiaf.westeros.org/index.php/Old%20Oak
75 Sunspear Castle 0101000020E6100000C8BB8D316C9738409049655924DA21C0 Sunspear, also known as the Old Palace, is the seat of House Nymeros Martell and the capital of Dorne. The castle is located on the Broken Arm, north of the Greenblood on the far southeastern coast of Westeros and is surrounded on three sides by the sea, and by the shadow city on the fourth side. The palace of the Water Gardens lies three leagues away on the coastal road. https://awoiaf.westeros.org/index.php/Sunspear
72 The Tor Castle 0101000020E6100000A458E50986A334408853401EBF291DC0 The Tor is the seat of House Jordayne in Dorne. It is located on the southern shore of the Sea of Dorne, north of the Scourge. https://awoiaf.westeros.org/index.php/Tor
76 Planky Town Town 0101000020E61000005AA9D5DCAC0C384020708EA20B3522C0 The Planky Town is a trading town that lies at the mouth of the Greenblood in Dorne, near Lemonwood. It has a harbor that sees trading vessels. The orphans of the Greenblood trade with merchants from across the narrow sea at the Planky Town. https://awoiaf.westeros.org/index.php/Planky%20Town
80 Goldengrove Castle 0101000020E6100000EC236AE91E8D25404023E64EB88EE73F Goldengrove is the seat of House Rowan. It is located east of Red Lake in the northern portion of the Reach. Goldengrove is situated along a river which flows from the hills near Silverhill south to Highgarden. https://awoiaf.westeros.org/index.php/Goldengrove
64 Starfall Castle 0101000020E6100000D2A0416F34E326406039F92E9B5620C0 Starfall is a castle in Dorne and is the ancestral seat of House Dayne. It is located in the western Red Mountains on an island in the Torentine where it pours into the Summer Sea. Starfall, which includes a tower called the Palestone Sword, guards the western arm of Dorne. Northeast of Starfall is High Hermitage, the seat of a Dayne cadet branch. https://awoiaf.westeros.org/index.php/Starfall
73 Ghost Hill Castle 0101000020E6100000B1B3579CA7D53740E0DBBF786ACC1DC0 Ghost Hill is the seat of House Toland in Dorne. It lies on the southern shore of the Sea of Dorne, near the Broken Arm.\nThe castle has chalk-white walls that shine against the deep blue of the Sea of Dorne. https://awoiaf.westeros.org/index.php/Ghost%20Hill
78 Longtable Castle 0101000020E6100000379E8EBBB7422C4000073A21D6F7CCBF Longtable is the seat of House Merryweather in the Reach. It sits along the Mander near its confluence with the Blueburn. https://awoiaf.westeros.org/index.php/Longtable
102 The Bloody Gate Castle 0101000020E6100000A8CB37DA2ADE33408C2F40CDA8562740 Knight of the Gate or Knight of the Bloody Gate is the title held by the commander of the Bloody Gate, a stronghold located in the Mountains of the Moon to guard entry to the Vale of Arryn. Like the Keeper of the Gates of the Moon, the title is not hereditary and is chosen by the Lord of the Eyrie.\nThe Knight of the Gate traditionally asks the question, "Who would pass the Bloody Gate?" to all who would pass through. The current Knight of the Gate, <NAME>, wears heavy plate and helm. https://awoiaf.westeros.org/index.php/Knight%20of%20the%20Gate
104 Strongsong Castle 0101000020E61000008100E8ACAB4E3240D8110CA5DAA72B40 Strongsong is the seat of House Belmore in the Vale of Arryn. It is situated near a series of lakes within the Mountains of the Moon; a nearby glacial river flows east through a valley to Hearts Home. The Eyrie is to the southeast. According to semi-canon sources, Strongsong is within the southernmost river valley of the snakewood forest. https://awoiaf.westeros.org/index.php/Strongsong
87 Tarbeck Hall Ruin 0101000020E6100000832F419A281D1C4008A6DACE7B101040 Tarbeck Hall is a ruined castle in the westerlands, located near Castamere and the Crag. It was the seat of ancient House Tarbeck. https://awoiaf.westeros.org/index.php/Tarbeck%20Hall
140 Myr City 0101000020E61000002EFDC3184FD940401012608D4BB904C0 Myr is one of the Free Cities of western Essos. It sits on the eastern shore of the Sea of Myrth. https://awoiaf.westeros.org/index.php/Myr
143 Norvos City 0101000020E6100000D3774F742E28434038EEFC98B6862140 Norvos, called Great Norvos by its people, is one of the nine Free Cities. It lies in the interior of Essos, between Pentos and Qohor. https://awoiaf.westeros.org/index.php/Norvos
103 The Eyrie Castle 0101000020E610000068900A124EF133406C54B076276C2840 The Eyrie is an ancient castle and seat of House Arryn, one of the oldest lines of Andal nobility, within the Vale of Arryn. It is situated in the Mountains of the Moon astride the peak known as the Giants Lance, several thousand feet above the valley below. Although small compared to the seats of other Great Houses in Westeros, the Eyrie is considered impregnable to attack. During winter years, the Arryns seek refuge against the cold at the base of the mountain in the Gates of the Moon. https://awoiaf.westeros.org/index.php/Eyrie
90 Kayce Town 0101000020E610000027C33CC8E2E317402049741432281640 Kayce is the seat of House Kenning of Kayce in the westerlands. The castle and town are located on a peninsula south of Fair Isle and west of Casterly Rock. Feastfires is located nearby to the southwest. https://awoiaf.westeros.org/index.php/Kayce
100 Fairmarket Town 0101000020E6100000B87360A8319B2D40CC5722B6F8F62640 Fairmarket is a town in the riverlands on the Blue Fork of the Trident. It is located mostly on the southern shore of the Blue Fork, but it has a wooden bridge that spans the river. Fairmarket is modestly sized and is five days travel from the Whispering Wood. https://awoiaf.westeros.org/index.php/Fairmarket
91 Sarsfield Castle 0101000020E61000008FDDFBD5F2EC2140E0F1CBC3EFD11940 Sarsfield is the seat of House Sarsfield in the Westerlands. It is situated along the River Road, northeast of Casterly Rock and southwest of the Golden Tooth. https://awoiaf.westeros.org/index.php/Sarsfield
96 The Crag Castle 0101000020E61000005156A290E2CD20402C64C49EA29E2140 The Crag is the seat of House Westerling in the westerlands. It is more of a ruin than a castle as the Westerlings no longer have the funds to maintain it. It sits along the coast of the Sunset Sea, south of Banefort, northwest of Ashemark, and northeast of Fair Isle. https://awoiaf.westeros.org/index.php/Crag
92 Deep Den Castle 0101000020E6100000DCD2128DB18A2640B04D0C699E361440 Deep Den is the seat of House Lydden in the eastern Westerlands. It is located in hilly and mountainous terrain east of Lannisport, with Hornvale to the north and Silverhill to the south. The Goldroad passes nearby. https://awoiaf.westeros.org/index.php/Deep%20Den
275 Summer Sea Region 0101000020E61000001C0AAFFC09313D4079B2DF8EF57634C0 The Summer Sea is a body of water located south of Dorne. It stretches eastward from Westeros around the southern coast of Essos and the northern coast of Sothoryos. West of the Summer Sea is the Sunset Sea. Just east of Dorne, the Summer Sea is separated from the narrow sea to the north by the island chain known as the Stepstones. South of Westeros and the Stepstones are the Summer Islands. East of the Summer Islands are Naath, Sothoryos, and the Basilisk Isles. North of those locations are the Valyrian peninsula, the Gulf of Grief, and Slavers Bay. The eastern Summer Sea meets the Jade Sea at the Jade Gates in the north and the Cinnamon Straits in the south. https://awoiaf.westeros.org/index.php/Summer%20Sea
95 Castamere Ruin 0101000020E6100000B1B88B2C74D72040C80D0CC495CA1E40 Castamere is a ruined castle located south of the Crag and west of Ashemark in the northwestern westerlands; also nearby is Tarbeck Hall. The former seat of House Reyne, Castamere contains gold and silver mines. https://awoiaf.westeros.org/index.php/Castamere
99 Stone Hedge Castle 0101000020E6100000C8367A40EC682E40C0C3CE8530DF2240 Stone Hedge, sometimes called the Stone Hedge, is the seat of House Bracken in the riverlands. There is a village surrounding it. Stone Hedge is located south of the Red Fork and the Inn of the Kneeling Man, north of High Heart and Acorn Hall, and east of Riverrun. Blackwood Vale, home to the Brackens rivals from House Blackwood, is located across the Red Fork to the north. https://awoiaf.westeros.org/index.php/Stone%20Hedge
271 Ironman's Bay Region 0101000020E6100000723726D8A7252740E2946251F5152840 Ironmans Bay is a large bay of the Sunset Sea on the western coast of Westeros. It is named after the ironmen or ironborn, the inhabitants of the nearby Iron Islands. The southern shore of Ironmans Bay lies along the northern westerlands, which includes the castle of Banefort. It extends to the east along the western riverlands; Seagard is built along the eastern shore. The northern shore of Ironmans Bay is the Cape of Eagles in the riverlands or Cape Kraken in the North. In the latter case the northwest of Ironmans Bay would also stretch along the west of the Neck and the Flint Cliffs. The bay is populated by cod, black cod, monkfish, skate, icefish, sardines, and mackarel. https://awoiaf.westeros.org/index.php/Ironman's%20Bay
94 Wayfarer's Rest Castle 0101000020E61000001C6DB7B14EF62740C8593841C9FC1F40 Wayfarers Rest is the seat of House Vance of Wayfarers Rest in the Riverlands. https://awoiaf.westeros.org/index.php/Wayfarer's%20Rest
98 Ashemark Castle 0101000020E61000002004251FDA4722403C8F853CF6072040 Ashemark is the castle of House Marbrand in the Westerlands. Located in hilly terrain, the castle is situated southeast of the Crag, northwest of the Golden Tooth, and north of Sarsfield. https://awoiaf.westeros.org/index.php/Ashemark
110 Gulltown City 0101000020E61000003E54E3355DA93840BCCDE9BBE40E2740 Gulltown is the major port city of the Vale of Arryn. It is located in a fine natural harbor at the northern tip of the Bay of Crabs, southeast of the Eyrie and south of nearby Runestone. It is the largest city in the Vale, but is much smaller than Oldtown and Kings Landing.\nGulltown is ruled by House Grafton and also contains a cadet branch of the Vales rulers, House Arryn of Gulltown. According to semi-canon sources, there are branches of House Shett in or near the city. https://awoiaf.westeros.org/index.php/Gulltown
118 Coldwater Castle 0101000020E6100000183D678BAAE735400ADBE5FF95A13040 Coldwater Burn or Coldwater is the seat of House Coldwater in the Vale. It is located near the mouth of a river west of the Fingers. The castle of Snakewood is nearby beyond a mountain range to the south. According to semi-canon sources, Coldwater is within the northernmost glacial river valley of the snakewood forest. https://awoiaf.westeros.org/index.php/Coldwater%20Burn
107 Ironoaks Castle 0101000020E6100000CEE2B384DD9F36409C18F0237DBD2840 Ironoaks, also known as Ironoaks Castle, is the seat of House Waynwood in the Vale of Arryn. It is located east of the Eyrie and west of Old Anchor and is situated by a lake. A river runs east from the lake to the narrow sea. https://awoiaf.westeros.org/index.php/Ironoaks
112 Palisade Village Town 0101000020E6100000D29FB7B0828A31400C6DB9BFBB4A2640 Palisade Village (also called Steepstream) is a small village in the foothills of the Mountains of the Moon. The village is situated a little north of the village of Sweetwillow, and it is almost directly north of Lord Harroways Town. No specific house directly rules over it, but its allegiance lies with House Arryn. http://westeroscraft.wikia.com/wiki/Palisade_Village
125 Oldcastle Castle 0101000020E61000003C6D5308382132401810C2D39D3A3340 Oldcastle is the seat of House Locke in the North. It lies on the northern shore of the Bite, southeast of White Harbor and north of the Three Sisters. https://awoiaf.westeros.org/index.php/Oldcastle
127 Ramsgate Castle 0101000020E610000091480F604034354020261869B5783640 Ramsgate is a castle in the North owing allegiance to House Manderly. It is located at the mouth of the Broken Branch river, west of Widows Watch and east of White Harbor. https://awoiaf.westeros.org/index.php/Ramsgate
172 Ghozai Ruin 0101000020E6100000BE977D9B89584E40286CE4D0F08B2EC0 Ghozai is a ruined slaver port city on the Isle of Cedars. It lies on the northern coast of the island, facing Slavers Bay. https://awoiaf.westeros.org/index.php/Ghozai
122 Greywater Watch Castle 0101000020E61000007BEC0663217C2C40620BFE7DAA033140 Greywater Watch, also known as Greywater, is the seat of House Reed in the North. It is roughly located in an eastern headwater of the Green Fork in the swamps of the Neck, southwest of Moat Cailin. It is a castle built upon a crannog, one of the man-made floating islands of the swamps, and it does not stay in the same place, making it impossible for ravens or enemies to find. According to Meera Reed, there is no maester there, nor any knights or masters-at-arms. https://awoiaf.westeros.org/index.php/Greywater%20Watch
116 Tower of Joy Ruin 0101000020E610000080446E3FB8BC2C40F08EA86E5B8714C0 The tower of joy or Tower of Joy was a round tower in the northern edge of the Red Mountains of Dorne. It lay in the Princes Pass, with Kingsgrave to the south and Nightsong to the north. https://awoiaf.westeros.org/index.php/Tower%20of%20joy
117 Snakewood Castle 0101000020E6100000589E2A12A16D3640D8E2453DE8F12E40 Snakewood is the seat of House Lynderly in the Vale. It sits west of the southernmost of the Fingers, along the mountainous northern shore of a bay of the narrow sea. Nearby castles are Coldwater to the north and Hearts Home to the southwest. According to semi-canon sources it is part of the snakewood forest. https://awoiaf.westeros.org/index.php/Snakewood
108 Old Anchor Castle 0101000020E61000006ECCF6657FC837405C03591ABA692940 Old Anchor is the seat of House Melcolm in the Vale of Arryn. It is located east of Ironoaks where a river flows into the narrow sea. Longbow Hall is to the north and Runestone is to the south across a bay of the narrow sea. https://awoiaf.westeros.org/index.php/Old%20Anchor
109 Runestone Castle 0101000020E6100000D5BF287C4EF838405CDDC25BA0D02840 Runestone is the seat of House Royce in the Vale of Arryn. It lies on a peninsula north of the Bay of Crabs, east of Redfort and south of Old Anchor. While Runestone is on the northern shore of the peninsula, the nearby city of Gulltown is on the southern shore. Helliweg is the maester at Runestone. https://awoiaf.westeros.org/index.php/Runestone
278 Sea of Myrth Region 0101000020E61000003392FC9ADE4B3F4070B3A000738900C0 The Sea of Myrth is a large sea that is situated along the western coast of Essos. To the north lies the Flatlands, the south the Disputed Lands and to the west, the narrow sea. Myr sits along its eastern shore. https://awoiaf.westeros.org/index.php/Sea%20of%20Myrth
281 The Smoking Sea Region 0101000020E610000058F384DDD3A34A4002032DF8A63733C0 The Smoking Sea is the place where the sea flooded into the shattered remnant of the Valyrian peninsula after the Doom of Valyria. Filled with volcanoes and smoking stacks of rock, it is said to boil in places and to be haunted by demons. https://awoiaf.westeros.org/index.php/Smoking%20Sea
276 Narrow Sea Region 0101000020E6100000C0D9BAA9DCB53B40E050D97B41FD0C40 The narrow sea is the sea between the continent of Westeros to its west and the continent of Essos to its east. The sea is relatively narrow and easy to cross, but large enough to make large-scale invasions and military incursions between the Seven Kingdoms and the Free Cities difficult. There is regular trade across the narrow sea between the two continents. The narrow sea can be rough in autumn, when storms are common. In winter, the storms are worse but less frequent. The stormlands are especially hit hard by storms which develop in the warmer waters of the Summer Sea to the south. It is suggested that a journey from the Shield Islands to the far side of the narrow sea is so hazardous in autumn that two-thirds of a fleet might be lost in the attempt. Trading galleys are sometimes better off crossing in the safety of the Stepstones.\nWesterosi nobles—such as <NAME>, <NAME>, <NAME>, and <NAME>—are sometimes fostered or seek refuge in the cities across the water. https://awoiaf.westeros.org/index.php/Narrow%20sea
119 Seagard Castle 0101000020E61000000D688CD214262A40289E90C924972A40 Seagard is a town and castle in the northern riverlands. It is the seat of House Mallister. Located on the western coast along Ironmans Bay, Seagard is sheltered by the Cape of Eagles and is nestled near the headwaters of the Blue Fork. It is southwest of the Twins and northwest of Oldstones. https://awoiaf.westeros.org/index.php/Seagard
279 The Disputed Lands Region 0101000020E61000004A508A2FE584414030E0F7089F0D15C0 The Disputed Lands is a region of southwestern Essos. It has long been contested between the Free Cities of Lys, Myr, and Tyrosh, often involving skirmishes and small wars. https://awoiaf.westeros.org/index.php/Disputed%20Lands
114 Water Gardens Landmark 0101000020E610000018943ED3E9B83840700F5EA6E27021C0 The Water Gardens are a palace with gardens and waterworks that serves as a private retreat to House Martell, the rulers of Dorne. https://awoiaf.westeros.org/index.php/Water%20Gardens
142 <NAME> Ruin 0101000020E6100000B5F11B44B98C41405097ECBB9B611640 <NAME> is a ruined city in the Velvet Hills of Essos, north of the Flatlands and east of Pentos. It lies on the banks of the Little Rhoyne, west of its confluence with the Rhoyne. https://awoiaf.westeros.org/index.php/Ghoyan%20Drohe
136 Castle Black Castle 0101000020E61000003F3F1D359DDA324098095F01F8714140 Castle Black is an ancient stronghold and is the headquarters of the Nights Watch. The castle is situated along the Wall between Queensgate to the west and Oakenshield to the east, near the center of the Wall, at the northern end of the kingsroad. The village of Moles Town is located half a league to the south along the kingsroad.\nDespite there being nineteen strongholds along the Wall, Castle Black is one of only three still manned by the Nights Watch, the others being the Shadow Tower and Eastwatch-by-the-Sea. The castle once held over five thousand men, but it now currently holds about six hundred brothers. https://awoiaf.westeros.org/index.php/Castle%20Black
138 Lys City 0101000020E610000003BFC4E87DB13F408C7A106206FE21C0 Lys, known as Lys the Lovely, and according to semi-canon sources as the Perfumed Sister, is one of the nine Free Cities of Essos. It is a small city clinging to rocks surrounded by stormy seas. The city lies off the coast of the Disputed Lands, to the southeast of Tyrosh and to the west of Volantis. <NAME> usually uses "Lyseni" as a noun, both singular and plural, and "Lysene" as an adjective. https://awoiaf.westeros.org/index.php/Lys
137 Shadow Tower Castle 0101000020E6100000B9D802CEE55B3040DCF0BF37207F4140 The Shadow Tower is one of three castles along the Wall that are still inhabited by the Nights Watch. It is located next to mountains at the western end of the Wall. It lies west of Sentinel Stand and east of Westwatch-by-the-Bridge, both abandoned castles.\nThe Shadow Tower is commanded by <NAME> and its maester is Mullin. Two hundred men of the Watch are stationed at the Shadow Tower. Most wear leather and fur, although some are armored with bronze or steel. Some are armed with longaxes and eight-foot spears. Free folk sometimes descend into the Gorge to bypass the Shadow Tower. https://awoiaf.westeros.org/index.php/Shadow%20Tower
131 Cerwyn Castle 0101000020E61000009C3959F5EF312D401D0A9DE04F0F3A40 House Cerwyn of Cerwyn is a noble house from the north. They are one of the closest bannermen to the Starks, Castle Cerwyn being just a half days ride from Winterfell, and are among the most powerful as well. Their blazon is a black battle-axe on silver. Their words do not appear in the books, but according to semi-canon sources, they are «Honed and Ready». https://awoiaf.westeros.org/index.php/House%20Cerwyn
132 Winterfell Castle 0101000020E6100000DC7486BDCC1E2D4025754F9C739C3A40 Winterfell is the ancestral castle and seat of power of House Stark and is considered to be the capital of the north. It is located in the center of the northernmost province of the Seven Kingdoms, on the kingsroad that runs from Storms End to the Wall. It is situated at the eastern edge of the wolfswood, north of the western branch of the White Knife and Castle Cerwyn. Winterfell is south of the northern mountains and southwest of Long Lake, one hundred leagues (three hundred miles) southeast of Deepwood Motte. https://awoiaf.westeros.org/index.php/Winterfell
144 Evenfall Hall Castle 0101000020E6100000F7EECF24A6CC384000651ED4AF5CD13F Evenfall Hall is the seat of House Tarth in the Stormlands. It is located on the western coast of the island of Tarth along Shipbreaker Bay. https://awoiaf.westeros.org/index.php/Evenfall%20Hall
133 Deepwood Motte Castle 0101000020E61000001A7DF7DA50512540B333D1DFC15B3D40 Deepwood Motte, sometimes called simply Deepwood, is the seat of House Glover in the North. It is a wooden motte-and-bailey castle. It lies in the northern wolfswood, east of Sea Dragon Point. North of Deepwood Motte lie tidal flats leading to the Bay of Ice. Deepwood is five leagues south of the sea and one hundred leagues (three hundred miles) northwest of Winterfell. https://awoiaf.westeros.org/index.php/Deepwood%20Motte
284 Jade Sea Region 0101000020E610000096C86942ACC0564034F41CD7943F41C0 The Jade Sea is a large body of water located in the far east of the explored world, beyond the Jade Gates, which separate it from the Summer Sea. https://awoiaf.westeros.org/index.php/Jade%20Sea
130 The Dreadfort Castle 0101000020E6100000A3861BDD20EA3340A4248BCAD35B3B40 For the seat of House Baelish, see Drearfort. The Dreadfort is a fortress in the north and the seat of House Bolton in northeastern Westeros. Located on the banks of the upper Weeping Water, it is southeast of the Lonely Hills and north of the Sheepshead Hills. The Dreadfort is north of Hornwood, south of Last Hearth, and southwest of Karhold. https://awoiaf.westeros.org/index.php/Dreadfort
282 Gulf of Grief Region 0101000020E61000008DD8B43088C54E405C3CB0A5870937C0 The Gulf of Grief is a large gulf that is fed by Slavers Bay off the southern coast of Essos and in turn empties into the Summer Sea to the south. The Isle of Cedars is located between the gulf and the bay.\nAlong the Gulf of Griefs western shore are the Lands of the Long Summer, the Smoking Sea, and the remnants of the Valyrian peninsula. Along its eastern shore is Ghiscar with the ruined city of Old Ghis. The Ghiscari Strait separates Ghiscar from Ghaen and the island city of New Ghis. https://awoiaf.westeros.org/index.php/Gulf%20of%20Grief
153 <NAME> Town 0101000020E6100000A423AABDC5F6444000F90A07418520C0 <NAME> is a town in Essos on the west bank of the Rhoyne. Almost directly across the river to the east lies the ruined Rhoynar city Sar Mell. To the north is Valysar, the Orange Shore is to the west, and Volantis is to the south along the Rhoyne. The town has been under the authority of Volantis since the years of expansion under the tiger triarchs. Volon Therys is a walled town, so large that it would be considered a city in the Seven Kingdoms. The towns walls are high and white. There is a long, chaotic riverfront which handles timber shipped from Qohor. https://awoiaf.westeros.org/index.php/Volon%20Therys
155 Volantis City 0101000020E6100000F7CD248CA8D1454020928916436D22C0 Volantis, often called Old Volantis and the First Daughter, is a city in southwestern Essos. Located at the mouth of the Rhoyne on the Summer Sea, it is the oldest and the proudest of the Nine Free Cities. Volantis is one of the greatest, richest, and most powerful of these city-states, and was once the most populous. https://awoiaf.westeros.org/index.php/Volantis
160 Tumbledown Tower Ruin 0101000020E6100000F61D45F6D0612C401424F83F069A3B40 Tumbledown Tower is an ancient watchtower in the wolfswood in the north that has been abandoned for a long time. The stones that make the tower have fallen from their places and are overgrown with moss and ivy. The vault still stands, and there are no villages nearby. https://awoiaf.westeros.org/index.php/Tumbledown%20Tower
151 Selhorys Town 0101000020E6100000AC557BDB429E4440080DA6090C6115C0 Selhorys is a walled town located at the confluence of the Selhoru and the lower Rhoyne in western Essos. It lies north of Valysar, northwest of Volantis, and south of Chroyane. https://awoiaf.westeros.org/index.php/Selhorys
162 Pennytree Town 0101000020E6100000FB0D05CDCE062F40000B37AD70DA2140 Pennytree is a village in the riverlands, located north of the Red Fork in the disputed border area between Stone Hedge and Raventree Hall. The surrounding lands have frequently changed hands in the ongoing conflict between House Bracken and House Blackwood. Pennytree is situated near the Widows Wash between two grassy hills known as the Teats. It is named for a huge old oak tree that grows by the duck pond, to which hundreds of copper pennies have been nailed. The village holdfast, as strong as any in the riverlands, has thick stone walls twelve feet high, behind which the people of Pennytree retreat at the sign of trouble. https://awoiaf.westeros.org/index.php/Pennytree
173 Velos Ruin 0101000020E6100000052B1240FD854E403C140D75042231C0 Velos is a ruined city on the Isle of Cedars. It sits on the southern tip of the Isle of Cedars facing the Gulf of Grief. https://awoiaf.westeros.org/index.php/Velos
169 Oros Ruin 0101000020E6100000904E30D359EF4B4048FDBCCBD88832C0 Oros is a ruined city that sits on the northern coast of the Smoking Sea in Essos, said to be second only in majesty to the city of Valyria before the Doom. It lies to the south of the Lands of the Long Summer and is connected by Valyrian road to Mantarys, while across the Smoking Sea lies Tyria. https://awoiaf.westeros.org/index.php/Oros
175 Astapor City 0101000020E6100000F7E63F42963A504068A71199CD782EC0 Astapor, dubbed the Red City, is the southernmost of the Slaver Cities on Slavers Bay. It lies near the mouth of the Worm, north of Old Ghis and one hundred leagues south of Yunkai by a coastal road. Astapor is an old city, but not as populous as Lys, Pentos, or Qarth. It is renowned for the special slaves it produces, the Unsullied. The city takes a tenth of the price whenever a slave changes hands. The Astapori emblem is a harpy: a womans torso, wings of a bat instead of arms, legs of an eagle and a scorpions tail. In its talons hangs a chain with open manacles at either end. An old crumbling statue portraying the harpy of Ghis is located atop Astapors harbor gate. https://awoiaf.westeros.org/index.php/Astapor
148 Ar Noy Ruin 0101000020E61000009ADE8DC0BB024540D0A1DFD690A20440 Ar Noy is a ruined city in Essos on the banks of the Qhoyne, near its confluence with the Darkwash. To the northeast is Qohor and to the southwest, Dagger Lake. https://awoiaf.westeros.org/index.php/Ar%20Noy
159 Crofters' Village Town 0101000020E61000003C9E8EBBB7422C40CD6ACDDC78D33A40 The crofters village is a village located in the wolfswood west of Winterfell. It is inhabited by crofters and consists of a few huts, a longhall, and a watchtower by the lakeshore, as the village is located between two lakes. The larger lake is dotted with small wooded islands, one of which has an ancient weirwood heart tree growing on it. The longhall has space to comfortably seat fifty men. https://awoiaf.westeros.org/index.php/Crofters'%20village
149 Ny Sar Ruin 0101000020E6100000839D768D505B4340509417D94B770A40 Ny Sar is a ruined city in Essos at the confluence of the Rhoyne and the Noyne rivers. It contained the palace of <NAME> but was destroyed by the Valyrian Freehold. https://awoiaf.westeros.org/index.php/Ny%20Sar
167 Mantarys City 0101000020E6100000A497E71A46444C4078DF07AA984B27C0 Mantarys is a city that lies to the north of the Lands of the Long Summer on the northern tip of the Sea of Sighs, where a river flows south from the Painted Mountains. It is connected by Valyrian roads to the ruined cities of Bhorash and Oros. The demon road passes through Mantarys. It has a sinister repute and is allegedly a city of monsters. https://awoiaf.westeros.org/index.php/Mantarys
190 Faircastle Castle 0101000020E610000092D851D10C041C40C049963090671D40 Faircastle is the seat of House Farman in the westerlands. It is located on Fair Isle, just off the western coast of Westeros. https://awoiaf.westeros.org/index.php/Faircastle
191 Tyria Ruin 0101000020E6100000C5306C6422B14B40C80324329AF733C0 Tyria is a ruined city in Essos. It lies across the Smoking Sea from Oros and is connected by Valyrian road to the city of Valyria, which lies to the south of the island. https://awoiaf.westeros.org/index.php/Tyria
192 Valyria Ruin 0101000020E6100000361071A775604B40C9FD70C0733B36C0 Valyria, also called Old Valyria, is a ruined city in Essos. It is a long-dead city of wonderment, and was once the capital of a great empire called the Valyrian Freehold. It was destroyed by a cataclysmic event known as the Doom of Valyria a century before Aegons Landing. It is the ancestral home of House Targaryen, House Celtigar, and House Velaryon. https://awoiaf.westeros.org/index.php/Valyria
178 <NAME> City 0101000020E6100000555E9C02153C504080456F1D834FF2BF Vaes Dothrak is the only city of the Dothraki people. It is located in the northeast of the vast Dothraki sea, beneath the Mother of Mountains and near a lake, the Womb of the World. Vaes Dothrak has no walls. The city is ruled and inhabited by slaves and the dosh khaleen, the wives of all the khals who have come before. It is forbidden to wear a blade or shed a free mans blood within the confines of the city. The name Vaes Dothrak means City of Riders. https://awoiaf.westeros.org/index.php/Vaes%20Dothrak
181 Zamettar Ruin 0101000020E61000009499C9CAF12850406C42CA41AA343FC0 Zamettar is a ruined city on the northern coast of Sothoryos. It lies on a large delta, the mouth of the Zamoyos. To the north lies the Summer Sea and Ax Isle, to the west the bulk of the Basilisk Isles, and to the south, deep in the jungle, Yeen and, beyond, the Green Hell. https://awoiaf.westeros.org/index.php/Zamettar
198 Mole's Town Town 0101000020E610000008490C6ACAE1324064AC36C5E34C4140 Moles Town is a village close to Castle Black. It lies along the kingsroad in <NAME>, half a league south of the Wall. Moles Town is bigger than it seems. Three-quarters of the village lies beneath ground in deep damp warm cellars connected by a warren of tunnels. There is a brothel located in the cellars, with nothing more than a shack no bigger than a privy on the surface. It has a red lantern that is hung over the door. It is said that brothers of the Nights Watch go to Moles Town to dig for "buried treasure" (i. e. engage the services of prostitutes). https://awoiaf.westeros.org/index.php/Mole's%20Town
180 New Ghis City 0101000020E61000006C5387B84CB150405485D59C3D9237C0 New Ghis is an island city in the Gulf of Grief, which borders on the Summer Sea. Its island lies south of Ghaen. Ghiscar and the ruins of Old Ghis are located to the north, past the Ghiscari Strait. A city dependent on slavery, New Ghis is a much smaller port than Volantis. https://awoiaf.westeros.org/index.php/New%20Ghis
183 Gogossos Ruin 0101000020E6100000FF9129B13EB24E405A03D0B721CD40C0 Gogossos, once known as Gorgai, is a ruined city on the Isle of Tears, the largest of the Basilisk Isles. It lies on the southern coast of the island, facing the continent of Sothoryos. https://awoiaf.westeros.org/index.php/Gogossos
184 Flint's Finger Castle 0101000020E610000040C9F46087082040870034F403833240 Flints Finger is the seat of House Flint of Flints Finger in the north. It is located on the southern shore of Blazewater Bay, north of the Flint Cliffs and east of Cape Kraken. https://awoiaf.westeros.org/index.php/Flint's%20Finger
3 Rosby Castle 0101000020E610000045B52FFBAAFC3340E84722FE0F7C1240 Rosby is the seat of House Rosby, north of Blackwater Bay in the Crownlands. Rosby sits just northeast of Kings Landing along the Rosby road, the shortest road between the capital and Duskendale. Lying around the small castle is a village made of daub-and-wattle huts. Rosbys maester is Melwys. https://awoiaf.westeros.org/index.php/Rosby
285 Fingers Region 0101000020E6100000D0E1C33828773740E53FABD5ECE93040 For the ironman, see Fingers (ironman). The Fingers are narrow peninsulas of the northeastern Vale of Arryn which extend out into the narrow sea and the Shivering Sea. Pebble is north of the Fingers and the Paps is northeast, while Coldwater Burn and Snakewood are west of the peninsulas. The Fingers are windswept, treeless, bare and stony. It often rains in the region, which is located north of the Vale proper. The seat of House Baelish, an unnamed old flint tower, sits on the smallest of the Fingers. https://awoiaf.westeros.org/index.php/Fingers
188 Pyke Castle 0101000020E6100000662470EC0C321E40F96D38F9FF1E2640 This article is about the castle in the Iron Islands. For the island, see Pyke (island). "Pyke" is also a traditional bastard surname. Pyke is a castle located on the island of the same name, which is one of the eight major Iron Islands. It is the seat of House Greyjoy, whose lord is known as the Lord Reaper of Pyke. The Greyjoys have been rulers of the Iron Islands since Aegons Conquest. The Greyjoys claim the island is named after the castle. https://awoiaf.westeros.org/index.php/Pyke
185 Barrowton Town 0101000020E61000002ECEE4B70168264017E54BF66BDB3540 Barrowton, occasionally called Barrowtown, is a prominent town in the North which contains Barrow Hall, the seat of House Dustin. It lies in the barrowlands at or near the confluence of two rivers which flow south to the Saltspear. https://awoiaf.westeros.org/index.php/Barrowton
187 Bhorash Ruin 0101000020E610000029364CA7CF184F40C49059D4A24224C0 Bhorash is a ruined city on the northern coast of Slavers Bay in Essos. It lies south of the Painted Mountains and northeast of the Black Cliffs. Bhorash is connected by Valyrian roads to Mantarys and Tolos. It is unknown if Bhorash was founded by the Valyrian Freehold. https://awoiaf.westeros.org/index.php/Bhorash
204 Icemark Ruin 0101000020E6100000C528CA95FBEE3140DCF0BF37207F4140 Icemark is a castle along the Wall that has been abandoned by the Nights Watch. To the west lies Hoarfrost Hill and to the east, the Nightfort. https://awoiaf.westeros.org/index.php/Icemark
205 Nightfort Ruin 0101000020E61000009CCF3CA4C92A324086A90C50BE794140 The Nightfort is one of the abandoned castles of the Nights Watch along the Wall, the only one whose steps up the side of the Wall were carved into the ice. It sits between Icemark to the west and Deep Lake to the east. The Nightfort figures in some of Old Nans scariest stories. https://awoiaf.westeros.org/index.php/Nightfort
221 Pebbleton Town 0101000020E6100000D568CF2F632C1C40D42F286FEA2B2740 Pebbleton is a village on Great Wyk in the Iron Islands. It contains Pebbleton Tower, the seat of House Merlyn. The hovels that surround the tower are home to roughly seven thousand people, most of them employed in the fisheries. https://awoiaf.westeros.org/index.php/Pebbleton
227 Brindlewood Town 0101000020E61000005C38587595A63240708E90113C1C1640 Brindlewood is a village in the Crownlands along the kingsroad. https://awoiaf.westeros.org/index.php/Brindlewood
212 Long Barrow Ruin 0101000020E610000027BCF4BAB23034405C671AC8D9584140 Long Barrow, also called the Long Barrow, is a castle along the Wall, abandoned by the Nights Watch. It is situated along the Wall between Rimegate to west and the Torches to the east. https://awoiaf.westeros.org/index.php/Long%20Barrow
207 Queensgate Ruin 0101000020E610000024B149F0A691324000B1649A936F4140 Queensgate is an abandoned castle along the Wall. It was formerly manned by the Nights Watch but was abandoned as the Watch shrank. To the west lies Deep Lake and to the east Castle Black. https://awoiaf.westeros.org/index.php/Queensgate
208 Oakensheild Ruin 0101000020E61000000FA17346612233401211B74BCD674140 Oakenshield Castle is the semi-canonical name for the seat of House Hewett at Lord Hewetts Town on Oakenshield. https://awoiaf.westeros.org/index.php/Oakenshield%20Castle
209 Woodswatch-by-the-Pool Ruin 0101000020E610000033746388615F3340A04E7BFE01664140 Woodswatch-by-the-Pool is a castle along the Wall. It was abandoned by the Nights Watch. It is situated along the Wall between Oakenshield to the west and Sable Hall to the east. https://awoiaf.westeros.org/index.php/Woodswatch-by-the-Pool
214 Greenguard Ruin 0101000020E61000007FEC0C39C79234404831AE5F7A504140 Greenguard is a castle along the Wall abandoned by the Nights Watch. It is located between the Torches to the west and Eastwatch-by-the-sea to the east. https://awoiaf.westeros.org/index.php/Greenguard
215 Craster's Keep Town 0101000020E61000002DBD844F0AA0314045947546FB254240 Crasters Keep is the home of Craster, an ornery wildling beyond the Wall who is a friend to the Nights Watch. It is not an actual keep, but is only given that title by members of the Watch. https://awoiaf.westeros.org/index.php/Craster's%20Keep
217 Oxcross Town 0101000020E610000080E100A09139204068F663185CE01740 Oxcross is a village not three days ride from Lannisport in the Westerlands. Located near the pass beneath the Golden Tooth. https://awoiaf.westeros.org/index.php/Oxcross
218 Golden Tooth Castle 0101000020E61000004D7308A6234A2540A087D893202F1D40 The Golden Tooth, also called the Tooth, is the seat of House Lefford in the westerlands. It is located along the river road and is east of Ashemark and Sarsfield, west of Riverrun and Pinkmaiden, and north of Hornvale. Although the Golden Tooth is a small castle, it is a strong keep commanding the hill road. https://awoiaf.westeros.org/index.php/Golden%20Tooth
201 Greyguard Ruin 0101000020E61000002552D293E6123140C8BA53CFC0764140 Greyguard is a castle along the Wall abandoned by the Nights Watch. It has largely collapsed. It has been abandoned for two hundred years. It lies west of Stonedoor and east of Sentinel Stand. https://awoiaf.westeros.org/index.php/Greyguard
211 Rimegate Ruin 0101000020E6100000E76D7C1349F733408C180F96A25D4140 Rimegate is a castle along the Wall abandoned by the Nights Watch. It is located between Sable Hall to the west and the Long Barrow to the east. https://awoiaf.westeros.org/index.php/Rimegate
88 Lannisport City 0101000020E610000003051387A2751D406838755FDBE21440 Lannisport is a walled city in the westerlands located less than a mile south of Casterly Rock, the seat of House Lannister. Lannisport is located along the coast of the Sunset Sea where the river road, the gold road, and the ocean road meet. It is one of the major ports of the Seven Kingdoms and is the largest settlement in the westerlands. Lannisport is smaller than Kings Landing or Oldtown, but larger than Gulltown or White Harbor. According to a semi-canon source Lannisport may be ruled by House Lannister of Lannisport, a branch of House Lannister of nearby Casterly Rock. <NAME>annister, the Lord of Casterly Rock and Warden of the West, includes "Shield of Lannisport" amongst his titles. The Lannisters anchor their fleet in its harbor. The city is renowned for its goldwork. Lannisport is policed by the well-trained City Watch. Besides the Lannisters of Lannisport, other distant kin living in the city are Lannys, Lannetts, and Lantells, many of whom are yellow of hair. https://awoiaf.westeros.org/index.php/Lannisport
123 <NAME> Ruin 0101000020E61000001BD64944C3A42D40E05292A671273440 Moat Cailin is an ancient stronghold of the First Men on the northern edge of the great swamp known as the Neck, in the south of the north. It is less than twenty miles from the headwaters of the Fever River. It is one of the norths most important strongholds, though much of it now stands in ruins. Its importance stems from the fact that it commands the causeway, which is the safe route for armies to travel through the swamps of the Neck.\nMoat Cailin is an effective natural choke point which has protected the north from southron invasion for thousands of years. The only way for an invader to effectively bypass Moat Cailin is to win the allegiance of House Reed and the crannogmen who know of other routes through the swamps. These routes, such as narrow trails between the bogs and wet roads through the reeds that only boats can follow, are not on any map. Given the Reeds strong ancestral ties to House Stark, they are unlikely to aid southerners. https://awoiaf.westeros.org/index.php/Moat%20Cailin
203 Hoarfrost Hill Ruin 0101000020E6100000F5C6738437A7314057CE31391B854140 Hoarfrost Hill is a castle along the Wall abandoned by the Nights Watch. It is located between Stonedoor to the west and Icemark to the east. https://awoiaf.westeros.org/index.php/Hoarfrost%20Hill
220 Nunn's Deep Landmark 0101000020E61000009FD9F60B54A023400C9C7F27AE002340 Nunns Deep is the site of a gold mine in the Westerlands. https://awoiaf.westeros.org/index.php/Nunn's%20Deep
232 Tumblers Falls Landmark 0101000020E610000025081B62404C2D40B8151658D3631B40 Tumblers Falls is a town in the southern Riverlands. It lies on the Blackwater Rush near Stoney Sept. Ser <NAME> was from Tumblers Falls. https://awoiaf.westeros.org/index.php/Tumbler's%20Falls
164 Baelish Keep Castle 0101000020E6100000850D0E99EA6F394098E0F912B2EA2F40 Nestled on the ‘littlest’ of the fingers, the Baelish Keep is a small, bleak castle, and the seat of the minor house, Baelish. Two generations ago the flint tower was given to a Braavosi Knight, and has since been inherited by the Master of Coin, <NAME>. The land is refered to be only a few stony acres of land. House Baelish blazon their sigil with a grey stone head with fiery eyes, on a light green field, a reference to the Titan of Braavos. Petyr Baelish often uses a nightingale as his personal emblem, setting himself apart from this upstart house he belongs to. http://westeroscraft.wikia.com/wiki/Baelish_Keep
237 Wendish Town Town 0101000020E6100000B811DE95E62A294008B1E0910B531C40 Wendish Town is a town with a timbered holdfast in the riverlands. It is the home of the mother and son in the song "On a Misty Morn". The non-canonical map from the television adaptation Game of Thrones places the town south of the Blue Fork, while the semi-canonical A Song of Ice and Fire Campaign Guide states it is on the Green Fork. It may be that Wendish Town is under the dominion of House Darry as <NAME> reports on its status to the Iron Throne. https://awoiaf.westeros.org/index.php/Wendish%20Town
231 Rushing Falls Landmark 0101000020E6100000183BEC6977653040D846ED613CB01F40 Rushing Falls is the site of one of Lord Beric Dondarrions many reported deaths. It is located near the Gods Eye in the riverlands. https://awoiaf.westeros.org/index.php/Rushing%20Falls
309 Ghaen Region 0101000020E61000003298CBE02CA950402AE50FC9467F36C0 Ghaen is an island in the Gulf of Grief. It borders the Ghiscari Strait and lies off the southern coast of Essos near Ghiscar. South of it are two smaller islands, including New Ghis. https://awoiaf.westeros.org/index.php/Ghaen
236 Sherrer Town 0101000020E6100000188712110581294088273B22C52C1C40 Sherrer is a stone holdfast in the riverlands downriver from Mummers Ford on the Red Fork. The town may be under the dominion of House Vance of Wayfarers Rest as Ser Karyl Vance reports on its status to the Iron Throne. There is an alehouse located next to the stone bridge owned by a man named Joss. https://awoiaf.westeros.org/index.php/Sherrer
247 The Haunted Forest Region 0101000020E6100000651E166A4DFB3040A9FA5C6DC5E24240 The haunted forest is a vast forest beyond the Wall in in northern Westeros. Located beyond the Seven Kingdoms, it is inhabited by the free folk and is bounded to the west by the Frostfangs and to the east by the Shivering Sea and the Bay of Seals. North of the haunted forest is the unmapped Land of Always Winter. https://awoiaf.westeros.org/index.php/Haunted%20forest
126 White Harbor City 0101000020E61000003C21278B04EF30400F50B3F16D5E3540 White Harbor is a harbor city in the north which contains the New Castle, the seat of House Manderly. Located south of Winterfell, it is the largest settlement north of the Neck, but the smallest among the five major cities of Westeros. White Harbor is the norths primary trade port. Its location on the mouth of the White Knife provides opportunities for trade further north. Due to its location White Harbor has more contact with the south and there are more knights and followers of the Faith of the Seven in White Harbor than anywhere else in the north. There are some followers of the old gods, but most follow the Faith. The city has access to good fishing grounds and is also the home of many silversmiths. https://awoiaf.westeros.org/index.php/White%20Harbor
248 Lonely Hills Region 0101000020E6100000A34AEA0434193340B15296218E1D3D40 The Lonely Hills are a series of hills controlled by House Umber in the North. They lie east of Long Lake, south of the Last River and the Last Hearth, and northwest of the Dreadfort. https://awoiaf.westeros.org/index.php/Lonely%20Hills
240 Lady of the Leaves Town 0101000020E6100000C45905497B102C4028EDD6831B032240 The Lady of the Leaves is an old, thin white-haired lady who lives in a village that rests in the trees. The hidden village is located in the Riverlands near the road to Hayford in the Crownlands. https://awoiaf.westeros.org/index.php/Lady%20of%20the%20Leaves
235 Mummer's Ford Landmark 0101000020E6100000E8D51D433C7C2940683960ECB6F51C40 The Mummers Ford is a crossing of the river Trident, along the Red Fork, in the Riverlands. It has a town along its banks. https://awoiaf.westeros.org/index.php/Mummer's%20Ford
249 Hornwood Forest Region 0101000020E61000002CFBCBEEC9CB324024992A18957C3940 https://awoiaf.westeros.org/index.php/Hornwood%20(forest)
243 Inn of the Kneeling Man Landmark 0101000020E6100000A3A40BB113BF2D40A40ED5EDC88D2440 The Inn of the Kneeling Man is an inn in the riverlands located near the spot where Torrhen Stark, King in the North, is said to have bent the knee to Aegon the Conqueror.\nThe main building sits along the shore where the Red Fork of the Trident bends. It has long, low wings that stretch out. The lower story is made of grey stone, the upper one of whitewashed wood. Its roof is slate and has a stables and an arbor. It reportedly brews a good ale. Above its door is a painted sign of a king on his knees. https://awoiaf.westeros.org/index.php/Inn%20of%20the%20Kneeling%20Man
35 Crow's Nest Castle 0101000020E61000008E9CDBF1F413354030A2E97B34F501C0 Crows Nest is the seat of House Morrigen in the Stormlands. It is located in mountainous terrain between Griffins Roost and Stonehelm, along the western edge of Cape Wrath and the rainwood. https://awoiaf.westeros.org/index.php/Crow's%20Nest
2 Hayford Castle 0101000020E61000000D58BCFE74CD3240108E6410B5F31140 Hayford is the seat of House Hayford in the Crownlands. According to semi-canon sources, Hayford is located half a days ride north of Kings Landing along the kingsroad. Hayford sits upon a hilltop and has a stream running alongside the castle. The hidden village of the Lady of the Leaves is located near the Hayford road. https://awoiaf.westeros.org/index.php/Hayford
298 Orkmont Region 0101000020E6100000BC08CFA798B21F40488536DEA4E42840 Orkmont is one of the islands that make up the island chain called the Iron Islands. Orkmont is centrally located, with Blacktyde to the north, Harlaw to the southeast, Pyke to the south, and Old Wyk and Great Wyk to the west. Rugged and mountainous Orkmont is rich in ore. It was once covered in forest but the timber was used extensively for shipbuilding. Orkmont is the site of the seats of House Orkwood and House Tawney. The island also has a cadet branch of House Goodbrother. The extinct houses Greyiron and Hoare, both of which once ruled the Iron Islands, came from Orkmont. https://awoiaf.westeros.org/index.php/Orkmont
15 Raventree Hall Castle 0101000020E6100000312AAC56BB982F40C877A208FDAC2140 Raventree Hall is the seat of House Blackwood in Blackwood Vale in the riverlands. The castle is located north of Riverrun, southwest of Oldstones, and west of Fairmarket. Ironmans Bay is to the northwest. https://awoiaf.westeros.org/index.php/Raventree%20Hall
18 Maidenpool Town 0101000020E6100000F70A00EDE92B3440987A81BD00762040 Maidenpool is a town in the eastern riverlands situated along the southern shore of the Bay of Crabs. It is the seat of House Mooton. The castle at Maidenpool sits on a hill, and the town is walled. East of Maidenpool are hills. There are two roads leading to Kings Landing from Maidenpool, one a faster road which goes through Duskendale and the other which travels along the coast. https://awoiaf.westeros.org/index.php/Maidenpool
150 The Sorrows Ruin 0101000020E6100000EC7D5DC4923E4440807957C96232FEBF The Sorrows is a stretch of the Rhoyne from south of Dagger Lake to beyond the ruins of Chroyane. It is full of fog and inhabited by stone men afflicted with greyscale. https://awoiaf.westeros.org/index.php/Sorrows
245 Lhazareen Town 0101000020E6100000F49533A64A425240D8D4AFF8408E1CC0 The Lhazareen (also spelled Lhazarene) are a people of peaceful shepherds from Lhazar in the continent of Essos. https://awoiaf.westeros.org/index.php/Lhazareen
5 Tumbleton Town 0101000020E6100000335ABD6889CA3040B0A6772BFDB00240 Tumbleton is a town in the Reach and is the seat of House Footly. It is located fifty leagues southwest of Kings Landing, near the Reachs northeastern border with the Crownlands. It is near the source of the Mander.\nA stout but small castle with a garrison of forty men overlooks the town. https://awoiaf.westeros.org/index.php/Tumbleton
301 Fair Isle Region 0101000020E6100000C3AC4828B7931B4048B6C5DA70681C40 Fair Isle is an island in the Sunset Sea, separated from the rest of the westerlands by the Straits of Fair Isle. The island is controlled by House Farman, whose seat Faircastle sits on it. The Crag is northeast of Fair Isle, while a peninsula containing Kayce and Feastfires is south of the island. https://awoiaf.westeros.org/index.php/Fair%20Isle
297 Bear Island Region 0101000020E6100000C46875379FBE244006C3594424234040 Bear Island is a remote island in the north that is home to House Mormont. It lies within the Bay of Ice, north of Deepwood Motte and south of the Frozen Shore. The Mormonts live at Mormont Keep. https://awoiaf.westeros.org/index.php/Bear%20Island
308 Isle of Cedars Region 0101000020E6100000E1D27CE3CC9B4E40D0482363662C30C0 The Isle of Cedars is a large island that sits astride both Slavers Bay and the Gulf of Grief. It was once known as the Isle of a Hundred Battles. There is pale sand on the southern shore. The water is a shimmering turquoise close to shore, and farther out a blue so deep that it is almost black. https://awoiaf.westeros.org/index.php/Isle%20of%20Cedars
292 Dagger Lake Landmark 0101000020E6100000056B488FF55C444060E5F691EA83EB3F Dagger Lake is a large lake formed by the confluence of the rivers Rhoyne and Qhoyne in western Essos. At Dagger Lake the Qhoyne comes rushing in, full of gold and amber from the Axe and pine-cones from the Forest of Qohor. Northeast of Dagger Lake are the ruins of Ar Noy, while along its western banks are the Golden Fields. Dagger Lake is full of islands where pirates lurk in hidden caves and secret strongholds, such as Urho the Unwashed and Korra the Cruel on Hags Teeth. https://awoiaf.westeros.org/index.php/Dagger%20Lake
293 God's Eye Landmark 0101000020E6100000745BB8D22F1031407449DE0FE28C1D40 The Gods Eye is the largest lake of the Seven Kingdoms, located south of the Trident and west of the kingsroad in the southern riverlands. https://awoiaf.westeros.org/index.php/Gods%20Eye
294 Long Lake Landmark 0101000020E6100000470D195EDA4E3140E9AD2193BBBE3D40 Long Lake is a large lake in the north. It is located northeast of Winterfell, east of the northern mountains, southwest of Last Hearth, and west of the Lonely Hills. The kingsroad runs along its northwestern shore on its way to the Wall. Long Lake is the source of the White Knife, which flows south into the Bite. There is ice fishing on Long Lake. Watt, a brother of the Nights Watch, comes from the vicinity of Long Lake. https://awoiaf.westeros.org/index.php/Long%20Lake
296 Bay Of Ice Region 0101000020E6100000E28580ED47A92840AA261B5B79A04040 The Bay of Ice is a large bay in the North that is bordered by the Frozen Shore to the north, Sea Dragon Point to the south, and the foothills of the northern mountains to the east. Bear Island sits within the bay. The westernmost border of the lands of Clan Wull sit along the Bay of Ice, which is also fished by the First Flints. The ironborn have historically raided the Bay of Ice, the source of the Wulls animosity toward the Iron Islands. https://awoiaf.westeros.org/index.php/Bay%20of%20Ice
302 Shield Islands Region 0101000020E61000009A02D1B0B5831E40582009E4F81602C0 The Shield Islands, commonly called the Shields or Four Shields, are four islands of the Reach. They are located in the Sunset Sea west of Highgarden and protect the Mander river from the Iron Islands. The islands include: Greenshield, ruled by House Chester; Greyshield, ruled by House Grimm; Oakenshield, ruled by House Hewett; and Southshield, ruled by House Serry. When any sign of longships is spotted, elders in watchtowers light beacon fires, which in turn cause other watchtowers to light their own beacons and spread the warning to settlements further inland so they will not be caught unaware. https://awoiaf.westeros.org/index.php/Shield%20Islands
307 Bloodstone Region 0101000020E61000003E00D8FB8EDD394014762BEFCAC016C0 Bloodstone is one of the islands that make up the Stepstones. It is the largest of the islands, lying the furthest to the northwest and north of Grey Gallows. https://awoiaf.westeros.org/index.php/Bloodstone
310 Ax Isle Region 0101000020E6100000901D54C92CD85040D4D5999A5FC23DC0 Ax Isle is the easternmost island of the Basilisk Isles, which are off the northern coast of Sothoryos. To the north lies New Ghis, across the Summer Sea. https://awoiaf.westeros.org/index.php/Ax%20Isle
313 Naath Region 0101000020E6100000754A1EC1406D4A40CE8876D3A06340C0 Naath, known to the ancients as the Isle of Butterflies, is an island in the Summer Sea off the northwestern coast of Sothoryos. https://awoiaf.westeros.org/index.php/Naath
256 Casterly Rock Castle 0101000020E61000004C003F3E7C0C1D40B8737DFEFFF81540 Casterly Rock, nicknamed the Rock, is a castle and the seat of House Lannister. The capital of the westerlands, it overlooks the harbor of Lannisport and the Sunset Sea. Nearby strongholds include Kayce and Feastfires to the west, Sarsfield to the north, and Cornfield and Cleganes Keep to the south.\nThe household of Casterly Rock includes <NAME>, Vylarr, <NAME>, and <NAME>. https://awoiaf.westeros.org/index.php/Casterly%20Rock
59 Three Towers Castle 0101000020E6100000325790F8AAFB1B40549C7555FA2120C0 Three Towers is the seat of House Costayne in the Reach. It sits on a cliff on the southern shore of Whispering Sound, almost where the sound meets the Redwyne Straits. https://awoiaf.westeros.org/index.php/Three%20Towers
61 Sunflower Hall Castle 0101000020E6100000B65C1F863E4A2240B0CF9889997523C0 Sunhouse, also called Sunflower Hall is the seat of House Cuy in the Reach. The castle is located on the southern coast of the Reach, east of the Redwyne Straits and southeast of Oldtown. The town of Cuy is located outside of Sunhouses walls. https://awoiaf.westeros.org/index.php/Sunhouse
269 The Neck Region 0101000020E6100000F69991F6BF932A40EAE0160BBBE33140 The Neck is one of the southernmost regions of the north. Covered in swamp and bog, it divides the north from the rest of the Seven Kingdoms. West of the Neck is a large forest and a peninsula containing Flints Finger, the Flint Cliffs, and Cape Kraken, while to the east is the Bite. North of the Neck are the barrowlands, while to the south are the Twins, Seagard, and the Cape of Eagles in the riverlands. The Green Fork of the Trident originates in the Neck. https://awoiaf.westeros.org/index.php/Neck
254 Forest of Qohor Region 0101000020E61000009E31772D21934840BC9E3C2CD43A1840 The Forest of Qohor is a large area of woodland and forest containing the Free City of Qohor on the eastern continent of Essos. It is located east of the Free City of Norvos, and west of the Kingdom of Sarnor and the Dothraki sea. The forest stretches north to the Shivering Sea, and south to the swamps of the Selhoru. The Darkwash is to the west of the forest, while Vaes Khadokh is to the east along a Valyrian road. https://awoiaf.westeros.org/index.php/Forest%20of%20Qohor
177 Meereen City 0101000020E610000024E8B01753C8504084FCA847993823C0 Meereen is the northernmost and the largest of the three great Slaver Cities of Slavers Bay. It is ruled by the Great Masters, the heads of Meereens slaving families, and its wealthiest of citizens live in stepped pyramids. Meereen lies on the northeast coast of Slavers Bay at the mouth of the Skahazadhan, where it flows from its origins in Lhazar through a range of sandstone mountains separating Meereen and the rest of Slavers Bay from the red waste. The Dothraki sea lies to the north, beyond the river. To reach Lhazar from Meereen one must pass through the Khyzai Pass. https://awoiaf.westeros.org/index.php/Meereen
81 Red Lake Castle 0101000020E6100000CF05DEBE428D21402080889B1897F73F Red Lake is the seat of House Crane in the Reach. The castle is located on the northeastern shore of a lake of the same name in the northwest of the Reach. Red Lake is northwest of Goldengrove, northeast of Old Oak, and southeast of Cornfield. https://awoiaf.westeros.org/index.php/Red%20Lake
145 Braavos Castle 0101000020E61000006AAF3609E4F93E4044E89134B63D3040 Braavos is the wealthiest and likely the most powerful of the Free Cities. It is located in a lagoon on the northwestern end of Essos, where the narrow sea and the Shivering Sea meet. Braavos is also known as Braavos of the Hundred Isles and the Secret City, a name also attributed to the city Nefer, the last remaining city of Nghai. Additionally, Braavos is sometimes referred to as the bastard daughter of Valyria. https://awoiaf.westeros.org/index.php/Braavos
152 Valysar Town 0101000020E6100000E44B8CA61597444008D5AFF8408E1CC0 Valysar is a Volantene walled town in Essos. According to Haldon it is so large it would be considered a city in the Seven Kingdoms. It sits on the western bank of the Rhoyne, to the north of Volon Therys and to the south of Selhorys. Timber from the Forest of Qohor is sold in the markets of Valysar. https://awoiaf.westeros.org/index.php/Valysar
105 Heart's Home Castle 0101000020E610000068C9EBAFF4D634401C4D396DB7942B40 Hearts Home is a castle in the Vale of Arryn and is the seat of House Corbray, a vassal house holding fealty to House Arryn of the Eyrie. It is located on the northern shore where a glacial river flows into a narrow bay of the narrow sea. Upriver to the west is Strongsong, while directly north is a forest. Snakewood is located to the northeast along the bay, while the Eyrie is south across a mountain range. According to semi-canon sources, Hearts Home is within the southernmost river valley of the snakewood forest. https://awoiaf.westeros.org/index.php/Heart's%20Home
299 Great Wyk Region 0101000020E6100000672769819CFC174085ED0ACF16912840 Great Wyk is the largest of the islands that make up the Iron Islands. Aside from the Lonely Light, it is the westernmost of the major isles. Great Wyk is west of Old Wyk and Orkmont, north of Saltcliffe, and northeast of Pyke. Unlike the other isles, Great Wyk is so large that some of its castles, such as Hammerhorn, are inland instead of near the Sunset Sea or Ironmans Bay. https://awoiaf.westeros.org/index.php/Great%20Wyk
300 Harlaw Region 0101000020E6100000971A7F042F9521401EF21DA933C02740 Harlaw is one of the islands that make up the region known as the Iron Islands. The easternmost of the archipelago, Harlaw is northeast of Pyke, from which it is a days sail, and southeast of Orkmont and Blacktyde. Banefort in the westerlands is across Ironmans Bay to the south. https://awoiaf.westeros.org/index.php/Harlaw
252 Rainwood Region 0101000020E61000000E98DD9387CD364000910F7A366B08C0 The rainwood is a large forest that lies on Cape Wrath in the stormlands. Although it is rainy, the region is fertile enough. The quiet rainwood is famed for its fur, timber, and amber. Common trees include oaks, redwoods, sentinels, and soldier pines. The wood is full of caves. Strongholds in the rainwood are often integrated with the surrounding forest. Mistwood is located in the southern rainwood, while Rain House is found in its northeast. Because of the presence of amber, Amberly might also be situated in the forest. https://awoiaf.westeros.org/index.php/Rainwood
199 Westwatch-by-the-Bridge Ruin 0101000020E6100000216DBD87F40C3040DCF0BF37207F4140 Westwatch-by-the-Bridge is the westernmost castle of the Nights Watch, located near the Gorge and the Bridge of Skulls. East of the abandoned castle is the Shadow Tower, the westernmost of the inhabited castles of the Watch. A Dance with Dragons places Westwatch north of the Gorge and west of the Wall. The Lands of Ice and Fire depicts Westwatch south of the Gorge and just east of the Bridge of Skulls, where the Wall ends. https://awoiaf.westeros.org/index.php/Westwatch-by-the-Bridge
251 Kingswood Region 0101000020E61000005A1CEBE236623440FC06CE19511A0040 The kingswood is a large forest that lies across the Blackwater Rush from Kings Landing. It is in the southern crownlands and the northern stormlands and is traversed by the kingsroad. Originating from a narrow lake in the forest, the Wendwater is the largest river in the kingswood. Felwood is located in the southern outskirts of the forest. The kingswood contains a private hunting area for the King on the Iron Throne. However, some smallfolk live in the forest. Although it is rainy, the region is fertile enough. https://awoiaf.westeros.org/index.php/Kingswood
257 The Shivering Sea Region 0101000020E610000073230DB54FAB4A40B88404AA64FE4040 The Shivering Sea is a frigid sea north of Essos. It is bounded to the west by Westeros, to the south by Essos, to the north by a vast frozen wilderness called the White Waste, and to the east by lands and seas unknown, perhaps the Sunset Sea. https://awoiaf.westeros.org/index.php/Shivering%20Sea
1 King's Landing City 0101000020E6100000928D95DC0614334060C86318FCA00F40 Kings Landing is the capital of the Seven Kingdoms, located in the crownlands on the east coast of Westeros. It is situated along the kingsroad at the mouth of the Blackwater Rush and overlooks Blackwater Bay. Kings Landing is the site of the Iron Throne and the Red Keep, which is the seat of the king, <NAME> from House Baratheon of Kings Landing.\nThe main city is surrounded by a wall, manned by the City Watch of Kings Landing, also known as the gold cloaks. Kings Landing is the most populous city in Westeros, but unsightly and dirty compared to other cities. Poorer smallfolk build shanty settlements outside the city. The stench of the citys waste can be smelled far beyond its walls.\nKings Landing, the principal harbor of the Seven Kingdoms, is rivaled only by Oldtown, which is larger in area but less populous. Nearby towns include Rosby and Duskendale to the northeast and Tumbleton to the southwest, while the kingswood is found south of the capital across the Blackwater. Driftmark and Dragonstone in the Gullet protect the bay from the narrow sea. https://awoiaf.westeros.org/index.php/King's%20Landing
37 Summerhall Ruin 0101000020E6100000B018F4EBB57F3240801D52AC733EFBBF Summerhall is a ruined castle in the stormlands. Formerly a lightly fortified castle used by House Targaryen as a summer castle and royal residence, it was destroyed in a great fire in 259 AC. While the heir apparent to the Iron Throne was known as the Prince of Dragonstone, a younger son could be titled the Prince of Summerhall. Located in or near the foothills of the Red Mountains, the ruins of Summerhall are close to the stormlands border with the Reach, east of the Cockleswhent and southeast of the Blueburn. The Boneway runs south from Summerhall through the Dornish Marches to Yronwood in Dorne. https://awoiaf.westeros.org/index.php/Summerhall
197 Eastwatch-by-the-Sea Castle 0101000020E61000005286614976B83440712E9D817A614140 Eastwatch-by-the-Sea is the easternmost castle along the Wall, located on a grey, windswept shore by the Bay of Seals. Near Eastwatch live some fisherfolk and to the west lies Greenguard. Some wildlings trade with the Nights Watch at Eastwatch; wildlings prefer it to Castle Black, because trading ships from "the fabled lands beyond the sea" visit. The commander of Eastwatch is <NAME>, while its maester is Harmune. The Nights Watch keeps several galleys at Eastwatch, including larger vessels capable of crossing the narrow sea and lean fighting vessels. The galleys patrol the Bay of Seals in part to catch smugglers who trade weapons to the wildlings. Ships stationed at Eastwatch include the Talon, the Blackbird, and the Storm Crow. https://awoiaf.westeros.org/index.php/Eastwatch-by-the-Sea
303 Arbor Region 0101000020E610000049F3FE886326184016EC852F7DD724C0 The Arbor is a golden island off the southwestern-most part of Westeros, ruled by House Redwyne. It is considered part of the Reach, and is separated from the mainland by the Redwyne Straits. It is protected by the Redwyne fleet, the largest fleet of the Seven Kingdoms. The port town of Ryamsport is located on the Arbor, as well as the settlements of Vinetown and Starfish Harbor. Smaller islands in the vicinity of the Arbor include Stonecrab Cay, the Isle of Pigs, the Mermaids Palace, Horseshoe Rock, and Bastards Cradle. The Arbor and its surrounding isles are an excellent center for shipbuilding. https://awoiaf.westeros.org/index.php/Arbor
250 Wolfswood Region 0101000020E61000003B2DB29DEF772F402ACD3B4ED1D93C40 The wolfswood is a large forest in the north named for the great many wolves one can hear howling in the night. It is made up of oak, evergreen and black brier, as well as sentinels, soldier pines, and hawthorn, beech, ash, chestnuts, ironwoods, and firs. Weirwoods are occasionally found isolated or in pairs. It contains abundant timber. Besides wolves, other animals living in the wolfswood include boar, deer, elk, badgers, rabbits, foxes, and bears. https://awoiaf.westeros.org/index.php/Wolfswood
258 The Land of Always Winter Region 0101000020E6100000F295F7E22C24174070EE7BAA724B4640 The Land of Always Winter or Lands of Always Winter is the northernmost part of Westeros, far beyond the Wall. The Frostfangs and several large lakes separate them from the haunted forest. The Land of Always Winter is permanently locked in winter and perpetually frozen. Mostly unexplored, it is near the land of Thenn. It is believed that the Others come from this region. https://awoiaf.westeros.org/index.php/Land%20of%20Always%20Winter
259 The Frozen Shore Region 0101000020E610000023D33741D23F2340A667D98DF8C04140 The men of the Frozen Shore are a culture of free folk that inhabit the Frozen Shore, west of the Frostfangs. They fish along the northern coast of the Bay of Ice. https://awoiaf.westeros.org/index.php/Men%20of%20the%20Frozen%20Shore
273 Redwyne Straits Region 0101000020E6100000207B2736E1451B40646688D00B1A23C0 The Redwyne Straits is the body of water that lies between the Arbor and the mainland Reach. One must cross the straits to get from Oldtown to the Arbor. Towns such as Vinetown, Starfish Harbor and Ryamsport sit alongside it. https://awoiaf.westeros.org/index.php/Redwyne%20Straits
277 The Flatlands Region 0101000020E61000008FF830E43DE5404090E35B8AB8C00640 The Flatlands is part of southern Andalos in western Essos. https://awoiaf.westeros.org/index.php/Flatlands
280 Orange Shore Region 0101000020E6100000D498F82BA9BD434020B552C1FF6221C0 The Orange Shore is a strip of shoreline along the southern coast of Essos, found to the west of Volantis. It is controlled by the Volantenes. https://awoiaf.westeros.org/index.php/Orange%20Shore
283 Red Waste Region 0101000020E6100000B9A02C53CFB4544093319ED2163B34C0 The red waste or Red Waste is a region of Essos west of the Bone Mountains. The desert is a barren and unforgiving landscape of stunted trees, devilgrass, and ancient ruins. https://awoiaf.westeros.org/index.php/Red%20waste
260 The Skirling Pass Region 0101000020E61000001FCC08C2AA862C40DD54E84D9A6A4240 The Skirling Pass is a path into the Frostfangs, located beyond the Wall. The pass is named for the keening sound the wind makes as it blows through it. https://awoiaf.westeros.org/index.php/Skirling%20Pass
270 Cape of Eagles Region 0101000020E61000005BAFD839D30A2540554DA442F7AB2B40 The Cape of Eagles is a cape in the riverlands that juts out into Ironmans Bay, pointing the way to the Iron Islands. It is located west of Seagard and is ruled by House Mallister. https://awoiaf.westeros.org/index.php/Cape%20of%20Eagles
304 Estermont Region 0101000020E6100000D077D0971D173940F0DFFEF664830DC0 Estermont is a small and mountainous island in the narrow sea east of Cape Wrath in the stormlands. Greenstone, the seat of House Estermont, is located on the island. https://awoiaf.westeros.org/index.php/Estermont
226 Crossroads Inn Landmark 0101000020E61000000F2FB10A145731407424FF8159A32340 The inn at the crossroads or crossroads inn is an inn that lies at the crossroads between the kingsroad running north-south, the river road west through the riverlands to the westerlands, and the high road east to the Vale of Arryn. It is sometimes called the Old Inn and was formerly named the Two Crowns, the Bellringer Inn, the Clanking Dragon, and the River Inn. The inn sits to the north of the Trident, near the ruby ford. It lies in lands that used to belong to House Darry. The inn is three stories tall with turrets and chimneys made of white stone. Its south wing is built upon pilings that rise over a bed of weeds. (Once the Trident flowed under that wing, but the river has moved since then. ) On the north side there is a stable with a thatch roof and a bell tower. The building is surrounded by a low wall of broken white stones. It was run by <NAME>, and is currently managed by her niece Jeyne Heddle. https://awoiaf.westeros.org/index.php/Inn%20at%20the%20crossroads
274 Sea of Dorne Region 0101000020E61000009C9525298B153540C8E3FDF919FD15C0 The Sea of Dorne is a large sea along the southeastern coast of Westeros. It is bordered to the north by Cape Wrath in the stormlands, to the west and south by Dorne, and to the east by the narrow sea. The river Wyl flows into the sea.\nProminent settlements along the Sea of Dorne include Ghost Hill, the Tor, Wyl, and Yronwood in Dorne, as well as Stonehelm and the Weeping Town in the stormlands. https://awoiaf.westeros.org/index.php/Sea%20of%20Dorne
262 Sea Dragon Point Region 0101000020E6100000227B2736E1451B40D827DFF18FCA3E40 Sea Dragon Point is a forested peninsula west of the wolfswood in the north. It juts out into the Bay of Ice. https://awoiaf.westeros.org/index.php/Sea%20Dragon%20Point
272 Sunset Sea Region 0101000020E6100000C0D3DBB4155D0740B025912F7EC30140 The Sunset Sea or sunset sea is a sea to the west of Westeros. It borders the Reach, the westerlands, the Iron Islands, the riverlands, the north, and the lands beyond the Wall.\nThe Sunset Sea is roamed by swordfish, seals, and whales, and Ironmans Bay and coastal regions are populated by various fish and shellfish. It is unknown if legendary sea dragons exist in the sea. https://awoiaf.westeros.org/index.php/Sunset%20Sea
22 Dragonstone Castle 0101000020E61000005BBC20BC39593840F88924BE56361C40 Dragonstone is a castle located on the island of the same name at the entrance to Blackwater Bay. Located below the Dragonmont and shaped from stone to look like dragons, Dragonstone was the original seat of House Targaryen in Westeros, and had been colonized and fortified as the westernmost outpost of the Valyrian Freehold. The castle has a dark reputation. After Aegons Conquest of the Seven Kingdoms, Dragonstone in the newly-created crownlands served as the seat of their heir apparent, known as the Prince of Dragonstone. After <NAME> overthrew the Targaryens in Roberts Rebellion, he gave the castle to his brother Stannis, creating House Baratheon of Dragonstone.\nDragonstone, though old and strong, commands the allegiance of only a few lesser lords whose islands are too thinly populated to provide any great numbers of troops, although they have some naval strength. A short distance west of Dragonstone is the island of Driftmark, which is the seat of House Velaryon, a Valyrian house and historically a naval power. Other houses sworn to Dragonstone include Celtigar of Claw Isle, who are also of Valyrian descent, Seaworth of Cape Wrath, Bar Emmon of Sharp Point, and Sunglass of Sweetport Sound. The maesters at Dragonstone are Cressen and Pylos, and the castles sept is maintained by Septon Barre. At least two members of House Blackberry serve at Dragonstone. https://awoiaf.westeros.org/index.php/Dragonstone
305 Tarth Region 0101000020E6100000C8EAB5598F213940807B89077D07E33F Tarth is an island in the narrow sea off the eastern coast of Westeros. It is separated from the continent by the Straits of Tarth, and is situated northeast of Shipbreaker Bay. Tarth is considered a part of the stormlands and is ruled from Evenfall Hall by House Tarth. It is sworn to Storms End.\nThe island is said to be very beautiful, "with its mountains and waterfalls, its high meadows and shadowed vales. " It is called the Sapphire Isle for the striking blue seas in which it sits. https://awoiaf.westeros.org/index.php/Tarth
306 Stepstones Region 0101000020E6100000DDA812D3FFBD3B4014762BEFCAC016C0 The Stepstones are a chain of islands between the southern narrow sea and the northwestern Summer Sea. The islands are located east of Dorne in Westeros and west of the Disputed Lands in Essos. Just to the north is Tyrosh. The Stepstones are home to pirate dens, often Lyseni and Myrmen. The islands are also often affected by storms. Two of the islands have been named, Bloodstone and Grey Gallows. Tyrosh is sometimes considered the northernmost and easternmost of the Stepstones. https://awoiaf.westeros.org/index.php/Stepstones
311 Isle of Tears Region 0101000020E6100000DB4562A53EA64E40339B19FA2E8840C0 The Isle of Tears is the largest of the Basilisk Isles, which are located off the northwestern coast of Sothoryos. To the west of the isle is Basilisk Point, to the north is the island of Talon, and to the northeast is the Isle of Toads. Steep-sided valleys and black bogs hide amongst the rugged flint hills and twisted, windswept rocks of this southern island. https://awoiaf.westeros.org/index.php/Isle%20of%20Tears
312 Basilisk Isles Region 0101000020E61000008464AAFB77C04D408A25242C7B833FC0 The Basilisk Isles are a group of islands off the northwestern coast of Sothoryos, on the Summer Sea. They are named after the basilisks that once infested them. The mud-and-blood towns of the Basilisk Isles teem with escaped slaves, slavers, skinners, whores, hunters, brindled men, and worse. Corsair towns and pirate lairs—which reuse names like Black Pudding, Port Plunder, Sty, and Whores Gash—spring up and are quickly abandoned. Life on the islands is described as nasty, brutal, and often short. The isles are hot, humid, and swarming with stinging flies, sand fleas, and bloodworms, making them unhealthy for both man and beast. https://awoiaf.westeros.org/index.php/Basilisk%20Isles
\.
--
-- Name: locations_gid_seq; Type: SEQUENCE SET; Schema: public; Owner: patrick
--
SELECT pg_catalog.setval('locations_gid_seq', 315, true);
--
-- Name: political_gid_seq; Type: SEQUENCE SET; Schema: public; Owner: patrick
--
SELECT pg_catalog.setval('political_gid_seq', 11, true);
--
-- Data for Name: spatial_ref_sys; Type: TABLE DATA; Schema: public; Owner: patrick
--
COPY spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text) FROM stdin;
\.
--
-- Name: locations locations_pkey; Type: CONSTRAINT; Schema: public; Owner: patrick
--
ALTER TABLE ONLY locations
ADD CONSTRAINT locations_pkey PRIMARY KEY (gid);
--
-- Name: kingdoms political_pkey; Type: CONSTRAINT; Schema: public; Owner: patrick
--
ALTER TABLE ONLY kingdoms
ADD CONSTRAINT political_pkey PRIMARY KEY (gid);
--
-- Name: locations_geog_idx; Type: INDEX; Schema: public; Owner: patrick
--
CREATE INDEX locations_geog_idx ON locations USING gist (geog);
--
-- Name: political_geog_idx; Type: INDEX; Schema: public; Owner: patrick
--
CREATE INDEX political_geog_idx ON kingdoms USING gist (geog);
--
-- PostgreSQL database dump complete
--
|
create table tb_produtos (
id int not null primary key auto_increment,
descricao varchar(200) not null,
preco float(8,2) not null
);
insert into tb_produtos(descricao, preco)values('Sofá', 1250.75);
insert into tb_produtos(descricao, preco)values('Cadeira', 378.99);
insert into tb_produtos(descricao, preco)values('Cama', 870.75);
insert into tb_produtos(descricao, preco)values('Notebook', 1752.49);
insert into tb_produtos(descricao, preco)values('Smartphone', 999.99); |
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 28-09-2020 a las 22:08:17
-- Versión del servidor: 10.4.13-MariaDB
-- Versión de PHP: 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 */;
--
-- Base de datos: `registro_db`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `administradores`
--
CREATE TABLE `administradores` (
`id` int(11) NOT NULL,
`usuario` varchar(40) COLLATE utf8mb4_spanish_ci NOT NULL,
`nombre` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`apellidos` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`email` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`password` varchar(255) COLLATE utf8mb4_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `administradores`
--
INSERT INTO `administradores` (`id`, `usuario`, `nombre`, `apellidos`, `email`, `password`) VALUES
(1, 'Admin', 'Orlandis', 'Cuevas', '<EMAIL>', '<PASSWORD>.');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `categorias`
--
CREATE TABLE `categorias` (
`id` int(11) NOT NULL,
`categoria` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `categorias`
--
INSERT INTO `categorias` (`id`, `categoria`) VALUES
(2, 'Lisa'),
(3, 'Lacada');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `destacados`
--
CREATE TABLE `destacados` (
`id` int(11) NOT NULL,
`titulo` varchar(80) COLLATE utf8mb4_spanish_ci NOT NULL,
`descripcion` varchar(800) COLLATE utf8mb4_spanish_ci NOT NULL,
`precio` decimal(50,0) NOT NULL,
`categoria_id` varchar(200) COLLATE utf8mb4_spanish_ci NOT NULL,
`fecha` varchar(80) COLLATE utf8mb4_spanish_ci NOT NULL,
`foto` varchar(200) COLLATE utf8mb4_spanish_ci NOT NULL,
`codigo_produc` varchar(30) COLLATE utf8mb4_spanish_ci NOT NULL,
`estado` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `destacados`
--
INSERT INTO `destacados` (`id`, `titulo`, `descripcion`, `precio`, `categoria_id`, `fecha`, `foto`, `codigo_produc`, `estado`) VALUES
(13, 'Orlandis en la prueba pp', 'jajdjajdjasjd xd ', '123', '', '27/09/2020', '11.jpg', '5f6fcf3574dfe', 1),
(14, 'esta es otra prueba de ', 'destacados tt', '231', '', '27/09/2020', '14.jpg', '5f6fcfe78fc30', 1),
(15, 'Puerta lisa lavada 90x100', 'una descripción desde el movil', '150', '', '28/09/2020', 'Team_7-fce4926f-7d34-49a5-901d-577cee6ff754.jpg', '5f710b6d4ed6e', 1),
(16, 'dasdadadada', 'cssfdfsfsdfsdfds', '231', '', '28/09/2020', '14.jpg', '5f710cd4ce257', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `medidas`
--
CREATE TABLE `medidas` (
`id` int(11) NOT NULL,
`codigo_produc_id` varchar(20) COLLATE utf8mb4_spanish_ci NOT NULL,
`medida` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`medida_1` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`medida_2` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `newsletter`
--
CREATE TABLE `newsletter` (
`id` int(11) NOT NULL,
`email` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `newsletter`
--
INSERT INTO `newsletter` (`id`, `email`) VALUES
(39, '<EMAIL>'),
(40, '<EMAIL>'),
(41, '<EMAIL>'),
(42, '<EMAIL>'),
(43, '<EMAIL>'),
(44, '<EMAIL>'),
(45, '<EMAIL>'),
(46, '<EMAIL>'),
(47, '<EMAIL>'),
(48, '<EMAIL>');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `producto`
--
CREATE TABLE `producto` (
`id` int(11) NOT NULL,
`titulo` varchar(80) COLLATE utf8mb4_spanish_ci NOT NULL,
`descripcion` varchar(800) COLLATE utf8mb4_spanish_ci NOT NULL,
`precio` decimal(50,0) NOT NULL,
`categoria_id` varchar(200) COLLATE utf8mb4_spanish_ci NOT NULL,
`fecha` varchar(80) COLLATE utf8mb4_spanish_ci NOT NULL,
`foto` varchar(200) COLLATE utf8mb4_spanish_ci NOT NULL,
`codigo_produc` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`estado` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `producto`
--
INSERT INTO `producto` (`id`, `titulo`, `descripcion`, `precio`, `categoria_id`, `fecha`, `foto`, `codigo_produc`, `estado`) VALUES
(13, 'Probando codigo', 'Edsto a de tener un codigo unico de un solo y que no se puede repetir ni a palo', '230', '', '23/09/2020', 'unnamed.jpg', '5f6b9f9b014ac', 1),
(14, 'La prueba de code unic', 'EL codigo es unico', '233', '', '23/09/2020', '14.jpg', '5f6b9fca70ff0', 1),
(15, 'Segunda prueba codigo', 'Codigo unico', '234', '', '23/09/2020', 'Tarima-flotante.png', '5f6bc54f07aae', 1),
(16, 'Kit vestidor blanco extensible doble DRESS 3 estantes', 'Kit vestidor fabricado en metal de colores blanco y gris perfecto para organizar tu ropa si tienes poco espacio. Dispone de 3 barras para colgar perchas y 3 baldas. Se monta fácilmente sin herramientas y puede soportar hasta 12 kg de peso. Medidas: 126 x 240 x 25 cm (ancho x alto x profundo)', '123', '', '24/09/2020', 'maxresdefault.jpg', '5f6bca3b8ed16', 1),
(23, 'Orlandis en la prueba pp', 'jajdjajdjasjd xd ', '123', '', '27/09/2020', '11.jpg', '5f6fcf3574dfe', 1),
(24, 'prueba no destacado', 'no es destacado tt', '123', '', '27/09/2020', '11.jpg', '5f6fcf55155dc', 1),
(25, 'esta es otra prueba de ', 'destacados tt', '231', '', '27/09/2020', '14.jpg', '5f6fcfe78fc30', 1),
(26, 'Puerta lisa lavada 90x100', 'una descripción desde el movil', '150', '', '28/09/2020', 'Team_7-fce4926f-7d34-49a5-901d-577cee6ff754.jpg', '5f710b6d4ed6e', 1),
(28, 'dasdadadada', 'cssfdfsfsdfsdfds', '231', '', '28/09/2020', '<PASSWORD>', '<PASSWORD>', 1),
(29, 'fdsdfsfsfsf', 'fsf,smfsmsf,fms', '123', '', '28/09/2020', '11.jpg', '5f7127bfcd4d2', 1),
(30, 'qqqqqqqqqqqqqqqqqqa', 'aaaaaaaaaaaaaaaaaaaaaaaaam', '12', '', '28/09/2020', '404_2.jpg', '5f7127d182331', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios`
--
CREATE TABLE `usuarios` (
`id` int(11) NOT NULL,
`nombre` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`apellidos` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`email` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`password` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`password2` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`telefono` varchar(50) COLLATE utf8mb4_spanish_ci NOT NULL,
`img_perfil` varchar(200) COLLATE utf8mb4_spanish_ci NOT NULL,
`fecha_reg` varchar(100) COLLATE utf8mb4_spanish_ci NOT NULL,
`estado` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_spanish_ci;
--
-- Volcado de datos para la tabla `usuarios`
--
INSERT INTO `usuarios` (`id`, `nombre`, `apellidos`, `email`, `password`, `password2`, `telefono`, `img_perfil`, `fecha_reg`, `estado`) VALUES
(161, 'Orlandis', 'Cuevas', '<EMAIL>', <PASSWORD>$14$<PASSWORD>TF<PASSWORD>dImTWzaeCo59e5wZtJucDyySWdBGPRCaTsXDCYe', '$2y$14$h5IquTFrpirt53dImTWzaeCo59e5wZtJucDyySWdBGPRCaTsXDCYe', '432423432', 'userfile.png', '27/09/2020', 1),
(162, 'jorgito', 'Mattin', '<EMAIL>', '$2y$14$HVdNcu9KTOaaFDWBK5rnWubx0.MtIyS1riM1.kHJfdmQU6bTBukMe', '$2y$14$HVdNcu9KTOaaFDWBK5rnWubx0.MtIyS1riM1.kHJfdmQU6bTBukMe', '31312313123', 'Oops_Emoji.png', '27/09/2020', 1),
(164, 'juan', 'baron', '<EMAIL>', '$2y$14$vakjj0cjInGmXspq9wtDIOOqpG5f3mdOBa0kUiJi5GN4APK/Sb6O6', '$2y$14$vakjj0cjInGmXspq9wtDIOOqpG5f3mdOBa0kUiJi5GN4APK/Sb6O6', '42343243', 'encabezadomsp.png', '27/09/2020', 1),
(165, 'dasdasdasº', 'aaesss', '<EMAIL>', '$2y$14$IcyYWOEwPfPCTQJRKWDBRuErQR8/M3dwpzNS25ri9aRhiJ5EJaUcW', '$2y$14$IcyYWOEwPfPCTQJRKWDBRuErQR8/M3dwpzNS25ri9aRhiJ5EJaUcW', '21311123', 'userfile.png', '27/09/2020', 1),
(166, 'joseite', 'mateo', '<EMAIL>', '$2y$14$4/Ma8BMhtcilNtVD3rHVje/KQuRTYhEF42s0F67kpiCN4OaSnFNKe', '$2y$14$4/Ma8BMhtcilNtVD3rHVje/KQuRTYhEF42s0F67kpiCN4OaSnFNKe', '4242424242', '', '28/09/2020', 1);
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `administradores`
--
ALTER TABLE `administradores`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `categorias`
--
ALTER TABLE `categorias`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `destacados`
--
ALTER TABLE `destacados`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `medidas`
--
ALTER TABLE `medidas`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `newsletter`
--
ALTER TABLE `newsletter`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `producto`
--
ALTER TABLE `producto`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `administradores`
--
ALTER TABLE `administradores`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `categorias`
--
ALTER TABLE `categorias`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `destacados`
--
ALTER TABLE `destacados`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT de la tabla `medidas`
--
ALTER TABLE `medidas`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `newsletter`
--
ALTER TABLE `newsletter`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;
--
-- AUTO_INCREMENT de la tabla `producto`
--
ALTER TABLE `producto`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;
--
-- AUTO_INCREMENT de la tabla `usuarios`
--
ALTER TABLE `usuarios`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=167;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
CREATE TABLE `temp_regimen_service_type` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`active` varchar(2) NOT NULL DEFAULT '1',
`ccc_store_sp` int(11) NOT NULL DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1//
INSERT INTO `temp_regimen_service_type` (`name`, `active`, `ccc_store_sp`) VALUES
('HEI', '1', 2)//
INSERT INTO `regimen_service_type`
(`name`, `active`, `ccc_store_sp`)
select t1.name, t1.active, t1.ccc_store_sp
from temp_regimen_service_type t1
WHERE NOT EXISTS (select name
from regimen_service_type t2
WHERE t2.name=t1.name) //
drop TABLE temp_regimen_service_type // |
--
-- Database: `catalog`
--
USE `catalog`;
-- --------------------------------------------------------
--
-- CREATE TABLE statements
--
CREATE TABLE `Location` (
`ip` VARCHAR(15) NOT NULL PRIMARY KEY,
`longitude` FLOAT DEFAULT NULL,
`latitude` FLOAT DEFAULT NULL,
`city` VARCHAR(254) DEFAULT NULL,
`district` VARCHAR(254) DEFAULT NULL,
`region` VARCHAR(254) DEFAULT NULL,
`region_code` VARCHAR(2) DEFAULT NULL,
`country` VARCHAR(254) DEFAULT NULL,
`country_code` VARCHAR(2) DEFAULT NULL,
`continent` VARCHAR(254) DEFAULT NULL,
`continent_code` VARCHAR(2) DEFAULT NULL,
`zip_code` VARCHAR(254) DEFAULT NULL,
`time_zone` VARCHAR(254) DEFAULT NULL,
`timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- ALTER TABLE `Download`
-- ADD COLUMN `ip` VARCHAR(15) AFTER path;
-- ALTER TABLE `Download`
-- ADD FOREIGN KEY (`ip`) REFERENCES `Location`(`ip`)
-- ON UPDATE CASCADE ON DELETE CASCADE;
-- ALTER TABLE Dataset
-- ADD COLUMN start_date TIMESTAMP NULL DEFAULT NULL AFTER Description;
-- ALTER TABLE Dataset
-- ADD COLUMN end_date TIMESTAMP NULL DEFAULT NULL AFTER start_date;
-- ALTER TABLE Dataset
-- ADD COLUMN min_x DOUBLE AFTER end_date;
-- ALTER TABLE Dataset
-- ADD COLUMN min_y DOUBLE AFTER min_x;
-- ALTER TABLE Dataset
-- ADD COLUMN max_x DOUBLE AFTER min_y;
-- ALTER TABLE Dataset
-- ADD COLUMN max_y DOUBLE AFTER max_x;
-- --------------------------------------------------------
--
-- Script to create Asset table by Product table
--
DROP TABLE IF EXISTS Asset;
CREATE TABLE IF NOT EXISTS Asset (
SELECT
p.Dataset Dataset,
p.SceneId SceneId,
CONCAT('[',
GROUP_CONCAT(
CONCAT('{"band": "', p.Band,
'", "resolution": "', p.Resolution,
'", "href": "', p.Filename,'"}')
),
']') Assets
FROM Product p
GROUP BY p.SceneId, p.Dataset
ORDER BY p.Dataset, p.SceneId
);
ALTER TABLE Asset ADD PRIMARY KEY (Dataset, SceneId);
ALTER TABLE Asset ADD CONSTRAINT constraint_fk_dataset
FOREIGN KEY (Dataset) REFERENCES Dataset (name);
|
<filename>net-core/sql/Tree/SQL Server/Tree.Axis.Parent.sql
-- Axis Parent
with cte_Input as
(
select
Id RootId
from
dbo.DummyTree
where
[Name] = 'Name-1-1'
)
select
t1.*
from
dbo.DummyTree t1
inner join dbo.DummyTree t2
on t1.Id = t2.ParentId
cross join cte_Input
where
t2.Id = cte_Input.RootId
;
|
<reponame>nsattes/hottahue<gh_stars>0
-- MySQL Script generated by MySQL Workbench
-- Mon Oct 2 20:18:32 2017
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
-- Schema hottahue
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema hottahue
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `hottahue` DEFAULT CHARACTER SET utf8 ;
USE `hottahue` ;
-- -----------------------------------------------------
-- Table `hottahue`.`User`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`User` (
`Id` INT UNSIGNED NOT NULL DEFAULT id,
`UserName` VARCHAR(45) NOT NULL,
PRIMARY KEY (`Id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `hottahue`.`user`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`user` (
`username` VARCHAR(16) NOT NULL,
`email` VARCHAR(255) NULL,
`password` VARCHAR(32) NOT NULL,
`create_time` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP);
-- -----------------------------------------------------
-- Table `hottahue`.`Owner`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`Owner` (
`id` INT GENERATED ALWAYS AS (id) VIRTUAL,
`firstName` VARCHAR(45) NOT NULL,
`lastName` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`))
ENGINE = CSV;
-- -----------------------------------------------------
-- Table `hottahue`.`Horse`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`Horse` (
`id` INT GENERATED ALWAYS AS (id) VIRTUAL,
`Owner_id` INT NOT NULL,
PRIMARY KEY (`id`, `Owner_id`),
INDEX `fk_Horse_Owner1_idx` (`Owner_id` ASC),
CONSTRAINT `fk_Horse_Owner1`
FOREIGN KEY (`Owner_id`)
REFERENCES `hottahue`.`Owner` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `hottahue`.`Owner`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`Owner` (
`id` INT GENERATED ALWAYS AS (id) VIRTUAL,
`firstName` VARCHAR(45) NOT NULL,
`lastName` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`))
ENGINE = CSV;
-- -----------------------------------------------------
-- Table `hottahue`.`HoofingDate`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`HoofingDate` (
`smith_id` INT NOT NULL,
`horse_id` INT NOT NULL,
`date` DATE NOT NULL,
`leg` TINYINT(4) NOT NULL,
PRIMARY KEY (`smith_id`, `horse_id`),
INDEX `fk_Smith_has_Horse_Horse1_idx` (`horse_id` ASC),
INDEX `fk_Smith_has_Horse_Smith1_idx` (`smith_id` ASC),
CONSTRAINT `fk_Smith_has_Horse_Smith1`
FOREIGN KEY (`smith_id`)
REFERENCES `hottahue`.`Smith` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_Smith_has_Horse_Horse1`
FOREIGN KEY (`horse_id`)
REFERENCES `hottahue`.`Horse` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `hottahue`.`Smith`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`Smith` (
`id` INT GENERATED ALWAYS AS (id) VIRTUAL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `hottahue`.`HoofingDate`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `hottahue`.`HoofingDate` (
`smith_id` INT NOT NULL,
`horse_id` INT NOT NULL,
`date` DATE NOT NULL,
`leg` TINYINT(4) NOT NULL,
PRIMARY KEY (`smith_id`, `horse_id`),
INDEX `fk_Smith_has_Horse_Horse1_idx` (`horse_id` ASC),
INDEX `fk_Smith_has_Horse_Smith1_idx` (`smith_id` ASC),
CONSTRAINT `fk_Smith_has_Horse_Smith1`
FOREIGN KEY (`smith_id`)
REFERENCES `hottahue`.`Smith` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_Smith_has_Horse_Horse1`
FOREIGN KEY (`horse_id`)
REFERENCES `hottahue`.`Horse` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
|
<gh_stars>0
SELECT Name as Customers
FROM(
SELECT Customers.Id, Name, CustomerId
FROM Customers
LEFT JOIN Orders
ON Customers.Id = Orders.CustomerId
GROUP BY Customers.Id, Name, CustomerId
HAVING CustomerId IS NULL;
)
|
<reponame>diabetes-assistant/diabetes-assistant-backend<filename>src/main/resources/db/migration/V1006__Alter-user-table-include-dates.sql<gh_stars>0
ALTER TABLE users
ADD COLUMN created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;
ALTER TABLE users
ADD COLUMN last_login_at TIMESTAMP;
|
<gh_stars>0
select top 100 * from warehouse where w_warehouse_sk=-100 order by w_warehouse_id desc
|
USE [corredora]
GO
/****** Object: StoredProcedure [dbo].[sp_ArrendatariosMorosos] Script Date: 25-04-2015 00:44:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <NAME>
-- Create date: 24-04-2015
-- Description: Valida que el Estado de Pago Exista, luego muestra los datos ordenador de forma descendente por Valor Arriedo
-- =============================================
CREATE PROCEDURE [dbo].[sp_ArrendatariosMorosos]
@estado AS VARCHAR(50)
AS
BEGIN
DECLARE @count AS INT
SET @count = (SELECT COUNT(1) FROM CUOTASARRIENDO AS CU JOIN ESTADOPAGO AS E ON CU.IDESTADOPAGO = E.IDESTADOPAGO WHERE E.DESCRIPCION=@estado)
IF @count = 0
SELECT 'ESTADO NO EXISTE'
ELSE
BEGIN
SELECT A.NOMBRE, CO.VALORARRIENDO, CU.FECHA_PACTO, CU.FECHAPAGO, E.DESCRIPCION
FROM CUOTASARRIENDO AS CU JOIN ESTADOPAGO AS E ON CU.IDESTADOPAGO = E.IDESTADOPAGO JOIN CONTRATO AS CO ON CO.IDCONTRATO = CU.IDCONTRATO JOIN ARRENDATARIO AS A ON A.RUTARRENDATARIO = CO.RUTARRENDATARIO
where E.DESCRIPCION=@estado ORDER BY CO.VALORARRIENDO DESC
END
END |
<gh_stars>0
SELECT firstname, lastname FROM Elves WHERE firstname LIKE "%tegil%" OR lastname LIKE "%astar%" |
truncate schema public restart identity and commit no check
insert into User (id, username, password, failedLogins)
values (0, 'John', 'Doe', 0);
insert into Role (id,role) values (0, 'admin');
--insert into user_roles (roles_id, user_id) values (0, 0);
--insert into roles_user (roles_id, user_id) values (0, 0);
|
drop table if exists tmp.flarp;
create table tmp.flarp
select 3 as id, 'josh' as name;
|
--- { section: '入力データ' }
create table 利用者(id serial primary key, 氏名 text not null, 年齢 integer);
--- { section: '期待する出力' }
CREATE TABLE 利用者 (
id SERIAL PRIMARY KEY,
氏名 TEXT,
年齢 INTEGER
);
--- { section: '期待する出力', option { valign: 1 } }
CREATE TABLE 利用者 (
id SERIAL PRIMARY KEY,
氏名 TEXT,
年齢 INTEGER
);
|
<gh_stars>1-10
SET DEFINE OFF;
ALTER TABLE AFW_12_DOMN ADD (
CONSTRAINT AFW_12_DOMN_FK4
FOREIGN KEY (REF_PROFL_COURL_NOTFC)
REFERENCES AFW_17_PROFL_COURL (SEQNC)
ENABLE VALIDATE)
/
|
<reponame>swayzetrain/InvServices
CREATE DATABASE inventory;
CREATE TABLE users (
user_Id int AUTO_INCREMENT,
username varchar(25) UNIQUE NOT NULL,
password varchar(255) NOT NULL,
enabled bit NOT NULL DEFAULT 1,
date_Created datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (user_Id)
);
CREATE TABLE role (
role_Id int AUTO_INCREMENT,
role_Name varchar(50) unique NOT NULL,
role_Description varchar(150),
PRIMARY KEY (role_Id)
);
CREATE TABLE instance (
instance_Id int AUTO_INCREMENT,
instance_Name varchar(75) NOT NULL,
instance_Description varchar(150),
creation_User_Id int,
date_Created datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (instance_Id)
);
CREATE TABLE userrole (
userrole_Id int AUTO_INCREMENT,
user_Id int NOT NULL,
role_Id int NOT NULL,
instance_Id int NOT NULL,
date_Created datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (userrole_Id),
FOREIGN KEY (user_Id) REFERENCES users(user_Id),
FOREIGN KEY (role_Id) REFERENCES role(role_Id),
FOREIGN KEY (instance_Id) REFERENCES instance(instance_Id)
);
CREATE TABLE category (
category_Id int AUTO_INCREMENT,
category_Name varchar(75) NOT NULL,
instance_Id int NOT NULL,
creation_User_Id int,
date_Created datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (category_Id)
);
CREATE TABLE item (
item_Id int AUTO_INCREMENT,
item_Name varchar(75) NOT NULL,
category_Id int NOT NULL,
instance_Id int NOT NULL,
creation_User_Id int,
date_Created datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (item_Id),
FOREIGN KEY (category_Id) REFERENCES category(category_Id)
);
CREATE TABLE quantity (
quantity_Id int AUTO_INCREMENT,
item_Id int UNIQUE NOT NULL,
quantity int DEFAULT 0 NOT NULL,
quantity_Type varchar(50) NOT NULL,
date_Modified datetime DEFAULT CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (quantity_Id),
FOREIGN KEY (item_Id) REFERENCES item(item_Id)
); |
CREATE TABLE [dbo].[Job] (
[JobId] UNIQUEIDENTIFIER NOT NULL,
[IntegrationId] UNIQUEIDENTIFIER NOT NULL,
[CreatedDate] DATETIME NOT NULL,
[UpdatedDate] DATETIME NOT NULL,
[IsDeleted] BIT NOT NULL,
[Name] NVARCHAR (250) NOT NULL,
[Description] NVARCHAR (MAX) NULL,
[IsEnabled] BIT NOT NULL,
[JobPriorityId] TINYINT NOT NULL,
[TerminateOnErrorTypeId] TINYINT NOT NULL,
[LoggingLevelId] TINYINT NOT NULL,
CONSTRAINT [PK_Job_1] PRIMARY KEY CLUSTERED ([JobId] ASC),
CONSTRAINT [FK_Job_Integration] FOREIGN KEY ([IntegrationId]) REFERENCES [dbo].[Integration] ([IntegrationId]),
CONSTRAINT [FK_Job_JobPriority] FOREIGN KEY ([JobPriorityId]) REFERENCES [dbo].[JobPriority] ([JobPriorityId]),
CONSTRAINT [FK_Job_JobTerminateOnErrorType] FOREIGN KEY ([TerminateOnErrorTypeId]) REFERENCES [dbo].[JobTerminateOnErrorType] ([JobTerminateOnErrorTypeId]),
CONSTRAINT [FK_Job_LoggingLevel] FOREIGN KEY ([LoggingLevelId]) REFERENCES [dbo].[LoggingLevel] ([LoggingLevelId])
);
|
<reponame>LeoWyatt666/nestable-php<gh_stars>1-10
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
DROP TABLE IF EXISTS `menu`;
CREATE TABLE IF NOT EXISTS `menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rang` int(11) NOT NULL,
`parent_id` int(11) NOT NULL,
`name` varchar(256) NOT NULL,
`description` varchar(256) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=0 ;
INSERT INTO `menu` (`id`, `rang`, `parent_id`, `name`, `description`) VALUES
(1, 0, 0, 'About us', ''),
(2, 0, 1, 'Person 1', ''),
(3, 0, 1, 'Person 2', ''),
(4, 0, 2, 'My CV', ''),
(5, 0, 0, 'Gallery', ''),
(6, 0, 0, 'Contact us', ''),
(7, 0, 2, 'My pictures', ''),
(8, 0, 2, 'Contactinfo', '');
|
-- file:rules.sql ln:395 expect:true
insert into rtest_nothn4 values (20, 'want this')
|
CREATE TABLE IF NOT EXISTS warn (
id integer primary key asc,
moderator integer not null,
usr integer not null,
reason text,
create_date datetime
);
CREATE TABLE IF NOT EXISTS mute (
id integer primary key asc,
guildid integer not null,
moderator integer not null,
usr integer not null,
start_time datetime not null,
end_time datetime not null,
reason text,
active boolean not null
);
CREATE TABLE IF NOT EXISTS note (
id integer primary key asc,
moderator integer not null,
usr integer not null,
content text not null,
note_type integer not null check(note_type >= 0 and note_type < 4),
create_date datetime not null
);
CREATE TABLE IF NOT EXISTS fetch (
usr integer primary key,
info text not null
);
CREATE TABLE IF NOT EXISTS profile (
usr integer primary key,
git text,
dotfiles text,
description text
);
CREATE TABLE IF NOT EXISTS blocked_regexes (
pattern text primary key,
added_by integer not null
);
CREATE TABLE IF NOT EXISTS tag (
name text primary key,
moderator integer not null,
content text not null,
official boolean not null
);
|
<reponame>Pioreactor/pioreactor
INSERT OR IGNORE INTO experiments (timestamp, experiment, description) VALUES (STRFTIME('%Y-%m-%dT%H:%M:%fZ', 'NOW'), 'Demo experiment', 'This is a demo experiment. Feel free to click around. When you are ready, click the "New experiment" above.');
|
-- member table
CREATE TABLE members (
id INTEGER PRIMARY KEY,
name TEXT,
age INTEGER,
email TEXT
);
|
<reponame>dram/metasfresh
-- 2018-06-08T14:52:39.181
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_Element_ID,AD_UI_ElementGroup_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayed_SideList,IsDisplayedGrid,Name,SeqNo,SeqNo_SideList,SeqNoGrid,Updated,UpdatedBy) VALUES (0,564098,0,541090,552161,541592,'F',TO_TIMESTAMP('2018-06-08 14:52:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','Default Newsletter',20,0,0,TO_TIMESTAMP('2018-06-08 14:52:38','YYYY-MM-DD HH24:MI:SS'),100)
;
|
CREATE DATABASE webapp_test CHARACTER SET utf8;
CREATE USER IF NOT EXISTS 'webapp_test'@'localhost' IDENTIFIED BY 'webapp_test';
GRANT ALL PRIVILEGES ON webapp_test.* TO 'webapp_test'@'localhost'; |
<filename>sql/updates/world/12_03_17_01_world_sai.sql<gh_stars>10-100
/* Dungeon Normal-Heroic for 5 people */
/* Bosses */
-- Tavarok
SET @ENTRY := 18343;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,6,10000,14000,20000,38000,11,33919,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Earthquake'),
(@ENTRY,0,1,0,0,0,100,6,12000,23000,14000,24000,11,32361,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Crystal Prison'),
(@ENTRY,0,2,0,0,0,100,2,12000,20000,7000,15000,11,8374,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Arcing Smash'),
(@ENTRY,0,3,0,0,0,100,4,12000,20000,7000,15000,11,38761,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Arcing Smash');
/* Trash Mobs */
-- Arcane Fiend
SET @ENTRY := 18429;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,9,0,100,2,0,8,6000,7000,11,33860,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Arcane Explosion on Close'),
(@ENTRY,0,1,0,9,0,100,4,0,8,6000,7000,11,15253,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Arcane Explosion on Close'),
(@ENTRY,0,2,0,13,0,100,6,2000,4500,25000,30000,11,15122,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Counterspell on Player Spell Cast');
-- Ethereal Apprentice
SET @ENTRY := 18430;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,3,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,1,0,4,1,100,3,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,2,0,4,1,100,3,0,0,0,0,11,32370,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,3,0,9,1,100,2,0,40,3400,4700,11,32370,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,4,0,9,1,100,2,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,5,0,9,1,100,2,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,6,0,9,1,100,2,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,7,0,3,1,100,2,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,8,0,3,2,100,2,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,9,0,3,2,100,2,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%'),
(@ENTRY,0,10,0,4,0,100,5,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,11,0,4,1,100,5,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,12,0,4,1,100,5,0,0,0,0,11,32369,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,13,0,9,1,100,4,0,40,3400,4700,11,32369,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,14,0,9,1,100,4,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,15,0,9,1,100,4,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,16,0,9,1,100,4,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,17,0,3,1,100,4,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,18,0,3,2,100,4,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,19,0,3,2,100,4,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%');
-- Ethereal Crypt Raider
SET @ENTRY := 18311;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,7,0,0,0,0,11,22911,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Charge on Aggro'),
(@ENTRY,0,1,0,0,0,100,6,5000,13000,14000,18000,11,32315,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Soul Strike'),
(@ENTRY,0,2,0,0,0,100,6,6000,9000,35000,40000,11,31403,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Battle Shout'),
(@ENTRY,0,3,0,2,0,100,7,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Enrage at 30% HP'),
(@ENTRY,0,4,0,2,0,100,7,0,30,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Say Text at 30% HP');
-- NPC talk text insert
SET @ENTRY := 18311;
DELETE FROM `creature_text` WHERE `entry`=@ENTRY;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
(@ENTRY,0,0, '%s becomes enraged!',2,0,100,0,0,0, 'combat Enrage');
-- Ethereal Darkcaster
SET @ENTRY := 18331;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,7,0,0,0,0,11,16592,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Shadowform on Aggro'),
(@ENTRY,0,1,0,0,0,100,6,2000,6000,10000,12000,11,34942,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Shadow Word: Pain'),
(@ENTRY,0,2,0,0,0,100,2,4000,8000,6000,7000,11,34931,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Mana Burn'),
(@ENTRY,0,3,0,0,0,100,4,4000,8000,6000,7000,11,34930,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Mana Burn');
-- Ethereal Priest
SET @ENTRY := 18317;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,2,2000,7000,9000,15000,11,17139,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Power Word: Shield'),
(@ENTRY,0,1,0,0,0,100,4,2000,7000,9000,15000,11,35944,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Power Word: Shield'),
(@ENTRY,0,2,0,0,0,100,2,5000,8000,11000,20000,11,34944,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Holy Nova'),
(@ENTRY,0,3,0,0,0,100,4,5000,8000,11000,20000,11,37669,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Holy Nova'),
(@ENTRY,0,4,0,14,0,100,2,5000,40,25000,30000,11,34945,0,0,0,0,0,7,0,0,0,0,0,0,0,'Cast Heal on Friendlies'),
(@ENTRY,0,5,0,14,0,100,4,9000,40,25000,30000,11,22883,0,0,0,0,0,7,0,0,0,0,0,0,0,'Cast Heal on Friendlies');
-- Ethereal Scavenger
SET @ENTRY := 18309;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,9,0,100,6,0,5,9500,16000,11,34920,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Strike on Close'),
(@ENTRY,0,1,0,0,0,100,6,2000,4500,12000,13000,11,33865,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Singe'),
(@ENTRY,0,2,0,13,0,100,6,2000,4500,10000,14000,11,33871,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Shield Bash on Player Spell Cast');
-- Ethereal Sorcerer
SET @ENTRY := 18313;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,3,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,1,0,4,1,100,3,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,2,0,4,1,100,3,0,0,0,0,11,15791,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,3,0,9,1,100,2,0,40,3400,4700,11,15791,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,4,0,9,1,100,2,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,5,0,9,1,100,2,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,6,0,9,1,100,2,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,7,0,3,1,100,2,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,8,0,3,2,100,2,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,9,0,3,2,100,2,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%'),
(@ENTRY,0,10,0,4,0,100,5,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,11,0,4,1,100,5,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,12,0,4,1,100,5,0,0,0,0,11,22273,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,13,0,9,1,100,4,0,40,3400,4700,11,22273,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,14,0,9,1,100,4,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,15,0,9,1,100,4,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,16,0,9,1,100,4,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,17,0,3,1,100,4,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,18,0,3,2,100,4,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,19,0,3,2,100,4,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%'),
(@ENTRY,0,20,0,0,1,100,6,5000,10000,11000,15000,11,25603,1,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Slow');
-- Ethereal Spellbinder
SET @ENTRY := 18312;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,7,0,0,0,0,11,32316,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Summon Ethereal Wraith on Aggro'),
(@ENTRY,0,1,0,0,0,100,2,2000,4500,15000,18000,11,17883,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Immolate'),
(@ENTRY,0,2,0,0,0,100,4,2000,4500,15000,18000,11,37668,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Immolate'),
(@ENTRY,0,3,0,13,0,100,6,2000,4500,14000,16000,11,37470,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Counterspell on Player Spell Cast');
-- Ethereal Theurgist
SET @ENTRY := 18315;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,9,0,100,2,0,8,13600,14500,11,17145,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Blast Wave on Close'),
(@ENTRY,0,1,0,9,0,100,4,0,8,13600,14500,11,38064,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Blast Wave on Close'),
(@ENTRY,0,2,0,0,0,100,2,2000,4500,12000,20000,11,15580,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Strike'),
(@ENTRY,0,3,0,0,0,100,4,2000,4500,12000,20000,11,34920,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Strike'),
(@ENTRY,0,4,0,0,0,100,6,6000,9000,22000,26000,11,13323,1,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Polymorph');
-- Ethereal Wraith
SET @ENTRY := 18394;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,4,0,100,3,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,1,0,4,1,100,3,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,2,0,4,1,100,3,0,0,0,0,11,34934,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,3,0,9,1,100,2,0,40,3400,4700,11,34934,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,4,0,9,1,100,2,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,5,0,9,1,100,2,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,6,0,9,1,100,2,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,7,0,3,1,100,2,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,8,0,3,2,100,2,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,9,0,3,2,100,2,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%'),
(@ENTRY,0,10,0,4,0,100,5,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 on Aggro'),
(@ENTRY,0,11,0,4,1,100,5,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving on Aggro'),
(@ENTRY,0,12,0,4,1,100,5,0,0,0,0,11,34934,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt on Aggro'),
(@ENTRY,0,13,0,9,1,100,4,0,40,3400,4700,11,34934,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast bolt'),
(@ENTRY,0,14,0,9,1,100,4,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving when not in bolt Range'),
(@ENTRY,0,15,0,9,1,100,4,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving at 15 Yards'),
(@ENTRY,0,16,0,9,1,100,4,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stop Moving when in bolt Range'),
(@ENTRY,0,17,0,3,1,100,4,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 2 at 15% Mana'),
(@ENTRY,0,18,0,3,2,100,4,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Start Moving at 15% Mana'),
(@ENTRY,0,19,0,3,2,100,4,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Set Phase 1 When Mana is above 30%');
-- <NAME>
SET @ENTRY := 19306;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,6,8000,13000,18000,18000,11,15785,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Mana Burn'),
(@ENTRY,0,1,0,0,0,100,6,6000,16000,14000,19000,11,25602,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Faerie Fire'),
(@ENTRY,0,2,0,6,0,100,7,0,0,0,0,11,34933,3,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Arcane Explosion on Death');
-- Nexus Stalker
SET @ENTRY := 18314;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,6,5000,8000,10000,22000,11,34940,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Gouge'),
(@ENTRY,0,1,0,0,0,100,2,3000,10000,12000,18000,11,33925,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Phantom Strike'),
(@ENTRY,0,2,0,0,0,100,4,3000,10000,12000,18000,11,39332,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Phantom Strike');
-- Nexus Terror
SET @ENTRY := 19307;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,6,2000,3000,16000,32000,11,34922,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Shadows Embrace'),
(@ENTRY,0,1,0,0,0,100,4,9000,17000,15000,22000,11,38065,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Death Coil'),
(@ENTRY,0,2,0,0,0,100,6,12000,20000,18000,25000,11,34322,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Psychic Scream'),
(@ENTRY,0,3,0,0,0,100,6,7000,17000,60000,70000,11,34922,0,0,0,0,0,4,0,0,0,0,0,0,0,'Cast Curse of Impotence');
|
<filename>www7/cp/admin/db/ver-7.2.11/schema-addons-7.2.11.sql
ALTER TABLE `pattachments`
ADD `datein` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `code`;
CREATE TABLE IF NOT EXISTS `difprodlogs` (
`id` int(11) NOT NULL,
`datein` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`code` varchar(64) DEFAULT NULL,
`ypoloipo1` float DEFAULT '0',
`ypoloipo2` float DEFAULT '0',
`price0` float DEFAULT '0',
`price1` float DEFAULT '0',
`price2` float DEFAULT '0',
`pricepc` float DEFAULT '0',
`weight` float DEFAULT NULL,
`volume` float DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='DIF products Log table';
ALTER TABLE `difprodlogs`
ADD PRIMARY KEY (`id`);
ALTER TABLE `difprodlogs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `difprodlogs` ADD `flag` TINYINT(4) NOT NULL AFTER `datein`;
ALTER TABLE `difprodlogs` ADD INDEX(`code`);
ALTER TABLE `fshistory` ADD `timein` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `id`; |
CREATE TABLE BATCH_JOB_INSTANCE
(
JOB_INSTANCE_ID NUMBER(19,0) NOT NULL,
VERSION NUMBER(19,0),
JOB_NAME VARCHAR2(100 CHAR) NOT NULL,
JOB_KEY VARCHAR2(32 CHAR) NOT NULL
);
ALTER TABLE BATCH_JOB_INSTANCE ADD CONSTRAINT JOB_INST_PK PRIMARY KEY (JOB_INSTANCE_ID);
ALTER TABLE BATCH_JOB_INSTANCE ADD CONSTRAINT JOB_INST_UN UNIQUE (JOB_NAME, JOB_KEY);
CREATE TABLE BATCH_JOB_EXECUTION
(
JOB_EXECUTION_ID NUMBER(19,0) NOT NULL,
VERSION NUMBER(19,0),
JOB_INSTANCE_ID NUMBER(19,0) NOT NULL,
CREATE_TIME TIMESTAMP NOT NULL,
START_TIME TIMESTAMP DEFAULT NULL,
END_TIME TIMESTAMP DEFAULT NULL,
STATUS VARCHAR2(10 CHAR),
EXIT_CODE VARCHAR2(2500 CHAR),
EXIT_MESSAGE VARCHAR2(2500 CHAR),
LAST_UPDATED TIMESTAMP,
JOB_CONFIGURATION_LOCATION VARCHAR2(2500 CHAR)
);
ALTER TABLE BATCH_JOB_EXECUTION ADD CONSTRAINT JOB_INST_EXEC_PK PRIMARY KEY (JOB_EXECUTION_ID);
ALTER TABLE BATCH_JOB_EXECUTION ADD CONSTRAINT JOB_INST_EXEC_FK FOREIGN KEY (JOB_INSTANCE_ID) REFERENCES BATCH_JOB_INSTANCE (JOB_INSTANCE_ID);
CREATE TABLE BATCH_JOB_EXECUTION_PARAMS
(
JOB_EXECUTION_ID NUMBER(19,0) NOT NULL,
TYPE_CD VARCHAR2(6 CHAR) NOT NULL,
KEY_NAME VARCHAR2(100 CHAR) NOT NULL,
STRING_VAL VARCHAR2(250 CHAR),
DATE_VAL TIMESTAMP DEFAULT NULL,
LONG_VAL NUMBER(19,0),
DOUBLE_VAL DOUBLE PRECISION,
IDENTIFYING CHAR(1 CHAR) NOT NULL
);
ALTER TABLE BATCH_JOB_EXECUTION_PARAMS ADD CONSTRAINT JOB_EXEC_PARAMS_FK FOREIGN KEY (JOB_EXECUTION_ID) REFERENCES BATCH_JOB_EXECUTION (JOB_EXECUTION_ID);
CREATE TABLE BATCH_STEP_EXECUTION
(
STEP_EXECUTION_ID NUMBER(19,0) NOT NULL,
VERSION NUMBER(19,0) NOT NULL,
STEP_NAME VARCHAR2(100 CHAR) NOT NULL,
JOB_EXECUTION_ID NUMBER(19,0) NOT NULL,
START_TIME TIMESTAMP NOT NULL,
END_TIME TIMESTAMP DEFAULT NULL,
STATUS VARCHAR2(10 CHAR),
COMMIT_COUNT NUMBER(19,0),
READ_COUNT NUMBER(19,0),
FILTER_COUNT NUMBER(19,0),
WRITE_COUNT NUMBER(19,0),
READ_SKIP_COUNT NUMBER(19,0),
WRITE_SKIP_COUNT NUMBER(19,0),
PROCESS_SKIP_COUNT NUMBER(19,0),
ROLLBACK_COUNT NUMBER(19,0),
EXIT_CODE VARCHAR2(2500 CHAR),
EXIT_MESSAGE VARCHAR2(2500 CHAR),
LAST_UPDATED TIMESTAMP
);
ALTER TABLE BATCH_STEP_EXECUTION ADD CONSTRAINT JOB_EXEC_STEP_PK PRIMARY KEY (STEP_EXECUTION_ID);
ALTER TABLE BATCH_STEP_EXECUTION ADD CONSTRAINT JOB_EXEC_STEP_FK FOREIGN KEY (JOB_EXECUTION_ID) REFERENCES BATCH_JOB_EXECUTION (JOB_EXECUTION_ID);
CREATE TABLE BATCH_STEP_EXECUTION_CONTEXT
(
STEP_EXECUTION_ID NUMBER(19,0) NOT NULL,
SHORT_CONTEXT VARCHAR2(2500 CHAR) NOT NULL,
SERIALIZED_CONTEXT CLOB
);
ALTER TABLE BATCH_STEP_EXECUTION_CONTEXT ADD CONSTRAINT STEP_EXEC_CTX_PK PRIMARY KEY (STEP_EXECUTION_ID);
ALTER TABLE BATCH_STEP_EXECUTION_CONTEXT ADD CONSTRAINT STEP_EXEC_CTX_FK FOREIGN KEY (STEP_EXECUTION_ID) REFERENCES BATCH_STEP_EXECUTION (STEP_EXECUTION_ID);
CREATE TABLE BATCH_JOB_EXECUTION_CONTEXT
(
JOB_EXECUTION_ID NUMBER(19,0) NOT NULL,
SHORT_CONTEXT VARCHAR2(2500 CHAR) NOT NULL,
SERIALIZED_CONTEXT CLOB
);
ALTER TABLE BATCH_JOB_EXECUTION_CONTEXT ADD CONSTRAINT JOB_EXEC_CTX_PK PRIMARY KEY (JOB_EXECUTION_ID);
ALTER TABLE BATCH_JOB_EXECUTION_CONTEXT ADD CONSTRAINT JOB_EXEC_CTX_FK FOREIGN KEY (JOB_EXECUTION_ID) REFERENCES BATCH_JOB_EXECUTION (JOB_EXECUTION_ID);
CREATE SEQUENCE BATCH_STEP_EXECUTION_SEQ MAXVALUE 9223372036854775807 NOCYCLE;
CREATE SEQUENCE BATCH_JOB_EXECUTION_SEQ MAXVALUE 9223372036854775807 NOCYCLE;
CREATE SEQUENCE BATCH_JOB_SEQ MAXVALUE 9223372036854775807 NOCYCLE;
|
<reponame>unchartedsoftware/influent
create table TopicSummary (idx int, topic_score real, doc_purity real, name varchar(100), topic_list varchar(MAX), PRIMARY KEY (idx));
create table TopicScores (EmailRecNo varchar(255), idx int, score real, PRIMARY KEY (EmailRecNo, idx)); |
INSERT INTO item ("name", category_id, needed, bought, "comment") VALUES ('Продукт', 2, false, false, '');
|
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
{{if eq .model "mobile"}}
DROP TABLE IF EXISTS {{.scratch_schema}}.mobile_events_addon_application_context{{.entropy}};
CREATE TABLE IF NOT EXISTS {{.scratch_schema}}.mobile_events_addon_application_context{{.entropy}} (
root_id CHAR(36),
root_tstamp TIMESTAMP ENCODE ZSTD,
build VARCHAR(255) ENCODE ZSTD,
version VARCHAR(255) ENCODE ZSTD
)
DISTSTYLE KEY
DISTKEY (root_id)
SORTKEY (root_tstamp);
{{if eq .application_context true}}
INSERT INTO {{.scratch_schema}}.mobile_events_addon_application_context{{.entropy}} (
SELECT
ma.root_id,
ma.root_tstamp,
ma.build,
ma.version
FROM {{.input_schema}}.com_snowplowanalytics_mobile_application_1 ma
WHERE ma.root_tstamp >= (SELECT lower_limit FROM {{.scratch_schema}}.{{.model}}_base_run_limits{{.entropy}})
AND ma.root_tstamp <= (SELECT upper_limit FROM {{.scratch_schema}}.{{.model}}_base_run_limits{{.entropy}})
);
{{end}}
{{else}}
SELECT 1;
{{end}}
|
/*
Navicat MySQL Data Transfer
Source Server : vm
Source Server Version : 50723
Source Host : 127.0.0.1:3306
Source Database : test
Target Server Type : MYSQL
Target Server Version : 50723
File Encoding : 65001
Date: 2019-03-13 10:00:05
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for person
-- ----------------------------
DROP TABLE IF EXISTS `person`;
CREATE TABLE `person` (
`id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of person
-- ----------------------------
INSERT INTO `person` VALUES ('1', '1', '1');
INSERT INTO `person` VALUES ('2', '2', '2');
INSERT INTO `person` VALUES ('3', '3', '3');
INSERT INTO `person` VALUES ('4', '4', '4');
INSERT INTO `person` VALUES ('5', '5', '5');
INSERT INTO `person` VALUES ('6', '6', '6');
INSERT INTO `person` VALUES ('7', '7', '7');
INSERT INTO `person` VALUES ('8', '8', '8');
INSERT INTO `person` VALUES ('9', '9', '9');
INSERT INTO `person` VALUES ('10', '10', '10');
INSERT INTO `person` VALUES ('11', '11', '11');
|
create table if not exists city
(
name varchar(255) not null,
state int not null
);
insert into city (name, state)
values ('Mumbai', 1);
insert into city (name, state)
values ('Pune', 1);
insert into city (name, state)
values ('Bhopal', 2);
insert into city (name, state)
values ('Indore', 2);
insert into city (name, state)
values ('Klin', 3);
insert into city (name, state)
values ('Los Angeles', 5);
insert into city (name, state)
values ('Plant City', 5);
insert into city (name, state)
values ('Arlington', 6);
|
<filename>db/deploy/appschema.sql
-- Deploy nasa-apt:appschema to pg
BEGIN;
CREATE ROLE app_user;
GRANT app_user TO masteruser;
CREATE SCHEMA apt;
GRANT USAGE ON SCHEMA apt TO app_user;
GRANT CONNECT ON DATABASE nasadb TO app_user;
GRANT USAGE ON SCHEMA apt TO app_user;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA apt TO app_user;
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA apt TO app_user;
ALTER DEFAULT PRIVILEGES IN SCHEMA apt GRANT SELECT, INSERT, UPDATE, DELETE ON TABLES TO app_user;
ALTER DEFAULT PRIVILEGES IN SCHEMA apt GRANT USAGE, SELECT ON SEQUENCES TO app_user;
COMMIT;
|
<reponame>pdv-ru/ClickHouse<filename>tests/queries/0_stateless/01412_optimize_deduplicate_bug.sql
drop table if exists tesd_dedupl;
create table tesd_dedupl (x UInt32, y UInt32) engine = MergeTree order by x;
insert into tesd_dedupl values (1, 1);
insert into tesd_dedupl values (1, 1);
OPTIMIZE TABLE tesd_dedupl DEDUPLICATE;
select * from tesd_dedupl;
drop table if exists tesd_dedupl;
|
/*
Navicat Premium Data Transfer
Source Server : mysql
Source Server Type : MySQL
Source Server Version : 50711
Source Host : localhost
Source Database : smart_community
Target Server Type : MySQL
Target Server Version : 50711
File Encoding : utf-8
Date: 05/20/2016 18:10:21 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `sc_access`
-- ----------------------------
DROP TABLE IF EXISTS `sc_access`;
CREATE TABLE `sc_access` (
`role_id` smallint(6) unsigned NOT NULL,
`node_id` smallint(6) unsigned NOT NULL,
`module` varchar(50) DEFAULT NULL,
KEY `groupId` (`role_id`),
KEY `nodeId` (`node_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='RBAC数据库';
-- ----------------------------
-- Records of `sc_access`
-- ----------------------------
BEGIN;
INSERT INTO `sc_access` VALUES ('6', '9', null), ('6', '8', null), ('5', '21', null), ('5', '20', null), ('5', '19', null), ('5', '12', null), ('7', '10', null), ('4', '8', null), ('4', '9', null), ('4', '10', null), ('4', '11', null), ('4', '12', null), ('6', '10', null), ('6', '11', null), ('6', '12', null), ('5', '11', null), ('5', '10', null), ('5', '9', null), ('5', '17', null), ('5', '16', null), ('5', '14', null), ('5', '8', null), ('5', '22', null), ('1', '29', null), ('1', '28', null), ('1', '27', null), ('1', '26', null), ('1', '25', null), ('1', '24', null), ('1', '23', null), ('1', '22', null), ('1', '21', null), ('1', '20', null), ('1', '19', null), ('1', '12', null), ('1', '11', null), ('1', '10', null), ('1', '9', null), ('1', '17', null), ('1', '16', null), ('1', '14', null), ('1', '8', null);
COMMIT;
-- ----------------------------
-- Table structure for `sc_admin`
-- ----------------------------
DROP TABLE IF EXISTS `sc_admin`;
CREATE TABLE `sc_admin` (
`id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
`icon_url` varchar(100) DEFAULT NULL COMMENT '管理员头像',
`nick_name` varchar(10) NOT NULL COMMENT '昵称',
`true_name` varchar(10) NOT NULL COMMENT '真实姓名',
`gender` enum('1','2') NOT NULL COMMENT '1表示男,2表示女',
`password` char(50) NOT NULL COMMENT '管理员密码,MD5格式',
`mobile` char(11) NOT NULL COMMENT '手机号',
`email` varchar(50) NOT NULL COMMENT '邮箱',
`id_card_num` varchar(18) NOT NULL COMMENT '身份证号',
`create_time` datetime NOT NULL COMMENT '创建时间',
`last_log_ip` char(15) NOT NULL DEFAULT '' COMMENT '上次登录IP',
`last_log_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上次登录时间',
`if_aprvd` enum('0','1','-1') NOT NULL DEFAULT '1' COMMENT '管理员默认审批通过,0->待审批,1->审批通过, -1->审批不通过',
PRIMARY KEY (`id`),
UNIQUE KEY `nick_name` (`nick_name`),
UNIQUE KEY `mobile` (`mobile`),
UNIQUE KEY `email` (`email`),
KEY `id_card_num` (`id_card_num`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='管理员账号信息';
-- ----------------------------
-- Records of `sc_admin`
-- ----------------------------
BEGIN;
INSERT INTO `sc_admin` VALUES ('1', '121231', 'admin', 'admin', '1', '4910d7fcdc3d1c078bf62a17526d6c6a', '123', '123', '123456789123456789', '2016-04-26 09:13:04', '::1', '2016-05-20 05:09:45', '1'), ('2', '121231', '1234', '1234', '1', '123', '1234', '1234', '1234', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('3', '121231', '12345', '12345', '1', '123', '12345', '12345', '12345', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('4', '121231', '12346', '12346', '1', '123', '12346', '12346', '12346', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('5', '121231', '12347', '12347', '1', '123', '12347', '12347', '12347', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('6', '121231', '12348', '12348', '1', '123', '12348', '12348', '12348', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('7', '121231', '12349', '12349', '1', '123', '12349', '12349', '12349', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('8', '121231', '12340', '12340', '1', '123', '12340', '12340', '12340', '2016-04-26 09:13:04', '123', '2016-04-26 09:13:11', '1'), ('10', null, 'fasdfasdf', 'adsfasdfas', '2', '98b107363e7879574be88688921f3c63', '13632532468', '<EMAIL>', '441111111111111111', '2016-05-12 02:09:04', '', '2016-05-12 14:09:04', '1'), ('11', null, 'admin7897', '4564564564', '2', '80f70e49a58366f6048de4fe6a1d1790', '13654854569', '<EMAIL>', '440569825695458562', '2016-05-16 11:36:00', '', '2016-05-16 11:36:00', '1'), ('12', null, '123123123', '212312123', '2', 'fd272d074aa615907705e1ad55671c28', '13631431685', '<EMAIL>', '440952269325216325', '2016-05-18 04:56:04', '', '2016-05-18 16:56:04', '1');
COMMIT;
-- ----------------------------
-- Table structure for `sc_article`
-- ----------------------------
DROP TABLE IF EXISTS `sc_article`;
CREATE TABLE `sc_article` (
`aid` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '文章ID',
`acid` int(11) NOT NULL COMMENT '文章分类ID',
`atitle` varchar(150) NOT NULL COMMENT '标题',
`keyword` varchar(100) NOT NULL COMMENT '关键词',
`source` varchar(20) NOT NULL COMMENT '来源',
`author` varchar(20) NOT NULL COMMENT '作者',
`des` varchar(150) NOT NULL COMMENT '摘要',
`content` mediumtext NOT NULL COMMENT '内容',
`valid_time` date NOT NULL COMMENT '有效期',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`create_id` char(11) NOT NULL COMMENT '创建人ID',
`status` enum('1','0','-1','-2') NOT NULL DEFAULT '0' COMMENT '1->发布,0->待审核,-1->回收站,-2->彻底删除状态',
`operate_time` datetime DEFAULT NULL COMMENT '审批时间',
`operate_id` char(11) DEFAULT NULL COMMENT '审批人ID',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`aid`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of `sc_article`
-- ----------------------------
BEGIN;
INSERT INTO `sc_article` VALUES ('1', '1', '小区通知1', '1', '1', '1', '1', '<p>12</p>', '2016-05-13', '2016-05-13 11:31:50', '1', '1', null, null, '0'), ('2', '1', '1', '1', '1', '1', '1', '<p>12</p>', '2016-05-13', '2016-05-13 11:31:50', '1', '-2', '2016-05-17 04:43:26', 'U00000027', '0'), ('41', '2', '11', '1', '1', '1', '1', '<p>1</p>', '2016-05-13', '2016-05-13 11:31:50', '1', '1', null, null, '0'), ('42', '2', '1', '1', '1', '1', '1', '1', '2016-05-13', '2016-05-13 11:31:50', '1', '-2', '2016-05-18 05:56:40', 'A00000001', '0'), ('43', '3', 'YES1', '1', '1', '1', '1', '<p>1</p>', '2016-05-13', '2016-05-13 11:31:50', '1', '1', null, null, '0'), ('44', '3', 'no', '1', '1', '1', '1', '1', '2016-05-13', '2016-05-13 11:31:50', '1', '1', '2016-05-17 11:41:21', 'U00000027', '0'), ('45', '3', 'no', '1', '1', '1', '1', '1', '2016-05-13', '2016-05-13 11:31:50', '1', '0', null, null, '0'), ('46', '3', 'YES111', '1', '11213', '1', '1', '<p>1123132123</p>', '2016-05-13', '2016-05-13 11:31:50', '1', '1', null, null, '0'), ('47', '1', '121313', '123', '12312312', '3121231231', '12312313', '%26amp%3Blt%3Bp%26amp%3Bgt%3B12123123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-27', '2016-05-13 17:04:38', 'U00000027', '1', '2016-05-17 11:39:17', 'U00000027', '0'), ('48', '3', '121231', '12123123123', '12123123', '2123123', '12123123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B12123123123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-26', '2016-05-13 17:05:10', 'U00000027', '0', null, null, '333'), ('49', '1', '11231231asdfsadf', '1213', '123123123', '12123123132', '12123123123', '<p>%26amp%3Blt%3Bp%26amp%3Bgt%3B123123123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B</p>', '2016-05-19', '2016-05-13 17:13:48', 'U00000027', '0', null, null, '0'), ('50', '50', '1212312312', '1213', '121231231231', '121231231', '12123123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B12123123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-26', '2016-05-13 17:14:08', 'U00000027', '0', null, null, '0'), ('51', '1', '45456456sdf', '1%2C2%2C3%2C4,sdf', '4564564564564', '5456456456456', '12123123123', '<p>%26amp%3Blt%3Bp%26amp%3Bgt%3B1212123123%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B1212312%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B</p>', '2016-05-25', '2016-05-13 17:36:21', 'U00000027', '1', null, null, '0'), ('52', '1', '123132', '123', '1231321', '21231231', '123123123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B1231231231231%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-19', '2016-05-16 08:48:19', 'U00000027', '1', '2016-05-17 11:39:58', 'U00000027', '0'), ('53', '1', '121231', '123', '23123123123', '123123123', '123123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B1231%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-18', '2016-05-16 08:50:31', 'U00000027', '0', '2016-05-17 04:45:58', 'U00000027', '0'), ('54', '2', 'asdfsadf', 'ASDF', 'asdfasf', 'asdfasdf', 'ASDFASDF', '%26amp%3Blt%3Bp%26amp%3Bgt%3BSDFASF%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-26', '2016-05-16 08:50:55', 'U00000027', '0', null, null, '0'), ('55', '2', 'asdFS', 'ASDF', 'asdF', 'ASDF', 'ASDFASDF', '%26amp%3Blt%3Bp%26amp%3Bgt%3BASDFASDFADS%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-19', '2016-05-16 08:51:14', 'U00000027', '0', null, null, '0'), ('56', '3', '%E6%88%91', '%E6%88%91', '%E6%88%91', '%E6%88%91', '%E6%88%91', '%26amp%3Blt%3Bp%26amp%3Bgt%3B%E6%88%91%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-11', '2016-05-16 08:52:19', 'U00000027', '1', '2016-05-17 11:40:12', 'U00000027', '0'), ('57', '2', '%E4%BD%A0', '%E4%BD%A0', '%E4%BD%A0', '%E4%BD%A0', '%E4%BD%A0', '%26amp%3Blt%3Bp%26amp%3Bgt%3B%E4%BD%A0%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-18', '2016-05-16 08:53:29', 'U00000027', '1', '2016-05-17 11:41:36', 'U00000027', '0'), ('58', '2', '121231', '123123', '12123123', '123123123', '123123123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B12123123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-10', '2016-05-16 09:10:01', 'U00000027', '0', null, null, '0'), ('59', '2', '121231', '1', '2123123', '2123123', '123132', '%26amp%3Blt%3Bp%26amp%3Bgt%3B2123123%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B%26amp%3Bamp%3Bnbsp%3B%26amp%3Blt%3Bbr%2F%26amp%3Bgt%3B%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-18', '2016-05-16 09:48:39', 'U00000027', '0', '2016-05-17 04:46:58', 'U00000027', '0'), ('60', '1', '1212332wenzhang1232', '123', '1', '1', '123', '<p>%26amp%3Blt%3Bp%26amp%3Bgt%3B123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B</p>', '2016-05-18', '2016-05-16 13:46:56', 'U00000027', '1', '2016-05-17 11:27:09', 'U00000027', '0'), ('61', '1', 'cetest', '12123%2C21321%2C1213', 'jkjkl', 'jkljl%3Bk', '123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B1231%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-19', '2016-05-17 10:06:56', 'U00000027', '-2', '2016-05-17 04:46:48', 'U00000027', '0'), ('62', '1', '123', '123', '123', '123', '123', '%26amp%3Blt%3Bp%26amp%3Bgt%3B123%26amp%3Blt%3B%2Fp%26amp%3Bgt%3B', '2016-05-13', '2016-05-18 16:52:24', 'A00000001', '0', null, null, '0');
COMMIT;
-- ----------------------------
-- Table structure for `sc_article_cat`
-- ----------------------------
DROP TABLE IF EXISTS `sc_article_cat`;
CREATE TABLE `sc_article_cat` (
`acid` int(11) NOT NULL AUTO_INCREMENT COMMENT '分类ID',
`afid` int(11) NOT NULL COMMENT '父类ID',
`aname` varchar(80) NOT NULL COMMENT '分类名字',
`sort` int(2) NOT NULL DEFAULT '0' COMMENT '排序',
`acreate_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`acid`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of `sc_article_cat`
-- ----------------------------
BEGIN;
INSERT INTO `sc_article_cat` VALUES ('1', '0', '小区通知', '0', '2016-05-12 14:04:36'), ('2', '0', '政府公告', '0', '2016-05-12 14:04:51'), ('3', '0', '办事指南', '0', '2016-05-12 14:05:07'), ('50', '0', '便民服务', '0', '2016-05-13 15:34:35');
COMMIT;
-- ----------------------------
-- Table structure for `sc_book_places`
-- ----------------------------
DROP TABLE IF EXISTS `sc_book_places`;
CREATE TABLE `sc_book_places` (
`bp_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '场地申请工单ID',
`u_id` int(10) unsigned NOT NULL COMMENT '申请人',
`bp_create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '申请时间',
`bp_start_time` datetime NOT NULL COMMENT '申请使用开始时间',
`bp_end_time` datetime NOT NULL COMMENT '申请使用结束时间',
`bp_type` enum('1','2','3') NOT NULL COMMENT '1->会议室,2->广场,3->游泳池',
`bp_purpose` enum('1','2','3') NOT NULL COMMENT '1->个人使用,2->团体活动,3->商业用途',
`bp_attend_num` int(4) unsigned NOT NULL COMMENT '参与人数',
`bp_content` text NOT NULL COMMENT '申请内容',
`bp_materials` varchar(250) NOT NULL COMMENT '申请材料 URL',
`bp_status` enum('0','1','2') NOT NULL DEFAULT '0' COMMENT '0->待审核,1->审核通过,2->审核失败',
`w_id` int(10) unsigned NOT NULL COMMENT '操作人',
`bp_operate_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '操作时间',
PRIMARY KEY (`bp_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='场地申请(book place)';
-- ----------------------------
-- Table structure for `sc_feedback`
-- ----------------------------
DROP TABLE IF EXISTS `sc_feedback`;
CREATE TABLE `sc_feedback` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '投诉工单ID',
`to_who` varchar(30) NOT NULL COMMENT '目标人/单位名称',
`type` enum('1','2','3','4','5','6','7','8','9') NOT NULL COMMENT '1,环境卫生;2,服务技能;3,服务态度;4,服务时限;5,公共设施;6,监控投诉;7,安全事故;8,其他投诉; 9, 表扬',
`content` text NOT NULL COMMENT '内容',
`materials` varchar(250) NOT NULL COMMENT '上传材料的URL',
`from_who` varchar(20) DEFAULT NULL COMMENT '反馈人,不填则默认当前用户',
`mobile` varchar(20) DEFAULT NULL COMMENT '反馈人手机号,客户不填默认是当前用户',
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '提交时间',
`create_id` int(11) unsigned NOT NULL COMMENT '操作人',
`status` enum('0','1') NOT NULL DEFAULT '0' COMMENT '0,待处理;1,已处理',
`results` varchar(250) DEFAULT NULL COMMENT '处理结果',
`operate_id` int(11) unsigned DEFAULT NULL COMMENT '操作人',
`operate_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '操作时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='投诉管理(feedback complaint)';
-- ----------------------------
-- Table structure for `sc_fees`
-- ----------------------------
DROP TABLE IF EXISTS `sc_fees`;
CREATE TABLE `sc_fees` (
`f_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '费用单号',
`u_id` int(1) unsigned NOT NULL COMMENT '用户ID',
`f_pre_pay_left` decimal(10,3) unsigned NOT NULL COMMENT '预付费用余额',
`f_water` decimal(10,3) unsigned NOT NULL COMMENT '水费',
`f_electricity` decimal(10,3) unsigned NOT NULL COMMENT '电费',
`f_gas` decimal(10,3) unsigned NOT NULL COMMENT '燃气费',
`f_heat` decimal(10,3) unsigned NOT NULL COMMENT '暖气费',
`f_property` decimal(10,3) unsigned NOT NULL COMMENT '物业费',
`f_cleaning` decimal(10,3) unsigned NOT NULL COMMENT '卫生费',
`f_park` decimal(10,3) unsigned NOT NULL COMMENT '停车费',
`f_others` decimal(10,3) unsigned NOT NULL COMMENT '其他费用',
`f_create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '费用产生时间',
PRIMARY KEY (`f_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='费用管理';
-- ----------------------------
-- Table structure for `sc_house_info`
-- ----------------------------
DROP TABLE IF EXISTS `sc_house_info`;
CREATE TABLE `sc_house_info` (
`h_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '房产ID',
`h_prov` varchar(10) NOT NULL COMMENT '所在省份',
`h_city` varchar(10) NOT NULL COMMENT '所在城市',
`h_region` varchar(10) NOT NULL COMMENT '所在区域',
`h_comm` varchar(10) NOT NULL COMMENT '所在小区',
`h_block_num` int(11) unsigned NOT NULL COMMENT '所在楼号',
`h_room_num` int(11) unsigned NOT NULL COMMENT '门牌号',
`h_room_size` double(4,3) NOT NULL COMMENT '户型大小',
`h_owner_name` varchar(10) NOT NULL COMMENT '业主名称',
`h_owner_id_card_num` char(18) NOT NULL COMMENT '业主身份证号',
`h_owner_mobile` varchar(20) NOT NULL COMMENT '业主手机号',
`h_email` varchar(50) NOT NULL COMMENT '邮箱',
`h_pocn` varchar(30) NOT NULL COMMENT 'property ownership certificate number 房产证号',
PRIMARY KEY (`h_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='业主房产基本信息,由物业整理';
-- ----------------------------
-- Table structure for `sc_mgrs`
-- ----------------------------
DROP TABLE IF EXISTS `sc_mgrs`;
CREATE TABLE `sc_mgrs` (
`id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT COMMENT '业主ID',
`icon_url` varchar(100) DEFAULT NULL COMMENT '头像',
`nick_name` varchar(10) NOT NULL COMMENT '昵称',
`true_name` varchar(10) NOT NULL COMMENT '真实姓名',
`password` char(50) NOT NULL COMMENT '业主密码,MD5格式',
`gender` enum('1','2') NOT NULL COMMENT '1表示男,2表示女',
`mobile` char(11) NOT NULL COMMENT '手机号',
`email` varchar(50) NOT NULL COMMENT '邮箱',
`id_card_num` varchar(18) NOT NULL COMMENT '身份证号',
`create_time` datetime NOT NULL COMMENT '创建时间',
`last_log_ip` char(15) NOT NULL DEFAULT '' COMMENT '上次登录IP',
`last_log_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上次登录时间',
`if_aprvd` enum('0','1','-1') NOT NULL DEFAULT '0' COMMENT '物业是否通过审批,0->待审批,1->审批通过, -1->审批不通过',
PRIMARY KEY (`id`),
KEY `nick_name` (`nick_name`),
KEY `mobile` (`mobile`),
KEY `email` (`email`),
KEY `id_card_num` (`id_card_num`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='物业管理者账号信息';
-- ----------------------------
-- Records of `sc_mgrs`
-- ----------------------------
BEGIN;
INSERT INTO `sc_mgrs` VALUES ('1', '1', '1', '1', '1', '1', '1', '1', '1', '2016-05-18 16:28:26', '1', '2016-05-05 16:28:30', '1'), ('2', '2', '2', '2', '2', '2', '2', '2', '2', '2016-05-27 16:28:52', '2', '2016-05-05 16:28:58', '0'), ('3', null, '1231', '123123', '97477d07fe32d39ba87bdd6e378b4ba7', '2', '13631431767', '<EMAIL>', '123123121231231231', '2016-05-10 10:31:40', '1', '2016-05-10 10:33:31', '0'), ('4', null, '12314', '123123', '89faffabd6aa961212731253baa96fae', '2', '13631431763', '<EMAIL>', '123123121231231232', '2016-05-10 10:32:34', '1', '2016-05-10 10:33:34', '0'), ('5', null, '123145', '123123', '8b506bb19e56bb53b4f435685f84445b', '2', '13631431762', '<EMAIL>', '123123121231231236', '2016-05-10 10:35:13', '1', '2016-05-20 10:44:43', '0'), ('6', null, '123', '123', '64a90249d05e0ab880c54f269d9c21f4', '2', '13631525286', '<EMAIL>', '123111111111111111', '2016-05-10 10:46:00', '', '2016-05-10 10:46:00', '0'), ('7', null, '1231231231', '1212312312', '58d2a0c11aa9ab1009519a22ba769999', '2', '13645625869', '<EMAIL>', '440569935682468569', '2016-05-16 11:33:57', '', '2016-05-16 11:33:57', '0');
COMMIT;
-- ----------------------------
-- Table structure for `sc_node`
-- ----------------------------
DROP TABLE IF EXISTS `sc_node`;
CREATE TABLE `sc_node` (
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`title` varchar(50) DEFAULT NULL,
`status` tinyint(1) DEFAULT '0',
`remark` varchar(255) DEFAULT NULL,
`sort` smallint(6) unsigned DEFAULT NULL,
`pid` smallint(6) unsigned NOT NULL,
`level` tinyint(1) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `level` (`level`),
KEY `pid` (`pid`),
KEY `status` (`status`),
KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COMMENT='RBAC数据库';
-- ----------------------------
-- Records of `sc_node`
-- ----------------------------
BEGIN;
INSERT INTO `sc_node` VALUES ('8', 'admin', '后台', '1', null, '100', '0', '1'), ('14', 'Index', '显示', '1', null, '100', '8', '2'), ('9', 'users', '业主', '1', null, '100', '8', '2'), ('10', 'index', '显示', '1', null, '100', '9', '3'), ('11', 'add', '添加', '1', null, '100', '9', '3'), ('12', 'edit', '编辑', '1', null, '100', '9', '3'), ('16', 'index', '显示主页', '1', null, '100', '14', '3'), ('17', 'logout', '退出', '1', null, '100', '14', '3'), ('19', 'access', '权限操作', '1', null, '100', '8', '2'), ('20', 'index', '用户列表', '1', null, '100', '19', '3'), ('21', 'role', '角色列表', '1', null, '100', '19', '3'), ('22', 'node', '节点列表', '1', null, '100', '19', '3'), ('23', 'add_user', '添加/编辑用户', '1', null, '100', '19', '3'), ('24', 'del_user', '删除用户', '1', null, '100', '19', '3'), ('25', 'add_node', '添加/编辑节点', '1', null, '100', '19', '3'), ('26', 'del_node', '删除节点', '1', null, '100', '19', '3'), ('27', 'add_role', '添加/编辑角色', '1', null, '100', '19', '3'), ('28', 'del_role', '删除角色', '1', null, '100', '19', '3'), ('29', 'access', '权限配置', '1', null, '100', '19', '3'), ('50', 'as', 'asdf', '1', null, '100', '49', '3'), ('43', 'womwen', 'sdfasdf', '1', null, '100', '0', '1'), ('44', 'asf', 'sdf', '1', null, '100', '0', '1'), ('45', 'sf', 'asdf', '1', null, '100', '0', '1'), ('46', '123121', '123123123', '1', null, '100', '0', '1'), ('47', '', '', '1', null, '100', '0', '0'), ('48', 'asdf', 'asdf', '1', null, '100', '14', '3'), ('49', 'asdf', 'asdf', '1', null, '100', '8', '2'), ('51', '我们', '阿斯顿发斯蒂芬', '1', null, '100', '19', '3'), ('52', 'adm暗室逢灯', '阿斯蒂芬', '1', null, '100', '0', '1'), ('53', 'women', 'women', '1', null, '100', '14', '3'), ('54', 'new', 'asdf', '1', null, '100', '0', '1');
COMMIT;
-- ----------------------------
-- Table structure for `sc_notice`
-- ----------------------------
DROP TABLE IF EXISTS `sc_notice`;
CREATE TABLE `sc_notice` (
`n_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '小区通知/政府公告/办事指南 ID',
`n_type` set('1','2','3') NOT NULL COMMENT '1->小区通知,2->政府公告,3->办事指南(可多选)',
`n_titile` varchar(20) NOT NULL COMMENT '标题',
`n_author` varchar(20) NOT NULL COMMENT '作者',
`n_source` varchar(20) NOT NULL COMMENT '来源',
`n_abstracts` varchar(255) NOT NULL COMMENT '摘要',
`n_valid_time` datetime NOT NULL COMMENT '有效期',
`n_content` text NOT NULL COMMENT '内容',
`n_keywords` varchar(20) NOT NULL COMMENT '关键词',
`n_status` enum('1','0','-1') NOT NULL DEFAULT '0' COMMENT '1->发布,0->待审核,-1->回收站',
`n_create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`n_create_id` char(11) NOT NULL COMMENT '创建人ID',
`n_operate_time` datetime DEFAULT NULL COMMENT '审批时间',
`n_operate_id` char(11) DEFAULT NULL COMMENT '审批人ID',
PRIMARY KEY (`n_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='小区通知/政府公告/办事指南';
-- ----------------------------
-- Table structure for `sc_parking_fee_pre_pay`
-- ----------------------------
DROP TABLE IF EXISTS `sc_parking_fee_pre_pay`;
CREATE TABLE `sc_parking_fee_pre_pay` (
`pf_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '预付停车费工单ID',
`u_id` int(10) unsigned NOT NULL,
`pf_is_vip` enum('0','1') NOT NULL COMMENT '判断是否月卡用户,0->不是,1->是',
`pf_license_num` varchar(20) NOT NULL COMMENT '车牌号',
`pf_type` enum('1','2') NOT NULL COMMENT '1,露天停车场;2,地下停车库',
`pf_period` enum('1','3','6','12') DEFAULT NULL COMMENT '缴费时长(月用户),1->一个月,3->三个月,6->六个月,12->一年',
`pf_money` decimal(10,3) unsigned NOT NULL COMMENT '缴费金额',
`pf_create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '缴费时间',
PRIMARY KEY (`pf_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预付停车费(parking_fee_pre_pay)';
-- ----------------------------
-- Table structure for `sc_parking_manage`
-- ----------------------------
DROP TABLE IF EXISTS `sc_parking_manage`;
CREATE TABLE `sc_parking_manage` (
`p_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '停车工单ID',
`u_id` int(10) unsigned NOT NULL COMMENT '申请人',
`p_license_num` varchar(20) NOT NULL COMMENT '车牌号',
`p_start_time` datetime NOT NULL COMMENT '停车开始时间',
`p_end_time` datetime NOT NULL COMMENT '停车结束时间',
`p_fee_balance` decimal(5,0) NOT NULL COMMENT '预缴停车费余额',
`p_fee_current` decimal(5,0) NOT NULL COMMENT '实时停车费',
`p_pay_status` enum('0','1') NOT NULL COMMENT '0->未缴费/余额不足,1->已缴费',
`p_pay_time` datetime NOT NULL COMMENT '缴费时间',
PRIMARY KEY (`p_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='停车管理';
-- ----------------------------
-- Table structure for `sc_property_fee_pre_pay`
-- ----------------------------
DROP TABLE IF EXISTS `sc_property_fee_pre_pay`;
CREATE TABLE `sc_property_fee_pre_pay` (
`pp_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '预付管理费工单ID',
`pp_period` enum('1','3','6','12') NOT NULL COMMENT '缴费时长,1->一个月,3->三个月,6->六个月,12->一年',
`pp_money` decimal(10,3) unsigned NOT NULL COMMENT '缴费金额',
`pf_create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '缴费时间',
PRIMARY KEY (`pp_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预付管理费(property_fee_pre_pay)';
-- ----------------------------
-- Table structure for `sc_release_goods`
-- ----------------------------
DROP TABLE IF EXISTS `sc_release_goods`;
CREATE TABLE `sc_release_goods` (
`rg_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '物品放行工单号',
`u_id` int(10) unsigned NOT NULL COMMENT '申请人',
`rg_items` varchar(50) NOT NULL COMMENT '放行物品',
`rg_status` enum('0','1','2') NOT NULL DEFAULT '0' COMMENT '0->待审核,1->审核通过,2->审核失败',
`w_id` varchar(10) NOT NULL COMMENT '操作人',
`rg_operate_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '操作时间',
PRIMARY KEY (`rg_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='物品放行(release Goods)';
-- ----------------------------
-- Table structure for `sc_repair`
-- ----------------------------
DROP TABLE IF EXISTS `sc_repair`;
CREATE TABLE `sc_repair` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '维修工单号',
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '工单生成时间',
`u_id` int(10) unsigned NOT NULL COMMENT '报修人',
`type` enum('1','2') NOT NULL COMMENT '1->私人住宅,2->公告设施',
`pri_items` enum('0','1','2','3','4','5','6') NOT NULL DEFAULT '0' COMMENT '[私人住宅报修项目]: 0->默认没有选择项目,1->管道疏通,2->水电维修,3->房屋维修,4->开锁/换锁,5->线路维修,6->其他',
`pub_items` enum('0','1','2','3','4','5','6') NOT NULL DEFAULT '0' COMMENT '[公共设施报修项目]: 0->默认没有选择项目,1->照明设施,2->住房主体设施,3->电梯设施,4->供水设施,5->供电设施,6->其他',
`details` text NOT NULL COMMENT '详细说明',
`pic` varchar(100) NOT NULL COMMENT '故障图(支持多图)',
`status` enum('0','1','2','3') NOT NULL DEFAULT '0' COMMENT '0->待处理, 1->处理成功, 2->处理失败, 3->用户撤销',
`operate_id` int(10) unsigned NOT NULL COMMENT '操作人',
`operate_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '操作时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `sc_role`
-- ----------------------------
DROP TABLE IF EXISTS `sc_role`;
CREATE TABLE `sc_role` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`pid` smallint(6) DEFAULT NULL,
`status` tinyint(1) unsigned DEFAULT NULL,
`remark` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`) USING BTREE,
KEY `pid` (`pid`),
KEY `status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=114 DEFAULT CHARSET=utf8 COMMENT='RBAC数据库';
-- ----------------------------
-- Records of `sc_role`
-- ----------------------------
BEGIN;
INSERT INTO `sc_role` VALUES ('1', '超级管理员', null, '1', '系统超级管理员,拥有全部权限'), ('2', '业主', null, '1', '业主,拥有部分权限'), ('3', '物业管理', null, '1', '物业管理人员,拥有部分权限'), ('4', '保安', null, '1', '保安'), ('5', '维修人员', null, '1', '维修人员'), ('6', '保洁员', null, '1', '保洁员'), ('7', '未分配角色', null, '1', '未分配角色'), ('107', '123123', null, '1', '121231'), ('108', 'test', null, '1', 'test'), ('109', 'asdf', null, '1', 'sdf'), ('110', 'sdfasdf', null, '1', 'sdfasdfsdf'), ('111', 'addf', null, '1', 'asdfasdfasd'), ('112', 'asdfasdf', null, '1', 'asdfasdf'), ('113', '我们', null, '1', '氨基酸的联发科');
COMMIT;
-- ----------------------------
-- Table structure for `sc_role_user`
-- ----------------------------
DROP TABLE IF EXISTS `sc_role_user`;
CREATE TABLE `sc_role_user` (
`role_id` int(9) unsigned DEFAULT NULL,
`user_id` char(32) DEFAULT NULL,
`user_type` char(1) DEFAULT NULL COMMENT 'M - 物业,U - 业主,A - 超级管理员',
KEY `group_id` (`role_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='RBAC数据库';
-- ----------------------------
-- Records of `sc_role_user`
-- ----------------------------
BEGIN;
INSERT INTO `sc_role_user` VALUES ('1', '27', 'U'), ('107', '28', 'U'), ('1', '1', 'A'), ('1', null, 'A'), ('107', '41', 'U'), ('2', '37', 'U'), ('5', '38', 'U'), ('2', '39', 'U'), ('2', '40', 'U'), ('2', '36', 'U'), ('1', '3', 'A'), ('1', '4', 'A'), ('1', '5', 'A'), ('1', null, 'A'), ('1', null, 'A'), ('2', '53', 'U'), ('1', '2', 'A'), ('2', '54', 'U'), ('1', null, 'A');
COMMIT;
-- ----------------------------
-- Table structure for `sc_users`
-- ----------------------------
DROP TABLE IF EXISTS `sc_users`;
CREATE TABLE `sc_users` (
`id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT COMMENT '业主ID',
`icon_url` varchar(100) DEFAULT NULL COMMENT '头像',
`nick_name` varchar(10) NOT NULL COMMENT '昵称',
`true_name` varchar(10) NOT NULL COMMENT '真实姓名',
`password` char(50) NOT NULL COMMENT '业主密码,MD5格式',
`gender` enum('1','2') NOT NULL COMMENT '1表示男,2表示女',
`h_pocn` varchar(30) NOT NULL COMMENT 'property ownership certificate number 房产证号',
`mobile` char(11) NOT NULL COMMENT '手机号',
`email` varchar(50) NOT NULL COMMENT '邮箱',
`id_card_num` varchar(18) NOT NULL COMMENT '身份证号',
`create_time` datetime NOT NULL COMMENT '用户创建时间',
`last_log_ip` char(15) NOT NULL DEFAULT '' COMMENT '上次登录IP',
`last_log_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上次登录时间',
`if_aprvd` enum('0','1','-1') NOT NULL DEFAULT '0' COMMENT '用户是否通过审批,0->待审批,1->审批通过, -1->审批不通过',
PRIMARY KEY (`id`),
UNIQUE KEY `nick_name` (`nick_name`) USING BTREE,
UNIQUE KEY `mobile` (`mobile`),
UNIQUE KEY `email` (`email`),
UNIQUE KEY `id_card_num` (`id_card_num`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COMMENT='业主信息';
-- ----------------------------
-- Records of `sc_users`
-- ----------------------------
BEGIN;
INSERT INTO `sc_users` VALUES ('28', '222222', 'guest', '1231', '202cb962ac59075b964b07152d234b70', '2', '1234', '1234', '1234', '1234', '2016-04-18 02:08:57', '::1', '2016-04-25 09:50:14', '1'), ('36', '456', '456', '456', '250cf8b51c773f3f8dc8b4be867a9a02', '2', '456', '456', '456', '456', '2016-04-20 09:31:29', '', '2016-04-20 09:31:29', '1'), ('37', '789', '789', '789', '68053af2923e00204c3ca7c6a3150cf7', '2', '789', '789', '789', '789', '2016-04-20 09:32:50', '', '2016-04-20 09:32:50', '1'), ('38', '753', '753', '753', '6f2268bd1d3d3ebaabb04d6b5d099425', '2', '753', '753', '753', '753', '2016-04-20 09:34:08', '', '2016-04-20 09:34:08', '1'), ('39', '159', '159', '159', '140f6969d5213fd0ece03148e62e461e', '2', '159', '159', '159', '159', '2016-04-20 09:35:21', '', '2016-04-20 09:35:21', '1'), ('40', '789789', '789789', '789789', '21b95a0f90138767b0fd324e6be3457b', '1', '789789', '789789', '789789', '789789', '2016-04-20 09:36:49', '', '2016-04-20 09:36:49', '1'), ('41', '456456', '456456', '456456', 'b51e8dbebd4ba8a8f342190a4b9f08d7', '2', '456456', '456456', '456456', '456456', '2016-04-20 09:37:54', '', '2016-04-20 09:37:54', '0'), ('42', null, 'wo', 'wo', 'e0a0862398ccf49afa6c809d3832915c', '2', 'wo', '0', 'wo', 'wo', '2016-05-09 10:46:50', '', '2016-05-09 10:46:50', '0'), ('43', null, 'wo0', 'wo0', 'e0a0862398ccf49afa6c809d3832915c', '1', 'wo0', '1', 'wo0', 'wo0', '2016-05-09 10:51:12', '', '2016-05-09 10:51:12', '0'), ('44', null, 'aadf', 'sadf', '912ec803b2ce49e4a541068d495ab570', '2', 'asdfasdf', '5', 'asdf', 'asdf', '2016-05-09 10:53:19', '', '2016-05-09 10:53:19', '0'), ('45', null, 'asdf', 'asdf', '202cb962ac59075b964b07152d234b70', '2', '123', '1231231231', '<EMAIL>', '1111111', '2016-05-09 11:41:28', '', '2016-05-09 11:41:28', '0'), ('46', null, 'admin1', 'admin1', '202cb962ac59075b964b07152d234b70', '1', 'admin1', '12342535', '<EMAIL>', '1234567891234567', '2016-05-10 09:12:47', '', '2016-05-10 09:12:47', '0'), ('47', null, 'admin2', 'admin2', '4910d7fcdc3d1c078bf62a17526d6c6a', '1', 'admin2', '13631431767', '<EMAIL>', '1', '2016-05-10 09:21:37', '', '2016-05-10 09:21:37', '0'), ('48', null, 'admin5', 'admin5', 'e15f350072ed4d82b76312ad871af05c', '1', '4564564564564', '13631431766', '<EMAIL>', '456456456456456456', '2016-05-10 10:05:21', '', '2016-05-10 10:05:21', '0'), ('49', null, 'admin6', 'admin6', 'bab<PASSWORD>', '1', '4564564564564', '13631431763', '<EMAIL>', '789456123456123', '2016-05-10 10:14:01', '', '2016-05-10 10:14:01', '0'), ('50', null, 'admin7', 'admin7', '<PASSWORD>', '1', '4564564564564', '13631431762', '<EMAIL>', '111112333333333338', '2016-05-10 10:15:08', '', '2016-05-10 10:15:08', '0'), ('51', null, '456456a', '4564564a', 'ff0a87924ec50fbc62450b19afbc5fa7', '2', '123', '13631431536', '<EMAIL>', '123222222222222222', '2016-05-10 10:41:17', '', '2016-05-10 10:41:17', '0'), ('52', null, 'asdf1', 'asdf', '5613aeab13f133d621f4be306cc0f138', '2', '121231231', '13669256846', '<EMAIL>', '440958895364258624', '2016-05-16 11:33:04', '', '2016-05-16 11:33:04', '0'), ('53', null, '我们', '是谁呢', '797d62870c677104de7623f3fbee17f5', '2', '456456456456', '13631531867', '<EMAIL>', '440526639856245628', '2016-05-16 03:56:10', '', '2016-05-16 15:56:10', '0'), ('54', null, 'new', 'new', '4d653e7e0596bfd30e6229fe28953f13', '2', '45456456', '13631431658', '<EMAIL>', '440253363636363636', '2016-05-16 04:12:27', '', '2016-05-16 16:12:27', '0');
COMMIT;
-- ----------------------------
-- Triggers structure for table sc_users
-- ----------------------------
DROP TRIGGER IF EXISTS `增加新用户`;
delimiter ;;
CREATE TRIGGER `增加新用户` AFTER INSERT ON `sc_users` FOR EACH ROW insert into sc_role_user values (2,new.id,'U')
;;
delimiter ;
SET FOREIGN_KEY_CHECKS = 1;
|
--Test index with asc/desc keyword ,datatype:char, varchar, nchar, numeric and unique constraint
create class ddl_0001(col1 int unique, col2 string unique, col3 char(10) unique, col4 varchar(10) unique);
insert into ddl_0001 values(101,'101','10001','1000001');
insert into ddl_0001 values(102,'102','10002','1000002');
insert into ddl_0001 values(103,'103','10003','1000003');
insert into ddl_0001 values(104,'104','10004','1000004');
insert into ddl_0001 values(105,'105','10005','1000005');
insert into ddl_0001 values(106,'106','10006','1000006');
insert into ddl_0001 values(107,'107','10007','1000007');
insert into ddl_0001 values(108,'108','10008','1000008');
insert into ddl_0001 values(109,'109','10009','1000009');
create index ddl_0001_idx0 on ddl_0001(col1 asc, col2 desc);
create index ddl_0001_idx1 on ddl_0001(col1 desc, col4 asc);
create index ddl_0001_idx2 on ddl_0001(col2 asc, col3 desc);
create index ddl_0001_idx3 on ddl_0001(col3 desc, col4 asc);
create index ddl_0001_idx4 on ddl_0001(col4 desc, col2 asc);
create index ddl_0001_idx5 on ddl_0001(col1 asc,col2 desc, col3 desc, col4 asc);
select * from db_index where class_name='ddl_0001' order by 1,2,3;
select * from db_index_key where class_name='ddl_0001' order by index_name,class_name,key_attr_name;
select * from ddl_0001 where col1 < 104 order by 1,2,3;
delete from ddl_0001 where col1=101;
update ddl_0001 set col1=1000 where col1=102;
drop class ddl_0001;
|
-- MySQL Script generated by MySQL Workbench
-- Fri Aug 14 17:59:29 2015
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
-- Schema nutrition
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema nutrition
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `nutrition` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
USE `nutrition` ;
-- -----------------------------------------------------
-- Table `nutrition`.`brands`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`brands` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE INDEX `name_UNIQUE` (`name` ASC))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`meals`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`meals` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(20) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE INDEX `name_UNIQUE` (`name` ASC))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`foods`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`foods` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(100) NOT NULL,
`quantity` DECIMAL(5,2) NOT NULL DEFAULT 1,
`unit` VARCHAR(15) NULL,
`calories` DECIMAL(6,2) NOT NULL DEFAULT 0,
`proteins` DECIMAL(6,2) NOT NULL DEFAULT 0,
`carbohydrates` DECIMAL(6,2) NOT NULL DEFAULT 0,
`lipids` DECIMAL(6,2) NOT NULL DEFAULT 0,
`count` INT NOT NULL DEFAULT 0,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
`brand_id` INT NULL,
PRIMARY KEY (`id`),
INDEX `fk_foods_brands1_idx` (`brand_id` ASC),
CONSTRAINT `fk_foods_brands1`
FOREIGN KEY (`brand_id`)
REFERENCES `nutrition`.`brands` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`recipes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`recipes` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) NOT NULL,
`calories` DECIMAL(6,2) NOT NULL,
`proteins` DECIMAL(6,2) NOT NULL,
`carbohydrates` DECIMAL(6,2) NOT NULL,
`lipids` DECIMAL(6,2) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`diaries`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`diaries` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(100) NOT NULL,
`quantity` DECIMAL(5,2) NOT NULL,
`unit` VARCHAR(15) NULL,
`date` DATE NOT NULL,
`calories` DECIMAL(6,2) NOT NULL,
`proteins` DECIMAL(6,2) NOT NULL,
`carbohydrates` DECIMAL(6,2) NOT NULL,
`lipids` DECIMAL(6,2) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
`meal_id` INT NOT NULL,
`brand_id` INT NULL,
`food_id` INT NULL,
`recipe_id` INT NULL,
PRIMARY KEY (`id`, `meal_id`),
INDEX `fk_journals_meals1_idx` (`meal_id` ASC),
INDEX `fk_journals_brands1_idx` (`brand_id` ASC),
INDEX `fk_diaries_recipes1_idx` (`recipe_id` ASC),
INDEX `fk_diaries_foods1_idx` (`food_id` ASC),
CONSTRAINT `fk_journals_meals1`
FOREIGN KEY (`meal_id`)
REFERENCES `nutrition`.`meals` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_journals_brands1`
FOREIGN KEY (`brand_id`)
REFERENCES `nutrition`.`brands` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_diaries_recipes1`
FOREIGN KEY (`recipe_id`)
REFERENCES `nutrition`.`recipes` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_diaries_foods1`
FOREIGN KEY (`food_id`)
REFERENCES `nutrition`.`foods` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`calories`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`calories` (
`id` INT NOT NULL AUTO_INCREMENT,
`date` DATE NOT NULL,
`calories` INT(5) NOT NULL,
`proteins` INT(3) NOT NULL,
`carbohydrates` INT(3) NOT NULL,
`lipids` INT(3) NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`goals`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`goals` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`date` DATE NOT NULL,
`calories` DECIMAL(6,1) NOT NULL,
`proteins` DECIMAL(6,1) NOT NULL,
`carbohydrates` DECIMAL(6,1) NOT NULL,
`lipids` DECIMAL(6,1) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`food_recipes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`food_recipes` (
`id` INT NOT NULL AUTO_INCREMENT,
`quantity` DECIMAL(5,2) NOT NULL,
`calories` DECIMAL(6,2) NOT NULL DEFAULT 0,
`proteins` DECIMAL(6,2) NOT NULL DEFAULT 0,
`carbohydrates` DECIMAL(6,2) NOT NULL DEFAULT 0,
`lipids` DECIMAL(6,2) NOT NULL DEFAULT 0,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
`food_id` INT NOT NULL,
`recipe_id` INT(11) NOT NULL,
PRIMARY KEY (`id`, `food_id`, `recipe_id`),
INDEX `fk_foods_has_recipes_recipes1_idx` (`recipe_id` ASC),
INDEX `fk_foods_has_recipes_foods1_idx` (`food_id` ASC),
CONSTRAINT `fk_foods_has_recipes_foods1`
FOREIGN KEY (`food_id`)
REFERENCES `nutrition`.`foods` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_foods_has_recipes_recipes1`
FOREIGN KEY (`recipe_id`)
REFERENCES `nutrition`.`recipes` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `nutrition`.`weights`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nutrition`.`weights` (
`id` INT NOT NULL AUTO_INCREMENT,
`date` DATE NOT NULL,
`weight` DECIMAL(3,1) NOT NULL,
`created` DATETIME NULL,
`updated` DATETIME NULL,
`status` TINYINT(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
|
<reponame>jamesfulford/tutoring-database-scripts<filename>initialization/3grantRightsToTables/grantRightsToRoles-expenseList.sql
GRANT ALL ON expenseList TO accountant;
GRANT SELECT ON expenseList TO administrator;
GRANT SELECT ON expenseList TO marketer;
GRANT SELECT ON expenseList TO researcher;
GRANT SELECT ON expenseList TO tutor;
|
<filename>dbase/dishub.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 01 Okt 2020 pada 16.29
-- Versi server: 10.4.11-MariaDB
-- Versi PHP: 7.4.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `dishub`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `bidang`
--
CREATE TABLE `bidang` (
`id_bidang` varchar(50) NOT NULL,
`nm_bidang` varchar(255) NOT NULL,
`initial` char(10) NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id_usr` int(11) NOT NULL,
`no_peg` varchar(50) NOT NULL,
`slug` varchar(100) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) DEFAULT NULL,
`nama` varchar(100) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`level` int(11) DEFAULT NULL,
`foto` text DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
`tgl_login` datetime DEFAULT NULL,
`aktif` enum('Y','N') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id_usr`, `no_peg`, `slug`, `username`, `password`, `nama`, `email`, `level`, `foto`, `created_at`, `updated_at`, `tgl_login`, `aktif`) VALUES
(1, 'DISHUB-90876', 'bangameck', 'bangameck', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', '<NAME>', '<EMAIL>', 1, 'default.png', '2020-09-02 18:41:41', '2020-09-21 18:50:42', NULL, 'Y'),
(5, 'DISHUB-15276', 'renal', 'renal', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', '<NAME>', '<EMAIL>', 3, 'default.png', '2020-09-21 18:52:01', '2020-09-21 18:52:01', NULL, 'Y'),
(8, 'DISHUB-42638', 'hafizgz', 'hafizgz', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', '<NAME>', '<EMAIL>', 1, 'default.png', '2020-09-21 20:55:01', '2020-09-21 21:27:44', NULL, 'Y'),
(10, 'DISHUB-79243', 'petra', 'petra', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', '<NAME>', '<EMAIL>', 1, 'DISHUB-79243-petra-01-oktober-2020-010156.jpg', '2020-09-25 11:46:38', '2020-10-01 01:01:56', NULL, 'Y'),
(18, 'DISHUB-65072', 'kokok', 'kokok', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', 'joko', '<EMAIL>', 1, 'DISHUB-65072-kokok-01-oktober-2020-010055.png', '2020-09-25 13:38:46', '2020-10-01 01:00:55', NULL, 'Y'),
(38, 'DISHUB-61582', 'ijas', 'ijas', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', 'Jasrianto', '<EMAIL>', 3, 'DISHUB-61582-ijas-26-september-2020-172351.jpg', '2020-09-26 17:05:08', '2020-09-26 17:23:51', NULL, 'Y'),
(40, 'DISHUB-12654', 'rahmad', 'rahmad', '$2y$10$8w/iYXvcFHdiJFwdlSwHr.0mPbxhwIfDvwannLy3CPieTywXw7XjG', '<NAME>, ST', '<EMAIL>', 1, 'DISHUB-12654-rahmad-01-oktober-2020-011332.jpg', '2020-10-01 01:13:32', '2020-10-01 01:13:32', NULL, 'Y');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id_usr`),
ADD UNIQUE KEY `no_peg` (`no_peg`),
ADD UNIQUE KEY `username` (`username`),
ADD UNIQUE KEY `slug` (`slug`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
MODIFY `id_usr` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>CarloMicieli/trenako-web-api
-- migrate:up
CREATE TABLE public.shops
(
shop_id uuid NOT NULL,
name varchar(50) NOT NULL,
slug varchar(50) NOT NULL,
website_url varchar(100),
phone_number varchar(50),
email varchar(100),
address_line1 varchar(255),
address_line2 varchar(255),
address_city varchar(50),
address_region varchar(50),
address_postal_code varchar(10),
address_country varchar(2),
created timestamp without time zone NOT NULL,
last_modified timestamp without time zone,
version integer NOT NULL DEFAULT 1,
CONSTRAINT "PK_shops" PRIMARY KEY (shop_id)
);
CREATE INDEX "Idx_shops_slug"
ON public.shops USING btree
(slug ASC NULLS LAST);
CREATE TABLE public.favourite_shops
(
shop_id uuid NOT NULL,
owner varchar(25) NOT NULL,
CONSTRAINT "PK_favourite_shops" PRIMARY KEY (shop_id, owner),
CONSTRAINT "FK_favourite_shops_users" FOREIGN KEY (owner)
REFERENCES public.users (user_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT "FK_favourite_shops_shop_id" FOREIGN KEY (shop_id)
REFERENCES public.shops (shop_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
);
CREATE TABLE public.collections
(
collection_id uuid NOT NULL,
owner varchar(25) NOT NULL,
notes varchar(250),
created timestamp without time zone NOT NULL,
last_modified timestamp without time zone,
version integer NOT NULL DEFAULT 1,
CONSTRAINT "PK_collections" PRIMARY KEY (collection_id),
CONSTRAINT "FK_collections_users" FOREIGN KEY (owner)
REFERENCES public.users (user_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
);
CREATE INDEX "Idx_collections_owner"
ON public.collections USING btree
(owner ASC NULLS LAST);
CREATE TABLE public.collection_items
(
collection_item_id uuid NOT NULL,
collection_id uuid NOT NULL,
catalog_item_id uuid NOT NULL,
condition varchar(15) NOT NULL,
price numeric(19,5) NOT NULL,
currency varchar(3) NOT NULL,
purchased_at uuid,
added_date timestamp without time zone NOT NULL,
removed_date timestamp without time zone,
notes varchar(150),
CONSTRAINT "PK_collection_items" PRIMARY KEY (collection_item_id),
CONSTRAINT "FK_collection_items_catalog_items" FOREIGN KEY (catalog_item_id)
REFERENCES public.catalog_items (catalog_item_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT "FK_collection_items_collections" FOREIGN KEY (collection_id)
REFERENCES public.collections (collection_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT "FK_collection_items_shops" FOREIGN KEY (purchased_at)
REFERENCES public.shops (shop_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
);
CREATE TABLE public.wishlists
(
wishlist_id uuid NOT NULL,
owner varchar(25) NOT NULL,
slug varchar(100) NOT NULL,
wishlist_name varchar(100),
visibility varchar(15) NOT NULL,
budget numeric(19,5),
currency varchar(3),
created timestamp without time zone NOT NULL,
last_modified timestamp without time zone,
version integer NOT NULL DEFAULT 1,
CONSTRAINT "PK_wishlists" PRIMARY KEY (wishlist_id),
CONSTRAINT "FK_wishlists_users" FOREIGN KEY (owner)
REFERENCES public.users (user_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
);
CREATE INDEX "Idx_wishlists_slug"
ON public.wishlists USING btree
(slug ASC NULLS LAST);
CREATE TABLE public.wishlist_items
(
wishlist_item_id uuid NOT NULL,
wishlist_id uuid NOT NULL,
catalog_item_id uuid NOT NULL,
priority varchar(10) NOT NULL,
added_date timestamp without time zone NOT NULL,
removed_date timestamp without time zone,
price numeric(19,5),
currency varchar(3),
notes varchar(150),
CONSTRAINT "PK_wishlist_items" PRIMARY KEY (wishlist_item_id),
CONSTRAINT "FK_wishlist_items_catalog_items" FOREIGN KEY (catalog_item_id)
REFERENCES public.catalog_items (catalog_item_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION,
CONSTRAINT "FK_wishlist_items_wishlists" FOREIGN KEY (wishlist_id)
REFERENCES public.wishlists (wishlist_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
);
-- migrate:down
DROP TABLE public.wishlist_items;
DROP INDEX public."Idx_wishlists_slug";
DROP TABLE public.wishlists;
DROP TABLE public.collection_items;
DROP INDEX public."Idx_collections_owner";
DROP TABLE public.collections;
DROP TABLE public.favourite_shops;
DROP INDEX public."Idx_shops_slug";
DROP TABLE public.shops;
|
CREATE PROCEDURE [game].[PrintLogo]
AS
BEGIN
DECLARE
@printLabel AS NVARCHAR(MAX),
@starLine AS NVARCHAR(80);
SET @printLabel =
'
______ _ _ _ _____ _ _
| ___ \ | | | | | | / ___| | (_)
| |_/ / __ _| |_| |_| | ___ \ `--.| |__ _ _ __
| ___ \/ _` | __| __| |/ _ \ `--. \ _ \| | _ \
| |_/ / (_| | |_| |_| | __/ /\__/ / | | | | |_) |
\____/ \__,_|\__|\__|_|\___| \____/|_| |_|_| .__/
| |
|_|
';
SET @starLine = CONCAT(char(9), REPLICATE('-', 50));
PRINT @starLine;
PRINT @printLabel;
PRINT @starLine;
END;
|
<reponame>famousuni/storefront-backend
DROP TABLE product_categories;
|
CREATE proc SingleValue.[usp_Get_Number](@MinValue int = 1, @MaxValue int = 9, @Number int out)
as
begin
/*
Declare @Number int
exec SingleValue.usp_Get_Number @Number = @Number out
Select @Number
Declare @Number int
exec SingleValue.usp_Get_Number @MinValue = 95, @MaxValue = 100, @Number = @Number out
Select @Number
*/
Select @Number = SingleValue.ufn_Get_Number(@MinValue, @MaxValue)
end |
<reponame>oscm/admin-go
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50725
Source Host : 127.0.0.1:3306
Source Schema : admin-go-api
Target Server Type : MySQL
Target Server Version : 50725
File Encoding : 65001
Date: 28/07/2020 16:48:39
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for app
-- ----------------------------
DROP TABLE IF EXISTS `app`;
CREATE TABLE `app` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '',
`deploy_type` tinyint(4) NOT NULL,
`tid` int(11) NOT NULL DEFAULT '0' COMMENT '项目类型id',
`env_id` tinyint(4) NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否启用项目',
`enable_sync` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否需要初始化',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='项目列表';
-- ----------------------------
-- Table structure for app_deploy
-- ----------------------------
DROP TABLE IF EXISTS `app_deploy`;
CREATE TABLE `app_deploy` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '',
`tid` int(11) NOT NULL DEFAULT '0' COMMENT '发布模板id',
`git_type` varchar(32) NOT NULL DEFAULT '' COMMENT 'branch or tag',
`version` varchar(64) NOT NULL DEFAULT '',
`tag_branch` varchar(128) NOT NULL DEFAULT '' COMMENT '项目分支',
`commit` varchar(255) NOT NULL DEFAULT '' COMMENT '项目commit id号',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 1: 新建提单, 2: 审核通过, 3:审核失败, 4:上线失败 ,5:上线成功',
`is_pass` tinyint(4) NOT NULL DEFAULT '0' COMMENT '审核是否通过',
`reason` varchar(255) NOT NULL COMMENT '审核意见',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`operator` int(11) NOT NULL DEFAULT '0' COMMENT '申请者',
`review` int(11) NOT NULL DEFAULT '0' COMMENT '审核者',
`deploy` int(11) NOT NULL DEFAULT '0' COMMENT '执行者',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用发布信息表';
-- ----------------------------
-- Table structure for app_sync_value
-- ----------------------------
DROP TABLE IF EXISTS `app_sync_value`;
CREATE TABLE `app_sync_value` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '' COMMENT '变量名',
`value` varchar(1024) NOT NULL DEFAULT '' COMMENT '值',
`aid` int(11) NOT NULL DEFAULT '0' COMMENT '业务 id',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='业务初始变量表';
-- ----------------------------
-- Table structure for app_type
-- ----------------------------
DROP TABLE IF EXISTS `app_type`;
CREATE TABLE `app_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '类型名',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='业务类型表';
-- ----------------------------
-- Table structure for app_value
-- ----------------------------
DROP TABLE IF EXISTS `app_value`;
CREATE TABLE `app_value` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '' COMMENT '变量名',
`value` varchar(1024) NOT NULL DEFAULT '' COMMENT '值',
`aid` int(11) NOT NULL DEFAULT '0' COMMENT '业务 id',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='业务变量关联表';
-- ----------------------------
-- Table structure for config_env
-- ----------------------------
DROP TABLE IF EXISTS `config_env`;
CREATE TABLE `config_env` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='环境类型';
-- ----------------------------
-- Table structure for deploy_extend
-- ----------------------------
DROP TABLE IF EXISTS `deploy_extend`;
CREATE TABLE `deploy_extend` (
`dtid` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NOT NULL DEFAULT '0' COMMENT '项目id',
`tag` varchar(64) NOT NULL COMMENT '多功能预留字段,jar包作为打包版本号',
`extend` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 : 常规发布\n2 : 自定义发布',
`template_name` varchar(64) NOT NULL DEFAULT '' COMMENT '发布模板名字',
`dst_dir` varchar(64) NOT NULL DEFAULT '' COMMENT '目标主机部署路径',
`dst_repo` varchar(64) NOT NULL DEFAULT '' COMMENT '目标主机仓库路径',
`host_ids` varchar(128) NOT NULL DEFAULT '' COMMENT '发布模板绑定主机,多台以逗号分隔',
`repo_url` varchar(128) NOT NULL DEFAULT '' COMMENT '项目git url',
`versions` int(11) NOT NULL DEFAULT '0' COMMENT '项目保留历史版本数',
`filter_rule` varchar(1024) NOT NULL DEFAULT '' COMMENT '文件目录规则',
`custom_envs` varchar(1024) NOT NULL DEFAULT '' COMMENT '模板变量',
`pre_code` varchar(2048) NOT NULL DEFAULT '' COMMENT 'extend 1 : 代码clone前执行的命令\nextend 2 : 发布平台所在机器执行动作',
`post_code` varchar(255) NOT NULL DEFAULT '' COMMENT '代码clone后执行的命令',
`pre_deploy` varchar(2048) NOT NULL DEFAULT '' COMMENT 'extend 1 :发布前执行命令\nextend 2 : 发布主机执行的动作',
`post_deploy` varchar(255) NOT NULL DEFAULT '' COMMENT '发布后执行命令',
`enable_check` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否开启审核',
`notify_id` int(11) NOT NULL DEFAULT '0' COMMENT '应用发布成功或失败结果通知调用通道id',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`dtid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='项目发布模板表';
-- ----------------------------
-- Table structure for domain_info
-- ----------------------------
DROP TABLE IF EXISTS `domain_info`;
CREATE TABLE `domain_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL COMMENT '域名',
`cert_name` varchar(255) NOT NULL COMMENT '当is_cert为1时,用于检测证书有效性的域名',
`domain_end_time` datetime NOT NULL COMMENT '域名到期时间',
`cert_end_time` datetime NOT NULL COMMENT '域名证书到期时间',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否生效',
`is_cert` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否有证书',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='域名信息表';
-- ----------------------------
-- Table structure for host
-- ----------------------------
DROP TABLE IF EXISTS `host`;
CREATE TABLE `host` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '',
`rid` int(11) NOT NULL DEFAULT '0' COMMENT '主机类型id',
`env_id` int(11) NOT NULL DEFAULT '0' COMMENT '主机环境id',
`zone_id` int(11) NOT NULL DEFAULT '0' COMMENT '主机区域Id',
`status` tinyint(4) NOT NULL DEFAULT '0',
`enable` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否在跳板机上显示',
`username` varchar(32) NOT NULL DEFAULT '',
`addres` varchar(64) NOT NULL DEFAULT '',
`port` int(11) NOT NULL DEFAULT '22',
`operator` int(11) NOT NULL DEFAULT '0',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主机表';
-- ----------------------------
-- Table structure for host_app
-- ----------------------------
DROP TABLE IF EXISTS `host_app`;
CREATE TABLE `host_app` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`hid` int(11) NOT NULL DEFAULT '0' COMMENT '主机 id',
`aid` int(11) NOT NULL DEFAULT '0' COMMENT '业务 id',
`status` int(11) NOT NULL COMMENT '绑定项目是否初始化',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主机业务关联表';
-- ----------------------------
-- Table structure for host_role
-- ----------------------------
DROP TABLE IF EXISTS `host_role`;
CREATE TABLE `host_role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主机类型';
-- ----------------------------
-- Table structure for menu_permissions
-- ----------------------------
DROP TABLE IF EXISTS `menu_permissions`;
CREATE TABLE `menu_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL DEFAULT '' COMMENT '权限名',
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父级id',
`type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1:菜单项 2: 权限项',
`permission` varchar(120) NOT NULL DEFAULT '' COMMENT '权限项唯一标识',
`url` varchar(120) NOT NULL DEFAULT '' COMMENT '菜单url',
`icon` varchar(50) NOT NULL DEFAULT '' COMMENT '菜单图标',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '简介',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=134 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of menu_permissions
-- ----------------------------
BEGIN;
INSERT INTO `menu_permissions` VALUES (1, '系统管理', 0, 1, '', '', 'setting', '');
INSERT INTO `menu_permissions` VALUES (2, '菜单管理', 0, 1, '', '', 'menu', '');
INSERT INTO `menu_permissions` VALUES (9, '用户列表', 1, 1, '', '/system/list', 'team', '用户列表');
INSERT INTO `menu_permissions` VALUES (16, '角色列表', 1, 1, '', '/system/role', 'lock', '角色列表。');
INSERT INTO `menu_permissions` VALUES (17, '权限列表', 1, 1, '', '/system/perm', 'security-scan', '权限列表');
INSERT INTO `menu_permissions` VALUES (18, '一级菜单', 2, 1, '', '/menu/menu', 'tag', '一级菜单');
INSERT INTO `menu_permissions` VALUES (19, '二级菜单', 2, 1, '', '/menu/submenu', 'tags', '二级菜单');
INSERT INTO `menu_permissions` VALUES (24, '用户添加', 9, 2, 'user-add', '', '', '添加用户');
INSERT INTO `menu_permissions` VALUES (31, '用户修改', 9, 2, 'user-edit', '', '', '用户修改');
INSERT INTO `menu_permissions` VALUES (32, '用户删除', 9, 2, 'user-del', '', '', '用户删除');
INSERT INTO `menu_permissions` VALUES (33, '角色添加', 16, 2, 'role-add', '', '', '角色添加');
INSERT INTO `menu_permissions` VALUES (34, '角色编辑', 16, 2, 'role-edit', '', '', '角色编辑');
INSERT INTO `menu_permissions` VALUES (35, '角色删除', 16, 2, 'role-del', '', '', '角色删除');
INSERT INTO `menu_permissions` VALUES (36, '权限项添加', 17, 2, 'perm-add', '', '', '权限项添加');
INSERT INTO `menu_permissions` VALUES (37, '权限项修改', 17, 2, 'perm-edit', '', '', '权限项修改');
INSERT INTO `menu_permissions` VALUES (38, '权限项删除', 17, 2, 'perm-del', '', '', '权限项删除');
INSERT INTO `menu_permissions` VALUES (39, '一级菜单添加', 18, 2, 'menu-add', '', '', '一级菜单添加');
INSERT INTO `menu_permissions` VALUES (40, '一级菜单修改', 18, 2, 'menu-edit', '', '', '一级菜单修改');
INSERT INTO `menu_permissions` VALUES (41, '一级菜单删除', 18, 2, 'menu-del', '', '', '一级菜单删除');
INSERT INTO `menu_permissions` VALUES (58, '主机管理', 0, 1, '', '', 'desktop', '');
INSERT INTO `menu_permissions` VALUES (59, '主机列表', 58, 1, '', '/host/list', 'cloud-server', '主机列表');
INSERT INTO `menu_permissions` VALUES (60, '主机类型', 58, 1, '', '/host/role', 'code-sandbox', '主机类型');
INSERT INTO `menu_permissions` VALUES (62, '应用配置', 0, 1, '', '', 'tool', '');
INSERT INTO `menu_permissions` VALUES (63, '应用发布', 0, 1, '', '', 'deployment-unit', '');
INSERT INTO `menu_permissions` VALUES (64, '环境管理', 62, 1, '', '/config/environment', 'environment', '环境管理');
INSERT INTO `menu_permissions` VALUES (65, '应用配置', 62, 1, '', '/config/app', 'project', '应用配置');
INSERT INTO `menu_permissions` VALUES (67, '应用发布', 63, 1, '', '/deploy/app', 'cloud-sync', '应该发布列表页');
INSERT INTO `menu_permissions` VALUES (68, '用户列表', 9, 2, 'user-list', '', '', '获取用户列表页');
INSERT INTO `menu_permissions` VALUES (69, '发布列表页', 67, 2, 'deploy-app-list', '', '', '应用发布列表页');
INSERT INTO `menu_permissions` VALUES (70, '发布提单', 67, 2, 'deploy-app-add', '', '', '应用发布提单');
INSERT INTO `menu_permissions` VALUES (71, '发布修改', 67, 2, 'deploy-app-edit', '', '', '应用发布修改');
INSERT INTO `menu_permissions` VALUES (72, '发布删除', 67, 2, 'deploy-app-del', '', '', '应用发布删除');
INSERT INTO `menu_permissions` VALUES (73, '发布审核', 67, 2, 'deploy-app-review', '', '', '应用发布审核');
INSERT INTO `menu_permissions` VALUES (74, '发布上线', 67, 2, 'deploy-app-redo', '', '', '应用发布上线');
INSERT INTO `menu_permissions` VALUES (75, '发布回滚', 67, 2, 'deploy-app-undo', '', '', '应用发布回滚');
INSERT INTO `menu_permissions` VALUES (76, '发布版本信息', 67, 2, 'config-app-git', '', '', '发布请求git版本信息');
INSERT INTO `menu_permissions` VALUES (77, '环境列表', 64, 2, 'config-env-list', '', '', '配置中心环境列表');
INSERT INTO `menu_permissions` VALUES (78, '新增环境类型', 64, 2, 'config-env-add', '', '', '新增环境类型');
INSERT INTO `menu_permissions` VALUES (79, '环境类型修改', 64, 2, 'config-env-edit', '', '', '环境类型信息修改');
INSERT INTO `menu_permissions` VALUES (80, '删除环境类型', 64, 2, 'config-env-del', '', '', '删除环境类型');
INSERT INTO `menu_permissions` VALUES (83, '二级菜单列表', 19, 2, 'submenu-list', '', '', '二级菜单列表页');
INSERT INTO `menu_permissions` VALUES (84, '二级菜单添加', 19, 2, 'submenu-add', '', '', '二级菜单添加');
INSERT INTO `menu_permissions` VALUES (85, '二级菜单修改', 19, 2, 'submenu-edit', '', '', '二级菜单添加');
INSERT INTO `menu_permissions` VALUES (86, '二级菜单删除', 19, 2, 'submenu-del', '', '', '二级菜单删除');
INSERT INTO `menu_permissions` VALUES (87, '主机类型列表', 60, 2, 'host-role-list', '', '', '主机类型列表');
INSERT INTO `menu_permissions` VALUES (88, '主机类型添加', 60, 2, 'host-role-add', '', '', '主机类型添加');
INSERT INTO `menu_permissions` VALUES (89, '主机类型修改', 60, 2, 'host-role-edit', '', '', '主机类型修改');
INSERT INTO `menu_permissions` VALUES (90, '主机类型删除', 60, 2, 'host-role-del', '', '', '主机类型删除');
INSERT INTO `menu_permissions` VALUES (91, '主机列表', 59, 2, 'host-list', '', '', '主机列表');
INSERT INTO `menu_permissions` VALUES (92, '添加主机', 59, 2, 'host-add', '', '', '添加主机');
INSERT INTO `menu_permissions` VALUES (93, '修改主机', 59, 2, 'host-edit', '', '', '修改主机');
INSERT INTO `menu_permissions` VALUES (94, '删除主机', 59, 2, 'host-del', '', '', '删除主机');
INSERT INTO `menu_permissions` VALUES (95, '主机业务查看', 59, 2, 'host-app-list', '', '', '主机业务查看');
INSERT INTO `menu_permissions` VALUES (96, '主机业务添加', 59, 2, 'host-app-add', '', '', '主机业务添加');
INSERT INTO `menu_permissions` VALUES (97, '主机业务删除', 59, 2, 'host-app-del', '', '', '主机业务删除');
INSERT INTO `menu_permissions` VALUES (98, '主机业务修改', 59, 2, 'host-app-edit', '', '', '主机业务修改');
INSERT INTO `menu_permissions` VALUES (99, '主机console', 59, 2, 'host-console', '', '', '主机console');
INSERT INTO `menu_permissions` VALUES (100, '角色权限项查看', 16, 2, 'role-perm-list', '', '', '角色权限项查看');
INSERT INTO `menu_permissions` VALUES (101, '角色权限项添加', 16, 2, 'role-perm-add', '', '', '角色权限项添加');
INSERT INTO `menu_permissions` VALUES (102, '应用列表', 65, 2, 'config-app-list', '', '', '应用列表');
INSERT INTO `menu_permissions` VALUES (103, '应用添加', 65, 2, 'config-app-add', '', '', '应用添加');
INSERT INTO `menu_permissions` VALUES (104, '应用修改', 65, 2, 'config-app-edit', '', '', '应用修改');
INSERT INTO `menu_permissions` VALUES (105, '应用删除', 65, 2, 'config-app-del', '', '', '应用删除');
INSERT INTO `menu_permissions` VALUES (106, '应用初始化', 65, 2, 'config-app-init', '', '', '应用初始化');
INSERT INTO `menu_permissions` VALUES (107, '应用变量设置', 65, 2, 'config-app-set', '', '', '应用变量设置');
INSERT INTO `menu_permissions` VALUES (108, '应用类型', 62, 1, '', '/config/appType', 'flag', '应用类型');
INSERT INTO `menu_permissions` VALUES (109, '应用类型列表', 108, 2, 'app-type-list', '', '', '应用类型列表');
INSERT INTO `menu_permissions` VALUES (110, '新增应用类型', 108, 2, 'app-type-add', '', '', '新增应用类型');
INSERT INTO `menu_permissions` VALUES (111, '修改应用类型', 108, 2, 'app-type-edit', '', '', '修改应用类型');
INSERT INTO `menu_permissions` VALUES (112, '删除应用类型', 108, 2, 'app-type-del', '', '', '删除应用类型');
INSERT INTO `menu_permissions` VALUES (113, '域名管理', 0, 1, '', '', 'google', '');
INSERT INTO `menu_permissions` VALUES (114, '域名列表', 113, 1, '', '/domain/list', 'chrome', '域名信息汇总页');
INSERT INTO `menu_permissions` VALUES (116, '域名列表', 114, 2, 'domain-info-list', '', '', '域名列表');
INSERT INTO `menu_permissions` VALUES (117, '添加域名', 114, 2, 'domain-info-add', '', '', '添加域名');
INSERT INTO `menu_permissions` VALUES (118, '修改域名信息', 114, 2, 'domain-info-edit', '', '', '修改域名信息');
INSERT INTO `menu_permissions` VALUES (119, '删除域名', 114, 2, 'domain-info-del', '', '', '删除域名');
INSERT INTO `menu_permissions` VALUES (124, '任务计划', 0, 1, '', '', 'schedule', '');
INSERT INTO `menu_permissions` VALUES (125, '任务列表', 124, 1, '', '/schedule/list', 'bars', '任务列表');
INSERT INTO `menu_permissions` VALUES (126, '新增任务 ', 125, 2, 'schedule-job-add', '', '', '新增Job');
INSERT INTO `menu_permissions` VALUES (127, '任务修改', 125, 2, 'schedule-job-edit', '', '', '修改job');
INSERT INTO `menu_permissions` VALUES (128, '删除任务', 125, 2, 'schedule-job-del', '', '', 'Job删除');
INSERT INTO `menu_permissions` VALUES (130, '系统设置', 1, 1, '', '/system/setting', 'key', '系统设置');
INSERT INTO `menu_permissions` VALUES (131, '机器人通道', 1, 1, '', '/system/robot', 'robot', '机器人告警渠道 钉钉 微信 等');
INSERT INTO `menu_permissions` VALUES (132, '发布请求', 67, 2, 'deploy-app-request', '', '', '发布请求');
INSERT INTO `menu_permissions` VALUES (133, '回滚请求', 67, 2, 'undo-app-request', '', '', '回滚请求');
INSERT INTO `menu_permissions` VALUES (134, '系统设置', 130, 2, 'setting-add', '', '', '系统设置页面保存');
INSERT INTO `menu_permissions` VALUES (135, '邮件测试', 130, 2, 'setting-email-test', '', '', '系统设置邮件测试');
INSERT INTO `menu_permissions` VALUES (136, 'LDAP测试', 130, 2, 'setting-ldap-test', '', '', 'LDAP测试');
INSERT INTO `menu_permissions` VALUES (137, '机器人测试', 131, 2, 'setting-robot-test', '', '', '机器人测试');
INSERT INTO `menu_permissions` VALUES (138, '机器人删除', 131, 2, 'setting-robot-del', '', '', '机器人删除');
INSERT INTO `menu_permissions` VALUES (139, '机器人修改', 131, 2, 'setting-robot-edit', '', '', '机器人修改');
INSERT INTO `menu_permissions` VALUES (140, '机器人添加', 131, 2, 'setting-robot-add', '', '', '机器人添加');
COMMIT;
-- ----------------------------
-- Table structure for notify
-- ----------------------------
DROP TABLE IF EXISTS `notify`;
CREATE TABLE `notify` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL DEFAULT '' COMMENT '通知标题',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1:通知, 2:代办',
`source` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1:monitor 监控中心, 2:schedule 任务计划',
`content` varchar(255) NOT NULL DEFAULT '' COMMENT '通知内容',
`unread` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:已经查看处理, 1:未处理',
`link` varchar(128) NOT NULL DEFAULT '' COMMENT '通知附加链接',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通知信息表';
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '角色名',
`desc` varchar(255) NOT NULL DEFAULT '' COMMENT '角色介绍',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色表';
-- ----------------------------
-- Table structure for role_env_app
-- ----------------------------
DROP TABLE IF EXISTS `role_env_app`;
CREATE TABLE `role_env_app` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rid` int(11) NOT NULL DEFAULT '0' COMMENT '角色id',
`eid` int(11) NOT NULL DEFAULT '0' COMMENT '环境id',
`app_ids` varchar(255) NOT NULL DEFAULT '' COMMENT '角色应用权限,多个应用以,分割, all表示所有应用,应用依赖环境',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色-环境(env)-应用(app)关联表';
-- ----------------------------
-- Table structure for role_env_host
-- ----------------------------
DROP TABLE IF EXISTS `role_env_host`;
CREATE TABLE `role_env_host` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rid` int(11) NOT NULL DEFAULT '0' COMMENT '角色id',
`eid` int(11) NOT NULL DEFAULT '0' COMMENT '环境id',
`host_ids` varchar(255) NOT NULL DEFAULT '' COMMENT '角色主机权限,多个主机以,分割, all表示所有主机,主机依赖环境',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色-环境(env)-主机(host)关联表';
-- ----------------------------
-- Table structure for role_permission_rel
-- ----------------------------
DROP TABLE IF EXISTS `role_permission_rel`;
CREATE TABLE `role_permission_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rid` int(11) NOT NULL DEFAULT '0' COMMENT '角色id',
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '权限id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for setting_robot
-- ----------------------------
DROP TABLE IF EXISTS `setting_robot`;
CREATE TABLE `setting_robot` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`webhook` varchar(128) NOT NULL DEFAULT '' COMMENT '各种机器人的webhook,如果是企业微信应用表示企业corpid',
`secret` varchar(128) NOT NULL DEFAULT '' COMMENT 'type 1: 钉钉机器人的 secret\ntype 4: 企业微信应用 secret',
`keyword` varchar(128) NOT NULL DEFAULT '' COMMENT 'type 2: 钉钉机器人关键字\ntype 4:企业微信应用的agentid',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1: 钉钉签名类型机器人 2:钉钉关键字机器人 3: 钉钉acl机器人 4:企业微信应用 4:微信机器人',
`desc` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for settings
-- ----------------------------
DROP TABLE IF EXISTS `settings`;
CREATE TABLE `settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`value` varchar(2048) NOT NULL DEFAULT '',
`desc` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `key` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for task
-- ----------------------------
DROP TABLE IF EXISTS `task`;
CREATE TABLE `task` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名字',
`is_more` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否支持多实例同时运行0:否,1:是',
`host_ids` varchar(128) NOT NULL DEFAULT '' COMMENT '任务绑定主机,多台以逗号分隔',
`active` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否启用任务',
`command` varchar(2048) NOT NULL DEFAULT '' COMMENT '任务执行命令',
`spec` varchar(32) NOT NULL DEFAULT '' COMMENT 'UNIX cron',
`trigger_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '任务类型1:一次性任务, 2: UNIX cron',
`start_time` datetime DEFAULT NULL COMMENT '任务执行开始时间',
`end_time` datetime DEFAULT NULL COMMENT '任务执行结束时间',
`operator` int(11) NOT NULL DEFAULT '0' COMMENT '添加任务用户',
`desc` varchar(128) NOT NULL DEFAULT '' COMMENT '说明',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `task_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务列表';
-- ----------------------------
-- Table structure for task_history
-- ----------------------------
DROP TABLE IF EXISTS `task_history`;
CREATE TABLE `task_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`task_id` int(11) NOT NULL DEFAULT '0' COMMENT '任务id',
`host_id` int(11) NOT NULL DEFAULT '0' COMMENT '任务执行主机id',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '上次执行状态0:成功,1:异常',
`run_time` varchar(20) NOT NULL DEFAULT '' COMMENT '任务执行时长',
`output` mediumtext NOT NULL COMMENT '任务执行输出信息',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `task_host_index` (`task_id`,`host_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务执行历史信息表';
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rid` int(11) NOT NULL DEFAULT '0' COMMENT '角色id',
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '用户名',
`nickname` varchar(50) NOT NULL DEFAULT '' COMMENT '昵称',
`password_hash` varchar(100) NOT NULL DEFAULT '' COMMENT 'hash密码',
`email` varchar(120) NOT NULL DEFAULT '' COMMENT '邮箱',
`mobile` varchar(30) NOT NULL DEFAULT '' COMMENT '电话',
`secret` varchar(128) NOT NULL DEFAULT '' COMMENT '用户共享秘钥',
`two_factor` tinyint(1) NOT NULL COMMENT '是否启用双因子认证',
`is_supper` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否为超级用户',
`is_active` tinyint(1) NOT NULL DEFAULT '0' COMMENT '用户是否激活',
`access_token` varchar(120) NOT NULL DEFAULT '' COMMENT '用户token',
`token_expired` int(11) NOT NULL DEFAULT '0' COMMENT 'token过期时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表';
SET FOREIGN_KEY_CHECKS = 1; |
<reponame>Jamscare/polycash
ALTER TABLE `game_escrow_accounts` DROP `account_id`;
ALTER TABLE `game_escrow_accounts` DROP `time_created`;
ALTER TABLE `game_escrow_accounts` ADD `amount` DOUBLE NULL DEFAULT NULL AFTER `game_id`;
RENAME TABLE `game_escrow_accounts` TO `game_escrow_amounts`;
ALTER TABLE `game_escrow_amounts` ADD `currency_id` INT NULL DEFAULT NULL AFTER `game_id`;
ALTER TABLE `game_escrow_amounts` ADD INDEX (`currency_id`);
ALTER TABLE `game_escrow_amounts` ADD UNIQUE (`game_id`, `currency_id`);
CREATE TABLE `game_defined_escrow_amounts` (
`escrow_amount_id` int(11) NOT NULL,
`game_id` int(11) DEFAULT NULL,
`currency_id` int(11) DEFAULT NULL,
`amount` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `game_defined_escrow_amounts`
ADD PRIMARY KEY (`escrow_amount_id`),
ADD UNIQUE KEY `game_id_2` (`game_id`,`currency_id`),
ADD KEY `game_id` (`game_id`),
ADD KEY `currency_id` (`currency_id`);
ALTER TABLE `game_defined_escrow_amounts`
MODIFY `escrow_amount_id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
|
-- -- ===========================================================================
-- -- set up actions, parameter defs
-- -- ===========================================================================
insert into vw_calculation_def
(short_name, calc_definition, systemtool_uuid, description, in_source_uuid, in_type_uuid, in_opt_source_uuid,
in_opt_type_uuid, out_type_uuid, calculation_class_uuid, actor_uuid, status_uuid )
values ('num_array_index', '[x, y, z], 2 -> y',
(select systemtool_uuid from vw_actor where systemtool_name = 'escalate'),
'return numeric from indexed array', null, null, null, null,
(select type_def_uuid from vw_type_def where category = 'data' and description = 'num'),
null, (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test'));
insert into vw_parameter_def (description, default_val, parameter_def_unit_type, actor_uuid, status_uuid)
values
('volume',
(select put_val((select get_type_def ('data', 'num')), '0', 'mL')),
'volume',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('duration',
(select put_val((select get_type_def ('data', 'num')), '0', 'mins')),
'time',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('speed',
(select put_val ((select get_type_def ('data', 'num')),'0','rpm')),
'rate',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('temperature',
(select put_val((select get_type_def ('data', 'num')), '0', 'degC')),
'temperature',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('mass',
(select put_val((select get_type_def ('data', 'num')), '0', 'mg')),
'mass',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test'));
insert into vw_action_def (description, actor_uuid, status_uuid) values
('dispense', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('heat_stir', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('heat', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('start_node', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test')),
('end_node', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test'));
insert into vw_action_def (description, actor_uuid, status_uuid) values
('dispense_solid', (select actor_uuid from vw_actor where description = '<NAME>'),
(select status_uuid from vw_status where description = 'dev_test'));
-- add a note to dispense action indicating that source is the dispensed material
-- and destination is the container
insert into vw_note (notetext, actor_uuid, ref_note_uuid) values
('source material = material to be dispensed, destination material = plate well',
(select actor_uuid from vw_actor where description = '<NAME>'),
(select action_def_uuid from vw_action_def where description = 'dispense'));
insert into vw_action_parameter_def_assign (action_def_uuid, parameter_def_uuid)
values
((select action_def_uuid from vw_action_def where description = 'dispense'),
(select parameter_def_uuid from vw_parameter_def where description = 'volume')),
((select action_def_uuid from vw_action_def where description = 'heat_stir'),
(select parameter_def_uuid from vw_parameter_def where description = 'duration')),
((select action_def_uuid from vw_action_def where description = 'heat_stir'),
(select parameter_def_uuid from vw_parameter_def where description = 'temperature')),
((select action_def_uuid from vw_action_def where description = 'heat_stir'),
(select parameter_def_uuid from vw_parameter_def where description = 'speed')),
((select action_def_uuid from vw_action_def where description = 'heat'),
(select parameter_def_uuid from vw_parameter_def where description = 'duration')),
((select action_def_uuid from vw_action_def where description = 'heat'),
(select parameter_def_uuid from vw_parameter_def where description = 'temperature'));
insert into vw_action_parameter_def_assign (action_def_uuid, parameter_def_uuid)
values
((select action_def_uuid from vw_action_def where description = 'dispense_solid'),
(select parameter_def_uuid from vw_parameter_def where description = 'mass'));
|
<reponame>Control-Alt-Sistemas/sqlserver-kit<gh_stars>1000+
USE master;
GO
IF (OBJECT_ID('dbo.sp_help_permissions') IS NULL) EXEC('CREATE PROCEDURE dbo.sp_help_permissions AS --');
GO
/*
This script lists all permissions by principal, securable and permission.
Optionally, you can filter these objects using the @principal, @securable,
and/or @permission parameters (using T-SQL wildcards).
The output can be tabular with permissions grouped as comma-separated lists
(using @permission_list=1) or one row for each permission (@permission_list=0).
You can also return the result as an xml OUTPUT variable, using @output_xml=1
and collecting the output from the @xml parameter.
Copyright <NAME> under Creative Commons 4.0 license with attribution.
http://creativecommons.org/licenses/by/4.0/
Source: http://sqlsunday.com/downloads/
VERSION: 2017-09-26
DISCLAIMER: This script does not make any modifications to the database
apart from installing and registering a stored procedure
in the master database, but may still not be suitable to run in
a production environment. I cannot assume any responsibility
with regards to the accuracy of the output information, any
performance impact on your server, or any other consequence.
It's free software, so you assume responsibility.
If your juristiction does not allow for this kind of
waiver/disclaimer, or if you do not accept these terms, you are
NOT allowed to store, distribute or use this code in any manner.
*/
ALTER PROCEDURE dbo.sp_help_permissions
@principal sysname=NULL,
@securable sysname=NULL,
@permission sysname=NULL,
@permission_list bit=0,
@output_xml bit=0,
@hide_system_principals bit=1,
@xml xml=NULL OUTPUT
WITH EXECUTE AS CALLER
AS
SET NOCOUNT ON;
SET STATISTICS XML, TIME, IO OFF;
SET DEADLOCK_PRIORITY LOW;
IF (@output_xml=1) SET @permission_list=0;
-------------------------------------------------------------------------------
--- Variables and work table declarations
-------------------------------------------------------------------------------
DECLARE @name sysname;
DECLARE @xp_logininfo TABLE (
account_name sysname NOT NULL,
[type] varchar(100) NULL,
privilege varchar(100) NULL,
mapped_login_name sysname NOT NULL,
permission_path sysname NOT NULL,
_id int IDENTITY(1, 1) NOT NULL,
PRIMARY KEY CLUSTERED (permission_path, mapped_login_name)
);
DECLARE @srv_principals TABLE (
principal_id int NOT NULL,
[type_desc] nvarchar(60) NOT NULL,
[sid] varbinary(85) NULL,
[name] sysname NOT NULL,
PRIMARY KEY (principal_id)
);
DECLARE @srv_members TABLE (
role_principal_id int NOT NULL,
member_principal_id int NOT NULL,
PRIMARY KEY CLUSTERED (role_principal_id, member_principal_id)
);
DECLARE @db_principals TABLE (
principal_id int NOT NULL,
[type_desc] nvarchar(60) NOT NULL,
[sid] varbinary(85) NOT NULL,
[name] sysname NOT NULL,
member_of int NULL,
PRIMARY KEY (principal_id)
);
DECLARE @db_members TABLE (
role_principal_id int NOT NULL,
member_principal_id int NOT NULL,
PRIMARY KEY CLUSTERED (role_principal_id, member_principal_id)
);
DECLARE @principals TABLE (
declared_principal_id int NOT NULL,
declared_type_desc nvarchar(60) NOT NULL,
declared_sid varbinary(85) NOT NULL,
declared_name sysname NOT NULL,
declared_is_server_lvl bit NOT NULL,
effective_principal_id int NOT NULL,
effective_type_desc nvarchar(60) NOT NULL,
effective_sid varbinary(85) NOT NULL,
effective_name sysname NOT NULL,
effective_is_server_lvl bit NOT NULL,
[level] tinyint NOT NULL,
[path] nvarchar(max) NOT NULL,
_id int IDENTITY(1, 1) NOT NULL,
PRIMARY KEY CLUSTERED (declared_type_desc, declared_principal_id, effective_type_desc, effective_principal_id, _id)
);
DECLARE @s_public int=(SELECT principal_id FROM sys.server_principals WHERE [name]=N'public');
DECLARE @d_public int=(SELECT principal_id FROM sys.database_principals WHERE [name]=N'public');
DECLARE @sysadmin int=(SELECT principal_id FROM sys.server_principals WHERE [name]=N'sysadmin');
DECLARE @builtin_permissions TABLE (
class nvarchar(60) NOT NULL,
permission nvarchar(60) NOT NULL,
declared_class nvarchar(60) NULL,
declared_permission nvarchar(60) NULL,
UNIQUE CLUSTERED (declared_class, declared_permission, class, permission),
UNIQUE (class, permission, declared_class, declared_permission)
);
DECLARE @permissions_temp TABLE (
declared_class nvarchar(60) COLLATE database_default NOT NULL,
declared_permission nvarchar(60) COLLATE database_default NOT NULL,
class nvarchar(60) COLLATE database_default NOT NULL,
permission nvarchar(60) COLLATE database_default NOT NULL,
[path] nvarchar(max) COLLATE database_default NOT NULL,
[level] tinyint NOT NULL,
_id int IDENTITY(1, 1) NOT NULL,
PRIMARY KEY CLUSTERED (class, declared_class, declared_permission, [level], _id),
UNIQUE (permission, _id)
);
DECLARE @permissions TABLE (
declared_class nvarchar(60) COLLATE database_default NOT NULL,
declared_permission nvarchar(60) COLLATE database_default NOT NULL,
class nvarchar(60) COLLATE database_default NOT NULL,
permission nvarchar(4000) COLLATE database_default NOT NULL,
[path] nvarchar(max) COLLATE database_default NOT NULL,
[level] tinyint NOT NULL,
_id int IDENTITY(1, 1) NOT NULL,
PRIMARY KEY CLUSTERED (class, declared_class, declared_permission, [level], _id)
);
DECLARE @securables_temp TABLE (
parent_class int NULL,
parent_major_id int NULL,
class int NOT NULL,
major_id int NOT NULL,
principal_id int NULL,
class_desc nvarchar(22) NOT NULL,
qualified_name nvarchar(max) NULL,
is_server_lvl int NOT NULL,
PRIMARY KEY CLUSTERED (class, major_id)
);
DECLARE @securables TABLE (
parent_class int NOT NULL,
parent_major_id int NOT NULL,
parent_qualified_name nvarchar(255) NULL,
class int NOT NULL,
class_desc nvarchar(60) NOT NULL,
major_id int NOT NULL,
qualified_name nvarchar(255) NULL,
principal_id int NULL,
is_server_lvl bit NOT NULL,
[path] nvarchar(max) NOT NULL,
PRIMARY KEY CLUSTERED (parent_class, parent_major_id, class, major_id)
);
DECLARE @rules TABLE (
_id int IDENTITY(1, 1) NOT NULL,
class tinyint NOT NULL,
class_desc nvarchar(60) NOT NULL,
major_id int NOT NULL,
minor_id int NOT NULL,
grantee_principal_id int NOT NULL,
grantee_is_server_lvl bit NOT NULL,
[permission_name] nvarchar(128) NOT NULL,
[state] char(1) NOT NULL,
state_desc nvarchar(60) NOT NULL,
inheritance varchar(100) NULL,
PRIMARY KEY CLUSTERED (class_desc, major_id, minor_id, grantee_is_server_lvl, _id)
);
-------------------------------------------------------------------------------
--- PRINCIPALS
-------------------------------------------------------------------------------
--- Server principals:
INSERT INTO @srv_principals
SELECT principal_id, [type_desc], [sid], [name]
FROM sys.server_principals
WHERE [sid] IS NOT NULL AND (
@hide_system_principals=0 OR
@hide_system_principals=1 AND [type]!='C' AND UPPER([name]) NOT LIKE N'NT SERVICE\%');
--- Windows users that are members of Windows group logins can be
--- resolved using xp_logininfo:
BEGIN TRANSACTION;
DECLARE logincur CURSOR LOCAL FOR SELECT [name] FROM @srv_principals WHERE [type_desc]=N'WINDOWS_GROUP';
OPEN logincur;
FETCH NEXT FROM logincur INTO @name;
WHILE (@@FETCH_STATUS=0) BEGIN;
INSERT INTO @xp_logininfo
EXECUTE sys.xp_logininfo @acctname=@name, @option='members';
FETCH NEXT FROM logincur INTO @name;
END;
CLOSE logincur;
DEALLOCATE logincur;
COMMIT TRANSACTION;
INSERT INTO @srv_principals (principal_id, [type_desc], [sid], [name])
SELECT DISTINCT -DENSE_RANK() OVER (ORDER BY account_name) AS principal_id, N'WINDOWS_LOGIN', NEWID(), account_name
FROM @xp_logininfo
WHERE account_name NOT IN (SELECT [name] FROM @srv_principals WHERE [type_desc]=N'WINDOWS_LOGIN');
--- Server role members:
INSERT INTO @srv_members
SELECT role_principal_id, member_principal_id
FROM sys.server_role_members;
--- All users are also members of the fixed server role "public":
INSERT INTO @srv_members (role_principal_id, member_principal_id)
SELECT r.principal_id, m.principal_id
FROM @srv_principals AS r
INNER JOIN @srv_principals AS m ON m.[type_desc]!='SERVER_ROLE'
WHERE r.[name]='public' AND m.principal_id>=0;
--- User memberships implicit from their WINDOWS_GROUP logins:
INSERT INTO @srv_members (role_principal_id, member_principal_id)
SELECT r.principal_id, m.principal_id
FROM @xp_logininfo AS xp
INNER JOIN @srv_principals AS r ON xp.permission_path=r.[name]
INNER JOIN @srv_principals AS m ON xp.account_name=m.[name];
--- All local database principals:
INSERT INTO @db_principals (principal_id, [type_desc], [sid], [name])
SELECT dp.principal_id, dp.[type_desc], dp.[sid], dp.[name]
FROM sys.database_principals AS dp
WHERE dp.[sid] IS NOT NULL; --- Don't include "INFORMATION_SCHEMA" and "sys"
--- Implicit database principals inherited from their respective server principals:
INSERT INTO @db_principals (principal_id, [type_desc], [sid], [name])
SELECT wl.principal_id, N'WINDOWS_USER' AS [type_desc], wl.[sid], wl.[name]
FROM @srv_principals AS wg
INNER JOIN @srv_members AS m ON wg.principal_id=m.role_principal_id AND m.member_principal_id<0
INNER JOIN @srv_principals AS wl ON m.member_principal_id=wl.principal_id
INNER JOIN @db_principals AS dp ON dp.[sid]=wg.[sid];
--- Logins with sysadmin, except those who already have users:
INSERT INTO @db_principals (principal_id, [type_desc], [sid], [name], member_of)
SELECT (SELECT MAX(principal_id) FROM @db_principals)+
ROW_NUMBER() OVER (ORDER BY sp.principal_id) AS principal_id,
'USER', sp.[sid], sp.[name], dbo.principal_id
FROM @srv_principals AS sp
LEFT JOIN @db_principals AS db ON sp.[sid]=db.[sid]
INNER JOIN @db_principals AS dbo ON dbo.[name]=N'dbo'
WHERE db.[sid] IS NULL AND (
sp.principal_id IN (SELECT grantee_principal_id FROM sys.server_permissions WHERE [permission_name]=N'CONTROL SERVER') OR
sp.principal_id=(SELECT owner_sid FROM sys.databases WHERE database_id=DB_ID()) OR
sp.principal_id IN (SELECT member_principal_id FROM sys.server_role_members WHERE role_principal_id=@sysadmin)
);
--- All users are members of the fixed database role public:
INSERT INTO @db_members (role_principal_id, member_principal_id)
SELECT r.principal_id, m.principal_id
FROM @db_principals AS r
INNER JOIN @db_principals AS m ON m.[type_desc]!='DATABASE_ROLE'
WHERE r.[name]='public';
--- Database role memberships:
INSERT INTO @db_members
SELECT role_principal_id, member_principal_id
FROM sys.database_role_members;
--- Administrative users and the owner of the database are "members" of "dbo":
INSERT INTO @db_members
SELECT member_of, principal_id
FROM @db_principals
WHERE member_of IS NOT NULL AND member_of!=principal_id;
--- Putting it all together:
WITH s_cte AS (
--- Server principals (anchor)
SELECT principal_id AS declared_principal_id,
[type_desc] AS declared_type_desc,
[sid] AS declared_sid,
[name] AS declared_name,
principal_id AS effective_principal_id,
[type_desc] AS effective_type_desc,
[sid] AS effective_sid,
[name] AS effective_name,
0 AS [level],
CAST((CASE WHEN [name] IN ('sa') THEN N'"'+[name]+N'"' ELSE LOWER(REPLACE([type_desc], N'_', N' ')) COLLATE database_default+N' "'+[name]+N'"' END) AS nvarchar(max)) AS [path]
FROM @srv_principals AS p
UNION ALL
--- (recursion)
SELECT s_cte.declared_principal_id,
s_cte.declared_type_desc,
s_cte.declared_sid,
s_cte.declared_name,
sp.principal_id AS effective_principal_id,
sp.[type_desc] AS effective_type_desc,
sp.[sid] AS effective_sid,
sp.[name] AS effective_name,
s_cte.[level]+1,
s_cte.[path]+' -> '+CAST((CASE WHEN sp.[name] IN ('sa') THEN N'"'+sp.[name]+N'"' ELSE LOWER(REPLACE(sp.[type_desc], N'_', N' ')) COLLATE database_default+N' "'+sp.[name]+N'"' END) AS nvarchar(max)) AS [path]
FROM @srv_members AS srm
INNER JOIN s_cte ON s_cte.effective_principal_id=srm.role_principal_id
INNER JOIN @srv_principals AS sp ON srm.member_principal_id=sp.principal_id),
d_cte AS (
--- Database principals (anchor)
SELECT principal_id AS declared_principal_id,
[type_desc] AS declared_type_desc,
[sid] AS declared_sid,
[name] AS declared_name,
principal_id AS effective_principal_id,
[type_desc] AS effective_type_desc,
[sid] AS effective_sid,
[name] AS effective_name,
0 AS [level],
CAST((CASE WHEN [name] IN ('dbo') THEN N'"'+[name]+N'"' ELSE LOWER(REPLACE([type_desc], N'_', N' ')) COLLATE database_default+N' "'+[name]+N'"' END) AS nvarchar(max)) AS [path]
FROM @db_principals
UNION ALL
--- (recursion)
SELECT d_cte.declared_principal_id,
d_cte.declared_type_desc,
d_cte.declared_sid,
d_cte.declared_name,
dp.principal_id AS effective_principal_id,
dp.[type_desc] AS effective_type_desc,
dp.[sid] AS effective_sid,
dp.[name] AS effective_name,
d_cte.[level]+1,
d_cte.[path]+' -> '+CAST((CASE WHEN dp.[name] IN ('dbo') THEN N'"'+dp.[name]+N'"' ELSE LOWER(REPLACE(dp.[type_desc], N'_', N' ')) COLLATE database_default+N' "'+dp.[name]+N'"' END) AS nvarchar(max)) AS [path]
FROM @db_members AS drm
INNER JOIN d_cte ON d_cte.effective_principal_id=drm.role_principal_id
INNER JOIN @db_principals AS dp ON drm.member_principal_id=dp.principal_id),
cte AS (
--- Server principal hierarchy
SELECT declared_principal_id,
declared_type_desc,
declared_sid,
declared_name,
1 AS declared_is_server_lvl,
effective_principal_id,
effective_type_desc,
effective_sid,
effective_name,
1 AS effective_is_server_lvl,
[level],
[path]
FROM s_cte
UNION ALL
--- Database principal hierarchy
SELECT declared_principal_id,
declared_type_desc,
declared_sid,
declared_name,
0 AS declared_is_server_lvl,
effective_principal_id,
effective_type_desc,
effective_sid,
effective_name,
0 AS effective_is_server_lvl,
[level],
CAST([path] AS nvarchar(max)) AS [path]
FROM d_cte
UNION ALL
--- Connecting the server and database principal hierarchies
SELECT s_cte.declared_principal_id,
s_cte.declared_type_desc,
s_cte.declared_sid,
s_cte.declared_name,
1 AS declared_is_server_lvl,
d_cte.effective_principal_id,
d_cte.effective_type_desc,
d_cte.effective_sid,
d_cte.effective_name,
0 AS effective_is_server_lvl,
s_cte.[level]+d_cte.[level]+1,
s_cte.[path]+N' --> '+d_cte.[path] AS [path]
FROM s_cte
INNER JOIN d_cte ON s_cte.effective_sid=d_cte.declared_sid
)
INSERT INTO @principals
SELECT * FROM cte
WHERE @principal IS NULL OR
[path] LIKE N'%'+@principal+N'%';
-------------------------------------------------------------------------------
--- Permissions
-------------------------------------------------------------------------------
INSERT INTO @builtin_permissions (class, permission, declared_class, declared_permission)
SELECT bip.class_desc AS class, bip.[permission_name] AS permission,
x.declared_class, x.declared_permission_name
FROM sys.fn_builtin_permissions(DEFAULT) AS bip
OUTER APPLY (
--- Every permission can inherit permissions from up to two
--- other permissions: from a parent class, as well as from
--- other permissions in the same class:
SELECT bip.parent_class_desc,
bip.parent_covering_permission_name
WHERE bip.parent_covering_permission_name!=''
UNION ALL
SELECT bip.class_desc,
bip.covering_permission_name
WHERE bip.covering_permission_name!=''
) AS x(declared_class, declared_permission_name);
WITH cte AS (
--- Anchor:
SELECT class,
permission,
class AS declared_class,
permission AS declared_permission,
CAST(permission+N' on '+class AS nvarchar(max)) AS [path],
0 AS [level]
FROM @builtin_permissions AS p
GROUP BY class, permission
UNION ALL
--- Recursion: inherited permissions:
SELECT p.class,
p.permission,
cte.declared_class,
cte.declared_permission,
CAST(cte.[path]+N' -> '+(CASE WHEN p.permission=p.declared_permission OR @permission_list=1 THEN N'' ELSE p.permission+N' on ' END)+p.class AS nvarchar(max)) AS [path],
cte.[level]+1
FROM @builtin_permissions AS p
INNER JOIN cte ON
p.declared_class=cte.class AND
p.declared_permission=cte.permission)
--- Save the results into temporary work table:
INSERT INTO @permissions_temp (class, permission, declared_class, declared_permission, [path], [level])
SELECT class, permission, declared_class, declared_permission, [path], [level]
FROM (
SELECT class, permission, declared_class, declared_permission, [path], [level],
ROW_NUMBER() OVER (PARTITION BY class, permission, declared_class, declared_permission ORDER BY [level]) AS _rn
FROM cte
WHERE @permission IS NULL OR
[path] LIKE N'%'+@permission+N'%' OR
permission LIKE N'%'+@permission+N'%'
) AS sub
WHERE _rn=1;
--- If @permission_list is 0, dump the results into @permissions, and we're done.
INSERT INTO @permissions (class, permission, declared_class, declared_permission, [path], [level])
SELECT class, permission, declared_class, declared_permission, [path], [level]
FROM @permissions_temp
WHERE @permission_list=0;
--- If @permission_list is 1, compile a comma-separated list of permissions for
--- from the work table and insert into @permissions:
INSERT INTO @permissions (class, permission, declared_class, declared_permission, [path], [level])
SELECT class, SUBSTRING(CAST((SELECT N', '+x.permission
FROM @permissions_temp AS x
WHERE x.declared_class=cte.declared_class AND
x.declared_permission=cte.declared_permission AND
x.class=cte.class
ORDER BY x.permission
FOR XML PATH(''), TYPE
) AS nvarchar(max)), 3, 4000) AS permission, declared_class, declared_permission, MIN([path]),
DENSE_RANK() OVER (PARTITION BY class, declared_class, declared_permission ORDER BY MIN([level])) AS [level]
FROM @permissions_temp AS cte
WHERE @permission_list=1 AND (
@permission IS NULL OR
[path] LIKE N'%'+@permission+N'%')
GROUP BY class, declared_class, declared_permission;
-------------------------------------------------------------------------------
--- Securables
-------------------------------------------------------------------------------
--- Insert all server-level and database-level securables into a working table:
WITH s(parent_class, parent_major_id, class, major_id, principal_id, class_desc, qualified_name, is_server_lvl) AS (
-- SERVER
SELECT NULL AS parent_class, CAST(NULL AS int) AS parent_major_id, 100 AS class, 0 AS major_id, CAST(NULL AS int) AS principal_id, 'SERVER' AS class_desc, CAST(NULL AS nvarchar(max)) AS qualified_name, 1 AS is_server_lvl
UNION ALL
-- AVAILABILITY GROUP
SELECT 100 AS parent_class, 0 AS parent_major_id, 108 AS class, agr.replica_metadata_id AS major_id, NULL, 'AVAILABILITY GROUP', N'AVAILABILITY GROUP::'+QUOTENAME(ag.[name]), 1 AS is_server_lvl
FROM sys.availability_groups AS ag
INNER JOIN sys.availability_replicas agr on agr.group_id=ag.group_id
INNER JOIN sys.dm_hadr_availability_replica_states AS agrs ON agrs.replica_id=agr.replica_id AND agrs.is_local=1
UNION ALL
-- ENDPOINT
SELECT 100 AS parent_class, 0 AS parent_major_id, 105 AS class, endpoint_id AS major_id, NULL, 'ENDPOINT', N'ENDPOINT::'+QUOTENAME([name]), 1 AS is_server_lvl
FROM master.sys.endpoints
UNION ALL
-- LOGIN, SERVER ROLE
SELECT 100 AS parent_class, 0 AS parent_major_id, 101 AS class, principal_id AS major_id, owning_principal_id,
(CASE [type] WHEN 'R' THEN N'SERVER ROLE' ELSE N'LOGIN' END),
(CASE [type] WHEN 'R' THEN N'SERVER ROLE' ELSE N'LOGIN' END)+N'::'+QUOTENAME([name]), 1 AS is_server_lvl
FROM master.sys.server_principals
UNION ALL
-- SEARCH PROPERTY LIST
SELECT 0 AS parent_class, 0 AS parent_major_id, 31 AS class, property_list_id AS major_id, principal_id, 'SEARCH PROPERTY LIST', N'SEARCH PROPERTY LIST::'+QUOTENAME([name]) COLLATE database_default, 0 AS is_server_lvl
FROM sys.registered_search_property_lists
UNION ALL
-- DATABASE
SELECT 100 AS parent_class, 0 AS parent_major_id, 0 AS class, 0 AS major_id, p.principal_id, 'DATABASE' AS class_desc, N'DATABASE::'+QUOTENAME(DB_NAME()), 0 AS is_server_lvl
FROM sys.databases AS db
LEFT JOIN sys.database_principals AS p ON db.owner_sid=p.[sid]
WHERE db.database_id=DB_ID()
UNION ALL
-- SCHEMA
SELECT 0 AS parent_class, 0 AS parent_major_id, 3 AS class, [schema_id] AS major_id, principal_id, 'SCHEMA' AS class_desc, N'SCHEMA::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.schemas
UNION ALL
--- OBJECT
SELECT 3 AS parent_class, o.[schema_id] AS parent_major_id, 1 AS class, o.[object_id] AS major_id, o.principal_id, 'OBJECT' AS class_desc, QUOTENAME(s.[name])+N'.'+QUOTENAME(o.[name]), 0 AS is_server_lvl
FROM sys.schemas AS s
INNER JOIN sys.objects AS o ON s.[schema_id]=o.[schema_id]
WHERE o.[type] NOT IN ('AF', 'C', 'D', 'F', 'IT', 'PG', 'PK', 'R', 'RF', 'S', 'SN', 'TA', 'TR', 'UQ', 'X')
UNION ALL
-- USER, ROLE
SELECT 0 AS parent_class, 0 AS parent_major_id, 4 AS class, principal_id AS major_id, owning_principal_id AS principal_id,
(CASE [type] WHEN 'A' THEN N'APPLICATION ROLE' WHEN 'R' THEN N'ROLE' ELSE N'USER' END),
(CASE [type] WHEN 'A' THEN N'APPLICATION ROLE' WHEN 'R' THEN N'ROLE' ELSE N'USER' END)+N'::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.database_principals
UNION ALL
-- ASSEMBLY
SELECT 0 AS parent_class, 0 AS parent_major_id, 5 AS class, assembly_id AS major_id, principal_id, 'ASSEMBLY', N'ASSEMBLY::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.assemblies
UNION ALL
-- TYPE
SELECT 3 AS parent_class, t.[schema_id] AS parent_major_id, 6 AS class, t.user_type_id AS major_id, t.principal_id, 'TYPE' AS class_desc, N'TYPE::'+QUOTENAME(s.[name])+N'.'+QUOTENAME(t.[name]), 0 AS is_server_lvl
FROM sys.schemas AS s
INNER JOIN sys.types AS t ON s.[schema_id]=t.[schema_id]
WHERE t.is_user_defined=1
UNION ALL
-- XML_SCHEMA_COLLECTION
SELECT 3 AS parent_class, x.[schema_id] AS parent_major_id, 10 AS class, x.xml_collection_id AS major_id, x.principal_id, 'XML SCHEMA COLLECTION' AS class_desc, N'XML SCHEMA COLLECTION::'+QUOTENAME(s.[name])+N'.'+QUOTENAME(x.[name]), 0 AS is_server_lvl
FROM sys.schemas AS s
INNER JOIN sys.xml_schema_collections AS x ON s.[schema_id]=x.[schema_id]
UNION ALL
-- MESSAGE_TYPE
SELECT 0 AS parent_class, 0 AS parent_major_id, 15 AS class, message_type_id AS major_id, principal_id, 'MESSAGE TYPE', N'MESSAGE TYPE::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.service_message_types
UNION ALL
-- SERVICE_CONTRACT
SELECT 0 AS parent_class, 0 AS parent_major_id, 16 AS class, service_contract_id AS major_id, principal_id, 'SERVICE CONTRACT', N'SERVICE CONTRACT::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.service_contracts
UNION ALL
-- SERVICE
SELECT 0 AS parent_class, 0 AS parent_major_id, 17 AS class, service_id AS major_id, principal_id, 'SERVICE', N'SERVICE::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.services
UNION ALL
-- REMOTE_SERVICE_BINDING
SELECT 0 AS parent_class, 0 AS parent_major_id, 18 AS class, remote_service_binding_id AS major_id, principal_id, 'REMOTE SERVICE BINDING', N'REMOTE SERVICE BINDING::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.remote_service_bindings
UNION ALL
-- ROUTE
SELECT 0 AS parent_class, 0 AS parent_major_id, 19 AS class, route_id AS major_id, principal_id, 'ROUTE', N'ROUTE::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.routes
UNION ALL
-- FULLTEXT CATALOG
SELECT 0 AS parent_class, 0 AS parent_major_id, 23 AS class, fulltext_catalog_id AS major_id, principal_id, 'FULLTEXT CATALOG', N'CATALOG::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.fulltext_catalogs
UNION ALL
-- FULLTEXT STOPLIST
SELECT 0 AS parent_class, 0 AS parent_major_id, 23 AS class, stoplist_id AS major_id, principal_id, 'FULLTEXT STOPLIST', N'STOPLIST::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.fulltext_stoplists
UNION ALL
-- SYMMETRIC KEY
SELECT 0 AS parent_class, 0 AS parent_major_id, 24 AS class, symmetric_key_id AS major_id, principal_id, 'SYMMETRIC KEY', N'SYMMETRIC KEY::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.symmetric_keys
UNION ALL
-- CERTIFICATE
SELECT 0 AS parent_class, 0 AS parent_major_id, 25 AS class, certificate_id AS major_id, principal_id, 'CERTIFICATE', N'CERTIFICATE::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.certificates
UNION ALL
-- ASYMMETRIC_KEY
SELECT 0 AS parent_class, 0 AS parent_major_id, 26 AS class, asymmetric_key_id AS major_id, principal_id, 'CERTIFICATE', N'CERTIFICATE::'+QUOTENAME([name]), 0 AS is_server_lvl
FROM sys.asymmetric_keys)
INSERT INTO @securables_temp (parent_class, parent_major_id, class, major_id, principal_id, class_desc, qualified_name, is_server_lvl)
SELECT parent_class, parent_major_id, class, major_id, principal_id, class_desc, qualified_name, is_server_lvl
FROM s;
--- Build a hierarchy of @securables_temp, using a recursive CTE:
WITH cte AS (
SELECT class AS parent_class, major_id AS parent_major_id, ISNULL(qualified_name, N'SERVER') AS parent_qualified_name,
class, class_desc, major_id, qualified_name, principal_id, is_server_lvl, 0 AS [level], CAST(ISNULL(qualified_name, 'SERVER') AS nvarchar(max)) AS [path]
FROM @securables_temp AS s
UNION ALL
SELECT cte.parent_class, cte.parent_major_id, cte.parent_qualified_name,
s.class, s.class_desc, s.major_id, s.qualified_name, s.principal_id, s.is_server_lvl, cte.[level]+1, CAST(cte.[path]+N' -> '+s.qualified_name AS nvarchar(max))
FROM cte
INNER JOIN @securables_temp AS s ON cte.class=s.parent_class AND cte.major_id=s.parent_major_id)
--- Eliminate duplicates and insert all parent-child paths into @securables:
INSERT INTO @securables (parent_class, parent_major_id, parent_qualified_name, class, class_desc, major_id, qualified_name, principal_id, is_server_lvl, [path])
SELECT parent_class, parent_major_id, parent_qualified_name, class, class_desc, major_id, qualified_name, principal_id, is_server_lvl, [path]
FROM (
SELECT parent_class, parent_major_id, parent_qualified_name, class, class_desc, major_id, qualified_name, principal_id, is_server_lvl, [path],
ROW_NUMBER() OVER (PARTITION BY parent_class, parent_major_id, class, major_id ORDER BY [level], [path]) AS _rn
FROM cte
WHERE @securable IS NULL OR
REPLACE(REPLACE(qualified_name, N']', N''), N'[', N'') LIKE REPLACE(REPLACE(@securable, N']', N''), N'[', N'')
) AS sub
WHERE _rn=1;
-------------------------------------------------------------------------------
--- Rules (the intersection of principals, securables and permissions)
-------------------------------------------------------------------------------
--- Explicit server-level permissions:
INSERT INTO @rules (class, class_desc, major_id, minor_id, grantee_principal_id, grantee_is_server_lvl, [permission_name], [state], state_desc, inheritance)
SELECT class,
class_desc,
major_id,
minor_id,
grantee_principal_id,
1 AS grantee_is_server_lvl,
[permission_name],
[state],
state_desc,
CAST(NULL AS varchar(100)) AS inheritance
FROM sys.server_permissions;
--- Explicit database-level permissions:
INSERT INTO @rules (class, class_desc, major_id, minor_id, grantee_principal_id, grantee_is_server_lvl, [permission_name], [state], state_desc, inheritance)
SELECT class,
class_desc,
major_id,
minor_id,
grantee_principal_id,
0 AS grantee_is_server_lvl,
[permission_name],
[state],
state_desc,
CAST(NULL AS varchar(100)) AS inheritance
FROM sys.database_permissions;
--- Implicit CONTROL permissions on class objects as a result of ownership:
INSERT INTO @rules (class, class_desc, major_id, minor_id, grantee_principal_id, grantee_is_server_lvl, [permission_name], [state], state_desc, inheritance)
SELECT class,
class_desc,
major_id,
0 AS minor_id,
principal_id AS grantee_principal_id,
is_server_lvl AS grantee_is_server_lvl,
'CONTROL' AS [permission_name],
'W' AS [state],
'GRANT_WITH_GRANT_OPTION' AS [state_desc],
'OWNER' AS inheritance
FROM @securables
WHERE parent_class=class AND parent_major_id=major_id AND principal_id IS NOT NULL;
--- Fixed server role permissions:
INSERT INTO @rules (class, class_desc, major_id, minor_id, grantee_principal_id, grantee_is_server_lvl, [permission_name], [state], state_desc, inheritance)
SELECT 100 AS class,
N'SERVER' AS class_desc,
0 AS major_id,
0 AS minor_id,
sp.principal_id AS grantee_principal_id,
1 AS grantee_is_server_lvl,
p.[permission_name],
'G' AS [state],
'GRANT' AS state_desc,
NULL AS inheritance
FROM sys.server_principals AS sp
INNER JOIN sys.fn_builtin_permissions('SERVER') AS p ON
sp.[name]='bulkadmin' AND
p.[permission_name]='ADMINISTER BULK OPERATIONS' OR
sp.[name]='dbcreator' AND
p.[permission_name]='CREATE ANY DATABASE' OR
sp.[name]='diskadmin' AND
p.[permission_name]='ALTER RESOURCES' OR
sp.[name]='processadmin' AND
p.[permission_name] IN ('ALTER ANY CONNECTION',
'ALTER SERVER STATE') OR
sp.[name]='sysadmin' AND
p.[permission_name]='CONTROL SERVER' OR
sp.[name]='securityadmin' AND
p.[permission_name]='ALTER ANY LOGIN' OR
sp.[name]='serveradmin' AND
p.[permission_name] IN ('ALTER ANY ENDPOINT', 'ALTER RESOURCES',
'ALTER SERVER STATE', 'ALTER SETTINGS',
'SHUTDOWN', 'VIEW SERVER STATE') OR
sp.[name]='setupadmin' AND
p.[permission_name]='ALTER ANY LINKED SERVER'
WHERE sp.is_fixed_role=1;
--- Fixed database role permissions:
INSERT INTO @rules (class, class_desc, major_id, minor_id, grantee_principal_id, grantee_is_server_lvl, [permission_name], [state], state_desc, inheritance)
SELECT 0 AS class,
'DATABASE' AS class_desc,
0 AS major_id,
0 AS minor_id,
dp.principal_id AS grantee_principal_id,
0 AS grantee_is_server_lvl,
p.[permission_name],
s.[state],
s.state_desc,
NULL AS inheritance
FROM sys.database_principals AS dp
CROSS JOIN (
VALUES ('G', 'GRANT'),
('D', 'DENY')) AS s([state], state_desc)
INNER JOIN sys.fn_builtin_permissions('DATABASE') AS p ON
dp.[name]='db_accessadmin' AND s.[state]='G' AND
p.[permission_name] IN ('ALTER ANY USER', 'CREATE SCHEMA') OR
dp.[name]='db_backupoperator' AND s.[state]='G' AND
p.[permission_name] IN ('BACKUP DATABASE', 'BACKUP LOG', 'CHECKPOINT') OR
dp.[name]='db_datareader' AND s.[state]='G' AND
p.[permission_name]='SELECT' OR
dp.[name]='db_datawriter' AND s.[state]='G' AND
p.[permission_name] IN ('INSERT', 'DELETE', 'UPDATE') OR
dp.[name]='db_denydatareader' AND s.[state]='D' AND
p.[permission_name]='SELECT' OR
dp.[name]='db_denydatawriter' AND s.[state]='D' AND
p.[permission_name] IN ('INSERT', 'DELETE', 'UPDATE') OR
dp.[name]='db_ddladmin' AND s.[state]='G' AND
p.[permission_name] IN ('ALTER ANY ASSEMBLY', 'ALTER ANY ASYMMETRIC KEY',
'ALTER ANY CERTIFICATE', 'ALTER ANY CONTRACT',
'ALTER ANY DATABASE DDL TRIGGER', 'ALTER ANY DATABASE EVENT',
'NOTIFICATION', 'ALTER ANY DATASPACE', 'ALTER ANY FULLTEXT CATALOG',
'ALTER ANY MESSAGE TYPE', 'ALTER ANY REMOTE SERVICE BINDING',
'ALTER ANY ROUTE', 'ALTER ANY SCHEMA', 'ALTER ANY SERVICE',
'ALTER ANY SYMMETRIC KEY', 'CHECKPOINT', 'CREATE AGGREGATE',
'CREATE DEFAULT', 'CREATE FUNCTION', 'CREATE PROCEDURE',
'CREATE QUEUE', 'CREATE RULE', 'CREATE SYNONYM', 'CREATE TABLE',
'CREATE TYPE', 'CREATE VIEW', 'CREATE XML SCHEMA COLLECTION',
'REFERENCES') OR
dp.[name]='db_owner' AND s.[state]='G' AND
p.[permission_name]='CONTROL' OR
dp.[name]='db_securityadmin' AND s.[state]='G' AND
p.[permission_name] IN ('ALTER ANY APPLICATION ROLE', 'ALTER ANY ROLE',
'CREATE SCHEMA', 'VIEW DEFINITION')
WHERE dp.[type]='R' AND
dp.is_fixed_role=1;
-------------------------------------------------------------------------------
--- Output:
-------------------------------------------------------------------------------
--- If @output_xml=1, use the OUTPUT variable @xml to return a blob:
IF (@output_xml=1)
SELECT @xml=(
SELECT perms.state_desc AS [@state],
--- Permission hierarchy:
(SELECT p.permission AS [@name],
p.class as [@class],
(CASE WHEN p.[level]=0 THEN 'declared' ELSE 'effective' END) AS [@inheritance]
FROM @permissions AS p
WHERE perms.class_desc COLLATE database_default=p.declared_class AND
perms.[permission_name] COLLATE database_default=p.declared_permission
FOR XML PATH('permission'), TYPE
) AS [permissions],
--- Securables hierarchy:
(SELECT sec.class_desc AS [@class],
sec.major_id AS [@major_id],
NULLIF(perms.minor_id, 0) AS [@minor_id],
sec.qualified_name+ISNULL(N'('+QUOTENAME(col.[name] COLLATE database_default)+N')', N'') AS [@name],
(CASE WHEN sec.class=sec.parent_class AND sec.major_id=sec.parent_major_id THEN 'declared' ELSE 'effective' END) AS [@inheritance]
FROM @securables AS sec
WHERE perms.class=sec.parent_class AND
perms.major_id=sec.parent_major_id
FOR XML PATH('securable'), TYPE
) AS securables,
--- Principals hierarchy:
(SELECT grantee.effective_principal_id AS [@principal_id],
grantee.effective_type_desc AS [@type],
grantee.effective_name AS [@name],
(CASE WHEN grantee.[level]=0 THEN 'declared' ELSE 'effective' END) AS [@inheritance]
FROM @principals AS grantee
WHERE grantee.declared_is_server_lvl=perms.grantee_is_server_lvl AND
grantee.declared_principal_id=perms.grantee_principal_id
ORDER BY grantee.[level]
FOR XML PATH('principal'), TYPE
) AS principals,
--- The SQL statement of the declared permission:
(CASE
--- Explicit GRANT/DENY:
WHEN perms.inheritance IS NULL THEN
(CASE perms.[state] WHEN 'W' THEN N'GRANT' ELSE perms.state_desc END)+
N' '+perms.[permission_name] COLLATE database_default+
ISNULL(N' ON '+NULLIF(def_sec.parent_qualified_name, N'SERVER')+ISNULL(N'('+QUOTENAME(col.[name] COLLATE database_default)+N')', N''), N'')+
N' TO '+QUOTENAME(def_grantee.declared_name)+
(CASE WHEN perms.[state]='W' THEN N' WITH GRANT OPTION' ELSE N'' END)
--- Inferred CONTROL by ownership: ALTER AUTHORIZATION
WHEN perms.inheritance='OWNER' THEN
N'ALTER AUTHORIZATION '+
ISNULL(N' ON '+def_sec.parent_qualified_name, N'')+
N' TO '+QUOTENAME(def_grantee.declared_name) COLLATE database_default
END) AS [declared_permission/@sql]
FROM @rules AS perms
INNER JOIN @principals AS def_grantee ON
def_grantee.declared_is_server_lvl=perms.grantee_is_server_lvl AND
def_grantee.declared_principal_id=perms.grantee_principal_id AND
def_grantee.[level]=0
INNER JOIN @permissions AS def_p ON
perms.class_desc COLLATE database_default=(CASE WHEN def_p.declared_class IN (N'USER', N'ROLE') THEN N'DATABASE_PRINCIPAL' ELSE def_p.declared_class END) AND
perms.[permission_name] COLLATE database_default=def_p.declared_permission AND
def_p.[level]=0
INNER JOIN @securables AS def_sec ON
perms.class=def_sec.parent_class AND
perms.major_id=def_sec.parent_major_id AND
def_p.class=def_sec.class_desc AND
def_sec.class=def_sec.parent_class AND
def_sec.major_id=def_sec.parent_major_id
LEFT JOIN sys.columns AS col ON
perms.grantee_is_server_lvl=0 AND
perms.class_desc='OBJECT' AND
perms.major_id=col.[object_id] AND
perms.minor_id=col.column_id
WHERE (@principal IS NULL OR def_grantee.effective_name LIKE @principal) AND
(@securable IS NULL OR def_sec.qualified_name LIKE @securable) AND
(@permission IS NULL OR perms.[permission_name] LIKE @permission)
FOR XML PATH('permission'), TYPE);
--- If @output_xml=0, return a tabular resultset with all inherited permutations:
IF (@output_xml=0)
SELECT perms.state_desc AS [state],
perms.[permission_name] AS permission,
sec.parent_qualified_name AS securable,
grantee.declared_name AS principal,
--- The SQL statement of the declared permission:
(CASE
--- Explicit GRANT/DENY:
WHEN perms.inheritance IS NULL THEN
(CASE perms.[state] WHEN 'W' THEN N'GRANT' ELSE perms.state_desc END)+
N' '+perms.[permission_name] COLLATE database_default+
ISNULL(N' ON '+NULLIF(sec.parent_qualified_name, N'SERVER')+ISNULL(N'('+QUOTENAME(col.[name] COLLATE database_default)+N')', N''), N'')+
N' TO '+QUOTENAME(grantee.declared_name)+
(CASE WHEN perms.[state]='W' THEN N' WITH GRANT OPTION' ELSE N'' END)
--- Inferred CONTROL by ownership: ALTER AUTHORIZATION
WHEN perms.inheritance='OWNER' THEN
N'ALTER AUTHORIZATION '+
ISNULL(N' ON '+sec.parent_qualified_name, N'')+
N' TO '+QUOTENAME(grantee.declared_name) COLLATE database_default
END) AS declared_permission,
--- Effective permissions:
(CASE MIN((CASE WHEN [state]='D' THEN 0 ELSE 1 END)) OVER (PARTITION BY sec.class, sec.major_id, perms.minor_id, p.permission) WHEN 0 THEN N'DENY' ELSE N'GRANT' END) AS effective_state,
p.permission AS effective_permission,
sec.qualified_name AS effective_securable,
grantee.effective_name AS effective_principal,
--- Paths (the explanation for the effective permissions)
p.[path] AS permission_path,
sec.[path] AS securable_path,
grantee.[path] AS principal_path
FROM @rules AS perms
INNER JOIN @principals AS grantee ON
grantee.declared_is_server_lvl=perms.grantee_is_server_lvl AND
grantee.declared_principal_id=perms.grantee_principal_id
LEFT JOIN sys.columns AS col ON
perms.grantee_is_server_lvl=0 AND
perms.class_desc='OBJECT' AND
perms.major_id=col.[object_id] AND
perms.minor_id=col.column_id
INNER JOIN @permissions AS p ON
perms.class_desc COLLATE database_default=(CASE WHEN p.declared_class IN (N'USER', N'ROLE') THEN N'DATABASE_PRINCIPAL' ELSE p.declared_class END) AND
perms.[permission_name] COLLATE database_default=p.declared_permission AND
( p.class IN ('SERVER', 'SERVER_PRINCIPAL', 'ENDPOINT') AND grantee.effective_is_server_lvl=1 OR
p.class NOT IN ('SERVER', 'SERVER_PRINCIPAL', 'ENDPOINT') AND grantee.effective_is_server_lvl=0)
INNER JOIN @securables AS sec ON
perms.class=sec.parent_class AND
perms.major_id=sec.parent_major_id AND
p.class=sec.class_desc
WHERE (@principal IS NULL OR grantee.effective_name LIKE @principal) AND
(@securable IS NULL OR sec.qualified_name LIKE @securable) AND
(@permission IS NULL OR perms.[permission_name] LIKE @permission OR p.permission LIKE @permission)
ORDER BY sec.parent_class,
sec.parent_qualified_name,
p.declared_permission,
perms.state_desc,
grantee.declared_name,
p.permission,
sec.qualified_name,
grantee.effective_name;
GO
--- This marks master.dbo.sp_help_permissions as a "system object", which makes
--- it accessible from any database without the "master." prefix. It
--- also sets the execution context of the procedure to the database
--- where it was called.
---
--- Not available on Azure SQL Database.
---
--- NOTE: sp_MS_marksystemobject is an undocumented, unsupported
--- feature of SQL Server.
IF (DB_NAME()='master' AND CAST(SERVERPROPERTY('Edition') AS varchar(100)) NOT LIKE '%Azure%')
EXECUTE sys.sp_MS_marksystemobject @objname=N'sp_help_permissions';
GO
|
<filename>src/main/resources/db/migration/V1__CREATE_TABLES.sql
CREATE TABLE IF NOT EXISTS BEHOV
(
id VARCHAR(64) NOT NULL,
regel VARCHAR(20),
data JSONB NOT NULL,
PRIMARY KEY (id),
created TIMESTAMP WITH TIME ZONE NOT NULL default (now() at time zone 'utc')
);
CREATE TABLE IF NOT EXISTS SUBSUMSJON
(
id VARCHAR(64) NOT NULL,
regel VARCHAR(20) NOT NULL,
behovId VARCHAR(64) NOT NULL,
data JSONB NOT NULL,
PRIMARY KEY (id, regel),
FOREIGN KEY (behovId) REFERENCES BEHOV (id),
created TIMESTAMP WITH TIME ZONE NOT NULL default (now() at time zone 'utc')
);
|
<gh_stars>0
/**
* <feature scope="SanteDB.Persistence.Data.ADO.Performance" id="ZZ-PARTITION-PGSQL10" name="Performance: Partition PostgreSQL" applyRange="1.0.0.3-1.0.0.0" invariantName="npgsql">
* <summary>Performance: Enhances performance of large SanteDB databases by partitioning certain tables</summary>
* <remarks>This update will partition the tables ACT_PTCPT, ACT, and ENT_REL along common lines</remarks>
* <isInstalled>select ck_patch('ZZ-PARTITION-PGSQL10')</isInstalled>
* <canInstall>select version() ilike '%postgresql 10.%' </canInstall>
* </feature>
*/
-- PARTITION THE TABLE ACT_PTCPT_TBL BY TYPE
CREATE TABLE act_ptcpt_part_tbl
(
act_ptcpt_id uuid NOT NULL DEFAULT uuid_generate_v4(),
ent_id uuid NOT NULL,
act_id uuid NOT NULL,
efft_vrsn_seq_id numeric(20,0) NOT NULL,
obslt_vrsn_seq_id numeric(20,0),
qty integer DEFAULT 1,
rol_cd_id uuid NOT NULL,
ptcpt_seq_id numeric(20,0) NOT NULL DEFAULT nextval('act_ptcpt_seq'::regclass),
CONSTRAINT ck_act_ptcpt_rol_cd CHECK (ck_is_cd_set_mem(rol_cd_id, 'ActParticipationType'::character varying, true))
) PARTITION BY LIST (rol_cd_id);
-- PARTITIONS FOR THE ACT_PARTICIPATION TABLE
CREATE TABLE act_ptcpt_part_loc_tbl PARTITION OF act_ptcpt_part_tbl FOR VALUES IN ('61848557-d78d-40e5-954f-0b9c97307a04','02bb7934-76b5-4cc5-bd42-58570f15eb4d','ac05185b-5a80-47a8-b924-060deb6d0eb2');
CREATE TABLE act_ptcpt_part_rct_tbl PARTITION OF act_ptcpt_part_tbl FOR VALUES IN ('3f92dbee-a65e-434f-98ce-841feeb02e3f');
CREATE TABLE act_ptcpt_part_cons_tbl PARTITION OF act_ptcpt_part_tbl FOR VALUES IN ('a5cac7f7-e3b7-4dd8-872c-db0e7fcc2d84','99e77288-cb09-4050-a8cf-385513f32f0a');
CREATE TABLE act_ptcpt_part_auth_tbl PARTITION OF act_ptcpt_part_tbl FOR VALUES IN ('f0cb3faf-435d-4704-9217-b884f757bc14','a2594e6e-e8fe-4c68-82a5-d3a46dbec87d','fa5e70a4-a46e-4665-8a20-94d4d7b86fc8');
CREATE TABLE act_ptcpt_part_oth_tbl PARTITION OF act_ptcpt_part_tbl FOR VALUES IN ('9790b291-b8a3-4c85-a240-c2c38885ad5d','5b0fac74-5ac6-44e6-99a4-6813c0e2f4a9', '727b3624-ea62-46bb-a68b-b9e49e302eca');
--#!
-- COPY EXISTING ACT PARTICIPATIONS TO THE NEW TABLE (CAN TAKE ABOUT 1 hr)
INSERT INTO act_ptcpt_part_tbl SELECT * FROM act_ptcpt_tbl;
--#!
-- CREATE NECESSARY INDEXES ON PARTITION TABLES
CREATE INDEX act_ptcpt_part_loc_rol_cd_idx ON act_ptcpt_part_loc_tbl (rol_cd_id);
CREATE INDEX act_ptcpt_part_rct_rol_cd_idx ON act_ptcpt_part_rct_tbl (rol_cd_id);
CREATE INDEX act_ptcpt_part_cons_rol_cd_idx ON act_ptcpt_part_cons_tbl (rol_cd_id);
CREATE INDEX act_ptcpt_part_auth_rol_cd_idx ON act_ptcpt_part_auth_tbl (rol_cd_id);
CREATE INDEX act_ptcpt_part_oth_rol_cd_idx ON act_ptcpt_part_oth_tbl (rol_cd_id);
CREATE INDEX act_ptcpt_part_loc_ent_idx ON act_ptcpt_part_loc_tbl (ent_id);
CREATE INDEX act_ptcpt_part_rct_ent_idx ON act_ptcpt_part_rct_tbl (ent_id);
CREATE INDEX act_ptcpt_part_cons_ent_idx ON act_ptcpt_part_cons_tbl (ent_id);
CREATE INDEX act_ptcpt_part_auth_ent_idx ON act_ptcpt_part_auth_tbl (ent_id);
CREATE INDEX act_ptcpt_part_oth_ent_idx ON act_ptcpt_part_oth_tbl (ent_id);
CREATE INDEX act_ptcpt_part_loc_act_idx ON act_ptcpt_part_loc_tbl (act_id);
CREATE INDEX act_ptcpt_part_rct_act_idx ON act_ptcpt_part_rct_tbl (act_id);
CREATE INDEX act_ptcpt_part_cons_act_idx ON act_ptcpt_part_cons_tbl (act_id);
CREATE INDEX act_ptcpt_part_auth_act_idx ON act_ptcpt_part_auth_tbl (act_id);
CREATE INDEX act_ptcpt_part_oth_act_idx ON act_ptcpt_part_oth_tbl (act_id);
--#!
-- ENFORCE UNIQUENESS
CREATE UNIQUE INDEX act_ptcpt_part_loc_unq_enf_sha1 ON act_ptcpt_part_loc_tbl (digest((act_id::text || ent_id::text) || rol_cd_id::text, 'sha1'::text)) where obslt_vrsn_seq_id is null;
CREATE UNIQUE INDEX act_ptcpt_part_rct_unq_enf_sha1 ON act_ptcpt_part_rct_tbl (digest((act_id::text || ent_id::text) || rol_cd_id::text, 'sha1'::text)) where obslt_vrsn_seq_id is null;
CREATE UNIQUE INDEX act_ptcpt_part_auth_unq_enf_sha1 ON act_ptcpt_part_auth_tbl (digest((act_id::text || ent_id::text) || rol_cd_id::text, 'sha1'::text)) where obslt_vrsn_seq_id is null;
CREATE UNIQUE INDEX act_ptcpt_part_cons_unq_enf_sha1 ON act_ptcpt_part_cons_tbl (digest((act_id::text || ent_id::text) || rol_cd_id::text, 'sha1'::text)) where obslt_vrsn_seq_id is null;
CREATE UNIQUE INDEX act_ptcpt_part_oth_unq_enf_sha1 ON act_ptcpt_part_oth_tbl (digest((act_id::text || ent_id::text) || rol_cd_id::text, 'sha1'::text)) where obslt_vrsn_seq_id is null;
--#!
-- ADD FOREIGN KEYS BACK TO TABLE
ALTER TABLE act_ptcpt_part_loc_tbl ADD CONSTRAINT pk_act_ptcpt_part_loc_tbl PRIMARY KEY (act_ptcpt_id);
ALTER TABLE act_ptcpt_part_rct_tbl ADD CONSTRAINT pk_act_ptcpt_part_rct_tbl PRIMARY KEY (act_ptcpt_id);
ALTER TABLE act_ptcpt_part_oth_tbl ADD CONSTRAINT pk_act_ptcpt_part_oth_tbl PRIMARY KEY (act_ptcpt_id);
ALTER TABLE act_ptcpt_part_cons_tbl ADD CONSTRAINT pk_act_ptcpt_part_cons_tbl PRIMARY KEY (act_ptcpt_id);
ALTER TABLE act_ptcpt_part_auth_tbl ADD CONSTRAINT pk_act_ptcpt_part_auth_tbl PRIMARY KEY (act_ptcpt_id);
ALTER TABLE act_ptcpt_part_loc_tbl ADD CONSTRAINT fk_act_ptcpt_part_loc_act_id FOREIGN KEY (act_id) REFERENCES act_tbl (act_id);
ALTER TABLE act_ptcpt_part_rct_tbl ADD CONSTRAINT fk_act_ptcpt_part_rct_act_id FOREIGN KEY (act_id) REFERENCES act_tbl (act_id);
ALTER TABLE act_ptcpt_part_oth_tbl ADD CONSTRAINT fk_act_ptcpt_part_oth_act_id FOREIGN KEY (act_id) REFERENCES act_tbl (act_id);
ALTER TABLE act_ptcpt_part_cons_tbl ADD CONSTRAINT fk_act_ptcpt_part_cons_act_id FOREIGN KEY (act_id) REFERENCES act_tbl (act_id);
ALTER TABLE act_ptcpt_part_auth_tbl ADD CONSTRAINT fk_act_ptcpt_part_auth_act_id FOREIGN KEY (act_id) REFERENCES act_tbl (act_id);
ALTER TABLE act_ptcpt_part_loc_tbl ADD CONSTRAINT fk_act_ptcpt_part_loc_ent_id FOREIGN KEY (ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE act_ptcpt_part_rct_tbl ADD CONSTRAINT fk_act_ptcpt_part_rct_ent_id FOREIGN KEY (ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE act_ptcpt_part_oth_tbl ADD CONSTRAINT fk_act_ptcpt_part_oth_ent_id FOREIGN KEY (ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE act_ptcpt_part_cons_tbl ADD CONSTRAINT fk_act_ptcpt_part_cons_ent_id FOREIGN KEY (ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE act_ptcpt_part_auth_tbl ADD CONSTRAINT fk_act_ptcpt_part_auth_ent_id FOREIGN KEY (ent_id) REFERENCES ent_tbl (ent_id);
--#!
-- CREATE A BACKUP OF THE EXISTING PARTICIPANTS TABLE
alter table act_ptcpt_tbl rename to act_ptcpt_tbl_bak;
-- RENAME THE PARTITIONED TABLE TO BE THE ACTUAL TABLE
alter table act_ptcpt_part_tbl rename to act_ptcpt_tbl;
--#!
-- PARTITION THE TABLE ENT_ROL_TBL BY TYPE
CREATE TABLE ent_rel_part_tbl
(
ent_rel_id uuid NOT NULL DEFAULT uuid_generate_v4(),
src_ent_id uuid NOT NULL,
trg_ent_id uuid NOT NULL,
efft_vrsn_seq_id numeric(20,0) NOT NULL,
obslt_vrsn_seq_id numeric(20,0),
rel_typ_cd_id uuid NOT NULL,
qty integer DEFAULT 1,
CONSTRAINT ck_ent_rel_rel_type_cd CHECK (ck_is_cd_set_mem(rel_typ_cd_id, 'EntityRelationshipType'::character varying, false))
) PARTITION BY LIST (rel_typ_cd_id);
-- PARTITIONS FOR THE ENT_REL_TBL TABLE
CREATE TABLE ent_rel_part_dsdl_tbl PARTITION OF ent_rel_part_tbl FOR VALUES IN ('455f1772-f580-47e8-86bd-b5ce25d351f9', '41baf7aa-5ffd-4421-831f-42d4ab3de38a', 'ff34dfa7-c6d3-4f8b-bc9f-14bcdc13ba6c');
CREATE TABLE ent_rel_part_fam_tbl PARTITION OF ent_rel_part_tbl FOR VALUES IN ('1ee4e74f-542d-4544-96f6-266a6247f274', '0ff2ab03-6e0a-40d1-8947-04c4937b4cc4','24380d53-ea22-4820-9f06-8671f774f133','739457d0-835a-4a9c-811c-42b5e92ed1ca','1c0f931c-9c49-4a52-8fbf-5217c52ea778','38d66ec7-0cc8-4609-9675-b6ff91ede605','40d18ecc-8ff8-4e03-8e58-97a980f04060','48c59444-fec0-43b8-aa2c-7aedb70733ad','b630ba2c-8a00-46d8-bf64-870d381d8917','fa646df9-7d64-4d1f-ae9a-6261fd5fd6ae','29ff64e5-b564-411a-92c7-6818c02a9e48','bfcbb345-86db-43ba-b47e-e7411276ac7c','cd1e8904-31dc-4374-902d-c91f1de23c46','f172eee7-7f4b-4022-81d0-76393a1200ae','cdd99260-107c-4a4e-acaf-d7c9c7e90fdd');
CREATE TABLE ent_rel_part_own_tbl PARTITION OF ent_rel_part_tbl FOR VALUES IN ('117da15c-0864-4f00-a987-9b9854cba44e');
CREATE TABLE ent_rel_part_stock_tbl PARTITION OF ent_rel_part_tbl FOR VALUES IN ('08fff7d9-bac7-417b-b026-c9bee52f4a37','639b4b8f-afd3-4963-9e79-ef0d3928796a','6780df3b-afbd-44a3-8627-cbb3dc2f02f6');
CREATE TABLE ent_rel_part_inf_tbl PARTITION OF ent_rel_part_tbl FOR VALUES IN ('ac45a740-b0c7-4425-84d8-b3f8a41fef9f', 'd1578637-e1cb-415e-b319-4011da033813', '77b7a04b-c065-4faf-8ec0-2cdad4ae372b');
--#!
INSERT INTO ENT_REL_PART_TBL SELECT * FROM ENT_REL_TBL;
--#!
-- ADD PK
ALTER TABLE ent_rel_part_dsdl_tbl ADD CONSTRAINT pk_ent_rel_part_dsdl_tbl PRIMARY KEY (ent_rel_id);
ALTER TABLE ent_rel_part_fam_tbl ADD CONSTRAINT pk_ent_rel_part_fam_tbl PRIMARY KEY (ent_rel_id);
ALTER TABLE ent_rel_part_own_tbl ADD CONSTRAINT pk_ent_rel_part_own_tbl PRIMARY KEY (ent_rel_id);
ALTER TABLE ent_rel_part_stock_tbl ADD CONSTRAINT pk_ent_rel_part_stock_tbl PRIMARY KEY (ent_rel_id);
ALTER TABLE ent_rel_part_inf_tbl ADD CONSTRAINT pk_ent_rel_part_inf_tbl PRIMARY KEY (ent_rel_id);
--#!
-- ADD FKS
ALTER TABLE ent_rel_part_dsdl_tbl ADD CONSTRAINT fk_ent_rel_part_dsdl_rel_typ_cd_id FOREIGN KEY (rel_typ_cd_id) REFERENCES cd_tbl (cd_id);
ALTER TABLE ent_rel_part_fam_tbl ADD CONSTRAINT fk_ent_rel_part_fam_rel_typ_cd_id FOREIGN KEY (rel_typ_cd_id) REFERENCES cd_tbl (cd_id);
ALTER TABLE ent_rel_part_own_tbl ADD CONSTRAINT fk_ent_rel_part_own_rel_typ_cd_id FOREIGN KEY (rel_typ_cd_id) REFERENCES cd_tbl (cd_id);
ALTER TABLE ent_rel_part_stock_tbl ADD CONSTRAINT fk_ent_rel_part_stock_rel_typ_cd_id FOREIGN KEY (rel_typ_cd_id) REFERENCES cd_tbl (cd_id);
ALTER TABLE ent_rel_part_inf_tbl ADD CONSTRAINT fk_ent_rel_part_inf_rel_typ_cd_id FOREIGN KEY (rel_typ_cd_id) REFERENCES cd_tbl (cd_id);
ALTER TABLE ent_rel_part_dsdl_tbl ADD CONSTRAINT fk_ent_rel_part_dsdl_src_ent_id FOREIGN KEY (src_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_fam_tbl ADD CONSTRAINT fk_ent_rel_part_fam_src_ent_id FOREIGN KEY (src_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_own_tbl ADD CONSTRAINT fk_ent_rel_part_own_src_ent_id FOREIGN KEY (src_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_stock_tbl ADD CONSTRAINT fk_ent_rel_part_stock_src_ent_id FOREIGN KEY (src_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_inf_tbl ADD CONSTRAINT fk_ent_rel_part_inf_src_ent_id FOREIGN KEY (src_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_dsdl_tbl ADD CONSTRAINT fk_ent_rel_part_dsdl_trg_ent_id FOREIGN KEY (trg_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_fam_tbl ADD CONSTRAINT fk_ent_rel_part_fam_trg_ent_id FOREIGN KEY (trg_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_own_tbl ADD CONSTRAINT fk_ent_rel_part_own_trg_ent_id FOREIGN KEY (trg_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_stock_tbl ADD CONSTRAINT fk_ent_rel_part_stock_trg_ent_id FOREIGN KEY (trg_ent_id) REFERENCES ent_tbl (ent_id);
ALTER TABLE ent_rel_part_inf_tbl ADD CONSTRAINT fk_ent_rel_part_inf_trg_ent_id FOREIGN KEY (trg_ent_id) REFERENCES ent_tbl (ent_id);
--#!
-- INDEX OF SRC_ENT_ID
CREATE INDEX ent_rel_part_dsdl_src_ent_id_idx ON ent_rel_part_dsdl_tbl(src_ent_id);
CREATE INDEX ent_rel_part_fam_src_ent_id_idx ON ent_rel_part_fam_tbl(src_ent_id);
CREATE INDEX ent_rel_part_own_src_ent_id_idx ON ent_rel_part_own_tbl(src_ent_id);
CREATE INDEX ent_rel_part_stock_src_ent_id_idx ON ent_rel_part_stock_tbl(src_ent_id);
CREATE INDEX ent_rel_part_inf_src_ent_id_idx ON ent_rel_part_inf_tbl(src_ent_id);
--#!
CREATE INDEX ent_rel_part_dsdl_rel_typ_idx ON ent_rel_part_dsdl_tbl(rel_typ_cd_id);
CREATE INDEX ent_rel_part_fam_rel_typ_idx ON ent_rel_part_fam_tbl(rel_typ_cd_id);
CREATE INDEX ent_rel_part_stock_rel_typ_idx ON ent_rel_part_stock_tbl(rel_typ_cd_id);
CREATE INDEX ent_rel_part_inf_rel_typ_idx ON ent_rel_part_inf_tbl(rel_typ_cd_id);
--#!
CREATE INDEX ent_rel_part_dsdl_trg_ent_id_idx ON ent_rel_part_dsdl_tbl(trg_ent_id);
CREATE INDEX ent_rel_part_fam_trg_ent_id_idx ON ent_rel_part_fam_tbl(trg_ent_id);
CREATE INDEX ent_rel_part_own_trg_ent_id_idx ON ent_rel_part_own_tbl(trg_ent_id);
CREATE INDEX ent_rel_part_stock_trg_ent_id_idx ON ent_rel_part_stock_tbl(trg_ent_id);
CREATE INDEX ent_rel_part_inf_trg_ent_id_idx ON ent_rel_part_inf_tbl(trg_ent_id);
--#!
CREATE UNIQUE INDEX ent_rel_part_dsdl_unq_enf_sha1 ON ent_rel_part_dsdl_tbl (digest((src_ent_id::text || trg_ent_id::text) || rel_typ_cd_id::text, 'sha1'::text)) WHERE obslt_vrsn_seq_id IS NULL;
CREATE UNIQUE INDEX ent_rel_part_fam_unq_enf_sha1 ON ent_rel_part_fam_tbl (digest((src_ent_id::text || trg_ent_id::text) || rel_typ_cd_id::text, 'sha1'::text)) WHERE obslt_vrsn_seq_id IS NULL;
CREATE UNIQUE INDEX ent_rel_part_own_unq_enf_sha1 ON ent_rel_part_own_tbl (digest((src_ent_id::text || trg_ent_id::text) || rel_typ_cd_id::text, 'sha1'::text)) WHERE obslt_vrsn_seq_id IS NULL;
CREATE UNIQUE INDEX ent_rel_part_stock_unq_enf_sha1 ON ent_rel_part_stock_tbl (digest((src_ent_id::text || trg_ent_id::text) || rel_typ_cd_id::text, 'sha1'::text)) WHERE obslt_vrsn_seq_id IS NULL;
CREATE UNIQUE INDEX ent_rel_part_inf_unq_enf_sha1 ON ent_rel_part_inf_tbl (digest((src_ent_id::text || trg_ent_id::text) || rel_typ_cd_id::text, 'sha1'::text)) WHERE obslt_vrsn_seq_id IS NULL;
--#!
CREATE TRIGGER ent_rel_part_dsdl_tbl_vrfy BEFORE INSERT OR UPDATE ON ent_rel_part_dsdl_tbl FOR EACH ROW EXECUTE PROCEDURE trg_vrfy_ent_rel_tbl();
CREATE TRIGGER ent_rel_part_fam_tbl_vrfy BEFORE INSERT OR UPDATE ON ent_rel_part_fam_tbl FOR EACH ROW EXECUTE PROCEDURE trg_vrfy_ent_rel_tbl();
CREATE TRIGGER ent_rel_part_own_tbl_vrfy BEFORE INSERT OR UPDATE ON ent_rel_part_own_tbl FOR EACH ROW EXECUTE PROCEDURE trg_vrfy_ent_rel_tbl();
CREATE TRIGGER ent_rel_part_stock_tbl_vrfy BEFORE INSERT OR UPDATE ON ent_rel_part_stock_tbl FOR EACH ROW EXECUTE PROCEDURE trg_vrfy_ent_rel_tbl();
CREATE TRIGGER ent_rel_part_inf_tbl_vrfy BEFORE INSERT OR UPDATE ON ent_rel_part_inf_tbl FOR EACH ROW EXECUTE PROCEDURE trg_vrfy_ent_rel_tbl();
--#!
ALTER TABLE ent_rel_tbl RENAME TO ent_rel_tbl_bak;
ALTER TABLE ent_rel_part_tbl RENAME TO ent_rel_tbl;
--#!
|
SELECT * FROM psdb.employees WHERE first_name LIKE '%zette' AND gender = 'M'; |
<filename>Projeto/scripts/Tabelas.sql<gh_stars>0
USE Projeto
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Utente]') )
begin
CREATE TABLE Utente (
UtenteID int NOT NULL
CHECK (UtenteID >= 1), -- constraint type: check
Nome nvarchar(100) NOT NULL,
BI nvarchar(30) NOT NULL,
CONSTRAINT PK_UtenteID PRIMARY KEY (UtenteID) -- constraint type: primary key
/*CONSTRAINT U_Nome UNIQUE (Nome) -- constraint type: unique*/
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[AreaClinica]') )
begin
CREATE TABLE AreaClinica (
AreaClinicaID int NOT NULL
CONSTRAINT PK_AreaClinicaID PRIMARY KEY (AreaClinicaID)
CHECK (AreaClinicaID >= 1),
Nome nvarchar(100) NOT NULL,
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[CorpoClinico]') )
begin
CREATE TABLE CorpoClinico (
CorpoClinicoID int NOT NULL
CONSTRAINT PK_CorpoClinicoID PRIMARY KEY (CorpoClinicoID)
CHECK (CorpoClinicoID >= 1),
AreaClinicaID int NOT NULL
CONSTRAINT FK_AreaClinicaID FOREIGN KEY (AreaClinicaID)
REFERENCES AreaClinica(AreaClinicaID)
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Medico]') )
begin
CREATE TABLE Medico (
MedicoID int NOT NULL
CONSTRAINT PK_MedicoID PRIMARY KEY (MedicoID)
CHECK (MedicoID >= 1),
Nome nvarchar(100) NOT NULL,
CorpoClinicoID int NOT NULL
CONSTRAINT FK_CorpoClinicoID FOREIGN KEY (CorpoClinicoID)
REFERENCES CorpoClinico(CorpoClinicoID)
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[RegiaoSaude]') )
begin
CREATE TABLE RegiaoSaude (
RegiaoID int NOT NULL
CONSTRAINT PK_RegiaoID PRIMARY KEY (RegiaoID)
CHECK (RegiaoID >= 1),
Nome nvarchar(100) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[CentroHospitalar]') )
begin
CREATE TABLE CentroHospitalar (
CentroHospitalarID int NOT NULL
CONSTRAINT PK_CentroHospitalarID PRIMARY KEY (CentroHospitalarID)
CHECK (CentroHospitalarID >= 1),
RegiaoID int NOT NULL
CONSTRAINT FK_RegiaoID FOREIGN KEY (RegiaoID)
REFERENCES RegiaoSaude(RegiaoID),
Nome nvarchar(100) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Hospital]') )
begin
CREATE TABLE Hospital (
HospitalID int NOT NULL
CONSTRAINT PK_HospitalID PRIMARY KEY (HospitalID)
CHECK (HospitalID >= 1),
CentroHospitalarID int NOT NULL
CONSTRAINT FK_CentroHospitalarID FOREIGN KEY (CentroHospitalarID)
REFERENCES CentroHospitalar(CentroHospitalarID),
Nome nvarchar(100) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[ServicoSaude]') )
begin
CREATE TABLE ServicoSaude (
ServicoSaudeID int NOT NULL
CONSTRAINT PK_ServicoSaudeID PRIMARY KEY (ServicoSaudeID)
CHECK (ServicoSaudeID >= 1),
Nome nvarchar(100) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Sala]') )
begin
CREATE TABLE Sala (
SalaID int NOT NULL
CONSTRAINT PK_SalaID PRIMARY KEY (SalaID)
CHECK (SalaID >= 1),
ServicoSaudeID int NOT NULL
CONSTRAINT FK_ServicoSaudeID FOREIGN KEY (ServicoSaudeID)
REFERENCES ServicoSaude(ServicoSaudeID)
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Recursos]') )
begin
CREATE TABLE Recursos (
RecursosID int NOT NULL
CONSTRAINT PK_RecursosID PRIMARY KEY (RecursosID)
CHECK (RecursosID >= 1),
Nome nvarchar(100) NOT NULL,
Validade Date NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Ocorrencia]') )
begin
CREATE TABLE Ocorrencia (
OcorrenciaID int NOT NULL
CONSTRAINT PK_OcorrenciaID PRIMARY KEY (OcorrenciaID)
CHECK (OcorrenciaID >= 1),
Tipo nvarchar(10) NOT NULL,
UtenteID int NOT NULL
CONSTRAINT FK_UtenteID FOREIGN KEY (UtenteID)
REFERENCES Utente(UtenteID),
Descricao nvarchar(500) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[Marcacao]') )
begin
CREATE TABLE Marcacao (
MarcacaoID int NOT NULL
CONSTRAINT PK_MarcacaoID PRIMARY KEY (MarcacaoID)
CHECK (MarcacaoID >= 1),
OcorrenciaID int NOT NULL
CONSTRAINT FK_OcorrenciaID FOREIGN KEY (OcorrenciaID)
REFERENCES Ocorrencia(OcorrenciaID),
ServicoSaudeID int NOT NULL
CONSTRAINT SK_ServicoSaudeID FOREIGN KEY (ServicoSaudeID)
REFERENCES ServicoSaude(ServicoSaudeID),
AreaClinicaID int NOT NULL
CONSTRAINT SK_AreaClinicaID FOREIGN KEY (AreaClinicaID)
REFERENCES AreaClinica(AreaClinicaID),
MedicoID int NOT NULL
CONSTRAINT FK_MedicoID FOREIGN KEY (MedicoID)
REFERENCES Medico(MedicoID),
Dia Date NOT NULL,
Hora Time NOT NULL,
SalaID int NOT NULL
CONSTRAINT FK_SalaID FOREIGN KEY (SalaID)
REFERENCES Sala(SalaID),
RecursosID int NOT NULL
CONSTRAINT FK_RecursosID FOREIGN KEY (RecursosID)
REFERENCES Recursos(RecursosID)
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[EpisodioClinico]') )
begin
CREATE TABLE EpisodioClinico (
EpisodioClinicoID int NOT NULL
CONSTRAINT PK_EpisodioClinicoID PRIMARY KEY (EpisodioClinicoID)
CHECK (EpisodioClinicoID >= 1),
MarcacaoID int NOT NULL
CONSTRAINT FK_MarcacaoID FOREIGN KEY (MarcacaoID)
REFERENCES Marcacao(MarcacaoID),
OcorrenciaID int NOT NULL
CONSTRAINT SK_OcorrenciaID FOREIGN KEY (OcorrenciaID)
REFERENCES Ocorrencia(OcorrenciaID),
Descricao nvarchar(500) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[MeiosComplementares]') )
begin
CREATE TABLE MeiosComplementares (
MeiosComplementaresID int NOT NULL
CONSTRAINT PK_MeiosComplementaresID PRIMARY KEY (MeiosComplementaresID)
CHECK (MeiosComplementaresID >= 1),
EpisodioClinicoID int NOT NULL
CONSTRAINT FK_EpisodioClinicoID FOREIGN KEY (EpisodioClinicoID)
REFERENCES EpisodioClinico(EpisodioClinicoID),
Nome nvarchar(20) NOT NULL,
Resultado nvarchar(500) NOT NULL
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[AtribuicaoServicoArea]') )
begin
CREATE TABLE AtribuicaoServicoArea (
ServicoSaudeID int
CONSTRAINT nn_ServicoSaudeID NOT NULL,
AreaClinicaID int
CONSTRAINT nn_AreaClinicaID NOT NULL,
-- nn -> NOT NULL
CONSTRAINT PK_AtribuicaoServicoArea
PRIMARY KEY (ServicoSaudeID, AreaClinicaID), -- constraint type: primary key
CONSTRAINT UK_ServicoSaudeID FOREIGN KEY (ServicoSaudeID)
REFERENCES ServicoSaude(ServicoSaudeID),
CONSTRAINT UK_AreaClinicaID FOREIGN KEY (AreaClinicaID)
REFERENCES AreaClinica(AreaClinicaID)
);
end
-- ............................................................................
if not exists (select * from dbo.sysobjects
where id = object_id(N'[dbo].[AtribuicaoHospitalServico]') )
begin
CREATE TABLE AtribuicaoHospitalServico (
HospitalID int
CONSTRAINT nn_HospitalID NOT NULL,
ServicoSaudeID int
CONSTRAINT nn_ServicoSaudeID NOT NULL,
-- nn -> NOT NULL
CONSTRAINT PK_AtribuicaoHospitalServico
PRIMARY KEY (HospitalID, ServicoSaudeID), -- constraint type: primary key
CONSTRAINT FK_HospitalID FOREIGN KEY (HospitalID)
REFERENCES Hospital(HospitalID),
CONSTRAINT TK_ServicoSaudeID FOREIGN KEY (ServicoSaudeID)
REFERENCES ServicoSaude(ServicoSaudeID)
);
end |
<reponame>Toajmgh/springside4
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
drop table if exists ${tablePrefix}task;
drop table if exists ${tablePrefix}user;
create table ${tablePrefix}task (
id bigint auto_increment,
title varchar(128) not null,
description varchar(255),
user_id bigint not null,
primary key (id)
) engine=InnoDB;
create table ${tablePrefix}user (
id bigint auto_increment,
login_name varchar(64) not null unique,
name varchar(64) not null,
password varchar(255) not null,
salt varchar(64) not null,
roles varchar(255) not null,
register_date timestamp not null default 0,
primary key (id)
) engine=InnoDB; |
CREATE TABLE [dbo].[decimal_table] (
id BIGINT IDENTITY PRIMARY KEY NOT NULL,
[value] DECIMAL(18,2)
);
CREATE TABLE [dbo].[numeric_table] (
id BIGINT IDENTITY PRIMARY KEY NOT NULL,
[value] NUMERIC(18,2)
);
|
<reponame>SocialGouv/emjpm<filename>packages/hasura/migrations/default/1622879006250_alter_table_public_mandataire_tis_alter_column_mandataire_id/down.sql
alter table "public"."mandataire_tis" alter column "mandataire_id" drop not null;
|
/*
SQLyog Ultimate v11.33 (32 bit)
MySQL - 5.5.25a : Database - digigames
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`digigames` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `digigames`;
/*Table structure for table `comments` */
DROP TABLE IF EXISTS `comments`;
CREATE TABLE `comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`game_id` int(11) NOT NULL,
`comment` text NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
/*Data for the table `comments` */
insert into `comments`(`id`,`game_id`,`comment`,`date_created`,`created_by`) values (1,1,'amazing','2017-10-28 01:57:45','1'),(2,3,'cool','2017-10-26 01:57:48','1'),(3,1,'this is great !!','2017-10-03 01:57:51','2'),(4,3,'hello there','2017-10-28 06:19:36','2'),(5,4,'i like it','2017-10-28 06:26:25','1'),(6,1,'nice','2017-10-28 06:34:58','3');
/*Table structure for table `cover` */
DROP TABLE IF EXISTS `cover`;
CREATE TABLE `cover` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(200) NOT NULL,
`caption` varchar(200) DEFAULT NULL,
`image_link` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
/*Data for the table `cover` */
insert into `cover`(`id`,`title`,`caption`,`image_link`) values (1,'DESTINY 2','The Best Selling Game, find out why','assets/images/cover1.jpg'),(2,'NO MAN\'S SKY','Want a unique gameplay ? This has to be it','assets/images/cover2.jpg'),(3,'ASSASIN\'S CREED','The Adventure continues','assets/images/cover3.jpg');
/*Table structure for table `game` */
DROP TABLE IF EXISTS `game`;
CREATE TABLE `game` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(200) DEFAULT NULL,
`description` varchar(200) DEFAULT NULL,
`caption` varchar(100) DEFAULT NULL,
`genre` varchar(200) DEFAULT NULL,
`image_link` varchar(200) DEFAULT NULL,
`url` varchar(200) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
/*Data for the table `game` */
insert into `game`(`id`,`title`,`description`,`caption`,`genre`,`image_link`,`url`,`date_created`,`created_by`) values (1,'StarCraft 2','StarCraft 2 is a military science fiction real-time strategy video game developed and published by Blizzard Entertainment. It was released worldwide in July 2010 for Microsoft Windows and Mac OS X','The Biggest RTS community','Real Time Strategy','assets/images/box1.jpg','index.php?r=site%2Fdetail&id=1',NULL,NULL),(3,'Titanfall 2','Titanfall 2 is a first-person shooter video game developed by Respawn Entertainment and published by Electronic Arts. It is the sequel to 2014\'s Titanfall and was released worldwide on October 28, 201','The sequel of the best selling FPS game','First Person Shooting','assets/images/box2.jpg','index.php?r=site%2Fdetail&id=3',NULL,NULL),(4,'Angry Birds Seasons','Angry Birds Seasons is the second puzzle video game in the Angry Birds series, developed by Rovio Entertainment','The birds are still angry !','Arcade','assets/images/box3.jpg','index.php?r=site%2Fdetail&id=4',NULL,NULL);
/*Table structure for table `users` */
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id_user` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
`authKey` varchar(100) DEFAULT NULL,
`accessToken` varchar(100) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`email` varchar(50) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
PRIMARY KEY (`id_user`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
/*Data for the table `users` */
insert into `users`(`id_user`,`username`,`password`,`authKey`,`accessToken`,`first_name`,`last_name`,`email`,`date_created`) values (1,'ricky','<PASSWORD>52d234b70','YExKoVRkOR4-sdNn0ce1q3Y43EVDaaRi',NULL,'ricky','alexander',NULL,'2017-10-28 03:18:19'),(2,'alexander','202cb962ac59075b964b07152d234b70','YExKoVRkOR4-sdNn0ce1q3Y43EVDaaRi',NULL,'bevi','agustiani','','2017-10-28 03:18:19'),(3,'hermanto','202cb962ac59075b964b07152d234b70','tNtH4320Qm6wA8W5oTwNrOR_4upNly09',NULL,'hermanto','','','2017-10-28 06:31:03');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
BEGIN TRANSACTION;
CREATE TABLE "Account" (
"Id" VARCHAR(255) NOT NULL,
"Name" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Account" VALUES('0015600000Sl5b1AAB','Harrison Household');
INSERT INTO "Account" VALUES('0015600000Sl5b2AAB','van Hoop Household');
INSERT INTO "Account" VALUES('0015600000Sl5eqAAB','Regenstein Household');
INSERT INTO "Account" VALUES('0015600000Sl5erAAB','Mendoza Household');
INSERT INTO "Account" VALUES('0015600000Sl5esAAB','Fernandez Household');
CREATE TABLE "Campaign" (
"Id" VARCHAR(255) NOT NULL,
"IsActive" VARCHAR(255),
"Name" VARCHAR(255),
"Status" VARCHAR(255),
"StartDate" VARCHAR(255),
"EndDate" VARCHAR(255),
"Volunteer_Website_Time_Zone__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Campaign" VALUES('70156000002hjt6AAA','true','Dog Care at The Place for Pets','Planned','','','');
INSERT INTO "Campaign" VALUES('70156000002hjt7AAA','true','GC Product Webinar - Jan 7, 2002','Completed','2018-12-25','2018-12-25','');
INSERT INTO "Campaign" VALUES('70156000002hjt8AAA','true','User Conference - Jun 17-19, 2002','Planned','2019-06-04','2019-06-06','');
INSERT INTO "Campaign" VALUES('70156000002hjt9AAA','true','DM Campaign to Top Customers - Nov 12-23, 2001','Completed','2018-10-30','2018-11-10','');
INSERT INTO "Campaign" VALUES('70156000002hjtAAAQ','true','International Electrical Engineers Association Trade Show - Mar 4-5, 2002','Planned','2019-02-19','2019-02-20','');
INSERT INTO "Campaign" VALUES('70156000002hjtBAAQ','true','2nd Annual Aziz''s Chili Cookoff','Planned','2020-08-29','2020-08-29','');
CREATE TABLE "Contact" (
"Id" VARCHAR(255) NOT NULL,
"FirstName" VARCHAR(255),
"LastName" VARCHAR(255),
"Email" VARCHAR(255),
"Volunteer_Auto_Reminder_Email_Opt_Out__c" VARCHAR(255),
"Volunteer_Availability__c" VARCHAR(255),
"Volunteer_Last_Web_Signup_Date__c" VARCHAR(255),
"Volunteer_Manager_Notes__c" VARCHAR(255),
"Volunteer_Notes__c" VARCHAR(255),
"Volunteer_Organization__c" VARCHAR(255),
"Volunteer_Skills__c" VARCHAR(255),
"Volunteer_Status__c" VARCHAR(255),
"AccountId" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Contact" VALUES('0035600000TclMxAAJ','Elizabeth','Mendoza','<EMAIL>','false','','','','','','','Active','0015600000Sl5erAAB');
INSERT INTO "Contact" VALUES('0035600000TclMyAAJ','Jacob','<NAME>','<EMAIL>','false','','','','','','','Active','0015600000Sl5b2AAB');
INSERT INTO "Contact" VALUES('0035600000TclMzAAJ','Catherine','Harrison','<EMAIL>','false','','','','','','','Active','0015600000Sl5b1AAB');
INSERT INTO "Contact" VALUES('0035600000TclN0AAJ','Tamara','Harrison','<EMAIL>','false','','','','','','Fundraising;Event Planning','Active','0015600000Sl5b1AAB');
INSERT INTO "Contact" VALUES('0035600000TclN1AAJ','Hiroko','Fernandez','<EMAIL>','false','','','','','','','Active','0015600000Sl5esAAB');
INSERT INTO "Contact" VALUES('0035600000TclN2AAJ','Michael','Fernandez','<EMAIL>','false','','','','','','','Active','0015600000Sl5esAAB');
INSERT INTO "Contact" VALUES('0035600000TclN3AAJ','Aziz','Regenstein','<EMAIL>','false','','','','','','','Active','0015600000Sl5eqAAB');
CREATE TABLE "Job_Recurrence_Schedule__c" (
"Id" VARCHAR(255) NOT NULL,
"Days_of_Week__c" VARCHAR(255),
"Description__c" VARCHAR(255),
"Desired_Number_of_Volunteers__c" VARCHAR(255),
"Duration__c" VARCHAR(255),
"Schedule_End_Date__c" VARCHAR(255),
"Schedule_Start_Date_Time__c" VARCHAR(255),
"Weekly_Occurrence__c" VARCHAR(255),
"Volunteer_Job__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Job_Recurrence_Schedule__c" VALUES('a0056000004bMNSAA2','Monday;Tuesday;Wednesday;Thursday;Friday','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-31','2020-01-06T19:00:00.000Z','Every','a0356000003Krp9AAC');
INSERT INTO "Job_Recurrence_Schedule__c" VALUES('a0056000004bMNTAA2','Saturday','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-08-01','2020-01-04T15:00:00.000Z','Every','a0356000003KrpAAAS');
CREATE TABLE "Volunteer_Hours__c" (
"Id" VARCHAR(255) NOT NULL,
"Comments__c" VARCHAR(255),
"End_Date__c" VARCHAR(255),
"Hours_Worked__c" VARCHAR(255),
"Number_of_Volunteers__c" VARCHAR(255),
"Planned_Start_Date_Time__c" VARCHAR(255),
"Start_Date__c" VARCHAR(255),
"Status__c" VARCHAR(255),
"System_Note__c" VARCHAR(255),
"Contact__c" VARCHAR(255),
"Volunteer_Job__c" VARCHAR(255),
"Volunteer_Recurrence_Schedule__c" VARCHAR(255),
"Volunteer_Shift__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Volunteer_Hours__c" VALUES('a0256000004UmHKAA0','','2019-08-24','2.0','1.0','2019-08-24T17:00:00.000Z','2019-08-24','Confirmed','','0035600000TclMyAAJ','a0356000003KrpGAAS','','a055600000A06dDAAR');
INSERT INTO "Volunteer_Hours__c" VALUES('a0256000004UmHLAA0','','2019-08-24','2.0','1.0','2019-08-24T17:00:00.000Z','2019-08-24','Confirmed','','0035600000TclN2AAJ','a0356000003KrpGAAS','','a055600000A06dDAAR');
INSERT INTO "Volunteer_Hours__c" VALUES('a0256000004UmHMAA0','','2019-08-24','2.0','1.0','2019-08-24T17:00:00.000Z','2019-08-24','Confirmed','','0035600000TclN1AAJ','a0356000003KrpGAAS','','a055600000A06dDAAR');
INSERT INTO "Volunteer_Hours__c" VALUES('a0256000004UmHNAA0','','2019-08-24','5.0','1.0','2019-08-24T19:00:00.000Z','2019-08-24','Confirmed','','0035600000TclN3AAJ','a0356000003KrpFAAS','','a055600000A06dCAAR');
CREATE TABLE "Volunteer_Job__c" (
"Id" VARCHAR(255) NOT NULL,
"Description__c" VARCHAR(255),
"Display_on_Website__c" VARCHAR(255),
"External_Signup_Url__c" VARCHAR(255),
"Inactive__c" VARCHAR(255),
"Location_City__c" VARCHAR(255),
"Location_Information__c" VARCHAR(255),
"Location_Street__c" VARCHAR(255),
"Location_Zip_Postal_Code__c" VARCHAR(255),
"Location__c" VARCHAR(255),
"Name" VARCHAR(255),
"Ongoing__c" VARCHAR(255),
"Skills_Needed__c" VARCHAR(255),
"Volunteer_Website_Time_Zone__c" VARCHAR(255),
"Campaign__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003Krp9AAC','<p>Take the puppers of The Place for Pets for a midday walk!</p>','true','','false','','','','','','Lunchtime Dog Walking','false','','','70156000002hjt6AAA');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpAAAS','<p>Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!</p>','true','','false','','','','','','Weekly Kennel Cleaning','false','Manual Labor','','70156000002hjt6AAA');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpBAAS','<p>Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.</p>','false','','false','','','','','','Puppy Playtime','false','','','70156000002hjt6AAA');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpCAAS','','true','','false','','','','','','Foster Care for Small Dogs','false','','','70156000002hjt6AAA');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpDAAS','','true','','false','','','','','','Foster Care for Large Dogs','false','','','70156000002hjt6AAA');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpEAAS','<p>Spread the word about the 2nd Annual Aziz's Chili Cookoff, and help us make this year's event our biggest and best yet!</p>','true','','false','','','','','','Distribute Flyers for the Chili Cookoff','false','Marketing','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpFAAS','<p>Feed all the animal lovers at our 2nd Annual Aziz's Chili Cookoff, and get the chance to win chili glory!</p>','false','','false','','','','','','Chili Cooks','false','','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpGAAS','<p>Help prepare for our chili cookoff and get free entry to the day!</p>','true','','false','','','','','','Setup Crew','false','Manual Labor','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpHAAS','<p>Who made the best chili of the 2nd Annual Aziz's Chili Cookoff? You get to help us decide as one of our esteemed judges!</p>','false','','false','','','','','','Chili Judges','false','','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpIAAS','<p>Enjoy fun treats while helping us break down after a rockin' chili cookoff!</p>','true','','false','','','','','','Cleanup Crew','false','Manual Labor','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpJAAS','','true','','false','','','','','','Recruit Chili Cooks','false','','','70156000002hjtBAAQ');
INSERT INTO "Volunteer_Job__c" VALUES('a0356000003KrpKAAS','','true','','false','','','','','','Quality Entertainment','false','','','70156000002hjtBAAQ');
CREATE TABLE "Volunteer_Recurrence_Schedule__c" (
"Id" VARCHAR(255) NOT NULL,
"Comments__c" VARCHAR(255),
"Days_of_Week__c" VARCHAR(255),
"Duration__c" VARCHAR(255),
"Number_of_Volunteers__c" VARCHAR(255),
"Schedule_End_Date__c" VARCHAR(255),
"Schedule_Start_Date_Time__c" VARCHAR(255),
"Volunteer_Hours_Status__c" VARCHAR(255),
"Weekly_Occurrence__c" VARCHAR(255),
"Contact__c" VARCHAR(255),
"Volunteer_Job__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
CREATE TABLE "Volunteer_Shift__c" (
"Id" VARCHAR(255) NOT NULL,
"Description__c" VARCHAR(255),
"Desired_Number_of_Volunteers__c" VARCHAR(255),
"Duration__c" VARCHAR(255),
"Start_Date_Time__c" VARCHAR(255),
"System_Note__c" VARCHAR(255),
"Total_Volunteers__c" VARCHAR(255),
"Job_Recurrence_Schedule__c" VARCHAR(255),
"Volunteer_Job__c" VARCHAR(255),
PRIMARY KEY ("Id")
);
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WgAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WhAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WiAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WjAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WkAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WlAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WmAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WnAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WoAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WpAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WqAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WrAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WsAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WtAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WuAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WvAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WwAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X0AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X1AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bgAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-02-22T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bhAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-02-29T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06biAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-03-07T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bjAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-03-14T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bkAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-03-21T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06blAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-03-28T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bmAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-04-04T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bnAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-04-11T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06boAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-04-18T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bpAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-04-25T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bqAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-05-02T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06brAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-05-09T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bsAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-05-16T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06btAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-05-23T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06buAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-05-30T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bvAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-06-06T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bwAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-06-13T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bxAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-06-20T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06byAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-06-27T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bzAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-07-04T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c0AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-07-11T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X2AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X3AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X4AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X5AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X6AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X7AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X8AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06X9AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XAAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c1AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-07-18T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c2AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-07-25T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c3AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-08-01T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c4AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-08-08T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c5AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-08-15T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c6AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-08-22T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c7AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-08-29T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c8AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-09-05T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06c9AAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-09-12T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cAAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-09-19T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cBAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-09-26T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cCAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-10-03T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cDAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-10-10T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cEAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-10-17T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cFAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-10-24T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cGAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-10-31T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cHAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-11-07T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cIAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-11-14T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cJAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-11-21T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cKAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-11-28T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cLAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-12-05T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cMAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-12-12T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cNAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-12-19T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cOAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-12-26T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cPAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-01-02T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cQAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-01-09T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cRAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-01-16T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cSAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-01-23T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cTAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-01-30T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cUAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-02-06T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cVAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-02-13T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cWAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-02-20T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cXAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-02-27T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cYAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-03-06T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cZAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-03-13T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06caAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-03-20T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cbAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-03-27T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ccAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-04-03T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cdAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-04-10T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ceAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-04-17T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cfAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-04-24T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cgAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-05-01T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XBAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XCAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XDAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XEAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XFAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XGAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XHAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XIAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XJAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XKAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06chAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-05-08T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ciAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-05-15T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cjAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-05-22T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ckAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-05-29T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06clAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-06-05T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cmAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-06-12T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cnAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-06-19T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06coAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-06-26T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cpAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-07-03T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cqAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-07-10T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06crAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-07-17T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06csAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-07-24T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ctAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2021-07-31T14:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XLAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XMAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-07-31T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XNAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XOAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XPAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XQAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XRAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XSAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XTAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XUAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XVAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XWAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XXAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XYAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XZAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XaAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XbAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XcAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XdAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XeAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XfAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XgAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XhAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-08-31T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XiAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XjAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XkAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XlAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XmAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XnAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XoAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XpAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XqAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XrAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XsAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XtAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XuAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XvAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XwAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06XzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y0AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y1AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y2AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y3AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-09-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y4AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y5AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y6AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y7AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y8AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Y9AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YAAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YBAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YCAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YDAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YEAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YFAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YGAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YHAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YIAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YJAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YKAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YLAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YMAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YNAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YOAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YPAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-10-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YQAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-02T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YRAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YSAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YTAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YUAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-06T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YVAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-09T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YWAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YXAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YYAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-12T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YZAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-13T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YaAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-16T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YbAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-17T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YcAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-18T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YdAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-19T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YeAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-20T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YfAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-23T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YgAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-24T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YhAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-25T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YiAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-26T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YjAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-27T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YkAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-11-30T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YlAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-01T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YmAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-02T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YnAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YoAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YpAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-07T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YqAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-08T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YrAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-09T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YsAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YtAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YuAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-14T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YvAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-15T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YwAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-16T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-17T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-18T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06YzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-21T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z0AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-22T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z1AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-23T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z2AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-24T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z3AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-25T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z4AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-28T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z5AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-29T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z6AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-30T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z7AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-12-31T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z8AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-01T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06Z9AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZAAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZBAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-06T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZCAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-07T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZDAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-08T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZEAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZFAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-12T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZGAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-13T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZHAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-14T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZIAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-15T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZJAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-18T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZKAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-19T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZLAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-20T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZMAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-21T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZNAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-22T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZOAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-25T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZPAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-26T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZQAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-27T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZRAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-28T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZSAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-01-29T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZTAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-01T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZUAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-02T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZVAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZWAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZXAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZYAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-08T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZZAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-09T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZaAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZbAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZcAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-12T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZdAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-15T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZeAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-16T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZfAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-17T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZgAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-18T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZhAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-19T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZiAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-22T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZjAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-23T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZkAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-24T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZlAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-25T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZmAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-02-26T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZnAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-01T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZoAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-02T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZpAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZqAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06UxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-06T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06UyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-07T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06UzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-08T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V0AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-09T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V1AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V2AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-13T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V3AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-14T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V4AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-15T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V5AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-16T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V6AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-17T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V7AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-20T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V8AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-21T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06V9AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-22T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VAAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-23T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VBAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-24T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VCAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-27T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VDAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-28T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VEAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-29T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VFAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-30T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZrAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZsAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-08T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZtAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-09T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZuAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZvAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZwAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-12T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ZzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a0AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a1AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a2AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a3AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a4AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a5AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a6AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a7AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a8AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06a9AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-03-31T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aAAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aBAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aCAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aDAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VGAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-01-31T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VHAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VIAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VJAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VKAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-06T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VLAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-07T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VMAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-10T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VNAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-11T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VOAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-12T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VPAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-13T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VQAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-14T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VRAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-17T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VSAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-18T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VTAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-19T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VUAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-20T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VVAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-21T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VWAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-24T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VXAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-25T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VYAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-26T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VZAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-27T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VaAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-02-28T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VbAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-02T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aEAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aFAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aGAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aHAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aIAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aJAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aKAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aLAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aMAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aNAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aOAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aPAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aQAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aRAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aSAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aTAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aUAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aVAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-04-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aWAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aXAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aYAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aZAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VfAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-06T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VgAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VhAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ViAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VjAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VkAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VlAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VmAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VnAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VoAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VpAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VqAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VrAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VsAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VtAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VcAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-03T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VdAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-04T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VeAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-05T19:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VuAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VvAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VwAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-03-31T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VxAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aaAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06abAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06acAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06adAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aeAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06afAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06agAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ahAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aiAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ajAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06akAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06alAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06amAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06anAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aoAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06apAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06aqAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-05-31T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06arAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06asAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06atAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06auAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06avAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06awAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VyAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06VzAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-03T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W0AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W1AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W2AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W3AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W4AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W5AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W6AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W7AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W8AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06W9AAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WAAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WBAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WCAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WDAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WEAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WFAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WGAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WHAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WIAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-04-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WJAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06axAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06ayAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-10T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06azAAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b0AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b1AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b2AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b3AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-17T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b4AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b5AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b6AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b7AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b8AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-24T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06b9AAB','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bAAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bBAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bCAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-06-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bDAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bEAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bFAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bGAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bHAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bIAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bJAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-09T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WKAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-04T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WLAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-05T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WMAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-06T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WNAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-07T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WOAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-08T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WPAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-11T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WQAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WRAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WSAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WTAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WUAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-18T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WVAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WWAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WXAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WYAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WZAAZ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-25T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WaAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WbAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WcAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WdAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-05-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WeAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-01T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06WfAAJ','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2020-06-02T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bKAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-12T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bLAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-13T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bMAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-14T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bNAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-15T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bOAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-16T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bPAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-19T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bQAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-20T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bRAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-21T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bSAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-22T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bTAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-23T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bUAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-26T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bVAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-27T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bWAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-28T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bXAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-29T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bYAAR','Take the puppers of The Place for Pets for a midday walk!','5.0','1.0','2021-07-30T18:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00000.','','a0056000004bMNSAA2','a0356000003Krp9AAC');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bZAAR','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-01-04T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06baAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-01-11T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bbAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-01-18T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bcAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-01-25T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bdAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-02-01T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06beAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-02-08T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06bfAAB','Keep the kennels of The Place for Pets clean and cozy for our adoptable dogs!','10.0','2.0','2020-02-15T15:00:00.000Z','Auto-created for Job Recurrence Schedule: JRS-00001.','','a0056000004bMNTAA2','a0356000003KrpAAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d9AAB','','4.0','1.0','2019-08-03T22:00:00.000Z','','','','a0356000003KrpEAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dAAAR','','4.0','1.0','2019-08-10T22:00:00.000Z','','','','a0356000003KrpEAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dBAAR','','4.0','1.0','2019-08-17T22:00:00.000Z','','','','a0356000003KrpEAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dCAAR','','30.0','5.0','2019-08-24T19:00:00.000Z','','2.0','','a0356000003KrpFAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dDAAR','','10.0','2.0','2019-08-24T17:00:00.000Z','','3.0','','a0356000003KrpGAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dEAAR','','12.0','2.0','2019-08-25T01:00:00.000Z','','','','a0356000003KrpIAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06dFAAR','','5.0','2.0','2019-08-24T23:00:00.000Z','','','','a0356000003KrpHAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cuAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-03-15T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cvAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-12-15T18:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cwAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-10-20T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cxAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-05-17T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d2AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-08-18T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d3AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-01-19T18:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d4AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-06-21T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06cyAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-02-16T18:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06czAAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-04-19T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d0AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-09-15T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d1AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-11-17T18:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d5AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2020-07-19T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d6AAB','Help us get our puppies ready for their new forever homes with socialization, snuggles, and positive reinforcement.','3.0','1.0','2019-07-21T17:00:00.000Z','','','','a0356000003KrpBAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d7AAB','','4.0','1.0','2019-07-27T22:00:00.000Z','','','','a0356000003KrpEAAS');
INSERT INTO "Volunteer_Shift__c" VALUES('a055600000A06d8AAB','','4.0','1.0','2019-07-20T22:00:00.000Z','','','','a0356000003KrpEAAS');
COMMIT;
|
<reponame>cheburan/api-server<gh_stars>1-10
WITH v AS(
SELECT (SELECT id FROM locales WHERE id={locale_id}) as locale_id
), t AS(
SELECT v.locale_id, id, description, local_description
FROM v CROSS JOIN food_groups
LEFT JOIN food_groups_local ON food_groups_local.food_group_id = food_groups.id AND food_groups_local.locale_id=v.locale_id
)
SELECT locale_id, id, description, local_description FROM t
UNION ALL
SELECT v.locale_id, NULL, NULL, NULL FROM v WHERE NOT EXISTS (SELECT 1 FROM t LIMIT 1) |
DROP TABLE IF EXISTS zipcode_data;
CREATE TABLE zipcode_data (
zip text,
type TEXT,
decommissioned text,
primary_city text,
acceptable_cities text,
unacceptable_cities text,
state text,
county text,
timezone text,
area_codes text,
world_region text,
country text,
latitude text,
longitude text,
irs_estimated_population_2015 text
);
SELECT
aws_s3.table_import_from_s3 ( --
'zipcode_data', --
'', --
'(format csv)', --
aws_commons.create_s3_uri ( --
'save-all-the-pets', --
'zip_code_database.csv', --
'us-east-1'));
DROP TABLE IF EXISTS shelter_data.zipcode_data;
ALTER TABLE zipcode_data SET SCHEMA shelter_data;
grant usage on schema shelter_data to group data_users;
grant select on all tables in schema shelter_data to group data_users;
|
-- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 03 Jun 2018 pada 08.42
-- Versi Server: 10.1.21-MariaDB
-- PHP Version: 7.1.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `anjing`
--
CREATE DATABASE IF NOT EXISTS `anjing` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `anjing`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1508901104),
('m171024_135904_create_users', 1508901112),
('m171025_023745_create_pets_table', 1508901112);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pets`
--
CREATE TABLE `pets` (
`id` int(11) NOT NULL,
`name` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pets`
--
INSERT INTO `pets` (`id`, `name`) VALUES
(1, 'asu');
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`username` varchar(255) NOT NULL,
`authKey` varchar(32) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`accessToken` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id`, `username`, `authKey`, `password`, `email`, `accessToken`) VALUES
(1, 'kontlo', '', '<PASSWORD>', '<EMAIL>', '<PASSWORD>');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- Indexes for table `pets`
--
ALTER TABLE `pets`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `pets`
--
ALTER TABLE `pets`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;--
-- Database: `bukutamu`
--
CREATE DATABASE IF NOT EXISTS `bukutamu` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `bukutamu`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `test`
--
CREATE TABLE `test` (
`id` int(11) NOT NULL,
`nama` text NOT NULL,
`alamat` varchar(100) NOT NULL,
`notelp` int(12) NOT NULL,
`password` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `test`
--
ALTER TABLE `test`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `test`
--
ALTER TABLE `test`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;--
-- Database: `db_tandur`
--
CREATE DATABASE IF NOT EXISTS `db_tandur` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `db_tandur`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `ency_tandur`
--
CREATE TABLE `ency_tandur` (
`ency_id` int(10) NOT NULL,
`ency_nama` varchar(30) NOT NULL,
`ency_latin` varchar(30) NOT NULL,
`ency_info` varchar(20000) NOT NULL,
`ency_image` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `ency_tandur`
--
INSERT INTO `ency_tandur` (`ency_id`, `ency_nama`, `ency_latin`, `ency_info`, `ency_image`) VALUES
(1, 'Anggrek Bulan', 'Phalaenopsis amabilis', 'Anggrek Bulan (Phalaenopsis amabilis) atau puspa pesona adalah salah satu bunga nasional Indonesia. Pertama kali ditemukan oleh seorang ahli botani Belanda, Dr. C.L. Blume.\r\nTanaman anggrek ini tersebar luas mulai dari Malaysia, Indonesia, Filipina, Papua, hingga ke Australia. Cara hidupnya secara epifit dengan menempel pada batang atau cabang pohon di hutan-hutan dan tumbuh subur hingga 600 meter di atas permukaan laut.\r\nAnggrek bulan termasuk dalam tanaman anggrek monopodial yang menyukai sedikit cahaya matahari sebagai penunjang hidupnya. Daunnya berwarna hijau dengan bentuk memanjang. Akar-akarnya berwarna putih dan berbentuk bulat memanjang serta terasa berdaging. Bunganya memiliki sedikit keharuman dan waktu mekar yang lama serta dapat tumbuh hingga diameter 10 cm lebih.', 'image_ency/anggrekbulan.jpg'),
(2, 'Anggrek Hitam', 'Coelogyne pandurata', 'Anggrek hitam (Coelogyne pandurata) adalah spesies anggrek yang tumbuh di Semenanjung Malaya, Kalimantan, dan Sumatera. Anggrek hitam adalah maskot flora provinsi Kalimantan Timur. Saat ini, habitat asli anggrek hitam mengalami penurunan jumlah yang cukup besar karena semakin menyusutnya luas hutan di Kalimantan namun masih bisa ditemukan di cagar alam Kersik Luway dalam jumlah yang sedikit. Diperkirakan jumlah yang lebih banyak berada di tangan para kolektor anggrek.\r\nDinamakan anggrek hitam karena anggrek ini memiliki lidah (labellum)berwarna hitam dengan sedikit garis-garis berwarna hijau dan berbulu. Sepal dan petal berwarna hijau muda. Bunganya cukup harum semerbak dan biasa mekar pada bulan Maret hingga Juni.\r\nAnggrek hitam termasuk dalam anggrek golongan simpodial dengan bentuk bulb membengkak pada bagian bawah dan daun terjulur di atasnya. Setiap bulb hanya memiliki dua lembar daun saja. Daunnya sendiri sekilas mirip seperti daun pada tunas kelapa muda.', 'image_ency/anggrekhitam.jpg'),
(3, '<NAME>', 'Grammatophyllum speciosum', '', 'image_ency/anggrektebu.jpg'),
(4, '<NAME>', 'Amorphpophallus titanium', '', 'image_ency/bungabangkai.jpg'),
(5, '<NAME>', '<NAME>', '', 'image_ency/cempakaputih.jpg'),
(6, '<NAME>', '<NAME>', '', 'image_ency/cempakakuning.jpg'),
(7, '<NAME>', 'Magnolia coco', '', 'image_ency/cempakatelor.jpg'),
(8, '<NAME>', 'Anaphalis javanica', '', 'image_ency/edelweisjawa.jpg'),
(9, 'Kenanga', 'Cananga odorata', '', 'image_ency/kenanga.jpg'),
(10, '<NAME>', 'Jasminum pubescens', '', 'image_ency/melatigambir.jpg'),
(11, '<NAME>', 'Jasminus sambac', '', 'image_ency/melatiputih.jpg'),
(12, 'Nibung', 'Oncosperma tigillarium', '', 'image_ency/nibung.jpg');
-- --------------------------------------------------------
--
-- Struktur dari tabel `shop_tandur`
--
CREATE TABLE `shop_tandur` (
`shop_id` int(11) NOT NULL,
`shop_nama` varchar(40) NOT NULL,
`shop_alamat` varchar(120) NOT NULL,
`shop_info` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `shop_tandur`
--
INSERT INTO `shop_tandur` (`shop_id`, `shop_nama`, `shop_alamat`, `shop_info`) VALUES
(1, 'Garage Sale Kemang', 'Jl.Niaga Raya Blok Q No.11 ,Kemang Pratama,Bekasi (17116), Bekasi, Bekasi, Indonesia', ''),
(2, 'CV. <NAME>', 'Jalan Raya Patung Bogor, Bogor, Indonesia', ''),
(3, '<NAME>', 'Jl. Taman Safari Indonesia, Desa Cibeureum, Bogor, Bogor, Indonesia', 'Bonsai'),
(4, '<NAME>', 'Jln Kebandungan 1 No 54 RT 04/05, Kel. Sirnagalih. Kec. Taman Sari KABUPATEN BOGOR/ JAWA BARAT, Bogor, Bogor, Indonesia', 'Bibit Pala, Palem Bismarkia, Bibit Tanaman, Benih Tanaman, Pohon Palem Washingtonia, Pohon Mahoni'),
(5, 'CV. Dipokusumo', 'Rasamala A4 Semarang Kota 50189 Jawa Tengah, Semarang, Jawa Tengah, Indonesia', 'Bibit Tanaman, Bibit Buah'),
(6, '<NAME>', 'Pusat Tanaman Hias Jababeka Kav.9 Simprug Garden, Cikarang Baru, Bekasi, Bekasi, Indonesia', 'Aneka Tanaman Hias, Pucuk Merah, Anthurium, Tanaman Buah, Rumput, Gajah Min'),
(7, 'Toko 2 <NAME>sery', 'JL Zaenal Zakse No 10, Sukabumi, Jawa Barat, Indonesia', 'Anggrek Vanda, Anggrek Rhyncostylus, Dendrobium, Cattelya'),
(8, 'Sentosa Florist & Nursery', 'Jl. Proklamator no 401 Yukum Jaya, Bandar Jaya, lampung Tengah, Lampung Tengah, Lampung, Indonesia', 'Aster, Mawar, Krisan, Anggrek, Aglaonema, Anthurium, Dll');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `ency_tandur`
--
ALTER TABLE `ency_tandur`
ADD PRIMARY KEY (`ency_id`);
--
-- Indexes for table `shop_tandur`
--
ALTER TABLE `shop_tandur`
ADD PRIMARY KEY (`shop_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `ency_tandur`
--
ALTER TABLE `ency_tandur`
MODIFY `ency_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `shop_tandur`
--
ALTER TABLE `shop_tandur`
MODIFY `shop_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;--
-- Database: `nikah`
--
CREATE DATABASE IF NOT EXISTS `nikah` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `nikah`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `ket_asal`
--
CREATE TABLE `ket_asal` (
`id` int(11) NOT NULL,
`nama` char(100) NOT NULL,
`ttl` varchar(100) NOT NULL,
`warga` char(100) NOT NULL,
`agama` char(100) NOT NULL,
`pekerjaan` char(100) NOT NULL,
`tmpt_tinggal` varchar(100) NOT NULL,
`nama_ayah` char(100) NOT NULL,
`ttl_ayah` varchar(100) NOT NULL,
`warga_ayah` char(100) NOT NULL,
`kerja_ayah` char(100) NOT NULL,
`tmpt_tinggal_ayah` char(100) NOT NULL,
`nama_ibu` char(100) NOT NULL,
`ttl_ibu` varchar(100) NOT NULL,
`warga_ibu` char(100) NOT NULL,
`agama_ibu` char(100) NOT NULL,
`kerja_ibu` char(100) NOT NULL,
`tmpt_tinggal_ibu` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `ket_nikah`
--
CREATE TABLE `ket_nikah` (
`id` int(11) NOT NULL,
`nama` varchar(100) NOT NULL,
`ttl` varchar(100) NOT NULL,
`warga` char(100) NOT NULL,
`agama` char(100) NOT NULL,
`pekerjaan` char(100) NOT NULL,
`tmpt_tinggal` varchar(100) NOT NULL,
`bin_binti` char(100) NOT NULL,
`status_pria` char(100) NOT NULL,
`status_wanita` char(100) NOT NULL,
`nama_dahulu` char(100) NOT NULL,
`kelurahan` char(100) NOT NULL,
`kecamatan` char(100) NOT NULL,
`kabupaten` char(100) NOT NULL,
`kota` char(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `setuju_mempelai`
--
CREATE TABLE `setuju_mempelai` (
`id` int(11) NOT NULL,
`nama_suami` char(100) NOT NULL,
`bin` char(100) NOT NULL,
`ttl_suami` varchar(100) NOT NULL,
`warga_suami` char(100) NOT NULL,
`agama_suami` char(100) NOT NULL,
`kerja_suami` char(100) NOT NULL,
`tmpt_tinggal_suami` char(100) NOT NULL,
`nama_istri` char(100) NOT NULL,
`binti` char(100) NOT NULL,
`ttl_istri` varchar(100) NOT NULL,
`warga_istri` char(100) NOT NULL,
`agama_istri` char(100) NOT NULL,
`kerja_istri` char(100) NOT NULL,
`tmpt_tinggal_istri` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `ket_asal`
--
ALTER TABLE `ket_asal`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `ket_nikah`
--
ALTER TABLE `ket_nikah`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `setuju_mempelai`
--
ALTER TABLE `setuju_mempelai`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `ket_asal`
--
ALTER TABLE `ket_asal`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ket_nikah`
--
ALTER TABLE `ket_nikah`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `setuju_mempelai`
--
ALTER TABLE `setuju_mempelai`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;--
-- Database: `phpmyadmin`
--
CREATE DATABASE IF NOT EXISTS `phpmyadmin` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE `phpmyadmin`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__bookmark`
--
CREATE TABLE `pma__bookmark` (
`id` int(11) NOT NULL,
`dbase` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`user` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`label` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`query` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Bookmarks';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__central_columns`
--
CREATE TABLE `pma__central_columns` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`col_name` varchar(64) COLLATE utf8_bin NOT NULL,
`col_type` varchar(64) COLLATE utf8_bin NOT NULL,
`col_length` text COLLATE utf8_bin,
`col_collation` varchar(64) COLLATE utf8_bin NOT NULL,
`col_isNull` tinyint(1) NOT NULL,
`col_extra` varchar(255) COLLATE utf8_bin DEFAULT '',
`col_default` text COLLATE utf8_bin
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Central list of columns';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__column_info`
--
CREATE TABLE `pma__column_info` (
`id` int(5) UNSIGNED NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`column_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`comment` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`mimetype` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`transformation` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`transformation_options` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`input_transformation` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`input_transformation_options` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Column information for phpMyAdmin';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__designer_settings`
--
CREATE TABLE `pma__designer_settings` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`settings_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Settings related to Designer';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__export_templates`
--
CREATE TABLE `pma__export_templates` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`export_type` varchar(10) COLLATE utf8_bin NOT NULL,
`template_name` varchar(64) COLLATE utf8_bin NOT NULL,
`template_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved export templates';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__favorite`
--
CREATE TABLE `pma__favorite` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`tables` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Favorite tables';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__history`
--
CREATE TABLE `pma__history` (
`id` bigint(20) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`timevalue` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`sqlquery` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='SQL history for phpMyAdmin';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__navigationhiding`
--
CREATE TABLE `pma__navigationhiding` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`item_name` varchar(64) COLLATE utf8_bin NOT NULL,
`item_type` varchar(64) COLLATE utf8_bin NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Hidden items of navigation tree';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__pdf_pages`
--
CREATE TABLE `pma__pdf_pages` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`page_nr` int(10) UNSIGNED NOT NULL,
`page_descr` varchar(50) CHARACTER SET utf8 NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='PDF relation pages for phpMyAdmin';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__recent`
--
CREATE TABLE `pma__recent` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`tables` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Recently accessed tables';
--
-- Dumping data untuk tabel `pma__recent`
--
INSERT INTO `pma__recent` (`username`, `tables`) VALUES
('root', '[{\"db\":\"db_mahasiswa\",\"table\":\"tbl_user\"},{\"db\":\"db_tandur\",\"table\":\"ency_tandur\"},{\"db\":\"db_tandur\",\"table\":\"shop_tandur\"},{\"db\":\"bukutamu\",\"table\":\"test\"},{\"db\":\"nikah\",\"table\":\"ket_nikah\"},{\"db\":\"nikah\",\"table\":\"setuju_mempelai\"},{\"db\":\"nikah\",\"table\":\"ket_asal\"},{\"db\":\"yii2advanced\",\"table\":\"useraccount\"},{\"db\":\"anjing\",\"table\":\"users\"},{\"db\":\"yii2advanced\",\"table\":\"user\"}]');
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__relation`
--
CREATE TABLE `pma__relation` (
`master_db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`master_table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`master_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Relation table';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__savedsearches`
--
CREATE TABLE `pma__savedsearches` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`search_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`search_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved searches';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__table_coords`
--
CREATE TABLE `pma__table_coords` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`pdf_page_number` int(11) NOT NULL DEFAULT '0',
`x` float UNSIGNED NOT NULL DEFAULT '0',
`y` float UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table coordinates for phpMyAdmin PDF output';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__table_info`
--
CREATE TABLE `pma__table_info` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`display_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table information for phpMyAdmin';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__table_uiprefs`
--
CREATE TABLE `pma__table_uiprefs` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL,
`prefs` text COLLATE utf8_bin NOT NULL,
`last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Tables'' UI preferences';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__tracking`
--
CREATE TABLE `pma__tracking` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL,
`version` int(10) UNSIGNED NOT NULL,
`date_created` datetime NOT NULL,
`date_updated` datetime NOT NULL,
`schema_snapshot` text COLLATE utf8_bin NOT NULL,
`schema_sql` text COLLATE utf8_bin,
`data_sql` longtext COLLATE utf8_bin,
`tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') COLLATE utf8_bin DEFAULT NULL,
`tracking_active` int(1) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Database changes tracking for phpMyAdmin';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__userconfig`
--
CREATE TABLE `pma__userconfig` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`timevalue` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`config_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User preferences storage for phpMyAdmin';
--
-- Dumping data untuk tabel `pma__userconfig`
--
INSERT INTO `pma__userconfig` (`username`, `timevalue`, `config_data`) VALUES
('root', '2017-10-04 06:04:38', '{\"lang\":\"id\",\"collation_connection\":\"utf8mb4_unicode_ci\"}');
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__usergroups`
--
CREATE TABLE `pma__usergroups` (
`usergroup` varchar(64) COLLATE utf8_bin NOT NULL,
`tab` varchar(64) COLLATE utf8_bin NOT NULL,
`allowed` enum('Y','N') COLLATE utf8_bin NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User groups with configured menu items';
-- --------------------------------------------------------
--
-- Struktur dari tabel `pma__users`
--
CREATE TABLE `pma__users` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`usergroup` varchar(64) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users and their assignments to user groups';
--
-- Indexes for dumped tables
--
--
-- Indexes for table `pma__bookmark`
--
ALTER TABLE `pma__bookmark`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pma__central_columns`
--
ALTER TABLE `pma__central_columns`
ADD PRIMARY KEY (`db_name`,`col_name`);
--
-- Indexes for table `pma__column_info`
--
ALTER TABLE `pma__column_info`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `db_name` (`db_name`,`table_name`,`column_name`);
--
-- Indexes for table `pma__designer_settings`
--
ALTER TABLE `pma__designer_settings`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__export_templates`
--
ALTER TABLE `pma__export_templates`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `u_user_type_template` (`username`,`export_type`,`template_name`);
--
-- Indexes for table `pma__favorite`
--
ALTER TABLE `pma__favorite`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__history`
--
ALTER TABLE `pma__history`
ADD PRIMARY KEY (`id`),
ADD KEY `username` (`username`,`db`,`table`,`timevalue`);
--
-- Indexes for table `pma__navigationhiding`
--
ALTER TABLE `pma__navigationhiding`
ADD PRIMARY KEY (`username`,`item_name`,`item_type`,`db_name`,`table_name`);
--
-- Indexes for table `pma__pdf_pages`
--
ALTER TABLE `pma__pdf_pages`
ADD PRIMARY KEY (`page_nr`),
ADD KEY `db_name` (`db_name`);
--
-- Indexes for table `pma__recent`
--
ALTER TABLE `pma__recent`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__relation`
--
ALTER TABLE `pma__relation`
ADD PRIMARY KEY (`master_db`,`master_table`,`master_field`),
ADD KEY `foreign_field` (`foreign_db`,`foreign_table`);
--
-- Indexes for table `pma__savedsearches`
--
ALTER TABLE `pma__savedsearches`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `u_savedsearches_username_dbname` (`username`,`db_name`,`search_name`);
--
-- Indexes for table `pma__table_coords`
--
ALTER TABLE `pma__table_coords`
ADD PRIMARY KEY (`db_name`,`table_name`,`pdf_page_number`);
--
-- Indexes for table `pma__table_info`
--
ALTER TABLE `pma__table_info`
ADD PRIMARY KEY (`db_name`,`table_name`);
--
-- Indexes for table `pma__table_uiprefs`
--
ALTER TABLE `pma__table_uiprefs`
ADD PRIMARY KEY (`username`,`db_name`,`table_name`);
--
-- Indexes for table `pma__tracking`
--
ALTER TABLE `pma__tracking`
ADD PRIMARY KEY (`db_name`,`table_name`,`version`);
--
-- Indexes for table `pma__userconfig`
--
ALTER TABLE `pma__userconfig`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__usergroups`
--
ALTER TABLE `pma__usergroups`
ADD PRIMARY KEY (`usergroup`,`tab`,`allowed`);
--
-- Indexes for table `pma__users`
--
ALTER TABLE `pma__users`
ADD PRIMARY KEY (`username`,`usergroup`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `pma__bookmark`
--
ALTER TABLE `pma__bookmark`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__column_info`
--
ALTER TABLE `pma__column_info`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__export_templates`
--
ALTER TABLE `pma__export_templates`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__history`
--
ALTER TABLE `pma__history`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__pdf_pages`
--
ALTER TABLE `pma__pdf_pages`
MODIFY `page_nr` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__savedsearches`
--
ALTER TABLE `pma__savedsearches`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT;--
-- Database: `test`
--
CREATE DATABASE IF NOT EXISTS `test` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `test`;
--
-- Database: `yii2advanced`
--
CREATE DATABASE IF NOT EXISTS `yii2advanced` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `yii2advanced`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `encyclopedia`
--
CREATE TABLE `encyclopedia` (
`id_pedia` int(11) NOT NULL,
`name_pedia` varchar(250) NOT NULL,
`category` varchar(250) NOT NULL,
`article` text NOT NULL,
`ph_pedia` double NOT NULL,
`temp_pedia` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `encyclopedia`
--
INSERT INTO `encyclopedia` (`id_pedia`, `name_pedia`, `category`, `article`, `ph_pedia`, `temp_pedia`) VALUES
(2, 'Tanaman Jambu', 'Jambu Biji', 'bvjdsbvjsdbvjsdbvdjsvbdjsvbsd vjd vjds v dvj djv sdjnvj3jr 32j 3jr 3j2rb3j r3j r32j r', 7.5, 30.2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `mahasiswa`
--
CREATE TABLE `mahasiswa` (
`nip` int(50) NOT NULL,
`nama` varchar(100) NOT NULL,
`jurusan` varchar(100) NOT NULL,
`angkatan` varchar(4) NOT NULL,
`alamat` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `mahasiswa`
--
INSERT INTO `mahasiswa` (`nip`, `nama`, `jurusan`, `angkatan`, `alamat`) VALUES
(2103161016, 'Aldi Maulana Ardianto', 'Teknik Informatika', '2016', 'Surabaya'),
(2103161017, '<NAME>', 'Teknik Informatika', '2016', 'Jombang');
-- --------------------------------------------------------
--
-- Struktur dari tabel `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1506834103),
('m130524_201442_init', 1506834110);
-- --------------------------------------------------------
--
-- Struktur dari tabel `plant`
--
CREATE TABLE `plant` (
`id_plant` int(11) NOT NULL,
`name` varchar(250) NOT NULL,
`type` varchar(250) NOT NULL,
`ph` double NOT NULL,
`temp` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `plant`
--
INSERT INTO `plant` (`id_plant`, `name`, `type`, `ph`, `temp`) VALUES
(2, 'Bunga', 'Cengkih', 7.5, 30.5);
-- --------------------------------------------------------
--
-- Struktur dari tabel `sensor`
--
CREATE TABLE `sensor` (
`id_sensor` int(11) NOT NULL,
`ph_sensor` double NOT NULL,
`temp_sensor` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `sensor`
--
INSERT INTO `sensor` (`id_sensor`, `ph_sensor`, `temp_sensor`) VALUES
(321314, 13.7, 35);
-- --------------------------------------------------------
--
-- Struktur dari tabel `testing`
--
CREATE TABLE `testing` (
`id` int(9) NOT NULL,
`user` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `testing`
--
INSERT INTO `testing` (`id`, `user`, `password`, `email`) VALUES
(3, 'adam', '<PASSWORD>', '<EMAIL>');
-- --------------------------------------------------------
--
-- Struktur dari tabel `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `user`
--
INSERT INTO `user` (`id`, `username`, `auth_key`, `password_hash`, `password_reset_token`, `email`, `status`, `created_at`, `updated_at`) VALUES
(1, 'fatkhun', '<PASSWORD>HKLJ99KIw83xHY2l45vx2iFRvecQ', <PASSWORD>', NULL, '<EMAIL>', 10, 1506834165, 1506834165);
-- --------------------------------------------------------
--
-- Struktur dari tabel `useraccount`
--
CREATE TABLE `useraccount` (
`id_user` int(11) NOT NULL,
`username` varchar(250) NOT NULL,
`full_name` varchar(250) NOT NULL,
`password` varchar(250) NOT NULL,
`email` varchar(250) NOT NULL,
`ttl` date NOT NULL,
`hp` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `useraccount`
--
INSERT INTO `useraccount` (`id_user`, `username`, `full_name`, `password`, `email`, `ttl`, `hp`) VALUES
(1, 'fatkhun', '<NAME>', '<PASSWORD>@', '<EMAIL>', '1997-02-06', '085732326736');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `encyclopedia`
--
ALTER TABLE `encyclopedia`
ADD PRIMARY KEY (`id_pedia`);
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`nip`);
--
-- Indexes for table `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- Indexes for table `plant`
--
ALTER TABLE `plant`
ADD PRIMARY KEY (`id_plant`);
--
-- Indexes for table `sensor`
--
ALTER TABLE `sensor`
ADD PRIMARY KEY (`id_sensor`);
--
-- Indexes for table `testing`
--
ALTER TABLE `testing`
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 `useraccount`
--
ALTER TABLE `useraccount`
ADD PRIMARY KEY (`id_user`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `encyclopedia`
--
ALTER TABLE `encyclopedia`
MODIFY `id_pedia` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `plant`
--
ALTER TABLE `plant`
MODIFY `id_plant` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `testing`
--
ALTER TABLE `testing`
MODIFY `id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `useraccount`
--
ALTER TABLE `useraccount`
MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 1172.16.58.3
-- Generation Time: Nov 26, 2020 at 06:32 PM
-- Server version: 10.4.13-MariaDB
-- PHP Version: 7.2.32
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: `dbs_backend`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbl_costumer`
--
CREATE TABLE `tbl_costumer` (
`kd_costumer` int(11) NOT NULL,
`foto` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_costumer`
--
INSERT INTO `tbl_costumer` (`kd_costumer`, `foto`) VALUES
(14, 'Agrinesia.png'),
(15, 'PT__Prima_Top_Boga.png'),
(16, 'Kafe_Betawi.png'),
(17, '71.jpg'),
(18, 'RSUD_Cibinong.jpg'),
(19, 'RS__BMC.png'),
(20, 'Dapur_Cokelat.jpg'),
(21, 'Geprek_Bensu.png'),
(22, 'Hotel_Savero.png'),
(23, 'Hotel_Permata.png'),
(24, 'Hotel_Whiz_Prime.png'),
(25, 'Hotel_Zest.png'),
(26, 'Hotel_DAnaya.png'),
(27, 'PT__Global_Dairi_Alami.png'),
(28, 'Tan_Ek_Tjoan_2.jpg'),
(29, 'Ayam_Asix.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_jenis_produk`
--
CREATE TABLE `tbl_jenis_produk` (
`kd_jenis` int(11) NOT NULL,
`jenis_produk` varchar(50) NOT NULL,
`kd_kategori` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_jenis_produk`
--
INSERT INTO `tbl_jenis_produk` (`kd_jenis`, `jenis_produk`, `kd_kategori`) VALUES
(10, 'Papper Core Brown Craft', 4),
(11, 'Papper Core White Craft', 4),
(12, 'Papper Core Non-Craft', 4),
(13, 'Papper Core Celengan', 4),
(14, 'Papper Core Mill Core (PMC)', 4),
(15, 'Seamles Coated Core', 4),
(16, 'Seamles Non-Coated Core', 4),
(17, 'Honeycomb', 5),
(18, 'Karton Box', 6),
(19, 'Layer Bundar', 6),
(20, 'Paper Pallet', 7),
(21, 'Edge Protector', 8);
-- --------------------------------------------------------
--
-- Table structure for table `tbl_kategori`
--
CREATE TABLE `tbl_kategori` (
`kd_kategori` int(11) NOT NULL,
`nama_kategori` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_kategori`
--
INSERT INTO `tbl_kategori` (`kd_kategori`, `nama_kategori`) VALUES
(4, 'Papper Core'),
(5, 'Honeycomb'),
(6, 'Karton'),
(7, 'Papper Pallet'),
(8, 'Edge Protector');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_principal`
--
CREATE TABLE `tbl_principal` (
`kd_principal` int(11) NOT NULL,
`foto` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `tbl_produk`
--
CREATE TABLE `tbl_produk` (
`kd_produk` int(11) NOT NULL,
`nama_produk` text NOT NULL,
`foto` text NOT NULL,
`keterangan` text NOT NULL,
`kd_jenis_produk` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `tbl_quotation`
--
CREATE TABLE `tbl_quotation` (
`id` int(11) NOT NULL,
`nama` text NOT NULL,
`perusahaan` text NOT NULL,
`email` text NOT NULL,
`number` int(11) NOT NULL,
`subject` text NOT NULL,
`message` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_quotation`
--
INSERT INTO `tbl_quotation` (`id`, `nama`, `perusahaan`, `email`, `number`, `subject`, `message`) VALUES
(70, '<NAME>', 'asdasdas', '<EMAIL>', 8888888, 'asdasdas', 'j');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_slide`
--
CREATE TABLE `tbl_slide` (
`kd_slide` int(11) NOT NULL,
`foto` text NOT NULL,
`judul` text NOT NULL,
`deskripsi` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_slide`
--
INSERT INTO `tbl_slide` (`kd_slide`, `foto`, `judul`, `deskripsi`) VALUES
(4, '3.jpg', 'A', '\r\n '),
(5, '4.jpg', 'A', '\r\n '),
(6, '5.jpg', 'Selamat Datang BOR', 'Jaman Now ');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_users`
--
CREATE TABLE `tbl_users` (
`kd_user` int(11) NOT NULL,
`username` varchar(25) NOT NULL,
`password` varchar(25) NOT NULL,
`foto` text NOT NULL,
`acc_lvl` varchar(30) NOT NULL,
`is_active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbl_users`
--
INSERT INTO `tbl_users` (`kd_user`, `username`, `password`, `foto`, `acc_lvl`, `is_active`) VALUES
(1, 'Admin', 'silarisfood', 'download.png', 'admin', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tbl_costumer`
--
ALTER TABLE `tbl_costumer`
ADD PRIMARY KEY (`kd_costumer`);
--
-- Indexes for table `tbl_jenis_produk`
--
ALTER TABLE `tbl_jenis_produk`
ADD PRIMARY KEY (`kd_jenis`);
--
-- Indexes for table `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
ADD PRIMARY KEY (`kd_kategori`);
--
-- Indexes for table `tbl_principal`
--
ALTER TABLE `tbl_principal`
ADD PRIMARY KEY (`kd_principal`);
--
-- Indexes for table `tbl_produk`
--
ALTER TABLE `tbl_produk`
ADD PRIMARY KEY (`kd_produk`),
ADD KEY `kd_jenis_produk` (`kd_jenis_produk`);
--
-- Indexes for table `tbl_quotation`
--
ALTER TABLE `tbl_quotation`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tbl_slide`
--
ALTER TABLE `tbl_slide`
ADD PRIMARY KEY (`kd_slide`);
--
-- Indexes for table `tbl_users`
--
ALTER TABLE `tbl_users`
ADD PRIMARY KEY (`kd_user`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tbl_costumer`
--
ALTER TABLE `tbl_costumer`
MODIFY `kd_costumer` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT for table `tbl_jenis_produk`
--
ALTER TABLE `tbl_jenis_produk`
MODIFY `kd_jenis` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
--
-- AUTO_INCREMENT for table `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
MODIFY `kd_kategori` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tbl_principal`
--
ALTER TABLE `tbl_principal`
MODIFY `kd_principal` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `tbl_produk`
--
ALTER TABLE `tbl_produk`
MODIFY `kd_produk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `tbl_quotation`
--
ALTER TABLE `tbl_quotation`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=71;
--
-- AUTO_INCREMENT for table `tbl_slide`
--
ALTER TABLE `tbl_slide`
MODIFY `kd_slide` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `tbl_users`
--
ALTER TABLE `tbl_users`
MODIFY `kd_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `tbl_produk`
--
ALTER TABLE `tbl_produk`
ADD CONSTRAINT `tbl_produk_ibfk_1` FOREIGN KEY (`kd_jenis_produk`) REFERENCES `tbl_jenis_produk` (`kd_jenis`);
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 */;
|
-- Given the CITY and COUNTRY tables, query the names of all cities where the CONTINENT is 'Africa'.
SELECT
city.name
FROM city
LEFT JOIN country
ON city.countrycode = country.code
WHERE continent = 'africa'; |
insert into "Payment" values (293, 5233.27, '13-May-74', 3002, 'Penalty');
insert into "Payment" values (294, 2637.83, '08-Jun-83', 3004, 'Penalty');
insert into "Payment" values (295, 5233.27, '19-Feb-17', 3007, 'Penalty');
insert into "Payment" values (296, 6566.57, '20-Jun-13', 3008, 'Penalty');
insert into "Payment" values (297, 4634.17, '14-Dec-87', 3010, 'Penalty');
insert into "Payment" values (298, 6159.51, '06-Jan-80', 3012, 'Penalty');
insert into "Payment" values (299, 4679.58, '30-May-78', 3014, 'Penalty');
insert into "Payment" values (300, 2073.26, '15-Jul-01', 3016, 'Penalty');
insert into "Payment" values (301, 3185.66, '06-Mar-89', 3018, 'Penalty');
insert into "Payment" values (302, 5611.13, '07-Dec-90', 3019, 'Penalty');
insert into "Payment" values (303, 2354.35, '08-Sep-08', 3021, 'Penalty');
insert into "Payment" values (304, 7769.21, '18-Jan-13', 3022, 'Penalty');
insert into "Payment" values (305, 5233.27, '03-Jun-06', 3024, 'Penalty');
insert into "Payment" values (306, 5994.39, '04-Sep-80', 3025, 'Penalty');
insert into "Payment" values (307, 6419.12, '18-Apr-13', 3027, 'Penalty');
insert into "Payment" values (308, 4911.39, '10-Apr-12', 3028, 'Penalty');
insert into "Payment" values (309, 449.28, '16-Jul-12', 3029, 'Penalty');
insert into "Payment" values (310, 4504.79, '06-Mar-14', 3030, 'Penalty');
insert into "Payment" values (311, 5994.39, '30-Jun-70', 3031, 'Penalty');
insert into "Payment" values (312, 7784.15, '22-Dec-97', 3032, 'Penalty');
insert into "Payment" values (313, 2354.35, '11-Dec-01', 3034, 'Penalty');
insert into "Payment" values (314, 6829.73, '03-Jul-99', 3036, 'Penalty');
insert into "Payment" values (315, 3185.66, '30-Sep-00', 3037, 'Penalty');
insert into "Payment" values (316, 3032.65, '25-Jul-06', 3039, 'Penalty');
insert into "Payment" values (317, 8773.68, '18-Feb-00', 3041, 'Penalty');
insert into "Payment" values (318, 9686.88, '07-Apr-10', 3042, 'Penalty');
insert into "Payment" values (319, 4185.47, '15-Feb-00', 3043, 'Penalty');
insert into "Payment" values (320, 173.02, '06-Jun-07', 3044, 'Penalty');
insert into "Payment" values (321, 6829.73, '29-Oct-73', 3045, 'Penalty');
insert into "Payment" values (322, 4218.35, '12-Dec-72', 3047, 'Penalty');
insert into "Payment" values (323, 7769.21, '22-Sep-97', 3048, 'Penalty');
insert into "Payment" values (324, 4218.35, '06-Dec-94', 3051, 'Penalty');
insert into "Payment" values (325, 9245.41, '10-Jul-01', 3052, 'Penalty');
insert into "Payment" values (326, 6208.27, '07-Nov-71', 3053, 'Penalty');
insert into "Payment" values (327, 9444.67, '10-Apr-91', 3054, 'Penalty');
insert into "Payment" values (328, 7769.21, '11-Apr-70', 3055, 'Penalty');
insert into "Payment" values (329, 6829.73, '05-Jan-97', 3056, 'Penalty');
insert into "Payment" values (330, 2354.35, '02-Feb-80', 3058, 'Penalty');
insert into "Payment" values (331, 9213.15, '28-Jul-17', 3060, 'Penalty');
insert into "Payment" values (332, 8896.62, '15-Jun-14', 3061, 'Penalty');
insert into "Payment" values (333, 3185.66, '29-Apr-01', 3063, 'Penalty');
insert into "Payment" values (334, 7769.21, '05-May-13', 3064, 'Penalty');
insert into "Payment" values (335, 8176.53, '12-Mar-02', 3065, 'Penalty');
insert into "Payment" values (336, 8176.53, '02-Nov-84', 3066, 'Penalty');
insert into "Payment" values (337, 9141.24, '21-Apr-13', 3067, 'Penalty');
insert into "Payment" values (338, 5469.05, '03-Jun-13', 3069, 'Penalty');
insert into "Payment" values (339, 5137.38, '22-Jan-72', 3070, 'Penalty');
insert into "Payment" values (340, 4634.17, '07-Dec-12', 3071, 'Penalty');
insert into "Payment" values (341, 122.13, '24-Mar-13', 3074, 'Penalty');
insert into "Payment" values (342, 9141.24, '14-Feb-84', 3075, 'Penalty');
insert into "Payment" values (343, 4284.29, '30-Jan-05', 3077, 'Penalty');
insert into "Payment" values (344, 9141.24, '12-Aug-09', 3079, 'Penalty');
insert into "Payment" values (345, 9245.41, '25-Jan-80', 3084, 'Penalty');
insert into "Payment" values (346, 4634.17, '28-Apr-73', 3085, 'Penalty');
insert into "Payment" values (347, 6566.57, '25-Dec-76', 3086, 'Penalty');
insert into "Payment" values (348, 4911.39, '16-Jan-96', 3087, 'Penalty');
insert into "Payment" values (349, 5994.39, '07-Jun-89', 3090, 'Penalty');
insert into "Payment" values (350, 4185.47, '13-Mar-94', 3091, 'Penalty');
insert into "Payment" values (351, 4911.39, '05-May-07', 3092, 'Penalty');
insert into "Payment" values (352, 8176.53, '04-Sep-15', 3093, 'Penalty');
insert into "Payment" values (353, 122.13, '21-Mar-12', 3094, 'Penalty');
insert into "Payment" values (354, 4504.79, '29-Jul-82', 3096, 'Penalty');
insert into "Payment" values (355, 4185.47, '19-Mar-00', 3097, 'Penalty');
insert into "Payment" values (356, 5233.27, '24-Dec-86', 3098, 'Penalty');
insert into "Payment" values (357, 6419.12, '10-Feb-93', 3099, 'Penalty');
insert into "Payment" values (358, 5611.13, '06-Nov-79', 3101, 'Penalty');
insert into "Payment" values (359, 7520.88, '07-Jul-12', 3103, 'Penalty');
insert into "Payment" values (360, 801.76, '06-Jun-16', 3106, 'Penalty');
insert into "Payment" values (361, 8176.53, '01-Jun-83', 3107, 'Penalty');
insert into "Payment" values (362, 173.02, '05-Jun-14', 3108, 'Penalty');
insert into "Payment" values (363, 5994.39, '21-Nov-97', 3109, 'Penalty');
insert into "Payment" values (364, 743.31, '28-Dec-12', 3110, 'Penalty');
insert into "Payment" values (365, 6566.57, '29-Apr-80', 3111, 'Penalty');
insert into "Payment" values (366, 5469.05, '01-Mar-83', 3112, 'Penalty');
insert into "Payment" values (367, 1869.2, '21-Jul-82', 3113, 'Penalty');
insert into "Payment" values (368, 5233.27, '14-Jun-06', 3114, 'Penalty');
insert into "Payment" values (369, 6101.59, '22-May-71', 3115, 'Penalty');
insert into "Payment" values (370, 4504.79, '15-Jul-04', 3118, 'Penalty');
insert into "Payment" values (371, 4679.58, '16-Jun-92', 3122, 'Penalty');
insert into "Payment" values (372, 7470.92, '05-Apr-09', 3123, 'Penalty');
insert into "Payment" values (373, 5801.47, '01-Feb-14', 3126, 'Penalty');
insert into "Payment" values (374, 7520.88, '26-Mar-07', 3127, 'Penalty');
insert into "Payment" values (375, 122.13, '31-Mar-10', 3128, 'Penalty');
insert into "Payment" values (376, 6829.73, '10-Dec-72', 3129, 'Penalty');
insert into "Payment" values (377, 8773.68, '12-Feb-00', 3130, 'Penalty');
insert into "Payment" values (378, 4679.58, '07-Jan-08', 3133, 'Penalty');
insert into "Payment" values (379, 1869.2, '13-Sep-88', 3134, 'Penalty');
insert into "Payment" values (380, 8562.03, '18-Jan-04', 3136, 'Penalty');
insert into "Payment" values (381, 5801.47, '29-Jul-75', 3140, 'Penalty');
insert into "Payment" values (382, 6503.72, '04-Apr-87', 3141, 'Penalty');
insert into "Payment" values (383, 6101.59, '09-Dec-71', 3146, 'Penalty');
insert into "Payment" values (384, 4679.58, '14-Aug-84', 3148, 'Penalty');
insert into "Payment" values (385, 9304.55, '12-Oct-05', 3149, 'Penalty');
insert into "Payment" values (386, 5191.18, '23-Sep-09', 3150, 'Penalty');
insert into "Payment" values (387, 9213.15, '13-Jul-13', 3151, 'Penalty');
insert into "Payment" values (388, 2073.26, '13-Jun-74', 3152, 'Penalty');
insert into "Payment" values (389, 9304.55, '04-Apr-80', 3153, 'Penalty');
insert into "Payment" values (390, 9213.15, '02-Sep-09', 3154, 'Penalty');
insert into "Payment" values (391, 5233.27, '31-May-70', 3156, 'Penalty');
insert into "Payment" values (392, 5137.38, '16-Sep-91', 3157, 'Penalty');
insert into "Payment" values (393, 6566.57, '16-Aug-90', 3158, 'Penalty');
insert into "Payment" values (394, 4284.29, '06-Oct-15', 3159, 'Penalty');
insert into "Payment" values (395, 2073.26, '06-Mar-78', 3160, 'Penalty');
insert into "Payment" values (396, 9141.24, '24-Sep-92', 3161, 'Penalty');
insert into "Payment" values (397, 5191.18, '30-Jan-97', 3165, 'Penalty');
insert into "Payment" values (398, 6829.73, '02-Sep-08', 3166, 'Penalty');
insert into "Payment" values (399, 2637.83, '17-Mar-01', 3168, 'Penalty');
insert into "Payment" values (400, 5383.26, '23-Apr-13', 3169, 'Penalty');
insert into "Payment" values (401, 8562.03, '07-Nov-08', 3170, 'Penalty');
insert into "Payment" values (402, 9444.67, '10-Feb-16', 3171, 'Penalty');
insert into "Payment" values (403, 6503.72, '26-Jul-08', 3174, 'Penalty');
insert into "Payment" values (404, 6848.85, '16-Jun-15', 3176, 'Penalty');
insert into "Payment" values (405, 5469.05, '19-Nov-93', 3178, 'Penalty');
insert into "Payment" values (406, 111.38, '30-Oct-09', 3179, 'Penalty');
insert into "Payment" values (407, 5233.27, '22-Dec-01', 3181, 'Penalty');
insert into "Payment" values (408, 2637.83, '12-Apr-01', 3182, 'Penalty');
insert into "Payment" values (409, 6503.72, '05-Mar-93', 3183, 'Penalty');
insert into "Payment" values (410, 4911.39, '13-Jun-05', 3184, 'Penalty');
insert into "Payment" values (411, 5469.05, '16-Jun-12', 3186, 'Penalty');
insert into "Payment" values (412, 9444.67, '06-May-95', 3191, 'Penalty');
insert into "Payment" values (413, 8896.62, '22-Mar-90', 3193, 'Penalty');
insert into "Payment" values (414, 4679.58, '29-May-14', 3195, 'Penalty');
insert into "Payment" values (415, 5137.38, '11-Dec-75', 3197, 'Penalty');
insert into "Payment" values (416, 5469.05, '18-May-05', 3198, 'Penalty');
insert into "Payment" values (417, 2637.83, '03-Jan-04', 3199, 'Penalty');
insert into "Payment" values (418, 8176.53, '28-Sep-70', 3200, 'Penalty');
insert into "Payment" values (151, 3319.43, '20-Nov-09', 2001, 'Vehicle Service');
insert into "Payment" values (152, 3075.66, '29-May-83', 2002, 'Vehicle Service');
insert into "Payment" values (153, 1855.61, '16-Apr-86', 2003, 'Vehicle Service');
insert into "Payment" values (154, 5308.45, '29-Jul-83', 2004, 'Vehicle Service');
insert into "Payment" values (155, 2031.42, '04-Sep-86', 2005, 'Vehicle Service');
insert into "Payment" values (156, 2060.39, '09-Feb-03', 2007, 'Vehicle Service');
insert into "Payment" values (157, 6371.53, '11-May-91', 2009, 'Vehicle Service');
insert into "Payment" values (158, 4952.23, '21-Nov-70', 2010, 'Vehicle Service');
insert into "Payment" values (159, 5045.14, '20-Jul-81', 2012, 'Vehicle Service');
insert into "Payment" values (160, 3127.96, '03-Jul-16', 2013, 'Vehicle Service');
insert into "Payment" values (161, 7304.01, '10-Nov-86', 2014, 'Vehicle Service');
insert into "Payment" values (162, 8089.71, '24-Apr-05', 2015, 'Vehicle Service');
insert into "Payment" values (163, 3075.66, '22-Sep-97', 2016, 'Vehicle Service');
insert into "Payment" values (164, 4356.49, '20-Mar-70', 2017, 'Vehicle Service');
insert into "Payment" values (165, 6237.15, '11-May-83', 2018, 'Vehicle Service');
insert into "Payment" values (166, 4257.09, '19-Jun-71', 2021, 'Vehicle Service');
insert into "Payment" values (167, 4209.55, '15-Apr-96', 2022, 'Vehicle Service');
insert into "Payment" values (168, 6237.15, '14-Jun-93', 2023, 'Vehicle Service');
insert into "Payment" values (169, 2060.39, '01-Aug-01', 2024, 'Vehicle Service');
insert into "Payment" values (170, 1443.06, '21-Aug-77', 2025, 'Vehicle Service');
insert into "Payment" values (171, 4356.49, '01-Jul-99', 2026, 'Vehicle Service');
insert into "Payment" values (172, 5308.45, '29-Aug-84', 2027, 'Vehicle Service');
insert into "Payment" values (173, 3396.46, '13-Jun-97', 2028, 'Vehicle Service');
insert into "Payment" values (174, 3319.43, '20-Oct-95', 2029, 'Vehicle Service');
insert into "Payment" values (175, 9335.97, '26-Dec-92', 2030, 'Vehicle Service');
insert into "Payment" values (176, 7352.25, '24-May-05', 2031, 'Vehicle Service');
insert into "Payment" values (177, 4845.43, '21-May-10', 2035, 'Vehicle Service');
insert into "Payment" values (178, 3456.7, '14-Oct-96', 2036, 'Vehicle Service');
insert into "Payment" values (179, 1443.06, '27-Apr-97', 2037, 'Vehicle Service');
insert into "Payment" values (180, 9379.04, '24-Oct-10', 2038, 'Vehicle Service');
insert into "Payment" values (181, 7712.69, '23-Dec-04', 2040, 'Vehicle Service');
insert into "Payment" values (182, 1817.76, '09-Mar-72', 2041, 'Vehicle Service');
insert into "Payment" values (183, 2060.39, '03-Feb-07', 2044, 'Vehicle Service');
insert into "Payment" values (184, 5714.43, '02-Nov-11', 2045, 'Vehicle Service');
insert into "Payment" values (185, 6086.96, '16-May-71', 2046, 'Vehicle Service');
insert into "Payment" values (186, 3127.96, '01-Jun-74', 2048, 'Vehicle Service');
insert into "Payment" values (187, 1817.76, '06-Jul-84', 2049, 'Vehicle Service');
insert into "Payment" values (188, 3127.96, '31-Jan-83', 2051, 'Vehicle Service');
insert into "Payment" values (189, 6056.38, '27-Oct-00', 2052, 'Vehicle Service');
insert into "Payment" values (190, 4596.04, '18-Dec-16', 2055, 'Vehicle Service');
insert into "Payment" values (191, 6722.08, '09-Apr-79', 2057, 'Vehicle Service');
insert into "Payment" values (192, 2031.42, '24-Jun-03', 2058, 'Vehicle Service');
insert into "Payment" values (193, 6059.31, '18-Jul-99', 2059, 'Vehicle Service');
insert into "Payment" values (194, 4257.09, '16-Oct-01', 2060, 'Vehicle Service');
insert into "Payment" values (195, 5251.63, '18-Nov-04', 2061, 'Vehicle Service');
insert into "Payment" values (196, 7031.99, '05-Apr-70', 2062, 'Vehicle Service');
insert into "Payment" values (197, 4262.54, '28-Oct-93', 2064, 'Vehicle Service');
insert into "Payment" values (198, 9433.8, '21-May-84', 2066, 'Vehicle Service');
insert into "Payment" values (199, 4262.54, '19-May-75', 2068, 'Vehicle Service');
insert into "Payment" values (200, 9098.64, '26-May-82', 2070, 'Vehicle Service');
insert into "Payment" values (201, 6722.08, '29-Sep-73', 2073, 'Vehicle Service');
insert into "Payment" values (202, 9379.04, '30-Mar-06', 2074, 'Vehicle Service');
insert into "Payment" values (203, 8089.71, '25-Feb-77', 2075, 'Vehicle Service');
insert into "Payment" values (204, 5714.43, '02-Mar-07', 2076, 'Vehicle Service');
insert into "Payment" values (205, 4257.09, '20-Feb-89', 2077, 'Vehicle Service');
insert into "Payment" values (206, 6530.28, '14-Aug-72', 2080, 'Vehicle Service');
insert into "Payment" values (207, 3646.6, '18-Jul-07', 2082, 'Vehicle Service');
insert into "Payment" values (208, 5714.43, '09-Jun-77', 2083, 'Vehicle Service');
insert into "Payment" values (209, 9335.97, '20-Aug-12', 2084, 'Vehicle Service');
insert into "Payment" values (210, 523.24, '16-Oct-08', 2085, 'Vehicle Service');
insert into "Payment" values (211, 3646.6, '20-Jan-72', 2086, 'Vehicle Service');
insert into "Payment" values (212, 3456.7, '05-Oct-77', 2087, 'Vehicle Service');
insert into "Payment" values (213, 4952.23, '30-May-91', 2088, 'Vehicle Service');
insert into "Payment" values (214, 4845.43, '25-Nov-72', 2089, 'Vehicle Service');
insert into "Payment" values (215, 3456.7, '22-Feb-81', 2092, 'Vehicle Service');
insert into "Payment" values (216, 1443.06, '02-Jul-94', 2093, 'Vehicle Service');
insert into "Payment" values (217, 5251.63, '31-Oct-95', 2094, 'Vehicle Service');
insert into "Payment" values (218, 6059.31, '29-Jan-14', 2095, 'Vehicle Service');
insert into "Payment" values (219, 3075.66, '14-Nov-13', 2097, 'Vehicle Service');
insert into "Payment" values (220, 3075.66, '14-Oct-83', 2098, 'Vehicle Service');
insert into "Payment" values (221, 797.71, '25-Jan-11', 2100, 'Vehicle Service');
insert into "Payment" values (222, 6056.38, '12-Oct-86', 2101, 'Vehicle Service');
insert into "Payment" values (223, 4209.55, '05-Jan-94', 2102, 'Vehicle Service');
insert into "Payment" values (224, 7031.99, '18-Nov-90', 2105, 'Vehicle Service');
insert into "Payment" values (225, 6722.08, '13-May-05', 2106, 'Vehicle Service');
insert into "Payment" values (226, 6567.89, '11-Jul-11', 2108, 'Vehicle Service');
insert into "Payment" values (227, 3456.7, '22-Sep-04', 2109, 'Vehicle Service');
insert into "Payment" values (228, 9433.8, '25-Feb-07', 2110, 'Vehicle Service');
insert into "Payment" values (229, 5308.45, '31-May-99', 2111, 'Vehicle Service');
insert into "Payment" values (230, 6059.31, '06-May-02', 2112, 'Vehicle Service');
insert into "Payment" values (231, 7304.01, '08-Nov-81', 2113, 'Vehicle Service');
insert into "Payment" values (232, 9098.64, '15-Feb-81', 2114, 'Vehicle Service');
insert into "Payment" values (233, 8324.43, '06-May-71', 2116, 'Vehicle Service');
insert into "Payment" values (234, 6086.96, '12-May-96', 2120, 'Vehicle Service');
insert into "Payment" values (235, 3127.96, '02-Nov-01', 2122, 'Vehicle Service');
insert into "Payment" values (236, 9379.04, '03-Apr-76', 2124, 'Vehicle Service');
insert into "Payment" values (237, 3396.46, '18-Apr-79', 2125, 'Vehicle Service');
insert into "Payment" values (238, 1855.61, '22-Jun-70', 2126, 'Vehicle Service');
insert into "Payment" values (239, 9433.8, '30-Nov-70', 2127, 'Vehicle Service');
insert into "Payment" values (240, 4845.43, '25-Aug-00', 2129, 'Vehicle Service');
insert into "Payment" values (241, 3094.89, '04-Oct-12', 2130, 'Vehicle Service');
insert into "Payment" values (242, 7031.99, '10-Feb-10', 2131, 'Vehicle Service');
insert into "Payment" values (243, 6237.15, '01-Nov-90', 2133, 'Vehicle Service');
insert into "Payment" values (244, 2031.42, '14-Nov-99', 2134, 'Vehicle Service');
insert into "Payment" values (245, 7352.25, '26-Apr-12', 2135, 'Vehicle Service');
insert into "Payment" values (246, 5308.45, '21-Nov-75', 2137, 'Vehicle Service');
insert into "Payment" values (247, 797.71, '26-Jun-84', 2138, 'Vehicle Service');
insert into "Payment" values (248, 3075.66, '26-Sep-16', 2139, 'Vehicle Service');
insert into "Payment" values (249, 9335.97, '02-Apr-10', 2140, 'Vehicle Service');
insert into "Payment" values (250, 6086.96, '19-Oct-75', 2142, 'Vehicle Service');
insert into "Payment" values (251, 4209.55, '11-Dec-97', 2143, 'Vehicle Service');
insert into "Payment" values (252, 1855.61, '03-Aug-75', 2146, 'Vehicle Service');
insert into "Payment" values (253, 1443.06, '02-Jun-95', 2147, 'Vehicle Service');
insert into "Payment" values (254, 3646.6, '24-Jul-06', 2148, 'Vehicle Service');
insert into "Payment" values (255, 7031.99, '08-Jul-92', 2149, 'Vehicle Service');
insert into "Payment" values (256, 4596.04, '29-Apr-97', 2151, 'Vehicle Service');
insert into "Payment" values (257, 4845.43, '24-Apr-98', 2152, 'Vehicle Service');
insert into "Payment" values (258, 5251.63, '28-Feb-13', 2153, 'Vehicle Service');
insert into "Payment" values (259, 5714.43, '06-Jun-92', 2154, 'Vehicle Service');
insert into "Payment" values (260, 6567.89, '18-May-84', 2155, 'Vehicle Service');
insert into "Payment" values (261, 5155.01, '27-Feb-94', 2156, 'Vehicle Service');
insert into "Payment" values (262, 6059.31, '25-Sep-84', 2160, 'Vehicle Service');
insert into "Payment" values (263, 6237.15, '02-Nov-14', 2161, 'Vehicle Service');
insert into "Payment" values (264, 4262.54, '16-Dec-00', 2162, 'Vehicle Service');
insert into "Payment" values (265, 5714.43, '29-Jul-73', 2163, 'Vehicle Service');
insert into "Payment" values (266, 5714.43, '22-Jul-10', 2166, 'Vehicle Service');
insert into "Payment" values (267, 1855.61, '01-Mar-84', 2167, 'Vehicle Service');
insert into "Payment" values (268, 6086.96, '11-Aug-99', 2168, 'Vehicle Service');
insert into "Payment" values (269, 3396.46, '30-Jun-07', 2170, 'Vehicle Service');
insert into "Payment" values (270, 6237.15, '05-Oct-75', 2171, 'Vehicle Service');
insert into "Payment" values (271, 7031.99, '05-Sep-09', 2173, 'Vehicle Service');
insert into "Payment" values (272, 6530.28, '21-Jul-92', 2175, 'Vehicle Service');
insert into "Payment" values (273, 2031.42, '11-Oct-84', 2176, 'Vehicle Service');
insert into "Payment" values (274, 4952.23, '29-Jan-86', 2177, 'Vehicle Service');
insert into "Payment" values (275, 8680.38, '20-Dec-13', 2178, 'Vehicle Service');
insert into "Payment" values (276, 5251.63, '09-Jul-99', 2179, 'Vehicle Service');
insert into "Payment" values (277, 7304.01, '05-Jan-91', 2180, 'Vehicle Service');
insert into "Payment" values (278, 6086.96, '28-Apr-08', 2182, 'Vehicle Service');
insert into "Payment" values (279, 9379.04, '31-May-82', 2183, 'Vehicle Service');
insert into "Payment" values (280, 4356.49, '24-Dec-82', 2184, 'Vehicle Service');
insert into "Payment" values (281, 2031.42, '19-May-15', 2187, 'Vehicle Service');
insert into "Payment" values (282, 5045.14, '12-May-96', 2188, 'Vehicle Service');
insert into "Payment" values (283, 6530.28, '23-Jul-12', 2189, 'Vehicle Service');
insert into "Payment" values (284, 7031.99, '02-Apr-98', 2190, 'Vehicle Service');
insert into "Payment" values (285, 3456.7, '04-Mar-17', 2191, 'Vehicle Service');
insert into "Payment" values (286, 3075.66, '31-Mar-78', 2192, 'Vehicle Service');
insert into "Payment" values (287, 1855.61, '11-Dec-82', 2193, 'Vehicle Service');
insert into "Payment" values (288, 4596.04, '04-Nov-71', 2195, 'Vehicle Service');
insert into "Payment" values (289, 523.24, '18-Jun-95', 2196, 'Vehicle Service');
insert into "Payment" values (290, 7352.25, '24-Jan-76', 2197, 'Vehicle Service');
insert into "Payment" values (291, 9379.04, '09-Apr-88', 2199, 'Vehicle Service');
insert into "Payment" values (292, 797.71, '22-Nov-14', 2200, 'Vehicle Service');
insert into "Payment" values (1, 523.24, '09-May-86', 1001, 'License Service');
insert into "Payment" values (2, 9335.97, '12-Apr-91', 1002, 'License Service');
insert into "Payment" values (3, 6530.28, '03-Jul-07', 1004, 'License Service');
insert into "Payment" values (4, 1745.1, '12-Oct-11', 1005, 'License Service');
insert into "Payment" values (5, 7352.25, '12-Mar-91', 1006, 'License Service');
insert into "Payment" values (6, 9433.8, '06-Nov-81', 1008, 'License Service');
insert into "Payment" values (7, 7712.69, '30-Apr-85', 1010, 'License Service');
insert into "Payment" values (8, 8680.38, '20-Aug-10', 1011, 'License Service');
insert into "Payment" values (9, 4845.43, '16-May-96', 1012, 'License Service');
insert into "Payment" values (10, 6567.89, '28-Sep-08', 1013, 'License Service');
insert into "Payment" values (11, 4845.43, '12-Sep-07', 1015, 'License Service');
insert into "Payment" values (12, 1817.76, '08-Sep-17', 1016, 'License Service');
insert into "Payment" values (13, 6059.31, '14-Sep-81', 1019, 'License Service');
insert into "Payment" values (14, 3075.66, '27-Nov-81', 1020, 'License Service');
insert into "Payment" values (15, 523.24, '08-Jan-03', 1022, 'License Service');
insert into "Payment" values (16, 8089.71, '08-Aug-17', 1023, 'License Service');
insert into "Payment" values (17, 5308.45, '13-Jun-02', 1024, 'License Service');
insert into "Payment" values (18, 5251.63, '16-Apr-95', 1025, 'License Service');
insert into "Payment" values (19, 3027.34, '25-Apr-96', 1027, 'License Service');
insert into "Payment" values (20, 4952.23, '25-Oct-95', 1030, 'License Service');
insert into "Payment" values (21, 4952.23, '31-Jan-91', 1031, 'License Service');
insert into "Payment" values (22, 5251.63, '28-Mar-78', 1032, 'License Service');
insert into "Payment" values (23, 4257.09, '18-Jan-91', 1033, 'License Service');
insert into "Payment" values (24, 3456.7, '15-May-17', 1035, 'License Service');
insert into "Payment" values (25, 3646.6, '11-Apr-97', 1036, 'License Service');
insert into "Payment" values (26, 6722.08, '10-Dec-11', 1037, 'License Service');
insert into "Payment" values (27, 6530.28, '03-Apr-00', 1038, 'License Service');
insert into "Payment" values (28, 8680.38, '23-Dec-93', 1040, 'License Service');
insert into "Payment" values (29, 6086.96, '14-Sep-72', 1041, 'License Service');
insert into "Payment" values (30, 6059.31, '05-Jun-78', 1043, 'License Service');
insert into "Payment" values (31, 9335.97, '28-Sep-91', 1044, 'License Service');
insert into "Payment" values (32, 2031.42, '12-Apr-80', 1045, 'License Service');
insert into "Payment" values (33, 4596.04, '11-Mar-08', 1046, 'License Service');
insert into "Payment" values (34, 1745.1, '11-Oct-94', 1047, 'License Service');
insert into "Payment" values (35, 6567.89, '08-Dec-88', 1048, 'License Service');
insert into "Payment" values (36, 3127.96, '26-Mar-81', 1049, 'License Service');
insert into "Payment" values (37, 9335.97, '05-Aug-93', 1050, 'License Service');
insert into "Payment" values (38, 3127.96, '10-Mar-09', 1051, 'License Service');
insert into "Payment" values (39, 4356.49, '22-Oct-72', 1052, 'License Service');
insert into "Payment" values (40, 5155.01, '30-Mar-79', 1054, 'License Service');
insert into "Payment" values (41, 6059.31, '28-Jan-13', 1055, 'License Service');
insert into "Payment" values (42, 797.71, '30-Sep-93', 1056, 'License Service');
insert into "Payment" values (43, 1855.61, '06-Sep-72', 1057, 'License Service');
insert into "Payment" values (44, 4952.23, '15-Feb-03', 1058, 'License Service');
insert into "Payment" values (45, 7352.25, '07-Jul-04', 1059, 'License Service');
insert into "Payment" values (46, 1817.76, '11-Nov-85', 1061, 'License Service');
insert into "Payment" values (47, 4944.26, '03-Aug-02', 1062, 'License Service');
insert into "Payment" values (48, 6371.53, '29-Oct-73', 1063, 'License Service');
insert into "Payment" values (49, 5714.43, '18-Apr-83', 1065, 'License Service');
insert into "Payment" values (50, 3456.7, '04-Jun-03', 1066, 'License Service');
insert into "Payment" values (51, 4952.23, '18-Oct-00', 1067, 'License Service');
insert into "Payment" values (52, 4209.55, '24-Jan-12', 1068, 'License Service');
insert into "Payment" values (53, 5714.43, '06-Jun-75', 1069, 'License Service');
insert into "Payment" values (54, 5155.01, '20-Jun-76', 1071, 'License Service');
insert into "Payment" values (55, 7352.25, '12-Apr-81', 1072, 'License Service');
insert into "Payment" values (56, 3319.43, '29-Jun-15', 1073, 'License Service');
insert into "Payment" values (57, 1745.1, '15-Dec-83', 1076, 'License Service');
insert into "Payment" values (58, 6567.89, '07-Jun-97', 1077, 'License Service');
insert into "Payment" values (59, 6237.15, '04-Jul-77', 1080, 'License Service');
insert into "Payment" values (60, 3075.66, '04-Sep-94', 1082, 'License Service');
insert into "Payment" values (61, 7352.25, '24-Dec-84', 1083, 'License Service');
insert into "Payment" values (62, 4262.54, '04-Oct-81', 1084, 'License Service');
insert into "Payment" values (63, 3319.43, '05-Oct-88', 1085, 'License Service');
insert into "Payment" values (64, 8719.93, '27-Sep-98', 1088, 'License Service');
insert into "Payment" values (65, 6086.96, '14-May-02', 1089, 'License Service');
insert into "Payment" values (66, 6056.38, '18-Aug-73', 1090, 'License Service');
insert into "Payment" values (67, 3396.46, '28-Aug-74', 1091, 'License Service');
insert into "Payment" values (68, 9433.8, '02-Jul-83', 1092, 'License Service');
insert into "Payment" values (69, 6530.28, '05-Mar-95', 1093, 'License Service');
insert into "Payment" values (70, 6530.28, '30-Jul-15', 1095, 'License Service');
insert into "Payment" values (71, 7352.25, '17-Jun-13', 1097, 'License Service');
insert into "Payment" values (72, 9433.8, '06-Dec-77', 1098, 'License Service');
insert into "Payment" values (73, 3127.96, '29-May-16', 1099, 'License Service');
insert into "Payment" values (74, 1817.76, '18-Nov-71', 1101, 'License Service');
insert into "Payment" values (75, 9379.04, '09-Jun-05', 1103, 'License Service');
insert into "Payment" values (76, 2060.39, '30-Sep-75', 1104, 'License Service');
insert into "Payment" values (77, 1855.61, '28-Nov-15', 1106, 'License Service');
insert into "Payment" values (78, 4209.55, '23-Jun-75', 1107, 'License Service');
insert into "Payment" values (79, 6056.38, '03-Mar-13', 1108, 'License Service');
insert into "Payment" values (80, 3075.66, '14-Sep-82', 1109, 'License Service');
insert into "Payment" values (81, 6059.31, '14-Jan-72', 1110, 'License Service');
insert into "Payment" values (82, 3396.46, '06-Jun-97', 1112, 'License Service');
insert into "Payment" values (83, 7712.69, '08-Feb-97', 1116, 'License Service');
insert into "Payment" values (84, 1745.1, '28-Jan-17', 1117, 'License Service');
insert into "Payment" values (85, 4262.54, '26-Nov-71', 1118, 'License Service');
insert into "Payment" values (86, 797.71, '07-Apr-73', 1119, 'License Service');
insert into "Payment" values (87, 1443.06, '22-Dec-13', 1120, 'License Service');
insert into "Payment" values (88, 6056.38, '06-Feb-80', 1122, 'License Service');
insert into "Payment" values (89, 9098.64, '26-Aug-05', 1123, 'License Service');
insert into "Payment" values (90, 4596.04, '22-Nov-76', 1124, 'License Service');
insert into "Payment" values (91, 4596.04, '20-Oct-00', 1125, 'License Service');
insert into "Payment" values (92, 8719.93, '15-Mar-74', 1126, 'License Service');
insert into "Payment" values (93, 4257.09, '12-May-80', 1127, 'License Service');
insert into "Payment" values (94, 3319.43, '04-Feb-85', 1128, 'License Service');
insert into "Payment" values (95, 3456.7, '04-May-74', 1129, 'License Service');
insert into "Payment" values (96, 523.24, '11-Jul-16', 1131, 'License Service');
insert into "Payment" values (97, 5714.43, '10-Oct-78', 1132, 'License Service');
insert into "Payment" values (98, 3456.7, '26-Jan-92', 1133, 'License Service');
insert into "Payment" values (99, 6237.15, '08-Dec-72', 1134, 'License Service');
insert into "Payment" values (100, 8089.71, '08-Jan-08', 1135, 'License Service');
insert into "Payment" values (101, 9379.04, '21-Dec-82', 1136, 'License Service');
insert into "Payment" values (102, 6371.53, '08-Aug-06', 1137, 'License Service');
insert into "Payment" values (103, 3127.96, '29-Aug-17', 1138, 'License Service');
insert into "Payment" values (104, 5308.45, '05-Apr-89', 1139, 'License Service');
insert into "Payment" values (105, 2060.39, '29-May-86', 1142, 'License Service');
insert into "Payment" values (106, 8324.43, '16-Dec-96', 1143, 'License Service');
insert into "Payment" values (107, 8324.43, '01-Dec-83', 1145, 'License Service');
insert into "Payment" values (108, 9401.14, '13-Jun-89', 1146, 'License Service');
insert into "Payment" values (109, 6059.31, '14-Jul-99', 1147, 'License Service');
insert into "Payment" values (110, 8324.43, '06-Dec-13', 1148, 'License Service');
insert into "Payment" values (111, 7352.25, '13-Nov-96', 1149, 'License Service');
insert into "Payment" values (112, 4944.26, '23-Sep-82', 1150, 'License Service');
insert into "Payment" values (113, 7304.01, '23-Jul-81', 1151, 'License Service');
insert into "Payment" values (114, 4596.04, '06-Aug-06', 1152, 'License Service');
insert into "Payment" values (115, 4356.49, '27-Oct-00', 1153, 'License Service');
insert into "Payment" values (116, 4257.09, '19-Dec-92', 1155, 'License Service');
insert into "Payment" values (117, 3127.96, '22-Jun-76', 1156, 'License Service');
insert into "Payment" values (118, 4209.55, '15-Jan-71', 1157, 'License Service');
insert into "Payment" values (119, 3075.66, '03-Jun-77', 1158, 'License Service');
insert into "Payment" values (120, 4262.54, '30-May-82', 1159, 'License Service');
insert into "Payment" values (121, 2031.42, '01-Mar-79', 1160, 'License Service');
insert into "Payment" values (122, 8680.38, '17-Apr-91', 1161, 'License Service');
insert into "Payment" values (123, 3075.66, '02-Dec-04', 1162, 'License Service');
insert into "Payment" values (124, 6722.08, '08-Dec-85', 1163, 'License Service');
insert into "Payment" values (125, 8089.71, '06-Dec-04', 1164, 'License Service');
insert into "Payment" values (126, 5308.45, '20-Sep-16', 1166, 'License Service');
insert into "Payment" values (127, 9379.04, '07-May-96', 1167, 'License Service');
insert into "Payment" values (128, 1443.06, '01-Mar-11', 1168, 'License Service');
insert into "Payment" values (129, 6530.28, '23-Jul-88', 1170, 'License Service');
insert into "Payment" values (130, 1443.06, '16-Nov-71', 1172, 'License Service');
insert into "Payment" values (131, 7712.69, '29-Jul-91', 1173, 'License Service');
insert into "Payment" values (132, 5308.45, '06-Oct-16', 1174, 'License Service');
insert into "Payment" values (133, 7031.99, '24-Mar-16', 1175, 'License Service');
insert into "Payment" values (134, 3456.7, '28-Jun-75', 1176, 'License Service');
insert into "Payment" values (135, 3075.66, '07-Mar-98', 1177, 'License Service');
insert into "Payment" values (136, 7712.69, '29-Apr-95', 1179, 'License Service');
insert into "Payment" values (137, 5045.14, '08-Oct-84', 1182, 'License Service');
insert into "Payment" values (138, 1745.1, '15-Mar-92', 1183, 'License Service');
insert into "Payment" values (139, 6056.38, '30-Aug-15', 1184, 'License Service');
insert into "Payment" values (140, 9379.04, '14-Mar-93', 1186, 'License Service');
insert into "Payment" values (141, 4262.54, '23-Oct-72', 1187, 'License Service');
insert into "Payment" values (142, 9433.8, '31-Dec-86', 1188, 'License Service');
insert into "Payment" values (143, 6722.08, '27-Sep-04', 1190, 'License Service');
insert into "Payment" values (144, 7304.01, '16-Mar-16', 1192, 'License Service');
insert into "Payment" values (145, 1745.1, '13-Apr-97', 1194, 'License Service');
insert into "Payment" values (146, 7712.69, '30-Nov-77', 1195, 'License Service');
insert into "Payment" values (147, 6237.15, '05-Jul-13', 1196, 'License Service');
insert into "Payment" values (148, 4952.23, '20-Aug-97', 1197, 'License Service');
insert into "Payment" values (149, 6056.38, '12-Oct-77', 1198, 'License Service');
insert into "Payment" values (150, 5155.01, '09-Jan-80', 1200, 'License Service');
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 1172.16.17.32
-- Waktu pembuatan: 30 Jul 2021 pada 19.28
-- Versi server: 10.4.18-MariaDB
-- Versi PHP: 8.0.5
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: `myapp`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `blog`
--
CREATE TABLE `blog` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
`url` varchar(255) NOT NULL,
`cover` varchar(255) NOT NULL,
`date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `blog`
--
INSERT INTO `blog` (`id`, `title`, `content`, `url`, `cover`, `date`) VALUES
(3, 'Ghosting ', 'Secara umum, ghosting adalah sifat meninggalkan atau memutuskan komunikasi tanpa ada alasan yang jelas. Pelaku hanya mengabaikan orang lain, untuk menghindari komunikasi atau interaksi dengan korban ghosting. Tak hanya lelaki saja yang jadi pelaku ghosting, seorang perempuan pun bisa melakukan ghosting kepada orang lain.', 'artikel-patahhati', 'WhatsApp Image 2021-07-30 at 14_54_00.jpeg', '2021-07-30 07:55:09'),
(13, 'Artikel pradana yoga ', ' Hallo Pradana YOga ', 'artikel-pradana-yoga', '', '2021-05-09 13:20:07'),
(14, 'Artikel Agoy', 'MENGHAPUS TINTA YANG PERNAH KAU LUKIS DI KANVAS HATIKU', 'artikel-agoy', '', '2021-05-08 00:33:35'),
(15, 'Artikel Pradana', 'HIDUP SANS', 'artikel-pradana', '', '2021-05-08 00:36:01'),
(16, 'Artikel Ku', ' Testttt huhuhuhuhu ', 'artikel-kuu', '', '2021-05-09 13:19:36'),
(17, 'Artikel Mu', ' Hallo ', 'artikel-mu', '', '2021-05-08 22:13:26'),
(25, '', '', '', '', '2021-05-11 00:58:17'),
(26, 'artikel gambar', 'asdasfsfrg ewwwwwwwwwwwwwwwww', 'artikel-gambar', '', '2021-05-11 01:01:42'),
(32, 'Artikel yogaa', 'asdasdasg sadasdad nnnsahdgajsdg', 'artikel-yogaa', 'ip_client.PNG', '2021-05-11 02:05:47'),
(34, 'Artikel pradana yoga ', 'asdadsasdsv sdvs dws', 'artikel-pradana-yogaaa', '', '2021-05-11 02:06:37'),
(37, 'Artikel Cade', 'nama saya cade,yaa saya berkuliah di jogja di masa pandemi ini dengan kuliah online saya gunakan waktu luang untuk bekerja,ya bisa di bilang mancari waktu luang,sekalian juga buat nambah nambah uang jajan hehe,', 'artikel-KU', 'WhatsApp Image 2021-07-30 at 14_54_00.jpeg', '2021-07-30 07:54:32'),
(38, 'Kisah pilu Kopi ', 'Sebenarnya, dulu kamu juga nggak suka kopi. Tapi lama-lama penasaran juga. Eh, sekarang malah jatuh cinta\r\nLayaknya sebuah hubungan, kisahmu dengan kopi juga bertahap.Awalnya sih nggak suka. Bingung malah kenapa orang bisa menghabiskan banyak uang untuk membeli kopi. Karena penasaran, akhirnya kamu mencoba. Dan akhirnya, kamu jatuh cinta. Semakin hari semakin cinta, hingga akhirnya kamu nggak bisa jauh-jauh dari kopi.', 'artikel-Cade', 'kopi1.jpg', '2021-07-30 07:16:04');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `blog`
--
ALTER TABLE `blog`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `blog`
--
ALTER TABLE `blog`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>0
desc cursos;
select * from gafanhotos;
/*
Essa aula foi mais de demostração do console e phpMyAdmin
*/
show create table amigos;
#usar no console |
CREATE TABLE book (
book_id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(50),
author VARCHAR(30),
price DECIMAL(8, 2),
amount INT
);
|
<filename>plsql/xutl_xlsb.pks
create or replace package xutl_xlsb is
/* ======================================================================================
MIT License
Copyright (c) 2018-2021 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
=========================================================================================
Change history :
<NAME> 2018-04-02 Creation
<NAME> 2018-08-23 Bug fix : no row returned if fetch_size (p_nrows)
is less than first row index
<NAME> 2018-09-02 Multi-sheet support
<NAME> 2020-03-01 Added cellNote attribute to ExcelTableCell
<NAME> 2021-04-05 Added generation routines for ExcelGen
<NAME> 2021-09-04 Added fWrap attribute
<NAME> 2022-02-15 Added ColInfo record
====================================================================================== */
type SheetEntry_T is record (name varchar2(31 char), relId varchar2(255 char));
type SheetEntries_T is table of SheetEntry_T;
type SupportingLink_T is record (externalLink pls_integer, firstSheet pls_integer, lastSheet pls_integer);
type SupportingLinks_T is table of SupportingLink_T index by pls_integer;
type Stream_T is record (
content blob
, sz integer
, offset integer
, rt pls_integer
, hsize pls_integer
, rsize binary_integer
, rstart integer
, available pls_integer
-- cache
, buf raw(32767)
, buf_sz pls_integer
);
function new_stream return Stream_T;
procedure flush_stream (stream in out nocopy Stream_T);
procedure set_debug (p_mode in boolean);
function add_SupportingLink (
links in out nocopy SupportingLinks_T
, externalLink in pls_integer
, firstSheet in pls_integer
, lastSheet in pls_integer default null
)
return pls_integer;
procedure put_simple_record (
stream in out nocopy stream_t
, recnum in pls_integer
, content in raw default null
);
procedure put_RowHdr (
stream in out nocopy stream_t
, rowIndex in pls_integer
);
procedure put_BeginSst (
stream in out nocopy stream_t
, cstTotal in pls_integer
, cstUnique in pls_integer
);
procedure put_CellIsst (
stream in out nocopy stream_t
, colIndex in pls_integer
, styleRef in pls_integer default 0
, isst in pls_integer
);
procedure put_CellSt (
stream in out nocopy stream_t
, colIndex in pls_integer
, styleRef in pls_integer default 0
, strValue in varchar2 default null
, lobValue in varchar2 default null
);
procedure put_CellNumber (
stream in out nocopy stream_t
, colIndex in pls_integer
, styleRef in pls_integer default 0
, num in number
);
procedure put_SSTItem (
stream in out nocopy stream_t
, str in varchar2
);
procedure put_ExternSheet (
stream in out nocopy stream_t
, links in SupportingLinks_T
);
procedure put_defaultBookViews (
stream in out nocopy stream_t
);
procedure put_BundleSh (
stream in out nocopy stream_t
, sheetId in pls_integer
, relId in varchar2
, sheetName in varchar2
);
procedure put_BeginList (
stream in out nocopy stream_t
, tableId in pls_integer
, name in varchar2
, displayName in varchar2
, showHeader in boolean
, firstRow in pls_integer
, firstCol in pls_integer
, lastRow in pls_integer
, lastCol in pls_integer
);
procedure put_BeginListCol (
stream in out nocopy stream_t
, fieldId in pls_integer
, fieldName in varchar2
);
procedure put_BeginAFilter (
stream in out nocopy stream_t
, firstRow in pls_integer
, firstCol in pls_integer
, lastRow in pls_integer
, lastCol in pls_integer
);
procedure put_ListPart (
stream in out nocopy stream_t
, relId in varchar2
);
procedure put_TableStyleClient (
stream in out nocopy stream_t
, tableStyleName in varchar2
);
procedure put_BuiltInStyle (
stream in out nocopy stream_t
, builtInId in pls_integer
, styleName in varchar2
, xfId in pls_integer
);
procedure put_FilterDatabase (
stream in out nocopy stream_t
, bundleShIndex in pls_integer
, xti in pls_integer
, firstRow in pls_integer
, firstCol in pls_integer
, lastRow in pls_integer
, lastCol in pls_integer
);
procedure put_CalcProp (
stream in out nocopy stream_t
, calcId in pls_integer
);
procedure put_WsProp (
stream in out nocopy stream_t
, tabColor in varchar2
);
procedure put_BeginWsView (
stream in out nocopy stream_t
);
procedure put_FrozenPane (
stream in out nocopy stream_t
, numRows in pls_integer
, numCols in pls_integer
, topRow in pls_integer -- first row of the lower right pane
, leftCol in pls_integer -- first column of the lower right pane
);
procedure put_NumFmt (
stream in out nocopy stream_t
, id in pls_integer
, fmt in varchar2
);
procedure put_Font (
stream in out nocopy stream_t
, font in ExcelTypes.CT_Font
);
procedure put_PatternFill (
stream in out nocopy stream_t
, patternfill in ExcelTypes.CT_PatternFill
);
procedure put_Border (
stream in out nocopy stream_t
, border in ExcelTypes.CT_Border
);
procedure put_XF (
stream in out nocopy stream_t
, xfId in pls_integer default null
, numFmtId in pls_integer default 0
, fontId in pls_integer default 0
, fillId in pls_integer default 0
, borderId in pls_integer default 0
, hAlignment in varchar2 default null
, vAlignment in varchar2 default null
, wrapText in boolean default false
);
procedure put_ColInfo (
stream in out nocopy stream_t
, colId in pls_integer
, colWidth in pls_integer
);
function new_context (
p_sst_part in blob
, p_cols in varchar2 default null
, p_firstRow in pls_integer default null
, p_lastRow in pls_integer default null
)
return pls_integer;
procedure add_sheet (
p_ctx_id in pls_integer
, p_content in blob
, p_comments in blob
);
function get_sheetEntries (
p_workbook in blob
)
return SheetEntries_T;
procedure free_context (
p_ctx_id in pls_integer
);
function iterate_context (
p_ctx_id in pls_integer
, p_nrows in pls_integer
)
return ExcelTableCellList;
end xutl_xlsb;
/
|
USE employee_db;
INSERT INTO department (name)
VALUES ('Sales'), ('Finance'), ('Legal');
USE employee_db;
INSERT INTO role (title, salary, department_id)
VALUES ('Lawyer', 100000, 3), ('Accountant', 50000, 2), ('Sales Lead', 75000, 1);
USE employee_db;
INSERT INTO employee (first_name, last_name, role_id, manager_id)
VALUES ('Kobe', 'Bryant', 1, NULL ), ('Shaq', 'Oneill', 2, 1), ('Michael', 'Jordan', 3, 2);
|
CREATE PROC AuthorInfoByPagesCountAndPublishCode @PagesCountMin AS INT,
@PublishCodeMin AS INT,
@PublishCodeMax AS INT
AS
SELECT Authors.Code_author, Authors.name_author
FROM Authors
JOIN Books on Books.Code_author = Authors.Code_author
WHERE Books.Pages > @PagesCountMin AND Books.Code_publish BETWEEN @PublishCodeMin AND @PublishCodeMax
GO |
DROP DATABASE IF EXISTS etracking;
CREATE DATABASE etracking;
USE etracking; |
USE [warehouse_management]
GO
/****** Object: Table [dbo].[permissions] Script Date: 6/22/2021 4:12:03 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[permissions](
[id] [uniqueidentifier] NOT NULL,
[action_id] [int] NOT NULL,
[object_id] [int] NOT NULL,
CONSTRAINT [PK_permissions_id] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY],
CONSTRAINT [UK_action_object] UNIQUE NONCLUSTERED
(
[action_id] ASC,
[object_id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[permissions] ADD DEFAULT (newid()) FOR [id]
GO
ALTER TABLE [dbo].[permissions] WITH CHECK ADD CONSTRAINT [FK_permissions_permission_actions] FOREIGN KEY([action_id])
REFERENCES [dbo].[permission_actions] ([id])
ON UPDATE CASCADE
ON DELETE CASCADE
GO
ALTER TABLE [dbo].[permissions] CHECK CONSTRAINT [FK_permissions_permission_actions]
GO
ALTER TABLE [dbo].[permissions] WITH CHECK ADD CONSTRAINT [FK_permissions_permission_objects] FOREIGN KEY([object_id])
REFERENCES [dbo].[permission_objects] ([id])
ON UPDATE CASCADE
ON DELETE CASCADE
GO
ALTER TABLE [dbo].[permissions] CHECK CONSTRAINT [FK_permissions_permission_objects]
GO
|
<reponame>msaint72/gonullu
insert into causes(id,name) values(30001,'İnsan Hakları');
insert into causes(id,name) values(30002,'Dini Kurumlar');
insert into causes(id,name) values(30003,'Sağlık');
insert into causes(id,name) values(30004,'Çevre');
insert into causes(id,name) values(30005,'Hayvanlar');
insert into causes(id,name) values(30006,'Kültür ve Sanat');
insert into addresses(id,address,province,district,zip_code) values (20001,'Kuşcağız Mah. No:10 Tepebaşı','Ankara','Keçiören','06180');
insert into addresses(id,address,province,district,zip_code) values (20002,'Turgut Özal Bulv. No:11 Macunköy','Ankara','Yenimahalle','06190');
insert into users(id,first_name, last_name, user_id,encrypted_password, profile_image, mobile_phone, email, date_of_birth, tshirt_size, gender, emergency_contact_number, emergency_contact_name, motivation,
affiliation,school_name, company_name, get_info_mails, invisible) values
(40001,'Ahmet','Atış','w06cZsKt4X94pGXMu2Uvvch68D5Vd3','$2a$10$A.OSmqsBqIK3MIy4GBOg7OBqbc9Al1vTsmuITNPnW4XkPYQbb35MS',null,'+905332394700','<EMAIL>','1972-01-29','M','M','+905332394799','Veli Çalık','abele gübele',true,null,'Çocuk Esirgeme',true,true);
insert into users(id,first_name, last_name, user_id,encrypted_password, profile_image, mobile_phone, email, date_of_birth, tshirt_size, gender, emergency_contact_number, emergency_contact_name, motivation,
affiliation,school_name, company_name, get_info_mails, invisible) values
(40002,'Ali','Satış','w06cZsKt4X94pGXMu2Uvvch68D5Vff','$2a$10$A.OSmqsBqIK3MIy4GBOg7OBqbc9Al1vTsmuITNPnW4XkPYQbb35MS',null,'+905332394700','<EMAIL>','1972-01-29','L','F','+905332394799','Deli Zalak','abele gübele',true,null,'freelancer',true,true);
insert into users(id,first_name, last_name, user_id,encrypted_password, profile_image, mobile_phone, email, date_of_birth, tshirt_size, gender, emergency_contact_number, emergency_contact_name, motivation,
affiliation,school_name, company_name, get_info_mails, invisible) values
(40003,'Kazulet','Cabbar','w06cZsKt4X94pGXMu2Uvvch68D5Vkk','$2a$10$A.OSmqsBqIK3MIy4GBOg7OBqbc9Al1vTsmuITNPnW4XkPYQbb35MS',null,'+905332394700','<EMAIL>','1972-01-29','M','F','+905332394799','Azil Malak','abele gübele',true,null,'Belediye',true,true);
insert into organizations(id,name,summary,phone,web,address_id,admin_user_id) values(10001,'<NAME>','abele gübele','+903122000000','http://cocukesirgeme.gov.tr',20001,40001);
insert into organizations(id,name,summary,phone,web,address_id,admin_user_id) values(10002,'<NAME>','abele gübele','+903122000000','http://yenimahalle.bel.tr',20002,40003);
insert into organization_cause(organization_id,cause_id) values(10001,30001);
insert into organization_cause(organization_id,cause_id) values(10001,30003);
insert into organization_cause(organization_id,cause_id) values(10001,30006);
insert into organization_cause(organization_id,cause_id) values(10002,30005);
insert into user_cause(user_id,cause_id) values(40001,30002);
insert into user_cause(user_id,cause_id) values(40001,30003);
insert into user_cause(user_id,cause_id) values(40002,30002);
insert into user_cause(user_id,cause_id) values(40003,30005); |
USE "SoftUni";
UPDATE "Employees"
SET Salary = Salary * 1.1;
SELECT [Salary] FROM "Employees"; |
<gh_stars>0
/* No SQL se chama tabela */
/* No NoSQL se chama coleção */
/* No SQL se chama registro*/
/* No NoSQL se chama documento*/
/*C:\Program Files\MongoDB\Server\4.4\data
# C:\Program Files\MongoDB\Server\4.4\bin
# C:\Program Files\MongoDB\Server\4.4\log*/
/* MongoDB -> Documento*/
/* Neo4j -> Grafos
React -> Dicionarios*/
/*SQL x NoSQL*/
Schema Definido (Tabela) Schemaless(on the FLY)
Formas Normais Sem Convenções
Utilização de Joins Não possui Joins
Maior Segurança Menor Segurança
Mais Lento Mais rapido
Crescimento Vertical Crescimento Horizontal
Sistemas sem Mudança Sistemas Dinâmicos
Objetos
Tabelas Collections
Registros Documentos
Chave Estrangeira Nos
Primary Key Key
Foreign Key Value
Labels
Properties
/* Documento JSON */
[
{
"aeroPartida": "SDU",
"aeroChegada": "YYZ",
"aviao": "Airbus A380",
"distacia":30000,
"intercontinental": true
}
]
/* Exemplo Aeroporto SQL*/
create database aviacao;
/* verificar as bases de dados */
show databases;
/*conectar*/
use aviacao;
/*mostrar tabelas*/
show tables;
/*criar tabelas*/
create table aviao(
IDAVIAO INT PRIMARY KEY AUTO_INCREMENT,
MODELO VARCHAR(100)
);
CREATE TABLE AEROPORTO(
IDAEROPORTO INT PRIMARY KEY AUTO_INCREMENT,
NOME VARCHAR(30),
SIGLA CHAR(2)
);
CREATE TABLE VOOS(
IDVIAGEM INT PRIMARY KEY AUTO_INCREMENT,
ID_AVIAO INT,
ID_PARTIDA INT,
ID_CHEGADA INT,
DISTANCIA INT,
INTERCONTINENTAL BINARY
);
ALTER TABLE VOOS ADD CONSTRAINT FK_AVIAO
FOREIGN KEY (ID_AVIAO) REFERENCES AVIAO(IDAVIAO);
ALTER TABLE VOOS ADD CONSTRAINT FK_AERO_PARTIDA
FOREIGN KEY (ID_PARTIDA) REFERENCES AEROPORTO(IDAEROPORTO);
ALTER TABLE VOOS ADD CONSTRAINT FK_AERO_CHEGADA
FOREIGN KEY (ID_CHEGADA) REFERENCES AEROPORTO(IDAEROPORTO);
/* VERIFICANDO AS TABELAS */
DESC 'NOME DA TABELA'
/* VERIFICANDO OS REGISTROS DAS TABELAS */
SELECT * FROM AVIAO;
SELECT * FROM AEROPORTO;
SELECT * FROM VOOS;
limit one
/* ALTERANDO TABELAS */
ALTER TABLE AEROPORTO
MODIFY COLUMN SIGLA CHAR(3);
DESC 'NOME DA TABELA'
/* RELACIONAL
-- 1 - <NAME>
-- 2 - CONECTOU
-- 3 - CRIOU TABELAS
-- AVIAO
-- AEROPORTOS
-- VOOS
-- 4 - ENTROU COM OS DADOS
-- AVIAO
-- AEROPORTOS
-- VOOS
-- 5 - CONSULTAR OS DADOS*/
/* NOSQL */
-- ARMAZENA DADOS NO FORMATO JSON --
[
(
AEROPARTIDA: "SDU",
AEROCHEGADA: "YYZ",
AVIAO: "AIRBUS A380",
DISTANCIA: 30000,
INTERCONTINENTAL: TRUE
),
(
AEROPARTIDA: "GRU",
AEROCHEGADA: "GIG",
AVIAO: "AIRBUS A320",
DISTANCIA: 550,
INTERCONTINENTAL: FALSE
)
]
-- PASSOS INICIAIS
show dbs
-- verificando o nome do banco
-- por padrão o mongodb conecta-se com o banco test
db.getName()
-- CRIANDO BANCO DE DADOS
use aviacao
-- ARMAZENANDO DADOS NO MONGO DB
--------------
--- O comando INSERTONE()
------------------
db.voos.insertOne( {} )
db.voos.insertOne(
{
AEROPARTIDA: "SDU",
AEROCHEGADA: "YYZ",
AVIAO: "AIRBUS A380",
DISTANCIA: 30000,
INTERCONTINENTAL: true
}
)
db.voos.insertOne(
{
AEROPARTIDA: "GRU",
AEROCHEGADA: "GIG",
AVIAO: "AIRBUS A320",
DISTANCIA: 550,
INTERCONTINENTAL: false
}
)
----------------
--- CONSULTADO DOCUMENTOS (REGISTROS)
--- findone()
----------------
db.voos.findOne()
/* no SQL */
select * from aviao limit 1;
--- find()
----------------
db.voos.find()
{ "_id" : ObjectId("5fa7233bf1214cb5ca2e3a4d"), "AEROPARTIDA" : "SDU", "AEROCHEGADA" : "YYZ", "AVIAO" : "AIRBUS A380", "DISTANCIA" : 30000, "INTERCONTINENTAL" : true }
{ "_id" : ObjectId("5fa7236ff1214cb5ca2e3a4e"), "AEROPARTIDA" : "GRU", "AEROCHEGADA" : "GIG", "AVIAO" : "AIRBUS A320", "DISTANCIA" : 550, "INTERCONTINENTAL" : false }
db.voos.find().pretty()
{
"_id" : ObjectId("5fa7233bf1214cb5ca2e3a4d"),
"AEROPARTIDA" : "SDU",
"AEROCHEGADA" : "YYZ",
"AVIAO" : "AIRBUS A380",
"DISTANCIA" : 30000,
"INTERCONTINENTAL" : true
}
{
"_id" : ObjectId("5fa7236ff1214cb5ca2e3a4e"),
"AEROPARTIDA" : "GRU",
"AEROCHEGADA" : "GIG",
"AVIAO" : "AIRBUS A320",
"DISTANCIA" : 550,
"INTERCONTINENTAL" : false
}
SELECT P.NOME AS AEROPARTIDA,
C.NOME AS AEROCHEGADA,
MODELO AS AVIAO,
V.DISTANCIA AS DISTANCIA,
V.INTERCONTINENTAL AS INTERCONTINENTAL
FROM AEROPORTO P
INNER JOIN VOOS V
ON P.IDAEROPORTO = V.ID_PARTIDA
INNER JOIN AVIAO
ON IDAVIAO = V.ID_AVIAO
INNER JOIN AEROPORTO C
ON C.IDAEROPORTO = V.ID_CHEGADA;
-----------------------
- Falando de Schemaless
-----------------------
{
"AEROPARTIDA" : "GRU",
"AEROCHEGADA" : "GIG",
"AVIAO" : "AIRBUS A320",
"DISTANCIA" : 550,
"INTERCONTINENTAL" : false,
"atrasado": true
}
insert into voos values(null,3,5,6,5000,0,0);
alter table voos add atrasado binary;
-- No NoSQL
db.voos.insertOne(
{
"AEROPARTIDA" : "JFK",
"AEROCHEGADA" : "DCA",
"AVIAO" : "Boeing 7070",
"DISTANCIA" : 5000,
"INTERCONTINENTAL" : false,
"ATRASADO": false
}
)
db.voos.find().pretty()
{
"_id" : ObjectId("5fa74dd5f1214cb5ca2e3a50"),
"AEROPARTIDA" : "SDU",
"AEROCHEGADA" : "YYZ",
"AVIAO" : "AIRBUS A380",
"DISTANCIA" : 30000,
"INTERCONTINENTAL" : true
}
{
"_id" : ObjectId("5fa74dd6f1214cb5ca2e3a51"),
"AEROPARTIDA" : "GRU",
"AEROCHEGADA" : "GIG",
"AVIAO" : "AIRBUS A320",
"DISTANCIA" : 550,
"INTERCONTINENTAL" : false
}
{
"_id" : ObjectId("5fa74e13f1214cb5ca2e3a52"),
"AEROPARTIDA" : "JFK",
"AEROCHEGADA" : "DCA",
"AVIAO" : "Boeing 7070",
"DISTANCIA" : 5000,
"INTERCONTINENTAL" : false,
"ATRASADO" : false
}
-- Trabalhando com IDS
db.voos.insertOne(
{
"AEROPARTIDA" : "JFK",
"AEROCHEGADA" : "DCA",
"AVIAO" : "Boeing 7070",
"DISTANCIA" : 5000,
"INTERCONTINENTAL" : false,
"ATRASADO" : false,
"_id": 123
}
)
db.voos.insertOne(
{
"AEROPARTIDA" : "JFK",
"AEROCHEGADA" : "DCA",
"AVIAO" : "Airbus 320",
"DISTANCIA" : 5000,
"INTERCONTINENTAL" : false,
"ATRASADO" : true,
"_id": 123
}
)
/* Não autoriza pois tem duplicidade de IDs!! */
----------
-- FILTROS
----------
create table clientes(
IDCLIENTE INT PRIMARY KEY AUTO_INCREMENT,
NOME VARCHAR(30),
SEXO CHAR(1)
);
INSERT INTO CLIENTES VALUES(NULL,'JOAO','M');
INSERT INTO CLIENTES VALUES(NULL,'JORGE','M');
INSERT INTO CLIENTES VALUES(NULL,'CLARA','F');
INSERT INTO CLIENTES VALUES(NULL,'LILIAN','F');
DELETE FROM CLIENTES;
SELECT * FROM CLIENTES;
DELETE FROM CLIENTES WHERE IDCLIENTE = 5;
DELETE FROM CLIENTES WHERE SEXO = 'F';
-- FILTRANDO NO MONGODB
--------------------
-- DELETEONE()
--------------------
db.voos.deleteOne({_id: 123})
--------------------
-- DELETEMANY()
--------------------
db.voos.deleteMany({'INTERCONTINENTAL': false})
{
"_id" : ObjectId("5fa74dd5f1214cb5ca2e3a50"),
"AEROPARTIDA" : "SDU",
"AEROCHEGADA" : "YYZ",
"AVIAO" : "AIRBUS A380",
"DISTANCIA" : 30000,
"INTERCONTINENTAL" : true
}
-----------------------------------------------
-- delete sem filtro (CUIDADO)!!
-----------------------------------------------
db.voos.deleteMany({}) /*== deletar tudo*/
-- não faz sentido usar deleteOne sem criterio
db.voos.deleteOne({})
-----------------------------------------------
-- Comando InsertMany()
-----------------------------------------------
INSERT INTO CLIENTES VALUES(NULL,'LETICIA','F'), (NULL,'MAFRA','F')
-- [ ] -> Vetor ['maçã','banana','perâ']
-- { } -> Dicionario {cliente: 'Mafra',sexo: 'M',idade: 37}
--
db.clientes.insertMany([
{
_id:1,
nome: 'João',
sexo: 'M'},
{
_id:2,
nome: 'Clara',
sexo: 'F'},
{
_id:3,
nome: 'Lilian',
sexo: 'F'},
{
_id:4,
nome: 'Mafra',
sexo: 'M'},
{
_id:5,
nome: 'Leticia',
sexo: 'F'}
])
)
--------------------------
-- updateOne()
--------------------------
db.clientes.updateOne({FILTRO},{VAlOR A ENTRAR})
-- Tags de comandos são precedidos de $
db.clientes.updateOne(
{_id:1},{$set:{ativo:true}}
)
db.clientes.find().pretty()
{ "_id" : 1, "nome" : "João", "sexo" : "M", "ativo" : true }
{ "_id" : 2, "nome" : "Clara", "sexo" : "F" }
{ "_id" : 3, "nome" : "Lilian", "sexo" : "F" }
{ "_id" : 4, "nome" : "Mafra", "sexo" : "M" }
{ "_id" : 5, "nome" : "Leticia", "sexo" : "F" }
--------------------------------------
-- updateMany()
-- operador $set
--------------------------------------
db.clientes.updateMany({},{$set:{active:true}})
-------------------------------------
-- operador $unset
-------------------------------------
-- antes
{
"_id" : 1,
"nome" : "João",
"sexo" : "M",
"ativo" : true,
"active" : true
}
{ "_id" : 2, "nome" : "Clara", "sexo" : "F", "active" : true }
{ "_id" : 3, "nome" : "Lilian", "sexo" : "F", "active" : true }
{ "_id" : 4, "nome" : "Mafra", "sexo" : "M", "active" : true }
{ "_id" : 5, "nome" : "Leticia", "sexo" : "F", "active" : true }
db.clientes.updateOne({_id:1},{$unset:{ativo:""}})
-- depois
{ "_id" : 1, "nome" : "João", "sexo" : "M", "active" : true }
{ "_id" : 2, "nome" : "Clara", "sexo" : "F", "active" : true }
{ "_id" : 3, "nome" : "Lilian", "sexo" : "F", "active" : true }
{ "_id" : 4, "nome" : "Mafra", "sexo" : "M", "active" : true }
{ "_id" : 5, "nome" : "Leticia", "sexo" : "F", "active" : true }
--------------------------------
-- mongoDB tem muitos operadores entre eles $set e o $unset
-- $[set - utilizado para modificar ou acrescentar um campo chave:valor
-- $unset - utilizado para remover um campo
--------------------------------
------------------------------------------------------------------
-- Vetores - é um conjunto de elementos, GERALMENTE do mesmo tipo
------------------------------------------------------------------
db.funcionarios.insertOne(
{
nome: 'Michel',
idade: 29,
filhos: ['Isabela','Natan']
}
)
db.funcionarios.insertMany([
{
nome: 'Lilian',
idade: 34,
filhos: ['Leticia','Clara']
},
{
nome: 'Bianca',
idade: 31,
filhos: ['Olivia','Eva']
},
{
nome: 'Andre',
idade: 35,
filhos: ['Bruno','Ana']
}
]
)
--------------------------------
--------EXERCICIO DO PROJETO 01
--------------------------------
-- AGRUPE OS ELEMENTOS
-- TEM CHAVE E VALOR? É UM DICIONARIO {}
-- TEM MAIS DE UM? É UM VETOR! []
-- OS ELEMENTOS DO VETOR SAO APENAS VALORES? É UM VETOR SUMPLES [A,B,C]
-- DENTRO DO VETOR TEM CHAVE E VALOR? É UM VETOR DE DICIONARIO [{PAI:JOAO},{MÂE:MARIA}]
-- TODOS OS ELEMENTOS PODEM SER ANINHADOS MAIS DE UMA VEZ {A:[{A:B},{C:[D,E,F]}]}
-- INSERTONE NAO UTILIZA VETOR LOGO APOS O PAREMTRO INSEETONE([]) --> VDD --> INSERTONE({[]})
-- INSERTMANY UTILIZA COLCHETES LOGO APOS O PARAMETRO INSERTMANY([{},{},{}])
-- CRIO UM BANCO DE EXEMPLO/TESTE
USE EXEMPLO
-- INSIRA SEMPRE COM INSERTONE E DEPOIS DE CORRETO, CONVERTA PARA UM VETOR (INSERTMANY)
-- NA FASE DE TESE NAO COLOQUE ID
db.alunos.insertOne({nome: 'Joao'})
db.alunos.find().pretty()
-- INSIRA O PRIMEIRO NIVEL
db.alunos.insertOne(
{
nome:'João',
sexo: 'M',
serie: 8,
voluntario: true,
telefones: ['34578876','99876789'],
materias:[
{
Gerais:[
{'Matematica':[7.8,8.9,9.3]},
{'Portugues':[5.9,7.3,5.9]},
{'Geografia':[8.0,5.7,6.7]}
]
},
{
Eletivas:['Desenho','Musica']}
]
}
)
-- Convertendo para insertMany()
use escola
db.alunos.insertMany([
{
_id: 1
nome:'João',
sexo: 'M',
serie: 8,
voluntario: true,
telefones: ['34578876','99876789'],
materias:[
{
Gerais:[
{'Matematica':[7.8,8.9,9.3]},
{'Portugues':[5.9,7.3,5.9]},
{'Geografia':[8.0,5.7,6.7]}
]
},
{
Eletivas:['Desenho','Musica']}
]
},
{
_id: 2
nome:'Clara',
sexo: 'F',
serie: 7,
email: '<EMAIL>',
voluntario: true,
telefones: ['34532211','91236772'],
materias:[
{
Gerais:[
{'Matematica':[5.9,2.0,9.8]},
{'Portugues':[6.9,8.8,9.7]},
{'Geografia':[7.9,9.8,9.8]}
]
},
{
Eletivas:['Ed.Fisica','Musica']}
]
},
{
_id: 3
nome:'Carlos',
sexo: 'M',
serie: 6,
voluntario: true,
telefones: ['12348876','99855789'],
materias:[
{
Gerais:[
{'Matematica':[7.0,6.9,2.3]},
{'Portugues':[4.9,6.3,5.9]},
{'Geografia':[7.0,4.7,8.7]}
]
},
{
Eletivas:['Desenho','Ed.Fisica']}
]
},
{
_id: 4
nome:'Marla',
sexo: 'F',
serie: 7,
voluntario: true,
telefones: ['34278276','92826789'],
materias:[
{
Gerais:[
{'Matematica':[5.8,4.9,7.3]},
{'Portugues':[2.9,7.3,8.9]},
{'Geografia':[8.4,6.7,3.7]}
]
},
{
Eletivas:['Artes','Musica']}
]
},
{
_id: 5
nome:'Kiko',
sexo: 'M',
serie: 6,
voluntario: true,
telefones: ['98778876','90006789'],
materias:[
{
Gerais:[
{'Matematica':[7.3,8.0,9.9]},
{'Portugues':[5.3,7.7,7.9]},
{'Geografia':[8.7,5.9,6.0]}
]
},
{
Eletivas:['Desenho','Artes']}
]
}
]
)
--- importação de dados
-- Mockaroo - https://www.mockaroo.com
{
id: 1,
nome: 'Lilian',
sobrenome: 'Nunes',
email: '<EMAIL>'
}
-- segundo caso
{
funcionario:
{
nome: 'Joao',
sobrenome: 'Nunes'
}
dependentes: [
{ nome_completo: '<NAME>',
sexo: 'Masculino'
},
{ nome_completo: '<NAME>',
sexo: 'Feminino'
}
]
}
-- IMPORTANDO ARQUIVOS JSON
mongoimport --stopOnError --db exemplo --collection clientes < "C:\Users\Vithep\Documents\Cursos\TI\NoSQL - Udemy - Nov_2020\MOCK_DATA.json"
-- Modifique o conteudo do arquivo apagando os [ ] e as virgulas no final dos registros
mongoimport --stopOnError --db exemplo --collection clientes < "C:\Users\Vithep\Documents\Cursos\TI\NoSQL - Udemy - Nov_2020\PessoasSimples.json"
-- Importando arquivos com vetores
mongoimport --stopOnError --db exemplo --collection funcionarios < "C:\Users\Vithep\Documents\Cursos\TI\NoSQL - Udemy - Nov_2020\MOCK_DATA(2).json" --jsonArray
---------------
-- Neo4j
---------------
:HELP
:SEVER DISCONNECT
:SERVER CONNECT
:PLAY START
:SERVER STATUS
:SYSINFO
:QUERIES
principais palabras da linguagem CYPHER
CREATE = CRIAR - NODE E RELACIONAMENTO
MATCH = SELECT
RETURN = MOSTRA O VALOR CRIADO (RETORNA)
WHERE = SELECAO
SET = UPDATE
REMOVE = DELETE
MERGE = CRIAR UM OBJETO DERIVADO
LABEL - ANALOGA AO NOME DE UMA TABELA
PROPRIEDADE - ANALOGA AO NOME DE COLUNAS
---INTRODUZINDO O WHERE
MATCH (n) WHERE id(n)=3 RETURN (n)
MATCH (n) WHERE id(n)=8 RETURN (n)
-SO TEM TIME
MATCH (n:TIME) RETURN (n)
-SO DE FUTEBOL
MATCH (n:TIME:FUTEBOL) RETURN (n)
- TRAZENDO TIME ESPECIFICO
MATCH (n) WHERE n.NOME='FLAMENGO' RETURN (n)
- TRAZENDO MAIS DE UM
MATCH (n),(y) WHERE n.NOME='FLAMENGO' AND y.NOME='FLUMINENSE' RETURN n,y
===========================
CREATE (:SELECAO {NOME: 'BRASIL',COR:'VERDE',COR:'AMARELO'})
CREATE (:SELECAO {NOME: 'ARGENTINA',COR:'AZUL',COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'URUGUAI',COR:'AZUL',COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'FRANCA',COR:'AZUL',COR:'BRANCO', COR:'VERMELHO'})
CREATE (:SELECAO {NOME: 'ESPANHA',COR:'VERMELHO',COR:'AMARELO'})
CREATE (:SELECAO {NOME: 'ALEMANHA',COR:'VERMELHO',COR:'AMARELO', COR:'PRETO'})
CREATE (:SELECAO {NOME: 'INGLATERRA',COR:'VERMELHO',COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'ITALIA',COR:'VERDE',COR:'VERMELHO',COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'EUA',COR:'AZUL',COR:'VERMELHO', COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'JAPAO',COR:'BRANCO',COR:'VERMELHO'})
CREATE (:SELECAO {NOME: 'NIGERIA',COR:'VERDE',COR:'BRANCO'})
CREATE (:SELECAO {NOME: 'CANADA',COR:'BRANCO',COR:'VERMELHO'})
CREATE (:SELECAO {NOME: 'COLOMBIA',COR:'AMARELO',COR:'VERMELHO', COR:'AZUL'})
---------------------------------------------
CREATE (:SELECAO {NOME: 'BRASIL',COR:'VERDE,AMARELO'})
CREATE (:SELECAO {NOME: 'ARGENTINA',COR:'AZUL,BRANCO'})
CREATE (:SELECAO {NOME: 'URUGUAI',COR:'AZUL,BRANCO'})
CREATE (:SELECAO {NOME: 'FRANCA',COR:'AZUL,BRANCO,VERMELHO'})
CREATE (:SELECAO {NOME: 'ESPANHA',COR:'VERMELHO,AMARELO'})
CREATE (:SELECAO {NOME: 'ALEMANHA',COR:'VERMELHO,AMARELO,PRETO'})
CREATE (:SELECAO {NOME: 'INGLATERRA',COR:'VERMELHO,BRANCO'})
CREATE (:SELECAO {NOME: 'ITALIA',COR:'VERDE,VERMELHO,BRANCO'})
CREATE (:SELECAO {NOME: 'EUA',COR:'AZUL,VERMELHO,BRANCO'})
CREATE (:SELECAO {NOME: 'JAPAO',COR:'BRANCO,VERMELHO'})
CREATE (:SELECAO {NOME: 'NIGERIA',COR:'VERDE,BRANCO'})
CREATE (:SELECAO {NOME: 'CANADA',COR:'BRANCO,VERMELHO'})
CREATE (:SELECAO {NOME: 'COLOMBIA',COR:'AMARELO,VERMELHO,AZUL'})
------------------------------------------------
MATCH (n) WHERE n.COR CONTAINS "VERMELHO" AND n.COR CONTAINS "BRANCO" RETURN (n)
MATCH (n) WHERE n.COR CONTAINS "VERDE" OR n.COR CONTAINS "ROSA" RETURN (n)
------------------------------------------------
--CRIANDO CONTINENTES
CREATE (:CONTINENTE {NOME: '<NAME>'})
CREATE (:CONTINENTE {NOME: '<NAME>'})
CREATE (:CONTINENTE {NOME: 'EUROPA'})
CREATE (:CONTINENTE {NOME: 'AFRICA'})
CREATE (:CONTINENTE {NOME: 'ASIA'})
----------------------------------------------
--CRIANDO RELACIONAMENTO
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'COLOMBIA' AND C.NOME='AMERICA DO SUL'
CREATE (P)-[R : PERTENCE]->(C)
RETURN P,C,R
--RELACIONAMENTO BIDIMENCIONAL
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'COLOMBIA' AND C.NOME='AMERICA DO SUL'
CREATE (P)<-[R : CONTEM]-(C)
RETURN P,C,R]
--TRAZENDO O RELACIONAMENTO
MATCH (P: SELECAO), (C: CONTINENTE)
WHERE P.NOME = 'COLOMBIA'AND C.NOME = 'AMERICA DO SUL'
RETURN P,C
--OUTRA FORMA
MATCH (P: SELECAO)-[R:PERTENCE]->(C: CONTINENTE)
WHERE P.NOME = 'COLOMBIA'AND C.NOME = 'AMERICA DO SUL'
RETURN P,C,R
--DELETANDO RELACIONAMENTO
MATCH (P:SELECAO)-[R:PERTENCE]->(C:CONTINENTE)
WHERE P.NOME = 'COLOMBIA' AND C.NOME='AMERICA DO SUL'
DELETE R
RETURN P,C
--MERGE (nÃO DUPLICA) (PODE COLOCAR VARIOS RELACIONAMENTOS)
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'COLOMBIA' AND C.NOME='AMERICA DO SUL'
MERGE (P)-[R : PERTENCE]->(C)
RETURN P,C,R
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'BRASIL' AND C.NOME='AMERICA DO SUL'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
--
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'ARGENTINA' AND C.NOME='AMERICA DO SUL'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'URUGUAI' AND C.NOME='AMERICA DO SUL'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'ITALIA' AND C.NOME='EUROPA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'ESPANHA' AND C.NOME='EUROPA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'FRANCA' AND C.NOME='EUROPA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'ALEMANHA' AND C.NOME='EUROPA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'INGLATERRA' AND C.NOME='EUROPA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'EUA' AND C.NOME='AMERICA DO NORTE'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'CANADA' AND C.NOME='AMERICA DO NORTE'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'JAPAO' AND C.NOME='ASIA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S
MATCH (P :SELECAO), (C :CONTINENTE) WHERE P.NOME = 'NIGERIA' AND C.NOME='AFRICA'
MERGE (P)<-[R : CONTEM]-(C)
MERGE (P)-[S : PERTENCE]->(C)
RETURN P,C,R,S |
-- For H2 Database
create table schedules (
id bigserial not null primary key,
planned_schedule_id bigint not null,
start timestamp not null,
end timestamp,
other_details varchar(512),
created_at timestamp not null,
updated_at timestamp not null
)
|
ALTER TABLE reports DROP COLUMN isBlue
|
<gh_stars>1-10
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 25, 2019 at 03:33 AM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `dbsurat`
--
-- --------------------------------------------------------
--
-- Table structure for table `arsip_suratkeluar`
--
CREATE TABLE `arsip_suratkeluar` (
`no_surat` varchar(50) NOT NULL,
`nama_pengirim` varchar(50) NOT NULL,
`tgl_keluar` varchar(50) NOT NULL,
`instansi` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `arsip_suratmasuk`
--
CREATE TABLE `arsip_suratmasuk` (
`no_surat` varchar(20) NOT NULL DEFAULT '',
`nama_penerima` varchar(50) NOT NULL,
`tgl_masuk` date NOT NULL,
`nama_pengirim` varchar(50) NOT NULL,
`instansi` varchar(50) NOT NULL,
`status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `peminjaman`
--
CREATE TABLE `peminjaman` (
`no_perkara` varchar(50) NOT NULL,
`peminjam` varchar(50) NOT NULL,
`tgl_pinjam` varchar(25) NOT NULL,
`tgl_kembali` varchar(25) NOT NULL,
`lama_pinjam` int(5) NOT NULL,
`keterangan` varchar(100) NOT NULL,
`id` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `peminjaman`
--
INSERT INTO `peminjaman` (`no_perkara`, `peminjam`, `tgl_pinjam`, `tgl_kembali`, `lama_pinjam`, `keterangan`, `id`) VALUES
('01/PID.B/2018/PN.KIS', '<NAME>', '2018-12-14', '2018-12-16', 2, '-', 4),
('01/PDT.G/2018/PN.KIS', '<NAME>', '2018-12-10', 'Belum Kembali', 0, '-', 5),
('02/PID.B/2018/PN.KIS', 'Bejo', '2018-12-11', 'Belum Kembali', 0, 'Input ke CTS', 6);
-- --------------------------------------------------------
--
-- Table structure for table `surat_keluar`
--
CREATE TABLE `surat_keluar` (
`no_surat` varchar(20) NOT NULL,
`nama_pengirim` text NOT NULL,
`tgl_keluar` date NOT NULL,
`instansi` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `surat_keluar`
--
INSERT INTO `surat_keluar` (`no_surat`, `nama_pengirim`, `tgl_keluar`, `instansi`) VALUES
('12345', 'Kumala', '2019-01-30', 'Kantor Polres'),
('15220413', 'R<NAME>', '2019-01-31', 'Kantor Samsat'),
('15220452', 'Eci Syafitri Sirait', '2019-02-06', 'Kantor Pengadilan Negri Kisara'),
('15229496', 'Novi Kumala', '2019-01-23', 'Kantor DPRD');
-- --------------------------------------------------------
--
-- Table structure for table `surat_masuk`
--
CREATE TABLE `surat_masuk` (
`no_surat` varchar(50) NOT NULL DEFAULT '',
`nama_penerima` varchar(50) NOT NULL,
`tgl_masuk` date NOT NULL,
`nama_pengirim` varchar(50) NOT NULL,
`instansi` varchar(50) NOT NULL,
`status` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `surat_masuk`
--
INSERT INTO `surat_masuk` (`no_surat`, `nama_penerima`, `tgl_masuk`, `nama_pengirim`, `instansi`, `status`) VALUES
('133snsn', 'snsnns', '2019-01-10', 'gshhs', 'jjjjjjjj', 'Ada'),
('15220406', 'Novi Kumala', '2019-01-30', 'Rizki You Arda', 'Kantor Samsat', 'Ada'),
('15220413', 'Eci Syafitri Sirait', '2019-01-30', 'Novi Kumala', 'Kantor Pengadilan Negri Kisaran', 'Ada'),
('15220865', 'R<NAME>', '2019-01-28', 'Eci Syafitri Sirait', 'Kantor DPRD', 'Tidak ada ');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`username` varchar(25) NOT NULL,
`paswd` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`nama` varchar(50) NOT NULL,
`level` int(1) NOT NULL,
`ket` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`username`, `paswd`, `email`, `nama`, `level`, `ket`) VALUES
('admin', '<PASSWORD>', '<EMAIL>', '<NAME>', 1, 'Staff Kepaniteraan Hukum');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `arsip_suratkeluar`
--
ALTER TABLE `arsip_suratkeluar`
ADD PRIMARY KEY (`no_surat`);
--
-- Indexes for table `arsip_suratmasuk`
--
ALTER TABLE `arsip_suratmasuk`
ADD PRIMARY KEY (`no_surat`);
--
-- Indexes for table `peminjaman`
--
ALTER TABLE `peminjaman`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `surat_keluar`
--
ALTER TABLE `surat_keluar`
ADD PRIMARY KEY (`no_surat`);
--
-- Indexes for table `surat_masuk`
--
ALTER TABLE `surat_masuk`
ADD PRIMARY KEY (`no_surat`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `peminjaman`
--
ALTER TABLE `peminjaman`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
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 */;
|
/*
SQLyog Ultimate v11.11 (64 bit)
MySQL - 5.5.5-10.1.29-MariaDB : Database - cms_codeigniter
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`cms_codeigniter` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_spanish_ci */;
USE `cms_codeigniter`;
/*Table structure for table `permissions` */
DROP TABLE IF EXISTS `permissions`;
CREATE TABLE `permissions` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`name` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `permissions` */
insert into `permissions`(`id`,`title`,`name`) values (1,'Público','public'),(2,'Registrado','registered');
/*Table structure for table `role_permissions` */
DROP TABLE IF EXISTS `role_permissions`;
CREATE TABLE `role_permissions` (
`role` int(10) unsigned DEFAULT NULL,
`permission` int(10) unsigned DEFAULT NULL,
`value` tinyint(1) unsigned DEFAULT '0',
UNIQUE KEY `role` (`role`,`permission`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `role_permissions` */
insert into `role_permissions`(`role`,`permission`,`value`) values (1,1,1),(1,2,0);
/*Table structure for table `roles` */
DROP TABLE IF EXISTS `roles`;
CREATE TABLE `roles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`role` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `roles` */
insert into `roles`(`id`,`role`) values (1,'Prueba');
/*Table structure for table `template` */
DROP TABLE IF EXISTS `template`;
CREATE TABLE `template` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`description` varchar(255) COLLATE utf8_spanish_ci DEFAULT NULL,
`panel` enum('backend','frontend','','') COLLATE utf8_spanish_ci NOT NULL,
`default` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `panel` (`panel`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `template` */
insert into `template`(`id`,`name`,`description`,`panel`,`default`) values (1,'default','Template frontend','frontend',1),(2,'default','Template backend','backend',1);
/*Table structure for table `test` */
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`direccion` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `test` */
insert into `test`(`id`,`nombre`,`direccion`) values (1,'nombre 1','Direccion 1'),(2,'Nombre 2','Direccion 2');
/*Table structure for table `user` */
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(150) COLLATE utf8_spanish_ci DEFAULT NULL,
`email` varchar(150) COLLATE utf8_spanish_ci DEFAULT NULL,
`user` varchar(30) COLLATE utf8_spanish_ci DEFAULT NULL,
`password` varchar(256) COLLATE utf8_spanish_ci DEFAULT NULL,
`role` int(10) unsigned DEFAULT NULL,
`status` tinyint(1) DEFAULT '0',
`active` tinyint(1) DEFAULT '0',
`last_login` datetime DEFAULT '0000-00-00 00:00:00',
`created` int(10) unsigned DEFAULT '0',
`create_at` datetime DEFAULT '0000-00-00 00:00:00',
`modified` int(10) unsigned DEFAULT '0',
`modified_at` datetime DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `user` */
insert into `user`(`id`,`name`,`email`,`user`,`password`,`role`,`status`,`active`,`last_login`,`created`,`create_at`,`modified`,`modified_at`) values (1,'Prueba','<EMAIL>','<PASSWORD>','<PASSWORD> ',1,1,1,'0000-00-00 00:00:00',0,'0000-00-00 00:00:00',0,'0000-00-00 00:00:00');
/*Table structure for table `user_permissions` */
DROP TABLE IF EXISTS `user_permissions`;
CREATE TABLE `user_permissions` (
`user` int(10) unsigned DEFAULT NULL,
`permission` int(10) unsigned DEFAULT NULL,
`value` tinyint(1) unsigned DEFAULT '0',
UNIQUE KEY `user` (`user`,`permission`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
/*Data for the table `user_permissions` */
insert into `user_permissions`(`user`,`permission`,`value`) values (1,2,1);
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
<filename>sqitch/verify/data/resigning-from-the-perl-foundation.sql
-- Verify ovid:data/resigning-from-the-perl-foundation on sqlite
BEGIN;
-- XXX Add verifications here.
ROLLBACK;
|
<gh_stars>100-1000
CREATE TABLE site_rss (
site_id int(11) NOT NULL,
feed_url varchar(1024) NOT NULL,
last_modified DATETIME NOT NULL,
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`site_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
CREATE TABLE subdivision_TJ (id VARCHAR(6) NOT NULL, name VARCHAR(255), level VARCHAR(64) NOT NULL, PRIMARY KEY(id));
INSERT INTO "subdivision_TJ" ("id", "name", "level") VALUES (E'TJ-GB', E'Gorno-Badakhshan Autonomous Province', E'autonomous region');
INSERT INTO "subdivision_TJ" ("id", "name", "level") VALUES (E'TJ-KT', E'Khatlon Province', E'region');
INSERT INTO "subdivision_TJ" ("id", "name", "level") VALUES (E'TJ-SU', E'Sughd Province', E'region');
|
<gh_stars>1-10
INSERT INTO sqlexec.src(title) VALUES(${title})
|
/*
Navicat Premium Data Transfer
Source Server : gp-local
Source Server Type : SQL Server
Source Server Version : 13004001
Source Host : localhost:1433
Source Catalog : gp
Source Schema : dbo
Target Server Type : SQL Server
Target Server Version : 13004001
File Encoding : 65001
Date: 29/12/2017 17:34:39
*/
-- ----------------------------
-- Table structure for orders
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[orders]') AND type IN ('U'))
DROP TABLE [dbo].[orders]
GO
CREATE TABLE [dbo].[orders] (
[order_id] bigint IDENTITY(1,1) NOT NULL,
[create_datetime] datetime NOT NULL,
[user_id] bigint NOT NULL,
[stock_id] int NOT NULL,
[type] int NOT NULL,
[price] money NOT NULL,
[undealed] int NOT NULL,
[dealed] int NOT NULL,
[canceled] int NOT NULL
)
GO
ALTER TABLE [dbo].[orders] SET (LOCK_ESCALATION = TABLE)
GO
EXEC sp_addextendedproperty
'MS_Description', N'订单id',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'order_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'订单创建时间',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'create_datetime'
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户id',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'user_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'股票id',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'stock_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'订单类型:
0为买入
1为卖出',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'type'
GO
EXEC sp_addextendedproperty
'MS_Description', N'订单价格',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'price'
GO
EXEC sp_addextendedproperty
'MS_Description', N'未成交数量',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'undealed'
GO
EXEC sp_addextendedproperty
'MS_Description', N'已成交数量',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'dealed'
GO
EXEC sp_addextendedproperty
'MS_Description', N'取消数量',
'SCHEMA', N'dbo',
'TABLE', N'orders',
'COLUMN', N'canceled'
GO
-- ----------------------------
-- Table structure for stocks
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[stocks]') AND type IN ('U'))
DROP TABLE [dbo].[stocks]
GO
CREATE TABLE [dbo].[stocks] (
[stock_id] int IDENTITY(100000,1) NOT NULL,
[name] varchar(255) COLLATE Chinese_PRC_CI_AS NOT NULL,
[price] money NOT NULL
)
GO
ALTER TABLE [dbo].[stocks] SET (LOCK_ESCALATION = TABLE)
GO
EXEC sp_addextendedproperty
'MS_Description', N'股票id',
'SCHEMA', N'dbo',
'TABLE', N'stocks',
'COLUMN', N'stock_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'股票名称',
'SCHEMA', N'dbo',
'TABLE', N'stocks',
'COLUMN', N'name'
GO
EXEC sp_addextendedproperty
'MS_Description', N'股票价格',
'SCHEMA', N'dbo',
'TABLE', N'stocks',
'COLUMN', N'price'
GO
-- ----------------------------
-- Table structure for transactions
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[transactions]') AND type IN ('U'))
DROP TABLE [dbo].[transactions]
GO
CREATE TABLE [dbo].[transactions] (
[trans_id] bigint IDENTITY(1,1) NOT NULL,
[create_datetime] datetime NOT NULL,
[buy_order_id] bigint NOT NULL,
[sell_order_id] bigint NOT NULL,
[dealed] int NOT NULL,
[stock_id] int NOT NULL,
[deal_price] money NOT NULL,
[type] int NOT NULL
)
GO
ALTER TABLE [dbo].[transactions] SET (LOCK_ESCALATION = TABLE)
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交id',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'trans_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交创建时间',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'create_datetime'
GO
EXEC sp_addextendedproperty
'MS_Description', N'买入订单id',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'buy_order_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'卖出订单id',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'sell_order_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交数量',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'dealed'
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交股票id',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'stock_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交价格',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'deal_price'
GO
EXEC sp_addextendedproperty
'MS_Description', N'成交类型',
'SCHEMA', N'dbo',
'TABLE', N'transactions',
'COLUMN', N'type'
GO
-- ----------------------------
-- Table structure for user_positions
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_positions]') AND type IN ('U'))
DROP TABLE [dbo].[user_positions]
GO
CREATE TABLE [dbo].[user_positions] (
[user_id] bigint NOT NULL,
[stock_id] int NOT NULL,
[num_free] int NOT NULL,
[num_freezed] int NOT NULL
)
GO
ALTER TABLE [dbo].[user_positions] SET (LOCK_ESCALATION = TABLE)
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户id',
'SCHEMA', N'dbo',
'TABLE', N'user_positions',
'COLUMN', N'user_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'股票id',
'SCHEMA', N'dbo',
'TABLE', N'user_positions',
'COLUMN', N'stock_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'具有的可用股票数量',
'SCHEMA', N'dbo',
'TABLE', N'user_positions',
'COLUMN', N'num_free'
GO
EXEC sp_addextendedproperty
'MS_Description', N'冻结的股票数量',
'SCHEMA', N'dbo',
'TABLE', N'user_positions',
'COLUMN', N'num_freezed'
GO
-- ----------------------------
-- Table structure for users
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[users]') AND type IN ('U'))
DROP TABLE [dbo].[users]
GO
CREATE TABLE [dbo].[users] (
[user_id] bigint IDENTITY(10000000,1) NOT NULL,
[name] nvarchar(255) COLLATE Chinese_PRC_CI_AS NOT NULL,
[login_name] varchar(255) COLLATE Chinese_PRC_CI_AS NOT NULL,
[passwd] varchar(255) COLLATE Chinese_PRC_CI_AS NOT NULL,
[type] int NOT NULL,
[cny_free] money NOT NULL,
[cny_freezed] money NOT NULL
)
GO
ALTER TABLE [dbo].[users] SET (LOCK_ESCALATION = TABLE)
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户的id',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'user_id'
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户姓名',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'name'
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户登录名',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'login_name'
GO
EXEC sp_addextendedproperty
'MS_Description', N'登录密码',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'passwd'
GO
EXEC sp_addextendedproperty
'MS_Description', N'用户类型:
0为普通用户
1为系统管理员',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'type'
GO
EXEC sp_addextendedproperty
'MS_Description', N'具有的可用人民币数量',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'cny_free'
GO
EXEC sp_addextendedproperty
'MS_Description', N'冻结的人民币数量',
'SCHEMA', N'dbo',
'TABLE', N'users',
'COLUMN', N'cny_freezed'
GO
-- ----------------------------
-- Procedure structure for exec_order
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[exec_order]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[exec_order]
GO
CREATE PROCEDURE [dbo].[exec_order]
@user_id AS bigint ,
@stock_id AS INT ,
@type AS INT ,
@price AS money ,
@amount AS INT
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
BEGIN TRAN
BEGIN TRY
IF @type = 0
BEGIN
IF (SELECT cny_free FROM users WHERE user_id = @user_id) >= @price * @amount
BEGIN
UPDATE users SET cny_free = cny_free - @price * @amount, cny_freezed = cny_freezed + @price * @amount WHERE user_id = @user_id
END
ELSE
BEGIN
COMMIT TRAN
SELECT -1
END
END
ELSE
BEGIN
IF (SELECT num_free FROM user_positions WHERE user_id = @user_id AND stock_id = @stock_id) >= @amount
BEGIN
UPDATE user_positions SET num_free = num_free - @amount, num_freezed = num_freezed + @amount WHERE user_id = @user_id AND stock_id = @stock_id
END
ELSE
BEGIN
COMMIT TRAN
SELECT -2
END
END
INSERT INTO orders VALUES(GETDATE(), @user_id, @stock_id, @type, @price, @amount, 0, 0)
COMMIT TRAN
SELECT 0
END TRY
BEGIN CATCH
PRINT ERROR_MESSAGE()
ROLLBACK TRAN
SELECT -3
END CATCH
END
GO
-- ----------------------------
-- Procedure structure for cancel_order
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[cancel_order]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[cancel_order]
GO
CREATE PROCEDURE [dbo].[cancel_order]
@user_id AS bigint ,
@order_id AS bigint
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
BEGIN TRAN
BEGIN TRY
DECLARE @stock_id bigint, @type int, @undealed int, @canceled int, @price money
SELECT @stock_id = stock_id, @type = type, @undealed = undealed, @canceled = canceled, @price = price FROM orders WHERE order_id = @order_id
UPDATE orders SET canceled = @undealed, undealed = 0 WHERE order_id = @order_id
IF @type = 0
BEGIN
UPDATE users SET cny_free = cny_free + @price * @undealed, cny_freezed = cny_freezed - @price * @undealed WHERE user_id = @user_id
END
ELSE
BEGIN
UPDATE user_positions SET num_free = num_free + @undealed, num_freezed = num_freezed - @undealed WHERE user_id = @user_id AND stock_id = @stock_id
END
COMMIT
SELECT 0
END TRY
BEGIN CATCH
PRINT ERROR_MESSAGE()
ROLLBACK TRAN
SELECT -1
END CATCH
END
GO
-- ----------------------------
-- Procedure structure for user_stock
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_stock]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_stock]
GO
CREATE PROCEDURE [dbo].[user_stock]
@user_id AS bigint
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
SELECT stock_id, num_free, num_freezed FROM user_positions WHERE @user_id = user_id ORDER BY stock_id
END
GO
-- ----------------------------
-- Procedure structure for user_cny
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_cny]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_cny]
GO
CREATE PROCEDURE [dbo].[user_cny]
@user_id AS bigint ,
@cny_free AS money OUTPUT ,
@cny_freezed AS money OUTPUT ,
@gp_money AS money OUTPUT
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
SELECT @cny_free = cny_free FROM users WHERE @user_id = user_id
SELECT @cny_freezed = cny_freezed FROM users WHERE @user_id = user_id
DECLARE @stock_id INT, @num_free INT, @num_freezed INT, @price money
DECLARE @t TABLE(stock_id INT, num_free INT, num_freezed INT)
set @price = 0
set @gp_money = 0
INSERT INTO @t EXEC user_stock @user_id
DECLARE tt CURSOR FOR SELECT * FROM @t
OPEN tt
WHILE 1 > 0
BEGIN
FETCH NEXT FROM tt INTO @stock_id, @num_free, @num_freezed
IF @@FETCH_STATUS != 0 BREAK
SELECT @price = price FROM stocks WHERE @stock_id = stock_id
SET @gp_money = @gp_money + @price * (@num_free + @num_freezed)
END
CLOSE tt
DEALLOCATE tt
END
GO
-- ----------------------------
-- Procedure structure for user_order
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_order]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_order]
GO
CREATE PROCEDURE [dbo].[user_order]
@user_id AS bigint
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
SELECT * FROM orders WHERE user_id = @user_id
END
GO
-- ----------------------------
-- Procedure structure for stock_depth
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[stock_depth]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[stock_depth]
GO
CREATE PROCEDURE [dbo].[stock_depth]
@stock_id AS int ,
@type AS int
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
SELECT price, num = SUM(undealed) FROM orders WHERE stock_id = @stock_id AND type = @type AND undealed > 0 GROUP BY price ORDER BY price, num
END
GO
-- ----------------------------
-- Procedure structure for user_login
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_login]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_login]
GO
CREATE PROCEDURE [dbo].[user_login]
@login_name AS varchar(255) ,
@passwd AS varchar(255) ,
@user_id AS bigint OUTPUT ,
@name AS nvarchar(255) OUTPUT ,
@type AS int OUTPUT
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
IF EXISTS(SELECT * FROM users WHERE login_name = @login_name AND passwd = @passwd)
BEGIN
SELECT @user_id = user_id, @name = name, @type = type FROM users WHERE login_name = @login_name AND passwd = @passwd
RETURN 0
END
ELSE
RETURN -1
END
GO
-- ----------------------------
-- Procedure structure for user_create
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_create]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_create]
GO
CREATE PROCEDURE [dbo].[user_create]
@login_name AS varchar(255) ,
@passwd AS varchar(255) ,
@name AS nvarchar(255) ,
@type AS int ,
@cny_free AS money = 0
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
IF EXISTS(SELECT * FROM users WHERE login_name = @login_name)
SELECT -1
ELSE
BEGIN
INSERT INTO users VALUES(@name, @login_name, @passwd, @type, @cny_free, 0)
SELECT 0
END
END
GO
-- ----------------------------
-- Procedure structure for user_repasswd
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[user_repasswd]') AND type IN ('P', 'PC', 'RF', 'X'))
DROP PROCEDURE[dbo].[user_repasswd]
GO
CREATE PROCEDURE [dbo].[user_repasswd]
@user_id AS bigint ,
@old_passwd AS varchar(255) ,
@new_passwd AS varchar(255)
AS
BEGIN
-- routine body goes here, e.g.
-- SELECT 'Navicat for SQL Server'
IF EXISTS(SELECT * FROM users WHERE user_id = @user_id AND passwd = <PASSWORD>)
BEGIN
UPDATE users SET passwd = <PASSWORD> WHERE user_id = @user_id
SELECT 0
END
ELSE
SELECT -1
END
GO
-- ----------------------------
-- Triggers structure for table orders
-- ----------------------------
CREATE TRIGGER [dbo].[make_transactions]
ON [dbo].[orders]
WITH EXECUTE AS CALLER
FOR INSERT
AS
BEGIN
-- Type the SQL Here.
DECLARE @order_id bigint, @user_id bigint, @stock_id INT,
@type INT, @price money, @undealed INT, @dealed INT, @canceled INT
DECLARE @temp_order_id bigint, @temp_order_undealed INT,
@temp_order_dealed INT, @temp_price MONEY, @temp_user_id bigint
SELECT @order_id = order_id, @user_id = user_id, @stock_id = stock_id,
@type = type, @price = price, @undealed = undealed,
@dealed = dealed, @canceled = canceled
FROM inserted
IF @type = 0
BEGIN
DECLARE temp_orders CURSOR FOR
SELECT user_id, price, order_id, undealed, dealed
FROM orders
WHERE type = 1 AND stock_id = @stock_id AND
price <= @price AND undealed > 0
ORDER BY price DESC, order_id
OPEN temp_orders
END
ELSE
BEGIN
DECLARE temp_orders CURSOR FOR
SELECT user_id, price, order_id, undealed, dealed
FROM orders
WHERE type = 0 AND stock_id = @stock_id AND
price >= @price AND undealed > 0
ORDER BY price, order_id
OPEN temp_orders
END
BEGIN TRAN
BEGIN TRY
WHILE @undealed > 0
BEGIN
FETCH NEXT FROM temp_orders INTO
@temp_user_id, @temp_price, @temp_order_id, @temp_order_undealed, @temp_order_dealed
IF @@FETCH_STATUS != 0 BREAK
DECLARE @temp_deal INT
SET @temp_deal = @undealed - @temp_order_undealed
IF @temp_deal < 0
SET @temp_deal = @undealed
ELSE
SET @temp_deal = @temp_order_undealed
SET @dealed = @dealed + @temp_deal
SET @undealed = @undealed - @temp_deal
SET @temp_order_dealed = @temp_order_dealed + @temp_deal
SET @temp_order_undealed = @temp_order_undealed - @temp_deal
IF @type = 0
BEGIN
UPDATE orders SET dealed = @temp_order_dealed, undealed = @temp_order_undealed
WHERE order_id = @temp_order_id
INSERT INTO transactions VALUES(GETDATE(), @order_id, @temp_order_id, @temp_deal, @stock_id, @price, @type)
UPDATE stocks SET price = @price WHERE stock_id = @stock_id
IF EXISTS(SELECT * FROM user_positions WHERE user_id = @user_id AND stock_id = @stock_id)
UPDATE user_positions SET num_free = num_free + @temp_deal
WHERE user_id = @user_id AND stock_id = @stock_id
ELSE BEGIN
INSERT user_positions
VALUES(@user_id, @stock_id, @temp_deal, 0)
END
UPDATE users SET cny_freezed = cny_freezed - @temp_deal * @price
WHERE user_id = @user_id
UPDATE users SET cny_free = cny_free + @temp_deal * @price
WHERE user_id = @temp_user_id
UPDATE user_positions SET num_freezed = num_freezed - @temp_deal
WHERE user_id = @temp_user_id AND stock_id = @stock_id
END
ELSE
BEGIN
UPDATE orders SET dealed = @temp_order_dealed, undealed = @temp_order_undealed
WHERE order_id = @temp_order_id
INSERT INTO transactions VALUES(GETDATE(), @temp_order_id, @order_id, @temp_deal, @stock_id, @temp_price, @type)
UPDATE stocks SET price = @temp_price WHERE stock_id = @stock_id
IF EXISTS(SELECT * FROM user_positions WHERE user_id = @temp_user_id AND stock_id = @stock_id)
UPDATE user_positions SET num_free=num_free + @temp_deal
WHERE user_id = @temp_user_id AND stock_id = @stock_id
ELSE
INSERT user_positions
VALUES(@temp_user_id, @stock_id, @temp_deal, 0)
UPDATE users SET cny_free = cny_free + @temp_deal * (@temp_price - @price), cny_freezed = cny_freezed - @temp_deal * @temp_price
WHERE user_id = @temp_user_id
UPDATE users SET cny_free = cny_free + @temp_deal * @price
WHERE user_id = @user_id
UPDATE user_positions SET num_freezed = num_freezed - @temp_deal
WHERE user_id = @user_id AND stock_id = @stock_id
END
END
UPDATE orders SET dealed = @dealed, undealed = @undealed
WHERE order_id = @order_id
CLOSE temp_orders
DEALLOCATE temp_orders
COMMIT TRAN
END TRY
BEGIN CATCH
PRINT ERROR_MESSAGE()
END CATCH
END
GO
-- ----------------------------
-- Primary Key structure for table orders
-- ----------------------------
ALTER TABLE [dbo].[orders] ADD CONSTRAINT [PK__orders__465962292BAC4855] PRIMARY KEY CLUSTERED ([order_id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
ON [PRIMARY]
GO
-- ----------------------------
-- Primary Key structure for table stocks
-- ----------------------------
ALTER TABLE [dbo].[stocks] ADD CONSTRAINT [PK__stocks__E86668628588C636] PRIMARY KEY CLUSTERED ([stock_id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
ON [PRIMARY]
GO
-- ----------------------------
-- Primary Key structure for table transactions
-- ----------------------------
ALTER TABLE [dbo].[transactions] ADD CONSTRAINT [PK__transact__438CAC181F7B8BBA] PRIMARY KEY CLUSTERED ([trans_id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
ON [PRIMARY]
GO
-- ----------------------------
-- Primary Key structure for table user_positions
-- ----------------------------
ALTER TABLE [dbo].[user_positions] ADD CONSTRAINT [PK__user_pos__87385189C0797B3B] PRIMARY KEY CLUSTERED ([user_id], [stock_id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
ON [PRIMARY]
GO
-- ----------------------------
-- Primary Key structure for table users
-- ----------------------------
ALTER TABLE [dbo].[users] ADD CONSTRAINT [PK__users__B9BE370FB100A511] PRIMARY KEY CLUSTERED ([user_id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
ON [PRIMARY]
GO
-- ----------------------------
-- Foreign Keys structure for table orders
-- ----------------------------
ALTER TABLE [dbo].[orders] ADD CONSTRAINT [FK_orders_users] FOREIGN KEY ([user_id]) REFERENCES [users] ([user_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
ALTER TABLE [dbo].[orders] ADD CONSTRAINT [FK_orders_stocks] FOREIGN KEY ([stock_id]) REFERENCES [stocks] ([stock_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
-- ----------------------------
-- Foreign Keys structure for table transactions
-- ----------------------------
ALTER TABLE [dbo].[transactions] ADD CONSTRAINT [FK_transactions_orders_buy] FOREIGN KEY ([buy_order_id]) REFERENCES [orders] ([order_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
ALTER TABLE [dbo].[transactions] ADD CONSTRAINT [FK_transactions_orders_sell] FOREIGN KEY ([sell_order_id]) REFERENCES [orders] ([order_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
ALTER TABLE [dbo].[transactions] ADD CONSTRAINT [FK_transactions_stocks] FOREIGN KEY ([stock_id]) REFERENCES [stocks] ([stock_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
-- ----------------------------
-- Foreign Keys structure for table user_positions
-- ----------------------------
ALTER TABLE [dbo].[user_positions] ADD CONSTRAINT [FK_user_positions_users] FOREIGN KEY ([user_id]) REFERENCES [users] ([user_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
ALTER TABLE [dbo].[user_positions] ADD CONSTRAINT [FK_user_positions_stocks] FOREIGN KEY ([stock_id]) REFERENCES [stocks] ([stock_id]) ON DELETE NO ACTION ON UPDATE NO ACTION
GO
|
SELECT * FROM DA
WHERE date BETWEEN '2020-12-31' AND '2021-01-02' |
<gh_stars>10-100
ALTER TABLE guild_rank CHANGE COLUMN rid rid TINYINT(1) UNSIGNED NOT NULL;
ALTER TABLE guild_bank_right CHANGE COLUMN rid rid TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
-- DB/TARGER POSITION: Fix all target position erros on startup
-- After a while I dono why this spell targer are there, sobetter delete it, maybe is for 4.1 or orther clients
DELETE FROM `spell_target_position` WHERE `id` IN (11011,35376,35727,55554,88775);
|
<reponame>samuraitruong/core4r<filename>Sources/Databases/Core4R.Db.Sql/Tables/UserProfile.sql<gh_stars>0
/*
The database must have a MEMORY_OPTIMIZED_DATA filegroup
before the memory optimized object can be created.
The bucket count should be set to about two times the
maximum expected number of distinct values in the
index key, rounded up to the nearest power of two.
*/
CREATE TABLE [dbo].[UserProfile]
(
[UserId] INT NOT NULL PRIMARY KEY,-- NONCLUSTERED HASH WITH (BUCKET_COUNT = 131072),
[Firstname] NVARCHAR(50) NULL,
[Lastname] NVARCHAR(50) NULL,
[CreatedDate] DATETIME NOT NULL,
[LastModifiedDate] DATETIME NOT NULL,
[FacebookId] NVARCHAR(50) NULL,
[StatusId] INT NULL,
CONSTRAINT [FK_UserProfile_UserID] FOREIGN KEY (UserID) REFERENCES [User]([UserID]),
CONSTRAINT [FK_UserProfile_UserStatusID]
FOREIGN KEY (StatusId)
REFERENCES UserStatus (StatusId)
) --WITH (MEMORY_OPTIMIZED = ON) |
<gh_stars>0
ALTER DATABASE mmcpherson5 CHARACTER SET utf8 COLLATE utf8_unicode_ci;
DROP TABLE IF EXISTS comment;
DROP TABLE IF EXISTS pen;
DROP TABLE IF EXISTS profile;
CREATE TABLE profile (
profileId BINARY(16) NOT NULL,
profileActivationToken CHAR(32),
-- Avatars stored in file system, DB stores the FILEPATH
-- VARCHAR VALUE ???
profileAvatar VARCHAR(512),
profileEmail VARCHAR(128) NOT NULL,
-- profileIsPro acts as a bool to check Pro account status
profileIsPro TINYINT NOT NULL,
profileName VARCHAR(32) NOT NULL,
profileUsername VARCHAR(32) NOT NULL,
UNIQUE(profileId),
UNIQUE(profileEmail),
PRIMARY KEY(profileId)
);
CREATE TABLE pen (
penId BINARY(16) NOT NULL,
penProfileId BINARY(16) NOT NULL,
-- pen code content attrs work like profileAvatar
penHtmlContent VARCHAR(6553),
penCssContent VARCHAR(6553),
penJsContent VARCHAR(6553),
penName VARCHAR(64),
UNIQUE(penId),
INDEX(penProfileId),
FOREIGN KEY(penProfileId) REFERENCES profile(profileId),
PRIMARY KEY(penId)
);
CREATE TABLE comment (
commentProfileId BINARY(16) NOT NULL,
commentPenId BINARY(16) NOT NULL,
-- commentContent also stores filepath
commentContent VARCHAR(4096),
commentDateTime DATETIME(6),
-- commentId BINARY(16) NOT NULL, <-not needed ???
INDEX(commentProfileId),
INDEX(commentPenId),
FOREIGN KEY(commentProfileId) REFERENCES profile(profileId),
FOREIGN KEY(commentPenId) REFERENCES pen(penId),
PRIMARY KEY(commentProfileId, commentPenId)
); |
/*
Navicat MySQL Data Transfer
Source Server : hui_project
Source Server Version : 50628
Source Host : localhost:3306
Source Database : hui_project
Target Server Type : MYSQL
Target Server Version : 50628
File Encoding : 65001
Date: 2018-05-20 22:05:50
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for console_consumer_category
-- ----------------------------
DROP TABLE IF EXISTS `console_consumer_category`;
CREATE TABLE `console_consumer_category` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`code` varchar(64) NOT NULL COMMENT '编码',
`name` varchar(64) NOT NULL DEFAULT '默认分类' COMMENT '分类名称',
`status` int(4) NOT NULL DEFAULT '1' COMMENT '状态(1:启用 2:停用)',
`parent_code` varchar(64) NOT NULL COMMENT '父编码',
`create_user` varchar(32) NOT NULL DEFAULT '0' COMMENT '创建者',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_user` varchar(32) NOT NULL DEFAULT '0' COMMENT '更新者',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
`del_flag` int(4) NOT NULL DEFAULT '1' COMMENT '删除标志',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of console_consumer_category
-- ----------------------------
INSERT INTO `console_consumer_category` VALUES ('1', '01', '食品烟酒', '1', '0', '0', '2018-01-11 09:47:02', '0', '2018-01-11 09:47:02', '1');
INSERT INTO `console_consumer_category` VALUES ('2', '02', '衣着', '1', '0', '0', '2018-01-11 09:47:48', '0', '2018-01-11 09:47:48', '1');
INSERT INTO `console_consumer_category` VALUES ('3', '03', '居住', '1', '0', '0', '2018-01-11 09:48:09', '0', '2018-01-11 09:48:09', '1');
INSERT INTO `console_consumer_category` VALUES ('4', '04', '生活及服务', '1', '0', '0', '2018-01-11 09:48:47', '0', '2018-01-11 09:48:47', '1');
INSERT INTO `console_consumer_category` VALUES ('5', '05', '交通和通信', '1', '0', '0', '2018-01-11 09:49:25', '0', '2018-01-11 09:49:25', '1');
INSERT INTO `console_consumer_category` VALUES ('6', '06', '教育、文化和娱乐', '1', '0', '0', '2018-01-11 09:50:22', '0', '2018-01-11 09:50:22', '1');
INSERT INTO `console_consumer_category` VALUES ('7', '07', '医疗保健', '1', '0', '0', '2018-01-11 09:50:48', '0', '2018-01-11 09:50:48', '1');
INSERT INTO `console_consumer_category` VALUES ('8', '08', '收入', '1', '0', '0', '2018-01-11 09:51:17', '0', '2018-01-11 09:51:17', '1');
INSERT INTO `console_consumer_category` VALUES ('9', '0101', '食品', '1', '01', '0', '2018-01-11 09:52:26', '0', '2018-01-11 09:52:26', '1');
INSERT INTO `console_consumer_category` VALUES ('10', '0102', '饮料(不含酒精)', '1', '01', '0', '2018-01-11 09:53:17', '0', '2018-01-11 09:53:17', '1');
INSERT INTO `console_consumer_category` VALUES ('11', '0103', '烟酒', '1', '01', '0', '2018-01-11 09:53:59', '0', '2018-01-11 09:53:59', '1');
INSERT INTO `console_consumer_category` VALUES ('12', '0104', '饮食', '1', '01', '0', '2018-01-11 09:54:22', '0', '2018-01-11 09:54:22', '1');
INSERT INTO `console_consumer_category` VALUES ('13', '0105', '其他', '1', '01', '0', '2018-01-11 09:55:45', '0', '2018-01-11 09:55:45', '1');
INSERT INTO `console_consumer_category` VALUES ('14', '0201', '衣类', '1', '02', '0', '2018-01-11 09:56:32', '0', '2018-01-11 09:56:32', '1');
INSERT INTO `console_consumer_category` VALUES ('15', '0202', '鞋类', '1', '02', '0', '2018-01-11 09:57:36', '0', '2018-01-11 09:57:36', '1');
INSERT INTO `console_consumer_category` VALUES ('16', '0203', '其他', '1', '02', '0', '2018-01-11 09:58:20', '0', '2018-01-11 09:58:20', '1');
INSERT INTO `console_consumer_category` VALUES ('17', '0301', '租赁房房租', '1', '03', '0', '2018-01-11 09:59:04', '0', '2018-01-11 09:59:04', '1');
INSERT INTO `console_consumer_category` VALUES ('18', '0302', '住房保养、维修及管理 ', '1', '03', '0', '2018-01-11 09:59:37', '0', '2018-01-11 09:59:37', '1');
INSERT INTO `console_consumer_category` VALUES ('19', '0303', '水、电、燃料', '1', '03', '0', '2018-01-11 10:00:40', '0', '2018-01-11 10:00:40', '1');
INSERT INTO `console_consumer_category` VALUES ('20', '0304', '其他', '1', '03', '0', '2018-01-11 10:02:17', '0', '2018-01-11 10:02:17', '1');
INSERT INTO `console_consumer_category` VALUES ('21', '0401', '家具及室内装饰品', '1', '04', '0', '2018-01-11 10:07:56', '0', '2018-01-11 10:07:56', '1');
INSERT INTO `console_consumer_category` VALUES ('22', '0402', '家用器具', '1', '04', '0', '2018-01-11 10:08:29', '0', '2018-01-11 10:08:29', '1');
INSERT INTO `console_consumer_category` VALUES ('23', '0403', '家用纺织品', '1', '04', '0', '2018-01-11 10:08:51', '0', '2018-01-11 10:08:51', '1');
INSERT INTO `console_consumer_category` VALUES ('24', '0404', '家庭日用', '1', '04', '0', '2018-01-11 10:08:52', '0', '2018-01-11 10:08:52', '1');
INSERT INTO `console_consumer_category` VALUES ('25', '0405', '个人', '1', '04', '0', '2018-01-11 10:10:22', '0', '2018-01-11 10:10:22', '1');
INSERT INTO `console_consumer_category` VALUES ('26', '0406', '家庭服务', '1', '04', '0', '2018-01-11 10:11:22', '0', '2018-01-11 10:11:22', '1');
INSERT INTO `console_consumer_category` VALUES ('27', '0407', '其他', '1', '04', '0', '2018-01-11 10:11:35', '0', '2018-01-11 10:11:35', '1');
INSERT INTO `console_consumer_category` VALUES ('28', '0501', '交通', '1', '05', '0', '2018-01-11 10:12:25', '0', '2018-01-11 10:12:25', '1');
INSERT INTO `console_consumer_category` VALUES ('29', '0502', '通信', '1', '05', '0', '2018-01-11 10:12:46', '0', '2018-01-11 10:12:46', '1');
INSERT INTO `console_consumer_category` VALUES ('30', '0503', '其他', '1', '05', '0', '2018-01-11 10:12:56', '0', '2018-01-11 10:12:56', '1');
INSERT INTO `console_consumer_category` VALUES ('31', '0601', '教育', '1', '06', '0', '2018-01-11 10:13:20', '0', '2018-01-11 10:13:20', '1');
INSERT INTO `console_consumer_category` VALUES ('32', '0602', '文化和娱乐', '1', '06', '0', '2018-01-11 10:13:41', '0', '2018-01-11 10:13:41', '1');
INSERT INTO `console_consumer_category` VALUES ('33', '0603', '其他', '1', '06', '0', '2018-01-11 10:14:05', '0', '2018-01-11 10:14:05', '1');
INSERT INTO `console_consumer_category` VALUES ('34', '0701', '医疗器具及药品', '1', '07', '0', '2018-01-11 10:14:39', '0', '2018-01-11 10:14:39', '1');
INSERT INTO `console_consumer_category` VALUES ('35', '0702', '医疗服务', '1', '07', '0', '2018-01-11 10:15:00', '0', '2018-01-11 10:15:00', '1');
INSERT INTO `console_consumer_category` VALUES ('36', '0703', '其他', '1', '07', '0', '2018-01-11 10:15:40', '0', '2018-01-11 10:15:40', '1');
INSERT INTO `console_consumer_category` VALUES ('37', '0801', '工资', '1', '08', '0', '2018-01-11 10:16:12', '0', '2018-01-11 10:16:12', '1');
INSERT INTO `console_consumer_category` VALUES ('38', '0802', '兼职', '1', '08', '0', '2018-01-11 10:17:44', '0', '2018-01-11 10:17:44', '1');
INSERT INTO `console_consumer_category` VALUES ('39', '0305', '出租房房租', '1', '03', '0', '2018-03-12 08:17:48', '0', '2018-03-12 08:17:48', '1');
INSERT INTO `console_consumer_category` VALUES ('40', '0106', '水果', '1', '01', '0', '2018-03-25 21:55:09', '0', '2018-03-25 21:55:09', '1');
INSERT INTO `console_consumer_category` VALUES ('41', '0107', '蔬菜', '1', '01', '0', '2018-03-29 08:06:02', '0', '2018-03-29 08:06:02', '1');
INSERT INTO `console_consumer_category` VALUES ('42', '0803', '理财', '1', '08', '0', '2018-03-29 12:31:22', '0', '2018-03-29 12:31:22', '1');
INSERT INTO `console_consumer_category` VALUES ('43', '0804', '礼金', '1', '08', '0', '2018-03-29 12:31:38', '0', '2018-03-29 12:31:38', '1');
INSERT INTO `console_consumer_category` VALUES ('44', '0805', '退款', '1', '08', '0', '2018-03-29 12:32:08', '0', '2018-03-29 12:32:08', '1');
INSERT INTO `console_consumer_category` VALUES ('45', '0806', '红包', '1', '08', '0', '2018-03-29 12:32:27', '0', '2018-03-29 12:32:27', '1');
INSERT INTO `console_consumer_category` VALUES ('46', '0408', '红包', '1', '04', '0', '2018-03-29 13:35:22', '0', '2018-03-29 13:35:22', '1');
INSERT INTO `console_consumer_category` VALUES ('48', '0108', '调料', '1', '01', '0', '2018-04-04 09:35:56', '0', '2018-04-04 09:35:56', '1');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.