1. 27 6月, 2015 1 次提交
    • P
      Add reversible syntax for change_column_default · a4128725
      Prem Sichanugrist 提交于
      Passing `:from` and `:to` to `change_column_default` makes this command
      reversible as user has defined its previous state.
      
      So, instead of having the migration command as:
      
          change_column_default(:posts, :state, "draft")
      
      They can write it as:
      
          change_column_default(:posts, :state, from: nil, to: "draft")
      a4128725
  2. 26 6月, 2015 3 次提交
  3. 25 6月, 2015 5 次提交
  4. 24 6月, 2015 3 次提交
  5. 23 6月, 2015 18 次提交
  6. 22 6月, 2015 10 次提交