Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Update not successful - resolved with question

Questions related to installing, updating, setting up and configuring
Post Reply
Gnu
Posts: 13
Joined: Fri Jan 07, 2022 10:38 am
nuBuilder Version: 4.5
Has thanked: 1 time

Update not successful - resolved with question

Unread post by Gnu »

Hello,
I have updated from a May version to the latest Github version. Afterwards I could log in, but there were no objects available.
The table zzzzsys_objects was empty. The debug window stated that the number of columns in the zzzzsys_objects table did not match and therefore a REPLACE was not possible.

I restored a backup, added the missing column (sob_display_procedure) manually and the update went successfully.

Wouldn't it make sense to add new columns automatically during the update process if required?
Gnu
Posts: 13
Joined: Fri Jan 07, 2022 10:38 am
nuBuilder Version: 4.5
Has thanked: 1 time

Re: Update not successful - resolved with question

Unread post by Gnu »

The number of colums can be retrieved with

Code: Select all

SELECT  COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE  TABLE_SCHEMA = 'nuBuilderTableName' AND TABLE_NAME = 'zzzzsys_object';
Post Reply