maxtepkeev / architect

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

Error while trying to run architect partition --module my_app.models #33

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, Running this: $ architect partition --module myapp.models

And getting this error:

django.db.utils.ProgrammingError: invalid type name "myapp_modelname."reportingdteonly"%TYPE" LINE 6: match myapp_modelname."reportingdteonly"... ^

the reportingdteonly is of type Datetime

DB postgres 9.4 Really appreciate your help here

maxtepkeev commented 7 years ago

Hi,

I don't think there is a problem with architect somewhere, also there was already a similar issue, see #28. Maybe you also have the same problem with inheritance somewhere.

If you don't figure it out by yourself, I will need to see your exact code with model and all the inheritance models too.

maxtepkeev commented 7 years ago

Closing this due to the lack of activity. If you still need help please let me know and I'll reopen this issue.