Empty default array

Im creating text array with empty array as default like this
tags: text("tags").array().default([]),
but when i do drizzlekit push:pg it gives the following changes but when applying the changes it errors out:
ALTER TABLE "users" ALTER COLUMN "favorites" SET DEFAULT ;
ALTER TABLE "files" ALTER COLUMN "tags" SET DATA TYPE text[];
ALTER TABLE "files" ALTER COLUMN "tags" SET DEFAULT ;

Error: error: syntax error at or near ";" position: 58 (which means at the end of the first query)
Was this page helpful?