pocketbase
pocketbase copied to clipboard
foreign key
I created, on a collection, a field as a "relation" as it is called in the admin panel. When I look at the schema of the table, I was expected the field and a foreign key to be created, but the foreign key is not created. Is it expected?
Yes, this is expected. The relation is maintained only on application level because it is dynamic (eg. it is allowed to change the collection reference after the field creation).