Skip to content

Fix action cable error in OSS mode#1765

Merged
jorgemanrubia merged 2 commits intomainfrom
fix-cable-oss
Dec 1, 2025
Merged

Fix action cable error in OSS mode#1765
jorgemanrubia merged 2 commits intomainfrom
fix-cable-oss

Conversation

@jorgemanrubia
Copy link
Member

@jorgemanrubia jorgemanrubia commented Dec 1, 2025

We were not defining the cable database for the oss database configs.

cc @dhh

In the cable schema we use:

```
    t.binary "payload", size: :long, null: false
```

This will fail when resetting the db otherwise with an error due to the unexpected size property.
end

if type == :text
if type == :text || type == :binary
Copy link
Member Author

@jorgemanrubia jorgemanrubia Dec 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @kevinmcconnell @djmb I was getting an error due to the keyword size: in the cable schema for a binary column, for the sqlite case. Could you please check the patch?

@jorgemanrubia jorgemanrubia merged commit 594ea22 into main Dec 1, 2025
7 checks passed
@jorgemanrubia jorgemanrubia deleted the fix-cable-oss branch December 1, 2025 13:22
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.

1 participant