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
d95fd3cb
Commit
d95fd3cb
authored
Aug 04, 2016
by
Adam Niedzielski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Date instead of Datetime. Nobody cares about the exact hour.
parent
419990eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20160801163421_add_expires_at_to_member.rb
db/migrate/20160801163421_add_expires_at_to_member.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
No files found.
db/migrate/20160801163421_add_expires_at_to_member.rb
View file @
d95fd3cb
...
@@ -24,6 +24,6 @@ class AddExpiresAtToMember < ActiveRecord::Migration
...
@@ -24,6 +24,6 @@ class AddExpiresAtToMember < ActiveRecord::Migration
# disable_ddl_transaction!
# disable_ddl_transaction!
def
change
def
change
add_column
:members
,
:expires_at
,
:date
time
add_column
:members
,
:expires_at
,
:date
end
end
end
end
db/schema.rb
View file @
d95fd3cb
...
@@ -581,7 +581,7 @@ ActiveRecord::Schema.define(version: 20160801163421) do
...
@@ -581,7 +581,7 @@ ActiveRecord::Schema.define(version: 20160801163421) do
t
.
string
"invite_token"
t
.
string
"invite_token"
t
.
datetime
"invite_accepted_at"
t
.
datetime
"invite_accepted_at"
t
.
datetime
"requested_at"
t
.
datetime
"requested_at"
t
.
date
time
"expires_at"
t
.
date
"expires_at"
end
end
add_index
"members"
,
[
"access_level"
],
name:
"index_members_on_access_level"
,
using: :btree
add_index
"members"
,
[
"access_level"
],
name:
"index_members_on_access_level"
,
using: :btree
...
...
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