Hi I have a rails app which has a table called "listings". This table has a column called "city". But the column has no data right now, everything is null. Id like to add the string: "Not Available" to column values for all the rows in this table. How can I do that?
I tried using sql to add it directly to the DB and it wouldn't work.
So I guess I must use the rails migration commands to achieve this. but I cannot find the exact command. I know its something like this....
rails generate migration ??
Can someone give me a hand?
Thanks