[oracle branch] Optional "tablespace" parameter on models
|Reported by:||Matt Boersma||Owned by:||Adrian Holovaty|
|Component:||Database layer (models, ORM)||Version:||other branch|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
You won't find a real Oracle schema in the wild that doesn't use multiple TABLESPACES to organize data storage. While Django's ORM will never emit production DDL that a DBA accepts without modifications, we can try.
Having a "tablespace" parameter, probably attached to the Meta inner class, would help a lot. Most backends can just ignore it, but Oracle can add "TABLESPACE [name]" to the end of each TABLE CREATE stanza. And there will be rejoicing.