summaryrefslogtreecommitdiffstats
path: root/db/migrate/041_rename_comment_to_comments.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
commit3b55f654077dfb7b4764eafa52579a83bd22152f (patch)
treef54f71952c75bfc3077d8f8cf1b2fc556eaaadf2 /db/migrate/041_rename_comment_to_comments.rb
parentb900ae6107666deb601753eaa7abab0b299c006d (diff)
downloadredmine-3b55f654077dfb7b4764eafa52579a83bd22152f.tar.gz
redmine-3b55f654077dfb7b4764eafa52579a83bd22152f.zip
Remove frozen_string_literal magic comment from files which are not used when running the application or tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/041_rename_comment_to_comments.rb')
-rw-r--r--db/migrate/041_rename_comment_to_comments.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/migrate/041_rename_comment_to_comments.rb b/db/migrate/041_rename_comment_to_comments.rb
index 8e2757304..02391091a 100644
--- a/db/migrate/041_rename_comment_to_comments.rb
+++ b/db/migrate/041_rename_comment_to_comments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RenameCommentToComments < ActiveRecord::Migration[4.2]
def self.up
rename_column(:comments, :comment, :comments) if ActiveRecord::Base.connection.columns(Comment.table_name).detect{|c| c.name == "comment"}