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

Fix for custom table names #56

Closed

Conversation

antonioribeiro
Copy link

Example:

class User extends Eloquent {

    protected $table = 'my_users';

}

Fun fact: I got haunted by two bugs in the same call to generate:form, this one, because in one app my tables need to be in portugese and another one, because I'm using Postgres, and getColumns() was returning no columns at all, but it was a bug in Doctrine, wich is now fixed here: doctrine/dbal#307.

@shayneoneill
Copy link

Bump! Please accept this patch. It fixes a major flaw that renders the form generator basically useless for possibly a majority of projects.

@shayneoneill
Copy link

Was this fixed?

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.

5 participants