Le 23 oct. 2009 à 20:28, Olemis Lang a écrit :

> 
> On Thu, Oct 22, 2009 at 7:10 AM, En_t_end <[email protected]> wrote:
>> 
>> I am developing a plugin, which needs to create multiple tables in
>> Trac database to work.
>> Once the plugin is installed may:
>>  1) Required for plugin table created earlier. Then use a previously
>> created table.
>>  2) The necessary tables are not. Then create a table.
> 
> You will need :
>  - Implement environment setup participant
>  - Use classes to define table schema `trac.db.*`
>  - Use the hack `select 1 from table_name` to know whether a table
> exists or not ;o)


Hi,

        to manage my own database version, can I store it in the system table. 

ex:
INSERT INTO system (name,value) VALUES ('my_plugin_db_version',0)

Thanks,

Xavier

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to