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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
faa0e3f7
Commit
faa0e3f7
authored
Jun 14, 2016
by
Timothy Andrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop spec.
parent
d0bcba11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
db/migrate/20160415062917_create_personal_access_tokens.rb
db/migrate/20160415062917_create_personal_access_tokens.rb
+1
-1
No files found.
db/migrate/20160415062917_create_personal_access_tokens.rb
View file @
faa0e3f7
...
...
@@ -2,7 +2,7 @@ class CreatePersonalAccessTokens < ActiveRecord::Migration
def
change
create_table
:personal_access_tokens
do
|
t
|
t
.
references
:user
,
index:
true
,
foreign_key:
true
,
null:
false
t
.
string
:token
,
index:
{
unique:
true
},
null:
false
t
.
string
:token
,
index:
{
unique:
true
},
null:
false
t
.
string
:name
,
null:
false
t
.
boolean
:revoked
,
default:
false
t
.
datetime
:expires_at
...
...
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