mysql-error-1170 Questions

20

Solved

I have a table with a primary key that is a varchar(255). Some cases have arisen where 255 characters isn't enough. I tried changing the field to a text, but I get the following error: BLOB/TEXT c...
Alodee asked 1/12, 2009 at 15:50

2

Solved

This is part of my model: @Entity public class Entry { @Id @GeneratedValue private long identifier; @ElementCollection @Column(nullable = false) private Map<String, String> titles; @...
Atalya asked 23/1, 2011 at 18:57

3

Solved

The current column is a VARCHAR(255) NOT NULL, so how do I change it to TEXT NOT NULL? NOTE: The column intended to be changed its property type is a UNIQUE KEY combination of another column. E.g....
Phene asked 20/1, 2011 at 7:49

1

Solved

I'm trying to add a composite primary key to a class and having a bit of trouble. Here are the classes. class User { private long id; ... } class Token { private User user; private String ser...
Americano asked 12/11, 2009 at 14:33

2

I'm using MySQL fulltext indexes in a Rails 2.3.2 App. I added the index via native SQL in my migration. But there is a known issue causing problems with the schema.rb. Rails doesn't understand ful...
Loki asked 17/4, 2009 at 7:57
1

© 2022 - 2024 — McMap. All rights reserved.