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
98260f36
Commit
98260f36
authored
Aug 04, 2016
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
parent
f301d547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
db/migrate/20160804150737_add_timestamps_to_members_again.rb
db/migrate/20160804150737_add_timestamps_to_members_again.rb
+1
-0
No files found.
db/migrate/20160804150737_add_timestamps_to_members_again.rb
View file @
98260f36
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
# Why this happened is lost in the mists of time, so repeat the SQL query
# Why this happened is lost in the mists of time, so repeat the SQL query
# without speculation, just in case more than one person was affected.
# without speculation, just in case more than one person was affected.
class
AddTimestampsToMembersAgain
<
ActiveRecord
::
Migration
class
AddTimestampsToMembersAgain
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
up
def
up
execute
"UPDATE members SET created_at = NOW() WHERE created_at IS NULL"
execute
"UPDATE members SET created_at = NOW() WHERE created_at IS NULL"
...
...
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