From 6e539479815d0bf5b33c3e3f979e5e1d328abeb4 Mon Sep 17 00:00:00 2001 From: Eitaro Fukamachi Date: Wed, 22 Jul 2015 15:07:49 +0900 Subject: [PATCH] Use MySQL quickdocs database by default not only on production. --- src/config.lisp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/config.lisp b/src/config.lisp index f2bf976..b327f5e 100644 --- a/src/config.lisp +++ b/src/config.lisp @@ -20,16 +20,15 @@ (defparameter *template-directory* (merge-pathnames #P"templates/" *application-root*)) (defconfig :common - `(:databases ((:maindb :sqlite3 :database-name ":memory:")))) + `(:databases ((:maindb :mysql + :database-name "quickdocs" + :username "root")))) (defconfig |development| '()) (defconfig |production| - '(:error-log #P"/var/log/apps/quickdocs_error.log" - :databases ((:maindb :mysql - :database-name "quickdocs" - :username "root")))) + '(:error-log #P"/var/log/apps/quickdocs_error.log")) (defconfig |test| '())