eudoxia0 / crane

An ORM for Common Lisp.
http://eudoxia.me/crane/
201 stars 19 forks source link

execute migration #44

Closed jasonmelbye closed 8 years ago

jasonmelbye commented 8 years ago

As I indicated in issue #35, migrations are not taking place for me. It appeared to me that the alter table statement was never being executed. This modification to execute the statement appears to work for me.

jasonmelbye commented 8 years ago

Interesting, the failure suggests to me that the alter table string is nil. I'm not sure how that could be. build does not call migrate unless there is a difference between versions of the table.

; compilation unit aborted

; caught 2 fatal ERROR conditions

fThere is no applicable method for the generic function

<STANDARD-GENERIC-FUNCTION DBI.DRIVER:PREPARE (2)>

when called with arguments

(#DBD.POSTGRES:<DBD-POSTGRES-CONNECTION {10043720F3}> NIL).An error occured while processing command line arguments

jasonmelbye commented 8 years ago

It appears all of the broken tests have been resolved.