• Mohamed Aziz Mejri's avatar
    Neon integration (#3178) · 661e1438
    Mohamed Aziz Mejri 提交于
    ### Context for review bots :
    
    1.The agent can execute sql commands directly on production , this is
    fine because they user may choose to start with a simple setup first and
    use the production database directly (in a follow up PR we should give
    the users the ability to sync dev branch to match production branch).The
    user also has the possiblity to revert database changes .
    2.Right now there’s no warning for destructive changes before migration
    , this is fine for now as we're gonna add a follow up PR for this
    3.When linking an existing neon project that doesnt have a developement
    database , we're setting the default branch as the active branch . This
    is fine because the user may prefer to start a simple setup at the
    beginning and work directly on the production database , in addition
    since the project was created outside dyad it may have a developement
    branch named differently so it wouldnt be wise to auto create one here .
    However, in a follow up PR we should allow the user to manually create
    branches and sync dev branch to match production .
    4.neon is only available for next.js now
    5.We dont have enough tests for now, i am gonna add a follow-up PR to
    cover this
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3178"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 (1M context) <noreply@anthropic.com>
    661e1438
名称
最后提交
最后更新
..
azure 正在载入提交数据...
backups 正在载入提交数据...
engine 正在载入提交数据...
gateway 正在载入提交数据...
images 正在载入提交数据...
import-app 正在载入提交数据...
security-review 正在载入提交数据...
1.md 正在载入提交数据...
2.md 正在载入提交数据...
3.md 正在载入提交数据...
4.md 正在载入提交数据...
5.md 正在载入提交数据...
6.md 正在载入提交数据...
add-neon.md 正在载入提交数据...
add-safe-dependency.md 正在载入提交数据...
add-supabase.md 正在载入提交数据...
add-unsafe-dependency.md 正在载入提交数据...
basic.md 正在载入提交数据...
chat1.md 正在载入提交数据...
chat2.md 正在载入提交数据...
console-logs.md 正在载入提交数据...
context-limit-response.md 正在载入提交数据...
create-error.md 正在载入提交数据...
create-multiple-errors.md 正在载入提交数据...
create-ts-errors-complex.md 正在载入提交数据...
create-ts-errors.md 正在载入提交数据...
create-unfixable-ts-errors.md 正在载入提交数据...
dyad-write-angle.md 正在载入提交数据...
edit-made-with-dyad.md 正在载入提交数据...
execute-sql-1.md 正在载入提交数据...
execute-sql-no-description.md 正在载入提交数据...
generate-supabase-client.md 正在载入提交数据...
multi-page.md 正在载入提交数据...
network-requests.md 正在载入提交数据...
no-code-response.md 正在载入提交数据...
partial-write.md 正在载入提交数据...
rename-edit.md 正在载入提交数据...
version-integrity-add-edit-delete.md 正在载入提交数据...
version-integrity-move-file.md 正在载入提交数据...
write-index-2.md 正在载入提交数据...
write-index.md 正在载入提交数据...