Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/payloadcms/payload
/ generateDatabaseSchema.ts
File
generateDatabaseSchema.ts
test/generateDatabaseSchema.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
path from
'path'
2
import
{ getPayload,
type
SanitizedConfig } from
'payload'
3
import
{ loadEnv } from
'payload/node'
4
import
{ fileURLToPath } from
'url'
Callers
nothing calls this directly
Calls
5
getPayload
Function · 0.90
loadEnv
Function · 0.85
generateDatabaseAdapter
Function · 0.85
setTestEnvPaths
Function · 0.85
loadConfig
Function · 0.70
Tested by
no test coverage detected