Class: DbDiff::Delta::DropProcedure
- Inherits:
-
DbDiff::Delta
- Object
- DbDiff::Delta
- DbDiff::Delta::DropProcedure
- Defined in:
- lib/dbdiff/delta.rb
Instance Attribute Summary
Attributes inherited from DbDiff::Delta
Instance Method Summary collapse
Methods inherited from DbDiff::Delta
Constructor Details
This class inherits a constructor from DbDiff::Delta
Instance Method Details
#process(database) ⇒ Object
325 326 327 |
# File 'lib/dbdiff/delta.rb', line 325 def process(database) database.procedures.delete(element) end |
#sql ⇒ Object
321 322 323 |
# File 'lib/dbdiff/delta.rb', line 321 def sql return "DROP PROCEDURE `%s`" % element.name end |