Browse Source

Fixed macroexpansion

Samuel W. Flint 9 years ago
parent
commit
57ab46a20b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      collect.lisp

+ 1 - 1
collect.lisp

@@ -45,7 +45,7 @@
          (sql-command (format nil "CREATE TABLE IF NOT EXISTS ~a~%(~%~{~a~%~});"
                               name
                               clauses)))
-    `(list ,sql-command)))
+    `(push (cons ,name ,sql-command) *tables*)))
 
 (defun make-form-entry (entry)
   (destructuring-bind (label column &key (type :text) other-column options) entry