Skip to content

Commit 1b1eba0

Browse files
authored
Merge pull request #1196 from ohoj-software/bugfix/expose-index-definition-properties
Make ithe IndexDefinition properties public
2 parents 5b29e7c + 5f96ca4 commit 1b1eba0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/SQLite/Schema/SchemaDefinitions.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ public struct IndexDefinition: Equatable {
266266
orders: indexSQL.flatMap(orders))
267267
}
268268

269-
let table: String
270-
let name: String
271-
let unique: Bool
272-
let columns: [String]
273-
let `where`: String?
274-
let orders: [String: Order]?
269+
public let table: String
270+
public let name: String
271+
public let unique: Bool
272+
public let columns: [String]
273+
public let `where`: String?
274+
public let orders: [String: Order]?
275275

276276
enum IndexError: LocalizedError {
277277
case tooLong(String, String)

0 commit comments

Comments
 (0)