Skip to content
Permalink
Browse files
Fixed DB2 truncate statement
  • Loading branch information
Trevor Sibanda committed Aug 16, 2016
1 parent 15350e6 commit fd6c6378b143e8004d357b6cefe0948ad3303e26
Showing 1 changed file with 2 additions and 0 deletions.
@@ -131,6 +131,8 @@ trait DB2Profile extends JdbcProfile {
sb.toString
} else super.createIndex(idx)
}

override def truncateTable = s"TRUNCATE TABLE ${quoteTableName(tableNode)} IMMEDIATE"
}

class ColumnDDLBuilder(column: FieldSymbol) extends super.ColumnDDLBuilder(column) {

0 comments on commit fd6c637

Please sign in to comment.