libraft 0.2.0.0 → 0.2.1.0
raw patch · 2 files changed
+12/−2 lines, 2 files
Files
- libraft.cabal +3/−2
- postgres/entries.sql +9/−0
libraft.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 2d373c5064dc13cca463f24496ffaca3207f2659d824261e3338e264da11247e+-- hash: 81b50bfa684188cd50f291971fbe81bd55d41e2066f5c5b43dd9b98f5b21e2da name: libraft-version: 0.2.0.0+version: 0.2.1.0 synopsis: Raft consensus algorithm description: Please see the README on GitHub at <https://github.com/adjoint-io/raft#readme> category: Distributed Systems@@ -20,6 +20,7 @@ cabal-version: >= 1.10 extra-source-files: ChangeLog.md+ postgres/entries.sql README.md source-repository head
+ postgres/entries.sql view
@@ -0,0 +1,9 @@++CREATE TABLE entries (+ entryIndex int8 PRIMARY KEY,+ entryTerm int8 NOT NULL,+ entryValueHash bytea NOT NULL UNIQUE,+ entryValue bytea NOT NULL, + entryIssuer varchar NOT NULL,+ entryPrevHash bytea NOT NULL UNIQUE+);