members.uuid
is marked as nullable
in database schema
#22077
Labels
server / core
Issues relating to the server or core of Ghost
Issue Summary
#11341 introduced UUIDs for members.
It introduced a migration to backfill UUIDs for existing members, and introduced defaults so that each new member would have a UUID.
It seems to me like the database schema should be adjusted to mark the
members.uuid
column asnullable: false
.When #14600 introduced UUIDs for newsletters, it included a migration to drop
nullable
from the newnewsletters.uuid
column. A similar migration could probably be created for the members table.Steps to Reproduce
Ghost/ghost/core/core/server/data/schema/schema.js
Line 428 in 048f177
Ghost Version
5.108.1
Node.js Version
20.18.1
How did you install Ghost?
Irrelevant for the issue
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
Code of Conduct
The text was updated successfully, but these errors were encountered: