Skip to content

Postgresql rename column #231

@danimontoya

Description

@danimontoya

Using sqldelight with postgres I'm trying to rename a column of table:
2.sqm:

ALTER TABLE technologyEntity
    RENAME COLUMN keywords TO tags;

that is valid in postgresql but I'm getting this error:
Error Reading 2.sqm:

../entertainment/migrations/2.sqm line 2:11 - TO expected, got 'COLUMN'
1    ALTER TABLE technologyEntity
2        RENAME COLUMN keywords TO tags
                ^^^^^^

and if I remove the keyword COLUMN I get the same error.. any hints? 🙏 thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions