Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
enums committed Jun 26, 2019
1 parent 4158a8b commit 8dad84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Pjango/DB/PCDataBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ open class PCDataBase {


open func isTableExist(_ table: String) -> Bool {
return query(PCSqlUtility.selectTable(schema, table)) != nil ? true : false
return query(PCSqlUtility.selectTable(schema, table, ext: "LIMIT 1")) != nil ? true : false
}

open func createSchema() {
Expand Down

0 comments on commit 8dad84c

Please sign in to comment.