⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import db from "../../database";
import { activityTable } from "../../database/schema";
async function createActivity(
taskId: string,
type: string,
userId: string,
content: string | null,
eventData?: Record<string, unknown> | null,
) {
const [activity] = await db
.insert(activityTable)
.values({
taskId,
type,
userId,
content,
eventData: eventData ?? null,
})
.returning();
return activity;
}
export default createActivity;