-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Postgres citext #1848
Conversation
* Should be based on the value of dbType in the future. */ | ||
def varying: Boolean = { | ||
import java.sql.Types._ | ||
Seq(NVARCHAR, VARCHAR, LONGVARCHAR, LONGNVARCHAR) contains meta.sqlType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that postgres jdbc driver maps text
to VARCHAR
, but citext
to OTHER
, which is why text
type doesn't need special treatment in def varying
below.
project/build.properties
Outdated
@@ -1 +1 @@ | |||
sbt.version=0.13.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to upgrade sbt version for this fix: sbt/sbt#3265
There is a platform-specific issue that comes up for some people with newer versions of ncurses: sbt/sbt#3240
Let me know if this should be part of a separate PR.
@stewSquared could you rebase this to current master. |
@hvesalai Sorry for the late reply. |
Resolves #1847
Note that this PR doesn't handle handling of default values. See #1842