module DeletedAt::TableDefinition

Public Instance Methods

timestamps(**options) click to toggle source
Calls superclass method
# File lib/deleted_at/table_definition.rb, line 4
def timestamps(**options)
  super
  column(:deleted_at, :datetime, options.merge(null: true)) if options[:deleted_at]
end