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

unpluaralize table names #9

Open
bambielli opened this issue Mar 13, 2017 · 1 comment
Open

unpluaralize table names #9

bambielli opened this issue Mar 13, 2017 · 1 comment

Comments

@bambielli
Copy link
Owner

Best practice is for table names to be singular.

bambielli added a commit that referenced this issue Mar 14, 2017
bambielli added a commit that referenced this issue Mar 14, 2017
@bambielli
Copy link
Owner Author

So, postgres reserves "user" as a keyword, so you can't create a table called "user"...

I pushed a change to the branch rename-migrations-and-tables to rename the "users" table to "account", but I hate it.

I'm not going to merge it, but I'll keep it on the side in case I can think of a good reason that pluralized table names don't get the job done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant