Przeglądaj źródła

Fixed _ to - on the revert on migration

master
rpm-mcarman 3 lat temu
rodzic
commit
d641c51326
2 zmienionych plików z 1 dodań i 1 usunięć
  1. BIN
      .swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate
  2. +1
    -1
      Sources/App/Migrations/CreateFuelEntry.swift

BIN
.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate Wyświetl plik


+ 1
- 1
Sources/App/Migrations/CreateFuelEntry.swift Wyświetl plik

@@ -43,7 +43,7 @@ struct AddLatitudeAndLongitudeAndRemoveGpsLocationAndImage: AsyncMigration {
}

func revert(on database: Database) async throws {
try await database.schema("fuel-entries")
try await database.schema("fuel_entries")
.deleteField("latitude")
.deleteField("longitude")
.field("gps_location", .string)


Ładowanie…
Anuluj
Zapisz