Changeset - 51d8b7c179ae
[Not reviewed]
Merge
0 3 0
Lance Edgar (lance) - 12 years ago 2012-10-05 10:32:33
lance@edbob.org
Merge branch 'master' of ssh://edbob.org/srv/git/rattail
2 files changed with 19 insertions and 1 deletions:
0 comments (0 inline, 0 general)
CHANGES.txt
Show inline comments
 

	
 
0.3a12
 
------
 

	
 
- [bugfix] Fixed foreign key uuid handling in ``rattail.db.record_changes()``.
 
  Some tables are meant to be used solely as providers of "association proxy"
 
  fields, the ``uuid`` column is not only a primary key, but also a *foreign
 
  key* to the "primary" entity table.  In such cases, the uuid value was not
 
  present at session flush time, so a new one was being generated.
 
  Unfortunately this meant that the ``Change`` record would point to a
 
  nonexistent entity record, so the sync would not work.  Now uuid fields are
 
  inspected to determine if a foreign key is present, in which case the
 
  relationship is traversed and the true uuid value is used.
 

	
 
- [feature] Added "extra classes" configuration for the ``load-host-data``
 
  command.  This is necessary when initially populating a "store" (er,
 
  "non-host") database instance if custom schema extensions are in use (and
 
  need to be synchronized with the host).
 

	
 
0.3a11
 
------
 

	
rattail/_version.py
Show inline comments
 
__version__ = '0.3a12'
 
__version__ = '0.3a13'
0 comments (0 inline, 0 general)