Commit ea65eca9d8e6af3ab3978789a3c7359126d37aa7
1 parent
d0a8f3ce
Exists in
master
[Redmine Atendimento #4637]Alteração tamanho de coluna
Showing
2 changed files
with
39 additions
and
3 deletions
Show diff stats
citgrp-patrimonio-api/src/main/java/br/com/centralit/api/model/HistoricoBemPatrimonial.java
... | ... | @@ -68,17 +68,17 @@ public class HistoricoBemPatrimonial extends PersistentObjectAuditOrganizacao { |
68 | 68 | private String descricao; |
69 | 69 | |
70 | 70 | /** Atributo valorAnterior. */ |
71 | - @Column(length = 100) | |
71 | + @Column(length = 400) | |
72 | 72 | @JsonView({ Views.EntradaEditView.class }) |
73 | 73 | private String valorAnterior; |
74 | 74 | |
75 | 75 | /** Atributo valorNovo. */ |
76 | - @Column(length = 100) | |
76 | + @Column(length = 400) | |
77 | 77 | @JsonView({ Views.EntradaEditView.class }) |
78 | 78 | private String valorNovo; |
79 | 79 | |
80 | 80 | /** Atributo valorNovo. */ |
81 | - @Column(length = 100) | |
81 | + @Column(length = 400) | |
82 | 82 | @JsonView({ Views.EntradaEditView.class }) |
83 | 83 | private String numeroProcesso; |
84 | 84 | ... | ... |
citgrp-patrimonio-api/src/main/resources/scripts-bd/postgres/v1.14.0/01-cit-patrimonio-v1.14.0-postgres.sql
0 → 100644
... | ... | @@ -0,0 +1,36 @@ |
1 | +-- ERICK INICIO 25/04/2016 | |
2 | +--ALTERADO NA MIGRAÇÃO-- ALTER TABLE historicobempatrimonial ALTER COLUMN descricao TYPE character varying(400); | |
3 | +ALTER TABLE historicobempatrimonial ALTER COLUMN numeroprocesso TYPE character varying(400); | |
4 | +ALTER TABLE historicobempatrimonial ALTER COLUMN valoranterior TYPE character varying(400); | |
5 | +ALTER TABLE historicobempatrimonial ALTER COLUMN valornovo TYPE character varying(400); | |
6 | + | |
7 | +-- EXECUTAR SEPARADO, TALVEZ FALHA CASO EXISTA A TABELA dadosbempatrimonial_aud | |
8 | +CREATE TABLE IF NOT EXISTS dadosbempatrimonial_aud ( | |
9 | + | |
10 | + id bigint NOT NULL, | |
11 | + version bigint, | |
12 | + responsavel_id bigint, | |
13 | + detentor_id bigint, | |
14 | + databloqueio date, | |
15 | + datainativo date, | |
16 | + datacriacao timestamp without time zone, | |
17 | + dataedicao timestamp without time zone, | |
18 | + copiadedadosfinal boolean, | |
19 | + numeropatrimonial character varying(50), | |
20 | + valorliquido numeric(20,4), | |
21 | + autor_id bigint, | |
22 | + editor_id bigint, | |
23 | + bempatrimonial_id bigint, | |
24 | + bempatrimonialprincipal_id bigint, | |
25 | + dominiolocalinconsistencia_id bigint, | |
26 | + dominiosituacaofisica_id bigint, | |
27 | + dominiostatus_id bigint, | |
28 | + dominiostatusinventariobem_id bigint, | |
29 | + unidadeatual_id bigint, | |
30 | + inventariobempatrimonial_id bigint, | |
31 | + inventariounidade_id bigint, | |
32 | + material_id bigint | |
33 | + | |
34 | +); | |
35 | + | |
36 | +-- ERICK FIM 25/04/2016 | |
0 | 37 | \ No newline at end of file | ... | ... |