Open gauravrajfm opened 8 months ago
Tried using the method you suggested -
t1 = Tag(name="A2T1")
article = Article(name="Some article 2", article_tags=[t1])
db.session.add_all([article, t1])
db.session.flush()
t2 = Tag(name="A2T2")
article.article_tags.append(t2)
db.session.add(t2)
db.session.commit()
This also doesn't work.
I'm using sqlalchemy-continuum version 1.4.0 for testing the versioning capabilities. Defined following classes according to documentation -
The second_version is always None. It is not loading the next version. I've tried updating this entity multiple times yet the result remains the same.
What could be wrong here ?