Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344283
099.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
875 B
Subscribers
None
099.sql
View Options
-- SWH DB schema upgrade
-- from_version: 98
-- to_version: 99
-- description: Make schema match the production database
insert
into
dbversion
(
version
,
release
,
description
)
values
(
99
,
now
(),
'Work In Progress'
);
DROP
SEQUENCE
content_ctags_indexer_configuration_id_seq
;
DROP
SEQUENCE
content_fossology_license_indexer_configuration_id_seq
;
DROP
SEQUENCE
content_language_indexer_configuration_id_seq
;
DROP
SEQUENCE
content_mimetype_indexer_configuration_id_seq
;
ALTER
TABLE
content_ctags
ALTER
COLUMN
indexer_configuration_id
DROP
DEFAULT
;
ALTER
TABLE
content_fossology_license
ALTER
COLUMN
indexer_configuration_id
DROP
DEFAULT
;
ALTER
TABLE
content_language
ALTER
COLUMN
indexer_configuration_id
DROP
DEFAULT
;
ALTER
TABLE
content_mimetype
ALTER
COLUMN
indexer_configuration_id
DROP
DEFAULT
;
ALTER
TABLE
"release"
ALTER
COLUMN
target_type
SET
NOT
NULL
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 2:17 PM (2 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3243088
Attached To
rDSTOC swh-storage-cassandra
Event Timeline
Log In to Comment