Closed shenshan closed 5 years ago
The syntax has changed. The example above would now look like:
@schema
class ThisTable(dj.Manual):
definition = """
...
-> AnotherTable.proj(new_name="old_id")
...
"""
However, I think the documentation already contains examples: https://docs-dev.datajoint.io/python/definition/10-Dependencies.html#renamed-foreign-keys
Ok. Good to know. Thanks!
An example such as: