method
new

Ruby on Rails latest stable (v5.2.3)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::TableDefinition
new(name, temporary = false, options = nil, as = nil, comment: nil)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 263 def initialize(name, temporary = false, options = nil, as = nil, comment: nil) @columns_hash = {} @indexes = [] @foreign_keys = [] @primary_keys = nil @temporary = temporary @options = options @as = as @name = name @comment = comment end