diff --git a/src/main/java/com/cristobalbernal/foro/Entidades/Foro.java b/src/main/java/com/cristobalbernal/foro/Entidades/Foro.java index 5ef1f97..388bb62 100644 --- a/src/main/java/com/cristobalbernal/foro/Entidades/Foro.java +++ b/src/main/java/com/cristobalbernal/foro/Entidades/Foro.java @@ -15,7 +15,7 @@ public class Foro { @Column(name = "titulo", nullable = true, length = 150) private String titulo; @Basic - @Column(name = "descripcion", nullable = true, length = 150) + @Column(name = "descripcion", nullable = true, length = 500) private String descripcion; @Version @Basic @@ -25,7 +25,7 @@ public class Foro { @Column(name = "imagen", nullable = false) private int imagen; @Basic - @Column(name = "categoria_foro_id", nullable = false) + @Column(name = "categoria_foro_id", nullable = true) private int categoriaForoId; public Foro() { diff --git a/src/main/java/com/cristobalbernal/foro/Entidades/UsersEntity.java b/src/main/java/com/cristobalbernal/foro/Entidades/UsersEntity.java index ccba2bd..1413152 100644 --- a/src/main/java/com/cristobalbernal/foro/Entidades/UsersEntity.java +++ b/src/main/java/com/cristobalbernal/foro/Entidades/UsersEntity.java @@ -19,13 +19,13 @@ public class UsersEntity { @Column(name = "secondname", nullable = true, length = 45) private String secondname; @Basic - @Column(name = "password", nullable = true, length = 45) + @Column(name = "password", nullable = true, length = 120) private String password; @Basic @Column(name = "email", nullable = true, length = 45) private String email; @Basic - @Column(name = "username", nullable = true, length = 45) + @Column(name = "username", nullable = true, length = 120) private String username; @Basic @Column(name = "Imgen", nullable = true, length = 150) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 23242eb..6396b04 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,7 @@ server.port=9000 spring.thymeleaf.cache=false spring.jpa.hibernate.ddl-auto=update -spring.datasource.url=jdbc:mariadb://localhost:3306/foro +spring.datasource.url=jdbc:mariadb://localhost:3306/forogruas spring.datasource.username=root spring.datasource.password= spring.jpa.properties.hibernate.jdbc.time_zone=UTC diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index a8ae8dd..c25eea7 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -2343,7 +2343,7 @@ button:active { border-radius: 50%; } .user-name{ - font-size: 18pt; + font-size: 20pt; margin-top: 14px; } .socials{ @@ -2358,6 +2358,7 @@ button:active { .colorCorreo{ text-decoration: none; color: #ad0000; + font-size: 14pt; } a:hover{ color: #dd1919; diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 251a2ec..50c1eaa 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -66,7 +66,7 @@ - +