MCPcopy
hub / github.com/drawdb-io/drawdb / normalizeFkAction

Function normalizeFkAction

src/utils/migrations/diffToSQL.js:217–219  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

215}
216
217function normalizeFkAction(s) {
218 return (s || "No action").toString().toUpperCase();
219}
220
221function toTypeDefinition(type, database, q) {
222 if (!type || !databases[database]?.hasTypes) return null;

Callers 2

generateMigrationSQLFunction · 0.85
addFkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected