text
stringlengths
0
75
--
-- PostgreSQL database dump
--
-- Dumped from database version 14.7
-- Dumped by pg_dump version 15.3
-- Started on 2023-07-20 09:01:34 CDT
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- TOC entry 5 (class 2615 OID 2200)
-- Name: public; Type: SCHEMA; Schema: -; Owner: cloudsqlsuperuser
--
-- *not* creating schema, since initdb creates it
ALTER SCHEMA public OWNER TO cloudsqlsuperuser;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- TOC entry 210 (class 1259 OID 16492)
-- Name: albums; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.albums (
id character varying(255) NOT NULL,
album_type character varying(255) NOT NULL,
total_tracks integer NOT NULL,
name character varying(255),
image character varying(255),
all_artists text
);
ALTER TABLE public.albums OWNER TO postgres;
--
-- TOC entry 209 (class 1259 OID 16485)
-- Name: artists; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.artists (
id character varying(255) NOT NULL,
name character varying(255) NOT NULL,
href character varying(255) NOT NULL,
url character varying(100)
);
ALTER TABLE public.artists OWNER TO postgres;
--
-- TOC entry 212 (class 1259 OID 16553)
-- Name: curations; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.curations (
id uuid NOT NULL,
title text NOT NULL,
description text NOT NULL,
color integer,
numlikes integer
);
ALTER TABLE public.curations OWNER TO postgres;
--
-- TOC entry 213 (class 1259 OID 16560)
-- Name: curationtracks; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.curationtracks (
curation_id uuid NOT NULL,
track_id character varying(255) NOT NULL,
rank integer DEFAULT 0
);
ALTER TABLE public.curationtracks OWNER TO postgres;
--
-- TOC entry 214 (class 1259 OID 16573)
-- Name: tags; Type: TABLE; Schema: public; Owner: postgres
--