sqlalchemy-history
sqlalchemy-history copied to clipboard
Library to keep track of changes in SQLAlchemy.
When a delete happens there are incomplete parameters for versioned table ```py import datetime from sqlalchemy import Column, ForeignKey, Integer, DateTime, Table, create_engine, func, String from sqlalchemy.orm import sessionmaker, relationship,...
We should also extend support to mariadb it is quite similar to mysql so should not be a big challenge seen quite few issues / discussions raised in sqlalchemy related...
Improved changeset i think there is something in plugins need to look into it and improve as we are getting more usecases of chageset capability
If I have a table like: ```py import sqlalchemy as sa from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class Article(Base): __tablename__ = 'article' id = sa.Column(sa.Integer, sa.Identity(), primary_key=True, autoincrement=True) name...
We don't refer consider table_name when creating versioned class, so need to look into a better configuration option or a patchy fix that we did in #69 ```py from sqlalchemy_history...
getting this warning when running pytest
When running tests by making `id` column Identity test starts failing when tested against MSSql DB v 2017 test case ```py class Article(self.Model): __tablename__ = "article" __versioned__ = copy(self.options) id...
Error: ``` version authors [] Traceback (most recent call last): File "run.py", line 64, in print('primary_author', version.primary_author) File "/home/abdealijk/sqlalchemy-continuum/sqlalchemy_continuum/relationship_builder.py", line 227, in relationship query = self.query(obj) File "/home/abdealijk/sqlalchemy-continuum/sqlalchemy_continuum/relationship_builder.py", line 68,...