Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393850
135.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
447 B
Subscribers
None
135.sql
View Options
-- SWH DB schema upgrade
-- from_version: 134
-- to_version: 135
-- description: Add an index on origin.url, drop the index on (origin.type, origin.url)
insert
into
dbversion
(
version
,
release
,
description
)
values
(
135
,
now
(),
'Work In Progress'
);
create
extension
if
not
exists
pg_trgm
;
drop
index
origin_type_url_idx
;
create
index
concurrently
on
origin
using
gin
(
url
gin_trgm_ops
);
create
index
concurrently
on
origin
using
hash
(
url
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:18 PM (9 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399040
Attached To
rDSTO Storage manager
Event Timeline
Log In to Comment