class CreateLoaUnidadesGestoras < ActiveRecord::Migration[4.2]
  def change
    create_table :loa_unidades_gestoras do |t|
      t.integer :orcamento_id
      t.string :codigo, limit: 2
      t.string :nome, limit: 80
      t.date :data_de_cadastro
      t.string :numero_da_lei_de_criacao, limit: 10

      t.timestamps null: false
    end
  end
end
