Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e00a56 commit 89128b6Copy full SHA for 89128b6
Source/Pjango/DB/PCDataBaseField.swift
@@ -84,7 +84,7 @@ final public class PCDataBaseField {
84
let typeStr = "\(type.rawValue)(\(length))"
85
let nullStr: String
86
if notNull, let defaultValue = self.defaultValue {
87
- nullStr = "NOT NULL DEFAULT \(defaultValue)"
+ nullStr = "NOT NULL DEFAULT '\(defaultValue)'"
88
} else {
89
nullStr = "NULL"
90
}
0 commit comments