Skip to content

Commit 6052f57

Browse files
supersonicbytedaveverwer
authored andcommitted
Resolve PR comments
1 parent 56a39ac commit 6052f57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/App/Migrations/080/UpdateRepositoryAddForkedFrom2.swift renamed to Sources/App/Migrations/080/UpdateRepositoryResetForkedFrom.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Fluent
1616
import SQLKit
1717

1818

19-
struct UpdateRepositoryAddForkedFrom2: AsyncMigration {
19+
struct UpdateRepositoryResetForkedFrom: AsyncMigration {
2020
func prepare(on database: Database) async throws {
2121
guard let db = database as? SQLDatabase else {
2222
fatalError("Database must be an SQLDatabase ('as? SQLDatabase' must succeed)")

Sources/App/configure.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ public func configure(_ app: Application) async throws -> String {
337337
do { // Migration 079 - Add `forked_from` to `repositories`
338338
app.migrations.add(UpdateRepositoryAddForkedFrom())
339339
}
340-
do { // Migration 080 - Set`forkded_from` to NULL because of Fork model change in Repository
341-
app.migrations.add(UpdateRepositoryAddForkedFrom2())
340+
do { // Migration 080 - Set`forked_from` to NULL because of Fork model change in Repository
341+
app.migrations.add(UpdateRepositoryResetForkedFrom())
342342
}
343343

344344
app.asyncCommands.use(Analyze.Command(), as: "analyze")

0 commit comments

Comments
 (0)