Closed kechave closed 1 month ago
Same for TAG_DATA_SUMMARY
Table columns rearranged so that TAG_TYPE, then TAG_NUM are always first two columns. Also rearranged timestamp fields to be more orderly.
Turns out I only temporarily reordered the columns.
Research tells me that the only way to permanently reorder the columns is to recreate the table.
Like issue #114, this will need to be done concurrently with the release of the 0.4 update, so as to minimize disruption.
I now realize that, because of the network of constraints which bind these tables together, in order to perform this change I would have to drop ALL of the tables, then recreate them one by one.
While this is technically possible, I feel at this time that the risk of breaking the DB system is too great to justify the benefit of reorganizing the DB columns.
Move TAG_TYPE to first column in table TAG_DATA_INSTANT...tables should always open to the Tag Type and Tag Number seen clearly.