Difference between core.view and workspace_schema.view in v1.4

In the v1.4 database, what’s the difference between the core.view table and the workspace_schema.view table? I would like to know, as we are getting an issue while migrating from v1.3 to v1.4.
16 Replies
Prastoin
Prastoin5d ago
Hello, in 1.4 the workspace_schema.views is getting deprecated for the core.view table
Jay Patel
Jay PatelOP5d ago
@Prastoin Can we have a quick call? I have a few doubts about the upgrade, If you are available?
Prastoin
Prastoin5d ago
Sorry unavailable in vocal, please feel free to share your concerns
Jay Patel
Jay PatelOP5d ago
This migration seems to be for v1.3 to v1.4, but in the v1.4.12 codebase, it's declared as a v1.5 migration command. And due to that, I am getting this issue to upgrade to 1.4. Issue thread: https://discord.com/channels/1130383047699738754/1418203013197332560
No description
Jay Patel
Jay PatelOP5d ago
In v1.4.12, there is one change to remove the view relation from the favorite object, but the migration is declared as v1.5 command.
Prastoin
Prastoin5d ago
We've been manually running the command on prod 1.4 but make them run for self hosters on 1.5 It should not be an issue
Jay Patel
Jay PatelOP5d ago
As we are self-hosting, I plan to upgrade to v1.4 using the v1.4.12 tag. Do I need to run the manual upgrade commands that are listed in the v1.5 instructions? Later, when we merge v1.5.0, which upgrade commands should be executed, considering that some of them would have already been run during the previous upgrade?
Prastoin
Prastoin5d ago
From what version of 1.4 exactly ?
Jay Patel
Jay PatelOP5d ago
1.4.12
Prastoin
Prastoin5d ago
Commands are idempotent by definition You're upgrading from 1.4.12 to 1.4.12 ?
Jay Patel
Jay PatelOP5d ago
from v1.3.1 to v1.4.12
Prastoin
Prastoin5d ago
Unless I'm mistaken your workspace is still erroring due to the relation convert col error ? I woudl rather manually fix the workspace in 1.3 first
Jay Patel
Jay PatelOP5d ago
That is fixed by running the "migrate:1-5:remove-favorite-view-relation", command specified in v1.5 commands.
Prastoin
Prastoin5d ago
Ok I see You can proceed to upgrade to 1.4 and so on Re running the command will only attempt to fix previously migrated view anw Please be sure to make a backup still beforehand
Jay Patel
Jay PatelOP5d ago
In the twenty env name APP_VERSION is there, and from the current DB core.workspace and APP_VERSION, the upgrade command is automatically run the upgrade command, right? If I am not wrong?
Prastoin
Prastoin2d ago
Upgrade will be run within the entrypoint.sh, so yes you should be able to find its logs at the start of your twenty server container

Did you find this page helpful?