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

Migration SQL should not be one long line of SQL #29

Open
ckoppelman opened this issue Dec 26, 2023 · 1 comment
Open

Migration SQL should not be one long line of SQL #29

ckoppelman opened this issue Dec 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ckoppelman
Copy link

I write view_definition SQL in my model as long multiline strings. When I run makeviewmigrations,
it just spits out the string in one long line, newlines included. It would be much easier to read if it
would generate a multiline string as I write. I'm not sure that's easy to do, but perhaps if there's a
newline in the string, it can be a clue to generate a multiline string instead of a single line. Honestly, I'd like
it even more if the multiline strings were variables that were pulled out, but I can see different opinions on that.

@BezBartek BezBartek added the enhancement New feature or request label Dec 26, 2023
@BezBartek
Copy link
Owner

I will dig into it, I hope that it will be easy to change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants