Skip to content

rds migrator is broken on v2Β #122

@mr47

Description

@mr47

Due to usage of kysely-data-api and version lock to 0.21 there is issue when kysely-data-api trying to call getTables its breaks.

The result contains the unsupported data type \"CHAR\".

problem part is this:

"c.relkind as table_type"

fix is npx patch-package sst and replace in rds migrator line above to this:

je`"c"."relkind"::text`.as("table_type")

or we can try to update kysely-data-api to v1 at least, but god knows what it will break next πŸ’ƒ .

PS: I know that usage of v2 is depracted etc, but I already even made serverless v2 supported. and have plans to move to v3.


If you've already posted your issue on Discord, make sure to leave a link to it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions