Welcome to the CHICKEN Scheme pasting service

nomads error added by caolanm on Mon Jan 8 15:45:17 2018

I generated a simple migration which looks like this:

((UP
  "CREATE TABLE lists (name string)")
(DOWN
  "DROP TABLE lists"))


I've added a nomads.config file with PostgreSQL credentials.
When I try to run 'nomads migrate' I get:

Migrating UP


Error: (get-last-result) ERROR:  syntax error at or near "IF"
LINE 1: DROP TABLE "schema_info" IF EXISTS 
                                 ^


	Call history:

	library.scm:3448: print-exit54375438	  
	library.scm:2290: body3981	  
	library.scm:2292: assign	  
	library.scm:3448: current-print-length54395440	  
	library.scm:2290: body3981	  
	library.scm:2292: assign	  
	library.scm:3926: ##sys#print	  
	library.scm:3188: case-sensitive	  
	library.scm:3189: keyword-style	  
	library.scm:3190: ##sys#print-length-limit	  
	library.scm:3297: outchr	  
	library.scm:3188: g5148	  
	library.scm:3927: print-call-chain	  
	library.scm:3882: ##sys#get-call-chain	  
	library.scm:3834: ##sys#make-vector	  
	library.scm:1371: ##sys#allocate-vector	

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Type in the text below:
     _ _          
 ___| (_)______ _ 
/ __| | |_  / _` |
\__ \ | |/ / (_| |
|___/_|_/___\__,_|
                  
Visually impaired? Let me spell it for you (wav file) download WAV