Database Specs

Technical documentation on how I-AM-HUMAN SUPABASE DATABASE works

We use PostgresSQL for storing all the user data for our app. Right now we have 3 tables in our app and their purpose and functionalities are specified below

DATABASE SCHEMA

USERS TABLE

This table stores all the information relating to a user . The DB has the following schema and each column has a specified meaning relating to it as defined below

EVENTS TABLE

Logs all user actions that a user takes inside the app. It helps us to track errors. The DB has the following schema and each column has a specified meaning relating to it as defined below

SUPER_ADMINS TABLE

Has a list of all the superadmins that PII (Personally Identifiable Information) is visible to. The DB has the following schema and each column has a specified meaning relating to it as defined below

Last updated