Skip to content

Commit 5c5ddee

Browse files
committed
Divide Devices schema names
1 parent e79433f commit 5c5ddee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/FluentWalletOrders/Models/Concrete Models/OrdersDevice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public struct CreateOrdersDevice: AsyncMigration {
4444

4545
extension OrdersDevice {
4646
package enum FieldKeys {
47-
package static let schemaName = "devices"
47+
package static let schemaName = "orders_devices"
4848
static let pushToken = FieldKey(stringLiteral: "push_token")
4949
static let libraryIdentifier = FieldKey(stringLiteral: "library_identifier")
5050
}

Sources/FluentWalletPasses/Models/Concrete Models/PassesDevice.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public struct CreatePassesDevice: AsyncMigration {
4444

4545
extension PassesDevice {
4646
package enum FieldKeys {
47-
package static let schemaName = "devices"
47+
package static let schemaName = "passes_devices"
4848
static let pushToken = FieldKey(stringLiteral: "push_token")
4949
static let libraryIdentifier = FieldKey(stringLiteral: "library_identifier")
5050
}

0 commit comments

Comments
 (0)