```ruby
class DeleteAbsoluteFilenameImportedHitsFiles < ActiveRecord::Migration
  def up
    command = 'DELETE FROM imported_hits_files WHERE filename LIKE "/%";'
    ActiveRecord::Base.connection.execute(command)
  end

  def down
  end
end
```

Use single quotes for PG strings in migration
user
```ruby
class DeleteAbsoluteFilenameImportedHitsFiles < ActiveRecord::Migration
  def up
    command = "DELETE FROM imported_hits_files WHERE filename LIKE '/%';"
    ActiveRecord::Base.connection.execute(command)
  end

  def down
  end
end
```
assistant