chore: Synchronizing refactor and small fixes from enterprise codebase (#3634)

* chore: Syncronizing refactor and small fixes from enterprise codebase

* fix
This commit is contained in:
Tom Moor
2022-06-05 00:59:41 -07:00
committed by GitHub
parent 28439d315d
commit ac07724f21
24 changed files with 93 additions and 101 deletions

View File

@@ -10,7 +10,7 @@ import Collection from "./Collection";
import IntegrationAuthentication from "./IntegrationAuthentication";
import Team from "./Team";
import User from "./User";
import BaseModel from "./base/BaseModel";
import IdModel from "./base/IdModel";
import Fix from "./decorators/Fix";
@Scopes(() => ({
@@ -26,7 +26,7 @@ import Fix from "./decorators/Fix";
}))
@Table({ tableName: "integrations", modelName: "integration" })
@Fix
class Integration extends BaseModel {
class Integration extends IdModel {
@Column
type: string;