class ActiveRecord::ConnectionAdapters::OracleEnhanced::TableDefinition

Attributes

organization[RW]
tablespace[RW]

Public Class Methods

new( conn, name, temporary: false, options: nil, as: nil, tablespace: nil, organization: nil, comment: nil, ** ) click to toggle source
Calls superclass method
# File lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb, line 56
def initialize(
  conn,
  name,
  temporary: false,
  options: nil,
  as: nil,
  tablespace: nil,
  organization: nil,
  comment: nil,
  **
)
  @tablespace = tablespace
  @organization = organization
  super(conn, name, temporary: temporary, options: options, as: as, comment: comment)
end

Public Instance Methods

belongs_to(*args, **options)
Alias for: references
references(*args, **options) click to toggle source
Calls superclass method
# File lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb, line 80
def references(*args, **options)
  super(*args, type: :integer, **options)
end
Also aliased as: belongs_to