Changes lock key type from string to text #214

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@hugopeixoto
Contributor

hugopeixoto commented Jun 17, 2016

To support more than 255 characters by default, the key type needs to be Text.

I was getting a ArgumentError obtaining the lock because one of the uniqueness fields was a long text field.

Changes lock key type from string to text
To support more than 255 characters by default, the key type needs to be Text.

@nviennot nviennot closed this in 25e36ee Jun 17, 2016

@nviennot

This comment has been minimized.

Show comment
Hide comment
@nviennot

nviennot Jun 17, 2016

Owner

Thanks! :)

Owner

nviennot commented Jun 17, 2016

Thanks! :)

nviennot added a commit that referenced this pull request Jun 17, 2016

Locking: changes lock key type from string to text
To support more than 255 characters keys by default, the key type needs to be Text.

Fixes #214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment