Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
hive
hivemind
Merge requests
!351
New tests for `condenser_api.get_state`
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
New tests for `condenser_api.get_state`
mt-get-state-more-tests
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Mariusz Trela
requested to merge
mt-get-state-more-tests
into
develop
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
35
Expand
0
0
Merge request reports
Compare
version 2
version 4
7f2c05b3
4 years ago
version 3
753c7540
4 years ago
version 2
bb4bc77d
4 years ago
version 1
f54c9516
4 years ago
develop (base)
and
version 4
latest version
d4399e11
2 commits,
4 years ago
version 4
7f2c05b3
1 commit,
4 years ago
version 3
753c7540
1 commit,
4 years ago
version 2
bb4bc77d
1 commit,
4 years ago
version 1
f54c9516
1 commit,
4 years ago
Show latest version
35 files
+
375
−
936
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
35
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/upgrade/upgrade_table_schema.sql
+
18
−
14
Options
@@ -304,21 +304,25 @@ WHERE NOT EXISTS (SELECT data_type
--- Notification cache to significantly speedup notification APIs.
CREATE
TABLE
IF
NOT
EXISTS
hive_notification_cache
(
id
BIGINT
NOT
NULL
,
block_num
INT
NOT
NULL
,
type_id
INT
NOT
NULL
,
dst
INT
NULL
,
src
INT
NULL
,
dst_post_id
INT
NULL
,
post_id
INT
NULL
,
score
INT
NOT
NULL
,
created_at
TIMESTAMP
WITHOUT
TIME
ZONE
NOT
NULL
,
community_title
VARCHAR
(
32
)
NULL
,
community
VARCHAR
(
16
)
NULL
,
payload
VARCHAR
NULL
,
CONSTRAINT
hive_notification_cache_pk
PRIMARY
KEY
(
id
)
id
BIGINT
NOT
NULL
,
block_num
INT
NOT
NULL
,
type_id
INT
NOT
NULL
,
dst
INT
NULL
,
src
INT
NULL
,
dst_post_id
INT
NULL
,
post_id
INT
NULL
,
score
INT
NOT
NULL
,
created_at
TIMESTAMP
WITHOUT
TIME
ZONE
NOT
NULL
,
community_title
VARCHAR
(
32
)
NULL
,
community
VARCHAR
(
16
)
NULL
,
payload
VARCHAR
NULL
,
CONSTRAINT
hive_notification_cache_pk
PRIMARY
KEY
(
id
)
);
CREATE
INDEX
IF
NOT
EXISTS
hive_notification_cache_block_num_idx
ON
hive_notification_cache
(
block_num
);
CREATE
INDEX
IF
NOT
EXISTS
hive_notification_cache_dst_score_idx
ON
hive_notification_cache
(
dst
,
score
)
WHERE
dst
IS
NOT
NULL
;
CREATE
INDEX
IF
NOT
EXISTS
hive_feed_cache_block_num_idx
on
hive_feed_cache
(
block_num
);
CREATE
INDEX
IF
NOT
EXISTS
hive_feed_cache_created_at_idx
on
hive_feed_cache
(
created_at
);
Loading