-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Revert "Migrate evals database when deploying roo-code-website" #6525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,8 +15,9 @@ | |
| "drizzle-kit:production": "dotenvx run -f .env.production -- tsx node_modules/drizzle-kit/bin.cjs", | ||
| "db:generate": "pnpm drizzle-kit generate", | ||
| "db:migrate": "pnpm drizzle-kit migrate", | ||
| "db:migrate:production": "pnpm drizzle-kit:production migrate", | ||
| "db:push:test": "pnpm drizzle-kit:test push", | ||
| "db:push": "pnpm drizzle-kit push", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I notice this changes the migration strategy from The |
||
| "db:test:push": "pnpm drizzle-kit:test push", | ||
| "db:production:push": "pnpm drizzle-kit:production push", | ||
| "db:up": "dotenvx run -f .env.development .env.local -- docker compose up -d db", | ||
| "db:down": "dotenvx run -f .env.development .env.local -- docker compose down db", | ||
| "redis:up": "dotenvx run -f .env.development .env.local -- docker compose up -d redis", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ALTER TABLE "runs" ADD COLUMN "timeout" integer DEFAULT 5 NOT NULL; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This migration file appears to be a duplicate of the existing ALTER TABLE "runs" ADD COLUMN "timeout" integer DEFAULT 5 NOT NULL;Having duplicate migration files with the same content will cause conflicts. Is this intentional? If the original PR deleted this file and you're reverting that deletion, we might need to handle the existing |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These quote style changes (single to double quotes) seem unrelated to the main purpose of reverting the database migration. Would it be cleaner to keep the formatting as it was, or handle formatting changes in a separate PR?