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 11 years ago

Last modified 10 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
Cc:

Description

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.

Attachments

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

Change History

Changed 11 years ago by chrisz

Auto creation of visit/identity tables with SQLAlchemy

comment:1 Changed 11 years ago by fredlin

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

fixed in [2554], thanks!

comment:2 Changed 11 years ago by jorge.vargas

weird that noone has notice this before, thanks chrisz

Note: See TracTickets for help on using tickets.