-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Error on trying to sort records with row_order = null #73
Comments
@stgeneral I believe the docs should just be updated, confirmed. |
This is at odds with this comment: #32 (comment) The above linked fixed an issue for me whereby I had my column defaulting it to 0, but my ordering was screwing up on insertion (where no :row_order_position was supplied). Defaulting to null seems to have fixed the issue for me. |
I'm not sure if setting a default value for that column is supported from an ideological point of view unless you set it to the maximum or minimum value? |
Having a default column value is not allowed. We check for this now. |
I've solved it migrating to :null => false, :default => 0 for row_order column.
Solutions:
The text was updated successfully, but these errors were encountered: