ソースを参照

Fixed _ to - on the revert on migration

master
rpm-mcarman 3年前
コミット
d641c51326
2個のファイルの変更1行の追加1行の削除
  1. バイナリ
      .swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate
  2. +1
    -1
      Sources/App/Migrations/CreateFuelEntry.swift

バイナリ
.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate ファイルの表示


+ 1
- 1
Sources/App/Migrations/CreateFuelEntry.swift ファイルの表示

@@ -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)


読み込み中…
キャンセル
保存