Skip to content

Commit e2d1ab0

Browse files
committed
fix: alter config table value
1 parent a48789d commit e2d1ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class ErrsolePostgres extends EventEmitter {
157157
];
158158

159159
const alterQueries = [
160-
`ALTER TABLE ${this.configTable} ALTER COLUMN value SET NOT NULL`
160+
`ALTER TABLE ${this.configTable} ALTER COLUMN value TYPE TEXT, ALTER COLUMN value SET NOT NULL`
161161
];
162162

163163
for (const query of queries) {

0 commit comments

Comments
 (0)