schema.js
667 Bytes
import { authDbSchema } from '@drama/auth'
import { billingDbSchema } from '@drama/billing'
import { dbSchema } from '@drama/db'
import { emailDbSchema } from '@drama/email'
import { accessDbSchema } from '@voko/access'
import { clearingDbSchema } from '@voko/clearing'
import { exchangeDbSchema } from '@voko/exchange'
/** voko 库的当前完整结构(新空库 init 时按此建表)。 */
export const vokoTargetTables = [
...dbSchema.targetTables,
...authDbSchema.targetTables,
...billingDbSchema.targetTables,
...emailDbSchema.targetTables,
...accessDbSchema.targetTables,
...exchangeDbSchema.targetTables,
...clearingDbSchema.targetTables,
]