Extension migration version down

1 view
Skip to first unread message

blj

unread,
May 8, 2007, 7:20:48 AM5/8/07
to Radiant CMS: Dev
What are the options for the rake task db:migrate:extensions?

How do I undo the migration? Is that possible at all?

Thanks.

Sean Cribbs

unread,
May 8, 2007, 9:28:01 AM5/8/07
to radiant...@googlegroups.com
You can undo migrations for a specific extension by specifying the
VERSION environment variable, just like with regular migrations.

rake radiant:extensions:my_extension:migrate VERSION=1

That command will migrate the 'my_extension' extension back to version 1
(first migration).

Sean

blj

unread,
May 8, 2007, 10:38:52 AM5/8/07
to Radiant CMS: Dev
Thanks sean. very useful.
Reply all
Reply to author
Forward
0 new messages