2016-03-17 14:59:27 +01:00
|
|
|
class DBremovePieceJustificativeEmpty < ActiveRecord::Migration
|
2018-03-06 13:44:29 +01:00
|
|
|
class PieceJustificative < ApplicationRecord
|
2016-03-17 14:59:27 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def change
|
|
|
|
PieceJustificative.where(content: nil).delete_all
|
|
|
|
end
|
|
|
|
end
|