Skip to content

Commit

Permalink
Updated DateTime column type for SQL Server to use the proper,
Browse files Browse the repository at this point in the history
completely non-standard DATETIME type.
  • Loading branch information
dchenbecker committed Mar 17, 2009
1 parent 6102f4d commit 42e9f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lift-mapper/src/main/scala/net/liftweb/mapper/Driver.scala
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ object SqlServerDriver extends DriverType("Microsoft SQL Server") {
def binaryColumnType = "VARBINARY(MAX)"
def booleanColumnType = "BIT"
def clobColumnType = "VARCHAR(MAX)"
def dateTimeColumnType = "TIMESTAMP"
def dateTimeColumnType = "DATETIME"
def integerColumnType = "INT"
def integerIndexColumnType = "INT IDENTITY NOT NULL"
def enumColumnType = "BIGINT"
Expand Down Expand Up @@ -200,4 +200,4 @@ object MaxDbDriver extends DriverType("MaxDB") {
def enumListColumnType = "FIXED(38)"
def longColumnType = "FIXED(38)"
def doubleColumnType = "FLOAT(38)"
}
}

0 comments on commit 42e9f46

Please sign in to comment.