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 name is assumed from model index, even if tableName is defined #12

Open
zzolo opened this issue Feb 12, 2018 · 0 comments
Open

Table name is assumed from model index, even if tableName is defined #12

zzolo opened this issue Feb 12, 2018 · 0 comments

Comments

@zzolo
Copy link
Contributor

zzolo commented Feb 12, 2018

If we provide a model with a JS config, the tableName parameter for a model is not used, the index of the model is used.

models: {
  this_index_is_actually_used: {
    tableName: 'this_is_not',
  }
}

For instance:
https://github.com/datanews/tables/blob/master/lib/tables.js#L571

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

1 participant