Skip to content

add/remove_foreign_key do not work on temporal tables #174

Description

@tagliala
add_foreign_key :countries, :regions
== 20220724104350 AddRegionFkConstraints: migrating ===========================
-- add_foreign_key(:countries, :regions)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::WrongObjectType: ERROR:  "countries" is not a table or foreign table

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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