You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
== 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
The text was updated successfully, but these errors were encountered:
tagliala
changed the title
add_foreign_key do not work on temporal tablesadd/remove_foreign_key do not work on temporal tables
Jul 24, 2022
will not work in this case because if you want to add a foreign key between a temporal table and a normal table, on_temporal_schema will assume that both tables are temporal, but this cannot be true, so this requires some kind of custom logic that I cannot figure out at the moment
The text was updated successfully, but these errors were encountered: