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
Boxiang Sun
gitlab-ce
Commits
fcec474c
Commit
fcec474c
authored
Nov 14, 2018
by
Jan Provaznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update generator templates
parent
4c607397
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
generator_templates/active_record/migration/create_table_migration.rb
...mplates/active_record/migration/create_table_migration.rb
+1
-1
generator_templates/active_record/migration/migration.rb
generator_templates/active_record/migration/migration.rb
+1
-1
generator_templates/rails/post_deployment_migration/migration.rb
...or_templates/rails/post_deployment_migration/migration.rb
+1
-1
No files found.
generator_templates/active_record/migration/create_table_migration.rb
View file @
fcec474c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
# for more information on how to write migrations for GitLab.
class
<
%= migration_class_name %> < ActiveRecord::Migration
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
# Set this constant to true if this migration requires downtime.
...
...
generator_templates/active_record/migration/migration.rb
View file @
fcec474c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
# for more information on how to write migrations for GitLab.
class
<
%= migration_class_name %> < ActiveRecord::Migration
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
# Set this constant to true if this migration requires downtime.
...
...
generator_templates/rails/post_deployment_migration/migration.rb
View file @
fcec474c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
# for more information on how to write migrations for GitLab.
class
<
%= migration_class_name %> < ActiveRecord::Migration
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
DOWNTIME = false
...
...
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