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

Use of database column 'user' fails on PostgreSQL #13

Closed
wants to merge 3 commits into from

Conversation

qadan
Copy link

@qadan qadan commented May 12, 2020

Having some trouble getting this up and running on a box using PostgreSQL instead of MySQL; the use of user as a column name trips things up since this is a reserved word.

Actually, it seems to be a reserved word in MySQL as well, just that MySQL appears to not care for whatever reason ... probably not ideal behaviour out of it, but that's neither here nor there :/

Given that avoidance of reserved words is part of coding standards anyhow, changing this would seem necessary.

This PR includes the change to the column name and usages to uid, which seems more the standard, as well as an update hook to migrate existing logs over.

@qadan qadan changed the title column rename Use of database column 'user' fails on PostgreSQL May 14, 2020
@qadan
Copy link
Author

qadan commented Aug 10, 2020

Superseded by #15

@qadan qadan closed this Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants