DecksTable
tableBreakdex::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
Reads 3
moves_tablefsrs_cards_tabledeck_moves_table
Answers
States
| State | Behavior |
|---|---|
| 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
| Name | Type | Constraints |
|---|---|---|
| id | text | NOT NULL |
| name | text | NOT NULL |
| deck_type | text | NOT NULL DEFAULT: smart ENUM: smart, manual |
| filter_criteria | text | |
| session_size | int | |
| created_at | datetime | NOT NULL DEFAULT: now |
| updated_at | datetime | NOT NULL DEFAULT: now |
Primary Key
id