Skip to content
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

[U] Increase comment length to 10000 characters #4

Merged
merged 2 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/kotlin/org/hydev/back/db/PendingComment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import org.hydev.back.str
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import java.sql.Date
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.Id
Expand All @@ -16,7 +17,10 @@ data class PendingComment(
@Id @GeneratedValue
var id: int = 0,
var personId: str = "",

@Column(length = 10000)
var content: str = "",

var submitter: str = "",
var email: str = "",
var date: Date = Date(0),
Expand Down
18 changes: 9 additions & 9 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@

version.com.github.kittinunf.fuel..fuel-coroutines=2.3.1

version.org.xerial..sqlite-jdbc=3.40.0.0
version.org.xerial..sqlite-jdbc=3.41.0.1

version.org.springframework.boot..spring-boot-starter-web=2.7.7
version.org.springframework.boot..spring-boot-starter-web=2.7.9

## unused
version.org.springframework.boot..spring-boot-starter-test=2.7.7
version.org.springframework.boot..spring-boot-starter-test=2.7.9

## unused
version.org.springframework.boot..spring-boot-starter-data-jpa=2.7.7
version.org.springframework.boot..spring-boot-starter-data-jpa=2.7.9

version.org.springframework.boot..spring-boot-starter=2.7.7
version.org.springframework.boot..spring-boot-starter=2.7.9

version.org.mariadb.jdbc..mariadb-java-client=3.1.0
version.org.mariadb.jdbc..mariadb-java-client=3.1.2

version.org.kohsuke..github-api=1.313
version.org.kohsuke..github-api=1.314

version.kotlin=1.8.0
version.kotlin=1.8.10

version.io.github.kotlin-telegram-bot.kotlin-telegram-bot..telegram=6.0.7

Expand All @@ -35,6 +35,6 @@ version.com.github.kittinunf.fuel..fuel=2.3.1

version.com.github.gwenn..sqlite-dialect=0.1.2

plugin.org.springframework.boot=2.7.7
plugin.org.springframework.boot=2.7.9

plugin.io.spring.dependency-management=1.1.0