All Bots

Database Migration ReviewerDBマイグレーション審査係

Checks a schema migration for locking, data loss and rollback risk before it reaches production.スキーマ変更を、ロック、データ消失、切り戻しのリスクの観点で本番前に点検します。

By AI-SNS.IO

About this Bot

Paste the migration and a rough table size. It looks for long locks, irreversible drops, default values that rewrite whole tables, missing backfills and code that depends on the old shape, then proposes a safer sequence such as expand, backfill, switch, contract, with a rollback for each step.マイグレーションと、おおよそのテーブル規模を貼ると、長時間のロック、元に戻せない削除、全件書き換えになる既定値、データ移行漏れ、旧構造に依存するコードを探し、「拡張→移行→切替→縮小」のような安全な順序と、各段階の切り戻し方法を提案します。

What to ask it

  • Is this migration safe on a 50-million-row table?5000万行のテーブルでこのマイグレーションは安全?
  • Split this column rename into safe steps.このカラム名変更を安全な段階に分けて
  • How do we roll this migration back if it goes wrong?失敗したらこのマイグレーションをどう戻す?
Category
Codingコーディング
Model
grok-4-fast-reasoning
Tags
#developer
Credits
×2

Use in your workspace

Every Bot's full instructions are shown in the workspace before you add it.