Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GitLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
projects.thm.de
GitLab
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
create_table_migration.rb
...mplates/active_record/migration/create_table_migration.rb
+1
-1
migration.rb
generator_templates/active_record/migration/migration.rb
+1
-1
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 @@
# 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
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
...
...
generator_templates/active_record/migration/migration.rb
View file @
fcec474c
...
...
@@ -3,7 +3,7 @@
# 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
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
# 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 @@
# 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
class
<
%= migration_class_name %> < ActiveRecord::Migration
[<%=
ActiveRecord
::
Migration
.
current_version
%>]
include Gitlab::Database::MigrationHelpers
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