Removes timestamps config

This commit is contained in:
Muhammad Nawzad
2023-11-17 16:14:28 +03:00
parent 6908df347a
commit 6fa863ab93
3 changed files with 2 additions and 6 deletions

View File

@@ -1,13 +1,12 @@
module Schemable
# The Configuration class provides a set of configuration options for the Schemable module.
# It includes options for setting the ORM, handling timestamps, custom type mappers, and more.
# It includes options for setting the ORM, handling enums, custom type mappers, and more.
# It is worth noting that the configuration options are global, and will affect all Definitions.
#
# @see Schemable
class Configuration
attr_accessor(
:orm,
:timestamps,
:float_as_string,
:decimal_as_string,
:custom_type_mappers,
@@ -22,7 +21,6 @@ module Schemable
# Initializes a new Configuration instance with default values.
def initialize
@timestamps = true
@orm = :active_record # orm options are :active_record, :mongoid
@float_as_string = false
@custom_type_mappers = {}