Skip to content

Native type of ID column does not matches with foreign keys #150

@beerbohmdo

Description

@beerbohmdo

I don't know if this is a real "bug" of this module or a bad design choice in framework.

The ID column is serial8 which is a bigint (64bit).

All other ID columns (has_one, many_many) are integers (32bit).

I think instead of using DBInt for many_many and DBPolymorphicForeignKey they should use DBForeignKey internally, this would allow to use a custom schema for foreign keys.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions