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.3.5-2.3.6.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100755 sql/Pg-upgrade-2.3.5-2.3.6.sql

(limited to 'sql/Pg-upgrade-2.3.5-2.3.6.sql')

diff --git a/sql/Pg-upgrade-2.3.5-2.3.6.sql b/sql/Pg-upgrade-2.3.5-2.3.6.sql
new file mode 100755
index 00000000..3eac490f
--- /dev/null
+++ b/sql/Pg-upgrade-2.3.5-2.3.6.sql
@@ -0,0 +1,15 @@
+--
+create table pricegroup (id int default nextval('id'), pricegroup text);
+create index pricegroup_pricegroup_key on pricegroup (pricegroup);
+create index pricegroup_id_key on pricegroup (id);
+--
+create table partscustomer (parts_id int, customer_id int, pricegroup_id int, pricebreak float4, sellprice float, validfrom date, validto date);
+--
+create table language (code varchar(6), description text);
+alter table customer add language_code varchar(6);
+alter table customer add pricegroup_id int;
+--
+alter table vendor add language_code varchar(6);
+alter table vendor add pricegroup_id int;
+--
+update defaults set version = '2.3.6';
-- 
cgit v1.2.3

