Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

343 B
Raw Blame
import db from "../../database";
import { insertProject } from "./insert-project";

async function createProject(
  workspaceId: string,
  name: string,
  icon: string,
  slug: string,
  userId: string,
) {
  return db.transaction((tx) =>
    insertProject(tx, { workspaceId, name, icon, slug, userId }),
  );
}

export default createProject;