Merge branch 'worktree-agent-a7e6e4b2' into Develop

# Conflicts:
#	.planning/REQUIREMENTS.md
#	.planning/ROADMAP.md
#	.planning/STATE.md
#	drizzle/meta/_journal.json
#	src/db/schema.ts
#	src/db/seed.ts
#	src/shared/schemas.ts
#	src/shared/types.ts
This commit is contained in:
2026-04-05 13:13:26 +02:00
18 changed files with 1863 additions and 232 deletions

View File

@@ -0,0 +1,21 @@
CREATE TABLE `global_items` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`brand` text NOT NULL,
`model` text NOT NULL,
`category` text,
`weight_grams` real,
`price_cents` integer,
`image_url` text,
`description` text,
`created_at` integer NOT NULL
);
--> statement-breakpoint
CREATE TABLE `item_global_links` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`item_id` integer NOT NULL,
`global_item_id` integer NOT NULL,
FOREIGN KEY (`item_id`) REFERENCES `items`(`id`) ON UPDATE no action ON DELETE cascade,
FOREIGN KEY (`global_item_id`) REFERENCES `global_items`(`id`) ON UPDATE no action ON DELETE cascade
);
--> statement-breakpoint
CREATE UNIQUE INDEX `item_global_links_item_id_unique` ON `item_global_links` (`item_id`);

File diff suppressed because it is too large Load Diff

View File

@@ -75,8 +75,8 @@
{
"idx": 10,
"version": "6",
"when": 1775327900426,
"tag": "0010_foamy_marvel_zombies",
"when": 1775387093955,
"tag": "0010_demonic_rawhide_kid",
"breakpoints": true
}
]