therselman 7 years ago
parent
commit
7375312244
  1. 2
      src/DBAL/Types/FloatType.php
  2. 2
      src/DBAL/Types/IntegerType.php
  3. 2
      src/DBAL/Types/StringType.php

2
src/DBAL/Types/FloatType.php

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
namespace Twister\DBAL\Types;
class ArrayType extends BaseType
class FloatType extends BaseType
{
public $decimals = null;
// public $unsigned = null; // do we really need this ??? Could be implemented inside the entity classes! I think MySQL STILL accepts negatives anyway!

2
src/DBAL/Types/IntegerType.php

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
namespace Twister\DBAL\Types;
class ArrayType extends BaseType
class IntegerType extends BaseType
{
public $min = null;
public $max = null;

2
src/DBAL/Types/StringType.php

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
namespace Twister\DBAL\Types;
class ArrayType extends BaseType
class StringType extends BaseType
{
const CHARSET_BINARY = 0; // unused (the charset of BINARY fields is NULL!) ... we need to put BINARY data types inside string, for the maxlength ...
const CHARSET_LATIN1 = 1;

Loading…
Cancel
Save