Commit 7698e530 authored by Matija Obreza's avatar Matija Obreza

Merge branch '13-resize-cooperator-organization' into 'master'

Resolve "Resize Cooperator.organization"

Closes #13

See merge request grin-global/grin-global-server!14
parents bd0ae57b ad5fb0cb
......@@ -95,7 +95,7 @@ public class Cooperator extends CooperatorOwnedModel {
private String note;
@Basic
@Column(length = 100)
@Column(length = 200)
private String organization;
@Basic
......@@ -139,7 +139,7 @@ public class Cooperator extends CooperatorOwnedModel {
private Geography secondaryGeography;
@Basic
@Column(name = "secondary_organization", length = 100)
@Column(name = "secondary_organization", length = 200)
private String secondaryOrganization;
@Basic
......
......@@ -115,7 +115,7 @@ public class WebCooperator {
private String note;
@Basic
@Column(length = 100)
@Column(length = 200)
private String organization;
@Basic
......
......@@ -471,3 +471,39 @@ databaseChangeLog:
- sql:
sql: >-
CREATE INDEX UK_1my8xep8hi5fv42o3ivu0t41o ON short_filter(json(250))
- changeSet:
id: 1585802839000-3
author: mobreza
comment: Resize organization and secondary_organization in cooperator and web_cooperator
changes:
- dropIndex:
indexName: ndx_uniq_co
tableName: cooperator
- modifyDataType:
columnName: organization
newDataType: nvarchar(200)
tableName: cooperator
- modifyDataType:
columnName: secondary_organization
newDataType: nvarchar(200)
tableName: cooperator
- createIndex:
columns:
- column:
name: last_name
- column:
name: first_name
- column:
name: organization
- column:
name: geography_id
- column:
name: address_line1
indexName: ndx_uniq_co
tableName: cooperator
unique: true
- modifyDataType:
columnName: organization
newDataType: nvarchar(200)
tableName: web_cooperator
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment