Skip to content

Commit

Permalink
started fixing schema editing
Browse files Browse the repository at this point in the history
  • Loading branch information
datomo committed Feb 29, 2024
1 parent 08081d7 commit bd4dbab
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 342 deletions.
5 changes: 5 additions & 0 deletions src/app/models/catalog.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ export interface KeyModel extends IdEntity {
isPrimary: boolean;
}

export interface ForeignKeyModel extends KeyModel {
referencedIds: number[];
referencedEntityId: number;
}

export interface ConstraintModel extends IdEntity {
keyId: number;
type: string;
Expand Down
Loading

0 comments on commit bd4dbab

Please sign in to comment.