Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393893
20-enums.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
859 B
Subscribers
None
20-enums.sql
View Options
---
--- Software Heritage Data Types
---
create
type
content_status
as
enum
(
'absent'
,
'visible'
,
'hidden'
);
comment
on
type
content_status
is
'Content visibility'
;
create
type
revision_type
as
enum
(
'git'
,
'tar'
,
'dsc'
,
'svn'
,
'hg'
,
'cvs'
,
'bzr'
);
comment
on
type
revision_type
is
'Possible revision types'
;
create
type
object_type
as
enum
(
'content'
,
'directory'
,
'revision'
,
'release'
,
'snapshot'
);
comment
on
type
object_type
is
'Data object types stored in data model'
;
create
type
snapshot_target
as
enum
(
'content'
,
'directory'
,
'revision'
,
'release'
,
'snapshot'
,
'alias'
);
comment
on
type
snapshot_target
is
'Types of targets for snapshot branches'
;
create
type
origin_visit_state
as
enum
(
'created'
,
'ongoing'
,
'full'
,
'partial'
,
'not_found'
,
'failed'
);
comment
on
type
origin_visit_state
IS
'Possible origin visit status values'
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 4, 7:19 PM (6 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238820
Attached To
rDSTO Storage manager
Event Timeline
Log In to Comment