Skip to content

Tinyint values are interpreted as bool by default and the interface does not let you edit the column type #14782

@ArnoldHueteG

Description

@ArnoldHueteG

Checklist

Hosting

Describe the bug
When a SQL Server table with field of type "tinyint" is imported, it is interpreted as a boolean value and the interface does not let you to change the data type.
image

To Reproduce
Steps to reproduce the behavior:

  1. Create a table with a tinyint field in sql server, add a few values
  2. Import table and see the table with all values check.

image

Expected behavior
The field should be integer number

Screenshots
The screenshots are above.

Additional context

image

For some reason the exported schema shows table with duplicated columns:

CREATE TABLE [TB_TesoreriaTipo] (
TipoID tinyint(1) NOT NULL,
TipoID tinyint(1) NOT NULL,
Tipo varchar(100) NULL,
Tipo varchar(100) NULL,
 CONSTRAINT [PK_TB_TesoreriaTipo] PRIMARY KEY (TipoID)
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendInvolves some work on the backendbugSomething isn't workingenv - productionBug found in productionexternaldbRelating to datasource plusfirestormData/Infra/Revenue Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions