#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)
Change History (6)
by , 17 years ago
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Looking at the SQLAlchemy change notes, we might even have to move to UnicodeText instead of Unicode.
comment:2 by , 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 , 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 , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
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.
Elixir defined model