diff options
| author | EuAndreh <eu@euandre.org> | 2025-12-01 14:12:51 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-12-01 14:12:51 -0300 |
| commit | a78cb5f7845fb4bd0830bc08565632a8e9642d53 (patch) | |
| tree | e4cd82b082e87346d0f9c55e37f6142437a70db8 /datomic-pro-1.0.7469/init.sql | |
| parent | add datomic-pro-1.0.7469.zip (diff) | |
| download | datomic-a78cb5f7845fb4bd0830bc08565632a8e9642d53.tar.gz datomic-a78cb5f7845fb4bd0830bc08565632a8e9642d53.tar.xz | |
m
Diffstat (limited to 'datomic-pro-1.0.7469/init.sql')
| -rw-r--r-- | datomic-pro-1.0.7469/init.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/datomic-pro-1.0.7469/init.sql b/datomic-pro-1.0.7469/init.sql new file mode 100644 index 0000000..5c5ef49 --- /dev/null +++ b/datomic-pro-1.0.7469/init.sql @@ -0,0 +1,15 @@ +PRAGMA foreign_keys = ON; +PRAGMA journal_mode = WAL; +PRAGMA synchronous = NORMAL; +PRAGMA mmap_size = 134217728; -- 128 megabytes +PRAGMA journal_size_limit = 67108864; -- 64 megabytes +PRAGMA cache_size = 2000; + +-- datomic schema +CREATE TABLE IF NOT EXISTS datomic_kvs ( + id TEXT NOT NULL, + rev INTEGER, + map TEXT, + val BYTEA, + CONSTRAINT pk_id PRIMARY KEY (id) +); |
