template-saas/apps/database/ddl
rckrdmrd 68d3c54023 docs(ai): Update documentation and fix DDL scripts
Documentation:
- Update SAAS-006-ai-integration.md with full implementation details
- Update _MAP.md with AI schema (30 tables, 11 schemas)
- Update PROJECT-STATUS.md (67% completion)

Database fixes:
- Add update_updated_at_column() function to 03-functions.sql
- Add trigger creation for ai.configs in 03-functions.sql
- Fix partial index in 02-ai-usage.sql (remove CURRENT_DATE)
- Add AI schema grants to create-database.sh
- Add AI to SCHEMA_ORDER array

Validated: Database recreation successful with all AI objects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 07:21:56 -06:00
..
schemas docs(ai): Update documentation and fix DDL scripts 2026-01-07 07:21:56 -06:00
00-extensions.sql feat: Initial commit - template-saas 2026-01-07 04:41:24 -06:00
01-schemas.sql feat: Add AI Integration, Notifications UI and Settings Page 2026-01-07 07:04:29 -06:00
02-enums.sql feat: Add AI Integration, Notifications UI and Settings Page 2026-01-07 07:04:29 -06:00
03-functions.sql docs(ai): Update documentation and fix DDL scripts 2026-01-07 07:21:56 -06:00