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

migrate script not supports custom column names #238

Open
Winnetu opened this issue Oct 27, 2021 · 0 comments
Open

migrate script not supports custom column names #238

Winnetu opened this issue Oct 27, 2021 · 0 comments
Labels

Comments

@Winnetu
Copy link

Winnetu commented Oct 27, 2021

mssql connector migrate script not supports custom column names.

Steps to reproduce

@property({ type: 'string', mssql: { columnName: 'CustomErrorType' }, }) errorType: string;

Current Behavior

Error: Column names in each table must be unique. Column name 'ErrorType' in table 'dbo.ErrorCodes' is specified more than once.

Expected Behavior

To migrate schema correctly

Related Issues

loopbackio/loopback-next#3372

@Winnetu Winnetu added the bug label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant