loopback-connector-mssql icon indicating copy to clipboard operation
loopback-connector-mssql copied to clipboard

migrate script not supports custom column names

Open Winnetu opened this issue 4 years ago • 0 comments

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

https://github.com/loopbackio/loopback-next/issues/3372

Winnetu avatar Oct 27 '21 13:10 Winnetu