Skip to content

migrate script not supports custom column names #238

@Winnetu

Description

@Winnetu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions