#MultiTenant plugin seed error

1 messages · Page 1 of 1 (latest)

vestal yacht
#

Created app like in manual in plugin, run app and get error

[19:00:42] INFO: Reading migration files from /Users/user/prj/pload3/pload3/src/migrations [19:00:42] INFO: Migrating: seed [19:00:43] ERROR: Error running migration seed. Rolling back. err: { "type": "QueryError", "message": "The following path cannot be queried: tenants.tenant", "stack": QueryError: The following path cannot be queried: tenants.tenant
In mongodb get only first user - demo@payload

golden currentBOT
vestal yacht
#

Tried with new ver 3.23, same result

`npx create-payload-app --example multi-tenant
cd ./pload3
cp .env.example .env
pnpm install && pnpm dev

at async createOperation (/Users/prj/pload3/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/payload/src/collections/operations/create.ts:170:12) {
data: [ { path: 'tenants.tenant' } ],
isOperational: true,
isPublic: false,
status: 400,
[cause]: [ { path: 'tenants.tenant' } ]
}

Node.js v23.2.0
 ELIFECYCLE  Command failed with exit code 1.`