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

Table names are not correctly made safe in convenience view select statements #10

Open
simon-brooke opened this issue Dec 28, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@simon-brooke
Copy link
Owner

We're seeing this:

CREATE VIEW lv_event_type AS
SELECT event-type.summary,
	event-type.description,
	event-type.n_holdings,
	event-type.n_pastures,
	event-type.n_animals,
	event-type.id
FROM event_type
;

Obviously, every instance of `event-type` must be `event_type`.
@simon-brooke simon-brooke added the bug Something isn't working label Dec 28, 2019
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

1 participant