Changing project id [May 02]

[dummy title body text appended to avoid empty title body]

:raising_hand_man: wkw replied

if NC_DB is defined, then your meta data will be stored the DB u defined. otherwise, we ll create a sqlite db for u

:raising_hand_man: wkw replied

when u create a project, are u connecting to the same postgres database?

:raising_hand_man: Shard replied

```

nocodb:

image: nocodb/nocodb:0.90.8

container_name: nocodb

environment:

- NC_DB=pg://postgres:${POSTGRES_PORT}?u=${POSTGRES_USER}&p=${POSTGRES_USER_PASSWORD}&d=nocod

- NC_PUBLIC_URL=https://data.${DOMAIN}

depends_on:

- postgres

labels:

- “traefik.enable=true”

- “traefik.http.routers.nocodb.entrypoints=websecure”

- “traefik.http.routers.nocodb.rule=Host(data.${DOMAIN})”

- “traefik.http.routers.nocodb.tls=true”

restart: always

```

:raising_hand_man: Shard replied

This is my docker-compose for nocodb

:raising_hand_man: wkw replied

ya this s fine. i wanna know where your data database is

:raising_hand_man: Shard replied

Where is that configured?

:raising_hand_man: wkw replied

when u create a project

:raising_hand_man: wkw replied

which option u choose?

image0

:raising_hand_man: Shard replied

First option

:raising_hand_man: Shard replied

should I be using the second?

:raising_hand_man: wkw replied

if u r using first one, then your data will be stored in NC_DB

:raising_hand_man: Shard replied

ok so that is why for example nocodb “system” tables and my own tables are in the same place?

:raising_hand_man: wkw replied

oh i can reproduce your issue now

:raising_hand_man: wkw replied

the prefix s added when u create a projecto n NC_DB

:raising_hand_man: Shard replied

yeah seems so. As I just created a table on external database and that did not get the prefix

:raising_hand_man: wkw replied

so it should be same behaviour - not related to migration

:raising_hand_man: wkw replied

lemme check with the team n get back to u later

:raising_hand_man: Shard replied

I guess that kind of makes sense. I think I will start using external database for user data anyways. Seems like a smarter choice.

:raising_hand_man: wkw replied

ya better separate them