Rebase to latest DB version and upgrade to Crystal 0.18

This commit is contained in:
Santiago Palladino 2016-07-04 12:13:39 -03:00
parent 7fcedc6711
commit 552b6e12b4
6 changed files with 48 additions and 9 deletions

View file

@ -131,10 +131,18 @@ class DummyDriver < DB::Driver
read(String).to_i32
end
def read(t : Int32?.class)
read(String?).try &.to_i32
end
def read(t : Int64.class)
read(String).to_i64
end
def read(t : Int64?.class)
read(String?).try &.to_i64
end
def read(t : Float32.class)
read(String).to_f32
end