Closed mcauto closed 5 years ago
Hi, how did you solve this issue?
I was able to solve this using below config:
@architect.install(
'partition',
orm='sqlalchemy',
type='range',
subtype='date',
constraint='month',
column='created_at',
db=app.config['SQLALCHEMY_DATABASE_URI']
)
@mani-coder could you elaborate?
@awadhesh14 for the issue mentioned in https://github.com/maxtepkeev/architect/issues/66#issue-462564069, I was able to solve it by passing additional arguments orm='sqlalchemy'
and db=app.config['SQLALCHEMY_DATABASE_URI'] to the architect.install
function.
I solve it!