diff options
Diffstat (limited to 'lisp/sql/about-us.lisp')
| -rw-r--r-- | lisp/sql/about-us.lisp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/sql/about-us.lisp b/lisp/sql/about-us.lisp new file mode 100644 index 0000000..43c7216 --- /dev/null +++ b/lisp/sql/about-us.lisp @@ -0,0 +1,18 @@ +;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +(declaim (optimize (speed 0) (safety 3) (debug 3))) + +(in-package :resume) + +(defclass about-us (postgres-record) + ((id :initarg :id + :initform nil + :accessor id) + (category :initarg :category + :initform nil + :accessor category) + (content :initarg :content + :initform nil + :accessor content) + (*table :initform "general.about_us") + (*where-expression :initform "id = ~a")) + (:documentation "Holds the data for a general.about_us type.")) |
