Change customcode.status default to "active".
authorDavid E. Wheeler <david@justatheory.com>
Mon, 5 Nov 2012 17:59:32 +0000 (09:59 -0800)
committerDavid E. Wheeler <david@justatheory.com>
Mon, 5 Nov 2012 17:59:32 +0000 (09:59 -0800)
It is a text column, not a boolean, and Bucardo.pm looks for "active".

bucardo.schema

index 8ed07b54f21f9f3d12c7773e6918bacf4915bb9c..a3dfa3e88b114742aedae9d5614176a0bcba01ef 100644 (file)
@@ -429,7 +429,7 @@ CREATE TABLE bucardo.customcode (
   whenrun   TEXT        NOT NULL,
   getdbh    BOOLEAN     NOT NULL DEFAULT 'true',
   src_code  TEXT        NOT NULL,
-  status    TEXT        NOT NULL DEFAULT 'true',
+  status    TEXT        NOT NULL DEFAULT 'active',
   priority  SMALLINT    NOT NULL DEFAULT 0,    
   cdate     TIMESTAMPTZ NOT NULL DEFAULT now()
 );