Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d02c44ee
Commit
d02c44ee
authored
Feb 20, 2021
by
Piotr Skorupa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add version_usage_data_id to raw_usage_data migration
parent
2c7cf0c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
db/migrate/20210219211845_add_version_usage_data_id_to_raw_usage_data.rb
...0219211845_add_version_usage_data_id_to_raw_usage_data.rb
+9
-0
db/schema_migrations/20210219211845
db/schema_migrations/20210219211845
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
db/migrate/20210219211845_add_version_usage_data_id_to_raw_usage_data.rb
0 → 100644
View file @
d02c44ee
# frozen_string_literal: true
class
AddVersionUsageDataIdToRawUsageData
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:raw_usage_data
,
:version_usage_data_id
,
:bigint
end
end
db/schema_migrations/20210219211845
0 → 100644
View file @
d02c44ee
b58f2853d7a2d9a821198f69c5913d290404a4961410dd66d256eefc7ecf1026
\ No newline at end of file
db/structure.sql
View file @
d02c44ee
...
...
@@ -16616,7 +16616,8 @@ CREATE TABLE raw_usage_data (
updated_at timestamp with time zone NOT NULL,
recorded_at timestamp with time zone NOT NULL,
sent_at timestamp with time zone,
payload jsonb NOT NULL
payload jsonb NOT NULL,
version_usage_data_id bigint
);
CREATE SEQUENCE raw_usage_data_id_seq
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment