Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1290 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[PATCH] Automatic creation of identity model tables for SQLAlchemy

Reported by: chrisz Owned by: anonymous
Priority: normal Milestone: 1.0.2
Component: Identity Version: 1.0
Severity: normal Keywords: sqlalchemy identity tables


For SQLObject, the visit/identity tables are created automatically, but for SQLAlchemy this has so far not been implemented. This is also the reason why the controller test for a newly created project with SQLAlchemy does not work.

The patch adds automatic creation of the necessary tables with SQLAlchemy (if they do not exist already), similarly to how it is done with SQLObject. It also gets rid of ActiveMapper? in the visit provider since this has been removed in the standard model.py as well. The patch can be applied to both 1.0 and the trunk.


satables.patch Download (7.2 KB) - added by chrisz 12 years ago.
Auto creation of visit/identity tables with SQLAlchemy

Change History

Changed 12 years ago by chrisz

Auto creation of visit/identity tables with SQLAlchemy

comment:1 Changed 12 years ago by fredlin

  • Status changed from new to closed
  • Resolution set to fixed

fixed in [2554], thanks!

comment:2 Changed 12 years ago by jorge.vargas

weird that noone has notice this before, thanks chrisz

Note: See TracTickets for help on using tickets.