Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
41
Issues
41
List
Boards
Labels
Milestones
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
146bc457
Commit
146bc457
authored
Feb 17, 2019
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added index on accession.createdDate
- Lets us find new stuff!
parent
d5fd3b46
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
src/main/java/org/genesys2/server/model/genesys/Accession.java
...ain/java/org/genesys2/server/model/genesys/Accession.java
+2
-1
src/main/resources/liquibase/liquibase-changeLog.yml
src/main/resources/liquibase/liquibase-changeLog.yml
+13
-0
No files found.
src/main/java/org/genesys2/server/model/genesys/Accession.java
View file @
146bc457
...
...
@@ -43,7 +43,8 @@ import org.springframework.data.elasticsearch.annotations.Document;
@Index
(
name
=
"IX_origcty_seqNo"
,
columnList
=
"orgCtyId,seqNo"
),
@Index
(
name
=
"IX_taxa_seq"
,
columnList
=
"taxonomyId2,seqNo"
),
@Index
(
name
=
"IX_seqNo"
,
columnList
=
"seqNo"
),
@Index
(
name
=
"IX_accession_lastModifiedDate"
,
columnList
=
"lastModifiedDate"
)})
@Index
(
name
=
"IX_accession_lastModifiedDate"
,
columnList
=
"lastModifiedDate"
),
@Index
(
name
=
"IX_accession_createdDate"
,
columnList
=
"createdDate"
)})
@Audited
@Document
(
indexName
=
"genesys"
)
public
class
Accession
extends
AccessionData
{
...
...
src/main/resources/liquibase/liquibase-changeLog.yml
View file @
146bc457
...
...
@@ -5565,3 +5565,16 @@ databaseChangeLog:
union all select collectId, coll3 from t_collCode where coll3 is not
null
union all select collectId, coll4 from t_collCode where coll4 is not
null
) Q);
drop table t_collCode;
-
changeSet
:
id
:
1550431022000-1
author
:
mobreza
comment
:
Index on accession.createdDate let's us find new records
changes
:
-
createIndex
:
columns
:
-
column
:
name
:
createdDate
indexName
:
IX_accession_createdDate
tableName
:
accession
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment