Closed skizzofly closed 8 months ago
Hi,
please sqash to have only one commit for this change. the migration script can be attached to this PR but should not be part of the repo. Same for the upgrade documentation. Once done i will check closer to the logic.
Thanks.
I messed up the repo, closed the pull and made a new one with the required changes.. Sorry i am not practical of github.
On Thu, Mar 7, 2024 at 4:29 PM Sebastien Chaumontet < @.***> wrote:
Hi,
please sqash to have only one commit for this change. the migration script can be attached to this PR but should not be part of the repo. Same for the upgrade documentation. Once done i will check closer to the logic.
Thanks.
— Reply to this email directly, view it on GitHub https://github.com/glidernet/ogn-ddb/pull/56#issuecomment-1983760886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3TFMIY2C5WBRCEFAVFSYDYXCBV3AVCNFSM6AAAAABELFBMA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBTG43DAOBYGY . You are receiving this because you authored the thread.Message ID: @.***>
Wonderful, thank you skizzofly! I hope this is accepted into the production server.
This modification, permits a device expiration if after one year the record into the OGN DB is not updated. to renew another year the owner has to go under update, click the check box that he owns the device and save, this will lock the device for the next 365 days. The expiration status is shown on the device list table, green check is still valid, red X is expired and can be transferred. Once expired, the device is free to be transferred to an other owner, this to automate device transferring due to inactive accounts The API's are untouched, a expired device will still show up. There is also a SQL script to add the missing column into the devices table and populate all devices with the current time stamp. This modification should also loose some work of the admin team, if a flarm owner is really dead or sold the glider, the new owner has to wait for expiry, he will not know if it expired or not, but he can time to time try to transfer the device, if it's denied, means device is still in force of the old user.