not sure if this little PR would suit you since the name of the package is very postgresql-centric but I hacked this real quick as I needed it and it was rather easy as the abstractions are very good.
lmk if that suits you, I'm going on holidays tomorrow so likely won't be fast to answer though !
some little comments:
I added latest version of aiosqlite and it's python >= 3.8 so I had to remove 3.7 support here which is not necessarily suitable, I took the opportunity to add 3.11 and 3.12 though
I added extras so that you install either asyncpg or aiosqlite depending on which driver you target
CREATE_TABLE and CREATE_INDEX have to be seperated, sqlite doesnt accept ; in scripts it seems.
I kept the tests folder asyncpg_revisions even for aiosqlite, there doesnt seem to be any driver-specific differences in it anyways.
You know I was planning on keeping this postgres only BUT given that this change is so clean and that I suspect your the main user of this package let's do it! Please just bump the version and we can merge.
greetings @adriangb !
not sure if this little PR would suit you since the name of the package is very postgresql-centric but I hacked this real quick as I needed it and it was rather easy as the abstractions are very good.
lmk if that suits you, I'm going on holidays tomorrow so likely won't be fast to answer though !
some little comments:
;
in scripts it seems.asyncpg_revisions
even for aiosqlite, there doesnt seem to be any driver-specific differences in it anyways.