Class: DbAgile::Core::Schema::Migrate::CreateTable

Inherits:
Operation
  • Object
show all
Defined in:
lib/dbagile/core/schema/migrate/create_table.rb

Instance Attribute Summary

Attributes inherited from Operation

#operations, #rel_object

Instance Method Summary collapse

Methods inherited from Operation

#attribute, #candidate_key, #each_sub_operation, #foreign_key, #index, #initialize, #kind, #not_staged!, #ops_to_sql92, #staged!, #supports_sub_operation!, #supports_sub_operation?, #table_name

Constructor Details

This class inherits a constructor from DbAgile::Core::Schema::Migrate::Operation

Instance Method Details

#to_sql92Object



7
8
9
# File 'lib/dbagile/core/schema/migrate/create_table.rb', line 7

def to_sql92
  "CREATE TABLE (#{ops_to_sql92(operations)})"
end