Packages: Setting default values in the xml schema for databases

Hi, I am just starting to get into the package system... (very cool by the way..;-) In the DataBaseInstall Section: How do I define default values? I couldn't find anything neither in the example nor in scripts/database/otrs-schema.xml Have I missed something? Many thanks in advance Peter Mayr -- ----------------------------------------------- Peter Mayr mailto: at.peter.mayr@gmail.com

Hi Peter, Peter Mayr wrote:
I am just starting to get into the package system... (very cool by the way..;-)
Fine! :-)
In the DataBaseInstall Section: How do I define default values?
I couldn't find anything neither in the example nor in scripts/database/otrs-schema.xml
Have I missed something?
No. Default values are currently not supported in OTRS 2.0. Anyway, if you want, you can find an attached Kernel/System/DB/mysql.pm with supported default values like: <Column Name="create_by" Required="true" Type="INTEGER" Default="1"/> Feedback would be fine! :-) Martin -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!
participants (2)
-
Martin Edenhofer
-
Peter Mayr