ソースを参照

Fixed migration

master
rpm-mcarman 3年前
コミット
16c137c44a
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 ファイルの表示

@@ -34,7 +34,7 @@ struct CreateFuelEntry: AsyncMigration {

struct AddLatitudeAndLongitudeAndRemoveGpsLocationAndImage: AsyncMigration {
func prepare(on database: Database) async throws {
try await database.schema("fuel-entries")
try await database.schema("fuel_entries")
.field("latitude", .double)
.field("longitude", .double)
.deleteField("gps_location")


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