Skip to content

Conversation

@Treggats
Copy link
Contributor

@Treggats Treggats commented Jul 4, 2025

I was setting up a dummy project, so I used the migration from the docs. Turns out that it fails because there was both an integer(..) as an belongsTo(..) defined for the author_id.

Removed the integer(..) from the docs, I assumed that the belongsTo(..) needs to stay :)

the `integer(..)` is not needed when a `belongsTo(..)` is present.
@Treggats Treggats changed the title (feat) database migration doc update/fix feat(database): migration doc update/fix Jul 4, 2025
@brendt brendt merged commit b5b9794 into tempestphp:main Jul 5, 2025
2 checks passed
@brendt
Copy link
Member

brendt commented Jul 5, 2025

Thanks!

@Treggats Treggats deleted the patch-1 branch July 5, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants