sqldelight icon indicating copy to clipboard operation
sqldelight copied to clipboard

Cannot use a simple migration statement

Open Angel-Ponce opened this issue 3 weeks ago • 3 comments

SQLDelight Version

2.0.2

SQLDelight Dialect

PostgreSQL

Describe the Bug

I'm trying to write a sqm migration file:

ALTER TABLE ProductUpdateDb ADD COLUMN IF NOT EXISTS apps_labels VARCHAR[] DEFAULT '{}';

But I got the following warning: image

There are something wrong with my statement? or IF NOT EXISTS it's not supported yet?

Stacktrace

No response

Angel-Ponce avatar Jun 19 '24 13:06 Angel-Ponce