typeid-elixir/lib/type_id
Patrik Stenmark b0180b0619 Rename type option to column_type
Thr reaason for this is that Ecto seems to be handling options
differently when the custom type is used for a `belongs_to` field. For
example if `belongs_to :thing, Thing, type: TypeID` is specified, the
value for `type` will be `TypeIO`, which makes the opts valdiation fail.
Using another name for `type`, makes it possible to both set `type` (The
Ecto type of the field) and `column_type` (The column type in the
database)`.
2024-10-03 09:05:33 +02:00
..
base_32.ex limit first suffix char to 0..7 2023-07-06 10:24:56 -04:00
ecto.ex Rename type option to column_type 2024-10-03 09:05:33 +02:00
uuid.ex Use homerolled UUID module () 2023-07-06 14:23:58 -04:00