Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Online Banking Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Filip Kollár
Online Banking Service
Commits
c71da3b4
There was an error fetching the commit references. Please try again later.
Commit
c71da3b4
authored
10 months ago
by
Pavel Tetauer
Browse files
Options
Downloads
Patches
Plain Diff
Added index for date_id
parent
d18bc313
No related branches found
No related tags found
1 merge request
!30
Analytics persistance
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analytics-service/src/main/resources/db/migration/V0__initial_migration.sql
+2
-1
2 additions, 1 deletion
...src/main/resources/db/migration/V0__initial_migration.sql
with
2 additions
and
1 deletion
analytics-service/src/main/resources/db/migration/V0__initial_migration.sql
+
2
−
1
View file @
c71da3b4
...
...
@@ -31,4 +31,5 @@ CREATE TABLE daily_transaction
constraint
fk_date_id
foreign
key
(
date_id
)
references
date_dim
(
id
)
);
CREATE
INDEX
account_id_index
ON
daily_transaction
(
account_id
);
\ No newline at end of file
CREATE
INDEX
account_id_index
ON
daily_transaction
(
account_id
);
CREATE
INDEX
date_id_index
ON
daily_transaction
(
date_id
);
\ 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