Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
-- Tracks the lifetime sample Project Instance entitlement independently of
-- Bytebase metadata and its physical PostgreSQL resources.
CREATE TABLE sample_project_instance (
workspace text PRIMARY KEY,
project text NOT NULL,
instance text NOT NULL UNIQUE,
db_name text NOT NULL UNIQUE,
role_name text NOT NULL UNIQUE,
replica_id text NOT NULL,
created_at timestamptz NOT NULL DEFAULT now(),
expires_at timestamptz,
deleted_at timestamptz,
CHECK (deleted_at IS NULL OR expires_at IS NOT NULL)
);