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

Autoupdate - creates incorrect table name if it does not already exist #11

Closed
projectfledge opened this issue Jun 12, 2013 · 1 comment

Comments

@projectfledge
Copy link

If I specify tableName, it does not use that attribute when using Autoupdate. i.e.

var Post = schema.define('Post', {
    Title: String,
    content: Schema.Text
}, {
    tableName: 'posts'
});

return this;

The table created is "Post," not "posts"

@1602
Copy link
Contributor

1602 commented Jul 12, 2017

This is correct name!

@1602 1602 closed this as completed Jul 12, 2017
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

No branches or pull requests

2 participants