maple.state.store.init_db

maple.state.store.init_db() None

Initialize database schema.

Creates all required tables and indexes if they don’t exist. Safe to call multiple times (idempotent). Tables include policies, envs, containers, and runs with appropriate indexes for common queries.

Automatically called on module import to ensure database is ready.