Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: No text type has byte size 4294967295. The limit on text can be at most 1GB - 1byte. #43

Open
viktorianer opened this issue Aug 24, 2022 · 2 comments

Comments

@viktorianer
Copy link

viktorianer commented Aug 24, 2022

I just added LabTech to my Rails project and getting this error on migration.

Caused by this line:

t.text "value", limit: 4294967295

Changing it to t.text "value", limit: 1.gigabyte - 1.byte will help in my case.

I am working on macOS with M1 chip and Docker:
ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
Rails 6.1.6
lab_tech 0.1.9
scientist 1.6.3

Maybe related to my postgis 14.3.2 on Alpine?

@geeksam
Copy link
Contributor

geeksam commented Aug 9, 2023

Sorry, I left Real Geeks and no longer have commit privileges to this repo. Pinging @larslevie @kevin1024 @LupineDev @Sparkmasterflex

@kevin1024
Copy link
Member

@geeksam just added you as a maintainer. Thanks for keeping lab_tech alive :)

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

No branches or pull requests

3 participants