From 74bd9b5afbd4e8a355ac4b8d03f61cbff57abebf Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Thu, 19 Sep 2019 15:02:34 +0200
Subject: [PATCH] increase salesproject title size to 150

---
 .liquibase/Data_alias/basic/2019.3.0/changelog.xml         | 2 ++
 .../2019.3.0/increase_salesproject_name_to_150_chars.xml   | 7 +++++++
 aliasDefinition/Data_alias/Data_alias.aod                  | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 .liquibase/Data_alias/basic/2019.3.0/increase_salesproject_name_to_150_chars.xml

diff --git a/.liquibase/Data_alias/basic/2019.3.0/changelog.xml b/.liquibase/Data_alias/basic/2019.3.0/changelog.xml
index 009ebeeab3..8cf9c5368e 100644
--- a/.liquibase/Data_alias/basic/2019.3.0/changelog.xml
+++ b/.liquibase/Data_alias/basic/2019.3.0/changelog.xml
@@ -6,4 +6,6 @@
     <include relativeToChangelogFile="true" file="alter_DocumentTemplate_addReplacementName.xml"/>
     <include relativeToChangelogFile="true" file="insert_DocumentTemplateCategory_templates.xml"/>
     <include relativeToChangelogFile="true" file="alter_Bulkmail_use_template_attachments.xml"/>
+    
+    <include relativeToChangelogFile="true" file="increase_salesproject_name_to_150_chars.xml"/>
 </databaseChangeLog>
diff --git a/.liquibase/Data_alias/basic/2019.3.0/increase_salesproject_name_to_150_chars.xml b/.liquibase/Data_alias/basic/2019.3.0/increase_salesproject_name_to_150_chars.xml
new file mode 100644
index 0000000000..e927d6edb8
--- /dev/null
+++ b/.liquibase/Data_alias/basic/2019.3.0/increase_salesproject_name_to_150_chars.xml
@@ -0,0 +1,7 @@
+<?xml version="1.1" encoding="UTF-8" standalone="no"?>
+<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
+                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
+    <changeSet author="j.hoermann" id="fd473c7f-df53-4621-aa20-4b92a349a57a">
+        <modifyDataType tableName="SALESPROJECT" columnName="PROJECTTITLE" newDataType="NVARCHAR(150)"/>
+    </changeSet>
+</databaseChangeLog>
diff --git a/aliasDefinition/Data_alias/Data_alias.aod b/aliasDefinition/Data_alias/Data_alias.aod
index 5eba58459e..01f8f1cdda 100644
--- a/aliasDefinition/Data_alias/Data_alias.aod
+++ b/aliasDefinition/Data_alias/Data_alias.aod
@@ -3575,7 +3575,7 @@
                 <dbName></dbName>
                 <primaryKey v="false" />
                 <columnType v="12" />
-                <size v="30" />
+                <size v="150" />
                 <scale v="0" />
                 <notNull v="false" />
                 <isUnique v="false" />
-- 
GitLab