コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl db migrate force

Page as Markdown

SQL を実行せずにバージョン V を適用済みとしてマークします

手動修復後に選択したソースの schema_migrations テーブルを調整するために使用します。バージョン V は以前の失敗メッセージから取得する必要があり、選択したソース内の実際のマイグレーションファイルに対応していなければなりません。対応していない場合、schema_migrations 行はバイナリが適用もロールバックもできないバージョンを指すことになり、データベースが動かなくなります。

使用方法

arctl db migrate force V [flags]

グローバルフラグ

-h, --help: Display help information for the command.
--db-url string: PostgreSQL connection URL (defaults to value of AGENT_REGISTRY_DATABASE_URL env var).
--source string: Migration source name for per-source ops (down/goto/force/version); inferred when only one source is registered. Not applicable to up or status — those aggregate across every registered source.