mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Fix error output
The `column_type` is meant to be the type of the value, not of the enum
This commit is contained in:
parent
7e83cfec8d
commit
213d6e4963
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ struct Enum
|
|||
context: "#{self}#new(rs : DB::ResultSet)",
|
||||
column_index: index,
|
||||
column_name: rs.column_name(index),
|
||||
column_type: to_s,
|
||||
column_type: value.class.to_s,
|
||||
expected_type: "String | Int",
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue