Skip to content

Commit

Permalink
Merge pull request reliese#236 from kl4ver/patch-1
Browse files Browse the repository at this point in the history
Update Column.php
  • Loading branch information
finiteinfinity authored May 9, 2022
2 parents fdd4d70 + a2f5a7d commit 394f1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Meta/MySql/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Column implements \Reliese\Meta\Column
* @var array
*/
public static $mappings = [
'string' => ['varchar', 'text', 'string', 'char', 'enum', 'tinytext', 'mediumtext', 'longtext', 'longblob', 'mediumblob', 'tinyblob', 'blob'],
'string' => ['varchar', 'text', 'string', 'char', 'enum', 'set', 'tinytext', 'mediumtext', 'longtext', 'longblob', 'mediumblob', 'tinyblob', 'blob'],
'date' => ['datetime', 'year', 'date', 'time', 'timestamp'],
'int' => ['bigint', 'int', 'integer', 'tinyint', 'smallint', 'mediumint'],
'float' => ['float', 'decimal', 'numeric', 'dec', 'fixed', 'double', 'real', 'double precision'],
Expand Down

0 comments on commit 394f1bd

Please sign in to comment.