posts is table name, string is datatype, then where did you miss column name ? Also you do not need to set default to null for string as its default value is null
You don't need to specify it. When you add new column to table without default value all the values will be null.
Also: note that in ruby the equivalent of psql Null value is nil.
postsis table name,stringis datatype, then where did you miss column name ? Also you do not need to set default to null for string as its default value is null