Skip to content

Commit

Permalink
Minor README changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Nov 11, 2014
1 parent c013d8f commit c2e2420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ In this example, the field `main_team_id` is a foreign key referencing the prima
- Of course if `team` has foreign keys they will also be handled (and recursively).

#### Limitations
- Foreign keys always reference the `_id` column (the implicit primary key of all tables) and thus must always be of type `Long` - by design.
- **Only one foreign key to a particular table is allowed per table.** In the example above only one column in `person` can point to `team`.
- **Loops** (i.e. A has a foreign key to B and B has a foreign key to A) **aren't detected.** The generator will infinitely loop if they exist.
- Foreign keys always reference the `_id` column (the implicit primary key of all tables) and thus must always be of type `Long` - by design.


Building
Expand Down

0 comments on commit c2e2420

Please sign in to comment.