Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a view with the same name as the deleted one. #23

Open
BezBartek opened this issue Jan 30, 2023 · 3 comments
Open

Create a view with the same name as the deleted one. #23

BezBartek opened this issue Jan 30, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@BezBartek
Copy link
Owner

Related issue:
#21

queued to fix in 0.1.6/0.1.7

@BezBartek BezBartek added the bug Something isn't working label Jan 30, 2023
@BezBartek BezBartek self-assigned this Jan 30, 2023
@nicolasroy11
Copy link

In the meanwhile, is there a way to remedy this manually, like, say, in the database manager? I don't see any views or migrations as a result of running makeviewmigration against an instance of Postgres.

@BezBartek
Copy link
Owner Author

@nicolasroy11
Hello
Until I solve that, you can rename view in old migration (the view that is already deleted), and then create new one with the same name

I hope it will help, please let me know about results, :)

@nicolasroy11
Copy link

So what I did is generate a view manually in PG, and the corresponding model seemed to be able to connect to that. So that's my workaround. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants