Skip to main content

Table Reference

Cinephage uses SQLite for data storage. The database schema is managed automatically - you do not need to create tables manually.

Overview

The database is organized into logical groups:

  • Media tables - Movies, TV shows, episodes, and metadata
  • Configuration tables - Settings, profiles, and user preferences
  • Download tables - Queue, history, and client connections
  • Search tables - Indexers, queries, and results

Key Tables

TablePurposeNotes
moviesMovie library entriesLinks to TMDB metadata
tv_showsTV show library entriesContains season/episode counts
episodesIndividual episodesLinks to tv_shows and files
download_queueActive downloadsStatus tracking and client mapping
indexersConfigured search sourcesYAML definition references
settingsApplication configurationKey-value store
usersUser accountsAuthentication and permissions
api_keysAPI key storageScoped access tokens

Schema Details

For a complete view of the database schema, including column types, indexes, and relationships, see the Schema Overview.

See Also