-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
backendInvolves some work on the backendInvolves some work on the backendbugSomething isn't workingSomething isn't workingenv - productionBug found in productionBug found in productionexternaldbRelating to datasource plusRelating to datasource plusfirestormData/Infra/Revenue TeamData/Infra/Revenue Team
Description
Checklist
- [ x ] I have searched budibase discussions and github issues to check if my issue already exists
- There is closed issue similar to this one: Tinyint values are interpreted as bool by default #9839
Hosting
- Cloud
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.
To Reproduce
Steps to reproduce the behavior:
- Create a table with a tinyint field in sql server, add a few values
- Import table and see the table with all values check.
Expected behavior
The field should be integer number
Screenshots
The screenshots are above.
Additional context
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
Labels
backendInvolves some work on the backendInvolves some work on the backendbugSomething isn't workingSomething isn't workingenv - productionBug found in productionBug found in productionexternaldbRelating to datasource plusRelating to datasource plusfirestormData/Infra/Revenue TeamData/Infra/Revenue Team