Add_column not working

I try to add a column using migration in the table tests with the name
namn as a string. Doesn’t work. Any idea why?

def self.up
add_column :tests, :namn, :string
end

Is that the actual code that’s failing, or did you write it from
memory? I only ask because to me, it looks completely fine.

What’s the error you are getting?


Peter Wright
[email protected]

Personal Blog -> http://peterwright.blogspot.com
Agile Development Blog -> http://exceeding-expectations.blogspot.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs