Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

Last modified 12 years ago

#7020 closed enhancement (wontfix)

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

Reported by: sevenseeker Owned by: Jeroen Ruigrok van der Werven
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: jtgalyon@… Branch:
Release Notes:
API Changes:
Internal Changes:

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 (1)

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

Download all attachments as: .zip

Change History (6)

by sevenseeker (jtgalyon@…, 17 years ago

Attachment: schema.py added

Elixir defined model

comment:1 by Jeroen Ruigrok van der Werven, 17 years ago

Owner: changed from Jonas Borgström to Jeroen Ruigrok van der Werven
Status: newassigned

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

comment:2 by Jeroen Ruigrok van der Werven, 17 years ago

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

comment:3 by jtgalyon@…, 17 years ago

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

comment:4 by Jeroen Ruigrok van der Werven, 16 years ago

Resolution: wontfix
Status: assignedclosed

Hi,

I'm going to close this and first get everything back on the rails again. Using the declarative support from SQLAlchemy 0.5 ought to be enough, I've done a lot of work with it in recent weeks. As such, it does not make sense to keep this one open.

comment:5 by Christian Boos, 12 years ago

Milestone: not applicable

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeroen Ruigrok van der Werven.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jeroen Ruigrok van der Werven to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.