Issue creating a column named "Group"
Reported by ablemike | October 5th, 2009 @ 06:48 PM
I know this isn't the home anymore, but I can't get a beta
account for codaset.
There seems to be an issue with a migration that has a column named
"group"
Here is my migration code:
UP:
add_field:
attachments:
group:
type: string
DOWN:
drop_field:
attachments: group
And here is the SQL error:
[1254764276] Add Group To Attachments ...
> adding column 'group' on 'attachments'
_doQuery: [Error message: Could not execute statement] [Last executed query: ALTER TABLE attachments ADD group VARCHAR(255) DEFAULT NULL] [Native code: 1064] [Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group VARCHAR(255) DEFAULT NULL' at line 1]
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป