DecksTable

table

Breakdex::DataStores::DecksTable

Custom review decks — smart (filter-based) or manual (hand-picked moves)

Decks let the breakdancer customize what gets reviewed. Smart decks use JSON filter criteria (category, state, etc.) to dynamically select moves. Manual decks use the deck_moves join table. session_size caps how many cards appear per review session.

Relationships

Depends On 1

decks_dao

Reads From 3

moves_tablefsrs_cards_tabledeck_moves_table

Breaks If 2

filter_criteria_schema_changesdeck_type_enum_changes

Data Access

\u2190 Reads 3

moves_tablefsrs_cards_tabledeck_moves_table

Answers

States

StateBehavior
no Filter Criteria
message: Smart deck with NULL filter_criteria includes all eligible moves
shows: all_moves_included
no Session Size
message: No cap on cards per session — all matching moves appear in review
shows: unlimited_session

Columns

NameTypeConstraints
idtextNOT NULL
nametextNOT NULL
deck_typetextNOT NULL DEFAULT: smart ENUM: smart, manual
filter_criteriatext
session_sizeint
created_atdatetimeNOT NULL DEFAULT: now
updated_atdatetimeNOT NULL DEFAULT: now

Primary Key

id