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 902eb00 commit 3dbd918Copy full SHA for 3dbd918
Sources/PostgresKit/PostgresDialect.swift
@@ -40,4 +40,11 @@ public struct PostgresDialect: SQLDialect {
40
drop: [.supportsCascade, .supportsTableName]
41
)
42
}
43
+
44
+ public var alterTableSyntax: SQLAlterTableSyntax {
45
+ .init(
46
+ alterColumnDefinitionClause: SQLRaw("ALTER COLUMN"),
47
+ alterColumnDefinitionTypeKeyword: SQLRaw("SET DATA TYPE")
48
+ )
49
+ }
50
0 commit comments