summaryrefslogtreecommitdiff
path: root/sql/Oracle-upgrade-1.8.0-1.8.4.sql
blob: a3293a648aba3ed97b3a5efe157f735abd4a54b0 (plain)
  1. --
  2. ALTER TABLE chart ADD gifi_accno VARCHAR2(20);
  3. --
  4. CREATE TABLE gifi (
  5. accno VARCHAR2(20),
  6. description VARCHAR2(100)
  7. );
  8. --
  9. CREATE UNIQUE INDEX chart_accno_key ON chart (accno);
  10. --
  11. CREATE TABLE mtemp (
  12. parts_id INTEGER,
  13. name VARCHAR2(100)
  14. );
  15. INSERT INTO mtemp SELECT parts_id, name FROM makemodel;
  16. DROP TABLE makemodel;
  17. ALTER TABLE mtemp RENAME TO makemodel;
  18. --
  19. ALTER TABLE defaults ADD closedto DATE;
  20. ALTER TABLE defaults ADD revtrans CHAR(1);
  21. --
  22. ALTER TABLE ap ADD notes VARCHAR2(4000);
  23. --
  24. ALTER TABLE customer ADD businessnumber VARCHAR2(40);
  25. ALTER TABLE vendor ADD businessnumber VARCHAR2(40);
  26. --
  27. UPDATE defaults SET version = '1.8.4', revtrans = '0';
  28. --