Function
exec
(query: string, params?: readonly unknown[])
Source from the content-addressed store, hash-verified
| 86 | `CREATE TABLE IF NOT EXISTS "${tableName}" (id TEXT NOT NULL, _namespace TEXT NOT NULL DEFAULT 'primary', _etag TEXT, data JSONB NOT NULL, PRIMARY KEY (id, _namespace))` |
| 87 | ) |
| 88 | .pipe( |
| 89 | Effect.andThen( |
| 90 | sql.unsafe( |
| 91 | `CREATE TABLE IF NOT EXISTS "_migrations" (id TEXT NOT NULL, version TEXT NOT NULL, PRIMARY KEY (id, version))` |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…