rename ref piece jointe into type piece jointe

This commit is contained in:
Tanguy PATTE 2015-08-14 12:06:26 +02:00
parent b9b17e2b0c
commit a807ba5ae9
18 changed files with 961 additions and 940 deletions

View file

@ -0,0 +1,6 @@
class RenameRefPieceJointToTypePieceJointe < ActiveRecord::Migration
def change
rename_table :ref_pieces_jointes, :types_piece_jointe
rename_column :pieces_jointes, :ref_pieces_jointes_id, :type_piece_jointe_id
end
end