THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

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
pull/104/merge
Go MAEDA 6 months ago
parent
commit
3b55f65407
100 changed files with 0 additions and 196 deletions
  1. 0
    2
      Gemfile
  2. 0
    2
      Rakefile
  3. 0
    1
      bin/about
  4. 0
    1
      bin/bundle
  5. 0
    2
      bin/changelog.rb
  6. 0
    2
      bin/rails
  7. 0
    2
      bin/rake
  8. 0
    2
      config.ru
  9. 0
    2
      db/migrate/001_setup.rb
  10. 0
    2
      db/migrate/002_issue_move.rb
  11. 0
    2
      db/migrate/003_issue_add_note.rb
  12. 0
    2
      db/migrate/004_export_pdf.rb
  13. 0
    2
      db/migrate/005_issue_start_date.rb
  14. 0
    2
      db/migrate/006_calendar_and_activity.rb
  15. 0
    2
      db/migrate/007_create_journals.rb
  16. 0
    2
      db/migrate/008_create_user_preferences.rb
  17. 0
    2
      db/migrate/009_add_hide_mail_pref.rb
  18. 0
    2
      db/migrate/010_create_comments.rb
  19. 0
    2
      db/migrate/011_add_news_comments_count.rb
  20. 0
    2
      db/migrate/012_add_comments_permissions.rb
  21. 0
    2
      db/migrate/013_create_queries.rb
  22. 0
    2
      db/migrate/014_add_queries_permissions.rb
  23. 0
    2
      db/migrate/015_create_repositories.rb
  24. 0
    2
      db/migrate/016_add_repositories_permissions.rb
  25. 0
    2
      db/migrate/017_create_settings.rb
  26. 0
    2
      db/migrate/018_set_doc_and_files_notifications.rb
  27. 0
    2
      db/migrate/019_add_issue_status_position.rb
  28. 0
    2
      db/migrate/020_add_role_position.rb
  29. 0
    2
      db/migrate/021_add_tracker_position.rb
  30. 0
    2
      db/migrate/022_serialize_possibles_values.rb
  31. 0
    2
      db/migrate/023_add_tracker_is_in_roadmap.rb
  32. 0
    2
      db/migrate/024_add_roadmap_permission.rb
  33. 0
    2
      db/migrate/025_add_search_permission.rb
  34. 0
    2
      db/migrate/026_add_repository_login_and_password.rb
  35. 0
    2
      db/migrate/027_create_wikis.rb
  36. 0
    2
      db/migrate/028_create_wiki_pages.rb
  37. 0
    2
      db/migrate/029_create_wiki_contents.rb
  38. 0
    2
      db/migrate/030_add_projects_feeds_permissions.rb
  39. 0
    2
      db/migrate/031_add_repository_root_url.rb
  40. 0
    2
      db/migrate/032_create_time_entries.rb
  41. 0
    2
      db/migrate/033_add_timelog_permissions.rb
  42. 0
    2
      db/migrate/034_create_changesets.rb
  43. 0
    2
      db/migrate/035_create_changes.rb
  44. 0
    2
      db/migrate/036_add_changeset_commit_date.rb
  45. 0
    2
      db/migrate/037_add_project_identifier.rb
  46. 0
    2
      db/migrate/038_add_custom_field_is_filter.rb
  47. 0
    2
      db/migrate/039_create_watchers.rb
  48. 0
    2
      db/migrate/040_create_changesets_issues.rb
  49. 0
    2
      db/migrate/041_rename_comment_to_comments.rb
  50. 0
    2
      db/migrate/042_create_issue_relations.rb
  51. 0
    2
      db/migrate/043_add_relations_permissions.rb
  52. 0
    2
      db/migrate/044_set_language_length_to_five.rb
  53. 0
    2
      db/migrate/045_create_boards.rb
  54. 0
    2
      db/migrate/046_create_messages.rb
  55. 0
    2
      db/migrate/047_add_boards_permissions.rb
  56. 0
    2
      db/migrate/048_allow_null_version_effective_date.rb
  57. 0
    2
      db/migrate/049_add_wiki_destroy_page_permission.rb
  58. 0
    2
      db/migrate/050_add_wiki_attachments_permissions.rb
  59. 0
    2
      db/migrate/051_add_project_status.rb
  60. 0
    2
      db/migrate/052_add_changes_revision.rb
  61. 0
    2
      db/migrate/053_add_changes_branch.rb
  62. 0
    2
      db/migrate/054_add_changesets_scmid.rb
  63. 0
    2
      db/migrate/055_add_repositories_type.rb
  64. 0
    2
      db/migrate/056_add_repositories_changes_permission.rb
  65. 0
    2
      db/migrate/057_add_versions_wiki_page_title.rb
  66. 0
    2
      db/migrate/058_add_issue_categories_assigned_to_id.rb
  67. 0
    2
      db/migrate/059_add_roles_assignable.rb
  68. 0
    2
      db/migrate/060_change_changesets_committer_limit.rb
  69. 0
    2
      db/migrate/061_add_roles_builtin.rb
  70. 0
    2
      db/migrate/062_insert_builtin_roles.rb
  71. 0
    2
      db/migrate/063_add_roles_permissions.rb
  72. 0
    2
      db/migrate/064_drop_permissions.rb
  73. 0
    2
      db/migrate/065_add_settings_updated_on.rb
  74. 0
    2
      db/migrate/066_add_custom_value_customized_index.rb
  75. 0
    2
      db/migrate/067_create_wiki_redirects.rb
  76. 0
    2
      db/migrate/068_create_enabled_modules.rb
  77. 0
    2
      db/migrate/069_add_issues_estimated_hours.rb
  78. 0
    2
      db/migrate/070_change_attachments_content_type_limit.rb
  79. 0
    2
      db/migrate/071_add_queries_column_names.rb
  80. 0
    2
      db/migrate/072_add_enumerations_position.rb
  81. 0
    2
      db/migrate/073_add_enumerations_is_default.rb
  82. 0
    2
      db/migrate/074_add_auth_sources_tls.rb
  83. 0
    2
      db/migrate/075_add_members_mail_notification.rb
  84. 0
    2
      db/migrate/076_allow_null_position.rb
  85. 0
    2
      db/migrate/077_remove_issue_statuses_html_color.rb
  86. 0
    2
      db/migrate/078_add_custom_fields_position.rb
  87. 0
    2
      db/migrate/079_add_user_preferences_time_zone.rb
  88. 0
    2
      db/migrate/080_add_users_type.rb
  89. 0
    2
      db/migrate/081_create_projects_trackers.rb
  90. 0
    2
      db/migrate/082_add_messages_locked.rb
  91. 0
    2
      db/migrate/083_add_messages_sticky.rb
  92. 0
    2
      db/migrate/084_change_auth_sources_account_limit.rb
  93. 0
    2
      db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb
  94. 0
    2
      db/migrate/086_add_custom_fields_searchable.rb
  95. 0
    2
      db/migrate/087_change_projects_description_to_text.rb
  96. 0
    2
      db/migrate/088_add_custom_fields_default_value.rb
  97. 0
    2
      db/migrate/089_add_attachments_description.rb
  98. 0
    2
      db/migrate/090_change_versions_name_limit.rb
  99. 0
    2
      db/migrate/091_change_changesets_revision_to_string.rb
  100. 0
    0
      db/migrate/092_change_changes_from_revision_to_string.rb

+ 0
- 2
Gemfile View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

source 'https://rubygems.org'

gem "bundler", ">= 1.5.0"

+ 0
- 2
Rakefile View File

@@ -1,6 +1,4 @@
#!/usr/bin/env rake
# frozen_string_literal: false

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.


+ 0
- 1
bin/about View File

@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: false

ENV["RAILS_ENV"] ||= "production"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")

+ 0
- 1
bin/bundle View File

@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: false

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle')

+ 0
- 2
bin/changelog.rb View File

@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: false

require 'optparse'
require 'ostruct'
require 'date'

+ 0
- 2
bin/rails View File

@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: false

APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'

+ 0
- 2
bin/rake View File

@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: false

require_relative '../config/boot'
require 'rake'
Rake.application.run

+ 0
- 2
config.ru View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)

+ 0
- 2
db/migrate/001_setup.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

# Redmine - project management software
# Copyright (C) 2006 Jean-Philippe Lang
#

+ 0
- 2
db/migrate/002_issue_move.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class IssueMove < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/003_issue_add_note.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class IssueAddNote < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/004_export_pdf.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ExportPdf < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/005_issue_start_date.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class IssueStartDate < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :start_date, :date

+ 0
- 2
db/migrate/006_calendar_and_activity.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CalendarAndActivity < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/007_create_journals.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateJournals < ActiveRecord::Migration[4.2]

# model removed, but needed for data migration

+ 0
- 2
db/migrate/008_create_user_preferences.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateUserPreferences < ActiveRecord::Migration[4.2]
def self.up
create_table :user_preferences do |t|

+ 0
- 2
db/migrate/009_add_hide_mail_pref.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddHideMailPref < ActiveRecord::Migration[4.2]
def self.up
add_column :user_preferences, :hide_mail, :boolean, :default => false

+ 0
- 2
db/migrate/010_create_comments.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateComments < ActiveRecord::Migration[4.2]
def self.up
create_table :comments do |t|

+ 0
- 2
db/migrate/011_add_news_comments_count.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddNewsCommentsCount < ActiveRecord::Migration[4.2]
def self.up
add_column :news, :comments_count, :integer, :default => 0, :null => false

+ 0
- 2
db/migrate/012_add_comments_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCommentsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/013_create_queries.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateQueries < ActiveRecord::Migration[4.2]
def self.up
create_table :queries, :force => true do |t|

+ 0
- 2
db/migrate/014_add_queries_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddQueriesPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/015_create_repositories.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateRepositories < ActiveRecord::Migration[4.2]
def self.up
create_table :repositories, :force => true do |t|

+ 0
- 2
db/migrate/016_add_repositories_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRepositoriesPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/017_create_settings.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateSettings < ActiveRecord::Migration[4.2]
def self.up
create_table :settings, :force => true do |t|

+ 0
- 2
db/migrate/018_set_doc_and_files_notifications.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class SetDocAndFilesNotifications < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/019_add_issue_status_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddIssueStatusPosition < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_statuses, :position, :integer, :default => 1

+ 0
- 2
db/migrate/020_add_role_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRolePosition < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :position, :integer, :default => 1

+ 0
- 2
db/migrate/021_add_tracker_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddTrackerPosition < ActiveRecord::Migration[4.2]
def self.up
add_column :trackers, :position, :integer, :default => 1

+ 0
- 2
db/migrate/022_serialize_possibles_values.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class SerializePossiblesValues < ActiveRecord::Migration[4.2]
def self.up
CustomField.all.each do |field|

+ 0
- 2
db/migrate/023_add_tracker_is_in_roadmap.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddTrackerIsInRoadmap < ActiveRecord::Migration[4.2]
def self.up
add_column :trackers, :is_in_roadmap, :boolean, :default => true, :null => false

+ 0
- 2
db/migrate/024_add_roadmap_permission.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRoadmapPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/025_add_search_permission.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddSearchPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/026_add_repository_login_and_password.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRepositoryLoginAndPassword < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :login, :string, :limit => 60, :default => ""

+ 0
- 2
db/migrate/027_create_wikis.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateWikis < ActiveRecord::Migration[4.2]
def self.up
create_table :wikis do |t|

+ 0
- 2
db/migrate/028_create_wiki_pages.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateWikiPages < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_pages do |t|

+ 0
- 2
db/migrate/029_create_wiki_contents.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateWikiContents < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_contents do |t|

+ 0
- 2
db/migrate/030_add_projects_feeds_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddProjectsFeedsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/031_add_repository_root_url.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRepositoryRootUrl < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :root_url, :string, :limit => 255, :default => ""

+ 0
- 2
db/migrate/032_create_time_entries.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateTimeEntries < ActiveRecord::Migration[4.2]
def self.up
create_table :time_entries do |t|

+ 0
- 2
db/migrate/033_add_timelog_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddTimelogPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/034_create_changesets.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateChangesets < ActiveRecord::Migration[4.2]
def self.up
create_table :changesets do |t|

+ 0
- 2
db/migrate/035_create_changes.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateChanges < ActiveRecord::Migration[4.2]
def self.up
create_table :changes do |t|

+ 0
- 2
db/migrate/036_add_changeset_commit_date.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddChangesetCommitDate < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :commit_date, :date

+ 0
- 2
db/migrate/037_add_project_identifier.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddProjectIdentifier < ActiveRecord::Migration[4.2]
def self.up
add_column :projects, :identifier, :string, :limit => 20

+ 0
- 2
db/migrate/038_add_custom_field_is_filter.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCustomFieldIsFilter < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :is_filter, :boolean, :null => false, :default => false

+ 0
- 2
db/migrate/039_create_watchers.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateWatchers < ActiveRecord::Migration[4.2]
def self.up
create_table :watchers do |t|

+ 0
- 2
db/migrate/040_create_changesets_issues.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateChangesetsIssues < ActiveRecord::Migration[4.2]
def self.up
create_table :changesets_issues, :id => false do |t|

+ 0
- 2
db/migrate/041_rename_comment_to_comments.rb View File

@@ -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"}

+ 0
- 2
db/migrate/042_create_issue_relations.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateIssueRelations < ActiveRecord::Migration[4.2]
def self.up
create_table :issue_relations do |t|

+ 0
- 2
db/migrate/043_add_relations_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRelationsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/044_set_language_length_to_five.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class SetLanguageLengthToFive < ActiveRecord::Migration[4.2]
def self.up
change_column :users, :language, :string, :limit => 5, :default => ""

+ 0
- 2
db/migrate/045_create_boards.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateBoards < ActiveRecord::Migration[4.2]
def self.up
create_table :boards do |t|

+ 0
- 2
db/migrate/046_create_messages.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateMessages < ActiveRecord::Migration[4.2]
def self.up
create_table :messages do |t|

+ 0
- 2
db/migrate/047_add_boards_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddBoardsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/048_allow_null_version_effective_date.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AllowNullVersionEffectiveDate < ActiveRecord::Migration[4.2]
def self.up
change_column :versions, :effective_date, :date, :default => nil, :null => true

+ 0
- 2
db/migrate/049_add_wiki_destroy_page_permission.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddWikiDestroyPagePermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/050_add_wiki_attachments_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddWikiAttachmentsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/051_add_project_status.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddProjectStatus < ActiveRecord::Migration[4.2]
def self.up
add_column :projects, :status, :integer, :default => 1, :null => false

+ 0
- 2
db/migrate/052_add_changes_revision.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddChangesRevision < ActiveRecord::Migration[4.2]
def self.up
add_column :changes, :revision, :string

+ 0
- 2
db/migrate/053_add_changes_branch.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddChangesBranch < ActiveRecord::Migration[4.2]
def self.up
add_column :changes, :branch, :string

+ 0
- 2
db/migrate/054_add_changesets_scmid.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddChangesetsScmid < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :scmid, :string

+ 0
- 2
db/migrate/055_add_repositories_type.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRepositoriesType < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :type, :string

+ 0
- 2
db/migrate/056_add_repositories_changes_permission.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRepositoriesChangesPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end

+ 0
- 2
db/migrate/057_add_versions_wiki_page_title.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddVersionsWikiPageTitle < ActiveRecord::Migration[4.2]
def self.up
add_column :versions, :wiki_page_title, :string

+ 0
- 2
db/migrate/058_add_issue_categories_assigned_to_id.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddIssueCategoriesAssignedToId < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_categories, :assigned_to_id, :integer

+ 0
- 2
db/migrate/059_add_roles_assignable.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRolesAssignable < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :assignable, :boolean, :default => true

+ 0
- 2
db/migrate/060_change_changesets_committer_limit.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeChangesetsCommitterLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :changesets, :committer, :string, :limit => nil

+ 0
- 2
db/migrate/061_add_roles_builtin.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRolesBuiltin < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :builtin, :integer, :default => 0, :null => false

+ 0
- 2
db/migrate/062_insert_builtin_roles.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class InsertBuiltinRoles < ActiveRecord::Migration[4.2]
def self.up
Role.reset_column_information

+ 0
- 2
db/migrate/063_add_roles_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRolesPermissions < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :permissions, :text

+ 0
- 2
db/migrate/064_drop_permissions.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class DropPermissions < ActiveRecord::Migration[4.2]
def self.up
drop_table :permissions

+ 0
- 2
db/migrate/065_add_settings_updated_on.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddSettingsUpdatedOn < ActiveRecord::Migration[4.2]
def self.up
add_column :settings, :updated_on, :timestamp

+ 0
- 2
db/migrate/066_add_custom_value_customized_index.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCustomValueCustomizedIndex < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_values, [:customized_type, :customized_id], :name => :custom_values_customized

+ 0
- 2
db/migrate/067_create_wiki_redirects.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateWikiRedirects < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_redirects do |t|

+ 0
- 2
db/migrate/068_create_enabled_modules.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateEnabledModules < ActiveRecord::Migration[4.2]
def self.up
create_table :enabled_modules do |t|

+ 0
- 2
db/migrate/069_add_issues_estimated_hours.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddIssuesEstimatedHours < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :estimated_hours, :float

+ 0
- 2
db/migrate/070_change_attachments_content_type_limit.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :attachments, :content_type, :string, :limit => nil

+ 0
- 2
db/migrate/071_add_queries_column_names.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddQueriesColumnNames < ActiveRecord::Migration[4.2]
def self.up
add_column :queries, :column_names, :text

+ 0
- 2
db/migrate/072_add_enumerations_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddEnumerationsPosition < ActiveRecord::Migration[4.2]
def self.up
add_column(:enumerations, :position, :integer, :default => 1) unless Enumeration.column_names.include?('position')

+ 0
- 2
db/migrate/073_add_enumerations_is_default.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddEnumerationsIsDefault < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :is_default, :boolean, :default => false, :null => false

+ 0
- 2
db/migrate/074_add_auth_sources_tls.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddAuthSourcesTls < ActiveRecord::Migration[4.2]
def self.up
add_column :auth_sources, :tls, :boolean, :default => false, :null => false

+ 0
- 2
db/migrate/075_add_members_mail_notification.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddMembersMailNotification < ActiveRecord::Migration[4.2]
def self.up
add_column :members, :mail_notification, :boolean, :default => false, :null => false

+ 0
- 2
db/migrate/076_allow_null_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AllowNullPosition < ActiveRecord::Migration[4.2]
def self.up
Enumeration.reset_column_information

+ 0
- 2
db/migrate/077_remove_issue_statuses_html_color.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class RemoveIssueStatusesHtmlColor < ActiveRecord::Migration[4.2]
def self.up
remove_column :issue_statuses, :html_color

+ 0
- 2
db/migrate/078_add_custom_fields_position.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCustomFieldsPosition < ActiveRecord::Migration[4.2]
def self.up
add_column(:custom_fields, :position, :integer, :default => 1)

+ 0
- 2
db/migrate/079_add_user_preferences_time_zone.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddUserPreferencesTimeZone < ActiveRecord::Migration[4.2]
def self.up
add_column :user_preferences, :time_zone, :string

+ 0
- 2
db/migrate/080_add_users_type.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddUsersType < ActiveRecord::Migration[4.2]
def self.up
add_column :users, :type, :string

+ 0
- 2
db/migrate/081_create_projects_trackers.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class CreateProjectsTrackers < ActiveRecord::Migration[4.2]
def self.up
create_table :projects_trackers, :id => false do |t|

+ 0
- 2
db/migrate/082_add_messages_locked.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddMessagesLocked < ActiveRecord::Migration[4.2]
def self.up
add_column :messages, :locked, :boolean, :default => false

+ 0
- 2
db/migrate/083_add_messages_sticky.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddMessagesSticky < ActiveRecord::Migration[4.2]
def self.up
add_column :messages, :sticky, :integer, :default => 0

+ 0
- 2
db/migrate/084_change_auth_sources_account_limit.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :auth_sources, :account, :string, :limit => nil

+ 0
- 2
db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration[4.2]
def self.up
add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status

+ 0
- 2
db/migrate/086_add_custom_fields_searchable.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCustomFieldsSearchable < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :searchable, :boolean, :default => false

+ 0
- 2
db/migrate/087_change_projects_description_to_text.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeProjectsDescriptionToText < ActiveRecord::Migration[4.2]
def self.up
change_column :projects, :description, :text, :null => true, :default => nil

+ 0
- 2
db/migrate/088_add_custom_fields_default_value.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddCustomFieldsDefaultValue < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :default_value, :text

+ 0
- 2
db/migrate/089_add_attachments_description.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class AddAttachmentsDescription < ActiveRecord::Migration[4.2]
def self.up
add_column :attachments, :description, :string

+ 0
- 2
db/migrate/090_change_versions_name_limit.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeVersionsNameLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :versions, :name, :string, :limit => nil

+ 0
- 2
db/migrate/091_change_changesets_revision_to_string.rb View File

@@ -1,5 +1,3 @@
# frozen_string_literal: false

class ChangeChangesetsRevisionToString < ActiveRecord::Migration[4.2]
def self.up
# Some backends (eg. SQLServer 2012) do not support changing the type

+ 0
- 0
db/migrate/092_change_changes_from_revision_to_string.rb View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save