Duplicate fields in reverse of django app #71

Open
opened 2019-08-19 14:23:07 +00:00 by neoyagami · 2 comments

Hi.
The reverse comamand in some tables generate duplicate fields, especifically in the intermediate tables. right now we are just deleting them but our ideal with this tool is to automate this.

thanks in advance

database: PostgreSQL 10.1

Hi. The reverse comamand in some tables generate duplicate fields, especifically in the intermediate tables. right now we are just deleting them but our ideal with this tool is to automate this. thanks in advance database: PostgreSQL 10.1
Owner

Did you use a customize template? And could you paste your command invoked.

Did you use a customize template? And could you paste your command invoked.
Author

Hi
this is the command, the template comes from the repo itself

 ./src/xorm.io/cmd/xorm/xorm  reverse postgres "dbname=xxx sslmode=disable host=x.x.x.x user=postgres password=x"  src/xorm.io/cmd/xorm/templates/goxorm src/core/models 'object.*' 

we need to filter the fields because we want a way to sync some models from our django app and pick any change made over there

thanks in advance

Hi this is the command, the template comes from the repo itself ./src/xorm.io/cmd/xorm/xorm reverse postgres "dbname=xxx sslmode=disable host=x.x.x.x user=postgres password=x" src/xorm.io/cmd/xorm/templates/goxorm src/core/models 'object.*' we need to filter the fields because we want a way to sync some models from our django app and pick any change made over there thanks in advance
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/cmd#71
No description provided.