```ruby
class DestroyDeclarationAndDependencies < ActiveRecord::Migration
  def up
    drop_table :declaration_surveys
    Task.where(type: "DeclarationTask").delete_all
  end

  def down
    raise ActiveRecord::IrreversibleMigration
  end
end
```

Fix typo in migration to destroy declaration tasks. This has been run manually in staging, so no need to re-run migrations.
user
```ruby
class DestroyDeclarationAndDependencies < ActiveRecord::Migration
  def up
    drop_table :declaration_surveys
    Task.where(type: "Declaration::Task").delete_all
  end

  def down
    raise ActiveRecord::IrreversibleMigration
  end
end
```
assistant