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

MySQL: Position column MUST NOT have default #10

Closed
MattRogish opened this issue Jul 29, 2011 · 4 comments
Closed

MySQL: Position column MUST NOT have default #10

MattRogish opened this issue Jul 29, 2011 · 4 comments
Assignees

Comments

@MattRogish
Copy link

If I set my position column to have default 0 in MySQL, then acts_as_list does not work. If I change the SQL table to drop the default, then acts_as_list works fine. This should be documented somewhere, as the older "official" one worked fine with the default 0 until we upgraded to this one.

Thanks,

Matt

@swanandp
Copy link
Contributor

swanandp commented Aug 1, 2011

Aye, this one is a regression bug, added because some recent commits.

@ghost ghost assigned swanandp Aug 3, 2011
@iangreenleaf
Copy link

+1

@swanandp
Copy link
Contributor

I think this is now fixed, with this commit: e81eb82

@swanandp
Copy link
Contributor

I've added a whole bunch of testcases, actually replicated the whole test-case set for default and non-default column.

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