<commit_before>--
-- PostgreSQL database dump
--

SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;

--
-- 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';


SET search_path = public, pg_catalog;

SET default_tablespace = '';

SET default_with_oids = false;

--
-- Name: karma; Type: TABLE; Schema: public; Owner: karmaflair; Tablespace: 
--

CREATE TABLE karma (
    id text NOT NULL,
    name text NOT NULL,
    granter text NOT NULL,
    replied boolean DEFAULT false,
    session_id uuid NOT NULL
);


ALTER TABLE karma OWNER TO karmaflair;

--
-- Name: id_name_granter; Type: CONSTRAINT; Schema: public; Owner: karmaflair; Tablespace: 
--

ALTER TABLE ONLY karma
    ADD CONSTRAINT id_name_granter PRIMARY KEY (id, name, granter);


--
-- Name: public; Type: ACL; Schema: -; Owner: karmaflair
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM karmaflair;
GRANT ALL ON SCHEMA public TO karmaflair;
GRANT ALL ON SCHEMA public TO PUBLIC;


--
-- PostgreSQL database dump complete
--
<commit_msg>update and cleanup db schema<commit_after>--
-- Name: karma; Type: TABLE; Schema: public;
--

CREATE TABLE karma (
    id text NOT NULL,
    name text NOT NULL,
    granter text NOT NULL,
    type text NOT NULL,
    replied boolean DEFAULT false,
    session_id uuid NOT NULL
);

--
-- Name: karma_pkey; Type: CONSTRAINT; Schema: public;
--

ALTER TABLE ONLY karma
    ADD CONSTRAINT karma_pkey PRIMARY KEY (id, name, granter, type);
{'fraction_non_alphanumeric': 0.09616453585325181, 'fraction_numerical': 0.0016675931072818232, 'mean_word_length': 3.5454545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6763569', 'n_tokens_mistral': 643, 'n_tokens_neox': 615, 'n_words': 216}