summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 07:42:12 +0000
commitde76bb3a4a00146f8d53dbc25f2e90ca99910a22 (patch)
tree9927c2a114ec980e8c0584f615754db0ea2d0162 /db
parent0c28b0974adb3d9f777fbf0cc9234b1a7de144bf (diff)
downloadredmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.tar.gz
redmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.zip
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/001_setup.rb1
-rw-r--r--db/migrate/007_create_journals.rb1
-rw-r--r--db/migrate/20110223180953_salt_user_passwords.rb1
-rw-r--r--db/migrate/20131215104612_store_relation_type_in_journal_details.rb1
-rw-r--r--db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb1
5 files changed, 0 insertions, 5 deletions
diff --git a/db/migrate/001_setup.rb b/db/migrate/001_setup.rb
index 1cd569403..a2ae11f67 100644
--- a/db/migrate/001_setup.rb
+++ b/db/migrate/001_setup.rb
@@ -16,7 +16,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class Setup < ActiveRecord::Migration[4.2]
-
class User < ActiveRecord::Base
end
diff --git a/db/migrate/007_create_journals.rb b/db/migrate/007_create_journals.rb
index 0d1201406..c938d85b7 100644
--- a/db/migrate/007_create_journals.rb
+++ b/db/migrate/007_create_journals.rb
@@ -1,5 +1,4 @@
class CreateJournals < ActiveRecord::Migration[4.2]
-
# model removed, but needed for data migration
class IssueHistory < ActiveRecord::Base; belongs_to :issue; end
# model removed
diff --git a/db/migrate/20110223180953_salt_user_passwords.rb b/db/migrate/20110223180953_salt_user_passwords.rb
index df2b486f7..9cf79585a 100644
--- a/db/migrate/20110223180953_salt_user_passwords.rb
+++ b/db/migrate/20110223180953_salt_user_passwords.rb
@@ -1,5 +1,4 @@
class SaltUserPasswords < ActiveRecord::Migration[4.2]
-
def self.up
say_with_time "Salting user passwords, this may take some time..." do
User.salt_unsalted_passwords!
diff --git a/db/migrate/20131215104612_store_relation_type_in_journal_details.rb b/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
index c1990e67d..b07fd8bad 100644
--- a/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
+++ b/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
@@ -1,5 +1,4 @@
class StoreRelationTypeInJournalDetails < ActiveRecord::Migration[4.2]
-
MAPPING = {
"label_relates_to" => "relates",
"label_duplicates" => "duplicates",
diff --git a/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb b/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
index 769ea7a51..d8c27d6aa 100644
--- a/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
+++ b/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
@@ -1,5 +1,4 @@
class ChangeSqliteBooleansTo0And1 < ActiveRecord::Migration[5.2]
-
COLUMNS = {
AuthSource => ['onthefly_register', 'tls'],
CustomFieldEnumeration => ['active'],