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
349f3520
Commit
349f3520
authored
Aug 06, 2019
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add timestamp columns to geo_nodes
parent
95ba178d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
db/migrate/20190802195602_add_timestamps_columns_to_geo_nodes.rb
...ate/20190802195602_add_timestamps_columns_to_geo_nodes.rb
+10
-0
db/schema.rb
db/schema.rb
+2
-0
No files found.
db/migrate/20190802195602_add_timestamps_columns_to_geo_nodes.rb
0 → 100644
View file @
349f3520
# frozen_string_literal: true
class
AddTimestampsColumnsToGeoNodes
<
ActiveRecord
::
Migration
[
5.2
]
DOWNTIME
=
false
def
change
add_column
(
:geo_nodes
,
:created_at
,
:datetime_with_timezone
,
null:
true
)
add_column
(
:geo_nodes
,
:updated_at
,
:datetime_with_timezone
,
null:
true
)
end
end
db/schema.rb
View file @
349f3520
...
...
@@ -1450,6 +1450,8 @@ ActiveRecord::Schema.define(version: 2019_08_02_235445) do
t
.
string
"internal_url"
t
.
string
"name"
,
null:
false
t
.
integer
"container_repositories_max_capacity"
,
default:
10
,
null:
false
t
.
datetime_with_timezone
"created_at"
t
.
datetime_with_timezone
"updated_at"
t
.
index
[
"access_key"
],
name:
"index_geo_nodes_on_access_key"
t
.
index
[
"name"
],
name:
"index_geo_nodes_on_name"
,
unique:
true
t
.
index
[
"primary"
],
name:
"index_geo_nodes_on_primary"
...
...
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