From 407a5a3c6c1d6d4c170d7646f921bb6f2fb2f380 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 3 Mar 2018 16:18:01 +0000 Subject: now compiles. also added stubs for database testing --- .../src/db/model/UserJoinsProject.ts.html | 146 --------------------- 1 file changed, 146 deletions(-) delete mode 100644 coverage/project-code/src/db/model/UserJoinsProject.ts.html (limited to 'coverage/project-code/src/db/model/UserJoinsProject.ts.html') diff --git a/coverage/project-code/src/db/model/UserJoinsProject.ts.html b/coverage/project-code/src/db/model/UserJoinsProject.ts.html deleted file mode 100644 index 0783bbd..0000000 --- a/coverage/project-code/src/db/model/UserJoinsProject.ts.html +++ /dev/null @@ -1,146 +0,0 @@ - - -
-| 1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 | 1x -1x - -1x -1x - - -1x - - -1x - - - -1x - - - -1x - - - -1x - - -1x - - | import { default as Project } from './Project';
-import { BelongsTo, Column, CreatedAt, ForeignKey, Model, Table
- } from 'sequelize-typescript';
-import { default as User } from './User';
-import { default as ContributorGroup } from './UserGroup';
-
-@Table
-export default class UserJoinsProject extends Model<UserJoinsProject> {
- @ForeignKey(() => User)
- @Column
- public username: string = '';
-
- @ForeignKey(() => Project)
- @Column
- public projectName: string = '';
-
- @CreatedAt
- @Column
- public joinDate: Date = new Date();
-
- @ForeignKey(() => ContributorGroup)
- @Column
- public contributorGroupId: number = 0;
-
- @BelongsTo(() => ContributorGroup)
- public contributorGroup: ContributorGroup = new ContributorGroup();
-}
- |