mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Test that RowModel ImplicitlyUnwrappedOptional properties are OK
This commit is contained in:
1 parent
834c77ba9d
commit
e50fa3b64d
1 file changed
+4
-4
@@ -26,10 +26,10 @@ import XCTest
|
||||
import GRDB
|
||||
|
||||
class Person: RowModel {
|
||||
var id: Int64?
|
||||
var name: String?
|
||||
var age: Int?
|
||||
var creationDate: NSDate?
|
||||
var id: Int64!
|
||||
var name: String!
|
||||
var age: Int!
|
||||
var creationDate: NSDate!
|
||||
|
||||
override class var databaseTableName: String? {
|
||||
return "persons"
|
||||
|
||||
Reference in new issue
Block a user