Getting comatose to use a different database.

0 views
Skip to first unread message

tim

unread,
Aug 10, 2008, 11:32:07 PM8/10/08
to Comatose Plugin
I would like to use comatose to write some documentation for an
application I am developing. The problem is that whenever I do a
db:reset I lose all my content.

Would it be possible for me to set comatose to use another database
(ideally sqlite) so I can simply deploy it with the rest of the rails
app and still be able to wipe and rebuild my main database if I need
to.

Thanks.

Andrew Kuklewicz

unread,
Aug 10, 2008, 11:35:48 PM8/10/08
to comatos...@googlegroups.com
there are export and import rake tasks to handle this problem.
export your content, check in the xml file, and import when you do a db:reset.
-A
--
Andrew Kuklewicz

Tim Uckun

unread,
Aug 10, 2008, 11:38:19 PM8/10/08
to comatos...@googlegroups.com
On Mon, Aug 11, 2008 at 3:35 PM, Andrew Kuklewicz <kook...@gmail.com> wrote:
> there are export and import rake tasks to handle this problem.
> export your content, check in the xml file, and import when you do a
> db:reset.
> -A


Nice. Thanks..

Reply all
Reply to author
Forward
0 new messages