Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-file-catalog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
VOSpace INAF
vospace-file-catalog
Commits
2849c8ed
Commit
2849c8ed
authored
3 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Removed delta column and added quota column; minor cleanup
parent
7e5462a7
No related branches found
No related tags found
No related merge requests found
Pipeline
#2013
passed
3 years ago
Stage: dockerize
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
00-tables.sql
+4
-12
4 additions, 12 deletions
00-tables.sql
with
4 additions
and
12 deletions
00-tables.sql
+
4
−
12
View file @
2849c8ed
...
...
@@ -53,20 +53,16 @@ CREATE TABLE node (
group_read
VARCHAR
[]
default
NULL
,
group_write
VARCHAR
[]
default
NULL
,
is_public
BOOLEAN
default
NULL
,
delta
BIGINT
default
NULL
,
/* it may be a delta of data which is transferred through an asynchronous transfer.
It should stay on the transfer service (e.g. Redis) */
quota
BIGINT
default
NULL
,
-- total container quota (in bytes)
content_type
VARCHAR
default
NULL
,
content_encoding
VARCHAR
default
NULL
,
content_length
BIGINT
default
NULL
,
content_md5
TEXT
default
NULL
,
created_on
TIMESTAMP
default
CURRENT_TIMESTAMP
,
last_modified
TIMESTAMP
default
NULL
,
-- link TEXT default NULL,
accept_views
TEXT
[]
default
NULL
,
provide_views
TEXT
[]
default
NULL
,
-- storage service mapping used to access the content of this node
-- storage_id VARCHAR,
protocols
TEXT
[]
default
NULL
,
PRIMARY
KEY
(
node_id
),
FOREIGN
KEY
(
location_id
)
REFERENCES
location
(
location_id
)
...
...
@@ -94,20 +90,16 @@ CREATE TABLE deleted_node (
group_read
VARCHAR
[]
default
NULL
,
group_write
VARCHAR
[]
default
NULL
,
is_public
BOOLEAN
default
NULL
,
delta
BIGINT
default
NULL
,
/* it may be a delta of data which is transferred through an asynchronous transfer.
It should stay on the transfer service (e.g. Redis) */
quota
BIGINT
default
NULL
,
-- total container quota (in bytes)
content_type
VARCHAR
default
NULL
,
content_encoding
VARCHAR
default
NULL
,
content_length
BIGINT
default
NULL
,
content_md5
TEXT
default
NULL
,
created_on
TIMESTAMP
default
NULL
,
last_modified
TIMESTAMP
default
NULL
,
-- link TEXT default NULL,
accept_views
TEXT
[]
default
NULL
,
provide_views
TEXT
[]
default
NULL
,
-- storage service mapping used to access the content of this node
-- storage_id VARCHAR,
protocols
TEXT
[]
default
NULL
,
-- add a deleted_on timestamp to keep track
deleted_on
TIMESTAMP
default
CURRENT_TIMESTAMP
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment