Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
9a41988b
Commit
9a41988b
authored
4 years ago
by
Fabian Adler
Browse files
Options
Downloads
Patches
Plain Diff
Fixing the uncommented demodata & status update
parent
3434b0e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.liquibase/Data_alias/basic/2020.2.2/alter_TableLeadStatus.xml
+14
-1
14 additions, 1 deletion
...ibase/Data_alias/basic/2020.2.2/alter_TableLeadStatus.xml
.liquibase/Data_alias/changelog.xml
+1
-1
1 addition, 1 deletion
.liquibase/Data_alias/changelog.xml
with
15 additions
and
2 deletions
.liquibase/Data_alias/basic/2020.2.2/alter_TableLeadStatus.xml
+
14
−
1
View file @
9a41988b
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext=
"http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"
>
<changeSet
author=
"d.nowack"
id=
"bcd6cb02-d074-444f-a307-34973b3dd4dn"
>
<changeSet
dbms=
"derby"
author=
"s.pongratz"
id=
"539e6d12-5ba4-424b-a29d-f63a48d07288"
>
<sql>
ALTER TABLE LEAD ADD COLUMN STATUS_NEW VARCHAR(36);
UPDATE LEAD SET STATUS_NEW = CAST ( CAST (STATUS as CHAR(36)) as VARCHAR(36) );
ALTER TABLE LEAD DROP COLUMN STATUS;
RENAME COLUMN LEAD.STATUS_NEW TO STATUS;
</sql>
</changeSet>
<changeSet
author=
"s.pongratz"
id=
"be79e660-b112-4f58-b53d-d9e36ecd145b"
>
<preConditions
onFail=
"CONTINUE"
>
<not>
<dbms
type=
"derby"
/>
</not>
</preConditions>
<modifyDataType
tableName=
"LEAD"
columnName=
"STATUS"
newDataType=
"VARCHAR(36)"
/>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.liquibase/Data_alias/changelog.xml
+
1
−
1
View file @
9a41988b
...
...
@@ -20,5 +20,5 @@
<include
relativeToChangelogFile=
"true"
file=
"basic/2020.2.2/changelog.xml"
/>
<!--enable this only when you definetly want to overwrite the existing data with demo records:-->
<include
relativeToChangelogFile=
"true"
file=
"basic/_demoData/changelog.xml"
context=
"example"
/>
<!--
<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
-->
</databaseChangeLog>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment