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-1.8.0-1.8.4.sql | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100755 sql/Pg-upgrade-1.8.0-1.8.4.sql

(limited to 'sql/Pg-upgrade-1.8.0-1.8.4.sql')

diff --git a/sql/Pg-upgrade-1.8.0-1.8.4.sql b/sql/Pg-upgrade-1.8.0-1.8.4.sql
new file mode 100755
index 00000000..57b24f1f
--- /dev/null
+++ b/sql/Pg-upgrade-1.8.0-1.8.4.sql
@@ -0,0 +1,21 @@
+--
+alter table chart add column gifi_accno text;
+--
+create table gifi (accno text, description text);
+create unique index gifi_accno_key on gifi (accno);
+--
+create table mtemp (parts_id int, name text);
+insert into mtemp select parts_id, name from makemodel;
+drop table makemodel;
+alter table mtemp rename to makemodel;
+--
+alter table defaults add column closedto date;
+alter table defaults add column revtrans bool;
+--
+alter table ap add column notes text;
+--
+alter table customer add column businessnumber text;
+alter table vendor add column businessnumber text;
+--
+update defaults set version = '1.8.4', revtrans = 'f';
+--
-- 
cgit v1.2.3

