schema.sql 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. -- Dumped from database version 11.5
  5. -- Dumped by pg_dump version 11.5
  6. SET statement_timeout = 0;
  7. SET lock_timeout = 0;
  8. SET idle_in_transaction_session_timeout = 0;
  9. SET client_encoding = 'UTF8';
  10. SET standard_conforming_strings = on;
  11. SELECT pg_catalog.set_config('search_path', '', false);
  12. SET check_function_bodies = false;
  13. SET xmloption = content;
  14. SET client_min_messages = warning;
  15. SET row_security = off;
  16. SET default_tablespace = '';
  17. SET default_with_oids = false;
  18. --
  19. -- Name: carousels; Type: TABLE; Schema: public; Owner: -
  20. --
  21. CREATE TABLE public.carousels (
  22. id integer NOT NULL,
  23. message_id character varying(50) NOT NULL,
  24. char_id integer,
  25. options integer[],
  26. image_id integer
  27. );
  28. --
  29. -- Name: carousels_id_seq; Type: SEQUENCE; Schema: public; Owner: -
  30. --
  31. CREATE SEQUENCE public.carousels_id_seq
  32. AS integer
  33. START WITH 1
  34. INCREMENT BY 1
  35. NO MINVALUE
  36. NO MAXVALUE
  37. CACHE 1;
  38. --
  39. -- Name: carousels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
  40. --
  41. ALTER SEQUENCE public.carousels_id_seq OWNED BY public.carousels.id;
  42. --
  43. -- Name: char_images; Type: TABLE; Schema: public; Owner: -
  44. --
  45. CREATE TABLE public.char_images (
  46. id integer NOT NULL,
  47. char_id integer NOT NULL,
  48. url character varying NOT NULL,
  49. category character varying,
  50. keyword character varying
  51. );
  52. --
  53. -- Name: char_images_id_seq; Type: SEQUENCE; Schema: public; Owner: -
  54. --
  55. CREATE SEQUENCE public.char_images_id_seq
  56. AS integer
  57. START WITH 1
  58. INCREMENT BY 1
  59. NO MINVALUE
  60. NO MAXVALUE
  61. CACHE 1;
  62. --
  63. -- Name: char_images_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
  64. --
  65. ALTER SEQUENCE public.char_images_id_seq OWNED BY public.char_images.id;
  66. --
  67. -- Name: characters; Type: TABLE; Schema: public; Owner: -
  68. --
  69. CREATE TABLE public.characters (
  70. id integer NOT NULL,
  71. user_id character varying(50),
  72. name character varying NOT NULL,
  73. species character varying NOT NULL,
  74. types character varying NOT NULL,
  75. age character varying,
  76. weight character varying,
  77. height character varying,
  78. gender character varying,
  79. orientation character varying,
  80. relationship character varying,
  81. attacks character varying,
  82. likes character varying,
  83. dislikes character varying,
  84. personality character varying,
  85. backstory character varying,
  86. other character varying,
  87. edit_url character varying,
  88. active character varying,
  89. dm_notes character varying,
  90. location character varying,
  91. rumors character varying,
  92. hometown character varying,
  93. warnings character varying,
  94. rating character varying
  95. );
  96. --
  97. -- Name: characters_id_seq; Type: SEQUENCE; Schema: public; Owner: -
  98. --
  99. CREATE SEQUENCE public.characters_id_seq
  100. AS integer
  101. START WITH 1
  102. INCREMENT BY 1
  103. NO MINVALUE
  104. NO MAXVALUE
  105. CACHE 1;
  106. --
  107. -- Name: characters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
  108. --
  109. ALTER SEQUENCE public.characters_id_seq OWNED BY public.characters.id;
  110. --
  111. -- Name: types; Type: TABLE; Schema: public; Owner: -
  112. --
  113. CREATE TABLE public.types (
  114. id integer NOT NULL,
  115. name character varying(25) NOT NULL,
  116. color character varying(7)
  117. );
  118. --
  119. -- Name: types_id_seq; Type: SEQUENCE; Schema: public; Owner: -
  120. --
  121. CREATE SEQUENCE public.types_id_seq
  122. AS integer
  123. START WITH 1
  124. INCREMENT BY 1
  125. NO MINVALUE
  126. NO MAXVALUE
  127. CACHE 1;
  128. --
  129. -- Name: types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
  130. --
  131. ALTER SEQUENCE public.types_id_seq OWNED BY public.types.id;
  132. --
  133. -- Name: users; Type: TABLE; Schema: public; Owner: -
  134. --
  135. CREATE TABLE public.users (
  136. id character varying(25) NOT NULL,
  137. level integer DEFAULT 1,
  138. next_level integer DEFAULT 22,
  139. boosted_xp integer DEFAULT 0,
  140. unboosted_xp integer DEFAULT 0,
  141. evs character varying(50) NOT NULL,
  142. hp integer NOT NULL,
  143. attack integer NOT NULL,
  144. defense integer NOT NULL,
  145. sp_attack integer NOT NULL,
  146. sp_defense integer NOT NULL,
  147. speed integer NOT NULL
  148. );
  149. --
  150. -- Name: carousels id; Type: DEFAULT; Schema: public; Owner: -
  151. --
  152. ALTER TABLE ONLY public.carousels ALTER COLUMN id SET DEFAULT nextval('public.carousels_id_seq'::regclass);
  153. --
  154. -- Name: char_images id; Type: DEFAULT; Schema: public; Owner: -
  155. --
  156. ALTER TABLE ONLY public.char_images ALTER COLUMN id SET DEFAULT nextval('public.char_images_id_seq'::regclass);
  157. --
  158. -- Name: characters id; Type: DEFAULT; Schema: public; Owner: -
  159. --
  160. ALTER TABLE ONLY public.characters ALTER COLUMN id SET DEFAULT nextval('public.characters_id_seq'::regclass);
  161. --
  162. -- Name: types id; Type: DEFAULT; Schema: public; Owner: -
  163. --
  164. ALTER TABLE ONLY public.types ALTER COLUMN id SET DEFAULT nextval('public.types_id_seq'::regclass);
  165. --
  166. -- Data for Name: carousels; Type: TABLE DATA; Schema: public; Owner: -
  167. --
  168. COPY public.carousels (id, message_id, char_id, options, image_id) FROM stdin;
  169. \.
  170. --
  171. -- Data for Name: char_images; Type: TABLE DATA; Schema: public; Owner: -
  172. --
  173. COPY public.char_images (id, char_id, url, category, keyword) FROM stdin;
  174. 2 1 https://i.pinimg.com/originals/e1/af/36/e1af3607885c7bbd3812706bfe9cbafc.jpg SFW Neiro's Nightmare
  175. 4 1 https://i.pinimg.com/originals/53/0a/32/530a3267c68dcf5711855d4329e3bbee.png SFW Hero
  176. 3 1 https://i.imgur.com/CqtkxMr.png SFW Default
  177. 8 2 http://d.facdn.net/art/fishinabarrrel/1568640777/1568640773.fishinabarrrel_neiro_ref_sfw.png SFW Default
  178. 9 3 http://static.pokemonpets.com/images/monsters-images-800-800/8715-Mega-Noivern.png SFW Default
  179. 10 4 https://i.imgur.com/GZY4QN7.png SFW Default
  180. 11 1 https://i.kym-cdn.com/photos/images/original/001/194/272/043.png SFW Cutesy
  181. 12 1 https://i.kym-cdn.com/photos/images/original/001/183/270/c38.png NSFW Salty
  182. 13 1 https://cdnb.artstation.com/p/assets/images/images/003/772/763/large/mauricio-cid-mimikkyu.jpg?1477345311 SFW Spooky
  183. 14 1 https://66.media.tumblr.com/536300ac3be54c647394e959b20efce4/tumblr_prxhywHjGa1qagaoco1_400.png SFW Detective
  184. 15 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQAqq4k9ffG_WLCbHLXD23T4RXxMy0VIwcBS-ErrArZxgViEnFP SFW Sweating
  185. 16 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSIBDTycnrDuTc1BiUiA5BJVd1l5AblA5u9FkL66DcsjzP1KuEY SFW Attacking
  186. 17 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQjEu8qtYF6WR3fbCCCCyQB8t6Y8qcZe40tuBKbSGD6vpvHLps5 SFW Scheming
  187. 18 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRGttdLkAF5trFBFeh6DziEy7uD8vkmOgZQcmkB44WaTQQYDiHf SFW Playful
  188. 19 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS6J-el9WuMFQ_g11r57Y1UaGqcwBYCjuGu7jRSVIYIozTl2Bzl SFW Mega
  189. 20 4 https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRG65IsiuZr1HPn4kINl6ECHNcfz6nXWu7hlkdmQjy5H9nujuv- SFW Hypnosis
  190. \.
  191. --
  192. -- Data for Name: characters; Type: TABLE DATA; Schema: public; Owner: -
  193. --
  194. COPY public.characters (id, user_id, name, species, types, age, weight, height, gender, orientation, relationship, attacks, likes, dislikes, personality, backstory, other, edit_url, active, dm_notes, location, rumors, hometown, warnings, rating) FROM stdin;
  195. 1 215240568245190656 Mizukyu Mimikyu Ghost/Fairy Old 1.5 lbs 0'8" Female Pansexual Married Shadow Claw | Play Rough | Psychic | Shadow Sneak Cuddles, soft things, spooky stories, horror Bullies, rejection, being exposed I am shy and a bit recluse, but warm when you take the time to get to know me. I don't like when people try to see under my disguise, I've lost many friends that way (to death) including my spouse. Really, really really likes to dress up as other pokemon Has existed more years than she cares to count. She is immortal, due to being a ghost. She has learned to carefully hide her appearance as to make sure not to accidentally kill more friends. Took up tailoring to make multiple disguises, because pretending to be a Pikachu forever is boring. Switches disguising with moods. Has made them for all pokemon. Also a master shadow bender ?edit2=2_ABaOnuc3HZEyhI9EeApXcJtsBmDzqtzDGH5De46CfuRBxwVavQKAfTT_LZy_kMH0sz5H7gk Active \N \N Loves children | Hates washing and tailoring disguises | Surprisingly soft | Steals children | Wishes to be admired \N Horrific Eldritch Abomination \N
  196. 2 271741998321369088 Neiro Vaporeon Water 33 125 lbs 3'03" Male Bisexual Single Water Gun|Hydro Pump|Ice Beam|Synchronoise Likes to overeat, being in the rain, and playing with fat Hates that his body absorbs any liquids Carefree and a little bit lazy. Always up for fun things. He was spoiled from the very beginning of his life. This resulted in him being a bit fat and lazy. He loved it tho but decided to make something more with his life by joining a rescue team. He also wanted to work on his skills as being taken care of his whole life made him pretty useless in battle. He has the special ability Water Absorb. Neiro's body can bloat up to 250 times his normal size before his body stopped expanding. His tail can also bloat equal to that, making his total potential size 500 times ?edit2=2_ABaOnufidKuBLj5ecAtAjVd0CTTFoJhB0CqE9rM-WW0yeYSfnxeKjblep_Nru3f8jpOzkS4 Active \N \N Uses Water Gun every time he sneezes.|His Water Absorb ability absorbs any liquids into his body.|Too much water makes him bloat like a sponge.|He can piss for an hour.|He is outstanding with his move execution and aim The Village Dont share a shower with him... \N
  197. 3 215240568245190656 Zumi Noivern Dragon/Flying Young 120 lbs 3'0" Male \N \N Dragon Pulse | Screech | Bite | Wing Attack Zumi loves games and all his friends. He also loves sweets and sour candy Zumi doesn't like bullies or mean kids that constantly make fun of other kids or exclude them from the fun Zumi is a fun loving Derg that likes to play with anyone and everyone! He also likes to play fun jokes on people or do a bit of spooking with his ghosty parents -- but he tries not to take it too far. He tries to protect his friends as much as he can, but theres only so much a little dragon can do Zumi is a young dragon, and doesn't really remember much before coming to the guild house. He doesn't remember his birth parents, or when he met his ghost parents, but he isn't really bothered about it. All he knows, is that he loves his ghost parents and wants to make as many friends as he can! \N ?edit2=2_ABaOnuf86ZAxBbQfeKlKe40wSsMNOKbAg8yb9OIS7GsZ1Qs8dtVRX13RLf4uJnuRawMf5io Active \N \N He was abandoned as a baby | He wishes he could fly faster | He was rescued by a ghostly couple | He doesn't scare easy | He's just a dumb kid \N Has a spooky set of parents that will ruin your day \N
  198. 4 215240568245190656 Ozi Gengar Ghost/Poison ??? 90 lbs 5'0" Male Straight Married Shadow Ball | Sludge Bomb | Psychic | Dazzling Gleam Jokes and Spooks Kill joys and Arrogance Theres never a dull moment with Ozi! He likes to pull pranks and make people either laugh or scream. He loves his wife (Mizukyu) and son (Zumi) and will spook anyone who harms them to death. So long as you play nice, he's a great ghosty guy! No one knows where Ozi came from, or why he came here, but he and his wife Mizukyu have caused a lot of mayhem in their many years together. He's been known to suddenly appear or disappear and even caused some unfortunate souls to go mad with insanity. Over time he's learned to dial back the spooks a bit, and even tried to make some new friends Ozi sometimes causes trouble with his ghost powers, behaving a bit like the Cheshire Cat. He can be a bit slippery, but tries not to cause too much trouble ?edit2=2_ABaOnueS5nTN63soX4wQ0PVKa_tGFghbIpiYlW3kwGw4Cj09Fnio0qNLD47iyOC5H3f4oN4 Active \N \N He taught Zumi how to fly | He's a surprisingly good father | Sometimes he doesn't know when to stop the jokes | His humor is not for everyone | I'm not totally convinced he's real \N Spooks ahead! \N
  199. 5 215240568245190656 Neiro Vaporeon Water \N ??? varies Male \N \N Duplicate | Pokemon | Attack \N \N \N \N This is test entry ?edit2=2_ABaOnuc441lxr76HNkZnq7BJq0f_VFhK9OM8YMUGkIbQGKSU8apSzv6re4BevYVYi6QzmI8 Active \N \N \N \N \N \N
  200. \.
  201. --
  202. -- Data for Name: types; Type: TABLE DATA; Schema: public; Owner: -
  203. --
  204. COPY public.types (id, name, color) FROM stdin;
  205. 1 Normal #a8a878
  206. 2 Fire #f08030
  207. 3 Fighting #c03028
  208. 4 Water #6890f0
  209. 5 Flying #a890f0
  210. 6 Grass #78c850
  211. 7 Poison #a040a0
  212. 8 Electric #f8d030
  213. 9 Ground #e0c068
  214. 10 Psychic #f85888
  215. 11 Rock #b8a038
  216. 12 Ice #98d8d8
  217. 13 Bug #a8b820
  218. 14 Dragon #7038f8
  219. 15 Ghost #705898
  220. 16 Dark #705848
  221. 17 Steel #b8b8d0
  222. 18 Fairy #ee99ac
  223. 19 Unknown #68a090
  224. \.
  225. --
  226. -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: -
  227. --
  228. COPY public.users (id, level, next_level, boosted_xp, unboosted_xp, evs, hp, attack, defense, sp_attack, sp_defense, speed) FROM stdin;
  229. 271741998321369088 70 25550 25285 18368 24, 4, 5, 5, 6, 5 432 127 128 143 145 136
  230. 215240568245190656 30 4950 4686 984 23, 4, 6, 6, 4, 5 201 67 67 69 62 64
  231. 263878163975634947 17 1702 1675 1227 19, 5, 4, 5, 6, 4 113 39 41 39 42 38
  232. \.
  233. --
  234. -- Name: carousels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
  235. --
  236. SELECT pg_catalog.setval('public.carousels_id_seq', 29, true);
  237. --
  238. -- Name: char_images_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
  239. --
  240. SELECT pg_catalog.setval('public.char_images_id_seq', 20, true);
  241. --
  242. -- Name: characters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
  243. --
  244. SELECT pg_catalog.setval('public.characters_id_seq', 5, true);
  245. --
  246. -- Name: types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
  247. --
  248. SELECT pg_catalog.setval('public.types_id_seq', 19, true);
  249. --
  250. -- Name: carousels carousels_pkey; Type: CONSTRAINT; Schema: public; Owner: -
  251. --
  252. ALTER TABLE ONLY public.carousels
  253. ADD CONSTRAINT carousels_pkey PRIMARY KEY (id);
  254. --
  255. -- Name: char_images char_images_pkey; Type: CONSTRAINT; Schema: public; Owner: -
  256. --
  257. ALTER TABLE ONLY public.char_images
  258. ADD CONSTRAINT char_images_pkey PRIMARY KEY (id);
  259. --
  260. -- Name: characters characters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
  261. --
  262. ALTER TABLE ONLY public.characters
  263. ADD CONSTRAINT characters_pkey PRIMARY KEY (id);
  264. --
  265. -- Name: types types_name_key; Type: CONSTRAINT; Schema: public; Owner: -
  266. --
  267. ALTER TABLE ONLY public.types
  268. ADD CONSTRAINT types_name_key UNIQUE (name);
  269. --
  270. -- Name: types types_pkey; Type: CONSTRAINT; Schema: public; Owner: -
  271. --
  272. ALTER TABLE ONLY public.types
  273. ADD CONSTRAINT types_pkey PRIMARY KEY (id);
  274. --
  275. -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
  276. --
  277. ALTER TABLE ONLY public.users
  278. ADD CONSTRAINT users_pkey PRIMARY KEY (id);
  279. --
  280. -- Name: carousels carousel_char_id; Type: FK CONSTRAINT; Schema: public; Owner: -
  281. --
  282. ALTER TABLE ONLY public.carousels
  283. ADD CONSTRAINT carousel_char_id FOREIGN KEY (char_id) REFERENCES public.characters(id);
  284. --
  285. -- Name: characters character_user_id; Type: FK CONSTRAINT; Schema: public; Owner: -
  286. --
  287. ALTER TABLE ONLY public.characters
  288. ADD CONSTRAINT character_user_id FOREIGN KEY (user_id) REFERENCES public.users(id);
  289. --
  290. -- Name: char_images url_character_id; Type: FK CONSTRAINT; Schema: public; Owner: -
  291. --
  292. ALTER TABLE ONLY public.char_images
  293. ADD CONSTRAINT url_character_id FOREIGN KEY (char_id) REFERENCES public.characters(id);
  294. --
  295. -- PostgreSQL database dump complete
  296. --