maxtepkeev / architect

A set of tools which enhances ORMs written in Python with more features
Other
391 stars 57 forks source link

table inheritance and support for sqlite #6

Closed alph486 closed 9 years ago

alph486 commented 9 years ago

Hi there,

Just a bump for this question on the dbparti repo: https://github.com/maxtepkeev/django-db-parti/issues/14#issuecomment-42835702 .

Also, it would be great if sqlite could be supported for Django's orm. I use SQLite in Dev and parity with production would be great.

Thanks Kevin

maxtepkeev commented 9 years ago

Hi Kevin,

As for the #14 on dbparti repo - architect already supports this. Partitions, created by the architect will inherit indexes, constraints and defaults from the parent table.

As for the sqlite - architect also provide you with the dummy sqlite backend which should give you exactly what you want.

If anything, described above doesn't work, please let me know.

alph486 commented 9 years ago

Wonderful, thanks max. I may have just misread / not seen it in the docs. I will be switching over to architect in a few days and let you know if anything comes up. Cheers!