Skip to content

Commit 0c42fb4

Browse files
committed
SB-1475: change ArtifactEntry.lastUpdated and ArtifactEntry.lastUsed properties type from 'date' into 'datetime'
1 parent 71c8f49 commit 0c42fb4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

strongbox-db-liquibase/src/main/resources/db/changelog/v1.0.0/v1.0.0.21__ArtifactEntry.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.2.xsd">
66

77
<changeSet id="v1.0.0.21" author="strongbox-dev@carlspring.com">
8-
<!-- <sql>
9-
update ArtifactEntry set createdTemp = created.asDatetime();
10-
drop property ArtifactEntry.created;
11-
update ArtifactEntry remove created;
12-
update ArtifactEntry set created = createdTemp;
13-
update ArtifactEntry remove createdTemp;
14-
create property ArtifactEntry.created datetime;
15-
</sql>-->
168

179
<o:changePropertyTypeDateToDatetime propertyName="created" className="ArtifactEntry"/>
10+
11+
<o:changePropertyTypeDateToDatetime propertyName="lastUpdated" className="ArtifactEntry"/>
12+
13+
<o:changePropertyTypeDateToDatetime propertyName="lastUsed" className="ArtifactEntry"/>
14+
1815
</changeSet>
1916

2017
</databaseChangeLog>

0 commit comments

Comments
 (0)