action/cloudflare/tidb library

Classes

CloudflareTidbCliAction
WorkerへTiDB接続設定と共通manifestを反映する。DDLはmigrateへ分離する。
TidbMigrateCliCommand
TiDBのschema差分と適用を管理する。katana applyからDBを変更しない。

Functions

finalizeTidbSchema({String root = ".", String outputPath = "tidb/schema/schema.json"}) → void
build_runnerが管理するfragmentを統合する。未変更モデルも含め、削除済み入力は除く。
removeTidbFromCloudflareEntry(String source) → String
Removes the TiDB function registration and its now-unused imports from a Worker entrypoint source.
selectTidbRuntimeCredentials(Map<String, dynamic> state, String environment, String cluster) → Map<String, dynamic>
Selects only the runtime identity for the requested cluster.