© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Error creating organization - Better Auth
BA
Better Auth
•
13mo ago
<Brendon/>
Error creating organization
SERVER
_ERROR
:
[Error
[BetterAuthError
]
: The field
"slug
" does not exist in the schema for the model
"organization
"
. Please update your schema
.
]
{
cause
: undefined
}
export const organization
= pgTable
(
"organization
"
,
{
id
: text
(
"id
"
)
.primaryKey
(
)
,
name
: text
(
"name
"
)
.notNull
(
)
,
slug
: text
(
"slug
"
)
.unique
(
)
,
logo
: text
(
"logo
"
)
,
createdAt
: timestamp
(
"created
_at
"
)
.notNull
(
)
,
metadata
: text
(
"metadata
"
)
,
}
)
;
Recent Announcements
No replies yet
Join the Discord to continue the conversation
BA
Better Auth
10,204
Members
Join
Similar Threads
Organization update error
BA
Better Auth / help
8mo ago
Organization update error
BA
Better Auth / help
8mo ago
organization type error.
BA
Better Auth / help
12mo ago
Creating an organization from the server
BA
Better Auth / help
2w ago