diff options
Diffstat (limited to 'server/models/pod.ts')
-rw-r--r-- | server/models/pod.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/pod.ts b/server/models/pod.ts index 107744c43..fef9d4da6 100644 --- a/server/models/pod.ts +++ b/server/models/pod.ts | |||
@@ -27,8 +27,8 @@ let loadByHost: PodMethods.LoadByHost | |||
27 | let removeAll: PodMethods.RemoveAll | 27 | let removeAll: PodMethods.RemoveAll |
28 | let updatePodsScore: PodMethods.UpdatePodsScore | 28 | let updatePodsScore: PodMethods.UpdatePodsScore |
29 | 29 | ||
30 | export default function (sequelize, DataTypes) { | 30 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
31 | Pod = sequelize.define('Pod', | 31 | Pod = sequelize.define<PodInstance, PodAttributes>('Pod', |
32 | { | 32 | { |
33 | host: { | 33 | host: { |
34 | type: DataTypes.STRING, | 34 | type: DataTypes.STRING, |