Created
February 18, 2019 20:46
-
-
Save jmercouris/e3dda1359fe10e01eba6355435e3a922 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftable users () | |
((email :col-type (or (:varchar 512) :null) | |
:initarg :email | |
:accessor email) | |
(password :col-type (or (:varchar 512) :null) | |
:initarg :password | |
:deflate #'hash-password | |
:accessor password) | |
(name :col-type (or (:varchar 512) :null) | |
:initarg :name | |
:accessor name) | |
(password-set-pin :col-type (or :integer :null) | |
:initarg :password-set-pin | |
:accessor password-set-pin) | |
(social-accounts :ghost t | |
:initarg :social-accounts | |
:accessor social-accounts))) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; Error | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; file: /root/application/source/db.lisp | |
; in: DEFTABLE USERS | |
; ((SOCIALFLIGHT.WEB::EMAIL :COL-TYPE (OR (:VARCHAR 512) :NULL) :INITARG :EMAIL | |
; :ACCESSOR SOCIALFLIGHT.WEB::EMAIL) | |
; (SOCIALFLIGHT.WEB::PASSWORD :COL-TYPE (OR (:VARCHAR 512) :NULL) :INITARG | |
; :PASSWORD :DEFLATE #'SOCIALFLIGHT.WEB::HASH-PASSWORD :ACCESSOR | |
; SOCIALFLIGHT.WEB::PASSWORD) | |
; (SOCIALFLIGHT.WEB::NAME :COL-TYPE (OR (:VARCHAR 512) :NULL) :INITARG :NAME | |
; :ACCESSOR SOCIALFLIGHT.WEB::NAME) | |
; (SOCIALFLIGHT.WEB::PASSWORD-SET-PIN :COL-TYPE (OR :INTEGER :NULL) :INITARG | |
; :PASSWORD-SET-PIN :ACCESSOR SOCIALFLIGHT.WEB::PASSWORD-SET-PIN) | |
; (SOCIALFLIGHT.WEB::SOCIAL-ACCOUNTS :GHOST T :INITARG :SOCIAL-ACCOUNTS | |
; :ACCESSOR SOCIALFLIGHT.WEB::SOCIAL-ACCOUNTS)) | |
; | |
; caught ERROR: | |
; illegal function call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment