diff options
author | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-01 01:16:38 +0000 |
---|---|---|
committer | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-01 01:16:38 +0000 |
commit | ac5b087ea2d9ba7428d367aaeb288534158fee9a (patch) | |
tree | 2dbe0bdea0b653a215ba9ddfdf627cb57855050d /sql/Oracle-upgrade-1.8.0-1.8.4.sql |
Initial Import
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/ledger-smb@1 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/Oracle-upgrade-1.8.0-1.8.4.sql')
-rwxr-xr-x | sql/Oracle-upgrade-1.8.0-1.8.4.sql | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sql/Oracle-upgrade-1.8.0-1.8.4.sql b/sql/Oracle-upgrade-1.8.0-1.8.4.sql new file mode 100755 index 00000000..a3293a64 --- /dev/null +++ b/sql/Oracle-upgrade-1.8.0-1.8.4.sql @@ -0,0 +1,28 @@ +-- +ALTER TABLE chart ADD gifi_accno VARCHAR2(20); +-- +CREATE TABLE gifi ( + accno VARCHAR2(20), + description VARCHAR2(100) +); +-- +CREATE UNIQUE INDEX chart_accno_key ON chart (accno); +-- +CREATE TABLE mtemp ( + parts_id INTEGER, + name VARCHAR2(100) +); +INSERT INTO mtemp SELECT parts_id, name FROM makemodel; +DROP TABLE makemodel; +ALTER TABLE mtemp RENAME TO makemodel; +-- +ALTER TABLE defaults ADD closedto DATE; +ALTER TABLE defaults ADD revtrans CHAR(1); +-- +ALTER TABLE ap ADD notes VARCHAR2(4000); +-- +ALTER TABLE customer ADD businessnumber VARCHAR2(40); +ALTER TABLE vendor ADD businessnumber VARCHAR2(40); +-- +UPDATE defaults SET version = '1.8.4', revtrans = '0'; +-- |