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)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Gasol in for Spain: they lead european basket  -
http://feedproxy.google.com/~r/simelo-en/~3/QnrH66KHXHk/gasol-in-for-spain-they-lead-european.html

--~--~---------~--~----~------------~-------~--~----~
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