datomic progress.

This commit is contained in:
BC
2018-08-09 23:04:10 -07:00
parent 913a44fb48
commit bf0542d535
5 changed files with 169 additions and 2 deletions

19
datomic-init/postgres-table.sql Executable file
View File

@@ -0,0 +1,19 @@
-- 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;