From 92e75524727ea06bcc1cb45eb06cbed99596b23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthieu=20Barth=C3=A9lemy?= Date: Sun, 5 Apr 2020 07:33:14 +0800 Subject: [PATCH] public init to call it from other projects --- Sources/QueuesFluentDriver/JobModelMigrate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/QueuesFluentDriver/JobModelMigrate.swift b/Sources/QueuesFluentDriver/JobModelMigrate.swift index e8dcfb0..c017eb7 100644 --- a/Sources/QueuesFluentDriver/JobModelMigrate.swift +++ b/Sources/QueuesFluentDriver/JobModelMigrate.swift @@ -2,6 +2,8 @@ import Foundation import Fluent public struct JobModelMigrate: Migration { + public init() {} + public func prepare(on database: Database) -> EventLoopFuture { let model = FluentQueue.model return database.schema(JobModel.schema)