managarten/services/telegram-calendar-bot/drizzle.config.ts
Claude 0f6faa520b
feat(telegram-calendar-bot): implement new Telegram bot for calendar integration
- Add NestJS service with Telegraf for Telegram bot functionality
- Implement commands: /today, /tomorrow, /week, /next, /calendars, /add
- Create database schema for user linking and reminder settings
- Add Calendar API client for fetching events
- Implement reminder scheduler with morning briefing support
- Add message formatters for German locale
- Include Dockerfile and CLAUDE.md documentation
- Update TELEGRAM_BOTS.md with new bot status

Commands implemented:
- /today, /tomorrow, /week - View events
- /next [n] - View next n events
- /calendars - List calendars
- /remind - Reminder settings
- /link, /unlink - Account management
- /status - Connection status

https://claude.ai/code/session_01LwmhvhKpEsvVtY1ZKhYu6f
2026-01-27 19:30:58 +00:00

10 lines
281 B
TypeScript

import { defineConfig } from 'drizzle-kit';
export default defineConfig({
schema: './src/database/schema.ts',
out: './drizzle',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL || 'postgresql://manacore:devpassword@localhost:5432/calendar_bot',
},
});