Hi,
Everything is in the title.
With Rails 2.3.4 and MySQL 5.0.41:
If have a table like this:
+----------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra
|
+----------------+------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL |
auto_increment |
| author_id | int(11) | YES | | NULL |
|
| author_bet_id | int(11) | YES | | NULL | |
| author_comment | text | YES | | NULL | |
| created_at | datetime | YES | | NULL | |
| confirmed | tinyint(1) | YES | | NULL | |
| admin_comment | text | YES | | NULL | |
| confirmed_at | datetime | YES | | NULL | |
| bet_id | int(11) | YES | MUL | NULL |
|
| user_id | int(11) | YES | MUL | NULL |
|
+----------------+------------+------+-----+---------+----------------+
But in schema.rb, I have this:
create_table "abuses", :force => true do |t|
t.integer "author_id"
t.integer "author_bet_id"
t.text "author_comment"
t.datetime "created_at"
t.boolean "confirmed"
t.text "admin_comment"
t.datetime "confirmed_at"
t.integer "bet_id"
t.integer "user_id"
end
Why the hell is the size limit lost?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---