Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348905
relational.py
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
relational.py
View Options
# Copyright (C) 2021 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
# fmt: off
TABLES
=
{
"origin"
:
[
(
"url"
,
"string"
),
],
"origin_visit"
:
[
(
"origin"
,
"string"
),
(
"visit"
,
"bigint"
),
(
"date"
,
"timestamp"
),
(
"type"
,
"string"
),
],
"origin_visit_status"
:
[
(
"origin"
,
"string"
),
(
"visit"
,
"bigint"
),
(
"date"
,
"timestamp"
),
(
"status"
,
"string"
),
(
"snapshot"
,
"string"
),
],
"snapshot"
:
[
(
"id"
,
"string"
),
],
"snapshot_branch"
:
[
(
"snapshot_id"
,
"string"
),
(
"name"
,
"binary"
),
(
"target"
,
"string"
),
(
"target_type"
,
"string"
),
],
"release"
:
[
(
"id"
,
"string"
),
(
"name"
,
"binary"
),
(
"message"
,
"binary"
),
(
"target"
,
"string"
),
(
"target_type"
,
"string"
),
(
"author"
,
"binary"
),
(
"date"
,
"timestamp"
),
(
"date_offset"
,
"smallint"
),
],
"revision"
:
[
(
"id"
,
"string"
),
(
"message"
,
"binary"
),
(
"author"
,
"binary"
),
(
"date"
,
"timestamp"
),
(
"date_offset"
,
"smallint"
),
(
"committer"
,
"binary"
),
(
"committer_date"
,
"timestamp"
),
(
"committer_offset"
,
"smallint"
),
(
"directory"
,
"string"
),
],
"revision_history"
:
[
(
"id"
,
"string"
),
(
"parent_id"
,
"string"
),
(
"parent_rank"
,
"int"
),
],
"directory"
:
[
(
"id"
,
"string"
),
],
"directory_entry"
:
[
(
"directory_id"
,
"string"
),
(
"name"
,
"binary"
),
(
"type"
,
"string"
),
(
"target"
,
"string"
),
(
"perms"
,
"int"
),
],
"content"
:
[
(
"sha1"
,
"string"
),
(
"sha1_git"
,
"string"
),
(
"sha256"
,
"string"
),
(
"blake2s256"
,
"string"
),
(
"length"
,
"bigint"
),
(
"status"
,
"string"
),
],
"skipped_content"
:
[
(
"sha1"
,
"string"
),
(
"sha1_git"
,
"string"
),
(
"sha256"
,
"string"
),
(
"blake2s256"
,
"string"
),
(
"length"
,
"bigint"
),
(
"status"
,
"string"
),
(
"reason"
,
"string"
),
],
}
# fmt: on
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 4 2025, 6:56 PM (5 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3329593
Attached To
rDDATASET Datasets
Event Timeline
Log In to Comment