class AlterarLimiteDaSigla < ActiveRecord::Migration[4.2]
  def change
    reversible do |dir|
      change_table :base_naturezas_da_receita do |t|
        dir.up   { t.change :sigla, :string, :limit => 50 }
        dir.down { t.change :sigla, :string, :limit => 20 }
      end
      change_table :projecao_receitas do |t|
        dir.up   { t.change :sigla, :string, :limit => 50 }
        dir.down { t.change :sigla, :string, :limit => 20 }
      end
      change_table :base_receitas_stn do |t|
        dir.up   { t.change :sigla, :string, :limit => 50 }
        dir.down { t.change :sigla, :string, :limit => 20 }
      end
    end
  end
end
