blob: b835b9c6ed99242fbc15dcb01baf1c5ca1ee06df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class RemoveNilTypeServices < ActiveRecord::Migration
DOWNTIME = false
def up
execute <<-SQL
DELETE FROM services WHERE type IS NULL OR type = '';
SQL
end
def down
end
end
|