@@ -727,25 +727,25 @@ class SchemaTests : XCTestCase {
727
727
728
728
XCTAssertEqual (
729
729
" CREATE UNIQUE INDEX \" index_table_on_int64 \" ON \" table \" ( \" int64 \" ) " ,
730
- table. createIndex ( [ int64] , unique: true )
730
+ table. createIndex ( int64, unique: true )
731
731
)
732
732
XCTAssertEqual (
733
733
" CREATE INDEX IF NOT EXISTS \" index_table_on_int64 \" ON \" table \" ( \" int64 \" ) " ,
734
- table. createIndex ( [ int64] , ifNotExists: true )
734
+ table. createIndex ( int64, ifNotExists: true )
735
735
)
736
736
XCTAssertEqual (
737
737
" CREATE UNIQUE INDEX IF NOT EXISTS \" index_table_on_int64 \" ON \" table \" ( \" int64 \" ) " ,
738
- table. createIndex ( [ int64] , unique: true , ifNotExists: true )
738
+ table. createIndex ( int64, unique: true , ifNotExists: true )
739
739
)
740
740
XCTAssertEqual (
741
741
" CREATE UNIQUE INDEX IF NOT EXISTS \" main \" . \" index_table_on_int64 \" ON \" table \" ( \" int64 \" ) " ,
742
- qualifiedTable. createIndex ( [ int64] , unique: true , ifNotExists: true )
742
+ qualifiedTable. createIndex ( int64, unique: true , ifNotExists: true )
743
743
)
744
744
}
745
745
746
746
func test_dropIndex_compilesCreateIndexExpression( ) {
747
747
XCTAssertEqual ( " DROP INDEX \" index_table_on_int64 \" " , table. dropIndex ( int64) )
748
- XCTAssertEqual ( " DROP INDEX IF EXISTS \" index_table_on_int64 \" " , table. dropIndex ( [ int64] , ifExists: true ) )
748
+ XCTAssertEqual ( " DROP INDEX IF EXISTS \" index_table_on_int64 \" " , table. dropIndex ( int64, ifExists: true ) )
749
749
}
750
750
751
751
func test_create_onView_compilesCreateViewExpression( ) {
0 commit comments