From 136c5854f3c1b6762dcd4e3a5b1a47d228d2e442 Mon Sep 17 00:00:00 2001 From: Shintaro Murakami Date: Sun, 11 Jan 2015 00:28:52 +0900 Subject: [PATCH] (refs #593) Expand column size of FILE_NAME in COMIT_COMMENT --- src/main/resources/update/2_8.sql | 1 + src/main/scala/servlet/AutoUpdateListener.scala | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/main/resources/update/2_8.sql diff --git a/src/main/resources/update/2_8.sql b/src/main/resources/update/2_8.sql new file mode 100644 index 000000000..38c95d371 --- /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 3fbcce081..6020a0f8f 100644 --- a/src/main/scala/servlet/AutoUpdateListener.scala +++ b/src/main/scala/servlet/AutoUpdateListener.scala @@ -52,6 +52,7 @@ object AutoUpdate { * 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)