Files
integreat/datomic-init/postgres-table.sql
2018-08-09 23:04:10 -07:00

20 lines
324 B
SQL
Executable File

-- Table: datomic_kvs
-- DROP TABLE datomic_kvs;
CREATE TABLE datomic_kvs
(
id text NOT NULL,
rev integer,
map text,
val bytea,
CONSTRAINT pk_id PRIMARY KEY (id )
)
WITH (
OIDS=FALSE
);
ALTER TABLE datomic_kvs
OWNER TO postgres;
GRANT ALL ON TABLE datomic_kvs TO postgres;
GRANT ALL ON TABLE datomic_kvs TO public;