class UseJsonb < ActiveRecord::Migration
  # def up
  #   change_column_with_cast :boards, :permissions, :jsonb, default: { }
  #   change_column_with_cast :comments, :tags, :jsonb, default: { }
  #   change_column_with_cast :comments, :upvotes, :jsonb, default: { }
  #   change_column_with_cast :focuses, :tags, :jsonb, default: { }
  #   change_column_with_cast :users, :roles, :jsonb, default: { }
  # end
  # 
  # def down
  #   change_column_with_cast :boards, :permissions, :json, default: { }
  #   change_column_with_cast :comments, :tags, :json, default: { }
  #   change_column_with_cast :comments, :upvotes, :json, default: { }
  #   change_column_with_cast :focuses, :tags, :json, default: { }
  #   change_column_with_cast :users, :roles, :json, default: { }
  # end
end
