feat: Replace Meetings with Calendar - events with types and assigned users
- Rename meetings table to events with type field (meeting/event) - Add eventUsers junction table for user assignments - Members see only events they're assigned to - Calendar endpoint returns events + todos for month - Add migration SQL for database changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,7 @@ import todoRoutes from './routes/todo.routes.js';
|
||||
import timeTrackingRoutes from './routes/time-tracking.routes.js';
|
||||
import noteRoutes from './routes/note.routes.js';
|
||||
import auditRoutes from './routes/audit.routes.js';
|
||||
import meetingRoutes from './routes/meeting.routes.js';
|
||||
import eventRoutes from './routes/event.routes.js';
|
||||
|
||||
const app = express();
|
||||
|
||||
@@ -89,7 +89,7 @@ app.use('/api/todos', todoRoutes);
|
||||
app.use('/api/time-tracking', timeTrackingRoutes);
|
||||
app.use('/api/notes', noteRoutes);
|
||||
app.use('/api/audit-logs', auditRoutes);
|
||||
app.use('/api/meetings', meetingRoutes);
|
||||
app.use('/api/events', eventRoutes);
|
||||
|
||||
// Basic route
|
||||
app.get('/', (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user