class CreateBaseFuncao < ActiveRecord::Migration[4.2]
	def self.up
		create_table :base_funcoes do |t|
			t.string :codigo
			t.string :nome
			t.references :modulo, :polymorphic => true

      		t.timestamps null: false
		end
	end

	def self.down
		drop_table :base_funcoes
	end
end
