Skip to content

Make int size replacements more robust. #90

@mattbucci

Description

@mattbucci

In Alter and Create Table rewriters there are lines like the following

        ' bigint(40)'   => ' bigint',
        ' bigint(20)'	=> ' bigint',
        ' bigint(10)'	=> ' int',
        ' int(11)'		=> ' int',
        ' int(10)'      => ' int',

Instead these should be aliased 1 by one and the numeric should be arbitrary, so bigint(x) becomes bigint
The full list of numeric types can be found here: https://www.postgresql.org/docs/current/datatype-numeric.html

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