Module: PropertySets::PropertySetModel

Defined in:
lib/property_sets/property_set_model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

COLUMN_TYPE_LIMITS =
{
  "tinyblob" => 255,        # 2^8 - 1
  "tinytext" => 255,
  "blob" => 65535,      # 2^16 - 1
  "text" => 65535,
  "mediumblob" => 16777215,   # 2^24 - 1
  "mediumtext" => 16777215,
  "longblob" => 4294967295, # 2^32 - 1
  "longtext" => 4294967295
}.freeze