From 411d056377817858818fca7b41333e34192131ce Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Wed, 20 Jun 2012 13:38:10 -0700 Subject: [PATCH] Add a default score to PeerIps. --- src/DBInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DBInit.cpp b/src/DBInit.cpp index 8c6931e3b6..51df2458ca 100644 --- a/src/DBInit.cpp +++ b/src/DBInit.cpp @@ -214,7 +214,7 @@ const char *WalletDBInit[] = { // Delay between scans. "CREATE TABLE PeerIps ( \ IpPort TEXT NOT NULL PRIMARY KEY, \ - Score INTEGER NOT NULL, \ + Score INTEGER NOT NULL DEFAULT 0, \ Source CHARACTER(1) NOT NULL, \ ScanNext DATETIME DEFAULT 0, \ ScanInterval INTEGER NOT NULL DEFAULT 0 \