[rt-users] Safe to modify ScripActions table in database

Ruslan Zakirov ruz at bestpractical.com
Tue Oct 21 23:24:28 EDT 2008


On Tue, Oct 21, 2008 at 7:01 PM, Richard Hartmann
<richih.mailinglist at gmail.com> wrote:
> On Tue, Oct 21, 2008 at 03:55,  <gordon at cryologic.com> wrote:
>
>> I have manually added a row to the ScripActions table of the database.
>> Is this a bad thing to do in terms of future upgrades?
>
> Not sure, but I think not.

It's ok, at some points it even required, for example when you write a
new action module.

>> Is there a better way to make the changes?
>
> You can edit etc/initialdata and run poke rt-setup-database for
> inserting the new stuff. If you do so, it would be great if you
> wrote a Wiki entry and replied with a link.

Yep, this is the right way for extensions even if you're not going to
publish them. It's very easy to bundle your extension with
Module::Install::RTx available from the CPAN.

>
>
> Richard
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list