File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
tests/test_schemas/+TestLab Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function cleanup(self)
9292 @(x ) strcmp(x .from , rels(ix ).fullTableName), ...
9393 self .schema .conn .foreignKeys , ' uni' , true );
9494 fks = self .schema .conn .foreignKeys(fk_index );
95- if ~fks .aliased
95+ if ~all([ fks .aliased ])
9696 % If matched foreign keys are not aliased, no renaming
9797 % necessary. Restrict table based on normal projection.
9898 rels(ix ).restrict(proj(rels(i )));
Original file line number Diff line number Diff line change 1+ %{
2+ duty_date: date
3+ -----
4+ (duty_first) -> TestLab.User(user_id)
5+ (duty_second) -> TestLab.User(user_id)
6+ %}
7+
8+ classdef Duty < dj .Manual
9+ end
Original file line number Diff line number Diff line change 1+ %{
2+ user_id: varchar(32)
3+ %}
4+
5+ classdef User < dj .Manual
6+ end
You can’t perform that action at this time.
0 commit comments