diff --git a/src/main/resources/update/2_8.sql b/src/main/resources/update/2_8.sql new file mode 100644 index 0000000..38c95d3 --- /dev/null +++ b/src/main/resources/update/2_8.sql @@ -0,0 +1 @@ +ALTER TABLE COMMIT_COMMENT ALTER COLUMN FILE_NAME NVARCHAR(260); diff --git a/src/main/scala/servlet/AutoUpdateListener.scala b/src/main/scala/servlet/AutoUpdateListener.scala index 3fbcce0..6020a0f 100644 --- a/src/main/scala/servlet/AutoUpdateListener.scala +++ b/src/main/scala/servlet/AutoUpdateListener.scala @@ -52,6 +52,7 @@ * The history of versions. A head of this sequence is the current BitBucket version. */ val versions = Seq( + new Version(2, 8), new Version(2, 7) { override def update(conn: Connection): Unit = { super.update(conn)