shopcube
shopcube copied to clipboard
clean as per db type
@rehmanis we can clean db as per type. If using mysql, erase tables. If sqlite delete file. We must think of nice db configs to handle both
@Abdur-rahmaanJ yeah that good but I am not sure how this can be done. Might have to look into it more.
Detect db type by sqlalchemy uri
@Abdur-rahmaanJ Why not use SQLALCHEMY_BINDS
to define multiple databases and then clean them as needed?