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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user