Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdn-origin
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
Service Desk
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
easrng
cdn-origin
Commits
33a2285f
Commit
33a2285f
authored
6 years ago
by
Dean
Browse files
Options
Downloads
Patches
Plain Diff
add deleted_at and deletion_reason to objects.sql
parent
e552b8ea
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
objects.sql
+2
-0
2 additions, 0 deletions
objects.sql
with
2 additions
and
0 deletions
objects.sql
+
2
−
0
View file @
33a2285f
...
...
@@ -11,6 +11,8 @@ CREATE TABLE IF NOT EXISTS objects (
content_length
INT
DEFAULT
NULL
,
-- Content-Length of file
associated_user
VARCHAR
(
36
)
DEFAULT
NULL
,
-- ID of user who uploaded file
created_at
TIMESTAMP
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
,
-- File creation timestamp
deleted_at
TIMESTAMP
DEFAULT
NULL
,
-- Deletion timestamp
delete_reason
VARCHAR
(
256
)
DEFAULT
NULL
,
-- Deletion reason
md5_hash
VARCHAR
(
32
)
DEFAULT
NULL
-- MD5 hash of file contents (or destination URL)
);
...
...
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