Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Dont auto-cast all cell texts to numbers.

Ivan Vasilov2973f9816de6
diff --git a/studio/stores/pgmeta/MetaStore.ts b/studio/stores/pgmeta/MetaStore.ts
index 38bef8423ea..eddf0a1973f 100644
--- a/studio/stores/pgmeta/MetaStore.ts
+++ b/studio/stores/pgmeta/MetaStore.ts
@@ -871,7 +871,8 @@ export default class MetaStore implements IMetaStore {
return new Promise((resolve) => {
Papa.parse(file, {
header: true,
- dynamicTyping: true,
+ // dynamicTyping has to be disabled so that "00001" doesn't get parsed as 1.
+ dynamicTyping: false,
skipEmptyLines: true,
chunkSize: CHUNK_SIZE,
quoteChar: file.type === 'text/tab-separated-values' ? '' : '"',