|
|
@@ -43,7 +43,7 @@ struct AddLatitudeAndLongitudeAndRemoveGpsLocationAndImage: AsyncMigration { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func revert(on database: Database) async throws { |
|
|
func revert(on database: Database) async throws { |
|
|
try await database.schema("fuel-entries") |
|
|
|
|
|
|
|
|
try await database.schema("fuel_entries") |
|
|
.deleteField("latitude") |
|
|
.deleteField("latitude") |
|
|
.deleteField("longitude") |
|
|
.deleteField("longitude") |
|
|
.field("gps_location", .string) |
|
|
.field("gps_location", .string) |
|
|
|