ursus
09/12/2024, 12:41 AMsqldelight
in a multi module app? I split my modules into api and impl parts, where .sq
files live in impl module.
The only way I see it is to have child-impl (containing child.sq) depend on parent-impl (containing parent.sq), and then I can simply foreign key (parentId) references parent(id)
...
Which is however against our policy (to only depend on api modules, never impls)
Could maybe the FK be "bolted on" at app module level? (where the final Database
lives,)eygraber
09/12/2024, 12:57 AMursus
09/12/2024, 1:09 AM