User Groups not working with postgres

I recently changed from Airtable to Postgres.
I built the same tables with the same name on Postgres that I had on Airtable.
I have some User Groups that are based on table rules.
Now, after the airtable switch to postgres, the rules are not being read correctly and the users are being classified to the wrong user group.
As you can see I have this user classified with 3 user groups (no batch, no assistant, no team)

But in the user group rules, to be classified they gotta to have this on their table

However, look at my table on postgres

The raw is empty on the three of them.

If I mark as true, nothing happens

I tried to delete the User Group Rule and create the same one again but it doesnt change the end result

Can you pls add support[at]softr.io as a collaborator to your app and DM me the app link then I will check it and see what’s wrong… I guess I need to see what’s the data-type under that checkbox

Done.

You can check now

@elementttt can you pls DM me the app url too ?

App url or database url?

app url would be fine

Check your dm

check your dm please

Still working on this @elementttt

Sorry for the delay.

ok! because this is really important, please take a look asap

@elementttt as this is a boolean field with checkbox please use true or false values.

I fixed one of your conditions pls follow the same approach.

1 Like

thank you!

Fixed

On airtable I was using field not empty to refer as true boolean. On postgres it is supposed to use true

1 Like

What if you have a users table in airtable but are migrating to Postgres? How does this all work?

Thanks its working now!

@aar0n you can have many datasources and the app still will work if connected right. Users could come from AT or Postgres and as long as you have a way to do the filtering e.g. if users are in AT then in Postgres you might need to have a User email next your data or ID

1 Like