- Add comprehensive documentation in botbook/ with 12 chapters - Add botapp/ Tauri desktop application - Add botdevice/ IoT device support - Add botlib/ shared library crate - Add botmodels/ Python ML models service - Add botplugin/ browser extension - Add botserver/ reorganized server code - Add bottemplates/ bot templates - Add bottest/ integration tests - Add botui/ web UI server - Add CI/CD workflows in .forgejo/workflows/ - Add AGENTS.md and PROD.md documentation - Add dependency management scripts (DEPENDENCIES.sh/ps1) - Remove legacy src/ structure and migrations - Clean up temporary and backup files
8 lines
383 B
SQL
8 lines
383 B
SQL
-- Add slug column to bots table for drive-based bot creation
|
|
ALTER TABLE public.bots ADD COLUMN IF NOT EXISTS slug VARCHAR(255);
|
|
|
|
-- Create unique constraint on slug (without WHERE clause for ON CONFLICT to work)
|
|
ALTER TABLE public.bots ADD CONSTRAINT bots_slug_key UNIQUE (slug);
|
|
|
|
-- Backfill slug from name for existing bots
|
|
UPDATE public.bots SET slug = name WHERE slug IS NULL;
|