From ac5b087ea2d9ba7428d367aaeb288534158fee9a Mon Sep 17 00:00:00 2001
From: christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Fri, 1 Sep 2006 01:16:38 +0000
Subject: Initial Import

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/ledger-smb@1 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/Pg-upgrade-2.6.2-2.6.3.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100755 sql/Pg-upgrade-2.6.2-2.6.3.sql

(limited to 'sql/Pg-upgrade-2.6.2-2.6.3.sql')

diff --git a/sql/Pg-upgrade-2.6.2-2.6.3.sql b/sql/Pg-upgrade-2.6.2-2.6.3.sql
new file mode 100755
index 00000000..2abfe627
--- /dev/null
+++ b/sql/Pg-upgrade-2.6.2-2.6.3.sql
@@ -0,0 +1,10 @@
+--
+delete from status where formname = 'receipt';
+delete from status where formname = 'check';
+create table statu (trans_id int, formname text, printed bool default 'f', emailed bool default 'f', spoolfile text);
+insert into statu select trans_id, formname, printed, emailed, spoolfile from status;
+drop table status;
+alter table statu rename to status;
+create index status_trans_id_key on status (trans_id);
+--
+update defaults set version = '2.6.3';
-- 
cgit v1.2.3

