Просмотр исходного кода

contract/dao: Fix syntax errors in wallet.sql.

parazyd 3 лет назад
Родитель
Сommit
3f4a94e387
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/contract/dao/wallet.sql

+ 4 - 4
src/contract/dao/wallet.sql

@@ -123,7 +123,7 @@ CREATE TABLE IF NOT EXISTS dao_daos (
 
 
 -- The merkle tree containing DAO bullas
 -- The merkle tree containing DAO bullas
 CREATE TABLE IF NOT EXISTS dao_trees (
 CREATE TABLE IF NOT EXISTS dao_trees (
-	daos_tree BLOB NOT NULL
+	daos_tree BLOB NOT NULL,
 	proposals_tree BLOB NOT NULL
 	proposals_tree BLOB NOT NULL
 );
 );
 
 
@@ -153,15 +153,15 @@ CREATE TABLE IF NOT EXISTS dao_proposals (
     -- and received by the DAO
     -- and received by the DAO
 	leaf_position BLOB,
 	leaf_position BLOB,
     tx_hash BLOB,
     tx_hash BLOB,
-    call_index INTEGER
+    call_index INTEGER,
     -- this is NULL until we have voted on this proposal
     -- this is NULL until we have voted on this proposal
-    our_vote_id INTEGER UNIQUE,
+    our_vote_id INTEGER UNIQUE
 );
 );
 
 
 CREATE TABLE IF NOT EXISTS dao_votes (
 CREATE TABLE IF NOT EXISTS dao_votes (
     vote_id INTEGER PRIMARY KEY NOT NULL,
     vote_id INTEGER PRIMARY KEY NOT NULL,
     proposal_id INTEGER NOT NULL,
     proposal_id INTEGER NOT NULL,
-    vote_option INTEGER NOT NULL
+    vote_option INTEGER NOT NULL,
     -- these values are NULL until the vote is minted on chain
     -- these values are NULL until the vote is minted on chain
     -- and received by the DAO
     -- and received by the DAO
     tx_hash BLOB,
     tx_hash BLOB,