Add description to type_de_champs table

This commit is contained in:
Xavier J 2015-10-27 16:15:25 +01:00
parent 5c643c6373
commit 2d548acba0
4 changed files with 28 additions and 14 deletions

View file

@ -0,0 +1,6 @@
class ChangeAttributsToTypeDeChamps < ActiveRecord::Migration
def change
rename_column :types_de_champs, :type, :type_champs
add_column :types_de_champs, :description, :text
end
end