MCPcopy Index your code
hub / github.com/simstudioai/sim / rules

Function rules

scripts/check-migrations-safety.test.ts:8–8  ·  view source on GitHub ↗
(sql: string)

Source from the content-addressed store, hash-verified

6import { lintSql } from './check-migrations-safety.ts'
7
8const rules = (sql: string) => lintSql(sql).map((f) => `${f.tier}:${f.rule}`)
9
10describe('additive / safe', () => {
11 test('nullable add column passes', () => {

Callers 1

Calls 1

lintSqlFunction · 0.90

Tested by

no test coverage detected