mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 01:46:09 +00:00
on pg, wipe attachment value from text type
This commit is contained in:
@@ -3041,7 +3041,8 @@ class PGClient extends KnexClient {
|
||||
);
|
||||
}
|
||||
|
||||
if (n.dt !== o.dt) {
|
||||
// for now, wipe attachment value
|
||||
if (n.dt !== o.dt || n.uidt === UITypes.Attachment) {
|
||||
query += this.genQuery(
|
||||
`\nALTER TABLE ?? ALTER COLUMN ?? DROP DEFAULT;\n`,
|
||||
[t, n.cn],
|
||||
|
||||
Reference in New Issue
Block a user