- 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>
15 lines
484 B
SQL
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
|
|
);
|