Expand description
BIRD initialization - creates directory structure and database.
§Schema Architecture
BIRD uses a multi-schema architecture for flexible data organization:
§Data Schemas (contain actual tables)
local- Locally generated data (tables in DuckDB mode, parquet views in parquet mode)cached_<name>- One per remote, contains data pulled/synced from that remotecached_placeholder- Empty tables (ensurescachesviews work with no cached data)
§Attached Schemas (live remote connections)
remote_<name>- Attached remote databases (read-only)remote_placeholder- Empty tables (ensuresremotesviews work with no remotes)
§Union Schemas (dynamic views)
caches- Union of allcached_*schemasremotes- Union of allremote_*schemasmain- Union oflocal+caches(all data we own locally)unified- Union ofmain+remotes(everything)cwd- Views filtered to current working directory
§Reserved Schema Names
local,main,unified,cwd,caches,remotes- Core schemascached_*- Reserved prefix for cached remote dataremote_*- Reserved prefix for attached remotesproject- Reserved for attached project-level database
Constants§
- DEFAULT_
EVENT_ FORMATS_ CONFIG - Default content for event-formats.toml.
Functions§
- initialize
- Initialize a new BIRD installation.
- is_
initialized - Check if BIRD is initialized at the given location.