Files
soroban-abacus-flashcards/apps/web/drizzle/0074_flowchart_embeddings.sql
Thomas Hallock 269321b4c4 feat(flowchart): add animated background tiles to FlowchartCards
- Add AnimatedProblemTile component with MathDisplay for proper math rendering
- Add AnimatedBackgroundTiles grid component for card backgrounds
- Update FlowchartCard to accept flowchart + examples props
- Generate examples client-side for both hardcoded and database flowcharts
- Use same formatting system (formatProblemDisplay + MathDisplay) as modal

Also includes:
- Fix migration 0076 timestamp ordering issue (linkedPublishedId column)
- Add migration-timestamp-fix skill documenting common drizzle-kit issue
- Update CLAUDE.md with migration timestamp ordering guidance
- Various flowchart workshop and vision training improvements

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 10:10:49 -06:00

15 lines
484 B
SQL

-- Add embedding columns to teacher_flowcharts table
ALTER TABLE `teacher_flowcharts` ADD `embedding` blob;
--> statement-breakpoint
ALTER TABLE `teacher_flowcharts` ADD `embedding_version` text;
--> statement-breakpoint
-- Create flowchart_embeddings table for hardcoded flowcharts
CREATE TABLE `flowchart_embeddings` (
`id` text PRIMARY KEY NOT NULL,
`embedding` blob NOT NULL,
`embedding_version` text NOT NULL,
`content_hash` text NOT NULL,
`created_at` integer NOT NULL
);