summaryrefslogtreecommitdiff
path: root/sql/modules/README
blob: 32e6b24f949fe472e4cfd41420eed23ac8299867 (plain)
  1. This set of files is just for initial testing and proof of concept purposes.
  2. They will be moved out of here into appropriate upgrade scripts as necessary
  3. and are intended only for collaborative development purposes.
  4. For people trying to get 1.3 up and running manually, the following load order
  5. should work. Note that many of these scripts declare types, so if you want to
  6. redefine functions, you will need to drop the types and reload the scripts.
  7. Drafts.sql
  8. Account.sql
  9. Session.sql
  10. Business_Type.sql
  11. Location.sql
  12. Company.sql
  13. Customer.sql
  14. Date.sql
  15. Defaults.sql
  16. Setting.sql
  17. Employee.sql
  18. Entity.sql
  19. Payment.sql
  20. Person.sql
  21. Report.sql
  22. Voucher.sql
  23. Note that the Roles.sql is special and must be preprocessed to get it to work.
  24. A command like:
  25. sed -e 's/<?lsmb dbname ?>/[dbname]/g' Roles.sql > [dbname]_roles.sql
  26. would work where [dbname] represents the name of the database you are
  27. installing into.
  28. Also Roles.sql MUST be run last because portions of it depend on function
  29. declarations in the other scripts.