refactor: update database setup and remove skills migration API

- Changed migration commands in DATABASE_SETUP.md to use `pnpm run sync-skills` and `pnpm run sync-teams`.
- Removed the skills migration API endpoint in route.ts, streamlining the migration process.
- Updated MIGRATION_UUID.md to reflect changes in migration steps and removed the old skills migration script.
- Added new sync scripts for skills and teams in package.json.
- Cleaned up init.sql by removing old teams data insertion and adjusted comments for clarity.
This commit is contained in:
Julien Froidefond
2025-08-21 15:21:36 +02:00
parent dad172157b
commit a4b680b092
11 changed files with 317 additions and 205 deletions

View File

@@ -23,8 +23,7 @@ export function middleware(request: NextRequest) {
if (
pathname.includes("/_next/") ||
pathname.includes("/favicon.ico") ||
pathname.includes("/public/") ||
pathname.includes("/api/skills/migrate")
pathname.includes("/public/")
) {
return NextResponse.next();
}