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
cf6bab4c
Commit
cf6bab4c
authored
Apr 17, 2021
by
Tan Le
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update create table with index example
parent
b17c41f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/migration_style_guide.md
doc/development/migration_style_guide.md
+3
-3
No files found.
doc/development/migration_style_guide.md
View file @
cf6bab4c
...
...
@@ -254,10 +254,10 @@ def up
t
.
bigint
:project_id
,
null:
false
t
.
bigint
:user_id
,
null:
false
t
.
string
:jid
,
limit:
255
end
add_index
:imports
,
:project_id
add_index
:imports
,
:user_id
t
.
index
:project_id
t
.
index
:user_id
end
end
def
down
...
...
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