Shared tables
Most app tables live in one project. Shared tables are the exception: a person-owned row (training history, a profile that should travel) can be visible in another project after you grant access. Invoices, notes, and other tenant-private records stay in the project database. GenieForge staff enables this on the app. It needs platform Postgres for every project of the app. It is not available on HIPAA apps.Where it lives
- In Build mode, ask the AI to declare a shared table and set who owns the rows: the person, this project, or the whole app.
- Grants are available in Chat and Build. The person must already belong to this project. A grant only covers rows that person created in this project, not rows they created in other projects.
- Shared tables have one copy, not a draft copy and a published copy. Adding a shared table, adding a column, or renaming one takes effect right away for everyone, including portal users. Removing structure (dropping a table or a column, or narrowing a column) waits for Publish, so nobody hits a missing table mid-session.
- Because a rename takes effect right away, the published app and portal keep looking for the old name until you Publish. Publish soon after renaming a shared table or column.
- Search in the portal does not list shared-table records. Build pages that need those rows as tool pages, not table pages.
How to verify
- Confirm GenieForge staff has enabled shared tables on this app. If Building cannot declare one, email support@genieforge.ai.
- In Build, declare a shared table, then Preview in this project.
- Grant the person access from a project they belong to, then confirm that project only sees rows they created there.
- Publish, then confirm Published Preview and the portal see the same shared tables Build does.
Limits and notes
- Project tables do not need a workspace key: the project already isolates its data. If Build refuses a new project table because it includes
owner_user_idorworkspace_key, those names are reserved for shared tables. Drop them and keep the table in this project (useuser_idorend_user_idwhen a row belongs to a person), or ask Build to declare a shared table instead. - Membership is checked when you create the grant. Removing that person from the project later does not end it, so set an end date or revoke the grant when access should stop.
- Shared tables are not available in throwaway eval runs or capability-test sessions. Preview can still read them.
- Preview as a person can read shared tables and write person-owned shared rows. Those person-owned rows are real, and Reset in the Preview toolbar clears them (and ends their grants). Preview and Building cannot write project-owned or app-owned shared tables, because those rows are live and Reset would not undo them. If anything cannot be cleared, the reset says what was left for review instead of reporting a clean slate.
- Seed data stays per project. Do not seed shared tables from project starter data.
- Delete all data on a person removes their person-owned shared rows and ends their grants. Shared rows that belong to a project, the app, or another person are never deleted with them. When such a row links to one of the person’s rows, the link is cleared and the row stays. Project- or app-owned rows with a column that looks like a person (for example
member_id) are listed for review instead. - A project-owned or app-owned shared table cannot have a required link to a person-owned table, because nothing could clear it. Keep that column optional. If an older table already has one, Delete all data keeps the account, keeps the rows that link holds, and names the column: ask the AI in Build to make it optional, then run it again.
- Who owns a shared row is fixed when you declare the table; you cannot change that owner column later in Build.
- Deleting a project deletes that project’s project-owned shared rows and ends its grants. Person-owned rows created there stay with the person: they still see them, and no other project can open them. Optional links from rows that stay to the deleted rows are cleared. A deleted row that another row requires is kept, and GenieForge is alerted to remove it.
- Export/import carries shared table structure, not grants or live shared rows.
- Turning on HIPAA later is blocked while shared tables or grants still exist.

