You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that the bug I'm about to report hasn't been filed before.
What version of drizzle-orm are you using?
0.39.1
What version of drizzle-kit are you using?
0.30.4
Other packages
No response
Describe the Bug
Undesired Behaviour
If you have a sqlite table with a column named "length", the column will be skipped by Drizzle Studio shifting the column values to the previews column and leaving the last column with "undefined" values.
For example, if you have a table named "test" with comuns "id","text","length","createdAt"
The table contains two rows with the values:
1,"lorem ipsum" , 10, "1738321976775"
2,"dolor sit amet", 20, "1738321977775"
If you open the table on drizzle studio what you will see is
1,"lorem ipsum" , "1738321976775",undefined
2,"dolor sit amet", "1738321977775",undefined
Screenshots
As you can see from the following screenshots, the table has 8 fields, but the data loading request returns tuples of 7 values.
Table
Network tab
Reproduction
I created a public repo for reproduction with instruction in the README.
I tested MySql and PG too and this seems to be affecting only SQLite.
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.39.1
What version of
drizzle-kit
are you using?0.30.4
Other packages
No response
Describe the Bug
Undesired Behaviour
If you have a sqlite table with a column named "length", the column will be skipped by Drizzle Studio shifting the column values to the previews column and leaving the last column with "undefined" values.
For example, if you have a table named "test" with comuns "id","text","length","createdAt"
The table contains two rows with the values:
If you open the table on drizzle studio what you will see is
Screenshots
As you can see from the following screenshots, the table has 8 fields, but the data loading request returns tuples of 7 values.
Table
Network tab
Reproduction
I created a public repo for reproduction with instruction in the README.
I tested MySql and PG too and this seems to be affecting only SQLite.
Reproduction Repository
The text was updated successfully, but these errors were encountered: