π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
do not wipe attachment value
Fendy Heryanto2fcaf98d04b3
diff --git a/packages/nocodb/src/db/sql-client/lib/pg/PgClient.ts b/packages/nocodb/src/db/sql-client/lib/pg/PgClient.tsindex 72570d3c3c..3c7ee8fb6e 100644--- a/packages/nocodb/src/db/sql-client/lib/pg/PgClient.ts+++ b/packages/nocodb/src/db/sql-client/lib/pg/PgClient.ts@@ -3041,8 +3041,7 @@ class PGClient extends KnexClient {);}- // for now, wipe attachment value- if (n.dt !== o.dt || n.uidt === UITypes.Attachment) {+ if (n.dt !== o.dt) {query += this.genQuery(`\nALTER TABLE ?? ALTER COLUMN ?? DROP DEFAULT;\n`,[t, n.cn],