Linked objects representation :[Sep 30]

:raising_hand_man: hell_io asked

Got a problem with ‘invisible’ links to another table. The column looks empty, though if I expand a concrete cell I can see a list of related rows. Maybe it has something to do with custom id column

:raising_hand_man: elephantum replied

image0

:raising_hand_man: elephantum replied

:person_tipping_hand: o1lab replied

We automatically choose a primary value column for the linkToAnoterRecord

Could you please check if tehre is an empty column in another table

If so, please select some other column as primary value column - this can be done by hovering on column header. And then you can come and refresh the page

:raising_hand_man: hell_io replied

The primary value column is not empty, every row has a value and it’s a text ID (non-null, pk). Renaming column from custom name to “id” doesn’t help, unfortunately

:raising_hand_man: hell_io replied

There’s another interesting problem, you can see it in the first pic, the right column. The values are all the same and don’t make sense cause the primary values in the related table are text IDs as well

:raising_hand_man: elephantum replied

Selecting primary value does not help, just tried it couple of times. :frowning_with_open_mouth:

:raising_hand_man: elephantum replied

Right column of data looks like unix timestamp, actually

:person_tipping_hand: o1lab replied

possible to do a quick zoom ?

:person_tipping_hand: o1lab replied

will help see the problem quick

:raising_hand_man: elephantum replied

hell_io@discord up to you

:person_tipping_hand: o1lab replied

can u please paste the project info (from top right menu)

:raising_hand_man: elephantum replied

Node: v12.22.1

Arch: x64

Platform: linux

Docker: false

Database: pg

ProjectOnRootDB: true

RootDB: pg

PackageVersion: 0.11.29

:raising_hand_man: elephantum replied

> Docker: false

is not true, we run nocodb in docker in k8s

:raising_hand_man: hell_io replied

we might have figured out, that we just shouldn’t write rows to the database directly, but only via API. Maybe It’s kinda obvious

So for now I’m gonna try and insert data correctly, and if doesn’t work out - let’s zoom then

:person_tipping_hand: o1lab replied

ohok

:person_tipping_hand: o1lab replied

ok

:person_tipping_hand: o1lab replied

writing rows is fine - we just read the rows

however, if you are changing schema - then it has to be synced

:person_tipping_hand: o1lab replied

https://docs.nocodb.com/setup-and-usages/sync-schema

:person_tipping_hand: o1lab replied

caution : although this will break things related to schema migrations from env to another