Edgewall Software

Ticket #7020 (assigned enhancement)

Opened 10 months ago

Last modified 10 months ago

New schema.py with Elixir defined model (sqlalchemy-ng branch)

Reported by: sevenseeker Owned by: jruigrok
Priority: normal Milestone: not applicable
Component: general Version:
Severity: normal Keywords:
Cc: jtgalyon@…

Description

Since I am more familiar with Elixir (and thus the new SQLAlchemy declarative language as well) I have produced an Elixir declared model for Trac with minimal relations. I assumed a 'User' class and table as well for some of the relations to demonstrate its use. I will be submitting a revised edition with relations defined in the top SQLAlchemy section hopefully this afternoon.

Attachments

schema.py (13.1 KB) - added by sevenseeker (jtgalyon@… 10 months ago.
Elixir defined model

Change History

Changed 10 months ago by sevenseeker (jtgalyon@…

Elixir defined model

Changed 10 months ago by jruigrok

  • owner changed from jonas to jruigrok
  • status changed from new to assigned

Looking at the SQLAlchemy change notes, we might even have to move to UnicodeText? instead of Unicode.

Changed 10 months ago by jruigrok

Actually, we might need to revisit the entirety of the types based on the now documented stuff in http://www.sqlalchemy.org/docs/04/types.html

Changed 10 months ago by jtgalyon@…

String or Unicode without a numerical specifier results in Text, btw. Should all of these fields be Text or some varchar with lengths?

Add/Change #7020 (New schema.py with Elixir defined model (sqlalchemy-ng branch))

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change from jruigrok. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.