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

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 ->
Agile Development Blog ->