12-16-2021, 12:19 PM,
(This post was last modified: 12-16-2021, 12:22 PM by TurboPT.)
|
|
TurboPT
Administrator
      
|
Posts: 727
Threads: 10
Joined: Jun 2012
|
|
Table deliverynotes is orphaned?
I've not yet been able to fully dig into when the deliverynotes table became orphaned, but there are no longer any code references to the table. I noted this table missing before the 4.15.2 release when pre-testing clean installs.
This repository search only finds references in the sql/mysql/ path, from when the table was first created back in v3.11, and other version updates since then, but nowhere else.
So, what should we do?
- Restore the table and related references?
- Add a drop table with the next release? (or make a release note so that users can do it themselves? ... so that we don't cause any data loss)
- Something else???
Anyway, if anyone may already have some historical knowledge relative to this table, please add a comment, whether good or bad, so that we can determine the best resolve.
|
|
12-19-2021, 09:22 AM,
|
|
TimSchofield
Tim Schofield
      
|
Posts: 1,319
Threads: 22
Joined: Mar 2015
|
|
RE: Table deliverynotes is orphaned?
Paul, rather than start a new SQL file, I would rather if we can agree on it, we move to the new DB upgrade system I have outlined here:
https://github.com/timschofield/webERP-s.../DBUpgrade
I have written the code for it, you can find it here:
https://github.com/timschofield/webERP-s...e/DBUpdate
Once it's tested, it would just be a matter of sending a pull request to your repository.
Tim
|
|
12-25-2021, 05:50 AM,
(This post was last modified: 12-25-2021, 05:59 AM by TurboPT.)
|
|
TurboPT
Administrator
      
|
Posts: 727
Threads: 10
Joined: Jun 2012
|
|
RE: Table deliverynotes is orphaned?
Yes, the DB update looks good to me. I have created branch weberp_version5.
The only tangent question I have ... would we like to see those 4 UpgradeDB* files moved into class/OO form at some point? I don't mind tackling at a later time, if so.
After I pull later, I'll give it a trial run for my own curiosity and interest.
|
|
|