-
Notifications
You must be signed in to change notification settings - Fork 1
Fix: Dashboard category popup issues(web-pro) & Profile Page Bugs - October Release #590
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
93f273a
240077a
1a2e27a
8f2eeaf
78e9fdf
130f8c9
92b2fb3
9907138
73e28c4
695cf24
5ec652b
e20ccd4
71cad84
84159bb
545111d
dc8ab41
a1f7610
aae157e
72505ba
05bc529
2bdf7fe
8c87593
8d1ba11
fd9935b
67e0dbc
1cffcab
314565e
ed70130
c226f24
d165690
c95b764
539adbd
7bf98bd
4fb555e
c5f79c6
a9345b3
8ba318e
3f36265
793c9b9
c1da516
c83000a
5854aa9
cc2cf93
4e979f6
25e6640
525fd5e
9f258c5
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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||||
| -- Could not auto-generate a down migration. | ||||||||||||
| -- Please write an appropriate down migration for the SQL below: | ||||||||||||
| -- alter table "public"."preference" add column "lang" text | ||||||||||||
| -- null default 'en'; | ||||||||||||
|
Comment on lines
+1
to
+4
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. Critical: Implement functional down migration. This placeholder breaks migration rollback capability. Down migrations must contain actual SQL to revert schema changes. Apply this fix: --- Could not auto-generate a down migration.
--- Please write an appropriate down migration for the SQL below:
--- alter table "public"."preference" add column "lang" text
--- null default 'en';
+ALTER TABLE "public"."preference" DROP COLUMN "lang";📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| alter table "public"."preference" add column "lang" text | ||
| null default 'en'; | ||
|
Comment on lines
+1
to
+2
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. 🧩 Analysis chainVerify the corresponding down migration is complete. The addition of the Ensure the corresponding down migration file at 🏁 Script executed: #!/bin/bash
# Verify the down migration file is not just a placeholder
down_migration="apps/hasura/migrations/masterbots/1764041110780_alter_table_public_preference_add_column_lang/down.sql"
if [ -f "$down_migration" ]; then
echo "=== Down migration content ==="
cat "$down_migration"
echo ""
echo "=== Checking for SQL keyword (should contain 'drop' or 'alter') ==="
if grep -iq "drop\|alter" "$down_migration"; then
echo "✓ Down migration contains SQL"
else
echo "✗ Down migration may be a placeholder"
fi
else
echo "✗ Down migration file not found"
fiLength of output: 322 Implement the corresponding down migration with actual SQL. Verification confirms the down migration is incomplete—it contains only a placeholder comment and no actual SQL. The down migration must include the SQL to drop the column: alter table "public"."preference" drop column "lang";Update 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| -- Could not auto-generate a down migration. | ||
| -- Please write an appropriate down migration for the SQL below: | ||
| -- alter table "public"."preference" add column "font_size" text | ||
| -- null default 'medium'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| alter table "public"."preference" add column "font_size" text | ||
| null default 'medium'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_type" set not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_type" drop not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_complexity" set not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_complexity" drop not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_length" set not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_length" drop not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_tone" set not null; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| alter table "public"."preference" alter column "preferred_tone" drop not null; |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.