From 0ae86e08e067e8c4c38ae4e41a9839408c1817d9 Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Tue, 12 Aug 2008 20:14:21 +0000
Subject: Correcting more load errors

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2255 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/modules/Settings.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql/modules/Settings.sql')

diff --git a/sql/modules/Settings.sql b/sql/modules/Settings.sql
index 9c2abb59..0cd93c72 100644
--- a/sql/modules/Settings.sql
+++ b/sql/modules/Settings.sql
@@ -71,4 +71,4 @@ $$ LANGUAGE PLPGSQL;
 
 -- Table schema defaults
 
-ALTER TABLE entity ADD control_code TEXT default setting_increment('entity_control');
+ALTER TABLE entity ALTER control_code SET default setting_increment('entity_control');
-- 
cgit v1.2.3

