Skip to content

Commit 9b6ac73

Browse files
authored
Merge pull request #15 from strongbox/feature/SB-1286
SB-1286: Store users in OrientDB
2 parents 32f635c + 2c6500b commit 9b6ac73

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
</parent>
1111

1212
<artifactId>strongbox-db</artifactId>
13-
<version>1.0-SNAPSHOT</version>
1413
<packaging>pom</packaging>
15-
14+
<version>1.0-SNAPSHOT</version>
15+
1616
<properties>
1717
<serverId />
1818
<deployUrl />

strongbox-db-import/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
</parent>
1414

1515
<artifactId>strongbox-db-import</artifactId>
16-
1716
<inceptionYear>2019</inceptionYear>
1817

1918
<properties>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
<include file="v1.0.0.17__ArtifactArchiveListing.xml" relativeToChangelogFile="true"/>
2424
<include file="v1.0.0.18__ArtifactGroup.xml" relativeToChangelogFile="true"/>
2525
<include file="v1.0.0.19__ArtifactEntry.xml" relativeToChangelogFile="true"/>
26+
<include file="v1.0.0.20__User.xml" relativeToChangelogFile="true"/>
2627

2728
</databaseChangeLog>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
2+
xmlns:o="http://www.unbroken-dome.org/schema/liquibase-orientdb"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
5+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.2.xsd">
6+
7+
<changeSet id="v1.0.0.20" author="strongbox-dev@carlspring.com">
8+
9+
<o:createClass name="UserEntry" extends="GenericEntity">
10+
<o:property name="username" type="string" />
11+
<o:property name="password" type="string" />
12+
<o:property name="enabled" type="boolean" />
13+
<o:property name="securityTokenKey" type="string" />
14+
<o:property name="lastUpdate" type="date" />
15+
<o:property name="roles" type="embeddedset" linkedType="string"/>
16+
<o:property name="sourceId" type="string" />
17+
</o:createClass>
18+
19+
<o:createIndex name="idx_user_username" on="UserEntry" property="username" type="unique" />
20+
21+
</changeSet>
22+
23+
</databaseChangeLog>
24+

0 commit comments

Comments
 (0)