In my Rails (3.2) app, I have a bunch of tables in my database but I forgot to add a few not null constraints. I\'ve googled around but I can\'t find how to write a migration wh
1) FIRST: Add column with default value
2) THEN: Remove default value
add_column :orders, :items, :integer, null: false, default: 0 change_column :orders, :items, :integer, default: nil