Skip to content

Commit

Permalink
public init to call it from other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
m-barthelemy committed Apr 4, 2020
1 parent c7fa7af commit 92e7552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/QueuesFluentDriver/JobModelMigrate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import Foundation
import Fluent

public struct JobModelMigrate: Migration {
public init() {}

public func prepare(on database: Database) -> EventLoopFuture<Void> {
let model = FluentQueue.model
return database.schema(JobModel.schema)
Expand Down

0 comments on commit 92e7552

Please sign in to comment.