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
d8908079
Commit
d8908079
authored
May 09, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to migration guide in migration templates
parent
e8efaca2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lib/templates/active_record/migration/create_table_migration.rb
...mplates/active_record/migration/create_table_migration.rb
+3
-0
lib/templates/active_record/migration/migration.rb
lib/templates/active_record/migration/migration.rb
+3
-0
No files found.
lib/templates/active_record/migration/create_table_migration.rb
View file @
d8908079
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
<
%= migration_class_name %> < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
...
...
lib/templates/active_record/migration/migration.rb
View file @
d8908079
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
<
%= migration_class_name %> < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
...
...
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