rpm-mcarman 3 лет назад
Родитель
Сommit
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")


Загрузка…
Отмена
Сохранить