Class: ROM::SQL::Migration::SchemaDiff::TableDiff Private

Inherits:
Object
  • Object
show all
Extended by:
Initializer
Defined in:
lib/rom/sql/migration/schema_diff.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Direct Known Subclasses

Empty, TableAltered, TableCreated

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

23
24
25
# File 'lib/rom/sql/migration/schema_diff.rb', line 23

def empty?
  false
end

#table_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


27
28
29
# File 'lib/rom/sql/migration/schema_diff.rb', line 27

def table_name
  target_schema.name.dataset
end