hyperboria/postgres/sql/cross_references.sql
the-superpirate a78f686f44 3 internal commit(s)
GitOrigin-RevId: 5b6eebe47f6cab73b351afa584f1f96ef3e71842
2021-04-09 17:53:36 +03:00

44 lines
1.0 KiB
SQL

--
-- PostgreSQL database dump
--
-- Dumped from database version 13.2 (Debian 13.2-1.pgdg100+1)
-- Dumped by pg_dump version 13.2 (Debian 13.2-1.pgdg100+1)
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;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: cross_references; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.cross_references (
source_id bigint NOT NULL,
target_id bigint NOT NULL
);
--
-- Name: cross_references cross_references_source_id_target_id_key; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.cross_references
ADD CONSTRAINT cross_references_source_id_target_id_key UNIQUE (source_id, target_id);
--
-- PostgreSQL database dump complete
--